LibreOffice Module framework (master) 1
|
#include <menudocumenthandler.hxx>
Public Member Functions | |
OReadMenuPopupHandler (const css::uno::Reference< css::container::XIndexContainer > &rMenuContainer, const css::uno::Reference< css::lang::XSingleComponentFactory > &rContainerFactory) | |
virtual | ~OReadMenuPopupHandler () 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 | NextElementClose { ELEM_CLOSE_NONE , ELEM_CLOSE_MENUITEM , ELEM_CLOSE_MENUSEPARATOR } |
Private Attributes | |
int | m_nElementDepth |
bool | m_bMenuMode |
css::uno::Reference< css::container::XIndexContainer > | m_xMenuContainer |
css::uno::Reference< css::lang::XSingleComponentFactory > | m_xContainerFactory |
css::uno::Reference< css::uno::XComponentContext > | m_xComponentContext |
NextElementClose | m_nNextElementExpected |
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 161 of file menudocumenthandler.hxx.
|
private |
Enumerator | |
---|---|
ELEM_CLOSE_NONE | |
ELEM_CLOSE_MENUITEM | |
ELEM_CLOSE_MENUSEPARATOR |
Definition at line 183 of file menudocumenthandler.hxx.
framework::OReadMenuPopupHandler::OReadMenuPopupHandler | ( | const css::uno::Reference< css::container::XIndexContainer > & | rMenuContainer, |
const css::uno::Reference< css::lang::XSingleComponentFactory > & | rContainerFactory | ||
) |
Definition at line 499 of file menudocumenthandler.cxx.
References getProcessComponentContext(), and m_xComponentContext.
|
overridevirtual |
Definition at line 511 of file menudocumenthandler.cxx.
|
overridevirtual |
Implements framework::ReadMenuDocumentHandlerBase.
Definition at line 660 of file menudocumenthandler.cxx.
|
overridevirtual |
Implements framework::ReadMenuDocumentHandlerBase.
Definition at line 519 of file menudocumenthandler.cxx.
|
overridevirtual |
Implements framework::ReadMenuDocumentHandlerBase.
Definition at line 664 of file menudocumenthandler.cxx.
References aName, Any, ELEM_CLOSE_MENUITEM, ELEM_CLOSE_MENUSEPARATOR, ELEM_CLOSE_NONE, ELEMENT_MENU, ELEMENT_MENUITEM, ELEMENT_MENUSEPARATOR, framework::ReadMenuDocumentHandlerBase::getErrorLineString(), m_bMenuMode, m_nElementDepth, m_nNextElementExpected, and framework::ReadMenuDocumentHandlerBase::m_xReader.
|
overridevirtual |
Implements framework::ReadMenuDocumentHandlerBase.
Definition at line 515 of file menudocumenthandler.cxx.
|
overridevirtual |
Implements framework::ReadMenuDocumentHandlerBase.
Definition at line 523 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, ELEM_CLOSE_MENUITEM, ELEM_CLOSE_MENUSEPARATOR, ELEMENT_MENU, ELEMENT_MENUITEM, ELEMENT_MENUSEPARATOR, framework::ReadMenuDocumentHandlerBase::getErrorLineString(), i, framework::ReadMenuDocumentHandlerBase::initPropertyCommon(), framework::ITEM_DESCRIPTOR_TYPE, m_bMenuMode, m_nElementDepth, m_nNextElementExpected, m_xComponentContext, m_xContainerFactory, m_xMenuContainer, framework::ReadMenuDocumentHandlerBase::m_xReader, comphelper::makePropertyValue(), and nIndex.
|
private |
Definition at line 186 of file menudocumenthandler.hxx.
Referenced by endElement(), and startElement().
|
private |
Definition at line 185 of file menudocumenthandler.hxx.
Referenced by endElement(), and startElement().
|
private |
Definition at line 190 of file menudocumenthandler.hxx.
Referenced by endElement(), and startElement().
|
private |
Definition at line 189 of file menudocumenthandler.hxx.
Referenced by startElement().
|
private |
Definition at line 188 of file menudocumenthandler.hxx.
Referenced by startElement().
|
private |
Definition at line 187 of file menudocumenthandler.hxx.
Referenced by startElement().