LibreOffice Module xmloff (master) 1
Classes | Public Member Functions | Protected Member Functions | Protected Attributes | Private Member Functions | Private Attributes | List of all members
SvXMLExport Class Referenceabstract

#include <xmlexp.hxx>

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

Classes

struct  SettingsGroup
 

Public Member Functions

 SvXMLExport (const css::uno::Reference< css::uno::XComponentContext > &xContext, OUString implementationName, sal_Int16 const eDefaultMeasureUnit, const enum ::xmloff::token::XMLTokenEnum eClass, SvXMLExportFlags nExportFlag)
 
 SvXMLExport (const css::uno::Reference< css::uno::XComponentContext > &xContext, OUString implementationName, OUString fileName, sal_Int16 const eDefaultMeasureUnit, const css::uno::Reference< css::xml::sax::XDocumentHandler > &rHandler)
 
 SvXMLExport (const css::uno::Reference< css::uno::XComponentContext > &xContext, OUString implementationName, OUString fileName, const css::uno::Reference< css::xml::sax::XDocumentHandler > &rHandler, const css::uno::Reference< css::frame::XModel > &, FieldUnit const eDefaultFieldUnit, SvXMLExportFlags nExportFlag)
 
virtual ~SvXMLExport () override
 
virtual void collectAutoStyles ()
 
virtual void SAL_CALL setSourceDocument (const css::uno::Reference< css::lang::XComponent > &xDoc) override
 
virtual sal_Bool SAL_CALL filter (const css::uno::Sequence< css::beans::PropertyValue > &aDescriptor) override
 
virtual void SAL_CALL cancel () override
 
virtual void SAL_CALL initialize (const css::uno::Sequence< css::uno::Any > &aArguments) override
 
virtual OUString SAL_CALL getName () override
 
virtual void SAL_CALL setName (const OUString &aName) override
 
virtual OUString SAL_CALL getImplementationName () final override
 
virtual sal_Bool SAL_CALL supportsService (const OUString &ServiceName) final override
 
virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames () final override
 
OUString EnsureNamespace (OUString const &i_rNamespace)
 ensures that the given namespace is in scope at the next started element. More...
 
void CheckAttrList ()
 
void ClearAttrList ()
 
void AddAttribute (sal_uInt16 nPrefix, const OUString &rName, const OUString &rValue)
 
void AddAttribute (sal_uInt16 nPrefix, enum ::xmloff::token::XMLTokenEnum eName, const OUString &rValue)
 
void AddAttribute (sal_uInt16 nPrefix, enum ::xmloff::token::XMLTokenEnum eName, enum ::xmloff::token::XMLTokenEnum eValue)
 
void AddAttribute (const OUString &rQName, const OUString &rValue)
 
void AddAttribute (const OUString &rQName, enum ::xmloff::token::XMLTokenEnum eValue)
 
void AddLanguageTagAttributes (sal_uInt16 nPrefix, sal_uInt16 nPrefixRfc, const css::lang::Locale &rLocale, bool bWriteEmpty)
 Add language tag attributes, deciding which are necessary. More...
 
void AddLanguageTagAttributes (sal_uInt16 nPrefix, sal_uInt16 nPrefixRfc, const LanguageTag &rLanguageTag, bool bWriteEmpty)
 Same as AddLanguageTagAttributes() but with LanguageTag parameter instead of Locale. More...
 
void AddAttributeList (const css::uno::Reference< css::xml::sax::XAttributeList > &xAttrList)
 
comphelper::AttributeListGetAttrList ()
 
css::uno::Reference< css::xml::sax::XAttributeList > GetXAttrList () const
 
const css::uno::Reference< css::xml::sax::XDocumentHandler > & GetDocHandler () const
 
const OUString & GetOrigFileName () const
 
const SvXMLNamespaceMapGetNamespaceMap () const
 
size_t GetInfoID (const OUString sPersonalInfo) const
 
const SvXMLUnitConverterGetMM100UnitConverter () const
 
SvXMLUnitConverterGetMM100UnitConverter ()
 
void addChaffWhenEncryptedStorage ()
 
virtual ErrCode exportDoc (enum ::xmloff::token::XMLTokenEnum eClass=::xmloff::token::XML_TOKEN_INVALID)
 
void collectDataStyles (bool bFromUsedStyles)
 
virtual void addDataStyle (const sal_Int32 nNumberFormat, bool bTimeFormat=false)
 
virtual void exportDataStyles ()
 
virtual void exportAutoDataStyles ()
 
virtual OUString getDataStyleName (const sal_Int32 nNumberFormat, bool bTimeFormat=false) const
 
sal_Int32 dataStyleForceSystemLanguage (sal_Int32 nFormat) const
 
virtual void exportAnnotationMeta (const css::uno::Reference< css::drawing::XShape > &xShape)
 
const css::uno::Reference< css::frame::XModel > & GetModel () const
 
css::uno::Reference< css::util::XNumberFormatsSupplier > & GetNumberFormatsSupplier ()
 
void SetNumberFormatsSupplier (const css::uno::Reference< css::util::XNumberFormatsSupplier > &_xNumberFormatSupplier)
 
rtl::Reference< XMLTextParagraphExport > const & GetTextParagraphExport ()
 
rtl::Reference< XMLShapeExport > const & GetShapeExport ()
 
rtl::Reference< SvXMLAutoStylePoolP > const & GetAutoStylePool ()
 
rtl::Reference< XMLPageExport > const & GetPageExport ()
 
rtl::Reference< SchXMLExportHelper > const & GetChartExport ()
 
rtl::Reference< XMLFontAutoStylePool > const & GetFontAutoStylePool ()
 
ProgressBarHelperGetProgressBarHelper ()
 
rtl::Reference< xmloff::OFormLayerXMLExport > const & GetFormExport ()
 
bool HasFormExport () const
 
const css::uno::Reference< css::beans::XPropertySet > & getExportInfo () const
 
const css::uno::Reference< css::task::XStatusIndicator > & GetStatusIndicator () const
 
XMLEventExportGetEventExport ()
 get Event export, with handlers for script types "None" and "StarBasic" already registered; other handlers may be registered, too. More...
 
XMLImageMapExportGetImageMapExport ()
 get the export for image maps More...
 
OUString AddEmbeddedXGraphic (css::uno::Reference< css::graphic::XGraphic > const &rxGraphic, OUString &rOutMimeType, OUString const &rRequestedName=OUString())
 
bool AddEmbeddedXGraphicAsBase64 (css::uno::Reference< css::graphic::XGraphic > const &rxGraphic)
 
bool GetGraphicMimeTypeFromStream (css::uno::Reference< css::graphic::XGraphic > const &rxGraphic, OUString &rOutMimeType)
 
OUString AddEmbeddedObject (const OUString &rEmbeddedObjectURL)
 
bool AddEmbeddedObjectAsBase64 (const OUString &rEmbeddedObjectURL)
 
OUString EncodeStyleName (const OUString &rName, bool *pEncoded=nullptr) const
 
bool IsSaveLinkedSections () const
 
SvXMLExportFlags getExportFlags () const
 
void ExportEmbeddedOwnObject (css::uno::Reference< css::lang::XComponent > const &rComp)
 
OUString GetRelativeReference (const OUString &rValue)
 
void StartElement (sal_uInt16 nPrefix, enum ::xmloff::token::XMLTokenEnum eName, bool bIgnWSOutside)
 
void StartElement (const OUString &rName, bool bIgnWSOutside)
 
void Characters (const OUString &rChars)
 
void EndElement (sal_uInt16 nPrefix, enum ::xmloff::token::XMLTokenEnum eName, bool bIgnWSInside)
 
void EndElement (const OUString &rName, bool bIgnWSInside)
 
void IgnorableWhitespace ()
 
void SetError (sal_Int32 nId, const css::uno::Sequence< OUString > &rMsgParams, const OUString &rExceptionMessage, const css::uno::Reference< css::xml::sax::XLocator > &rLocator)
 Record an error condition that occurred during export. More...
 
void SetError (sal_Int32 nId, const css::uno::Sequence< OUString > &rMsgParams)
 
virtual void DisposingModel ()
 
::comphelper::UnoInterfaceToUniqueIdentifierMappergetInterfaceToIdentifierMapper ()
 
const css::uno::Reference< css::uno::XComponentContext > & getComponentContext () const
 
SvtModuleOptions::EFactory GetModelType () const
 
bool writeOutlineStyleAsNormalListStyle () const
 
css::uno::Reference< css::embed::XStorage > const & GetTargetStorage () const
 
char const * GetODFVersionAttributeValue () const
 returns value of ODF version attribute More...
 
SvtSaveOptions::ODFSaneDefaultVersion getSaneDefaultVersion () const
 returns the deterministic version for odf export More...
 
void SAL_DLLPRIVATE AddAttributeIdLegacy (sal_uInt16 const nLegacyPrefix, OUString const &rValue)
 add xml:id and legacy namespace id More...
 
void AddAttributeXmlId (css::uno::Reference< css::uno::XInterface > const &i_xIfc)
 add xml:id attribute (for RDF metadata) More...
 
void AddAttributesRDFa (css::uno::Reference< css::text::XTextContent > const &i_xTextContent)
 add RDFa attributes for a metadatable text content More...
 
bool exportTextNumberElement () const
 
bool SetNullDateOnUnitConverter ()
 set null date from model to unit converter, if not already done More...
 
OUString const & GetImageFilterName () const
 Get clamped mimetype for image export (empty if none) More...
 

Protected Member Functions

void setExportFlags (SvXMLExportFlags nExportFlags)
 
SvXMLNamespaceMapGetNamespaceMap_ ()
 
void ResetNamespaceMap ()
 
virtual void ExportMeta_ ()
 Override this method to export the content of <office:meta>. More...
 
virtual void ExportScripts_ ()
 Override this method to export the content of <office:scripts>. More...
 
virtual void ExportFontDecls_ ()
 Override this method to export the font declarations The default implementation will export the contents of the XMLFontAutoStylePool if it has been created. More...
 
virtual void ExportStyles_ (bool bUsed)
 Override this method to export the content of <style:styles>. More...
 
virtual void ExportAutoStyles_ ()=0
 Override this method to export the contents of <style:auto-styles>. More...
 
virtual void ExportMasterStyles_ ()=0
 Override this method to export the contents of <style:master-styles>. More...
 
virtual void ExportContent_ ()=0
 Override this method to export the content of <office:body>. More...
 
OUString const & GetSourceShellID () const
 
OUString const & GetDestinationShellID () const
 
virtual XMLTextParagraphExportCreateTextParagraphExport ()
 
virtual XMLShapeExportCreateShapeExport ()
 
virtual SvXMLAutoStylePoolPCreateAutoStylePool ()
 
SchXMLExportHelperCreateChartExport ()
 
virtual XMLPageExportCreatePageExport ()
 
virtual XMLFontAutoStylePoolCreateFontAutoStylePool ()
 
xmloff::OFormLayerXMLExportCreateFormExport ()
 
virtual void GetViewSettings (css::uno::Sequence< css::beans::PropertyValue > &aProps)
 
virtual void GetConfigurationSettings (css::uno::Sequence< css::beans::PropertyValue > &aProps)
 
virtual sal_Int32 GetDocumentSpecificSettings (::std::vector< SettingsGroup > &_out_rSettings)
 returns the current document settings More...
 
const css::uno::Reference< css::document::XEmbeddedObjectResolver > & GetEmbeddedResolver () const
 
void SetEmbeddedResolver (css::uno::Reference< css::document::XEmbeddedObjectResolver > const &_xEmbeddedResolver)
 
const css::uno::Reference< css::document::XGraphicStorageHandler > & GetGraphicStorageHandler () const
 
void SetGraphicStorageHandler (css::uno::Reference< css::document::XGraphicStorageHandler > const &rxGraphicStorageHandler)
 
void SetDocHandler (const css::uno::Reference< css::xml::sax::XDocumentHandler > &rHandler)
 

Protected Attributes

bool mbSaveLinkedSections
 
bool mbAutoStylesCollected
 

Private Member Functions

SAL_DLLPRIVATE void InitCtor_ ()
 
SAL_DLLPRIVATE void DetermineModelType_ ()
 
SAL_DLLPRIVATE void ImplExportMeta ()
 
SAL_DLLPRIVATE void ImplExportSettings ()
 
SAL_DLLPRIVATE void ImplExportStyles ()
 
SAL_DLLPRIVATE void ImplExportAutoStyles ()
 
SAL_DLLPRIVATE void ImplExportMasterStyles ()
 
SAL_DLLPRIVATE void ImplExportContent ()
 
virtual void SetBodyAttributes ()
 
void GetViewSettingsAndViews (css::uno::Sequence< css::beans::PropertyValue > &rProps)
 

Private Attributes

std::unique_ptr< SvXMLExport_ImplmpImpl
 
css::uno::Reference< css::uno::XComponentContext > m_xContext
 
OUString m_implementationName
 
css::uno::Reference< css::frame::XModel > mxModel
 
css::uno::Reference< css::xml::sax::XDocumentHandler > mxHandler
 
css::uno::Reference< css::xml::sax::XExtendedDocumentHandler > mxExtHandler
 
css::uno::Reference< css::util::XNumberFormatsSupplier > mxNumberFormatsSupplier
 
css::uno::Reference< css::document::XGraphicStorageHandler > mxGraphicStorageHandler
 
css::uno::Reference< css::document::XEmbeddedObjectResolver > mxEmbeddedResolver
 
css::uno::Reference< css::task::XStatusIndicator > mxStatusIndicator
 
css::uno::Reference< css::beans::XPropertySetmxExportInfo
 
css::uno::Reference< css::lang::XEventListener > mxEventListener
 
rtl::Reference< comphelper::AttributeListmxAttrList
 
OUString msOrigFileName
 
OUString msFilterName
 
OUString msImgFilterName
 
std::unique_ptr< SvXMLNamespaceMapmpNamespaceMap
 
std::unique_ptr< SvtSecurityMapPersonalInfompAuthorIDs
 
SvXMLUnitConverter maUnitConv
 
std::unique_ptr< SvXMLNumFmtExportmpNumExport
 
std::unique_ptr< ProgressBarHelpermpProgressBarHelper
 
rtl::Reference< XMLTextParagraphExportmxTextParagraphExport
 
rtl::Reference< XMLShapeExportmxShapeExport
 
rtl::Reference< SvXMLAutoStylePoolPmxAutoStylePool
 
rtl::Reference< SchXMLExportHelpermxChartExport
 
rtl::Reference< XMLPageExportmxPageExport
 
rtl::Reference< XMLFontAutoStylePoolmxFontAutoStylePool
 
rtl::Reference< xmloff::OFormLayerXMLExportmxFormExport
 
std::unique_ptr< XMLEventExportmpEventExport
 
std::unique_ptr< XMLImageMapExportmpImageMapExport
 
std::unique_ptr< XMLErrorsmpXMLErrors
 
enum ::xmloff::token::XMLTokenEnum meClass
 
SvXMLExportFlags mnExportFlags
 
SvXMLErrorFlags mnErrorFlags
 
const OUString msWS
 
SvtModuleOptions::EFactory meModelType
 

Detailed Description

Definition at line 110 of file xmlexp.hxx.

Constructor & Destructor Documentation

◆ SvXMLExport() [1/3]

SvXMLExport::SvXMLExport ( const css::uno::Reference< css::uno::XComponentContext > &  xContext,
OUString  implementationName,
sal_Int16 const  eDefaultMeasureUnit,
const enum ::xmloff::token::XMLTokenEnum  eClass,
SvXMLExportFlags  nExportFlag 
)

◆ SvXMLExport() [2/3]

SvXMLExport::SvXMLExport ( const css::uno::Reference< css::uno::XComponentContext > &  xContext,
OUString  implementationName,
OUString  fileName,
sal_Int16 const  eDefaultMeasureUnit,
const css::uno::Reference< css::xml::sax::XDocumentHandler > &  rHandler 
)

◆ SvXMLExport() [3/3]

SvXMLExport::SvXMLExport ( const css::uno::Reference< css::uno::XComponentContext > &  xContext,
OUString  implementationName,
OUString  fileName,
const css::uno::Reference< css::xml::sax::XDocumentHandler > &  rHandler,
const css::uno::Reference< css::frame::XModel > &  ,
FieldUnit const  eDefaultFieldUnit,
SvXMLExportFlags  nExportFlag 
)

◆ ~SvXMLExport()

SvXMLExport::~SvXMLExport ( )
overridevirtual

Member Function Documentation

◆ AddAttribute() [1/5]

void SvXMLExport::AddAttribute ( const OUString &  rQName,
const OUString &  rValue 
)

Definition at line 927 of file xmlexp.cxx.

References mxAttrList.

◆ AddAttribute() [2/5]

void SvXMLExport::AddAttribute ( const OUString &  rQName,
enum ::xmloff::token::XMLTokenEnum  eValue 
)

Definition at line 935 of file xmlexp.cxx.

References AddAttribute(), and xmloff::token::GetXMLToken().

◆ AddAttribute() [3/5]

void SvXMLExport::AddAttribute ( sal_uInt16  nPrefix,
const OUString &  rName,
const OUString &  rValue 
)

Definition at line 907 of file xmlexp.cxx.

References AddAttribute(), and GetNamespaceMap_().

Referenced by XMLTextParagraphExport::_exportTextFrame(), XMLTextParagraphExport::_exportTextGraphic(), xmloff::OPropertyExport::AddAttribute(), AddAttribute(), AddAttributeIdLegacy(), AddAttributeXmlId(), SchXMLExportHelper_Impl::AddAutoStyleAttribute(), SvXMLNumFmtExport::AddCalendarAttr_Impl(), AddLanguageTagAttributes(), xmloff::RDFaExportHelper::AddRDFa(), SvXMLNumFmtExport::AddStyleAttr_Impl(), XMLTextParagraphExport::addTextFrameAttributes(), EnsureNamespace(), XMLLineNumberingExport::Export(), XMLScriptExportHandler::Export(), XMLStarBasicExportHandler::Export(), XMLShapeExport::export3DLamps(), XMLShapeExport::export3DSceneAttributes(), XMLSectionExport::ExportAlphabeticalIndexStart(), XMLAnimationsExporter::exportAnimations(), SdXMLExport::exportAnnotations(), XMLTextParagraphExport::exportAnyTextFrame(), SchXMLExportHelper_Impl::exportAxis(), XMLSectionExport::ExportBaseIndexSource(), XMLSectionExport::ExportBaseIndexStart(), XMLSectionExport::ExportBibliographyConfiguration(), XMLSectionExport::ExportBoolean(), SchXMLExportHelper_Impl::exportCandleStickSeries(), XMLTableExport::ExportCell(), XMLRedlineExport::ExportChangedRegion(), XMLRedlineExport::ExportChangeInline(), XMLRedlineExport::ExportChangesListElements(), XMLTextParagraphExport::exportCharacterData(), XMLImageMapExport::ExportCircle(), SdXMLExport::ExportContent_(), XMLTextParagraphExport::ExportContentControl(), XMLTextParagraphExport::exportContour(), SchXMLExportHelper_Impl::exportCustomLabel(), SchXMLExportHelper_Impl::exportCustomLabelPosition(), XMLTextFieldExport::ExportDataBaseElement(), SchXMLExportHelper_Impl::exportDataPoints(), SchXMLExportHelper_Impl::exportDateScale(), XMLStyleExport::exportDefaultStyle(), exportDoc(), XMLVersionListExport::exportDoc(), XMLMetaExportComponent::exportDoc(), SchXMLExportHelper_Impl::exportErrorBar(), XMLTextFieldExport::ExportField(), XMLTextFieldExport::ExportFieldHelper(), SchXMLExportHelper_Impl::exportGrid(), XMLSectionExport::ExportIndexHeaderStart(), XMLIndexMarkExport::ExportIndexMark(), XMLSectionExport::ExportIndexTemplate(), XMLSectionExport::ExportIndexTemplateElement(), SdXMLayerExporter::exportLayer(), XMLSectionExport::ExportLevelParagraphStyles(), SvxXMLNumRuleExport::exportLevelStyle(), XMLImageMapExport::ExportMapEntry(), XMLSectionExport::ExportMasterDocHeadingDummies(), XMLTextMasterPageExport::exportMasterPageContent(), SdXMLExport::ExportMasterStyles_(), SvxXMLNumRuleExport::exportNumberingRule(), SvxXMLNumRuleExport::exportOutline(), XMLTextParagraphExport::exportParagraph(), SvXMLNumFmtExport::ExportPart_Impl(), SchXMLExportHelper_Impl::exportPlotArea(), XMLImageMapExport::ExportPolygon(), SdXMLExport::exportPresentationSettings(), SchXMLExportHelper_Impl::exportPropertyMapping(), XMLImageMapExport::ExportRectangle(), SchXMLExportHelper_Impl::exportRegressionCurve(), XMLSectionExport::ExportRegularSectionStart(), XMLTextParagraphExport::exportRuby(), ExportScripts_(), XMLSectionExport::ExportSectionStart(), SchXMLExportHelper_Impl::exportSeries(), XMLShapeExport::exportShape(), XMLPageExport::exportStyle(), XMLStyleExport::exportStyle(), SvXMLAutoStylePoolP::exportStyleAttributes(), SchXMLAutoStylePoolP::exportStyleAttributes(), XMLCellStyleExport::exportStyleAttributes(), XMLTextParagraphExport::exportStyleAttributes(), XMLStyleExport::exportStyleContent(), SchXMLExportHelper_Impl::exportTable(), XMLTableExport::exportTable(), XMLSectionExport::ExportTableAndIllustrationIndexSourceAttributes(), XMLTableExport::ExportTableColumns(), XMLSectionExport::ExportTableOfContentStart(), XMLTableExport::exportTableTemplates(), SvxXMLTabStopExport::exportTabStop(), XMLTextParagraphExport::exportTextDeclarations(), XMLTextParagraphExport::exportTextFootnote(), XMLTextParagraphExport::exportTextFootnoteConfigurationHelper(), XMLTextParagraphExport::exportTextFootnoteHelper(), XMLTextParagraphExport::exportTextLineBreak(), XMLTextParagraphExport::exportTextMark(), XMLTextParagraphExport::exportTextRangeEnumeration(), XMLTextParagraphExport::exportTextRangeSpan(), SdXMLExport::ExportThemeElement(), XMLIndexMarkExport::ExportTOCMarkAttributes(), XMLSectionExport::ExportUserIndexStart(), exportXFormsBinding(), exportXFormsInstance(), XMLFontAutoStylePool::exportXML(), XMLFootnoteSeparatorExport::exportXML(), XMLTextColumnsExport::exportXML(), XMLTextDropCapExport::exportXML(), XMLComplexColorExport::exportXML(), XMLBackgroundImageExport::exportXML(), XMLDashStyleExport::exportXML(), XMLGradientStyleExport::exportXML(), XMLHatchStyleExport::exportXML(), XMLMarkerStyleExport::exportXML(), XMLTransGradientStyleExport::exportXML(), XMLSectionFootnoteConfigExport::exportXML(), SvXMLAutoStylePoolP_Impl::exportXML(), XMLChartExportPropertyMapper::handleElementItem(), XMLPageExportPropertyMapper::handleElementItem(), XMLShapeExport::ImpExport3DShape(), XMLShapeExport::ImpExportAppletShape(), XMLShapeExport::ImpExportCaptionShape(), XMLShapeExport::ImpExportConnectorShape(), XMLShapeExport::ImpExportControlShape(), XMLShapeExport::ImpExportCustomShape(), XMLShapeExport::ImpExportEllipseShape(), ImpExportEnhancedGeometry(), ImpExportEnhancedPath(), ImpExportEquations(), XMLShapeExport::ImpExportEvents(), XMLShapeExport::ImpExportFrameShape(), XMLShapeExport::ImpExportGluePoints(), XMLShapeExport::ImpExportGraphicObjectShape(), ImpExportHandles(), XMLShapeExport::ImpExportLineShape(), XMLShapeExport::ImpExportMeasureShape(), XMLShapeExport::ImpExportMediaShape(), XMLShapeExport::ImpExportNewTrans_FeaturesAndWrite(), XMLShapeExport::ImpExportOLE2Shape(), XMLShapeExport::ImpExportPageShape(), XMLShapeExport::ImpExportPluginShape(), XMLShapeExport::ImpExportPolygonShape(), XMLShapeExport::ImpExportPresentationAttributes(), XMLShapeExport::ImpExportQRCode(), XMLShapeExport::ImpExportRectangleShape(), XMLShapeExport::ImpExportSignatureLine(), XMLShapeExport::ImpExportTableShape(), XMLShapeExport::ImpExportTextBoxShape(), xmloff::OFormsRootExport::implExportBool(), ImplExportContent(), SdXMLExport::ImplExportHeaderFooterDeclAttributes(), SdXMLExport::ImpWriteAutoLayoutInfos(), SdXMLExport::ImpWriteAutoLayoutPlaceholder(), SdXMLExport::ImpWriteHeaderFooterDecls(), SdXMLExport::ImpWritePageMasterInfos(), lcl_AddGrddl(), lcl_export(), lcl_exportDataType(), lcl_exportDataTypeFacets(), lcl_ExportPropertyBool(), lcl_ExportPropertyString(), lcl_exportString(), SvXMLMetaExport::MExport_(), SchXMLExportHelper_Impl::parseDocument(), XMLTextFieldExport::ProcessBibliographyData(), XMLTextFieldExport::ProcessBoolean(), XMLTextFieldExport::ProcessCommandType(), XMLTextFieldExport::ProcessDisplay(), XMLTextFieldExport::ProcessInteger(), XMLTextFieldExport::ProcessNumberingType(), XMLTextFieldExport::ProcessValueAndType(), SdXMLExportDataStyleNumber(), SdXMLExportStyle(), XMLNumberFormatAttributesExportHelper::SetNumberFormatAttributes(), SvXMLMetaExport::startElement(), XMLNumberFormatAttributesExportHelper::WriteAttributes(), SvXMLNumFmtExport::WriteColorElement_Impl(), SvXMLNumFmtExport::WriteEmbeddedEntries_Impl(), SvXMLNumFmtExport::WriteFractionElement_Impl(), SvXMLNumFmtExport::WriteIntegerElement_Impl(), SvXMLNumFmtExport::WriteMapElement_Impl(), SvXMLNumFmtExport::WriteMonthElement_Impl(), SvXMLNumFmtExport::WriteNumberElement_Impl(), SvXMLNumFmtExport::WriteScientificElement_Impl(), SvXMLNumFmtExport::WriteSecondsElement_Impl(), and XMLTextCharStyleNamesElementExport::XMLTextCharStyleNamesElementExport().

◆ AddAttribute() [4/5]

void SvXMLExport::AddAttribute ( sal_uInt16  nPrefix,
enum ::xmloff::token::XMLTokenEnum  eName,
const OUString &  rValue 
)

◆ AddAttribute() [5/5]

void SvXMLExport::AddAttribute ( sal_uInt16  nPrefix,
enum ::xmloff::token::XMLTokenEnum  eName,
enum ::xmloff::token::XMLTokenEnum  eValue 
)

◆ AddAttributeIdLegacy()

void SvXMLExport::AddAttributeIdLegacy ( sal_uInt16 const  nLegacyPrefix,
OUString const &  rValue 
)

◆ AddAttributeList()

void SvXMLExport::AddAttributeList ( const css::uno::Reference< css::xml::sax::XAttributeList > &  xAttrList)

Definition at line 1000 of file xmlexp.cxx.

References mxAttrList.

Referenced by XMLShapeExport::exportShape(), and XMLShapeExport::ImpExportOLE2Shape().

◆ AddAttributesRDFa()

void SvXMLExport::AddAttributesRDFa ( css::uno::Reference< css::text::XTextContent > const &  i_xTextContent)

◆ AddAttributeXmlId()

void SvXMLExport::AddAttributeXmlId ( css::uno::Reference< css::uno::XInterface > const &  i_xIfc)

◆ addChaffWhenEncryptedStorage()

void SvXMLExport::addChaffWhenEncryptedStorage ( )

◆ addDataStyle()

void SvXMLExport::addDataStyle ( const sal_Int32  nNumberFormat,
bool  bTimeFormat = false 
)
virtual

◆ AddEmbeddedObject()

OUString SvXMLExport::AddEmbeddedObject ( const OUString &  rEmbeddedObjectURL)

◆ AddEmbeddedObjectAsBase64()

bool SvXMLExport::AddEmbeddedObjectAsBase64 ( const OUString &  rEmbeddedObjectURL)

◆ AddEmbeddedXGraphic()

OUString SvXMLExport::AddEmbeddedXGraphic ( css::uno::Reference< css::graphic::XGraphic > const &  rxGraphic,
OUString &  rOutMimeType,
OUString const &  rRequestedName = OUString() 
)

◆ AddEmbeddedXGraphicAsBase64()

bool SvXMLExport::AddEmbeddedXGraphicAsBase64 ( css::uno::Reference< css::graphic::XGraphic > const &  rxGraphic)

◆ AddLanguageTagAttributes() [1/2]

void SvXMLExport::AddLanguageTagAttributes ( sal_uInt16  nPrefix,
sal_uInt16  nPrefixRfc,
const css::lang::Locale &  rLocale,
bool  bWriteEmpty 
)

Add language tag attributes, deciding which are necessary.

Parameters
nPrefixNamespace prefix for *:language, *:script and *:country
nPrefixRfcNamespace prefix for *:rfc-language-tag
bWriteEmptyWhether to write empty *:language and *:country attribute values in case of an empty locale (denoting system).

Definition at line 941 of file xmlexp.cxx.

References AddAttribute(), AddLanguageTagAttributes(), xmloff::token::XML_COUNTRY, and xmloff::token::XML_LANGUAGE.

Referenced by SvXMLNumFmtExport::AddLanguageAttr_Impl(), AddLanguageTagAttributes(), XMLSectionExport::ExportAlphabeticalIndexStart(), and XMLSectionExport::ExportBibliographyConfiguration().

◆ AddLanguageTagAttributes() [2/2]

void SvXMLExport::AddLanguageTagAttributes ( sal_uInt16  nPrefix,
sal_uInt16  nPrefixRfc,
const LanguageTag rLanguageTag,
bool  bWriteEmpty 
)

◆ cancel()

void SAL_CALL SvXMLExport::cancel ( )
overridevirtual

Definition at line 833 of file xmlexp.cxx.

References SetError(), XMLERROR_CANCEL, and XMLERROR_FLAG_SEVERE.

◆ Characters()

void SvXMLExport::Characters ( const OUString &  rChars)

◆ CheckAttrList()

void SvXMLExport::CheckAttrList ( )

◆ ClearAttrList()

void SvXMLExport::ClearAttrList ( )

◆ collectAutoStyles()

void SvXMLExport::collectAutoStyles ( )
virtual

◆ collectDataStyles()

void SvXMLExport::collectDataStyles ( bool  bFromUsedStyles)

Definition at line 1768 of file xmlexp.cxx.

References addDataStyle(), GetModel(), i, and nCount.

◆ CreateAutoStylePool()

SvXMLAutoStylePoolP * SvXMLExport::CreateAutoStylePool ( )
protectedvirtual

Definition at line 1676 of file xmlexp.cxx.

Referenced by GetAutoStylePool().

◆ CreateChartExport()

SchXMLExportHelper * SvXMLExport::CreateChartExport ( )
protected

Definition at line 1690 of file xmlexp.cxx.

References GetAutoStylePool().

Referenced by GetChartExport().

◆ CreateFontAutoStylePool()

XMLFontAutoStylePool * SvXMLExport::CreateFontAutoStylePool ( )
protectedvirtual

Reimplemented in SdXMLExport.

Definition at line 1702 of file xmlexp.cxx.

Referenced by GetFontAutoStylePool().

◆ CreateFormExport()

xmloff::OFormLayerXMLExport * SvXMLExport::CreateFormExport ( )
protected

Definition at line 1707 of file xmlexp.cxx.

Referenced by GetFormExport().

◆ CreatePageExport()

XMLPageExport * SvXMLExport::CreatePageExport ( )
protectedvirtual

Definition at line 1685 of file xmlexp.cxx.

Referenced by GetPageExport().

◆ CreateShapeExport()

XMLShapeExport * SvXMLExport::CreateShapeExport ( )
protectedvirtual

Definition at line 1671 of file xmlexp.cxx.

Referenced by GetShapeExport().

◆ CreateTextParagraphExport()

XMLTextParagraphExport * SvXMLExport::CreateTextParagraphExport ( )
protectedvirtual

Definition at line 1666 of file xmlexp.cxx.

References GetAutoStylePool().

Referenced by GetTextParagraphExport().

◆ dataStyleForceSystemLanguage()

sal_Int32 SvXMLExport::dataStyleForceSystemLanguage ( sal_Int32  nFormat) const

◆ DetermineModelType_()

void SvXMLExport::DetermineModelType_ ( )
private

◆ DisposingModel()

void SvXMLExport::DisposingModel ( )
virtual

Definition at line 2239 of file xmlexp.cxx.

References meModelType, mxEventListener, mxModel, and SvtModuleOptions::UNKNOWN_FACTORY.

◆ EncodeStyleName()

OUString SvXMLExport::EncodeStyleName ( const OUString &  rName,
bool *  pEncoded = nullptr 
) const

◆ EndElement() [1/2]

void SvXMLExport::EndElement ( const OUString &  rName,
bool  bIgnWSInside 
)

◆ EndElement() [2/2]

void SvXMLExport::EndElement ( sal_uInt16  nPrefix,
enum ::xmloff::token::XMLTokenEnum  eName,
bool  bIgnWSInside 
)

◆ EnsureNamespace()

OUString SvXMLExport::EnsureNamespace ( OUString const &  i_rNamespace)

ensures that the given namespace is in scope at the next started element.

If the namespace is not yet declared, the necessary attribute will be added, as well.

Parameters
i_rNamespacethe namespace to be declared
Returns
the actual prefix that the namespace is associated with

Definition at line 867 of file xmlexp.cxx.

References AddAttribute(), SvXMLNamespaceMap::GetKeyByPrefix(), GetNamespaceMap_(), SvXMLNamespaceMap::GetPrefixByKey(), xmloff::token::GetXMLToken(), mpImpl, mpNamespaceMap, n, sPrefix, u, and XML_NAMESPACE_UNKNOWN.

Referenced by xmloff::makeCURIE().

◆ exportAnnotationMeta()

void SvXMLExport::exportAnnotationMeta ( const css::uno::Reference< css::drawing::XShape > &  xShape)
virtual

Definition at line 1828 of file xmlexp.cxx.

Referenced by XMLShapeExport::ImpExportCaptionShape().

◆ exportAutoDataStyles()

void SvXMLExport::exportAutoDataStyles ( )
virtual

Reimplemented in SdXMLExport.

Definition at line 1811 of file xmlexp.cxx.

References mpNumExport, and mxFormExport.

Referenced by SchXMLExportHelper_Impl::exportAutoStyles().

◆ ExportAutoStyles_()

virtual void SvXMLExport::ExportAutoStyles_ ( )
protectedpure virtual

Override this method to export the contents of <style:auto-styles>.

Implemented in XMLMetaExportComponent, SchXMLExport, XMLVersionListExport, SdXMLExport, and XMLAutoTextEventExport.

Referenced by ImplExportAutoStyles().

◆ ExportContent_()

virtual void SvXMLExport::ExportContent_ ( )
protectedpure virtual

Override this method to export the content of <office:body>.

Implemented in XMLMetaExportComponent, SchXMLExport, XMLVersionListExport, SdXMLExport, and XMLAutoTextEventExport.

Referenced by ImplExportContent().

◆ exportDataStyles()

void SvXMLExport::exportDataStyles ( )
virtual

Reimplemented in SdXMLExport.

Definition at line 1805 of file xmlexp.cxx.

References mpNumExport.

◆ exportDoc()

ErrCode SvXMLExport::exportDoc ( enum ::xmloff::token::XMLTokenEnum  eClass = ::xmloff::token::XML_TOKEN_INVALID)
virtual

◆ ExportEmbeddedOwnObject()

void SvXMLExport::ExportEmbeddedOwnObject ( css::uno::Reference< css::lang::XComponent > const &  rComp)

Definition at line 2016 of file xmlexp.cxx.

References Any, aServiceMap, m_xContext, mxHandler, and SAL_WARN_IF.

Referenced by XMLShapeExport::ImpExportOLE2Shape().

◆ ExportFontDecls_()

void SvXMLExport::ExportFontDecls_ ( )
protectedvirtual

Override this method to export the font declarations The default implementation will export the contents of the XMLFontAutoStylePool if it has been created.

Reimplemented in SdXMLExport, and XMLAutoTextEventExport.

Definition at line 1476 of file xmlexp.cxx.

References mxFontAutoStylePool.

Referenced by exportDoc(), and SdXMLExport::ExportFontDecls_().

◆ ExportMasterStyles_()

virtual void SvXMLExport::ExportMasterStyles_ ( )
protectedpure virtual

Override this method to export the contents of <style:master-styles>.

Implemented in XMLMetaExportComponent, SchXMLExport, XMLVersionListExport, SdXMLExport, and XMLAutoTextEventExport.

Referenced by ImplExportMasterStyles().

◆ ExportMeta_()

void SvXMLExport::ExportMeta_ ( )
protectedvirtual

Override this method to export the content of <office:meta>.

There is a default implementation.

Reimplemented in XMLMetaExportComponent, SdXMLExport, and XMLAutoTextEventExport.

Definition at line 1416 of file xmlexp.cxx.

References Characters(), utl::DocInfoHelper::GetGeneratorString(), mxModel, xmloff::token::XML_GENERATOR, xmloff::token::XML_META, XML_NAMESPACE_META, and XML_NAMESPACE_OFFICE.

Referenced by XMLMetaExportComponent::ExportMeta_(), SdXMLExport::ExportMeta_(), and ImplExportMeta().

◆ ExportScripts_()

void SvXMLExport::ExportScripts_ ( )
protectedvirtual

Override this method to export the content of <office:scripts>.

There is a default implementation.

Reimplemented in XMLAutoTextEventExport.

Definition at line 1443 of file xmlexp.cxx.

References AddAttribute(), EMBEDDED, XMLEventExport::Export(), GetEventExport(), GetModel(), GetNamespaceMap(), m_xContext, mnExportFlags, mxHandler, mxModel, xmloff::token::XML_LANGUAGE, XML_NAMESPACE_OFFICE, XML_NAMESPACE_OOO, XML_NAMESPACE_SCRIPT, xmloff::token::XML_SCRIPT, and xmloff::token::XML_SCRIPTS.

Referenced by exportDoc().

◆ ExportStyles_()

void SvXMLExport::ExportStyles_ ( bool  bUsed)
protectedvirtual

Override this method to export the content of <style:styles>.

If bUsed is set, used styles should be exported only. Overriding Methods must call this method !

Reimplemented in SdXMLExport, and XMLAutoTextEventExport.

Definition at line 1482 of file xmlexp.cxx.

References XMLDashStyleExport::exportXML(), XMLGradientStyleExport::exportXML(), XMLHatchStyleExport::exportXML(), XMLMarkerStyleExport::exportXML(), XMLTransGradientStyleExport::exportXML(), XMLImageStyle::exportXML(), and GetModel().

Referenced by SdXMLExport::ExportStyles_(), and ImplExportStyles().

◆ exportTextNumberElement()

bool SvXMLExport::exportTextNumberElement ( ) const

Definition at line 2364 of file xmlexp.cxx.

References mpImpl.

◆ filter()

sal_Bool SAL_CALL SvXMLExport::filter ( const css::uno::Sequence< css::beans::PropertyValue > &  aDescriptor)
overridevirtual

◆ GetAttrList()

comphelper::AttributeList & SvXMLExport::GetAttrList ( )
inline

◆ GetAutoStylePool()

rtl::Reference< SvXMLAutoStylePoolP > const & SvXMLExport::GetAutoStylePool ( )
inline

◆ GetChartExport()

rtl::Reference< SchXMLExportHelper > const & SvXMLExport::GetChartExport ( )
inline

Definition at line 581 of file xmlexp.hxx.

References CreateChartExport(), and mxChartExport.

Referenced by XMLShapeExport::ImpCalcShapeType().

◆ getComponentContext()

const css::uno::Reference< css::uno::XComponentContext > & SvXMLExport::getComponentContext ( ) const
inline

◆ GetConfigurationSettings()

void SvXMLExport::GetConfigurationSettings ( css::uno::Sequence< css::beans::PropertyValue > &  aProps)
protectedvirtual

Reimplemented in SdXMLExport.

Definition at line 1759 of file xmlexp.cxx.

Referenced by ImplExportSettings().

◆ getDataStyleName()

OUString SvXMLExport::getDataStyleName ( const sal_Int32  nNumberFormat,
bool  bTimeFormat = false 
) const
virtual

◆ GetDestinationShellID()

OUString const & SvXMLExport::GetDestinationShellID ( ) const
protected

Definition at line 1411 of file xmlexp.cxx.

References mpImpl.

Referenced by SchXMLExport::exportDoc().

◆ GetDocHandler()

const css::uno::Reference< css::xml::sax::XDocumentHandler > & SvXMLExport::GetDocHandler ( ) const
inline

◆ GetDocumentSpecificSettings()

sal_Int32 SvXMLExport::GetDocumentSpecificSettings ( ::std::vector< SettingsGroup > &  _out_rSettings)
protectedvirtual

returns the current document settings

The default implementation will obtain the view settings by calling GetViewSettingsAndViews, and the configuration settings by calling GetConfigurationSettings, and return them together with the proper XML token.

Returns
the accumulated count of all settings in all groups

Definition at line 1763 of file xmlexp.cxx.

Referenced by ImplExportSettings().

◆ GetEmbeddedResolver()

const css::uno::Reference< css::document::XEmbeddedObjectResolver > & SvXMLExport::GetEmbeddedResolver ( ) const
inlineprotected

Definition at line 252 of file xmlexp.hxx.

◆ GetEventExport()

XMLEventExport & SvXMLExport::GetEventExport ( )

◆ getExportFlags()

SvXMLExportFlags SvXMLExport::getExportFlags ( ) const
inline

◆ getExportInfo()

const css::uno::Reference< css::beans::XPropertySet > & SvXMLExport::getExportInfo ( ) const
inline

◆ GetFontAutoStylePool()

rtl::Reference< XMLFontAutoStylePool > const & SvXMLExport::GetFontAutoStylePool ( )
inline

◆ GetFormExport()

rtl::Reference< xmloff::OFormLayerXMLExport > const & SvXMLExport::GetFormExport ( )
inline

◆ GetGraphicMimeTypeFromStream()

bool SvXMLExport::GetGraphicMimeTypeFromStream ( css::uno::Reference< css::graphic::XGraphic > const &  rxGraphic,
OUString &  rOutMimeType 
)

◆ GetGraphicStorageHandler()

const css::uno::Reference< css::document::XGraphicStorageHandler > & SvXMLExport::GetGraphicStorageHandler ( ) const
inlineprotected

Definition at line 255 of file xmlexp.hxx.

◆ GetImageFilterName()

OUString const & SvXMLExport::GetImageFilterName ( ) const

Get clamped mimetype for image export (empty if none)

Definition at line 2378 of file xmlexp.cxx.

References msImgFilterName.

◆ GetImageMapExport()

XMLImageMapExport & SvXMLExport::GetImageMapExport ( )

◆ getImplementationName()

OUString SAL_CALL SvXMLExport::getImplementationName ( )
finaloverridevirtual

Definition at line 851 of file xmlexp.cxx.

References m_implementationName.

◆ GetInfoID()

size_t SvXMLExport::GetInfoID ( const OUString  sPersonalInfo) const
inline

◆ getInterfaceToIdentifierMapper()

comphelper::UnoInterfaceToUniqueIdentifierMapper & SvXMLExport::getInterfaceToIdentifierMapper ( )

◆ GetMM100UnitConverter() [1/2]

SvXMLUnitConverter & SvXMLExport::GetMM100UnitConverter ( )
inline

Definition at line 393 of file xmlexp.hxx.

◆ GetMM100UnitConverter() [2/2]

const SvXMLUnitConverter & SvXMLExport::GetMM100UnitConverter ( ) const
inline

Definition at line 391 of file xmlexp.hxx.

Referenced by XMLTextParagraphExport::addTextFrameAttributes(), EncodeStyleName(), XMLLineNumberingExport::Export(), XMLShapeExport::export3DSceneAttributes(), SdXMLExport::exportAnnotations(), XMLImageMapExport::ExportCircle(), XMLTextParagraphExport::exportContour(), XMLSectionExport::ExportIndexTemplateElement(), SvxXMLNumRuleExport::exportLevelStyle(), XMLImageMapExport::ExportPolygon(), XMLImageMapExport::ExportRectangle(), SvxXMLTabStopExport::exportTabStop(), XMLTextParagraphExport::exportTextFootnoteConfigurationHelper(), XMLFontAutoStylePool::exportXML(), XMLFootnoteSeparatorExport::exportXML(), XMLTextColumnsExport::exportXML(), XMLTextDropCapExport::exportXML(), XMLDashStyleExport::exportXML(), XMLHatchStyleExport::exportXML(), XMLSectionFootnoteConfigExport::exportXML(), SvXMLExportPropertyMapper::exportXML(), XMLShapeExport::ImpExport3DShape(), XMLShapeExport::ImpExportCaptionShape(), XMLShapeExport::ImpExportConnectorShape(), ImpExportEnhancedGeometry(), XMLShapeExport::ImpExportGluePoints(), XMLShapeExport::ImpExportLineShape(), XMLShapeExport::ImpExportMeasureShape(), XMLShapeExport::ImpExportNewTrans_FeaturesAndWrite(), XMLShapeExport::ImpExportRectangleShape(), XMLShapeExport::ImpExportTextBoxShape(), SdXMLExport::ImpWriteAutoLayoutPlaceholder(), SdXMLExport::ImpWritePageMasterInfos(), SchXMLExportHelper_Impl::parseDocument(), XMLTextFieldExport::ProcessNumberingType(), SetNullDateOnUnitConverter(), and XMLNumberFormatAttributesExportHelper::WriteAttributes().

◆ GetModel()

const css::uno::Reference< css::frame::XModel > & SvXMLExport::GetModel ( ) const
inline

Definition at line 411 of file xmlexp.hxx.

References mxModel.

Referenced by xmloff::OFormsRootExport::addModelAttributes(), SchXMLExport::collectAutoStyles(), SdXMLExport::collectAutoStyles(), collectDataStyles(), SdXMLExport::CreateFontAutoStylePool(), XMLShapeExport::CreateShapePropMapper(), xmloff::OFormLayerXMLExport_Impl::documentContainsXForms(), XMLLineNumberingExport::Export(), SchXMLExport::ExportAutoStyles_(), SchXMLExportHelper_Impl::exportAxes(), XMLSectionExport::ExportBibliographyConfiguration(), SchXMLExportHelper_Impl::exportCandleStickSeries(), XMLRedlineExport::ExportChangesListAutoStyles(), XMLRedlineExport::ExportChangesListElements(), SchXMLExport::ExportContent_(), SchXMLExportHelper_Impl::exportDataPoints(), SchXMLExport::exportDoc(), XMLMetaExportComponent::exportDoc(), XMLShapeExport::ExportGraphicDefaults(), SdXMLayerExporter::exportLayer(), XMLSectionExport::ExportMasterDocHeadingDummies(), SdXMLExport::ExportMasterStyles_(), SdXMLExport::ExportMeta_(), SchXMLExportHelper_Impl::exportPlotArea(), SdXMLExport::exportPresentationSettings(), SchXMLExportHelper_Impl::exportPropertyMapping(), ExportScripts_(), SchXMLExportHelper_Impl::exportSeries(), ExportStyles_(), SchXMLExportHelper_Impl::exportTable(), XMLTableExport::exportTableTemplates(), exportXForms(), SdXMLExport::GetConfigurationSettings(), xmloff::getRelativeReference(), XMLShapeExport::GetShapeTableExport(), SdXMLExport::GetViewSettings(), GetViewSettingsAndViews(), SdXMLExport::ImpPrepAutoLayoutInfos(), SdXMLExport::ImpPrepMasterPageInfos(), SdXMLExport::ImpPrepPageMasterInfos(), xmloff::lcl_StoreMediaAndGetURL(), xmloff::RDFaExportHelper::RDFaExportHelper(), SetNullDateOnUnitConverter(), SdXMLExport::setSourceDocument(), XMLTableExport::XMLTableExport(), and XMLTextListAutoStylePool::XMLTextListAutoStylePool().

◆ GetModelType()

SvtModuleOptions::EFactory SvXMLExport::GetModelType ( ) const
inline

Definition at line 520 of file xmlexp.hxx.

◆ getName()

OUString SAL_CALL SvXMLExport::getName ( )
overridevirtual

Definition at line 840 of file xmlexp.cxx.

References msFilterName.

◆ GetNamespaceMap()

const SvXMLNamespaceMap & SvXMLExport::GetNamespaceMap ( ) const
inline

◆ GetNamespaceMap_()

SvXMLNamespaceMap & SvXMLExport::GetNamespaceMap_ ( )
inlineprotected

◆ GetNumberFormatsSupplier()

css::uno::Reference< css::util::XNumberFormatsSupplier > & SvXMLExport::GetNumberFormatsSupplier ( )
inline

◆ GetODFVersionAttributeValue()

auto SvXMLExport::GetODFVersionAttributeValue ( ) const

◆ GetOrigFileName()

const OUString & SvXMLExport::GetOrigFileName ( ) const
inline

Definition at line 382 of file xmlexp.hxx.

◆ GetPageExport()

rtl::Reference< XMLPageExport > const & SvXMLExport::GetPageExport ( )
inline

Definition at line 589 of file xmlexp.hxx.

References CreatePageExport(), and mxPageExport.

◆ GetProgressBarHelper()

ProgressBarHelper * SvXMLExport::GetProgressBarHelper ( )

◆ GetRelativeReference()

OUString SvXMLExport::GetRelativeReference ( const OUString &  rValue)

◆ getSaneDefaultVersion()

SvtSaveOptions::ODFSaneDefaultVersion SvXMLExport::getSaneDefaultVersion ( ) const

returns the deterministic version for odf export

Definition at line 2264 of file xmlexp.cxx.

References GetODFSaneDefaultVersion(), and mpImpl.

Referenced by AddAttributeIdLegacy(), AddAttributesRDFa(), AddAttributeXmlId(), AddLanguageTagAttributes(), XMLPageMasterExportPropMapper::ContextFilter(), SdXMLExport::exportAnnotations(), SchXMLExportHelper_Impl::exportAxis(), XMLSectionExport::ExportBaseIndexSource(), SchXMLExportHelper_Impl::exportCoordinateRegion(), SchXMLExportHelper_Impl::exportDataPoints(), SchXMLExportHelper_Impl::exportErrorBar(), XMLTextFieldExport::ExportFieldHelper(), XMLSectionExport::ExportIndexTemplateElement(), XMLTextParagraphExport::ExportListId(), SvxXMLNumRuleExport::exportOutline(), SvXMLNumFmtExport::ExportPart_Impl(), SchXMLTools::exportRangeToSomewhere(), SchXMLExportHelper_Impl::exportRegressionCurve(), SchXMLExportHelper_Impl::exportSeries(), XMLShapeExport::exportShape(), SdXMLExport::ExportStyles_(), XMLTableExport::exportTableTemplates(), SdXMLExport::ExportThemeElement(), XMLGradientStyleExport::exportXML(), XMLTransGradientStyleExport::exportXML(), SvXMLExportPropertyMapper::exportXML(), SvXMLExportPropertyMapper::Filter_(), GetODFVersionAttributeValue(), XMLChartPropHdlFactory::GetPropertyHandler(), XMLSdPropHdlFactory::GetPropertyHandler(), XMLChartExportPropertyMapper::handleSpecialItem(), XMLTextExportPropertySetMapper::handleSpecialItem(), ImpExportEnhancedGeometry(), ImpExportEnhancedPath(), XMLShapeExport::ImpExportTableShape(), XMLShapeExport::ImpExportText(), InitCtor_(), lcl_AddGrddl(), SchXMLExportHelper_Impl::parseDocument(), SchXMLExport::SchXMLExport(), SdXMLExport::setSourceDocument(), SvXMLNumFmtExport::WriteFractionElement_Impl(), SvXMLNumFmtExport::WriteIntegerElement_Impl(), SvXMLNumFmtExport::WriteNumberElement_Impl(), SvXMLNumFmtExport::WriteRepeatedElement_Impl(), and SvXMLNumFmtExport::WriteScientificElement_Impl().

◆ GetShapeExport()

rtl::Reference< XMLShapeExport > const & SvXMLExport::GetShapeExport ( )
inline

◆ GetSourceShellID()

OUString const & SvXMLExport::GetSourceShellID ( ) const
protected

Definition at line 1406 of file xmlexp.cxx.

References mpImpl.

Referenced by SchXMLExport::exportDoc().

◆ GetStatusIndicator()

const css::uno::Reference< css::task::XStatusIndicator > & SvXMLExport::GetStatusIndicator ( ) const
inline

Definition at line 448 of file xmlexp.hxx.

References mxStatusIndicator.

Referenced by SdXMLExport::ExportContent_().

◆ getSupportedServiceNames()

uno::Sequence< OUString > SAL_CALL SvXMLExport::getSupportedServiceNames ( )
finaloverridevirtual

Definition at line 861 of file xmlexp.cxx.

◆ GetTargetStorage()

uno::Reference< embed::XStorage > const & SvXMLExport::GetTargetStorage ( ) const

◆ GetTextParagraphExport()

rtl::Reference< XMLTextParagraphExport > const & SvXMLExport::GetTextParagraphExport ( )
inline

◆ GetViewSettings()

void SvXMLExport::GetViewSettings ( css::uno::Sequence< css::beans::PropertyValue > &  aProps)
protectedvirtual

Reimplemented in SdXMLExport.

Definition at line 1755 of file xmlexp.cxx.

Referenced by GetViewSettingsAndViews().

◆ GetViewSettingsAndViews()

void SvXMLExport::GetViewSettingsAndViews ( css::uno::Sequence< css::beans::PropertyValue > &  rProps)
private

◆ GetXAttrList()

css::uno::Reference< css::xml::sax::XAttributeList > SvXMLExport::GetXAttrList ( ) const
inline

Definition at line 375 of file xmlexp.hxx.

Referenced by xmloff::OPropertyExport::AddAttribute(), and StartElement().

◆ HasFormExport()

bool SvXMLExport::HasFormExport ( ) const
inline

Definition at line 613 of file xmlexp.hxx.

References mxFormExport.

Referenced by SdXMLExport::exportAutoDataStyles().

◆ IgnorableWhitespace()

void SvXMLExport::IgnorableWhitespace ( )

◆ ImplExportAutoStyles()

void SvXMLExport::ImplExportAutoStyles ( )
private

◆ ImplExportContent()

void SvXMLExport::ImplExportContent ( )
private

◆ ImplExportMasterStyles()

void SvXMLExport::ImplExportMasterStyles ( )
private

Definition at line 1124 of file xmlexp.cxx.

References ExportMasterStyles_(), xmloff::token::XML_MASTER_STYLES, and XML_NAMESPACE_OFFICE.

Referenced by exportDoc().

◆ ImplExportMeta()

void SvXMLExport::ImplExportMeta ( )
private

Definition at line 1018 of file xmlexp.cxx.

References CheckAttrList(), and ExportMeta_().

Referenced by exportDoc().

◆ ImplExportSettings()

void SvXMLExport::ImplExportSettings ( )
private

◆ ImplExportStyles()

void SvXMLExport::ImplExportStyles ( )
private

◆ InitCtor_()

void SvXMLExport::InitCtor_ ( )
private

Definition at line 291 of file xmlexp.cxx.

References AUTOSTYLES, CONTENT, DetermineModelType_(), FONTDECLS, getExportFlags(), getSaneDefaultVersion(), xmloff::token::GetXMLToken(), MASTERSTYLES, META, mpNamespaceMap, mxEventListener, mxModel, OASIS, SvtSaveOptions::ODFSVER_EXTENDED, SCRIPTS, SETTINGS, STYLES, xmloff::token::XML_N_CALC_EXT, xmloff::token::XML_N_CHART, xmloff::token::XML_N_CONFIG, xmloff::token::XML_N_CSS3TEXT, xmloff::token::XML_N_DC, xmloff::token::XML_N_DOM, xmloff::token::XML_N_DR3D, xmloff::token::XML_N_DRAW, xmloff::token::XML_N_DRAW_EXT, xmloff::token::XML_N_FIELD, xmloff::token::XML_N_FORM, xmloff::token::XML_N_FORMX, xmloff::token::XML_N_GRDDL, xmloff::token::XML_N_LO_EXT, xmloff::token::XML_N_MATH, xmloff::token::XML_N_META, xmloff::token::XML_N_NUMBER, xmloff::token::XML_N_OF, xmloff::token::XML_N_OFFICE, xmloff::token::XML_N_OOO, xmloff::token::XML_N_OOOC, xmloff::token::XML_N_OOOW, xmloff::token::XML_N_RPT, xmloff::token::XML_N_SCRIPT, xmloff::token::XML_N_STYLE, xmloff::token::XML_N_TABLE, xmloff::token::XML_N_TABLE_EXT, xmloff::token::XML_N_TEXT, xmloff::token::XML_N_XHTML, xmloff::token::XML_N_XLINK, xmloff::token::XML_N_XSD, xmloff::token::XML_N_XSI, XML_NAMESPACE_CALC_EXT, XML_NAMESPACE_CHART, XML_NAMESPACE_CONFIG, XML_NAMESPACE_CSS3TEXT, XML_NAMESPACE_DC, XML_NAMESPACE_DOM, XML_NAMESPACE_DR3D, XML_NAMESPACE_DRAW, XML_NAMESPACE_DRAW_EXT, XML_NAMESPACE_FIELD, XML_NAMESPACE_FO, XML_NAMESPACE_FORM, XML_NAMESPACE_FORMX, XML_NAMESPACE_GRDDL, XML_NAMESPACE_LO_EXT, XML_NAMESPACE_MATH, XML_NAMESPACE_META, XML_NAMESPACE_NUMBER, XML_NAMESPACE_OF, XML_NAMESPACE_OFFICE, XML_NAMESPACE_OOO, XML_NAMESPACE_OOOC, XML_NAMESPACE_OOOW, XML_NAMESPACE_REPORT, XML_NAMESPACE_SCRIPT, XML_NAMESPACE_STYLE, XML_NAMESPACE_SVG, XML_NAMESPACE_TABLE, XML_NAMESPACE_TABLE_EXT, XML_NAMESPACE_TEXT, XML_NAMESPACE_XFORMS, XML_NAMESPACE_XHTML, XML_NAMESPACE_XLINK, XML_NAMESPACE_XSD, XML_NAMESPACE_XSI, xmloff::token::XML_NP_CALC_EXT, xmloff::token::XML_NP_CHART, xmloff::token::XML_NP_CONFIG, xmloff::token::XML_NP_CSS3TEXT, xmloff::token::XML_NP_DC, xmloff::token::XML_NP_DOM, xmloff::token::XML_NP_DR3D, xmloff::token::XML_NP_DRAW, xmloff::token::XML_NP_DRAW_EXT, xmloff::token::XML_NP_FIELD, xmloff::token::XML_NP_FO, xmloff::token::XML_NP_FORM, xmloff::token::XML_NP_FORMX, xmloff::token::XML_NP_GRDDL, xmloff::token::XML_NP_LO_EXT, xmloff::token::XML_NP_MATH, xmloff::token::XML_NP_META, xmloff::token::XML_NP_NUMBER, xmloff::token::XML_NP_OF, xmloff::token::XML_NP_OFFICE, xmloff::token::XML_NP_OOO, xmloff::token::XML_NP_OOOC, xmloff::token::XML_NP_OOOW, xmloff::token::XML_NP_RPT, xmloff::token::XML_NP_SCRIPT, xmloff::token::XML_NP_STYLE, xmloff::token::XML_NP_SVG, xmloff::token::XML_NP_TABLE, xmloff::token::XML_NP_TABLE_EXT, xmloff::token::XML_NP_TEXT, xmloff::token::XML_NP_XFORMS_1_0, xmloff::token::XML_NP_XHTML, xmloff::token::XML_NP_XLINK, xmloff::token::XML_NP_XSD, and xmloff::token::XML_NP_XSI.

◆ initialize()

void SAL_CALL SvXMLExport::initialize ( const css::uno::Sequence< css::uno::Any > &  aArguments)
overridevirtual

◆ IsSaveLinkedSections()

bool SvXMLExport::IsSaveLinkedSections ( ) const
inline

Definition at line 470 of file xmlexp.hxx.

◆ ResetNamespaceMap()

void SvXMLExport::ResetNamespaceMap ( )
protected

Definition at line 1401 of file xmlexp.cxx.

References mpNamespaceMap.

◆ SetBodyAttributes()

void SvXMLExport::SetBodyAttributes ( )
privatevirtual

Definition at line 1161 of file xmlexp.cxx.

Referenced by ImplExportContent().

◆ SetDocHandler()

void SvXMLExport::SetDocHandler ( const css::uno::Reference< css::xml::sax::XDocumentHandler > &  rHandler)
protected

Definition at line 285 of file xmlexp.cxx.

References mxExtHandler, and mxHandler.

Referenced by XMLMetaExportComponent::exportDoc(), and XMLAutoTextEventExport::exportDoc().

◆ SetEmbeddedResolver()

void SvXMLExport::SetEmbeddedResolver ( css::uno::Reference< css::document::XEmbeddedObjectResolver > const &  _xEmbeddedResolver)
inlineprotected

Definition at line 618 of file xmlexp.hxx.

References mxEmbeddedResolver.

◆ SetError() [1/2]

void SvXMLExport::SetError ( sal_Int32  nId,
const css::uno::Sequence< OUString > &  rMsgParams 
)

◆ SetError() [2/2]

void SvXMLExport::SetError ( sal_Int32  nId,
const css::uno::Sequence< OUString > &  rMsgParams,
const OUString &  rExceptionMessage,
const css::uno::Reference< css::xml::sax::XLocator > &  rLocator 
)

Record an error condition that occurred during export.

The behavior of SetError can be modified using the error flag constants.

Parameters
nIderror ID, may contain an error flag
rMsgParamsstring parameters for the error message
rExceptionMessageoriginal exception message (if applicable)
rLocatorerror location (if applicable)

Referenced by cancel(), Characters(), EndElement(), filter(), IgnorableWhitespace(), and StartElement().

◆ setExportFlags()

void SvXMLExport::setExportFlags ( SvXMLExportFlags  nExportFlags)
inlineprotected

Definition at line 178 of file xmlexp.hxx.

◆ SetGraphicStorageHandler()

void SvXMLExport::SetGraphicStorageHandler ( css::uno::Reference< css::document::XGraphicStorageHandler > const &  rxGraphicStorageHandler)
inlineprotected

Definition at line 624 of file xmlexp.hxx.

References mxGraphicStorageHandler.

◆ setName()

void SAL_CALL SvXMLExport::setName ( const OUString &  aName)
overridevirtual

Definition at line 845 of file xmlexp.cxx.

◆ SetNullDateOnUnitConverter()

bool SvXMLExport::SetNullDateOnUnitConverter ( )

set null date from model to unit converter, if not already done

Definition at line 2369 of file xmlexp.cxx.

References GetMM100UnitConverter(), GetModel(), mpImpl, and SvXMLUnitConverter::setNullDate().

Referenced by XMLNumberFormatAttributesExportHelper::WriteAttributes().

◆ SetNumberFormatsSupplier()

void SvXMLExport::SetNumberFormatsSupplier ( const css::uno::Reference< css::util::XNumberFormatsSupplier > &  _xNumberFormatSupplier)
inline

Definition at line 414 of file xmlexp.hxx.

References mxHandler.

◆ setSourceDocument()

void SAL_CALL SvXMLExport::setSourceDocument ( const css::uno::Reference< css::lang::XComponent > &  xDoc)
overridevirtual

◆ StartElement() [1/2]

void SvXMLExport::StartElement ( const OUString &  rName,
bool  bIgnWSOutside 
)

◆ StartElement() [2/2]

void SvXMLExport::StartElement ( sal_uInt16  nPrefix,
enum ::xmloff::token::XMLTokenEnum  eName,
bool  bIgnWSOutside 
)

◆ supportsService()

sal_Bool SAL_CALL SvXMLExport::supportsService ( const OUString &  ServiceName)
finaloverridevirtual

Definition at line 856 of file xmlexp.cxx.

References cppu::supportsService().

◆ writeOutlineStyleAsNormalListStyle()

bool SvXMLExport::writeOutlineStyleAsNormalListStyle ( ) const

Definition at line 2254 of file xmlexp.cxx.

References mpImpl.

Member Data Documentation

◆ m_implementationName

OUString SvXMLExport::m_implementationName
private

Definition at line 120 of file xmlexp.hxx.

Referenced by getImplementationName().

◆ m_xContext

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

Definition at line 119 of file xmlexp.hxx.

Referenced by exportDoc(), ExportEmbeddedOwnObject(), and ExportScripts_().

◆ maUnitConv

SvXMLUnitConverter SvXMLExport::maUnitConv
private

Definition at line 139 of file xmlexp.hxx.

Referenced by DetermineModelType_().

◆ mbAutoStylesCollected

bool SvXMLExport::mbAutoStylesCollected
protected

Definition at line 263 of file xmlexp.hxx.

Referenced by SchXMLExport::collectAutoStyles(), and SdXMLExport::collectAutoStyles().

◆ mbSaveLinkedSections

bool SvXMLExport::mbSaveLinkedSections
protected

Definition at line 217 of file xmlexp.hxx.

◆ meClass

enum ::xmloff::token::XMLTokenEnum SvXMLExport::meClass
private

Definition at line 154 of file xmlexp.hxx.

Referenced by filter(), and ImplExportContent().

◆ meModelType

SvtModuleOptions::EFactory SvXMLExport::meModelType
private

Definition at line 163 of file xmlexp.hxx.

Referenced by DetermineModelType_(), and DisposingModel().

◆ mnErrorFlags

SvXMLErrorFlags SvXMLExport::mnErrorFlags
private

Definition at line 158 of file xmlexp.hxx.

Referenced by Characters(), EndElement(), filter(), IgnorableWhitespace(), and StartElement().

◆ mnExportFlags

SvXMLExportFlags SvXMLExport::mnExportFlags
private

◆ mpAuthorIDs

std::unique_ptr<SvtSecurityMapPersonalInfo> SvXMLExport::mpAuthorIDs
private

Definition at line 138 of file xmlexp.hxx.

◆ mpEventExport

std::unique_ptr<XMLEventExport> SvXMLExport::mpEventExport
private

Definition at line 150 of file xmlexp.hxx.

Referenced by GetEventExport(), and ~SvXMLExport().

◆ mpImageMapExport

std::unique_ptr<XMLImageMapExport> SvXMLExport::mpImageMapExport
private

Definition at line 151 of file xmlexp.hxx.

Referenced by GetImageMapExport(), and ~SvXMLExport().

◆ mpImpl

std::unique_ptr<SvXMLExport_Impl> SvXMLExport::mpImpl
private

◆ mpNamespaceMap

std::unique_ptr<SvXMLNamespaceMap> SvXMLExport::mpNamespaceMap
private

◆ mpNumExport

std::unique_ptr<SvXMLNumFmtExport> SvXMLExport::mpNumExport
private

◆ mpProgressBarHelper

std::unique_ptr<ProgressBarHelper> SvXMLExport::mpProgressBarHelper
private

Definition at line 141 of file xmlexp.hxx.

Referenced by GetProgressBarHelper(), and ~SvXMLExport().

◆ mpXMLErrors

std::unique_ptr<XMLErrors> SvXMLExport::mpXMLErrors
private

Definition at line 152 of file xmlexp.hxx.

Referenced by ~SvXMLExport().

◆ msFilterName

OUString SvXMLExport::msFilterName
private

Definition at line 135 of file xmlexp.hxx.

Referenced by filter(), and getName().

◆ msImgFilterName

OUString SvXMLExport::msImgFilterName
private

Definition at line 136 of file xmlexp.hxx.

Referenced by filter(), and GetImageFilterName().

◆ msOrigFileName

OUString SvXMLExport::msOrigFileName
private

Definition at line 134 of file xmlexp.hxx.

Referenced by filter(), GetRelativeReference(), and initialize().

◆ msWS

const OUString SvXMLExport::msWS
private

Definition at line 160 of file xmlexp.hxx.

Referenced by EndElement(), IgnorableWhitespace(), and StartElement().

◆ mxAttrList

rtl::Reference<comphelper::AttributeList> SvXMLExport::mxAttrList
private

Definition at line 132 of file xmlexp.hxx.

Referenced by AddAttribute(), AddAttributeList(), CheckAttrList(), ClearAttrList(), and exportDoc().

◆ mxAutoStylePool

rtl::Reference< SvXMLAutoStylePoolP > SvXMLExport::mxAutoStylePool
private

Definition at line 145 of file xmlexp.hxx.

Referenced by GetAutoStylePool(), ImplExportAutoStyles(), and ImplExportStyles().

◆ mxChartExport

rtl::Reference< SchXMLExportHelper > SvXMLExport::mxChartExport
private

Definition at line 146 of file xmlexp.hxx.

Referenced by GetChartExport().

◆ mxEmbeddedResolver

css::uno::Reference< css::document::XEmbeddedObjectResolver > SvXMLExport::mxEmbeddedResolver
private

◆ mxEventListener

css::uno::Reference< css::lang::XEventListener > SvXMLExport::mxEventListener
private

Definition at line 130 of file xmlexp.hxx.

Referenced by DisposingModel(), InitCtor_(), setSourceDocument(), and ~SvXMLExport().

◆ mxExportInfo

css::uno::Reference< css::beans::XPropertySet > SvXMLExport::mxExportInfo
private

◆ mxExtHandler

css::uno::Reference< css::xml::sax::XExtendedDocumentHandler > SvXMLExport::mxExtHandler
private

Definition at line 124 of file xmlexp.hxx.

Referenced by addChaffWhenEncryptedStorage(), exportDoc(), initialize(), and SetDocHandler().

◆ mxFontAutoStylePool

rtl::Reference< XMLFontAutoStylePool > SvXMLExport::mxFontAutoStylePool
private

Definition at line 148 of file xmlexp.hxx.

Referenced by ExportFontDecls_(), and GetFontAutoStylePool().

◆ mxFormExport

rtl::Reference< xmloff::OFormLayerXMLExport > SvXMLExport::mxFormExport
private

Definition at line 149 of file xmlexp.hxx.

Referenced by exportAutoDataStyles(), GetFormExport(), and HasFormExport().

◆ mxGraphicStorageHandler

css::uno::Reference< css::document::XGraphicStorageHandler > SvXMLExport::mxGraphicStorageHandler
private

◆ mxHandler

css::uno::Reference< css::xml::sax::XDocumentHandler > SvXMLExport::mxHandler
private

◆ mxModel

css::uno::Reference< css::frame::XModel > SvXMLExport::mxModel
private

◆ mxNumberFormatsSupplier

css::uno::Reference< css::util::XNumberFormatsSupplier > SvXMLExport::mxNumberFormatsSupplier
private

Definition at line 125 of file xmlexp.hxx.

Referenced by initialize(), and setSourceDocument().

◆ mxPageExport

rtl::Reference< XMLPageExport > SvXMLExport::mxPageExport
private

Definition at line 147 of file xmlexp.hxx.

Referenced by GetPageExport().

◆ mxShapeExport

rtl::Reference< XMLShapeExport > SvXMLExport::mxShapeExport
private

Definition at line 144 of file xmlexp.hxx.

Referenced by GetShapeExport().

◆ mxStatusIndicator

css::uno::Reference< css::task::XStatusIndicator > SvXMLExport::mxStatusIndicator
private

Definition at line 128 of file xmlexp.hxx.

Referenced by GetProgressBarHelper(), and initialize().

◆ mxTextParagraphExport

rtl::Reference< XMLTextParagraphExport > SvXMLExport::mxTextParagraphExport
private

Definition at line 143 of file xmlexp.hxx.

Referenced by GetTextParagraphExport().


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