LibreOffice Module xmloff (master) 1
|
#include <styleexp.hxx>
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) |
Public Member Functions inherited from salhelper::SimpleReferenceObject | |
SimpleReferenceObject () | |
void | acquire () |
void | release () |
Protected Member Functions | |
SvXMLExport & | GetExport () |
const SvXMLExport & | GetExport () 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 | |
SvXMLExport & | m_rExport |
SvXMLAutoStylePoolP * | m_pAutoStylePool |
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 |
Definition at line 53 of file styleexp.hxx.
XMLStyleExport::XMLStyleExport | ( | SvXMLExport & | rExp, |
SvXMLAutoStylePoolP * | pAutoStyleP = nullptr |
||
) |
Definition at line 62 of file styleexp.cxx.
|
overridevirtual |
Definition at line 70 of file styleexp.cxx.
void XMLStyleExport::exportDefaultStyle | ( | const css::uno::Reference< css::beans::XPropertySet > & | xPropSet, |
const OUString & | rXMLFamily, | ||
const rtl::Reference< SvXMLExportPropertyMapper > & | rPropMapper | ||
) |
Definition at line 431 of file styleexp.cxx.
References SvXMLExport::AddAttribute(), SvXMLExport::CheckAttrList(), GetExport(), IGN_WS, xmloff::token::XML_DEFAULT_STYLE, xmloff::token::XML_FAMILY, and XML_NAMESPACE_STYLE.
Referenced by XMLTextParagraphExport::exportTextStyles().
|
protected |
Definition at line 155 of file styleexp.cxx.
References SvXMLExport::AddAttribute(), Any, SvXMLExport::CheckAttrList(), XMLEventExport::Export(), exportStyleAttributes(), exportStyleContent(), SvXMLExport::GetEventExport(), GetExport(), gsFollowStyle(), gsIsAutoUpdate(), gsIsPhysical(), gsNumberingStyleName(), gsOutlineLevel(), IGN_WS, OASIS, SvtSaveOptions::ODFSVER_012, SvtSaveOptions::ODFSVER_EXTENDED, sName, xmloff::token::XML_AUTO_UPDATE, xmloff::token::XML_DEFAULT_OUTLINE_LEVEL, xmloff::token::XML_DISPLAY_NAME, xmloff::token::XML_FAMILY, xmloff::token::XML_HIDDEN, xmloff::token::XML_LINKED_STYLE_NAME, xmloff::token::XML_LIST_STYLE_NAME, xmloff::token::XML_NAME, XML_NAMESPACE_LO_EXT, XML_NAMESPACE_STYLE, xmloff::token::XML_NEXT_STYLE_NAME, xmloff::token::XML_PARENT_STYLE_NAME, xmloff::token::XML_STYLE, and xmloff::token::XML_TRUE.
Referenced by exportStyleFamily().
|
protectedvirtual |
Reimplemented in XMLCellStyleExport, and XMLTextParagraphExport.
Definition at line 74 of file styleexp.cxx.
Referenced by exportStyle().
|
protectedvirtual |
Reimplemented in XMLCellStyleExport.
Definition at line 78 of file styleexp.cxx.
References SvXMLExport::AddAttribute(), aSeq, GetExport(), GetParaStyleCondExternal(), xmloff::token::XML_APPLY_STYLE_NAME, xmloff::token::XML_CONDITION, xmloff::token::XML_MAP, and XML_NAMESPACE_STYLE.
Referenced by exportStyle().
void XMLStyleExport::exportStyleFamily | ( | const OUString & | rFamily, |
const OUString & | rXMLFamily, | ||
const rtl::Reference< SvXMLExportPropertyMapper > & | rPropMapper, | ||
bool | bUsed, | ||
XmlStyleFamily | nFamily, | ||
const OUString * | pPrefix = nullptr |
||
) |
Definition at line 456 of file styleexp.cxx.
References Any, aSeq, exportStyle(), GetExport(), gsFollowStyle(), gsIsPhysical(), m_pAutoStylePool, and SvXMLAutoStylePoolP::RegisterName().
Referenced by XMLTextParagraphExport::exportTextStyles().
|
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::ExportListId(), 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(), XMLTextParagraphExport::ShouldSkipListId(), and XMLTextParagraphExport::XMLTextParagraphExport().
|
inlineprotected |
Definition at line 60 of file styleexp.hxx.
|
private |
Definition at line 56 of file styleexp.hxx.
Referenced by exportStyleFamily().
|
private |
Definition at line 55 of file styleexp.hxx.