LibreOffice Module reportdesign (master) 1
|
Classes | |
class | UserData |
Public Member Functions | |
NavigatorTree (std::unique_ptr< weld::TreeView >, OReportController &rController) | |
virtual | ~NavigatorTree () override |
DECL_LINK (OnEntrySelDesel, weld::TreeView &, void) | |
DECL_LINK (CommandHdl, const CommandEvent &, bool) | |
virtual void | _selectionChanged (const lang::EventObject &aEvent) override |
virtual void | traverseReport (const uno::Reference< report::XReportDefinition > &xReport) override |
virtual void | traverseReportFunctions (const uno::Reference< report::XFunctions > &xFunctions) override |
virtual void | traverseReportHeader (const uno::Reference< report::XSection > &xSection) override |
virtual void | traverseReportFooter (const uno::Reference< report::XSection > &xSection) override |
virtual void | traversePageHeader (const uno::Reference< report::XSection > &xSection) override |
virtual void | traversePageFooter (const uno::Reference< report::XSection > &xSection) override |
virtual void | traverseGroups (const uno::Reference< report::XGroups > &xGroups) override |
virtual void | traverseGroup (const uno::Reference< report::XGroup > &xGroup) override |
virtual void | traverseGroupFunctions (const uno::Reference< report::XFunctions > &xFunctions) override |
virtual void | traverseGroupHeader (const uno::Reference< report::XSection > &xSection) override |
virtual void | traverseGroupFooter (const uno::Reference< report::XSection > &xSection) override |
virtual void | traverseDetail (const uno::Reference< report::XSection > &xSection) override |
bool | find (const uno::Reference< uno::XInterface > &xContent, weld::TreeIter &rIter) |
void | removeEntry (const weld::TreeIter &rEntry, bool bRemove=true) |
void | grab_focus () |
void | set_text (const weld::TreeIter &rIter, const OUString &rStr) |
void | expand_row (const weld::TreeIter &rIter) |
std::unique_ptr< weld::TreeIter > | make_iterator () const |
int | iter_n_children (const weld::TreeIter &rIter) const |
Public Member Functions inherited from reportdesign::ITraverseReport | |
virtual void | traverseReport (const css::uno::Reference< css::report::XReportDefinition > &_xReport)=0 |
virtual void | traverseReportFunctions (const css::uno::Reference< css::report::XFunctions > &_xFunctions)=0 |
virtual void | traverseReportHeader (const css::uno::Reference< css::report::XSection > &_xSection)=0 |
virtual void | traverseReportFooter (const css::uno::Reference< css::report::XSection > &_xSection)=0 |
virtual void | traversePageHeader (const css::uno::Reference< css::report::XSection > &_xSection)=0 |
virtual void | traversePageFooter (const css::uno::Reference< css::report::XSection > &_xSection)=0 |
virtual void | traverseGroups (const css::uno::Reference< css::report::XGroups > &_xGroups)=0 |
virtual void | traverseGroup (const css::uno::Reference< css::report::XGroup > &_xGroup)=0 |
virtual void | traverseGroupFunctions (const css::uno::Reference< css::report::XFunctions > &_xFunctions)=0 |
virtual void | traverseGroupHeader (const css::uno::Reference< css::report::XSection > &_xSection)=0 |
virtual void | traverseGroupFooter (const css::uno::Reference< css::report::XSection > &_xSection)=0 |
virtual void | traverseDetail (const css::uno::Reference< css::report::XSection > &_xSection)=0 |
Public Member Functions inherited from comphelper::OSelectionChangeListener | |
virtual | ~OSelectionChangeListener () |
virtual void | _selectionChanged (const css::lang::EventObject &aEvent)=0 |
virtual void | _disposing (const css::lang::EventObject &_rSource) |
Public Member Functions inherited from comphelper::OPropertyChangeListener | |
OPropertyChangeListener (::osl::Mutex &_rMutex) | |
virtual | ~OPropertyChangeListener () |
virtual void | _propertyChanged (const css::beans::PropertyChangeEvent &_rEvent)=0 |
virtual void | _disposing (const css::lang::EventObject &_rSource) |
Protected Member Functions | |
virtual void | _disposing (const lang::EventObject &_rSource) override |
virtual void | _propertyChanged (const beans::PropertyChangeEvent &_rEvent) override |
void | _elementInserted (const container::ContainerEvent &_rEvent) |
void | _elementRemoved (const container::ContainerEvent &Event) |
void | _elementReplaced (const container::ContainerEvent &_rEvent) |
Protected Member Functions inherited from reportdesign::ITraverseReport | |
~ITraverseReport () | |
Protected Member Functions inherited from comphelper::OPropertyChangeListener | |
void | disposeAdapter () |
Private Member Functions | |
void | insertEntry (const OUString &rName, const weld::TreeIter *pParent, const OUString &rImageId, int nPosition, const UserData *pData, weld::TreeIter &rRet) |
void | traverseSection (const uno::Reference< report::XSection > &xSection, const weld::TreeIter *pParent, const OUString &rImageId, int nPosition=-1) |
void | traverseFunctions (const uno::Reference< report::XFunctions > &xFunctions, const weld::TreeIter *pParent) |
Private Attributes | |
std::unique_ptr< weld::TreeView > | m_xTreeView |
OReportController & | m_rController |
std::unique_ptr< weld::TreeIter > | m_xMasterReport |
::rtl::Reference< comphelper::OPropertyChangeMultiplexer > | m_pReportListener |
::rtl::Reference< comphelper::OSelectionChangeMultiplexer > | m_pSelectionListener |
Friends | |
class | UserData |
Additional Inherited Members | |
Protected Attributes inherited from cppu::BaseMutex | |
mutable::osl::Mutex | m_aMutex |
Definition at line 98 of file Navigator.cxx.
rptui::NavigatorTree::NavigatorTree | ( | std::unique_ptr< weld::TreeView > | xTreeView, |
OReportController & | rController | ||
) |
Definition at line 205 of file Navigator.cxx.
References rptui::OReportController::getReportDefinition(), HID_REPORT_NAVIGATOR_TREE, LINK, m_aMutex, m_pReportListener, m_pSelectionListener, m_rController, m_rController, m_xTreeView, comphelper::OPropertyChangeListener::OPropertyChangeMultiplexer, comphelper::OSelectionChangeListener::OSelectionChangeMultiplexer, PROPERTY_PAGEFOOTERON, PROPERTY_PAGEHEADERON, PROPERTY_REPORTFOOTERON, and PROPERTY_REPORTHEADERON.
|
overridevirtual |
Definition at line 228 of file Navigator.cxx.
References m_pReportListener, m_pSelectionListener, m_xTreeView, and pData.
|
overrideprotectedvirtual |
Definition at line 654 of file Navigator.cxx.
References find(), m_xTreeView, and removeEntry().
|
protected |
Definition at line 590 of file Navigator.cxx.
References find(), insertEntry(), rptui::lcl_getImageId(), rptui::lcl_getName(), m_xTreeView, PROPERTY_EXPRESSION, PROPERTY_NAME, sName, reportdesign::OReportVisitor::start(), and UserData.
|
protected |
Definition at line 625 of file Navigator.cxx.
References find(), m_xTreeView, and removeEntry().
|
protected |
Definition at line 638 of file Navigator.cxx.
References find(), m_xTreeView, pData, PROPERTY_NAME, and sName.
|
overrideprotectedvirtual |
Definition at line 555 of file Navigator.cxx.
References find(), m_xTreeView, nPos, PROPERTY_PAGEFOOTERON, PROPERTY_PAGEHEADERON, PROPERTY_REPORTFOOTERON, PROPERTY_REPORTHEADERON, and traverseSection().
|
overridevirtual |
Definition at line 341 of file Navigator.cxx.
References aEvent, find(), m_pSelectionListener, and m_xTreeView.
rptui::NavigatorTree::DECL_LINK | ( | CommandHdl | , |
const CommandEvent & | , | ||
bool | |||
) |
rptui::NavigatorTree::DECL_LINK | ( | OnEntrySelDesel | , |
weld::TreeView & | , | ||
void | |||
) |
|
inline |
Definition at line 189 of file Navigator.cxx.
References m_xTreeView.
bool rptui::NavigatorTree::find | ( | const uno::Reference< uno::XInterface > & | xContent, |
weld::TreeIter & | rIter | ||
) |
Definition at line 422 of file Navigator.cxx.
References m_xTreeView, and pData.
Referenced by _disposing(), _elementInserted(), _elementRemoved(), _elementReplaced(), _propertyChanged(), _selectionChanged(), traverseDetail(), traverseGroup(), traverseGroupFooter(), traverseGroupFunctions(), traverseGroupHeader(), traverseGroups(), traversePageFooter(), traversePageHeader(), traverseReportFooter(), traverseReportFunctions(), traverseReportHeader(), and traverseSection().
|
inline |
Definition at line 182 of file Navigator.cxx.
References m_xTreeView.
|
private |
Definition at line 376 of file Navigator.cxx.
References m_xTreeView, pData, sId, and weld::toId().
Referenced by _elementInserted(), traverseFunctions(), traverseGroup(), traverseGroups(), traverseReport(), and traverseSection().
|
inline |
Definition at line 199 of file Navigator.cxx.
References m_xTreeView.
|
inline |
Definition at line 194 of file Navigator.cxx.
References m_xTreeView.
void rptui::NavigatorTree::removeEntry | ( | const weld::TreeIter & | rEntry, |
bool | bRemove = true |
||
) |
Definition at line 661 of file Navigator.cxx.
References m_xTreeView, and removeEntry().
Referenced by _disposing(), _elementRemoved(), and removeEntry().
|
inline |
Definition at line 184 of file Navigator.cxx.
References m_xTreeView.
|
overridevirtual |
Definition at line 545 of file Navigator.cxx.
References find(), m_xTreeView, and traverseSection().
|
private |
Definition at line 409 of file Navigator.cxx.
References i, insertEntry(), m_xTreeView, nCount, RptResId(), and UserData.
Referenced by traverseGroupFunctions(), and traverseReportFunctions().
|
overridevirtual |
Definition at line 504 of file Navigator.cxx.
References find(), rptui::getPositionInIndexAccess(), insertEntry(), and m_xTreeView.
|
overridevirtual |
Definition at line 535 of file Navigator.cxx.
References find(), m_xTreeView, and traverseSection().
|
overridevirtual |
Definition at line 516 of file Navigator.cxx.
References find(), m_xTreeView, and traverseFunctions().
|
overridevirtual |
Definition at line 525 of file Navigator.cxx.
References find(), m_xTreeView, and traverseSection().
|
overridevirtual |
Definition at line 494 of file Navigator.cxx.
References find(), insertEntry(), m_xTreeView, and RptResId().
|
overridevirtual |
Definition at line 485 of file Navigator.cxx.
References find(), m_xTreeView, and traverseSection().
|
overridevirtual |
Definition at line 476 of file Navigator.cxx.
References find(), m_xTreeView, and traverseSection().
|
overridevirtual |
Definition at line 443 of file Navigator.cxx.
References insertEntry(), m_xMasterReport, and m_xTreeView.
|
overridevirtual |
Definition at line 467 of file Navigator.cxx.
References find(), m_xTreeView, and traverseSection().
|
overridevirtual |
Definition at line 449 of file Navigator.cxx.
References find(), m_xTreeView, and traverseFunctions().
|
overridevirtual |
Definition at line 458 of file Navigator.cxx.
References find(), m_xTreeView, and traverseSection().
|
private |
Definition at line 385 of file Navigator.cxx.
References find(), i, insertEntry(), rptui::lcl_getImageId(), rptui::lcl_getName(), m_xMasterReport, m_xTreeView, nCount, reportdesign::OReportVisitor::start(), and UserData.
Referenced by _propertyChanged(), traverseDetail(), traverseGroupFooter(), traverseGroupHeader(), traversePageFooter(), traversePageHeader(), traverseReportFooter(), and traverseReportHeader().
|
friend |
Definition at line 104 of file Navigator.cxx.
Referenced by _elementInserted(), traverseFunctions(), and traverseSection().
|
private |
Definition at line 134 of file Navigator.cxx.
Referenced by NavigatorTree(), and ~NavigatorTree().
|
private |
Definition at line 135 of file Navigator.cxx.
Referenced by _selectionChanged(), NavigatorTree(), and ~NavigatorTree().
|
private |
Definition at line 132 of file Navigator.cxx.
Referenced by NavigatorTree().
|
private |
Definition at line 133 of file Navigator.cxx.
Referenced by traverseReport(), and traverseSection().
|
private |
Definition at line 131 of file Navigator.cxx.
Referenced by _disposing(), _elementInserted(), _elementRemoved(), _elementReplaced(), _propertyChanged(), _selectionChanged(), expand_row(), find(), grab_focus(), insertEntry(), iter_n_children(), make_iterator(), NavigatorTree(), removeEntry(), set_text(), traverseDetail(), traverseFunctions(), traverseGroup(), traverseGroupFooter(), traverseGroupFunctions(), traverseGroupHeader(), traverseGroups(), traversePageFooter(), traversePageHeader(), traverseReport(), traverseReportFooter(), traverseReportFunctions(), traverseReportHeader(), traverseSection(), and ~NavigatorTree().