LibreOffice Module framework (master) 1
|
#include <menudocumenthandler.hxx>
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 |
Definition at line 106 of file menudocumenthandler.hxx.
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.
|
overridevirtual |
Definition at line 303 of file menudocumenthandler.cxx.
|
overridevirtual |
Implements framework::ReadMenuDocumentHandlerBase.
Definition at line 402 of file menudocumenthandler.cxx.
|
overridevirtual |
Implements framework::ReadMenuDocumentHandlerBase.
Definition at line 311 of file menudocumenthandler.cxx.
|
overridevirtual |
Implements framework::ReadMenuDocumentHandlerBase.
Definition at line 406 of file menudocumenthandler.cxx.
References aName, Any, ELEMENT_MENU, framework::ReadMenuDocumentHandlerBase::getErrorLineString(), m_bMenuMode, m_nElementDepth, and framework::ReadMenuDocumentHandlerBase::m_xReader.
|
overridevirtual |
Implements framework::ReadMenuDocumentHandlerBase.
Definition at line 307 of file menudocumenthandler.cxx.
|
overridevirtual |
Implements framework::ReadMenuDocumentHandlerBase.
Definition at line 315 of file menudocumenthandler.cxx.
References aLabel, aName, Any, ATTRIBUTE_HELPID, ATTRIBUTE_ID, ATTRIBUTE_ITEMSTYLE_IMAGE, ATTRIBUTE_ITEMSTYLE_RADIO, ATTRIBUTE_ITEMSTYLE_TEXT, ATTRIBUTE_LABEL, ATTRIBUTE_STYLE, ELEMENT_MENU, framework::ReadMenuDocumentHandlerBase::getErrorLineString(), comphelper::getProcessComponentContext(), i, framework::ReadMenuDocumentHandlerBase::initPropertyCommon(), m_bMenuMode, m_nElementDepth, m_xContainerFactory, m_xMenuBarContainer, framework::ReadMenuDocumentHandlerBase::m_xReader, and nIndex.
|
private |
Definition at line 129 of file menudocumenthandler.hxx.
Referenced by endElement(), and startElement().
|
private |
Definition at line 128 of file menudocumenthandler.hxx.
Referenced by endElement(), and startElement().
|
private |
Definition at line 131 of file menudocumenthandler.hxx.
Referenced by startElement().
|
private |
Definition at line 130 of file menudocumenthandler.hxx.
Referenced by startElement().