LibreOffice Module framework (master) 1
|
#include <menudocumenthandler.hxx>
Public Member Functions | |
OWriteMenuDocumentHandler (const css::uno::Reference< css::container::XIndexAccess > &rMenuBarContainer, const css::uno::Reference< css::xml::sax::XDocumentHandler > &rDocumentHandler, bool bIsMenuBar) | |
~OWriteMenuDocumentHandler () | |
void | WriteMenuDocument () |
Private Member Functions | |
void | WriteMenu (const css::uno::Reference< css::container::XIndexAccess > &rSubMenuContainer) |
void | WriteMenuItem (const OUString &aCommandURL, const OUString &aLabel, const OUString &aHelpURL, sal_Int16 nStyle) |
void | WriteMenuSeparator () |
Private Attributes | |
css::uno::Reference< css::container::XIndexAccess > | m_xMenuBarContainer |
css::uno::Reference< css::xml::sax::XDocumentHandler > | m_xWriteDocumentHandler |
css::uno::Reference< css::xml::sax::XAttributeList > | m_xEmptyList |
bool | m_bIsMenuBar |
Definition at line 193 of file menudocumenthandler.hxx.
framework::OWriteMenuDocumentHandler::OWriteMenuDocumentHandler | ( | const css::uno::Reference< css::container::XIndexAccess > & | rMenuBarContainer, |
const css::uno::Reference< css::xml::sax::XDocumentHandler > & | rDocumentHandler, | ||
bool | bIsMenuBar | ||
) |
Definition at line 711 of file menudocumenthandler.cxx.
References m_xEmptyList.
framework::OWriteMenuDocumentHandler::~OWriteMenuDocumentHandler | ( | ) |
Definition at line 722 of file menudocumenthandler.cxx.
|
private |
css::xml::sax::SAXException | |
css::uno::RuntimeException |
Definition at line 763 of file menudocumenthandler.cxx.
References aLabel, Any, ATTRIBUTE_NS_ID, ATTRIBUTE_NS_LABEL, ELEMENT_NS_MENU, ELEMENT_NS_MENUPOPUP, framework::ExtractMenuParameters(), m_xEmptyList, m_xWriteDocumentHandler, nType, WriteMenu(), WriteMenuItem(), and WriteMenuSeparator().
Referenced by WriteMenu(), and WriteMenuDocument().
void framework::OWriteMenuDocumentHandler::WriteMenuDocument | ( | ) |
css::xml::sax::SAXException | |
css::uno::RuntimeException |
Definition at line 726 of file menudocumenthandler.cxx.
References ATTRIBUTE_NS_ID, ATTRIBUTE_XMLNS_MENU, ELEMENT_NS_MENUBAR, ELEMENT_NS_MENUPOPUP, m_bIsMenuBar, m_xMenuBarContainer, m_xWriteDocumentHandler, MENUBAR_DOCTYPE, WriteMenu(), and XMLNS_MENU.
Referenced by framework::MenuConfiguration::StoreMenuBarConfigurationToXML().
|
private |
Definition at line 833 of file menudocumenthandler.cxx.
References aLabel, ATTRIBUTE_NS_HELPID, ATTRIBUTE_NS_ID, ATTRIBUTE_NS_LABEL, ATTRIBUTE_NS_STYLE, ELEMENT_NS_MENUITEM, m_xWriteDocumentHandler, framework::MenuItemStyles, nIndex, and framework::nMenuStyleItemEntries.
Referenced by WriteMenu().
|
private |
Definition at line 875 of file menudocumenthandler.cxx.
References ELEMENT_NS_MENUSEPARATOR, m_xEmptyList, and m_xWriteDocumentHandler.
Referenced by WriteMenu().
|
private |
Definition at line 216 of file menudocumenthandler.hxx.
Referenced by WriteMenuDocument().
|
private |
Definition at line 215 of file menudocumenthandler.hxx.
Referenced by OWriteMenuDocumentHandler(), WriteMenu(), and WriteMenuSeparator().
|
private |
Definition at line 213 of file menudocumenthandler.hxx.
Referenced by WriteMenuDocument().
|
private |
Definition at line 214 of file menudocumenthandler.hxx.
Referenced by WriteMenu(), WriteMenuDocument(), WriteMenuItem(), and WriteMenuSeparator().