LibreOffice Module framework (master) 1
|
#include <toolboxdocumenthandler.hxx>
Public Member Functions | |
OWriteToolBoxDocumentHandler (const css::uno::Reference< css::container::XIndexAccess > &rItemAccess, css::uno::Reference< css::xml::sax::XDocumentHandler > const &rDocumentHandler) | |
~OWriteToolBoxDocumentHandler () | |
void | WriteToolBoxDocument () |
Private Member Functions | |
void | WriteToolBoxItem (const OUString &aCommandURL, const OUString &aLabel, sal_Int16 nStyle, bool bVisible) |
void | WriteToolBoxSpace () |
void | WriteToolBoxBreak () |
void | WriteToolBoxSeparator () |
Private Attributes | |
css::uno::Reference< css::xml::sax::XDocumentHandler > | m_xWriteDocumentHandler |
css::uno::Reference< css::xml::sax::XAttributeList > | m_xEmptyList |
css::uno::Reference< css::container::XIndexAccess > | m_rItemAccess |
OUString | m_aXMLToolbarNS |
OUString | m_aXMLXlinkNS |
OUString | m_aAttributeURL |
Definition at line 110 of file toolboxdocumenthandler.hxx.
framework::OWriteToolBoxDocumentHandler::OWriteToolBoxDocumentHandler | ( | const css::uno::Reference< css::container::XIndexAccess > & | rItemAccess, |
css::uno::Reference< css::xml::sax::XDocumentHandler > const & | rDocumentHandler | ||
) |
Definition at line 545 of file toolboxdocumenthandler.cxx.
References m_aXMLToolbarNS, m_aXMLXlinkNS, m_xEmptyList, XMLNS_TOOLBAR_PREFIX, and XMLNS_XLINK_PREFIX.
framework::OWriteToolBoxDocumentHandler::~OWriteToolBoxDocumentHandler | ( | ) |
Definition at line 556 of file toolboxdocumenthandler.cxx.
|
private |
css::xml::sax::SAXException | |
css::uno::RuntimeException |
Definition at line 695 of file toolboxdocumenthandler.cxx.
References ELEMENT_NS_TOOLBARBREAK, m_xEmptyList, and m_xWriteDocumentHandler.
Referenced by WriteToolBoxDocument().
void framework::OWriteToolBoxDocumentHandler::WriteToolBoxDocument | ( | ) |
css::xml::sax::SAXException | |
css::uno::RuntimeException |
Definition at line 560 of file toolboxdocumenthandler.cxx.
References aLabel, Any, ATTRIBUTE_UINAME, ATTRIBUTE_XMLNS_TOOLBAR, ATTRIBUTE_XMLNS_XLINK, aUIName, bVisible, ELEMENT_NS_TOOLBAR, framework::ExtractToolbarParameters(), m_aXMLToolbarNS, m_rItemAccess, m_xWriteDocumentHandler, nType, TOOLBAR_DOCTYPE, WriteToolBoxBreak(), WriteToolBoxItem(), WriteToolBoxSeparator(), WriteToolBoxSpace(), XMLNS_TOOLBAR, and XMLNS_XLINK.
Referenced by framework::ToolBoxConfiguration::StoreToolBox().
|
private |
css::xml::sax::SAXException | |
css::uno::RuntimeException |
Definition at line 635 of file toolboxdocumenthandler.cxx.
References ATTRIBUTE_BOOLEAN_FALSE, ATTRIBUTE_ITEMSTYLE, ATTRIBUTE_TEXT, ATTRIBUTE_URL, ATTRIBUTE_VISIBLE, bVisible, ELEMENT_NS_TOOLBARITEM, m_aAttributeURL, m_aXMLToolbarNS, m_aXMLXlinkNS, m_xWriteDocumentHandler, nIndex, framework::nStyleItemEntries, and framework::Styles.
Referenced by WriteToolBoxDocument().
|
private |
css::xml::sax::SAXException | |
css::uno::RuntimeException |
Definition at line 703 of file toolboxdocumenthandler.cxx.
References ELEMENT_NS_TOOLBARSEPARATOR, m_xEmptyList, and m_xWriteDocumentHandler.
Referenced by WriteToolBoxDocument().
|
private |
css::xml::sax::SAXException | |
css::uno::RuntimeException |
Definition at line 687 of file toolboxdocumenthandler.cxx.
References ELEMENT_NS_TOOLBARSPACE, m_xEmptyList, and m_xWriteDocumentHandler.
Referenced by WriteToolBoxDocument().
|
private |
Definition at line 144 of file toolboxdocumenthandler.hxx.
Referenced by WriteToolBoxItem().
|
private |
Definition at line 142 of file toolboxdocumenthandler.hxx.
Referenced by OWriteToolBoxDocumentHandler(), WriteToolBoxDocument(), and WriteToolBoxItem().
|
private |
Definition at line 143 of file toolboxdocumenthandler.hxx.
Referenced by OWriteToolBoxDocumentHandler(), and WriteToolBoxItem().
|
private |
Definition at line 141 of file toolboxdocumenthandler.hxx.
Referenced by WriteToolBoxDocument().
|
private |
Definition at line 140 of file toolboxdocumenthandler.hxx.
Referenced by OWriteToolBoxDocumentHandler(), WriteToolBoxBreak(), WriteToolBoxSeparator(), and WriteToolBoxSpace().
|
private |
Definition at line 139 of file toolboxdocumenthandler.hxx.
Referenced by WriteToolBoxBreak(), WriteToolBoxDocument(), WriteToolBoxItem(), WriteToolBoxSeparator(), and WriteToolBoxSpace().