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

#include <menudocumenthandler.hxx>

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

Public Member Functions

 OReadMenuBarHandler (const css::uno::Reference< css::container::XIndexContainer > &rMenuBarContainer, const css::uno::Reference< css::lang::XSingleComponentFactory > &rContainerFactory)
 
virtual ~OReadMenuBarHandler () 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_bMenuMode
 
css::uno::Reference< css::container::XIndexContainer > m_xMenuBarContainer
 
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 106 of file menudocumenthandler.hxx.

Constructor & Destructor Documentation

◆ OReadMenuBarHandler()

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

Definition at line 293 of file menudocumenthandler.cxx.

◆ ~OReadMenuBarHandler()

framework::OReadMenuBarHandler::~OReadMenuBarHandler ( )
overridevirtual

Definition at line 303 of file menudocumenthandler.cxx.

Member Function Documentation

◆ characters()

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

Implements framework::ReadMenuDocumentHandlerBase.

Definition at line 402 of file menudocumenthandler.cxx.

◆ endDocument()

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

Implements framework::ReadMenuDocumentHandlerBase.

Definition at line 311 of file menudocumenthandler.cxx.

◆ endElement()

void framework::OReadMenuBarHandler::endElement ( const OUString &  aName)
overridevirtual

◆ startDocument()

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

Implements framework::ReadMenuDocumentHandlerBase.

Definition at line 307 of file menudocumenthandler.cxx.

◆ startElement()

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

Member Data Documentation

◆ m_bMenuMode

bool framework::OReadMenuBarHandler::m_bMenuMode
private

Definition at line 129 of file menudocumenthandler.hxx.

Referenced by endElement(), and startElement().

◆ m_nElementDepth

int framework::OReadMenuBarHandler::m_nElementDepth
private

Definition at line 128 of file menudocumenthandler.hxx.

Referenced by endElement(), and startElement().

◆ m_xContainerFactory

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

Definition at line 131 of file menudocumenthandler.hxx.

Referenced by startElement().

◆ m_xMenuBarContainer

css::uno::Reference< css::container::XIndexContainer > framework::OReadMenuBarHandler::m_xMenuBarContainer
private

Definition at line 130 of file menudocumenthandler.hxx.

Referenced by startElement().


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