LibreOffice Module xmloff (master)
1
|
#include <xmlexp.hxx>
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) |
SvXMLAttributeList & | GetAttrList () |
css::uno::Reference< css::xml::sax::XAttributeList > | GetXAttrList () |
const css::uno::Reference< css::xml::sax::XDocumentHandler > & | GetDocHandler () const |
const OUString & | GetOrigFileName () const |
const SvXMLNamespaceMap & | GetNamespaceMap () const |
const SvXMLUnitConverter & | GetMM100UnitConverter () const |
SvXMLUnitConverter & | GetMM100UnitConverter () |
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 () |
ProgressBarHelper * | GetProgressBarHelper () |
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 |
XMLEventExport & | GetEventExport () |
get Event export, with handlers for script types "None" and "StarBasic" already registered; other handlers may be registered, too. More... | |
XMLImageMapExport & | GetImageMapExport () |
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::UnoInterfaceToUniqueIdentifierMapper & | getInterfaceToIdentifierMapper () |
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) |
SvXMLNamespaceMap & | GetNamespaceMap_ () |
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 XMLTextParagraphExport * | CreateTextParagraphExport () |
virtual XMLShapeExport * | CreateShapeExport () |
virtual SvXMLAutoStylePoolP * | CreateAutoStylePool () |
SchXMLExportHelper * | CreateChartExport () |
virtual XMLPageExport * | CreatePageExport () |
virtual XMLFontAutoStylePool * | CreateFontAutoStylePool () |
xmloff::OFormLayerXMLExport * | CreateFormExport () |
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) |
Definition at line 109 of file xmlexp.hxx.
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 | ||
) |
|
overridevirtual |
Definition at line 509 of file xmlexp.cxx.
References Any, AUTOSTYLES, mnExportFlags, mpEventExport, mpImageMapExport, mpNamespaceMap, mpNumExport, mpProgressBarHelper, mpXMLErrors, mxEventListener, mxExportInfo, mxModel, STYLES, XML_PROGRESSCURRENT, XML_PROGRESSMAX, XML_PROGRESSREPEAT, and XML_WRITTENNUMBERSTYLES.
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 | ||
) |
add xml:id and legacy namespace id
Definition at line 2307 of file xmlexp.cxx.
References AddAttribute(), getSaneDefaultVersion(), SvtSaveOptions::ODFSVER_010, SvtSaveOptions::ODFSVER_011, xmloff::token::XML_ID, and XML_NAMESPACE_XML.
Referenced by XMLRedlineExport::ExportChangedRegion(), SdXMLExport::ExportContent_(), xmloff::OControlExport::exportInnerAttributes(), XMLTextParagraphExport::exportParagraph(), and XMLShapeExport::exportShape().
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 | ) |
add RDFa attributes for a metadatable text content
Definition at line 2373 of file xmlexp.cxx.
References getSaneDefaultVersion(), mpImpl, SvtSaveOptions::ODFSVER_010, and SvtSaveOptions::ODFSVER_011.
Referenced by XMLTextParagraphExport::exportMeta(), XMLTextParagraphExport::exportParagraph(), and XMLTextParagraphExport::exportTextMark().
void SvXMLExport::AddAttributeXmlId | ( | css::uno::Reference< css::uno::XInterface > const & | i_xIfc | ) |
add xml:id attribute (for RDF metadata)
Definition at line 2323 of file xmlexp.cxx.
References AddAttribute(), getSaneDefaultVersion(), mpImpl, SvtSaveOptions::ODFSVER_010, SvtSaveOptions::ODFSVER_011, SAL_INFO, SAL_WARN, xmloff::token::XML_ID, and XML_NAMESPACE_XML.
Referenced by XMLTextParagraphExport::exportMeta(), XMLTextFieldExport::ExportMetaField(), XMLTextParagraphExport::exportParagraph(), XMLSectionExport::ExportSectionStart(), and XMLTextParagraphExport::exportTextMark().
void SvXMLExport::addChaffWhenEncryptedStorage | ( | ) |
Definition at line 1205 of file xmlexp.cxx.
References comphelper::xml::makeXMLChaff(), mpImpl, and mxExtHandler.
Referenced by XMLMetaExportComponent::exportDoc(), XMLVersionListExport::exportDoc(), XMLAutoTextEventExport::exportDoc(), and exportDoc().
|
virtual |
Reimplemented in SdXMLExport.
Definition at line 1819 of file xmlexp.cxx.
References mpNumExport.
Referenced by collectDataStyles(), XMLTextFieldExport::ExportFieldAutoStyle(), SchXMLExportHelper_Impl::exportRegressionCurve(), and XMLDateTimeFormatHdl::exportXML().
OUString SvXMLExport::AddEmbeddedObject | ( | const OUString & | rEmbeddedObjectURL | ) |
Definition at line 1915 of file xmlexp.cxx.
References GetRelativeReference(), mxEmbeddedResolver, XML_EMBEDDEDOBJECT_URL_BASE, and XML_EMBEDDEDOBJECTGRAPHIC_URL_BASE.
Referenced by xmloff::OPropertyExport::exportRelativeTargetLocation(), and XMLShapeExport::ImpExportOLE2Shape().
bool SvXMLExport::AddEmbeddedObjectAsBase64 | ( | const OUString & | rEmbeddedObjectURL | ) |
Definition at line 1930 of file xmlexp.cxx.
References Any, XMLBase64Export::exportOfficeBinaryDataElement(), mxEmbeddedResolver, XML_EMBEDDEDOBJECT_URL_BASE, and XML_EMBEDDEDOBJECTGRAPHIC_URL_BASE.
Referenced by XMLShapeExport::ImpExportOLE2Shape().
OUString SvXMLExport::AddEmbeddedXGraphic | ( | css::uno::Reference< css::graphic::XGraphic > const & | rxGraphic, |
OUString & | rOutMimeType, | ||
OUString const & | rRequestedName = OUString() |
||
) |
Definition at line 1858 of file xmlexp.cxx.
References EMBEDDED, getExportFlags(), Graphic::getOriginURL(), GetRelativeReference(), and mxGraphicStorageHandler.
Referenced by XMLTextParagraphExport::_exportTextGraphic(), SvxXMLNumRuleExport::exportLevelStyle(), xmloff::OPropertyExport::exportRelativeTargetLocation(), XMLChartExportPropertyMapper::handleElementItem(), and XMLShapeExport::ImpExportGraphicObjectShape().
bool SvXMLExport::AddEmbeddedXGraphicAsBase64 | ( | css::uno::Reference< css::graphic::XGraphic > const & | rxGraphic | ) |
Definition at line 1895 of file xmlexp.cxx.
References EMBEDDED, XMLBase64Export::exportOfficeBinaryDataElement(), getExportFlags(), Graphic::getOriginURL(), and mxGraphicStorageHandler.
Referenced by XMLTextParagraphExport::_exportTextGraphic(), SvxXMLNumRuleExport::exportLevelStyle(), XMLBackgroundImageExport::exportXML(), XMLChartExportPropertyMapper::handleElementItem(), and XMLShapeExport::ImpExportGraphicObjectShape().
void SvXMLExport::AddLanguageTagAttributes | ( | sal_uInt16 | nPrefix, |
sal_uInt16 | nPrefixRfc, | ||
const css::lang::Locale & | rLocale, | ||
bool | bWriteEmpty | ||
) |
Add language tag attributes, deciding which are necessary.
nPrefix | Namespace prefix for *:language, *:script and *:country |
nPrefixRfc | Namespace prefix for *:rfc-language-tag |
bWriteEmpty | Whether 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 | ||
) |
Same as AddLanguageTagAttributes() but with LanguageTag parameter instead of Locale.
Definition at line 983 of file xmlexp.cxx.
References AddAttribute(), LanguageTag::getBcp47(), LanguageTag::getCountry(), LanguageTag::getIsoLanguageScriptCountry(), LanguageTag::getLanguage(), getSaneDefaultVersion(), LanguageTag::getScript(), LanguageTag::hasScript(), LanguageTag::isIsoODF(), LanguageTag::isSystemLocale(), SvtSaveOptions::ODFSVER_012, xmloff::token::XML_COUNTRY, xmloff::token::XML_LANGUAGE, xmloff::token::XML_RFC_LANGUAGE_TAG, and xmloff::token::XML_SCRIPT.
|
overridevirtual |
Definition at line 818 of file xmlexp.cxx.
References SetError(), XMLERROR_CANCEL, and XMLERROR_FLAG_SEVERE.
void SvXMLExport::Characters | ( | const OUString & | rChars | ) |
Definition at line 2158 of file xmlexp.cxx.
References DO_NOTHING, mnErrorFlags, mxHandler, SetError(), XMLERROR_FLAG_ERROR, XMLERROR_FLAG_SEVERE, XMLERROR_FLAG_WARNING, and XMLERROR_SAX.
Referenced by SvXMLMetaExport::characters(), XMLLineNumberingExport::Export(), SdXMLExport::exportAnnotations(), XMLSectionExport::ExportBaseIndexSource(), XMLTextParagraphExport::exportCharacterData(), XMLTextFieldExport::ExportDataBaseElement(), XMLTextFieldExport::ExportFieldHelper(), XMLSectionExport::ExportIndexTemplateElement(), SdXMLayerExporter::exportLayer(), XMLTextFieldExport::ExportMacro(), XMLImageMapExport::ExportMapEntry(), ExportMeta_(), XMLTextParagraphExport::exportRuby(), XMLTextParagraphExport::exportTextFootnoteConfigurationHelper(), XMLTextParagraphExport::exportTextFootnoteHelper(), XMLTextParagraphExport::exportTitleAndDescription(), XMLBase64Export::exportXML(), SvXMLNumFmtExport::FinishTextElement_Impl(), XMLShapeExport::ImpExportDescription(), SdXMLExport::ImpWriteHeaderFooterDecls(), XMLTextFieldExport::ProcessParagraphSequence(), XMLRedlineExport::WriteComment(), SvXMLNumFmtExport::WriteCurrencyElement_Impl(), SvXMLNumFmtExport::WriteNumberElement_Impl(), and SvXMLNumFmtExport::WriteRepeatedElement_Impl().
void SvXMLExport::CheckAttrList | ( | ) |
Definition at line 1030 of file xmlexp.cxx.
References mxAttrList, and SAL_WARN_IF.
Referenced by XMLSectionExport::ExportBaseIndexBody(), XMLStyleExport::exportDefaultStyle(), XMLPageExport::exportDefaultStyle(), exportDoc(), SvxXMLNumRuleExport::exportLevelStyle(), SvxXMLNumRuleExport::exportNumberingRule(), SvxXMLNumRuleExport::exportOutline(), XMLTextParagraphExport::exportRuby(), XMLSectionExport::ExportSectionEnd(), XMLShapeExport::exportShape(), XMLStyleExport::exportStyle(), ImplExportContent(), ImplExportMeta(), ImplExportSettings(), and ImplExportStyles().
void SvXMLExport::ClearAttrList | ( | ) |
Definition at line 1024 of file xmlexp.cxx.
References mxAttrList.
Referenced by xmloff::OElementExport::doExport(), xmloff::OControlExport::exportListSourceAsElements(), XMLTextParagraphExport::exportRuby(), XMLShapeExport::exportShape(), xmloff::OControlExport::exportSubTags(), xmloff::OFormExport::exportSubTags(), ImpExportHandles(), and StartElement().
|
virtual |
Reimplemented in SdXMLExport, and SchXMLExport.
Definition at line 1706 of file xmlexp.cxx.
Referenced by SchXMLExport::collectAutoStyles(), SdXMLExport::collectAutoStyles(), and XMLFontAutoStylePool::getUsedFontList().
void SvXMLExport::collectDataStyles | ( | bool | bFromUsedStyles | ) |
Definition at line 1788 of file xmlexp.cxx.
References addDataStyle(), GetModel(), i, and nCount.
|
protectedvirtual |
Definition at line 1701 of file xmlexp.cxx.
Referenced by GetAutoStylePool().
|
protected |
Definition at line 1715 of file xmlexp.cxx.
References GetAutoStylePool().
Referenced by GetChartExport().
|
protectedvirtual |
Reimplemented in SdXMLExport.
Definition at line 1720 of file xmlexp.cxx.
Referenced by GetFontAutoStylePool().
|
protected |
Definition at line 1725 of file xmlexp.cxx.
Referenced by GetFormExport().
|
protectedvirtual |
Definition at line 1710 of file xmlexp.cxx.
Referenced by GetPageExport().
|
protectedvirtual |
Definition at line 1696 of file xmlexp.cxx.
Referenced by GetShapeExport().
|
protectedvirtual |
Definition at line 1691 of file xmlexp.cxx.
References GetAutoStylePool().
Referenced by GetTextParagraphExport().
sal_Int32 SvXMLExport::dataStyleForceSystemLanguage | ( | sal_Int32 | nFormat | ) | const |
Definition at line 1852 of file xmlexp.cxx.
References mpNumExport.
Referenced by XMLTextFieldExport::ExportFieldAutoStyle(), and XMLTextFieldExport::ProcessValueAndType().
|
private |
Definition at line 414 of file xmlexp.cxx.
References SvtModuleOptions::ClassifyFactoryByModel(), meModelType, mxModel, and SvtModuleOptions::UNKNOWN_FACTORY.
Referenced by InitCtor_(), and setSourceDocument().
|
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 |
Definition at line 1954 of file xmlexp.cxx.
References SvXMLUnitConverter::encodeStyleName(), and GetMM100UnitConverter().
Referenced by XMLLineNumberingExport::Export(), SdXMLExport::ExportContent_(), SdXMLExport::ExportMasterStyles_(), XMLShapeExport::exportShape(), XMLTextDropCapExport::exportXML(), XMLTransGradientStyleExport::exportXML(), lcl_exportString(), SvXMLNumFmtExport::WriteMapElement_Impl(), and XMLTextCharStyleNamesElementExport::XMLTextCharStyleNamesElementExport().
void SvXMLExport::EndElement | ( | sal_uInt16 | nPrefix, |
enum::xmloff::token::XMLTokenEnum | eName, | ||
bool | bIgnWSInside | ||
) |
Definition at line 2180 of file xmlexp.cxx.
References GetNamespaceMap_(), and xmloff::token::GetXMLToken().
Referenced by SvXMLMetaExport::endElement(), XMLEventExport::EndElement(), XMLTextParagraphExport::exportRuby(), XMLSectionExport::ExportSectionEnd(), XMLTextParagraphExport::exportTextRangeEnumeration(), SvXMLElementExport::~SvXMLElementExport(), and XMLTextCharStyleNamesElementExport::~XMLTextCharStyleNamesElementExport().
void SvXMLExport::EndElement | ( | const OUString & | rName, |
bool | bIgnWSInside | ||
) |
Definition at line 2188 of file xmlexp.cxx.
References DO_NOTHING, mnErrorFlags, mnExportFlags, mpImpl, mpNamespaceMap, msWS, mxHandler, PRETTY, SAL_WARN_IF, SetError(), XMLERROR_FLAG_ERROR, XMLERROR_FLAG_SEVERE, and XMLERROR_SAX.
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.
i_rNamespace | the namespace to be declared |
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().
|
virtual |
Definition at line 1848 of file xmlexp.cxx.
Referenced by XMLShapeExport::ImpExportCaptionShape().
|
virtual |
Reimplemented in SdXMLExport.
Definition at line 1831 of file xmlexp.cxx.
References mpNumExport, and mxFormExport.
Referenced by SchXMLExportHelper_Impl::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().
|
protectedpure virtual |
Override this method to export the content of <office:body>.
Implemented in SdXMLExport, XMLAutoTextEventExport, XMLMetaExportComponent, SchXMLExport, and XMLVersionListExport.
Referenced by ImplExportContent().
|
virtual |
|
virtual |
Reimplemented in XMLAutoTextEventExport, XMLVersionListExport, SchXMLExport, and XMLMetaExportComponent.
Definition at line 1234 of file xmlexp.cxx.
References AddAttribute(), addChaffWhenEncryptedStorage(), Any, AUTOSTYLES, CheckAttrList(), CONTENT, ERRCODE_NONE, ExportFontDecls_(), ExportScripts_(), FONTDECLS, comphelper::GenericPropertySet_CreateInstance(), cppu::UnoType< class >::get(), getExportFlags(), GetODFVersionAttributeValue(), xmloff::token::GetXMLToken(), ImplExportAutoStyles(), ImplExportContent(), ImplExportMasterStyles(), ImplExportMeta(), ImplExportSettings(), ImplExportStyles(), lcl_AddGrddl(), m_xContext, MASTERSTYLES, META, mnExportFlags, mpNamespaceMap, mxAttrList, mxEmbeddedResolver, mxExportInfo, mxExtHandler, mxGraphicStorageHandler, mxHandler, mxModel, NONE, nPos, OASIS, PropertySetMerger_CreateInstance(), SAL_WARN_IF, SCRIPTS, SETTINGS, STYLES, USHRT_MAX, xFactory, xmloff::token::XML_DOCUMENT, xmloff::token::XML_DOCUMENT_CONTENT, xmloff::token::XML_DOCUMENT_META, xmloff::token::XML_DOCUMENT_SETTINGS, xmloff::token::XML_DOCUMENT_STYLES, xmloff::token::XML_MIMETYPE, XML_NAMESPACE_OFFICE, xmloff::token::XML_TOKEN_INVALID, and xmloff::token::XML_VERSION.
Referenced by SchXMLExport::exportDoc(), and filter().
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().
|
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_().
|
protectedpure virtual |
Override this method to export the contents of <style:master-styles>.
Implemented in SdXMLExport, XMLAutoTextEventExport, XMLMetaExportComponent, SchXMLExport, and XMLVersionListExport.
Referenced by ImplExportMasterStyles().
|
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().
|
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().
|
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.
|
overridevirtual |
Definition at line 741 of file xmlexp.cxx.
References Any, CONTENT, DO_NOTHING, ERROR_OCCURRED, exportDoc(), cppu::getCaughtException(), meClass, META, mnErrorFlags, mnExportFlags, mpImpl, msFilterName, msImgFilterName, msOrigFileName, mxHandler, name, NO, XMLImageStyle::rValue, SetError(), SETTINGS, sMessage, STYLES, XMLERROR_API, XMLERROR_FLAG_ERROR, and XMLERROR_FLAG_SEVERE.
|
inline |
Definition at line 380 of file xmlexp.hxx.
Referenced by XMLAutoTextEventExport::addNamespaces(), XMLMetaExportComponent::exportDoc(), SvxXMLNumRuleExport::exportLevelStyle(), xmloff::OFormExport::exportSubTags(), exportXFormsBinding(), and SvXMLExportPropertyMapper::exportXML().
|
inline |
Definition at line 576 of file xmlexp.hxx.
References CreateAutoStylePool(), and mxAutoStylePool.
Referenced by xmloff::OFormLayerXMLExport_Impl::collectGridColumnStylesAndIds(), XMLPageExport::collectPageMasterAutoStyle(), XMLShapeExport::collectShapeAutoStyles(), XMLTableExport::collectTableAutoStyles(), CreateChartExport(), CreateTextParagraphExport(), XMLTableExport::exportAutoStyles(), XMLPageExport::exportAutoStyles(), xmloff::OFormLayerXMLExport_Impl::exportAutoStyles(), XMLShapeExport::exportAutoStyles(), SdXMLExport::ExportAutoStyles_(), XMLShapeExport::ExportGraphicDefaults(), XMLTableExport::exportTableStyles(), XMLFontAutoStylePool::getUsedFontList(), SdXMLExport::ImpCreatePresPageStyleName(), SdXMLExport::ImpWritePresentationStyles(), xmloff::OFormLayerXMLExport_Impl::OFormLayerXMLExport_Impl(), SdXMLExport::setSourceDocument(), XMLPageExport::XMLPageExport(), XMLShapeExport::XMLShapeExport(), and XMLTableExport::XMLTableExport().
|
inline |
Definition at line 584 of file xmlexp.hxx.
References CreateChartExport(), and mxChartExport.
Referenced by XMLShapeExport::ImpCalcShapeType().
|
inline |
Definition at line 520 of file xmlexp.hxx.
References m_xContext.
Referenced by xmloff::OFormLayerXMLExport_Impl::ensureControlNumberStyleExport(), XMLMetaExportComponent::exportDoc(), XMLAutoTextEventExport::exportDoc(), XMLShapeExport::ImpExportTableShape(), and SvXMLNumFmtExport::SvXMLNumFmtExport().
|
protectedvirtual |
Reimplemented in SdXMLExport.
Definition at line 1779 of file xmlexp.cxx.
Referenced by ImplExportSettings().
|
virtual |
Reimplemented in SdXMLExport.
Definition at line 1840 of file xmlexp.cxx.
References mpNumExport.
Referenced by SchXMLAutoStylePoolP::exportStyleAttributes(), XMLDateTimeFormatHdl::exportXML(), and XMLTextFieldExport::ProcessValueAndType().
|
protected |
Definition at line 1436 of file xmlexp.cxx.
References mpImpl.
Referenced by SchXMLExport::exportDoc().
|
inline |
Definition at line 385 of file xmlexp.hxx.
Referenced by SchXMLExportHelper_Impl::exportCustomLabel(), XMLMetaExportComponent::exportDoc(), XMLVersionListExport::exportDoc(), XMLAutoTextEventExport::exportDoc(), SchXMLTools::exportRangeToSomewhere(), SchXMLTools::exportText(), and SdXMLExportDataStyleNumber().
|
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.
Definition at line 1783 of file xmlexp.cxx.
Referenced by ImplExportSettings().
|
inlineprotected |
Definition at line 251 of file xmlexp.hxx.
XMLEventExport & SvXMLExport::GetEventExport | ( | ) |
get Event export, with handlers for script types "None" and "StarBasic" already registered; other handlers may be registered, too.
Definition at line 2009 of file xmlexp.cxx.
References aStandardEventTable, and mpEventExport.
Referenced by XMLTextParagraphExport::_exportTextFrame(), XMLTextParagraphExport::_exportTextGraphic(), xmloff::OElementExport::exportEvents(), XMLAutoTextEventExport::exportEvents(), XMLTextParagraphExport::exportEvents(), XMLTextFieldExport::ExportField(), XMLTextFieldExport::ExportMacro(), XMLImageMapExport::ExportMapEntry(), ExportScripts_(), XMLStyleExport::exportStyle(), XMLTextParagraphExport::exportTextFootnote(), XMLTextParagraphExport::exportTextRange(), and xmloff::OFormLayerXMLExport_Impl::OFormLayerXMLExport_Impl().
|
inline |
Definition at line 476 of file xmlexp.hxx.
Referenced by AddEmbeddedXGraphic(), AddEmbeddedXGraphicAsBase64(), SvXMLAutoStylePoolP_Impl::AddFamily(), SchXMLExport::collectAutoStyles(), SdXMLExport::collectAutoStyles(), XMLChartExportPropertyMapper::ContextFilter(), XMLPageExportPropertyMapper::ContextFilter(), SdXMLExport::CreateFontAutoStylePool(), SchXMLExport::ExportAutoStyles_(), SdXMLExport::ExportAutoStyles_(), SdXMLExport::ExportContent_(), XMLMetaExportComponent::exportDoc(), XMLAutoTextEventExport::exportDoc(), exportDoc(), XMLShapeExport::ImpExportOLE2Shape(), XMLShapeExport::ImpExportTableShape(), InitCtor_(), and XMLTextListAutoStylePool::XMLTextListAutoStylePool().
|
inline |
Definition at line 449 of file xmlexp.hxx.
Referenced by SdXMLExport::collectAutoStyles(), XMLMetaExportComponent::exportDoc(), and SdXMLExport::ExportStyles_().
|
inline |
Definition at line 600 of file xmlexp.hxx.
References CreateFontAutoStylePool(), and mxFontAutoStylePool.
Referenced by SdXMLExport::ExportFontDecls_(), and SvxXMLNumRuleExport::exportLevelStyle().
|
inline |
Definition at line 608 of file xmlexp.hxx.
References CreateFormExport(), and mxFormExport.
Referenced by SdXMLExport::collectAutoStyles(), XMLShapeExport::collectShapeAutoStyles(), SdXMLExport::exportAutoDataStyles(), SdXMLExport::ExportAutoStyles_(), SdXMLExport::exportFormsElement(), and XMLShapeExport::ImpExportControlShape().
bool SvXMLExport::GetGraphicMimeTypeFromStream | ( | css::uno::Reference< css::graphic::XGraphic > const & | rxGraphic, |
OUString & | rOutMimeType | ||
) |
Definition at line 1880 of file xmlexp.cxx.
References comphelper::GraphicMimeTypeHelper::GetMimeTypeForImageStream(), and mxGraphicStorageHandler.
Referenced by XMLTextParagraphExport::_exportTextGraphic(), and XMLShapeExport::ImpExportGraphicObjectShape().
|
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 | ( | ) |
get the export for image maps
Definition at line 2025 of file xmlexp.cxx.
References mpImageMapExport.
Referenced by XMLTextParagraphExport::_exportTextFrame(), XMLTextParagraphExport::_exportTextGraphic(), XMLTextParagraphExport::exportEvents(), and XMLShapeExport::ImpExportGraphicObjectShape().
|
finaloverridevirtual |
Definition at line 836 of file xmlexp.cxx.
References m_implementationName.
comphelper::UnoInterfaceToUniqueIdentifierMapper & SvXMLExport::getInterfaceToIdentifierMapper | ( | ) |
Definition at line 2281 of file xmlexp.cxx.
References mpImpl.
Referenced by XMLAnimationsExporter::collect(), XMLShapeExport::collectShapeAutoStyles(), XMLAnimationsExporter::exportAnimations(), SdXMLExport::ExportContent_(), XMLTextParagraphExport::exportParagraph(), XMLShapeExport::exportShape(), SdXMLExport::getNavigationOrder(), and XMLShapeExport::ImpExportConnectorShape().
|
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().
|
inline |
Definition at line 396 of file xmlexp.hxx.
|
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().
|
inline |
Definition at line 523 of file xmlexp.hxx.
Referenced by XMLShapeExport::exportShape().
|
overridevirtual |
Definition at line 825 of file xmlexp.cxx.
References msFilterName.
|
inline |
Definition at line 391 of file xmlexp.hxx.
Referenced by XMLAutoTextEventExport::addNamespaces(), XMLScriptExportHandler::Export(), XMLStarBasicExportHandler::Export(), SvXMLMetaExport::Export(), XMLMetaExportComponent::exportDoc(), XMLEventExport::ExportEvent(), XMLSectionExport::ExportRegularSectionStart(), ExportScripts_(), SchXMLExportHelper_Impl::exportSeries(), xmloff::OElementExport::exportServiceNameAttribute(), xmloff::OColumnExport::exportServiceNameAttribute(), exportXFormsBinding(), SvXMLExportPropertyMapper::exportXML(), SvXMLAutoStylePoolP_Impl::exportXML(), XMLShapeExport::ImpExportEvents(), ImplExportSettings(), lcl_getXSDType(), SchXMLExportHelper_Impl::parseDocument(), SvXMLMetaExport::startElement(), SvXMLElementExport::StartElement(), XMLNumberFormatAttributesExportHelper::WriteAttributes(), and XMLTextCharStyleNamesElementExport::XMLTextCharStyleNamesElementExport().
|
inlineprotected |
Definition at line 180 of file xmlexp.hxx.
Referenced by AddAttribute(), AddAttributeASCII(), EndElement(), EnsureNamespace(), XMLVersionListExport::exportDoc(), SchXMLExport::SchXMLExport(), SdXMLExport::setSourceDocument(), setSourceDocument(), StartElement(), and XMLVersionListExport::XMLVersionListExport().
|
inline |
Definition at line 416 of file xmlexp.hxx.
Referenced by XMLNumberFormatAttributesExportHelper::GetCellType(), XMLNumberFormatAttributesExportHelper::GetCurrencySymbol(), and XMLNumberFormatAttributesExportHelper::SetNumberFormatAttributes().
auto SvXMLExport::GetODFVersionAttributeValue | ( | ) | const |
returns value of ODF version attribute
Definition at line 1215 of file xmlexp.cxx.
References assert(), getSaneDefaultVersion(), SvtSaveOptions::ODFSVER_010, SvtSaveOptions::ODFSVER_011, SvtSaveOptions::ODFSVER_012, SvtSaveOptions::ODFSVER_012_EXT_COMPAT, SvtSaveOptions::ODFSVER_012_EXTENDED, SvtSaveOptions::ODFSVER_013, and SvtSaveOptions::ODFSVER_013_EXTENDED.
Referenced by XMLMetaExportComponent::exportDoc(), and exportDoc().
|
inline |
Definition at line 388 of file xmlexp.hxx.
|
inline |
Definition at line 592 of file xmlexp.hxx.
References CreatePageExport(), and mxPageExport.
ProgressBarHelper * SvXMLExport::GetProgressBarHelper | ( | ) |
Definition at line 1961 of file xmlexp.cxx.
References cppu::any2bool(), cppu::UnoType< class >::get(), mpProgressBarHelper, mxExportInfo, mxStatusIndicator, SAL_WARN, XML_PROGRESSCURRENT, XML_PROGRESSMAX, XML_PROGRESSRANGE, and XML_PROGRESSREPEAT.
Referenced by XMLTextParagraphExport::exportParagraph(), XMLShapeExport::exportShape(), XMLTextParagraphExport::exportStyleAttributes(), and SdXMLExport::setSourceDocument().
OUString SvXMLExport::GetRelativeReference | ( | const OUString & | rValue | ) |
Definition at line 2089 of file xmlexp.cxx.
References INetURLObject::GetMainURL(), INetURLObject::GetRelURL(), mpImpl, msOrigFileName, INetURLObject::smartRel2Abs(), and INetURLObject::ToIUri.
Referenced by AddEmbeddedObject(), AddEmbeddedXGraphic(), XMLAnimationsExporter::exportAnimations(), SdXMLExport::ExportContent_(), XMLImageMapExport::ExportMapEntry(), xmloff::OFormExport::exportSubTags(), XMLPageExportPropertyMapper::handleElementItem(), xmloff::lcl_StoreMediaAndGetURL(), lcl_StoreMediaAndGetURL(), and SvXMLMetaExport::startElement().
SvtSaveOptions::ODFSaneDefaultVersion SvXMLExport::getSaneDefaultVersion | ( | ) | const |
returns the deterministic version for odf export
Definition at line 2297 of file xmlexp.cxx.
References mpImpl, and SvtSaveOptions::ODFSVER_LATEST.
Referenced by AddAttributeIdLegacy(), AddAttributesRDFa(), AddAttributeXmlId(), AddLanguageTagAttributes(), XMLPageMasterExportPropMapper::ContextFilter(), SdXMLExport::exportAnnotations(), XMLTextFieldExport::ExportFieldHelper(), XMLSectionExport::ExportIndexTemplateElement(), SvxXMLNumRuleExport::exportOutline(), SvXMLNumFmtExport::ExportPart_Impl(), XMLSectionExport::ExportRegularSectionStart(), XMLShapeExport::exportShape(), SdXMLExport::ExportStyles_(), XMLTableExport::exportTableTemplates(), XMLTextParagraphExport::exportTextRangeEnumeration(), XMLTransGradientStyleExport::exportXML(), SvXMLExportPropertyMapper::exportXML(), GetODFVersionAttributeValue(), XMLChartPropHdlFactory::GetPropertyHandler(), XMLSdPropHdlFactory::GetPropertyHandler(), ImpExportEnhancedGeometry(), ImpExportEnhancedPath(), XMLShapeExport::ImpExportGraphicObjectShape(), XMLShapeExport::ImpExportTableShape(), XMLShapeExport::ImpExportText(), InitCtor_(), lcl_AddGrddl(), SchXMLExport::SchXMLExport(), SdXMLExport::setSourceDocument(), SvXMLNumFmtExport::WriteFractionElement_Impl(), SvXMLNumFmtExport::WriteNumberElement_Impl(), SvXMLNumFmtExport::WriteRepeatedElement_Impl(), and SvXMLNumFmtExport::WriteScientificElement_Impl().
|
inline |
Definition at line 568 of file xmlexp.hxx.
References CreateShapeExport(), and mxShapeExport.
Referenced by SdXMLExport::collectAutoStyles(), XMLTextParagraphExport::collectTextAutoStylesOptimized(), XMLTextParagraphExport::exportAnyTextFrame(), SchXMLExportHelper_Impl::exportAutoStyles(), SdXMLExport::ExportAutoStyles_(), SdXMLExport::ExportContent_(), SdXMLExport::ExportMasterStyles_(), SchXMLExportHelper_Impl::exportPlotArea(), XMLShapeExport::exportShape(), SdXMLExport::ExportStyles_(), XMLTextParagraphExport::exportTextStyles(), SchXMLExportHelper_Impl::parseDocument(), and SdXMLExport::setSourceDocument().
|
protected |
Definition at line 1431 of file xmlexp.cxx.
References mpImpl.
Referenced by SchXMLExport::exportDoc().
|
inline |
Definition at line 451 of file xmlexp.hxx.
Referenced by SdXMLExport::ExportContent_().
|
finaloverridevirtual |
Definition at line 846 of file xmlexp.cxx.
uno::Reference< embed::XStorage > const & SvXMLExport::GetTargetStorage | ( | ) | const |
Definition at line 2292 of file xmlexp.cxx.
References mpImpl.
Referenced by XMLFontAutoStylePool::embedFontFile(), SdXMLExport::GetConfigurationSettings(), xmloff::lcl_StoreMediaAndGetURL(), and lcl_StoreMediaAndGetURL().
|
inline |
Definition at line 560 of file xmlexp.hxx.
References CreateTextParagraphExport(), and mxTextParagraphExport.
Referenced by xmloff::OFormLayerXMLExport_Impl::checkExamineControl(), SdXMLExport::collectAnnotationAutoStyles(), XMLShapeExport::collectShapeAutoStyles(), XMLTableExport::collectTableAutoStyles(), XMLTextParagraphExport::collectTextAutoStylesOptimized(), XMLShapeExport::CreateShapePropMapper(), SdXMLExport::exportAnnotations(), SchXMLExportHelper_Impl::exportAutoStyles(), SdXMLExport::ExportAutoStyles_(), XMLRedlineExport::ExportChangeAutoStyle(), XMLRedlineExport::ExportChangedRegion(), XMLTextFieldExport::ExportField(), XMLTextFieldExport::ExportFieldAutoStyle(), XMLTextFieldExport::ExportFieldHelper(), XMLTextMasterPageExport::exportHeaderFooterContent(), XMLTextFieldExport::ExportMetaField(), xmloff::OControlExport::exportSubTags(), XMLShapeExport::GetShapeTableExport(), XMLShapeExport::ImpExportMeasureShape(), XMLTableExport::ImpExportText(), XMLShapeExport::ImpExportText(), and SdXMLExport::setSourceDocument().
|
protectedvirtual |
Reimplemented in SdXMLExport.
Definition at line 1775 of file xmlexp.cxx.
Referenced by GetViewSettingsAndViews().
|
private |
Definition at line 1730 of file xmlexp.cxx.
References GetModel(), GetViewSettings(), i, nCount, comphelper::NewFlagContext(), and uno::Any::Value.
Referenced by ImplExportSettings().
|
inline |
Definition at line 381 of file xmlexp.hxx.
Referenced by xmloff::OPropertyExport::AddAttribute(), and StartElement().
|
inline |
Definition at line 616 of file xmlexp.hxx.
Referenced by SdXMLExport::exportAutoDataStyles().
void SvXMLExport::IgnorableWhitespace | ( | ) |
Definition at line 2219 of file xmlexp.cxx.
References DO_NOTHING, mnErrorFlags, mnExportFlags, msWS, mxHandler, PRETTY, SetError(), XMLERROR_FLAG_ERROR, XMLERROR_FLAG_SEVERE, and XMLERROR_SAX.
Referenced by XMLEventExport::EndElement(), XMLSectionExport::ExportBaseIndexBody(), XMLSectionExport::ExportBaseIndexStart(), SvXMLExportPropertyMapper::exportElementItems(), XMLSectionExport::ExportIndexHeaderStart(), XMLSectionExport::ExportRegularSectionStart(), XMLSectionExport::ExportSectionEnd(), exportXFormsInstance(), XMLBase64Export::exportXML(), SvXMLMetaExport::ignorableWhitespace(), and XMLEventExport::StartElement().
|
private |
Definition at line 1116 of file xmlexp.cxx.
References ExportAutoStyles_(), mnExportFlags, mxAutoStylePool, mxExportInfo, STYLES, xmloff::token::XML_AUTOMATIC_STYLES, and XML_NAMESPACE_OFFICE.
Referenced by exportDoc().
|
private |
Definition at line 1151 of file xmlexp.cxx.
References AddAttribute(), CheckAttrList(), ExportContent_(), xmloff::token::GetXMLToken(), meClass, SetBodyAttributes(), xmloff::token::XML_BODY, xmloff::token::XML_DRAWING, xmloff::token::XML_GLOBAL, xmloff::token::XML_GRAPHICS, XML_NAMESPACE_OFFICE, XML_NAMESPACE_TEXT, xmloff::token::XML_TEXT, xmloff::token::XML_TEXT_GLOBAL, xmloff::token::XML_TOKEN_INVALID, and xmloff::token::XML_TRUE.
Referenced by exportDoc().
|
private |
Definition at line 1142 of file xmlexp.cxx.
References ExportMasterStyles_(), xmloff::token::XML_MASTER_STYLES, and XML_NAMESPACE_OFFICE.
Referenced by exportDoc().
|
private |
Definition at line 1036 of file xmlexp.cxx.
References CheckAttrList(), and ExportMeta_().
Referenced by exportDoc().
|
private |
Definition at line 1043 of file xmlexp.cxx.
References CheckAttrList(), XMLSettingsExportHelper::exportAllSettings(), GetConfigurationSettings(), GetDocumentSpecificSettings(), GetNamespaceMap(), SvXMLNamespaceMap::GetQNameByKey(), GetViewSettingsAndViews(), xmloff::token::GetXMLToken(), xmloff::token::XML_CONFIGURATION_SETTINGS, XML_NAMESPACE_OFFICE, XML_NAMESPACE_OOO, xmloff::token::XML_SETTINGS, and xmloff::token::XML_VIEW_SETTINGS.
Referenced by exportDoc().
|
private |
Definition at line 1086 of file xmlexp.cxx.
References CheckAttrList(), CONTENT, ExportStyles_(), makeAny(), mnExportFlags, mxAutoStylePool, mxExportInfo, XML_NAMESPACE_OFFICE, and xmloff::token::XML_STYLES.
Referenced by exportDoc().
|
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.
|
overridevirtual |
Reimplemented in XMLAutoTextEventExport.
Definition at line 636 of file xmlexp.cxx.
References INetURLObject::GetMainURL(), INetURLObject::insertName(), mpImpl, mpNumExport, msOrigFileName, mxEmbeddedResolver, mxExportInfo, mxExtHandler, mxGraphicStorageHandler, mxHandler, mxNumberFormatsSupplier, mxStatusIndicator, sName, and INetURLObject::ToIUri.
Referenced by XMLAutoTextEventExport::initialize().
|
inline |
Definition at line 473 of file xmlexp.hxx.
|
protected |
Definition at line 1426 of file xmlexp.cxx.
References mpNamespaceMap.
|
privatevirtual |
Definition at line 1181 of file xmlexp.cxx.
Referenced by ImplExportContent().
|
protected |
Definition at line 299 of file xmlexp.cxx.
References mxExtHandler, and mxHandler.
Referenced by XMLMetaExportComponent::exportDoc(), and XMLAutoTextEventExport::exportDoc().
|
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.
nId | error ID, may contain an error flag |
rMsgParams | string parameters for the error message |
rExceptionMessage | original exception message (if applicable) |
rLocator | error location (if applicable) |
Referenced by cancel(), Characters(), EndElement(), filter(), IgnorableWhitespace(), and StartElement().
void SvXMLExport::SetError | ( | sal_Int32 | nId, |
const css::uno::Sequence< OUString > & | rMsgParams | ||
) |
|
inlineprotected |
Definition at line 177 of file xmlexp.hxx.
|
inlineprotected |
Definition at line 627 of file xmlexp.hxx.
|
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().
|
inline |
Definition at line 417 of file xmlexp.hxx.
|
overridevirtual |
Reimplemented in SdXMLExport, and XMLMetaExportComponent.
Definition at line 557 of file xmlexp.cxx.
References SvXMLNamespaceMap::Add(), cppu::any2bool(), aURL, AUTOSTYLES, DetermineModelType_(), GetNamespaceMap_(), mnExportFlags, mpNumExport, mxEventListener, mxExportInfo, mxHandler, mxModel, mxNumberFormatsSupplier, prefix, PRETTY, STYLES, xFactory, XML_USEPRETTYPRINTING, and XML_WRITTENNUMBERSTYLES.
Referenced by XMLMetaExportComponent::setSourceDocument(), and SdXMLExport::setSourceDocument().
void SvXMLExport::StartElement | ( | sal_uInt16 | nPrefix, |
enum::xmloff::token::XMLTokenEnum | eName, | ||
bool | bIgnWSOutside | ||
) |
Definition at line 2123 of file xmlexp.cxx.
References GetNamespaceMap_(), and xmloff::token::GetXMLToken().
Referenced by XMLSectionExport::ExportBaseIndexBody(), XMLSectionExport::ExportBaseIndexStart(), XMLSectionExport::ExportIndexHeaderStart(), XMLSectionExport::ExportRegularSectionStart(), XMLTextParagraphExport::exportRuby(), XMLTextParagraphExport::exportTextRangeEnumeration(), SvXMLMetaExport::startElement(), XMLEventExport::StartElement(), SvXMLElementExport::StartElement(), SvXMLElementExport::SvXMLElementExport(), and XMLTextCharStyleNamesElementExport::XMLTextCharStyleNamesElementExport().
void SvXMLExport::StartElement | ( | const OUString & | rName, |
bool | bIgnWSOutside | ||
) |
Definition at line 2131 of file xmlexp.cxx.
References ClearAttrList(), DO_NOTHING, GetXAttrList(), mnErrorFlags, mnExportFlags, mpImpl, msWS, mxHandler, PRETTY, SetError(), XMLERROR_FLAG_ERROR, XMLERROR_FLAG_SEVERE, XMLERROR_FLAG_WARNING, and XMLERROR_SAX.
|
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.
|
private |
Definition at line 120 of file xmlexp.hxx.
Referenced by getImplementationName().
|
private |
Definition at line 119 of file xmlexp.hxx.
Referenced by exportDoc(), ExportEmbeddedOwnObject(), and ExportScripts_().
|
private |
Definition at line 138 of file xmlexp.hxx.
|
protected |
Definition at line 262 of file xmlexp.hxx.
Referenced by SchXMLExport::collectAutoStyles(), and SdXMLExport::collectAutoStyles().
|
protected |
Definition at line 216 of file xmlexp.hxx.
|
private |
Definition at line 153 of file xmlexp.hxx.
Referenced by filter(), and ImplExportContent().
|
private |
Definition at line 162 of file xmlexp.hxx.
Referenced by DetermineModelType_(), and DisposingModel().
|
private |
Definition at line 157 of file xmlexp.hxx.
Referenced by Characters(), EndElement(), filter(), IgnorableWhitespace(), and StartElement().
|
private |
Definition at line 156 of file xmlexp.hxx.
Referenced by EndElement(), exportDoc(), ExportScripts_(), filter(), IgnorableWhitespace(), ImplExportAutoStyles(), ImplExportStyles(), setSourceDocument(), StartElement(), and ~SvXMLExport().
|
private |
Definition at line 149 of file xmlexp.hxx.
Referenced by GetEventExport(), and ~SvXMLExport().
|
private |
Definition at line 150 of file xmlexp.hxx.
Referenced by GetImageMapExport(), and ~SvXMLExport().
|
private |
Definition at line 117 of file xmlexp.hxx.
Referenced by AddAttributesRDFa(), AddAttributeXmlId(), addChaffWhenEncryptedStorage(), EndElement(), EnsureNamespace(), exportTextNumberElement(), filter(), GetDestinationShellID(), getInterfaceToIdentifierMapper(), GetRelativeReference(), getSaneDefaultVersion(), GetSourceShellID(), GetTargetStorage(), initialize(), SetNullDateOnUnitConverter(), StartElement(), and writeOutlineStyleAsNormalListStyle().
|
private |
Definition at line 137 of file xmlexp.hxx.
Referenced by EndElement(), EnsureNamespace(), exportDoc(), InitCtor_(), ResetNamespaceMap(), and ~SvXMLExport().
|
private |
Definition at line 139 of file xmlexp.hxx.
Referenced by addDataStyle(), dataStyleForceSystemLanguage(), exportAutoDataStyles(), exportDataStyles(), getDataStyleName(), initialize(), setSourceDocument(), and ~SvXMLExport().
|
private |
Definition at line 140 of file xmlexp.hxx.
Referenced by GetProgressBarHelper(), and ~SvXMLExport().
|
private |
Definition at line 151 of file xmlexp.hxx.
Referenced by ~SvXMLExport().
|
private |
Definition at line 135 of file xmlexp.hxx.
|
private |
Definition at line 136 of file xmlexp.hxx.
Referenced by filter(), and GetImageFilterName().
|
private |
Definition at line 134 of file xmlexp.hxx.
Referenced by filter(), GetRelativeReference(), and initialize().
|
private |
Definition at line 159 of file xmlexp.hxx.
Referenced by EndElement(), IgnorableWhitespace(), and StartElement().
|
private |
Definition at line 132 of file xmlexp.hxx.
Referenced by AddAttribute(), AddAttributeASCII(), AddAttributeList(), CheckAttrList(), ClearAttrList(), and exportDoc().
|
private |
Definition at line 144 of file xmlexp.hxx.
Referenced by GetAutoStylePool(), ImplExportAutoStyles(), and ImplExportStyles().
|
private |
Definition at line 145 of file xmlexp.hxx.
Referenced by GetChartExport().
|
private |
Definition at line 127 of file xmlexp.hxx.
Referenced by AddEmbeddedObject(), AddEmbeddedObjectAsBase64(), exportDoc(), and initialize().
|
private |
Definition at line 130 of file xmlexp.hxx.
Referenced by DisposingModel(), InitCtor_(), setSourceDocument(), and ~SvXMLExport().
|
private |
Definition at line 129 of file xmlexp.hxx.
Referenced by exportDoc(), GetProgressBarHelper(), ImplExportAutoStyles(), ImplExportStyles(), initialize(), setSourceDocument(), and ~SvXMLExport().
|
private |
Definition at line 124 of file xmlexp.hxx.
Referenced by addChaffWhenEncryptedStorage(), exportDoc(), initialize(), and SetDocHandler().
|
private |
Definition at line 147 of file xmlexp.hxx.
Referenced by ExportFontDecls_(), and GetFontAutoStylePool().
|
private |
Definition at line 148 of file xmlexp.hxx.
Referenced by exportAutoDataStyles(), and GetFormExport().
|
private |
Definition at line 126 of file xmlexp.hxx.
Referenced by AddEmbeddedXGraphic(), AddEmbeddedXGraphicAsBase64(), exportDoc(), GetGraphicMimeTypeFromStream(), and initialize().
|
private |
Definition at line 123 of file xmlexp.hxx.
Referenced by Characters(), EndElement(), exportDoc(), ExportEmbeddedOwnObject(), ExportScripts_(), filter(), IgnorableWhitespace(), initialize(), SetDocHandler(), setSourceDocument(), and StartElement().
|
private |
Definition at line 122 of file xmlexp.hxx.
Referenced by DetermineModelType_(), DisposingModel(), exportDoc(), ExportMeta_(), ExportScripts_(), InitCtor_(), setSourceDocument(), and ~SvXMLExport().
|
private |
Definition at line 125 of file xmlexp.hxx.
Referenced by initialize(), and setSourceDocument().
|
private |
Definition at line 146 of file xmlexp.hxx.
Referenced by GetPageExport().
|
private |
Definition at line 143 of file xmlexp.hxx.
Referenced by GetShapeExport().
|
private |
Definition at line 128 of file xmlexp.hxx.
Referenced by GetProgressBarHelper(), and initialize().
|
private |
Definition at line 142 of file xmlexp.hxx.
Referenced by GetTextParagraphExport().