LibreOffice Module sfx2 (master) 1
Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes | List of all members
DocumentModelTreeHandler Class Reference

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
 

Detailed Description

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.

Constructor & Destructor Documentation

◆ DocumentModelTreeHandler()

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.

Member Function Documentation

◆ clearAll()

void DocumentModelTreeHandler::clearAll ( )
private

Definition at line 720 of file DocumentModelTreeHandler.cxx.

References mpDocumentModelTree.

Referenced by inspectDocument().

◆ clearChildren()

void DocumentModelTreeHandler::clearChildren ( weld::TreeIter const &  rParent)
private

Definition at line 732 of file DocumentModelTreeHandler.cxx.

References clearChildren(), and mpDocumentModelTree.

Referenced by clearChildren().

◆ DECL_LINK()

DocumentModelTreeHandler::DECL_LINK ( ExpandingHandler  ,
const weld::TreeIter ,
bool   
)

◆ dispose()

void DocumentModelTreeHandler::dispose ( void  )

Definition at line 754 of file DocumentModelTreeHandler.cxx.

References mpDocumentModelTree.

Referenced by DevelopmentToolDockingWindow::dispose().

◆ getObjectByID()

uno::Reference< uno::XInterface > DocumentModelTreeHandler::getObjectByID ( OUString const &  rID)
static

Definition at line 711 of file DocumentModelTreeHandler.cxx.

Referenced by IMPL_LINK().

◆ inspectDocument()

void DocumentModelTreeHandler::inspectDocument ( )

◆ selectObject()

void DocumentModelTreeHandler::selectObject ( css::uno::Reference< css::uno::XInterface > const &  xInterface)

Member Data Documentation

◆ mpDocumentModelTree

std::unique_ptr<weld::TreeView>& DocumentModelTreeHandler::mpDocumentModelTree
private

◆ mxDocument

css::uno::Reference<css::uno::XInterface> DocumentModelTreeHandler::mxDocument
private

Definition at line 27 of file DocumentModelTreeHandler.hxx.

Referenced by inspectDocument().


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