LibreOffice Module framework (master) 1
|
#include <menudocumenthandler.hxx>
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 |
Definition at line 78 of file menudocumenthandler.hxx.
|
strongprivate |
Enumerator | |
---|---|
None | |
MenuBar | |
MenuPopup |
Definition at line 100 of file menudocumenthandler.hxx.
framework::OReadMenuDocumentHandler::OReadMenuDocumentHandler | ( | const css::uno::Reference< css::container::XIndexContainer > & | rItemContainer | ) |
Definition at line 210 of file menudocumenthandler.cxx.
References None.
|
overridevirtual |
Definition at line 219 of file menudocumenthandler.cxx.
|
overridevirtual |
Implements framework::ReadMenuDocumentHandlerBase.
Definition at line 262 of file menudocumenthandler.cxx.
|
overridevirtual |
Implements framework::ReadMenuDocumentHandlerBase.
Definition at line 227 of file menudocumenthandler.cxx.
References Any, framework::ReadMenuDocumentHandlerBase::getErrorLineString(), and m_nElementDepth.
|
overridevirtual |
Implements framework::ReadMenuDocumentHandlerBase.
Definition at line 266 of file menudocumenthandler.cxx.
References aName, Any, ELEMENT_MENUBAR, ELEMENT_MENUPOPUP, framework::ReadMenuDocumentHandlerBase::getErrorLineString(), m_eReaderMode, m_nElementDepth, framework::ReadMenuDocumentHandlerBase::m_xReader, MenuBar, MenuPopup, and None.
|
overridevirtual |
Implements framework::ReadMenuDocumentHandlerBase.
Definition at line 223 of file menudocumenthandler.cxx.
|
overridevirtual |
Implements framework::ReadMenuDocumentHandlerBase.
Definition at line 237 of file menudocumenthandler.cxx.
References aName, ELEMENT_MENUBAR, ELEMENT_MENUPOPUP, m_eReaderMode, m_nElementDepth, m_xContainerFactory, m_xMenuBarContainer, framework::ReadMenuDocumentHandlerBase::m_xReader, MenuBar, MenuPopup, and None.
|
private |
Definition at line 101 of file menudocumenthandler.hxx.
Referenced by endElement(), and startElement().
|
private |
Definition at line 99 of file menudocumenthandler.hxx.
Referenced by endDocument(), endElement(), and startElement().
|
private |
Definition at line 103 of file menudocumenthandler.hxx.
Referenced by startElement().
|
private |
Definition at line 102 of file menudocumenthandler.hxx.
Referenced by startElement().