LibreOffice Module framework (master) 1
Public Member Functions | Private Attributes | List of all members
framework::OReadMenuHandler Class Referencefinal

#include <menudocumenthandler.hxx>

Inheritance diagram for framework::OReadMenuHandler:
[legend]
Collaboration diagram for framework::OReadMenuHandler:
[legend]

Public Member Functions

 OReadMenuHandler (const css::uno::Reference< css::container::XIndexContainer > &rMenuContainer, const css::uno::Reference< css::lang::XSingleComponentFactory > &rContainerFactory)
 
virtual ~OReadMenuHandler () override
 
virtual void SAL_CALL startDocument () override
 
virtual void SAL_CALL endDocument () override
 
virtual void SAL_CALL startElement (const OUString &aName, const css::uno::Reference< css::xml::sax::XAttributeList > &xAttribs) override
 
virtual void SAL_CALL endElement (const OUString &aName) override
 
virtual void SAL_CALL characters (const OUString &aChars) override
 
- Public Member Functions inherited from framework::ReadMenuDocumentHandlerBase
 ReadMenuDocumentHandlerBase ()
 
virtual ~ReadMenuDocumentHandlerBase () override
 
virtual void SAL_CALL startDocument () override=0
 
virtual void SAL_CALL endDocument () override=0
 
virtual void SAL_CALL startElement (const OUString &aName, const css::uno::Reference< css::xml::sax::XAttributeList > &xAttribs) override=0
 
virtual void SAL_CALL endElement (const OUString &aName) override=0
 
virtual void SAL_CALL characters (const OUString &aChars) override=0
 
virtual void SAL_CALL ignorableWhitespace (const OUString &aWhitespaces) override
 
virtual void SAL_CALL processingInstruction (const OUString &aTarget, const OUString &aData) override
 
virtual void SAL_CALL setDocumentLocator (const css::uno::Reference< css::xml::sax::XLocator > &xLocator) override
 

Private Attributes

int m_nElementDepth
 
bool m_bMenuPopupMode
 
css::uno::Reference< css::container::XIndexContainer > m_xMenuContainer
 
css::uno::Reference< css::lang::XSingleComponentFactory > m_xContainerFactory
 

Additional Inherited Members

- Protected Member Functions inherited from framework::ReadMenuDocumentHandlerBase
OUString getErrorLineString ()
 
void initPropertyCommon (css::uno::Sequence< css::beans::PropertyValue > &rProps, const OUString &rCommandURL, const OUString &rHelpId, const OUString &rLabel, sal_Int16 nItemStyleBits)
 
- Protected Attributes inherited from framework::ReadMenuDocumentHandlerBase
css::uno::Reference< css::xml::sax::XLocator > m_xLocator
 
css::uno::Reference< css::xml::sax::XDocumentHandler > m_xReader
 

Detailed Description

Definition at line 134 of file menudocumenthandler.hxx.

Constructor & Destructor Documentation

◆ OReadMenuHandler()

framework::OReadMenuHandler::OReadMenuHandler ( const css::uno::Reference< css::container::XIndexContainer > &  rMenuContainer,
const css::uno::Reference< css::lang::XSingleComponentFactory > &  rContainerFactory 
)

Definition at line 428 of file menudocumenthandler.cxx.

◆ ~OReadMenuHandler()

framework::OReadMenuHandler::~OReadMenuHandler ( )
overridevirtual

Definition at line 438 of file menudocumenthandler.cxx.

Member Function Documentation

◆ characters()

void SAL_CALL framework::OReadMenuHandler::characters ( const OUString &  aChars)
overridevirtual

Implements framework::ReadMenuDocumentHandlerBase.

Definition at line 473 of file menudocumenthandler.cxx.

◆ endDocument()

void SAL_CALL framework::OReadMenuHandler::endDocument ( )
overridevirtual

Implements framework::ReadMenuDocumentHandlerBase.

Definition at line 446 of file menudocumenthandler.cxx.

◆ endElement()

void SAL_CALL framework::OReadMenuHandler::endElement ( const OUString &  aName)
overridevirtual

◆ startDocument()

void SAL_CALL framework::OReadMenuHandler::startDocument ( )
overridevirtual

Implements framework::ReadMenuDocumentHandlerBase.

Definition at line 442 of file menudocumenthandler.cxx.

◆ startElement()

void SAL_CALL framework::OReadMenuHandler::startElement ( const OUString &  aName,
const css::uno::Reference< css::xml::sax::XAttributeList > &  xAttribs 
)
overridevirtual

Member Data Documentation

◆ m_bMenuPopupMode

bool framework::OReadMenuHandler::m_bMenuPopupMode
private

Definition at line 156 of file menudocumenthandler.hxx.

Referenced by endElement(), and startElement().

◆ m_nElementDepth

int framework::OReadMenuHandler::m_nElementDepth
private

Definition at line 155 of file menudocumenthandler.hxx.

Referenced by endElement(), and startElement().

◆ m_xContainerFactory

css::uno::Reference< css::lang::XSingleComponentFactory > framework::OReadMenuHandler::m_xContainerFactory
private

Definition at line 158 of file menudocumenthandler.hxx.

Referenced by startElement().

◆ m_xMenuContainer

css::uno::Reference< css::container::XIndexContainer > framework::OReadMenuHandler::m_xMenuContainer
private

Definition at line 157 of file menudocumenthandler.hxx.

Referenced by startElement().


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