LibreOffice Module dbaccess (master) 1
Public Member Functions | Static Public Member Functions | Private Member Functions | Static Private Member Functions | Private Attributes | List of all members
dbaui::OAppDetailPageHelper Class Referencefinal

#include <AppDetailPageHelper.hxx>

Inheritance diagram for dbaui::OAppDetailPageHelper:
[legend]
Collaboration diagram for dbaui::OAppDetailPageHelper:
[legend]

Public Member Functions

 OAppDetailPageHelper (weld::Container *pParent, OAppBorderWindow &rBorderWin, PreviewMode ePreviewMode)
 
virtual ~OAppDetailPageHelper () override
 
virtual void GrabFocus () override
 
virtual bool HasChildPathFocus () const override
 
void createTablesPage (const css::uno::Reference< css::sdbc::XConnection > &_xConnection)
 creates the tables page More...
 
void createPage (ElementType _eType, const css::uno::Reference< css::container::XNameAccess > &_xContainer)
 creates the page for the specific type. More...
 
DBTreeViewBasegetCurrentView () const
 returns the current visible tree list box More...
 
void selectAll ()
 select all entries in the visible control More...
 
bool isSortUp () const
 returns <TRUE> if it sorts ascending More...
 
void sortDown ()
 sorts all entries ascending More...
 
void sortUp ()
 sorts all entries descending More...
 
void getSelectionElementNames (std::vector< OUString > &_rNames) const
 returns the element names which are selected More...
 
void describeCurrentSelectionForControl (const weld::TreeView &rControl, css::uno::Sequence< css::sdb::application::NamedDatabaseObject > &_out_rSelectedObjects)
 describes the current selection for the given control More...
 
void describeCurrentSelectionForType (const ElementType _eType, css::uno::Sequence< css::sdb::application::NamedDatabaseObject > &_out_rSelectedObjects)
 describes the current selection for the given ElementType More...
 
vcl::WindowgetMenuParent () const
 get the menu parent window for the given control More...
 
void adjustMenuPosition (const weld::TreeView &rControl, ::Point &rPos) const
 
void selectElements (const css::uno::Sequence< OUString > &_aNames)
 select all names on the currently selected container. More...
 
OUString getQualifiedName (const weld::TreeIter *_pEntry) const
 return the qualified name. More...
 
ElementType getElementType () const
 return the element of currently select entry More...
 
sal_Int32 getSelectionCount ()
 returns the count of selected entries More...
 
sal_Int32 getElementCount () const
 returns the count of entries More...
 
bool isALeafSelected () const
 returns if one of the selected entries is a leaf More...
 
std::unique_ptr< weld::TreeItergetEntry (const Point &rPosPixel) const
 
void clearPages ()
 clears the detail pages More...
 
bool isFilled () const
 returns <TRUE> when a detail page was filled More...
 
std::unique_ptr< weld::TreeIterelementAdded (ElementType eType, const OUString &rName, const css::uno::Any &rObject)
 adds a new object to the detail page. More...
 
void elementReplaced (ElementType eType, const OUString &_rOldName, const OUString &_rNewName)
 replaces an objects name with a new one More...
 
void elementRemoved (ElementType _eType, const OUString &_rName)
 removes an element from the detail page. More...
 
PreviewMode getPreviewMode () const
 returns the preview mode More...
 
bool isPreviewEnabled () const
 <TRUE> if the preview is enabled More...
 
void switchPreview (PreviewMode _eMode, bool _bForce=false)
 switches to the given preview mode More...
 
void showPreview (const css::uno::Reference< css::ucb::XContent > &_xContent)
 shows the Preview of the content when it is enabled. More...
 
void showPreview (const OUString &_sDataSourceName, const OUString &_sName, bool _bTable)
 shows the Preview of a table or query More...
 
- Public Member Functions inherited from dbaui::OChildWindow
virtual ~OChildWindow ()
 
virtual void GrabFocus ()=0
 
virtual bool HasChildPathFocus () const =0
 
void Enable (bool bEnable)
 
void SetHelpId (const OUString &rHelpId)
 
void Show ()
 

Static Public Member Functions

static bool isLeaf (const weld::TreeView &rTreeView, const weld::TreeIter &rEntry)
 returns if an entry is a leaf More...
 

Private Member Functions

int getVisibleControlIndex () const
 returns the index of the visible control More...
 
void sort (int nPos, bool bAscending)
 sorts the entries in the tree list box. More...
 
void fillNames (const css::uno::Reference< css::container::XNameAccess > &_xContainer, const ElementType _eType, const OUString &rImageId, const weld::TreeIter *_pParent)
 fills the names in the listbox More...
 
void setDetailPage (DBTreeViewBase &rTreeView)
 sets the detail page More...
 
void setupTree (DBTreeViewBase &rTreeView)
 sets all HandleCallbacks More...
 
std::unique_ptr< DBTreeViewBasecreateSimpleTree (const OUString &rHelpId, ElementType eType)
 creates the tree and sets all HandleCallbacks More...
 
 DECL_LINK (OnEntryDoubleClick, weld::TreeView &, bool)
 
 DECL_LINK (OnEntrySelChange, LinkParamNone *, void)
 
 DECL_LINK (OnCopyEntry, LinkParamNone *, void)
 
 DECL_LINK (OnPasteEntry, LinkParamNone *, void)
 
 DECL_LINK (OnDeleteEntry, LinkParamNone *, void)
 
 DECL_LINK (OnDropdownClickHdl, weld::Toggleable &, void)
 
 DECL_LINK (MenuSelectHdl, const OUString &, void)
 
OAppBorderWindowgetBorderWin () const
 

Static Private Member Functions

static OUString getElementIcons (ElementType _eType)
 retrieves the resource ids of the images representing elements of the given type More...
 

Private Attributes

std::unique_ptr< DBTreeViewBasem_aLists [size_t(E_ELEMENT_TYPE_COUNT)]
 
OAppBorderWindowm_rBorderWin
 
std::unique_ptr< weld::Containerm_xBox
 
std::unique_ptr< weld::Widgetm_xFL
 
std::unique_ptr< weld::MenuButtonm_xMBPreview
 
std::unique_ptr< OPreviewWindowm_xPreview
 
std::unique_ptr< weld::CustomWeldm_xPreviewWin
 
std::unique_ptr< ODocumentInfoPreviewm_xDocumentInfo
 
std::unique_ptr< weld::CustomWeldm_xDocumentInfoWin
 
std::unique_ptr< weld::Containerm_xTablePreview
 
PreviewMode m_ePreviewMode
 
css::uno::Reference< css::frame::XFrame2 > m_xFrame
 
css::uno::Reference< css::awt::XWindow > m_xWindow
 

Additional Inherited Members

- Protected Member Functions inherited from dbaui::OChildWindow
 OChildWindow (weld::Container *pParent, const OUString &rUIXMLDescription, const OUString &rID)
 
- Protected Attributes inherited from dbaui::OChildWindow
std::unique_ptr< weld::Builderm_xBuilder
 
std::unique_ptr< weld::Containerm_xContainer
 

Detailed Description

Definition at line 75 of file AppDetailPageHelper.hxx.

Constructor & Destructor Documentation

◆ OAppDetailPageHelper()

OAppDetailPageHelper::OAppDetailPageHelper ( weld::Container pParent,
OAppBorderWindow rBorderWin,
PreviewMode  ePreviewMode 
)

◆ ~OAppDetailPageHelper()

OAppDetailPageHelper::~OAppDetailPageHelper ( )
overridevirtual

Member Function Documentation

◆ adjustMenuPosition()

void OAppDetailPageHelper::adjustMenuPosition ( const weld::TreeView rControl,
::Point rPos 
) const

◆ clearPages()

void OAppDetailPageHelper::clearPages ( )

clears the detail pages

Definition at line 704 of file AppDetailPageHelper.cxx.

References m_aLists, and showPreview().

Referenced by dbaui::OApplicationDetailView::clearPages().

◆ createPage()

void OAppDetailPageHelper::createPage ( ElementType  _eType,
const css::uno::Reference< css::container::XNameAccess > &  _xContainer 
)

creates the page for the specific type.

Parameters
_eTypeThe type which should be created. E_TABLE isn't allowed.
_xContainerThe container of the elements to be inserted.

Definition at line 552 of file AppDetailPageHelper.cxx.

References createSimpleTree(), dbaui::E_FORM, dbaui::E_QUERY, dbaui::E_REPORT, dbaui::E_TABLE, fillNames(), getElementIcons(), HID_APP_FORM_TREE, HID_APP_QUERY_TREE, HID_APP_REPORT_TREE, m_aLists, weld::TreeView::make_sorted(), weld::TreeView::make_unsorted(), weld::TreeView::n_children(), setDetailPage(), and weld::TreeView::unselect_all().

Referenced by dbaui::OApplicationDetailView::impl_createPage().

◆ createSimpleTree()

std::unique_ptr< DBTreeViewBase > OAppDetailPageHelper::createSimpleTree ( const OUString &  rHelpId,
ElementType  eType 
)
private

creates the tree and sets all HandleCallbacks

Parameters
nHelpIdThe help id of the control
eTypeThe element type of the control
Returns
The new tree.

Definition at line 673 of file AppDetailPageHelper.cxx.

References dbaui::E_QUERY, dbaui::E_TABLE, eType, m_xBox, and setupTree().

Referenced by createPage().

◆ createTablesPage()

void OAppDetailPageHelper::createTablesPage ( const css::uno::Reference< css::sdbc::XConnection > &  _xConnection)

◆ DECL_LINK() [1/7]

dbaui::OAppDetailPageHelper::DECL_LINK ( MenuSelectHdl  ,
const OUString &  ,
void   
)
private

◆ DECL_LINK() [2/7]

dbaui::OAppDetailPageHelper::DECL_LINK ( OnCopyEntry  ,
LinkParamNone ,
void   
)
private

◆ DECL_LINK() [3/7]

dbaui::OAppDetailPageHelper::DECL_LINK ( OnDeleteEntry  ,
LinkParamNone ,
void   
)
private

◆ DECL_LINK() [4/7]

dbaui::OAppDetailPageHelper::DECL_LINK ( OnDropdownClickHdl  ,
weld::Toggleable ,
void   
)
private

◆ DECL_LINK() [5/7]

dbaui::OAppDetailPageHelper::DECL_LINK ( OnEntryDoubleClick  ,
weld::TreeView ,
bool   
)
private

◆ DECL_LINK() [6/7]

dbaui::OAppDetailPageHelper::DECL_LINK ( OnEntrySelChange  ,
LinkParamNone ,
void   
)
private

◆ DECL_LINK() [7/7]

dbaui::OAppDetailPageHelper::DECL_LINK ( OnPasteEntry  ,
LinkParamNone ,
void   
)
private

◆ describeCurrentSelectionForControl()

void OAppDetailPageHelper::describeCurrentSelectionForControl ( const weld::TreeView rControl,
css::uno::Sequence< css::sdb::application::NamedDatabaseObject > &  _out_rSelectedObjects 
)

describes the current selection for the given control

Definition at line 290 of file AppDetailPageHelper.cxx.

References describeCurrentSelectionForType(), dbaui::E_ELEMENT_TYPE_COUNT, i, and m_aLists.

Referenced by dbaui::OApplicationDetailView::describeCurrentSelectionForControl().

◆ describeCurrentSelectionForType()

void OAppDetailPageHelper::describeCurrentSelectionForType ( const ElementType  _eType,
css::uno::Sequence< css::sdb::application::NamedDatabaseObject > &  _out_rSelectedObjects 
)

◆ elementAdded()

std::unique_ptr< weld::TreeIter > OAppDetailPageHelper::elementAdded ( ElementType  eType,
const OUString &  rName,
const css::uno::Any &  rObject 
)

adds a new object to the detail page.

Parameters
_eTypeThe type where the entry should be appended.
_rNameThe name of the object to be inserted
_rObjectThe object to add.
_rxConnIf we insert a table, the connection must be set.

Definition at line 761 of file AppDetailPageHelper.cxx.

References dbaui::E_QUERY, dbaui::E_TABLE, fillNames(), weld::TreeView::get_iter_first(), getElementIcons(), dbaui::DBTreeViewBase::getListBox(), dbaui::DBTreeViewBase::GetWidget(), weld::TreeView::insert(), m_aLists, weld::TreeView::make_iterator(), weld::TreeView::make_sorted(), weld::TreeView::make_unsorted(), weld::TreeView::set_image(), weld::TreeView::set_text(), weld::TreeView::set_text_emphasis(), sId, and sName.

Referenced by dbaui::OApplicationDetailView::elementAdded().

◆ elementRemoved()

void OAppDetailPageHelper::elementRemoved ( ElementType  _eType,
const OUString &  _rName 
)

removes an element from the detail page.

Parameters
_eTypeThe type where the entry should be appended.
_rNameThe name of the element to be removed.
_rxConnIf we remove a table, the connection must be set.

Definition at line 815 of file AppDetailPageHelper.cxx.

References dbaui::E_FORM, dbaui::E_QUERY, dbaui::E_REPORT, dbaui::E_TABLE, weld::TreeView::get_iter_first(), getCurrentView(), dbaui::DBTreeViewBase::getListBox(), dbaui::DBTreeViewBase::GetWidget(), weld::TreeView::make_iterator(), weld::TreeView::n_children(), weld::TreeView::remove(), and showPreview().

Referenced by dbaui::OApplicationDetailView::elementRemoved().

◆ elementReplaced()

void OAppDetailPageHelper::elementReplaced ( ElementType  eType,
const OUString &  _rOldName,
const OUString &  _rNewName 
)

replaces an objects name with a new one

Parameters
_eTypeThe type where the entry should be appended.
_rOldNameThe old name of the object to be replaced
_rNewNameThe new name of the object to be replaced
_rxConnIf we insert a table, the connection must be set.

Definition at line 722 of file AppDetailPageHelper.cxx.

References dbaui::E_FORM, dbaui::E_QUERY, dbaui::E_REPORT, dbaui::E_TABLE, eType, weld::TreeView::get_iter_first(), getCurrentView(), dbaui::DBTreeViewBase::getListBox(), dbaui::DBTreeViewBase::GetWidget(), weld::TreeView::make_iterator(), weld::TreeView::make_sorted(), weld::TreeView::make_unsorted(), and weld::TreeView::set_text().

Referenced by dbaui::OApplicationDetailView::elementReplaced().

◆ fillNames()

void OAppDetailPageHelper::fillNames ( const css::uno::Reference< css::container::XNameAccess > &  _xContainer,
const ElementType  _eType,
const OUString &  rImageId,
const weld::TreeIter _pParent 
)
private

fills the names in the listbox

Parameters
_xContainerThis can either be the queries, forms or report names.
_eTypethe type of elements which are being filled
_nImageIdthe resource id of the image to use for non-container entries
_pParentThe parent of the entries to be inserted.

Definition at line 628 of file AppDetailPageHelper.cxx.

References aSeq, dbaui::OApplicationController::containerFound(), dbaui::E_ELEMENT_TYPE_COUNT, dbaui::E_TABLE, fillNames(), dbaui::OApplicationView::getAppController(), getBorderWin(), dbaui::OAppBorderWindow::getView(), dbaui::DBTreeViewBase::GetWidget(), weld::TreeView::insert(), m_aLists, weld::TreeView::make_iterator(), weld::TreeView::set_image(), weld::TreeView::set_text(), weld::TreeView::set_text_emphasis(), and sId.

Referenced by createPage(), elementAdded(), and fillNames().

◆ getBorderWin()

OAppBorderWindow & dbaui::OAppDetailPageHelper::getBorderWin ( ) const
inlineprivate

Definition at line 159 of file AppDetailPageHelper.hxx.

References m_rBorderWin.

Referenced by fillNames(), setupTree(), showPreview(), and switchPreview().

◆ getCurrentView()

DBTreeViewBase * dbaui::OAppDetailPageHelper::getCurrentView ( ) const
inline

returns the current visible tree list box

Definition at line 184 of file AppDetailPageHelper.hxx.

References dbaui::E_NONE, eType, get(), getElementType(), and m_aLists.

Referenced by elementRemoved(), elementReplaced(), dbaui::OApplicationDetailView::getTreeWindow(), setDetailPage(), and switchPreview().

◆ getElementCount()

sal_Int32 OAppDetailPageHelper::getElementCount ( ) const

◆ getElementIcons()

OUString OAppDetailPageHelper::getElementIcons ( ElementType  _eType)
staticprivate

retrieves the resource ids of the images representing elements of the given type

Definition at line 536 of file AppDetailPageHelper.cxx.

References dbaui::E_FORM, dbaui::E_QUERY, dbaui::E_REPORT, dbaccess::QUERY, and dbaccess::REPORT.

Referenced by createPage(), and elementAdded().

◆ getElementType()

ElementType OAppDetailPageHelper::getElementType ( ) const

return the element of currently select entry

Definition at line 438 of file AppDetailPageHelper.cxx.

References getVisibleControlIndex(), and nPos.

Referenced by getCurrentView(), dbaui::OApplicationDetailView::getElementType(), getQualifiedName(), and getSelectionElementNames().

◆ getEntry()

std::unique_ptr< weld::TreeIter > OAppDetailPageHelper::getEntry ( const Point rPosPixel) const

◆ getMenuParent()

vcl::Window * OAppDetailPageHelper::getMenuParent ( ) const

get the menu parent window for the given control

Definition at line 362 of file AppDetailPageHelper.cxx.

References m_rBorderWin.

Referenced by dbaui::OApplicationDetailView::getMenuParent().

◆ getPreviewMode()

PreviewMode dbaui::OAppDetailPageHelper::getPreviewMode ( ) const
inline

returns the preview mode

Definition at line 315 of file AppDetailPageHelper.hxx.

References m_ePreviewMode.

Referenced by dbaui::OApplicationDetailView::getPreviewMode().

◆ getQualifiedName()

OUString OAppDetailPageHelper::getQualifiedName ( const weld::TreeIter _pEntry) const

return the qualified name.

Parameters
_pEntryThe entry of a table, or query, form, report to get the qualified name. If the entry is <NULL>, the first selected is chosen.
Returns
the qualified name

Definition at line 397 of file AppDetailPageHelper.cxx.

References dbaui::E_ELEMENT_TYPE_COUNT, dbaui::E_TABLE, weld::TreeView::get_selected(), weld::TreeView::get_text(), getElementType(), dbaui::OTableTreeListBox::getQualifiedTableName(), getVisibleControlIndex(), dbaui::DBTreeViewBase::GetWidget(), weld::TreeView::iter_parent(), m_aLists, weld::TreeView::make_iterator(), nPos, and sComposedName.

Referenced by dbaui::OApplicationDetailView::getQualifiedName(), and getSelectionElementNames().

◆ getSelectionCount()

sal_Int32 OAppDetailPageHelper::getSelectionCount ( )

◆ getSelectionElementNames()

void OAppDetailPageHelper::getSelectionElementNames ( std::vector< OUString > &  _rNames) const

◆ getVisibleControlIndex()

int OAppDetailPageHelper::getVisibleControlIndex ( ) const
private

◆ GrabFocus()

void OAppDetailPageHelper::GrabFocus ( )
overridevirtual

◆ HasChildPathFocus()

bool OAppDetailPageHelper::HasChildPathFocus ( ) const
overridevirtual

◆ isALeafSelected()

bool OAppDetailPageHelper::isALeafSelected ( ) const

returns if one of the selected entries is a leaf

Returns
<TRUE> if the entry is a leaf, otherwise <FALSE>

Definition at line 480 of file AppDetailPageHelper.cxx.

References dbaui::E_ELEMENT_TYPE_COUNT, getVisibleControlIndex(), dbaui::DBTreeViewBase::GetWidget(), isLeaf(), m_aLists, nPos, and weld::TreeView::selected_foreach().

Referenced by dbaui::OApplicationDetailView::isALeafSelected().

◆ isFilled()

bool OAppDetailPageHelper::isFilled ( ) const

returns <TRUE> when a detail page was filled

Definition at line 714 of file AppDetailPageHelper.cxx.

References dbaui::E_ELEMENT_TYPE_COUNT, i, and m_aLists.

Referenced by dbaui::OApplicationDetailView::isFilled().

◆ isLeaf()

bool OAppDetailPageHelper::isLeaf ( const weld::TreeView rTreeView,
const weld::TreeIter rEntry 
)
static

returns if an entry is a leaf

Parameters
rTreeViewThe TreeView rEntry belongs to
rEntryThe entry to check
Returns
<TRUE> if the entry is a leaf, otherwise <FALSE>

Definition at line 470 of file AppDetailPageHelper.cxx.

References weld::TreeView::get_id().

Referenced by describeCurrentSelectionForType(), isALeafSelected(), and dbaui::OApplicationDetailView::isLeaf().

◆ isPreviewEnabled()

bool OAppDetailPageHelper::isPreviewEnabled ( ) const

<TRUE> if the preview is enabled

Definition at line 876 of file AppDetailPageHelper.cxx.

References m_ePreviewMode, and dbaui::NONE.

Referenced by dbaui::OApplicationDetailView::isPreviewEnabled(), showPreview(), and switchPreview().

◆ isSortUp()

bool OAppDetailPageHelper::isSortUp ( ) const

returns <TRUE> if it sorts ascending

Definition at line 230 of file AppDetailPageHelper.cxx.

References dbaui::E_ELEMENT_TYPE_COUNT, getVisibleControlIndex(), m_aLists, and nPos.

Referenced by dbaui::OApplicationDetailView::isSortUp().

◆ selectAll()

void OAppDetailPageHelper::selectAll ( )

select all entries in the visible control

Definition at line 198 of file AppDetailPageHelper.cxx.

References dbaui::E_ELEMENT_TYPE_COUNT, getVisibleControlIndex(), m_aLists, and nPos.

Referenced by dbaui::OApplicationDetailView::selectAll().

◆ selectElements()

void OAppDetailPageHelper::selectElements ( const css::uno::Sequence< OUString > &  _aNames)

select all names on the currently selected container.

Non existence names where ignored.

Parameters
_aNamesthe element names

Definition at line 377 of file AppDetailPageHelper.cxx.

References dbaui::E_ELEMENT_TYPE_COUNT, dbaui::TreeListBox::GetEntryPosByName(), dbaui::DBTreeViewBase::getListBox(), getVisibleControlIndex(), dbaui::DBTreeViewBase::GetWidget(), m_aLists, nPos, weld::TreeView::select(), and weld::TreeView::unselect_all().

Referenced by dbaui::OApplicationDetailView::selectElements().

◆ setDetailPage()

void OAppDetailPageHelper::setDetailPage ( DBTreeViewBase rTreeView)
private

◆ setupTree()

void OAppDetailPageHelper::setupTree ( DBTreeViewBase rTreeView)
private

◆ showPreview() [1/2]

void dbaui::OAppDetailPageHelper::showPreview ( const css::uno::Reference< css::ucb::XContent > &  _xContent)

shows the Preview of the content when it is enabled.

Parameters
_xContentThe content which must support the "preview" command.

Referenced by clearPages(), elementRemoved(), setDetailPage(), showPreview(), and dbaui::OApplicationDetailView::showPreview().

◆ showPreview() [2/2]

void OAppDetailPageHelper::showPreview ( const OUString &  _sDataSourceName,
const OUString &  _sName,
bool  _bTable 
)

shows the Preview of a table or query

Parameters
_sDataSourceNamethe name of the data source
_sNamethe name of table or query
_bTable<TRUE> if it is a table, otherwise <FALSE>
Returns
void

Definition at line 1000 of file AppDetailPageHelper.cxx.

References Any, Exception, getBorderWin(), vcl::Window::GetFrameWeld(), getView(), isPreviewEnabled(), m_rBorderWin, m_xDocumentInfo, m_xFrame, m_xPreview, m_xTablePreview, m_xWindow, PROPERTY_SHOWMENU(), comphelper::NamedValueCollection::put(), and showPreview().

◆ sort()

void OAppDetailPageHelper::sort ( int  nPos,
bool  bAscending 
)
private

sorts the entries in the tree list box.

Parameters
nPosWhich list should be sorted.
bAscendingIf sort should be Ascending of Descending

Definition at line 224 of file AppDetailPageHelper.cxx.

References m_aLists, and nPos.

Referenced by sortDown(), and sortUp().

◆ sortDown()

void OAppDetailPageHelper::sortDown ( )

sorts all entries ascending

Definition at line 241 of file AppDetailPageHelper.cxx.

References dbaui::E_ELEMENT_TYPE_COUNT, getVisibleControlIndex(), nPos, and sort().

Referenced by dbaui::OApplicationDetailView::sortDown().

◆ sortUp()

void OAppDetailPageHelper::sortUp ( )

sorts all entries descending

Definition at line 248 of file AppDetailPageHelper.cxx.

References dbaui::E_ELEMENT_TYPE_COUNT, getVisibleControlIndex(), nPos, and sort().

Referenced by dbaui::OApplicationDetailView::sortUp().

◆ switchPreview()

void OAppDetailPageHelper::switchPreview ( PreviewMode  _eMode,
bool  _bForce = false 
)

Member Data Documentation

◆ m_aLists

std::unique_ptr<DBTreeViewBase> dbaui::OAppDetailPageHelper::m_aLists[size_t(E_ELEMENT_TYPE_COUNT)]
private

◆ m_ePreviewMode

PreviewMode dbaui::OAppDetailPageHelper::m_ePreviewMode
private

◆ m_rBorderWin

OAppBorderWindow& dbaui::OAppDetailPageHelper::m_rBorderWin
private

◆ m_xBox

std::unique_ptr<weld::Container> dbaui::OAppDetailPageHelper::m_xBox
private

◆ m_xDocumentInfo

std::unique_ptr<ODocumentInfoPreview> dbaui::OAppDetailPageHelper::m_xDocumentInfo
private

◆ m_xDocumentInfoWin

std::unique_ptr<weld::CustomWeld> dbaui::OAppDetailPageHelper::m_xDocumentInfoWin
private

Definition at line 87 of file AppDetailPageHelper.hxx.

Referenced by ~OAppDetailPageHelper().

◆ m_xFL

std::unique_ptr<weld::Widget> dbaui::OAppDetailPageHelper::m_xFL
private

Definition at line 80 of file AppDetailPageHelper.hxx.

Referenced by setDetailPage(), and ~OAppDetailPageHelper().

◆ m_xFrame

css::uno::Reference< css::frame::XFrame2 > dbaui::OAppDetailPageHelper::m_xFrame
private

Definition at line 93 of file AppDetailPageHelper.hxx.

Referenced by showPreview(), and ~OAppDetailPageHelper().

◆ m_xMBPreview

std::unique_ptr<weld::MenuButton> dbaui::OAppDetailPageHelper::m_xMBPreview
private

◆ m_xPreview

std::unique_ptr<OPreviewWindow> dbaui::OAppDetailPageHelper::m_xPreview
private

◆ m_xPreviewWin

std::unique_ptr<weld::CustomWeld> dbaui::OAppDetailPageHelper::m_xPreviewWin
private

Definition at line 84 of file AppDetailPageHelper.hxx.

Referenced by ~OAppDetailPageHelper().

◆ m_xTablePreview

std::unique_ptr<weld::Container> dbaui::OAppDetailPageHelper::m_xTablePreview
private

◆ m_xWindow

css::uno::Reference< css::awt::XWindow > dbaui::OAppDetailPageHelper::m_xWindow
private

The documentation for this class was generated from the following files: