LibreOffice Module xmloff (master)  1
Public Member Functions | Private Member Functions | Static Private Member Functions | Private Attributes | List of all members
XMLSettingsExportHelper Class Reference

#include <SettingsExportHelper.hxx>

Collaboration diagram for XMLSettingsExportHelper:
[legend]

Public Member Functions

 XMLSettingsExportHelper (::xmloff::XMLSettingsExportContext &i_rContext)
 
 ~XMLSettingsExportHelper ()
 
void exportAllSettings (const css::uno::Sequence< css::beans::PropertyValue > &aProps, const OUString &rName) const
 

Private Member Functions

void ManipulateSetting (css::uno::Any &rAny, const OUString &rName) const
 For some settings we may want to change their API representation from their XML settings representation. More...
 
void CallTypeFunction (const css::uno::Any &rAny, const OUString &rName) const
 
void exportBool (const bool bValue, const OUString &rName) const
 
void exportShort (const sal_Int16 nValue, const OUString &rName) const
 
void exportInt (const sal_Int32 nValue, const OUString &rName) const
 
void exportLong (const sal_Int64 nValue, const OUString &rName) const
 
void exportDouble (const double fValue, const OUString &rName) const
 
void exportString (const OUString &sValue, const OUString &rName) const
 
void exportDateTime (const css::util::DateTime &aValue, const OUString &rName) const
 
void exportSequencePropertyValue (const css::uno::Sequence< css::beans::PropertyValue > &aProps, const OUString &rName) const
 
void exportbase64Binary (const css::uno::Sequence< sal_Int8 > &aProps, const OUString &rName) const
 
void exportMapEntry (const css::uno::Any &rAny, const OUString &rName, const bool bNameAccess) const
 
void exportNameAccess (const css::uno::Reference< css::container::XNameAccess > &rNamed, const OUString &rName) const
 
void exportIndexAccess (const css::uno::Reference< css::container::XIndexAccess > &rIndexed, const OUString &rName) const
 
void exportSymbolDescriptors (const css::uno::Sequence< css::formula::SymbolDescriptor > &rProps, const OUString &rName) const
 
void exportForbiddenCharacters (const css::uno::Any &rAny, const OUString &rName) const
 

Static Private Member Functions

static void exportByte ()
 

Private Attributes

::xmloff::XMLSettingsExportContextm_rContext
 
css::uno::Reference< css::util::XStringSubstitution > mxStringSubstitution
 

Detailed Description

Definition at line 44 of file SettingsExportHelper.hxx.

Constructor & Destructor Documentation

XMLSettingsExportHelper::XMLSettingsExportHelper ( ::xmloff::XMLSettingsExportContext i_rContext)

Definition at line 56 of file SettingsExportHelper.cxx.

References m_rContext.

XMLSettingsExportHelper::~XMLSettingsExportHelper ( )

Definition at line 61 of file SettingsExportHelper.cxx.

Member Function Documentation

void XMLSettingsExportHelper::CallTypeFunction ( const css::uno::Any &  rAny,
const OUString &  rName 
) const
private
void XMLSettingsExportHelper::exportAllSettings ( const css::uno::Sequence< css::beans::PropertyValue > &  aProps,
const OUString &  rName 
) const

Definition at line 463 of file SettingsExportHelper.cxx.

References DBG_ASSERT, and exportSequencePropertyValue().

Referenced by SvXMLExport::ImplExportSettings().

void XMLSettingsExportHelper::exportbase64Binary ( const css::uno::Sequence< sal_Int8 > &  aProps,
const OUString &  rName 
) const
private
void XMLSettingsExportHelper::exportBool ( const bool  bValue,
const OUString &  rName 
) const
private
void XMLSettingsExportHelper::exportByte ( )
staticprivate

Definition at line 197 of file SettingsExportHelper.cxx.

Referenced by CallTypeFunction().

void XMLSettingsExportHelper::exportDateTime ( const css::util::DateTime &  aValue,
const OUString &  rName 
) const
private
void XMLSettingsExportHelper::exportDouble ( const double  fValue,
const OUString &  rName 
) const
private
void XMLSettingsExportHelper::exportForbiddenCharacters ( const css::uno::Any &  rAny,
const OUString &  rName 
) const
private
void XMLSettingsExportHelper::exportIndexAccess ( const css::uno::Reference< css::container::XIndexAccess > &  rIndexed,
const OUString &  rName 
) const
private
void XMLSettingsExportHelper::exportInt ( const sal_Int32  nValue,
const OUString &  rName 
) const
private
void XMLSettingsExportHelper::exportLong ( const sal_Int64  nValue,
const OUString &  rName 
) const
private
void XMLSettingsExportHelper::exportMapEntry ( const css::uno::Any &  rAny,
const OUString &  rName,
const bool  bNameAccess 
) const
private
void XMLSettingsExportHelper::exportNameAccess ( const css::uno::Reference< css::container::XNameAccess > &  rNamed,
const OUString &  rName 
) const
private
void XMLSettingsExportHelper::exportSequencePropertyValue ( const css::uno::Sequence< css::beans::PropertyValue > &  aProps,
const OUString &  rName 
) const
private
void XMLSettingsExportHelper::exportShort ( const sal_Int16  nValue,
const OUString &  rName 
) const
private
void XMLSettingsExportHelper::exportString ( const OUString &  sValue,
const OUString &  rName 
) const
private
void XMLSettingsExportHelper::exportSymbolDescriptors ( const css::uno::Sequence< css::formula::SymbolDescriptor > &  rProps,
const OUString &  rName 
) const
private
void XMLSettingsExportHelper::ManipulateSetting ( css::uno::Any &  rAny,
const OUString &  rName 
) const
private

For some settings we may want to change their API representation from their XML settings representation.

This is your chance to do so!

Definition at line 476 of file SettingsExportHelper.cxx.

References aURL, DBG_UNHANDLED_EXCEPTION, xmloff::XMLSettingsExportContext::GetComponentContext(), gsBitmapTableURL(), gsColorTableURL(), gsDashTableURL(), gsGradientTableURL(), gsHatchTableURL(), gsLineEndTableURL(), gsPrinterIndependentLayout(), m_rContext, and mxStringSubstitution.

Referenced by CallTypeFunction().

Member Data Documentation

::xmloff::XMLSettingsExportContext& XMLSettingsExportHelper::m_rContext
private
css::uno::Reference< css::util::XStringSubstitution > XMLSettingsExportHelper::mxStringSubstitution
private

Definition at line 48 of file SettingsExportHelper.hxx.

Referenced by ManipulateSetting().


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