LibreOffice Module framework (master) 1
Public Member Functions | Private Member Functions | Private Attributes | List of all members
framework::OWriteMenuDocumentHandler Class Referencefinal

#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
 

Detailed Description

Definition at line 193 of file menudocumenthandler.hxx.

Constructor & Destructor Documentation

◆ OWriteMenuDocumentHandler()

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.

◆ ~OWriteMenuDocumentHandler()

framework::OWriteMenuDocumentHandler::~OWriteMenuDocumentHandler ( )

Definition at line 722 of file menudocumenthandler.cxx.

Member Function Documentation

◆ WriteMenu()

void framework::OWriteMenuDocumentHandler::WriteMenu ( const css::uno::Reference< css::container::XIndexAccess > &  rSubMenuContainer)
private

◆ WriteMenuDocument()

void framework::OWriteMenuDocumentHandler::WriteMenuDocument ( )

◆ WriteMenuItem()

void framework::OWriteMenuDocumentHandler::WriteMenuItem ( const OUString &  aCommandURL,
const OUString &  aLabel,
const OUString &  aHelpURL,
sal_Int16  nStyle 
)
private

◆ WriteMenuSeparator()

void framework::OWriteMenuDocumentHandler::WriteMenuSeparator ( )
private

Definition at line 875 of file menudocumenthandler.cxx.

References ELEMENT_NS_MENUSEPARATOR, m_xEmptyList, and m_xWriteDocumentHandler.

Referenced by WriteMenu().

Member Data Documentation

◆ m_bIsMenuBar

bool framework::OWriteMenuDocumentHandler::m_bIsMenuBar
private

Definition at line 216 of file menudocumenthandler.hxx.

Referenced by WriteMenuDocument().

◆ m_xEmptyList

css::uno::Reference< css::xml::sax::XAttributeList > framework::OWriteMenuDocumentHandler::m_xEmptyList
private

◆ m_xMenuBarContainer

css::uno::Reference< css::container::XIndexAccess > framework::OWriteMenuDocumentHandler::m_xMenuBarContainer
private

Definition at line 213 of file menudocumenthandler.hxx.

Referenced by WriteMenuDocument().

◆ m_xWriteDocumentHandler

css::uno::Reference< css::xml::sax::XDocumentHandler > framework::OWriteMenuDocumentHandler::m_xWriteDocumentHandler
private

The documentation for this class was generated from the following files: