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 const &implementationName, sal_Int16 const eDefaultMeasureUnit, const enum::xmloff::token::XMLTokenEnum eClass, SvXMLExportFlags nExportFlag)
 
 SvXMLExport (const css::uno::Reference< css::uno::XComponentContext > &xContext, OUString const &implementationName, const OUString &rFileName, sal_Int16 const eDefaultMeasureUnit, const css::uno::Reference< css::xml::sax::XDocumentHandler > &rHandler)
 
 SvXMLExport (const css::uno::Reference< css::uno::XComponentContext > &xContext, OUString const &implementationName, const OUString &rFileName, 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 AddAttributeASCII (sal_uInt16 nPrefix, const char *pName, const char *pValue)
 
void AddAttribute (sal_uInt16 nPrefix, const char *pName, const OUString &rValue)
 
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)
 
SvXMLAttributeListGetAttrList ()
 
css::uno::Reference< css::xml::sax::XAttributeList > GetXAttrList ()
 
const css::uno::Reference< css::xml::sax::XDocumentHandler > & GetDocHandler () const
 
const OUString & GetOrigFileName () const
 
const SvXMLNamespaceMapGetNamespaceMap () 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< SvXMLAttributeListmxAttrList
 
OUString msOrigFileName
 
OUString msFilterName
 
OUString msImgFilterName
 
std::unique_ptr< SvXMLNamespaceMapmpNamespaceMap
 
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 109 of file xmlexp.hxx.

Constructor & Destructor Documentation

SvXMLExport::SvXMLExport ( const css::uno::Reference< css::uno::XComponentContext > &  xContext,
OUString const &  implementationName,
sal_Int16 const  eDefaultMeasureUnit,
const enum::xmloff::token::XMLTokenEnum  eClass,
SvXMLExportFlags  nExportFlag 
)
SvXMLExport::SvXMLExport ( const css::uno::Reference< css::uno::XComponentContext > &  xContext,
OUString const &  implementationName,
const OUString &  rFileName,
sal_Int16 const  eDefaultMeasureUnit,
const css::uno::Reference< css::xml::sax::XDocumentHandler > &  rHandler 
)
SvXMLExport::SvXMLExport ( const css::uno::Reference< css::uno::XComponentContext > &  xContext,
OUString const &  implementationName,
const OUString &  rFileName,
const css::uno::Reference< css::xml::sax::XDocumentHandler > &  rHandler,
const css::uno::Reference< css::frame::XModel > &  ,
FieldUnit const  eDefaultFieldUnit,
SvXMLExportFlags  nExportFlag 
)
SvXMLExport::~SvXMLExport ( )
overridevirtual

Member Function Documentation

void SvXMLExport::AddAttribute ( sal_uInt16  nPrefix,
const char *  pName,
const OUString &  rValue 
)

Definition at line 909 of file xmlexp.cxx.

References GetNamespaceMap_(), mxAttrList, and sName.

Referenced by XMLTextParagraphExport::_exportTextFrame(), XMLTextParagraphExport::_exportTextGraphic(), xmloff::OPropertyExport::AddAttribute(), AddAttributeIdLegacy(), AddAttributeXmlId(), SchXMLExportHelper_Impl::AddAutoStyleAttribute(), SvXMLNumFmtExport::AddCalendarAttr_Impl(), XMLTextParagraphExport::addHyperlinkAttributes(), 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::exportContour(), SchXMLExportHelper_Impl::exportCustomLabel(), SchXMLExportHelper_Impl::exportCustomLabelPosition(), XMLTextFieldExport::ExportDataBaseElement(), SchXMLExportHelper_Impl::exportDataPoints(), SchXMLExportHelper_Impl::exportDateScale(), XMLStyleExport::exportDefaultStyle(), XMLMetaExportComponent::exportDoc(), XMLVersionListExport::exportDoc(), 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(), XMLStyleExport::exportStyle(), XMLPageExport::exportStyle(), SchXMLAutoStylePoolP::exportStyleAttributes(), SvXMLAutoStylePoolP::exportStyleAttributes(), XMLCellStyleExport::exportStyleAttributes(), XMLTextParagraphExport::exportStyleAttributes(), XMLStyleExport::exportStyleContent(), XMLTableExport::exportTable(), SchXMLExportHelper_Impl::exportTable(), XMLSectionExport::ExportTableAndIllustrationIndexSourceAttributes(), XMLTableExport::ExportTableColumns(), XMLSectionExport::ExportTableOfContentStart(), XMLTableExport::exportTableTemplates(), SvxXMLTabStopExport::exportTabStop(), XMLTextParagraphExport::exportTextDeclarations(), XMLTextParagraphExport::exportTextFootnote(), XMLTextParagraphExport::exportTextFootnoteConfigurationHelper(), XMLTextParagraphExport::exportTextFootnoteHelper(), XMLTextParagraphExport::exportTextMark(), XMLTextParagraphExport::exportTextRangeEnumeration(), XMLTextParagraphExport::exportTextRangeSpan(), XMLIndexMarkExport::ExportTOCMarkAttributes(), XMLSectionExport::ExportUserIndexStart(), exportXFormsBinding(), exportXFormsInstance(), XMLTextDropCapExport::exportXML(), XMLTextColumnsExport::exportXML(), XMLBackgroundImageExport::exportXML(), XMLSectionFootnoteConfigExport::exportXML(), XMLFootnoteSeparatorExport::exportXML(), XMLTransGradientStyleExport::exportXML(), XMLFontAutoStylePool::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(), 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::WriteFractionElement_Impl(), SvXMLNumFmtExport::WriteMapElement_Impl(), SvXMLNumFmtExport::WriteMonthElement_Impl(), SvXMLNumFmtExport::WriteNumberElement_Impl(), SvXMLNumFmtExport::WriteScientificElement_Impl(), SvXMLNumFmtExport::WriteSecondsElement_Impl(), and XMLTextCharStyleNamesElementExport::XMLTextCharStyleNamesElementExport().

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

Definition at line 918 of file xmlexp.cxx.

References GetNamespaceMap_(), and mxAttrList.

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

Definition at line 943 of file xmlexp.cxx.

References mxAttrList.

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

Definition at line 951 of file xmlexp.cxx.

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

void SvXMLExport::AddAttributeASCII ( sal_uInt16  nPrefix,
const char *  pName,
const char *  pValue 
)

Definition at line 898 of file xmlexp.cxx.

References GetNamespaceMap_(), mxAttrList, and sName.

void SvXMLExport::AddAttributeIdLegacy ( sal_uInt16 const  nLegacyPrefix,
OUString const &  rValue 
)
void SvXMLExport::AddAttributeList ( const css::uno::Reference< css::xml::sax::XAttributeList > &  xAttrList)

Definition at line 1018 of file xmlexp.cxx.

References mxAttrList.

Referenced by XMLShapeExport::ImpExportOLE2Shape().

void SvXMLExport::AddAttributesRDFa ( css::uno::Reference< css::text::XTextContent > const &  i_xTextContent)
void SvXMLExport::AddAttributeXmlId ( css::uno::Reference< css::uno::XInterface > const &  i_xIfc)
void SvXMLExport::addChaffWhenEncryptedStorage ( )
void SvXMLExport::addDataStyle ( const sal_Int32  nNumberFormat,
bool  bTimeFormat = false 
)
virtual
OUString SvXMLExport::AddEmbeddedObject ( const OUString &  rEmbeddedObjectURL)
bool SvXMLExport::AddEmbeddedObjectAsBase64 ( const OUString &  rEmbeddedObjectURL)
OUString SvXMLExport::AddEmbeddedXGraphic ( css::uno::Reference< css::graphic::XGraphic > const &  rxGraphic,
OUString &  rOutMimeType,
OUString const &  rRequestedName = OUString() 
)
bool SvXMLExport::AddEmbeddedXGraphicAsBase64 ( css::uno::Reference< css::graphic::XGraphic > const &  rxGraphic)
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 959 of file xmlexp.cxx.

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

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

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

Definition at line 818 of file xmlexp.cxx.

References SetError(), XMLERROR_CANCEL, and XMLERROR_FLAG_SEVERE.

void SvXMLExport::Characters ( const OUString &  rChars)
void SvXMLExport::CheckAttrList ( )
void SvXMLExport::ClearAttrList ( )
void SvXMLExport::collectAutoStyles ( )
virtual
void SvXMLExport::collectDataStyles ( bool  bFromUsedStyles)

Definition at line 1788 of file xmlexp.cxx.

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

SvXMLAutoStylePoolP * SvXMLExport::CreateAutoStylePool ( )
protectedvirtual

Definition at line 1701 of file xmlexp.cxx.

Referenced by GetAutoStylePool().

SchXMLExportHelper * SvXMLExport::CreateChartExport ( )
protected

Definition at line 1715 of file xmlexp.cxx.

References GetAutoStylePool().

Referenced by GetChartExport().

XMLFontAutoStylePool * SvXMLExport::CreateFontAutoStylePool ( )
protectedvirtual

Reimplemented in SdXMLExport.

Definition at line 1720 of file xmlexp.cxx.

Referenced by GetFontAutoStylePool().

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

Definition at line 1725 of file xmlexp.cxx.

Referenced by GetFormExport().

XMLPageExport * SvXMLExport::CreatePageExport ( )
protectedvirtual

Definition at line 1710 of file xmlexp.cxx.

Referenced by GetPageExport().

XMLShapeExport * SvXMLExport::CreateShapeExport ( )
protectedvirtual

Definition at line 1696 of file xmlexp.cxx.

Referenced by GetShapeExport().

XMLTextParagraphExport * SvXMLExport::CreateTextParagraphExport ( )
protectedvirtual

Definition at line 1691 of file xmlexp.cxx.

References GetAutoStylePool().

Referenced by GetTextParagraphExport().

sal_Int32 SvXMLExport::dataStyleForceSystemLanguage ( sal_Int32  nFormat) const
void SvXMLExport::DetermineModelType_ ( )
private
void SvXMLExport::DisposingModel ( )
virtual

Definition at line 2272 of file xmlexp.cxx.

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

OUString SvXMLExport::EncodeStyleName ( const OUString &  rName,
bool *  pEncoded = nullptr 
) const
void SvXMLExport::EndElement ( sal_uInt16  nPrefix,
enum::xmloff::token::XMLTokenEnum  eName,
bool  bIgnWSInside 
)
void SvXMLExport::EndElement ( const OUString &  rName,
bool  bIgnWSInside 
)
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 852 of file xmlexp.cxx.

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

Referenced by xmloff::makeCURIE().

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

Definition at line 1848 of file xmlexp.cxx.

Referenced by XMLShapeExport::ImpExportCaptionShape().

void SvXMLExport::exportAutoDataStyles ( )
virtual

Reimplemented in SdXMLExport.

Definition at line 1831 of file xmlexp.cxx.

References mpNumExport, and mxFormExport.

Referenced by SchXMLExportHelper_Impl::exportAutoStyles().

virtual void SvXMLExport::ExportAutoStyles_ ( )
protectedpure virtual

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

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

Referenced by ImplExportAutoStyles().

virtual void SvXMLExport::ExportContent_ ( )
protectedpure virtual

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

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

Referenced by ImplExportContent().

void SvXMLExport::exportDataStyles ( )
virtual

Reimplemented in SdXMLExport.

Definition at line 1825 of file xmlexp.cxx.

References mpNumExport.

ErrCode SvXMLExport::exportDoc ( enum::xmloff::token::XMLTokenEnum  eClass = ::xmloff::token::XML_TOKEN_INVALID)
virtual
void SvXMLExport::ExportEmbeddedOwnObject ( css::uno::Reference< css::lang::XComponent > const &  rComp)

Definition at line 2039 of file xmlexp.cxx.

References aServiceMap, m_xContext, mxHandler, and SAL_WARN_IF.

Referenced by XMLShapeExport::ImpExportOLE2Shape().

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 1501 of file xmlexp.cxx.

References mxFontAutoStylePool.

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

virtual void SvXMLExport::ExportMasterStyles_ ( )
protectedpure virtual

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

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

Referenced by ImplExportMasterStyles().

void SvXMLExport::ExportMeta_ ( )
protectedvirtual

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

There is a default implementation.

Reimplemented in SdXMLExport, XMLAutoTextEventExport, and XMLMetaExportComponent.

Definition at line 1441 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().

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 1468 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().

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 1507 of file xmlexp.cxx.

References XMLTransGradientStyleExport::exportXML(), and GetModel().

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

bool SvXMLExport::exportTextNumberElement ( ) const

Definition at line 2397 of file xmlexp.cxx.

References mpImpl.

sal_Bool SAL_CALL SvXMLExport::filter ( const css::uno::Sequence< css::beans::PropertyValue > &  aDescriptor)
overridevirtual
SvXMLAttributeList& SvXMLExport::GetAttrList ( )
inline
rtl::Reference< SvXMLAutoStylePoolP > const & SvXMLExport::GetAutoStylePool ( )
inline
rtl::Reference< SchXMLExportHelper > const & SvXMLExport::GetChartExport ( )
inline

Definition at line 584 of file xmlexp.hxx.

References CreateChartExport(), and mxChartExport.

Referenced by XMLShapeExport::ImpCalcShapeType().

const css::uno::Reference< css::uno::XComponentContext >& SvXMLExport::getComponentContext ( ) const
inline
void SvXMLExport::GetConfigurationSettings ( css::uno::Sequence< css::beans::PropertyValue > &  aProps)
protectedvirtual

Reimplemented in SdXMLExport.

Definition at line 1779 of file xmlexp.cxx.

Referenced by ImplExportSettings().

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

Definition at line 1436 of file xmlexp.cxx.

References mpImpl.

Referenced by SchXMLExport::exportDoc().

const css::uno::Reference< css::xml::sax::XDocumentHandler >& SvXMLExport::GetDocHandler ( ) const
inline
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 1783 of file xmlexp.cxx.

Referenced by ImplExportSettings().

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

Definition at line 251 of file xmlexp.hxx.

XMLEventExport & SvXMLExport::GetEventExport ( )
SvXMLExportFlags SvXMLExport::getExportFlags ( ) const
inline
const css::uno::Reference< css::beans::XPropertySet >& SvXMLExport::getExportInfo ( ) const
inline
rtl::Reference< XMLFontAutoStylePool > const & SvXMLExport::GetFontAutoStylePool ( )
inline
rtl::Reference< xmloff::OFormLayerXMLExport > const & SvXMLExport::GetFormExport ( )
inline
bool SvXMLExport::GetGraphicMimeTypeFromStream ( css::uno::Reference< css::graphic::XGraphic > const &  rxGraphic,
OUString &  rOutMimeType 
)
const css::uno::Reference<css::document::XGraphicStorageHandler>& SvXMLExport::GetGraphicStorageHandler ( ) const
inlineprotected

Definition at line 254 of file xmlexp.hxx.

OUString const & SvXMLExport::GetImageFilterName ( ) const

Get clamped mimetype for image export (empty if none)

Definition at line 2411 of file xmlexp.cxx.

References msImgFilterName.

XMLImageMapExport & SvXMLExport::GetImageMapExport ( )
OUString SAL_CALL SvXMLExport::getImplementationName ( )
finaloverridevirtual

Definition at line 836 of file xmlexp.cxx.

References m_implementationName.

comphelper::UnoInterfaceToUniqueIdentifierMapper & SvXMLExport::getInterfaceToIdentifierMapper ( )
const SvXMLUnitConverter& SvXMLExport::GetMM100UnitConverter ( ) const
inline

Definition at line 394 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(), XMLTextDropCapExport::exportXML(), XMLTextColumnsExport::exportXML(), XMLSectionFootnoteConfigExport::exportXML(), XMLFootnoteSeparatorExport::exportXML(), XMLFontAutoStylePool::exportXML(), SvXMLExportPropertyMapper::exportXML(), SvXMLAutoStylePoolP_Impl::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().

SvXMLUnitConverter& SvXMLExport::GetMM100UnitConverter ( )
inline

Definition at line 396 of file xmlexp.hxx.

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

Definition at line 414 of file xmlexp.hxx.

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(), XMLMetaExportComponent::exportDoc(), SchXMLExport::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().

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

Definition at line 523 of file xmlexp.hxx.

Referenced by XMLShapeExport::exportShape().

OUString SAL_CALL SvXMLExport::getName ( )
overridevirtual

Definition at line 825 of file xmlexp.cxx.

References msFilterName.

const SvXMLNamespaceMap& SvXMLExport::GetNamespaceMap ( ) const
inline
SvXMLNamespaceMap& SvXMLExport::GetNamespaceMap_ ( )
inlineprotected
css::uno::Reference< css::util::XNumberFormatsSupplier >& SvXMLExport::GetNumberFormatsSupplier ( )
inline
auto SvXMLExport::GetODFVersionAttributeValue ( ) const
const OUString& SvXMLExport::GetOrigFileName ( ) const
inline

Definition at line 388 of file xmlexp.hxx.

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

Definition at line 592 of file xmlexp.hxx.

References CreatePageExport(), and mxPageExport.

ProgressBarHelper * SvXMLExport::GetProgressBarHelper ( )
OUString SvXMLExport::GetRelativeReference ( const OUString &  rValue)
SvtSaveOptions::ODFSaneDefaultVersion SvXMLExport::getSaneDefaultVersion ( ) const
rtl::Reference< XMLShapeExport > const & SvXMLExport::GetShapeExport ( )
inline
OUString const & SvXMLExport::GetSourceShellID ( ) const
protected

Definition at line 1431 of file xmlexp.cxx.

References mpImpl.

Referenced by SchXMLExport::exportDoc().

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

Definition at line 451 of file xmlexp.hxx.

Referenced by SdXMLExport::ExportContent_().

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

Definition at line 846 of file xmlexp.cxx.

uno::Reference< embed::XStorage > const & SvXMLExport::GetTargetStorage ( ) const
rtl::Reference< XMLTextParagraphExport > const & SvXMLExport::GetTextParagraphExport ( )
inline
void SvXMLExport::GetViewSettings ( css::uno::Sequence< css::beans::PropertyValue > &  aProps)
protectedvirtual

Reimplemented in SdXMLExport.

Definition at line 1775 of file xmlexp.cxx.

Referenced by GetViewSettingsAndViews().

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

Definition at line 1730 of file xmlexp.cxx.

References GetModel(), GetViewSettings(), i, nCount, comphelper::NewFlagContext(), and uno::Any::Value.

Referenced by ImplExportSettings().

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

Definition at line 381 of file xmlexp.hxx.

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

bool SvXMLExport::HasFormExport ( ) const
inline

Definition at line 616 of file xmlexp.hxx.

Referenced by SdXMLExport::exportAutoDataStyles().

void SvXMLExport::IgnorableWhitespace ( )
void SvXMLExport::ImplExportAutoStyles ( )
private
void SvXMLExport::ImplExportContent ( )
private
void SvXMLExport::ImplExportMasterStyles ( )
private

Definition at line 1142 of file xmlexp.cxx.

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

Referenced by exportDoc().

void SvXMLExport::ImplExportMeta ( )
private

Definition at line 1036 of file xmlexp.cxx.

References CheckAttrList(), and ExportMeta_().

Referenced by exportDoc().

void SvXMLExport::ImplExportSettings ( )
private
void SvXMLExport::ImplExportStyles ( )
private
void SvXMLExport::InitCtor_ ( )
private

Definition at line 305 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.

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

Definition at line 473 of file xmlexp.hxx.

void SvXMLExport::ResetNamespaceMap ( )
protected

Definition at line 1426 of file xmlexp.cxx.

References mpNamespaceMap.

void SvXMLExport::SetBodyAttributes ( )
privatevirtual

Definition at line 1181 of file xmlexp.cxx.

Referenced by ImplExportContent().

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

Definition at line 299 of file xmlexp.cxx.

References mxExtHandler, and mxHandler.

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

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

Definition at line 621 of file xmlexp.hxx.

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().

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

Definition at line 177 of file xmlexp.hxx.

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

Definition at line 627 of file xmlexp.hxx.

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

Definition at line 830 of file xmlexp.cxx.

bool SvXMLExport::SetNullDateOnUnitConverter ( )

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

Definition at line 2402 of file xmlexp.cxx.

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

Referenced by XMLNumberFormatAttributesExportHelper::WriteAttributes().

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

Definition at line 417 of file xmlexp.hxx.

void SAL_CALL SvXMLExport::setSourceDocument ( const css::uno::Reference< css::lang::XComponent > &  xDoc)
overridevirtual
void SvXMLExport::StartElement ( sal_uInt16  nPrefix,
enum::xmloff::token::XMLTokenEnum  eName,
bool  bIgnWSOutside 
)
void SvXMLExport::StartElement ( const OUString &  rName,
bool  bIgnWSOutside 
)
sal_Bool SAL_CALL SvXMLExport::supportsService ( const OUString &  ServiceName)
finaloverridevirtual

Definition at line 841 of file xmlexp.cxx.

References cppu::supportsService().

bool SvXMLExport::writeOutlineStyleAsNormalListStyle ( ) const

Definition at line 2287 of file xmlexp.cxx.

References mpImpl.

Member Data Documentation

OUString SvXMLExport::m_implementationName
private

Definition at line 120 of file xmlexp.hxx.

Referenced by getImplementationName().

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

Definition at line 119 of file xmlexp.hxx.

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

SvXMLUnitConverter SvXMLExport::maUnitConv
private

Definition at line 138 of file xmlexp.hxx.

bool SvXMLExport::mbAutoStylesCollected
protected

Definition at line 262 of file xmlexp.hxx.

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

bool SvXMLExport::mbSaveLinkedSections
protected

Definition at line 216 of file xmlexp.hxx.

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

Definition at line 153 of file xmlexp.hxx.

Referenced by filter(), and ImplExportContent().

SvtModuleOptions::EFactory SvXMLExport::meModelType
private

Definition at line 162 of file xmlexp.hxx.

Referenced by DetermineModelType_(), and DisposingModel().

SvXMLErrorFlags SvXMLExport::mnErrorFlags
private

Definition at line 157 of file xmlexp.hxx.

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

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

Definition at line 149 of file xmlexp.hxx.

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

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

Definition at line 150 of file xmlexp.hxx.

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

std::unique_ptr<SvXMLExport_Impl> SvXMLExport::mpImpl
private
std::unique_ptr<SvXMLNamespaceMap> SvXMLExport::mpNamespaceMap
private
std::unique_ptr<SvXMLNumFmtExport> SvXMLExport::mpNumExport
private
std::unique_ptr<ProgressBarHelper> SvXMLExport::mpProgressBarHelper
private

Definition at line 140 of file xmlexp.hxx.

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

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

Definition at line 151 of file xmlexp.hxx.

Referenced by ~SvXMLExport().

OUString SvXMLExport::msFilterName
private

Definition at line 135 of file xmlexp.hxx.

Referenced by filter(), and getName().

OUString SvXMLExport::msImgFilterName
private

Definition at line 136 of file xmlexp.hxx.

Referenced by filter(), and GetImageFilterName().

OUString SvXMLExport::msOrigFileName
private

Definition at line 134 of file xmlexp.hxx.

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

const OUString SvXMLExport::msWS
private

Definition at line 159 of file xmlexp.hxx.

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

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

Definition at line 144 of file xmlexp.hxx.

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

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

Definition at line 145 of file xmlexp.hxx.

Referenced by GetChartExport().

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

Definition at line 127 of file xmlexp.hxx.

Referenced by AddEmbeddedObject(), AddEmbeddedObjectAsBase64(), exportDoc(), and initialize().

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

Definition at line 130 of file xmlexp.hxx.

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

css::uno::Reference< css::beans::XPropertySet > SvXMLExport::mxExportInfo
private
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().

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

Definition at line 147 of file xmlexp.hxx.

Referenced by ExportFontDecls_(), and GetFontAutoStylePool().

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

Definition at line 148 of file xmlexp.hxx.

Referenced by exportAutoDataStyles(), and GetFormExport().

css::uno::Reference< css::document::XGraphicStorageHandler > SvXMLExport::mxGraphicStorageHandler
private
css::uno::Reference< css::xml::sax::XDocumentHandler > SvXMLExport::mxHandler
private
css::uno::Reference< css::frame::XModel > SvXMLExport::mxModel
private
css::uno::Reference< css::util::XNumberFormatsSupplier > SvXMLExport::mxNumberFormatsSupplier
private

Definition at line 125 of file xmlexp.hxx.

Referenced by initialize(), and setSourceDocument().

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

Definition at line 146 of file xmlexp.hxx.

Referenced by GetPageExport().

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

Definition at line 143 of file xmlexp.hxx.

Referenced by GetShapeExport().

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

Definition at line 128 of file xmlexp.hxx.

Referenced by GetProgressBarHelper(), and initialize().

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

Definition at line 142 of file xmlexp.hxx.

Referenced by GetTextParagraphExport().


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