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

#include <styleexp.hxx>

Inheritance diagram for XMLStyleExport:
[legend]
Collaboration diagram for XMLStyleExport:
[legend]

Public Member Functions

 XMLStyleExport (SvXMLExport &rExp, SvXMLAutoStylePoolP *pAutoStyleP=nullptr)
 
virtual ~XMLStyleExport () override
 
void exportDefaultStyle (const css::uno::Reference< css::beans::XPropertySet > &xPropSet, const OUString &rXMLFamily, const rtl::Reference< SvXMLExportPropertyMapper > &rPropMapper)
 
void exportStyleFamily (const OUString &rFamily, const OUString &rXMLFamily, const rtl::Reference< SvXMLExportPropertyMapper > &rPropMapper, bool bUsed, XmlStyleFamily nFamily, const OUString *pPrefix=nullptr)
 
void exportStyleFamily (const char *pFamily, const OUString &rXMLFamily, const rtl::Reference< SvXMLExportPropertyMapper > &rPropMapper, bool bUsed, XmlStyleFamily nFamily, const OUString *pPrefix=nullptr)
 
- Public Member Functions inherited from salhelper::SimpleReferenceObject
 SimpleReferenceObject ()
 
void acquire ()
 
void release ()
 

Protected Member Functions

SvXMLExportGetExport ()
 
const SvXMLExportGetExport () const
 
bool exportStyle (const css::uno::Reference< css::style::XStyle > &rStyle, const OUString &rXMLFamily, const rtl::Reference< SvXMLExportPropertyMapper > &rPropMapper, const css::uno::Reference< css::container::XNameAccess > &xStyles, const OUString *pPrefix)
 
virtual void exportStyleAttributes (const css::uno::Reference< css::style::XStyle > &rStyle)
 
virtual void exportStyleContent (const css::uno::Reference< css::style::XStyle > &rStyle)
 
- Protected Member Functions inherited from salhelper::SimpleReferenceObject
virtual ~SimpleReferenceObject () COVERITY_NOEXCEPT_FALSE
 

Private Attributes

SvXMLExportrExport
 
SvXMLAutoStylePoolPpAutoStylePool
 

Additional Inherited Members

- Static Public Member Functions inherited from salhelper::SimpleReferenceObject
static void * operator new (std::size_t nSize)
 
static void * operator new (std::size_t nSize, std::nothrow_t const &rNothrow)
 
static void operator delete (void *pPtr)
 
static void operator delete (void *pPtr, std::nothrow_t const &rNothrow)
 
- Protected Attributes inherited from salhelper::SimpleReferenceObject
oslInterlockedCount m_nCount
 

Detailed Description

Definition at line 53 of file styleexp.hxx.

Constructor & Destructor Documentation

◆ XMLStyleExport()

XMLStyleExport::XMLStyleExport ( SvXMLExport rExp,
SvXMLAutoStylePoolP pAutoStyleP = nullptr 
)

Definition at line 62 of file styleexp.cxx.

◆ ~XMLStyleExport()

XMLStyleExport::~XMLStyleExport ( )
overridevirtual

Definition at line 70 of file styleexp.cxx.

Member Function Documentation

◆ exportDefaultStyle()

void XMLStyleExport::exportDefaultStyle ( const css::uno::Reference< css::beans::XPropertySet > &  xPropSet,
const OUString &  rXMLFamily,
const rtl::Reference< SvXMLExportPropertyMapper > &  rPropMapper 
)

◆ exportStyle()

bool XMLStyleExport::exportStyle ( const css::uno::Reference< css::style::XStyle > &  rStyle,
const OUString &  rXMLFamily,
const rtl::Reference< SvXMLExportPropertyMapper > &  rPropMapper,
const css::uno::Reference< css::container::XNameAccess > &  xStyles,
const OUString *  pPrefix 
)
protected

◆ exportStyleAttributes()

void XMLStyleExport::exportStyleAttributes ( const css::uno::Reference< css::style::XStyle > &  rStyle)
protectedvirtual

Reimplemented in XMLCellStyleExport, and XMLTextParagraphExport.

Definition at line 74 of file styleexp.cxx.

Referenced by exportStyle().

◆ exportStyleContent()

void XMLStyleExport::exportStyleContent ( const css::uno::Reference< css::style::XStyle > &  rStyle)
protectedvirtual

◆ exportStyleFamily() [1/2]

void XMLStyleExport::exportStyleFamily ( const char *  pFamily,
const OUString &  rXMLFamily,
const rtl::Reference< SvXMLExportPropertyMapper > &  rPropMapper,
bool  bUsed,
XmlStyleFamily  nFamily,
const OUString *  pPrefix = nullptr 
)

Definition at line 455 of file styleexp.cxx.

References exportStyleFamily().

◆ exportStyleFamily() [2/2]

void XMLStyleExport::exportStyleFamily ( const OUString &  rFamily,
const OUString &  rXMLFamily,
const rtl::Reference< SvXMLExportPropertyMapper > &  rPropMapper,
bool  bUsed,
XmlStyleFamily  nFamily,
const OUString *  pPrefix = nullptr 
)

◆ GetExport() [1/2]

SvXMLExport & XMLStyleExport::GetExport ( )
inlineprotected

Definition at line 59 of file styleexp.hxx.

Referenced by XMLTextParagraphExport::_exportTextFrame(), XMLTextParagraphExport::_exportTextGraphic(), XMLTextParagraphExport::addTextFrameAttributes(), XMLTextParagraphExport::collectTextAutoStylesOptimized(), XMLTextParagraphExport::exportAnyTextFrame(), XMLTextParagraphExport::exportCharacterData(), XMLTextParagraphExport::ExportContentControl(), XMLTextParagraphExport::exportContour(), exportDefaultStyle(), XMLTextParagraphExport::exportEvents(), XMLTextParagraphExport::exportMeta(), XMLTextParagraphExport::exportNumStyles(), XMLTextParagraphExport::exportParagraph(), XMLTextParagraphExport::exportRuby(), XMLTextParagraphExport::exportSoftPageBreak(), exportStyle(), XMLCellStyleExport::exportStyleAttributes(), XMLTextParagraphExport::exportStyleAttributes(), exportStyleContent(), exportStyleFamily(), XMLTextParagraphExport::exportTextContentEnumeration(), XMLTextParagraphExport::exportTextDeclarations(), XMLTextParagraphExport::exportTextFootnote(), XMLTextParagraphExport::exportTextFootnoteConfiguration(), XMLTextParagraphExport::exportTextFootnoteConfigurationHelper(), XMLTextParagraphExport::exportTextFootnoteHelper(), XMLTextParagraphExport::exportTextLineBreak(), XMLTextParagraphExport::exportTextMark(), XMLTextParagraphExport::exportTextRangeEnumeration(), XMLTextParagraphExport::exportTextRangeSpan(), XMLTextParagraphExport::exportTextStyles(), XMLTextParagraphExport::exportTitleAndDescription(), and XMLTextParagraphExport::XMLTextParagraphExport().

◆ GetExport() [2/2]

const SvXMLExport & XMLStyleExport::GetExport ( ) const
inlineprotected

Definition at line 60 of file styleexp.hxx.

Member Data Documentation

◆ pAutoStylePool

SvXMLAutoStylePoolP* XMLStyleExport::pAutoStylePool
private

Definition at line 56 of file styleexp.hxx.

Referenced by exportStyleFamily().

◆ rExport

SvXMLExport& XMLStyleExport::rExport
private

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