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

#include <menudocumenthandler.hxx>

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

Public Member Functions

 OReadMenuDocumentHandler (const css::uno::Reference< css::container::XIndexContainer > &rItemContainer)
 
virtual ~OReadMenuDocumentHandler () 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 Types

enum class  ReaderMode {
  None ,
  MenuBar ,
  MenuPopup
}
 

Private Attributes

int m_nElementDepth
 
ReaderMode m_eReaderMode
 
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 78 of file menudocumenthandler.hxx.

Member Enumeration Documentation

◆ ReaderMode

Enumerator
None 
MenuBar 
MenuPopup 

Definition at line 100 of file menudocumenthandler.hxx.

Constructor & Destructor Documentation

◆ OReadMenuDocumentHandler()

framework::OReadMenuDocumentHandler::OReadMenuDocumentHandler ( const css::uno::Reference< css::container::XIndexContainer > &  rItemContainer)

Definition at line 210 of file menudocumenthandler.cxx.

References None.

◆ ~OReadMenuDocumentHandler()

framework::OReadMenuDocumentHandler::~OReadMenuDocumentHandler ( )
overridevirtual

Definition at line 219 of file menudocumenthandler.cxx.

Member Function Documentation

◆ characters()

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

Implements framework::ReadMenuDocumentHandlerBase.

Definition at line 262 of file menudocumenthandler.cxx.

◆ endDocument()

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

◆ endElement()

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

◆ startDocument()

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

Implements framework::ReadMenuDocumentHandlerBase.

Definition at line 223 of file menudocumenthandler.cxx.

◆ startElement()

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

Member Data Documentation

◆ m_eReaderMode

ReaderMode framework::OReadMenuDocumentHandler::m_eReaderMode
private

Definition at line 101 of file menudocumenthandler.hxx.

Referenced by endElement(), and startElement().

◆ m_nElementDepth

int framework::OReadMenuDocumentHandler::m_nElementDepth
private

Definition at line 99 of file menudocumenthandler.hxx.

Referenced by endDocument(), endElement(), and startElement().

◆ m_xContainerFactory

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

Definition at line 103 of file menudocumenthandler.hxx.

Referenced by startElement().

◆ m_xMenuBarContainer

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

Definition at line 102 of file menudocumenthandler.hxx.

Referenced by startElement().


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