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

#include <menuconfiguration.hxx>

Public Member Functions

 MenuConfiguration (css::uno::Reference< css::uno::XComponentContext > rxContext)
 
 ~MenuConfiguration ()
 
css::uno::Reference< css::container::XIndexAccess > CreateMenuBarConfigurationFromXML (css::uno::Reference< css::io::XInputStream > const &rInputStream)
 
void StoreMenuBarConfigurationToXML (css::uno::Reference< css::container::XIndexAccess > const &rMenuBarConfiguration, css::uno::Reference< css::io::XOutputStream > const &rOutputStream, bool bIsMenuBar)
 

Private Attributes

css::uno::Reference< css::uno::XComponentContext > m_xContext
 

Detailed Description

Definition at line 75 of file menuconfiguration.hxx.

Constructor & Destructor Documentation

◆ MenuConfiguration()

framework::MenuConfiguration::MenuConfiguration ( css::uno::Reference< css::uno::XComponentContext >  rxContext)

Definition at line 45 of file menuconfiguration.cxx.

◆ ~MenuConfiguration()

framework::MenuConfiguration::~MenuConfiguration ( )

Definition at line 50 of file menuconfiguration.cxx.

Member Function Documentation

◆ CreateMenuBarConfigurationFromXML()

Reference< XIndexAccess > framework::MenuConfiguration::CreateMenuBarConfigurationFromXML ( css::uno::Reference< css::io::XInputStream > const &  rInputStream)
Exceptions
css::lang::WrappedTargetException
css::uno::RuntimeException

Definition at line 54 of file menuconfiguration.cxx.

References cppu::getCaughtException(), m_xContext, and rInputStream.

◆ StoreMenuBarConfigurationToXML()

void framework::MenuConfiguration::StoreMenuBarConfigurationToXML ( css::uno::Reference< css::container::XIndexAccess > const &  rMenuBarConfiguration,
css::uno::Reference< css::io::XOutputStream > const &  rOutputStream,
bool  bIsMenuBar 
)
Exceptions
css::lang::WrappedTargetException
css::uno::RuntimeException

Definition at line 103 of file menuconfiguration.cxx.

References cppu::getCaughtException(), m_xContext, and framework::OWriteMenuDocumentHandler::WriteMenuDocument().

Member Data Documentation

◆ m_xContext

css::uno::Reference< css::uno::XComponentContext> framework::MenuConfiguration::m_xContext
private

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