LibreOffice Module sfx2 (master) 1
|
Document model tree handler. More...
#include <DocumentModelTreeHandler.hxx>
Public Member Functions | |
DocumentModelTreeHandler (std::unique_ptr< weld::TreeView > &pDocumentModelTree, css::uno::Reference< css::uno::XInterface > xDocument) | |
DECL_LINK (ExpandingHandler, const weld::TreeIter &, bool) | |
void | inspectDocument () |
void | dispose () |
void | selectObject (css::uno::Reference< css::uno::XInterface > const &xInterface) |
Static Public Member Functions | |
static css::uno::Reference< css::uno::XInterface > | getObjectByID (OUString const &rID) |
Private Member Functions | |
void | clearChildren (weld::TreeIter const &rParent) |
void | clearAll () |
Private Attributes | |
std::unique_ptr< weld::TreeView > & | mpDocumentModelTree |
css::uno::Reference< css::uno::XInterface > | mxDocument |
Document model tree handler.
Handles the DOM tree part of DevTools, which includes interaction with the DOM tree view UI elements and the DOM model.
Definition at line 23 of file DocumentModelTreeHandler.hxx.
DocumentModelTreeHandler::DocumentModelTreeHandler | ( | std::unique_ptr< weld::TreeView > & | pDocumentModelTree, |
css::uno::Reference< css::uno::XInterface > | xDocument | ||
) |
Definition at line 702 of file DocumentModelTreeHandler.cxx.
References LINK, and mpDocumentModelTree.
|
private |
Definition at line 720 of file DocumentModelTreeHandler.cxx.
References mpDocumentModelTree.
Referenced by inspectDocument().
|
private |
Definition at line 732 of file DocumentModelTreeHandler.cxx.
References clearChildren(), and mpDocumentModelTree.
Referenced by clearChildren().
DocumentModelTreeHandler::DECL_LINK | ( | ExpandingHandler | , |
const weld::TreeIter & | , | ||
bool | |||
) |
void DocumentModelTreeHandler::dispose | ( | void | ) |
Definition at line 754 of file DocumentModelTreeHandler.cxx.
References mpDocumentModelTree.
Referenced by DevelopmentToolDockingWindow::dispose().
|
static |
Definition at line 711 of file DocumentModelTreeHandler.cxx.
Referenced by IMPL_LINK().
void DocumentModelTreeHandler::inspectDocument | ( | ) |
Definition at line 794 of file DocumentModelTreeHandler.cxx.
References clearAll(), mpDocumentModelTree, mxDocument, and SfxResId().
Referenced by DevelopmentToolDockingWindow::DevelopmentToolDockingWindow().
void DocumentModelTreeHandler::selectObject | ( | css::uno::Reference< css::uno::XInterface > const & | xInterface | ) |
Definition at line 777 of file DocumentModelTreeHandler.cxx.
References mpDocumentModelTree.
Referenced by DevelopmentToolDockingWindow::updateSelection().
|
private |
Definition at line 26 of file DocumentModelTreeHandler.hxx.
Referenced by clearAll(), clearChildren(), dispose(), DocumentModelTreeHandler(), inspectDocument(), and selectObject().
|
private |
Definition at line 27 of file DocumentModelTreeHandler.hxx.
Referenced by inspectDocument().