LibreOffice Module xmloff (master) 1
|
#include <xmlexp.hxx>
Classes | |
struct | SettingsGroup |
Public Member Functions | |
SvXMLExport (const css::uno::Reference< css::uno::XComponentContext > &xContext, OUString implementationName, sal_Int16 const eDefaultMeasureUnit, const enum ::xmloff::token::XMLTokenEnum eClass, SvXMLExportFlags nExportFlag) | |
SvXMLExport (const css::uno::Reference< css::uno::XComponentContext > &xContext, OUString implementationName, OUString fileName, sal_Int16 const eDefaultMeasureUnit, const css::uno::Reference< css::xml::sax::XDocumentHandler > &rHandler) | |
SvXMLExport (const css::uno::Reference< css::uno::XComponentContext > &xContext, OUString implementationName, OUString fileName, const css::uno::Reference< css::xml::sax::XDocumentHandler > &rHandler, const css::uno::Reference< css::frame::XModel > &, FieldUnit const eDefaultFieldUnit, SvXMLExportFlags nExportFlag) | |
virtual | ~SvXMLExport () override |
virtual void | collectAutoStyles () |
virtual void SAL_CALL | setSourceDocument (const css::uno::Reference< css::lang::XComponent > &xDoc) override |
virtual sal_Bool SAL_CALL | filter (const css::uno::Sequence< css::beans::PropertyValue > &aDescriptor) override |
virtual void SAL_CALL | cancel () override |
virtual void SAL_CALL | initialize (const css::uno::Sequence< css::uno::Any > &aArguments) override |
virtual OUString SAL_CALL | getName () override |
virtual void SAL_CALL | setName (const OUString &aName) override |
virtual OUString SAL_CALL | getImplementationName () final override |
virtual sal_Bool SAL_CALL | supportsService (const OUString &ServiceName) final override |
virtual css::uno::Sequence< OUString > SAL_CALL | getSupportedServiceNames () final override |
OUString | EnsureNamespace (OUString const &i_rNamespace) |
ensures that the given namespace is in scope at the next started element. More... | |
void | CheckAttrList () |
void | ClearAttrList () |
void | AddAttribute (sal_uInt16 nPrefix, const OUString &rName, const OUString &rValue) |
void | AddAttribute (sal_uInt16 nPrefix, enum ::xmloff::token::XMLTokenEnum eName, const OUString &rValue) |
void | AddAttribute (sal_uInt16 nPrefix, enum ::xmloff::token::XMLTokenEnum eName, enum ::xmloff::token::XMLTokenEnum eValue) |
void | AddAttribute (const OUString &rQName, const OUString &rValue) |
void | AddAttribute (const OUString &rQName, enum ::xmloff::token::XMLTokenEnum eValue) |
void | AddLanguageTagAttributes (sal_uInt16 nPrefix, sal_uInt16 nPrefixRfc, const css::lang::Locale &rLocale, bool bWriteEmpty) |
Add language tag attributes, deciding which are necessary. More... | |
void | AddLanguageTagAttributes (sal_uInt16 nPrefix, sal_uInt16 nPrefixRfc, const LanguageTag &rLanguageTag, bool bWriteEmpty) |
Same as AddLanguageTagAttributes() but with LanguageTag parameter instead of Locale. More... | |
void | AddAttributeList (const css::uno::Reference< css::xml::sax::XAttributeList > &xAttrList) |
comphelper::AttributeList & | GetAttrList () |
css::uno::Reference< css::xml::sax::XAttributeList > | GetXAttrList () const |
const css::uno::Reference< css::xml::sax::XDocumentHandler > & | GetDocHandler () const |
const OUString & | GetOrigFileName () const |
const SvXMLNamespaceMap & | GetNamespaceMap () const |
size_t | GetInfoID (const OUString sPersonalInfo) 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 110 of file xmlexp.hxx.
SvXMLExport::SvXMLExport | ( | const css::uno::Reference< css::uno::XComponentContext > & | xContext, |
OUString | implementationName, | ||
sal_Int16 const | eDefaultMeasureUnit, | ||
const enum ::xmloff::token::XMLTokenEnum | eClass, | ||
SvXMLExportFlags | nExportFlag | ||
) |
SvXMLExport::SvXMLExport | ( | const css::uno::Reference< css::uno::XComponentContext > & | xContext, |
OUString | implementationName, | ||
OUString | fileName, | ||
sal_Int16 const | eDefaultMeasureUnit, | ||
const css::uno::Reference< css::xml::sax::XDocumentHandler > & | rHandler | ||
) |
SvXMLExport::SvXMLExport | ( | const css::uno::Reference< css::uno::XComponentContext > & | xContext, |
OUString | implementationName, | ||
OUString | fileName, | ||
const css::uno::Reference< css::xml::sax::XDocumentHandler > & | rHandler, | ||
const css::uno::Reference< css::frame::XModel > & | , | ||
FieldUnit const | eDefaultFieldUnit, | ||
SvXMLExportFlags | nExportFlag | ||
) |
References getImplementationName().
|
overridevirtual |
Definition at line 525 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 | ( | const OUString & | rQName, |
const OUString & | rValue | ||
) |
Definition at line 927 of file xmlexp.cxx.
References mxAttrList.
void SvXMLExport::AddAttribute | ( | const OUString & | rQName, |
enum ::xmloff::token::XMLTokenEnum | eValue | ||
) |
Definition at line 935 of file xmlexp.cxx.
References AddAttribute(), and xmloff::token::GetXMLToken().
void SvXMLExport::AddAttribute | ( | sal_uInt16 | nPrefix, |
const OUString & | rName, | ||
const OUString & | rValue | ||
) |
Definition at line 907 of file xmlexp.cxx.
References AddAttribute(), and GetNamespaceMap_().
Referenced by XMLTextParagraphExport::_exportTextFrame(), XMLTextParagraphExport::_exportTextGraphic(), xmloff::OPropertyExport::AddAttribute(), AddAttribute(), AddAttributeIdLegacy(), AddAttributeXmlId(), SchXMLExportHelper_Impl::AddAutoStyleAttribute(), SvXMLNumFmtExport::AddCalendarAttr_Impl(), AddLanguageTagAttributes(), xmloff::RDFaExportHelper::AddRDFa(), SvXMLNumFmtExport::AddStyleAttr_Impl(), XMLTextParagraphExport::addTextFrameAttributes(), EnsureNamespace(), XMLLineNumberingExport::Export(), XMLScriptExportHandler::Export(), XMLStarBasicExportHandler::Export(), XMLShapeExport::export3DLamps(), XMLShapeExport::export3DSceneAttributes(), XMLSectionExport::ExportAlphabeticalIndexStart(), XMLAnimationsExporter::exportAnimations(), SdXMLExport::exportAnnotations(), XMLTextParagraphExport::exportAnyTextFrame(), SchXMLExportHelper_Impl::exportAxis(), XMLSectionExport::ExportBaseIndexSource(), XMLSectionExport::ExportBaseIndexStart(), XMLSectionExport::ExportBibliographyConfiguration(), XMLSectionExport::ExportBoolean(), SchXMLExportHelper_Impl::exportCandleStickSeries(), XMLTableExport::ExportCell(), XMLRedlineExport::ExportChangedRegion(), XMLRedlineExport::ExportChangeInline(), XMLRedlineExport::ExportChangesListElements(), XMLTextParagraphExport::exportCharacterData(), XMLImageMapExport::ExportCircle(), SdXMLExport::ExportContent_(), XMLTextParagraphExport::ExportContentControl(), XMLTextParagraphExport::exportContour(), SchXMLExportHelper_Impl::exportCustomLabel(), SchXMLExportHelper_Impl::exportCustomLabelPosition(), XMLTextFieldExport::ExportDataBaseElement(), SchXMLExportHelper_Impl::exportDataPoints(), SchXMLExportHelper_Impl::exportDateScale(), XMLStyleExport::exportDefaultStyle(), exportDoc(), XMLVersionListExport::exportDoc(), XMLMetaExportComponent::exportDoc(), SchXMLExportHelper_Impl::exportErrorBar(), XMLTextFieldExport::ExportField(), XMLTextFieldExport::ExportFieldHelper(), SchXMLExportHelper_Impl::exportGrid(), XMLSectionExport::ExportIndexHeaderStart(), XMLIndexMarkExport::ExportIndexMark(), XMLSectionExport::ExportIndexTemplate(), XMLSectionExport::ExportIndexTemplateElement(), SdXMLayerExporter::exportLayer(), XMLSectionExport::ExportLevelParagraphStyles(), SvxXMLNumRuleExport::exportLevelStyle(), XMLImageMapExport::ExportMapEntry(), XMLSectionExport::ExportMasterDocHeadingDummies(), XMLTextMasterPageExport::exportMasterPageContent(), SdXMLExport::ExportMasterStyles_(), SvxXMLNumRuleExport::exportNumberingRule(), SvxXMLNumRuleExport::exportOutline(), XMLTextParagraphExport::exportParagraph(), SvXMLNumFmtExport::ExportPart_Impl(), SchXMLExportHelper_Impl::exportPlotArea(), XMLImageMapExport::ExportPolygon(), SdXMLExport::exportPresentationSettings(), SchXMLExportHelper_Impl::exportPropertyMapping(), XMLImageMapExport::ExportRectangle(), SchXMLExportHelper_Impl::exportRegressionCurve(), XMLSectionExport::ExportRegularSectionStart(), XMLTextParagraphExport::exportRuby(), ExportScripts_(), XMLSectionExport::ExportSectionStart(), SchXMLExportHelper_Impl::exportSeries(), XMLShapeExport::exportShape(), XMLPageExport::exportStyle(), XMLStyleExport::exportStyle(), SvXMLAutoStylePoolP::exportStyleAttributes(), SchXMLAutoStylePoolP::exportStyleAttributes(), XMLCellStyleExport::exportStyleAttributes(), XMLTextParagraphExport::exportStyleAttributes(), XMLStyleExport::exportStyleContent(), SchXMLExportHelper_Impl::exportTable(), XMLTableExport::exportTable(), XMLSectionExport::ExportTableAndIllustrationIndexSourceAttributes(), XMLTableExport::ExportTableColumns(), XMLSectionExport::ExportTableOfContentStart(), XMLTableExport::exportTableTemplates(), SvxXMLTabStopExport::exportTabStop(), XMLTextParagraphExport::exportTextDeclarations(), XMLTextParagraphExport::exportTextFootnote(), XMLTextParagraphExport::exportTextFootnoteConfigurationHelper(), XMLTextParagraphExport::exportTextFootnoteHelper(), XMLTextParagraphExport::exportTextLineBreak(), XMLTextParagraphExport::exportTextMark(), XMLTextParagraphExport::exportTextRangeEnumeration(), XMLTextParagraphExport::exportTextRangeSpan(), SdXMLExport::ExportThemeElement(), XMLIndexMarkExport::ExportTOCMarkAttributes(), XMLSectionExport::ExportUserIndexStart(), exportXFormsBinding(), exportXFormsInstance(), XMLFontAutoStylePool::exportXML(), XMLFootnoteSeparatorExport::exportXML(), XMLTextColumnsExport::exportXML(), XMLTextDropCapExport::exportXML(), XMLComplexColorExport::exportXML(), XMLBackgroundImageExport::exportXML(), XMLDashStyleExport::exportXML(), XMLGradientStyleExport::exportXML(), XMLHatchStyleExport::exportXML(), XMLMarkerStyleExport::exportXML(), XMLTransGradientStyleExport::exportXML(), XMLSectionFootnoteConfigExport::exportXML(), SvXMLAutoStylePoolP_Impl::exportXML(), XMLChartExportPropertyMapper::handleElementItem(), XMLPageExportPropertyMapper::handleElementItem(), XMLShapeExport::ImpExport3DShape(), XMLShapeExport::ImpExportAppletShape(), XMLShapeExport::ImpExportCaptionShape(), XMLShapeExport::ImpExportConnectorShape(), XMLShapeExport::ImpExportControlShape(), XMLShapeExport::ImpExportCustomShape(), XMLShapeExport::ImpExportEllipseShape(), ImpExportEnhancedGeometry(), ImpExportEnhancedPath(), ImpExportEquations(), XMLShapeExport::ImpExportEvents(), XMLShapeExport::ImpExportFrameShape(), XMLShapeExport::ImpExportGluePoints(), XMLShapeExport::ImpExportGraphicObjectShape(), ImpExportHandles(), XMLShapeExport::ImpExportLineShape(), XMLShapeExport::ImpExportMeasureShape(), XMLShapeExport::ImpExportMediaShape(), XMLShapeExport::ImpExportNewTrans_FeaturesAndWrite(), XMLShapeExport::ImpExportOLE2Shape(), XMLShapeExport::ImpExportPageShape(), XMLShapeExport::ImpExportPluginShape(), XMLShapeExport::ImpExportPolygonShape(), XMLShapeExport::ImpExportPresentationAttributes(), XMLShapeExport::ImpExportQRCode(), XMLShapeExport::ImpExportRectangleShape(), XMLShapeExport::ImpExportSignatureLine(), XMLShapeExport::ImpExportTableShape(), XMLShapeExport::ImpExportTextBoxShape(), xmloff::OFormsRootExport::implExportBool(), ImplExportContent(), SdXMLExport::ImplExportHeaderFooterDeclAttributes(), SdXMLExport::ImpWriteAutoLayoutInfos(), SdXMLExport::ImpWriteAutoLayoutPlaceholder(), SdXMLExport::ImpWriteHeaderFooterDecls(), SdXMLExport::ImpWritePageMasterInfos(), lcl_AddGrddl(), lcl_export(), lcl_exportDataType(), lcl_exportDataTypeFacets(), lcl_ExportPropertyBool(), lcl_ExportPropertyString(), lcl_exportString(), SvXMLMetaExport::MExport_(), SchXMLExportHelper_Impl::parseDocument(), XMLTextFieldExport::ProcessBibliographyData(), XMLTextFieldExport::ProcessBoolean(), XMLTextFieldExport::ProcessCommandType(), XMLTextFieldExport::ProcessDisplay(), XMLTextFieldExport::ProcessInteger(), XMLTextFieldExport::ProcessNumberingType(), XMLTextFieldExport::ProcessValueAndType(), SdXMLExportDataStyleNumber(), SdXMLExportStyle(), XMLNumberFormatAttributesExportHelper::SetNumberFormatAttributes(), SvXMLMetaExport::startElement(), XMLNumberFormatAttributesExportHelper::WriteAttributes(), SvXMLNumFmtExport::WriteColorElement_Impl(), SvXMLNumFmtExport::WriteEmbeddedEntries_Impl(), SvXMLNumFmtExport::WriteFractionElement_Impl(), SvXMLNumFmtExport::WriteIntegerElement_Impl(), SvXMLNumFmtExport::WriteMapElement_Impl(), SvXMLNumFmtExport::WriteMonthElement_Impl(), SvXMLNumFmtExport::WriteNumberElement_Impl(), SvXMLNumFmtExport::WriteScientificElement_Impl(), SvXMLNumFmtExport::WriteSecondsElement_Impl(), and XMLTextCharStyleNamesElementExport::XMLTextCharStyleNamesElementExport().
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::AddAttributeIdLegacy | ( | sal_uInt16 const | nLegacyPrefix, |
OUString const & | rValue | ||
) |
add xml:id and legacy namespace id
Definition at line 2274 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 1000 of file xmlexp.cxx.
References mxAttrList.
Referenced by XMLShapeExport::exportShape(), and 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 2340 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 2290 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 1185 of file xmlexp.cxx.
References comphelper::xml::makeXMLChaff(), mpImpl, and mxExtHandler.
Referenced by exportDoc(), XMLVersionListExport::exportDoc(), XMLMetaExportComponent::exportDoc(), and XMLAutoTextEventExport::exportDoc().
|
virtual |
Reimplemented in SdXMLExport.
Definition at line 1799 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 1895 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 1910 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 1838 of file xmlexp.cxx.
References EMBEDDED, getExportFlags(), Graphic::getOriginURL(), GetRelativeReference(), and mxGraphicStorageHandler.
Referenced by XMLTextParagraphExport::_exportTextGraphic(), SvxXMLNumRuleExport::exportLevelStyle(), xmloff::OPropertyExport::exportRelativeTargetLocation(), XMLChartExportPropertyMapper::handleElementItem(), XMLShapeExport::ImpExportGraphicObjectShape(), and XMLShapeExport::ImpExportOLE2Shape().
bool SvXMLExport::AddEmbeddedXGraphicAsBase64 | ( | css::uno::Reference< css::graphic::XGraphic > const & | rxGraphic | ) |
Definition at line 1875 of file xmlexp.cxx.
References EMBEDDED, XMLBase64Export::exportOfficeBinaryDataElement(), getExportFlags(), Graphic::getOriginURL(), and mxGraphicStorageHandler.
Referenced by XMLTextParagraphExport::_exportTextGraphic(), SvxXMLNumRuleExport::exportLevelStyle(), XMLBackgroundImageExport::exportXML(), XMLChartExportPropertyMapper::handleElementItem(), XMLShapeExport::ImpExportGraphicObjectShape(), and XMLShapeExport::ImpExportOLE2Shape().
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 941 of file xmlexp.cxx.
References AddAttribute(), AddLanguageTagAttributes(), xmloff::token::XML_COUNTRY, and xmloff::token::XML_LANGUAGE.
Referenced by SvXMLNumFmtExport::AddLanguageAttr_Impl(), AddLanguageTagAttributes(), XMLSectionExport::ExportAlphabeticalIndexStart(), and XMLSectionExport::ExportBibliographyConfiguration().
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 965 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 833 of file xmlexp.cxx.
References SetError(), XMLERROR_CANCEL, and XMLERROR_FLAG_SEVERE.
void SvXMLExport::Characters | ( | const OUString & | rChars | ) |
Definition at line 2126 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(), SvXMLMetaExport::MExport_(), XMLTextFieldExport::ProcessParagraphSequence(), SvXMLMetaExport::SimpleDateTimeElement(), SvXMLMetaExport::SimpleStringElement(), XMLRedlineExport::WriteComment(), SvXMLNumFmtExport::WriteCurrencyElement_Impl(), SvXMLNumFmtExport::WriteEmbeddedEntries_Impl(), and SvXMLNumFmtExport::WriteRepeatedElement_Impl().
void SvXMLExport::CheckAttrList | ( | ) |
Definition at line 1012 of file xmlexp.cxx.
References mxAttrList, and SAL_WARN_IF.
Referenced by XMLSectionExport::ExportBaseIndexBody(), XMLPageExport::exportDefaultStyle(), XMLStyleExport::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 1006 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 SchXMLExport, and SdXMLExport.
Definition at line 1681 of file xmlexp.cxx.
Referenced by SchXMLExport::collectAutoStyles(), SdXMLExport::collectAutoStyles(), and XMLFontAutoStylePool::getUsedFontList().
void SvXMLExport::collectDataStyles | ( | bool | bFromUsedStyles | ) |
Definition at line 1768 of file xmlexp.cxx.
References addDataStyle(), GetModel(), i, and nCount.
|
protectedvirtual |
Definition at line 1676 of file xmlexp.cxx.
Referenced by GetAutoStylePool().
|
protected |
Definition at line 1690 of file xmlexp.cxx.
References GetAutoStylePool().
Referenced by GetChartExport().
|
protectedvirtual |
Reimplemented in SdXMLExport.
Definition at line 1702 of file xmlexp.cxx.
Referenced by GetFontAutoStylePool().
|
protected |
Definition at line 1707 of file xmlexp.cxx.
Referenced by GetFormExport().
|
protectedvirtual |
Definition at line 1685 of file xmlexp.cxx.
Referenced by GetPageExport().
|
protectedvirtual |
Definition at line 1671 of file xmlexp.cxx.
Referenced by GetShapeExport().
|
protectedvirtual |
Definition at line 1666 of file xmlexp.cxx.
References GetAutoStylePool().
Referenced by GetTextParagraphExport().
sal_Int32 SvXMLExport::dataStyleForceSystemLanguage | ( | sal_Int32 | nFormat | ) | const |
Definition at line 1832 of file xmlexp.cxx.
References mpNumExport.
Referenced by XMLTextFieldExport::ExportFieldAutoStyle(), and XMLTextFieldExport::ProcessValueAndType().
|
private |
Definition at line 400 of file xmlexp.cxx.
References SvtModuleOptions::ClassifyFactoryByModel(), GetODFSaneDefaultVersion(), maUnitConv, meModelType, mpImpl, mxModel, SvtSaveOptions::ODFSVER_012, SvtSaveOptions::ODFSVER_012_EXTENDED, SvtSaveOptions::ODFSVER_013, SvtSaveOptions::ODFSVER_013_EXTENDED, SvXMLUnitConverter::overrideSaneDefaultVersion(), SAL_INFO, SvtModuleOptions::UNKNOWN_FACTORY, and SvtModuleOptions::WRITER.
Referenced by InitCtor_(), and setSourceDocument().
|
virtual |
Definition at line 2239 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 1934 of file xmlexp.cxx.
References SvXMLUnitConverter::encodeStyleName(), and GetMM100UnitConverter().
Referenced by XMLLineNumberingExport::Export(), SdXMLExport::ExportContent_(), SdXMLExport::ExportMasterStyles_(), XMLShapeExport::exportShape(), XMLTextDropCapExport::exportXML(), XMLDashStyleExport::exportXML(), XMLGradientStyleExport::exportXML(), XMLHatchStyleExport::exportXML(), XMLMarkerStyleExport::exportXML(), XMLTransGradientStyleExport::exportXML(), lcl_exportString(), SvXMLNumFmtExport::WriteMapElement_Impl(), and XMLTextCharStyleNamesElementExport::XMLTextCharStyleNamesElementExport().
void SvXMLExport::EndElement | ( | const OUString & | rName, |
bool | bIgnWSInside | ||
) |
Definition at line 2156 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.
void SvXMLExport::EndElement | ( | sal_uInt16 | nPrefix, |
enum ::xmloff::token::XMLTokenEnum | eName, | ||
bool | bIgnWSInside | ||
) |
Definition at line 2148 of file xmlexp.cxx.
References EndElement(), GetNamespaceMap_(), and xmloff::token::GetXMLToken().
Referenced by XMLEventExport::EndElement(), SvXMLMetaExport::endElement(), EndElement(), XMLTextParagraphExport::exportRuby(), XMLSectionExport::ExportSectionEnd(), XMLTextParagraphExport::exportTextRangeEnumeration(), SvXMLElementExport::~SvXMLElementExport(), and XMLTextCharStyleNamesElementExport::~XMLTextCharStyleNamesElementExport().
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 867 of file xmlexp.cxx.
References AddAttribute(), SvXMLNamespaceMap::GetKeyByPrefix(), GetNamespaceMap_(), SvXMLNamespaceMap::GetPrefixByKey(), xmloff::token::GetXMLToken(), mpImpl, mpNamespaceMap, n, sPrefix, u, and XML_NAMESPACE_UNKNOWN.
Referenced by xmloff::makeCURIE().
|
virtual |
Definition at line 1828 of file xmlexp.cxx.
Referenced by XMLShapeExport::ImpExportCaptionShape().
|
virtual |
Reimplemented in SdXMLExport.
Definition at line 1811 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 XMLMetaExportComponent, SchXMLExport, XMLVersionListExport, SdXMLExport, and XMLAutoTextEventExport.
Referenced by ImplExportAutoStyles().
|
protectedpure virtual |
Override this method to export the content of <office:body>.
Implemented in XMLMetaExportComponent, SchXMLExport, XMLVersionListExport, SdXMLExport, and XMLAutoTextEventExport.
Referenced by ImplExportContent().
|
virtual |
|
virtual |
Reimplemented in SchXMLExport, XMLVersionListExport, XMLMetaExportComponent, and XMLAutoTextEventExport.
Definition at line 1214 of file xmlexp.cxx.
References AddAttribute(), addChaffWhenEncryptedStorage(), Any, AUTOSTYLES, CheckAttrList(), CONTENT, ERRCODE_NONE, ExportFontDecls_(), ExportScripts_(), FONTDECLS, cppu::UnoType< typename T >::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, 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 2016 of file xmlexp.cxx.
References Any, 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 1476 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 XMLMetaExportComponent, SchXMLExport, XMLVersionListExport, SdXMLExport, and XMLAutoTextEventExport.
Referenced by ImplExportMasterStyles().
|
protectedvirtual |
Override this method to export the content of <office:meta>.
There is a default implementation.
Reimplemented in XMLMetaExportComponent, SdXMLExport, and XMLAutoTextEventExport.
Definition at line 1416 of file xmlexp.cxx.
References Characters(), utl::DocInfoHelper::GetGeneratorString(), mxModel, xmloff::token::XML_GENERATOR, xmloff::token::XML_META, XML_NAMESPACE_META, and XML_NAMESPACE_OFFICE.
Referenced by XMLMetaExportComponent::ExportMeta_(), SdXMLExport::ExportMeta_(), and ImplExportMeta().
|
protectedvirtual |
Override this method to export the content of <office:scripts>.
There is a default implementation.
Reimplemented in XMLAutoTextEventExport.
Definition at line 1443 of file xmlexp.cxx.
References AddAttribute(), EMBEDDED, XMLEventExport::Export(), GetEventExport(), GetModel(), GetNamespaceMap(), m_xContext, mnExportFlags, mxHandler, mxModel, xmloff::token::XML_LANGUAGE, XML_NAMESPACE_OFFICE, XML_NAMESPACE_OOO, XML_NAMESPACE_SCRIPT, xmloff::token::XML_SCRIPT, and xmloff::token::XML_SCRIPTS.
Referenced by exportDoc().
|
protectedvirtual |
Override this method to export the content of <style:styles>.
If bUsed is set, used styles should be exported only. Overriding Methods must call this method !
Reimplemented in SdXMLExport, and XMLAutoTextEventExport.
Definition at line 1482 of file xmlexp.cxx.
References XMLDashStyleExport::exportXML(), XMLGradientStyleExport::exportXML(), XMLHatchStyleExport::exportXML(), XMLMarkerStyleExport::exportXML(), XMLTransGradientStyleExport::exportXML(), XMLImageStyle::exportXML(), and GetModel().
Referenced by SdXMLExport::ExportStyles_(), and ImplExportStyles().
bool SvXMLExport::exportTextNumberElement | ( | ) | const |
Definition at line 2364 of file xmlexp.cxx.
References mpImpl.
|
overridevirtual |
Definition at line 756 of file xmlexp.cxx.
References Any, CONTENT, DO_NOTHING, ERROR_OCCURRED, ex, exportDoc(), cppu::getCaughtException(), meClass, META, mnErrorFlags, mnExportFlags, mpImpl, msFilterName, msImgFilterName, msOrigFileName, mxHandler, name, NO, SetError(), SETTINGS, sMessage, STYLES, XMLERROR_API, XMLERROR_FLAG_ERROR, and XMLERROR_FLAG_SEVERE.
|
inline |
Definition at line 374 of file xmlexp.hxx.
Referenced by XMLAutoTextEventExport::addNamespaces(), XMLMetaExportComponent::exportDoc(), xmloff::OFormExport::exportSubTags(), exportXFormsBinding(), and SvXMLExportPropertyMapper::exportXML().
|
inline |
Definition at line 573 of file xmlexp.hxx.
References CreateAutoStylePool(), and mxAutoStylePool.
Referenced by xmloff::OFormLayerXMLExport_Impl::collectGridColumnStylesAndIds(), XMLPageExport::collectPageMasterAutoStyle(), XMLShapeExport::collectShapeAutoStyles(), XMLTableExport::collectTableAutoStyles(), CreateChartExport(), CreateTextParagraphExport(), XMLShapeExport::exportAutoStyles(), XMLTableExport::exportAutoStyles(), XMLPageExport::exportAutoStyles(), xmloff::OFormLayerXMLExport_Impl::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 581 of file xmlexp.hxx.
References CreateChartExport(), and mxChartExport.
Referenced by XMLShapeExport::ImpCalcShapeType().
|
inline |
Definition at line 517 of file xmlexp.hxx.
References m_xContext.
Referenced by xmloff::OFormLayerXMLExport_Impl::ensureControlNumberStyleExport(), XMLMetaExportComponent::exportDoc(), XMLAutoTextEventExport::exportDoc(), and SvXMLNumFmtExport::SvXMLNumFmtExport().
|
protectedvirtual |
Reimplemented in SdXMLExport.
Definition at line 1759 of file xmlexp.cxx.
Referenced by ImplExportSettings().
|
virtual |
Reimplemented in SdXMLExport.
Definition at line 1820 of file xmlexp.cxx.
References mpNumExport.
Referenced by SchXMLAutoStylePoolP::exportStyleAttributes(), XMLDateTimeFormatHdl::exportXML(), and XMLTextFieldExport::ProcessValueAndType().
|
protected |
Definition at line 1411 of file xmlexp.cxx.
References mpImpl.
Referenced by SchXMLExport::exportDoc().
|
inline |
Definition at line 379 of file xmlexp.hxx.
References mxHandler.
Referenced by SchXMLExportHelper_Impl::exportCustomLabel(), XMLVersionListExport::exportDoc(), XMLMetaExportComponent::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 1763 of file xmlexp.cxx.
Referenced by ImplExportSettings().
|
inlineprotected |
Definition at line 252 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 1989 of file xmlexp.cxx.
References aStandardEventTable, and mpEventExport.
Referenced by XMLTextParagraphExport::_exportTextFrame(), XMLTextParagraphExport::_exportTextGraphic(), xmloff::OElementExport::exportEvents(), XMLAutoTextEventExport::exportEvents(), XMLTextParagraphExport::exportEvents(), XMLTextFieldExport::ExportMacro(), XMLImageMapExport::ExportMapEntry(), ExportScripts_(), XMLStyleExport::exportStyle(), and xmloff::OFormLayerXMLExport_Impl::OFormLayerXMLExport_Impl().
|
inline |
Definition at line 473 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_(), exportDoc(), XMLMetaExportComponent::exportDoc(), XMLAutoTextEventExport::exportDoc(), XMLShapeExport::ImpExportOLE2Shape(), InitCtor_(), and XMLTextListAutoStylePool::XMLTextListAutoStylePool().
|
inline |
Definition at line 446 of file xmlexp.hxx.
Referenced by SdXMLExport::collectAutoStyles(), XMLMetaExportComponent::exportDoc(), and SdXMLExport::ExportStyles_().
|
inline |
Definition at line 597 of file xmlexp.hxx.
References CreateFontAutoStylePool(), and mxFontAutoStylePool.
Referenced by SdXMLExport::ExportFontDecls_(), and SvxXMLNumRuleExport::exportLevelStyle().
|
inline |
Definition at line 605 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 1860 of file xmlexp.cxx.
References comphelper::GraphicMimeTypeHelper::GetMimeTypeForImageStream(), and mxGraphicStorageHandler.
Referenced by XMLTextParagraphExport::_exportTextGraphic(), XMLShapeExport::ImpExportGraphicObjectShape(), and XMLShapeExport::ImpExportOLE2Shape().
|
inlineprotected |
Definition at line 255 of file xmlexp.hxx.
OUString const & SvXMLExport::GetImageFilterName | ( | ) | const |
Get clamped mimetype for image export (empty if none)
Definition at line 2378 of file xmlexp.cxx.
References msImgFilterName.
XMLImageMapExport & SvXMLExport::GetImageMapExport | ( | ) |
get the export for image maps
Definition at line 2005 of file xmlexp.cxx.
References mpImageMapExport.
Referenced by XMLTextParagraphExport::_exportTextFrame(), XMLTextParagraphExport::_exportTextGraphic(), XMLTextParagraphExport::exportEvents(), and XMLShapeExport::ImpExportGraphicObjectShape().
|
finaloverridevirtual |
Definition at line 851 of file xmlexp.cxx.
References m_implementationName.
|
inline |
Definition at line 388 of file xmlexp.hxx.
Referenced by SdXMLExport::exportAnnotations(), and XMLTextFieldExport::ExportFieldHelper().
comphelper::UnoInterfaceToUniqueIdentifierMapper & SvXMLExport::getInterfaceToIdentifierMapper | ( | ) |
Definition at line 2248 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 393 of file xmlexp.hxx.
|
inline |
Definition at line 391 of file xmlexp.hxx.
Referenced by XMLTextParagraphExport::addTextFrameAttributes(), EncodeStyleName(), XMLLineNumberingExport::Export(), XMLShapeExport::export3DSceneAttributes(), SdXMLExport::exportAnnotations(), XMLImageMapExport::ExportCircle(), XMLTextParagraphExport::exportContour(), XMLSectionExport::ExportIndexTemplateElement(), SvxXMLNumRuleExport::exportLevelStyle(), XMLImageMapExport::ExportPolygon(), XMLImageMapExport::ExportRectangle(), SvxXMLTabStopExport::exportTabStop(), XMLTextParagraphExport::exportTextFootnoteConfigurationHelper(), XMLFontAutoStylePool::exportXML(), XMLFootnoteSeparatorExport::exportXML(), XMLTextColumnsExport::exportXML(), XMLTextDropCapExport::exportXML(), XMLDashStyleExport::exportXML(), XMLHatchStyleExport::exportXML(), XMLSectionFootnoteConfigExport::exportXML(), SvXMLExportPropertyMapper::exportXML(), XMLShapeExport::ImpExport3DShape(), XMLShapeExport::ImpExportCaptionShape(), XMLShapeExport::ImpExportConnectorShape(), ImpExportEnhancedGeometry(), XMLShapeExport::ImpExportGluePoints(), XMLShapeExport::ImpExportLineShape(), XMLShapeExport::ImpExportMeasureShape(), XMLShapeExport::ImpExportNewTrans_FeaturesAndWrite(), XMLShapeExport::ImpExportRectangleShape(), XMLShapeExport::ImpExportTextBoxShape(), SdXMLExport::ImpWriteAutoLayoutPlaceholder(), SdXMLExport::ImpWritePageMasterInfos(), SchXMLExportHelper_Impl::parseDocument(), XMLTextFieldExport::ProcessNumberingType(), SetNullDateOnUnitConverter(), and XMLNumberFormatAttributesExportHelper::WriteAttributes().
|
inline |
Definition at line 411 of file xmlexp.hxx.
References mxModel.
Referenced by xmloff::OFormsRootExport::addModelAttributes(), SchXMLExport::collectAutoStyles(), SdXMLExport::collectAutoStyles(), collectDataStyles(), SdXMLExport::CreateFontAutoStylePool(), XMLShapeExport::CreateShapePropMapper(), xmloff::OFormLayerXMLExport_Impl::documentContainsXForms(), XMLLineNumberingExport::Export(), SchXMLExport::ExportAutoStyles_(), SchXMLExportHelper_Impl::exportAxes(), XMLSectionExport::ExportBibliographyConfiguration(), SchXMLExportHelper_Impl::exportCandleStickSeries(), XMLRedlineExport::ExportChangesListAutoStyles(), XMLRedlineExport::ExportChangesListElements(), SchXMLExport::ExportContent_(), SchXMLExportHelper_Impl::exportDataPoints(), SchXMLExport::exportDoc(), XMLMetaExportComponent::exportDoc(), XMLShapeExport::ExportGraphicDefaults(), SdXMLayerExporter::exportLayer(), XMLSectionExport::ExportMasterDocHeadingDummies(), SdXMLExport::ExportMasterStyles_(), SdXMLExport::ExportMeta_(), SchXMLExportHelper_Impl::exportPlotArea(), SdXMLExport::exportPresentationSettings(), SchXMLExportHelper_Impl::exportPropertyMapping(), ExportScripts_(), SchXMLExportHelper_Impl::exportSeries(), ExportStyles_(), SchXMLExportHelper_Impl::exportTable(), XMLTableExport::exportTableTemplates(), exportXForms(), SdXMLExport::GetConfigurationSettings(), xmloff::getRelativeReference(), XMLShapeExport::GetShapeTableExport(), SdXMLExport::GetViewSettings(), GetViewSettingsAndViews(), SdXMLExport::ImpPrepAutoLayoutInfos(), SdXMLExport::ImpPrepMasterPageInfos(), SdXMLExport::ImpPrepPageMasterInfos(), xmloff::lcl_StoreMediaAndGetURL(), xmloff::RDFaExportHelper::RDFaExportHelper(), SetNullDateOnUnitConverter(), SdXMLExport::setSourceDocument(), XMLTableExport::XMLTableExport(), and XMLTextListAutoStylePool::XMLTextListAutoStylePool().
|
inline |
Definition at line 520 of file xmlexp.hxx.
|
overridevirtual |
Definition at line 840 of file xmlexp.cxx.
References msFilterName.
|
inline |
Definition at line 385 of file xmlexp.hxx.
Referenced by XMLAutoTextEventExport::addNamespaces(), SvXMLMetaExport::Export(), XMLScriptExportHandler::Export(), XMLStarBasicExportHandler::Export(), XMLMetaExportComponent::exportDoc(), XMLEventExport::ExportEvent(), XMLSectionExport::ExportRegularSectionStart(), ExportScripts_(), SchXMLExportHelper_Impl::exportSeries(), xmloff::OElementExport::exportServiceNameAttribute(), xmloff::OColumnExport::exportServiceNameAttribute(), exportXFormsBinding(), SvXMLExportPropertyMapper::exportXML(), XMLShapeExport::ImpExportEvents(), ImplExportSettings(), lcl_getXSDType(), SchXMLExportHelper_Impl::parseDocument(), SvXMLMetaExport::startElement(), SvXMLElementExport::StartElement(), XMLNumberFormatAttributesExportHelper::WriteAttributes(), and XMLTextCharStyleNamesElementExport::XMLTextCharStyleNamesElementExport().
|
inlineprotected |
Definition at line 181 of file xmlexp.hxx.
Referenced by AddAttribute(), EndElement(), EnsureNamespace(), XMLVersionListExport::exportDoc(), SchXMLExport::SchXMLExport(), setSourceDocument(), SdXMLExport::setSourceDocument(), StartElement(), and XMLVersionListExport::XMLVersionListExport().
|
inline |
Definition at line 413 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 1195 of file xmlexp.cxx.
References 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 exportDoc(), and XMLMetaExportComponent::exportDoc().
|
inline |
Definition at line 382 of file xmlexp.hxx.
|
inline |
Definition at line 589 of file xmlexp.hxx.
References CreatePageExport(), and mxPageExport.
ProgressBarHelper * SvXMLExport::GetProgressBarHelper | ( | ) |
Definition at line 1941 of file xmlexp.cxx.
References 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 2057 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(), SvXMLMetaExport::MExport_(), XMLTextFieldExport::ProcessBibliographyData(), and SvXMLMetaExport::startElement().
SvtSaveOptions::ODFSaneDefaultVersion SvXMLExport::getSaneDefaultVersion | ( | ) | const |
returns the deterministic version for odf export
Definition at line 2264 of file xmlexp.cxx.
References GetODFSaneDefaultVersion(), and mpImpl.
Referenced by AddAttributeIdLegacy(), AddAttributesRDFa(), AddAttributeXmlId(), AddLanguageTagAttributes(), XMLPageMasterExportPropMapper::ContextFilter(), SdXMLExport::exportAnnotations(), SchXMLExportHelper_Impl::exportAxis(), XMLSectionExport::ExportBaseIndexSource(), SchXMLExportHelper_Impl::exportCoordinateRegion(), SchXMLExportHelper_Impl::exportDataPoints(), SchXMLExportHelper_Impl::exportErrorBar(), XMLTextFieldExport::ExportFieldHelper(), XMLSectionExport::ExportIndexTemplateElement(), XMLTextParagraphExport::ExportListId(), SvxXMLNumRuleExport::exportOutline(), SvXMLNumFmtExport::ExportPart_Impl(), SchXMLTools::exportRangeToSomewhere(), SchXMLExportHelper_Impl::exportRegressionCurve(), SchXMLExportHelper_Impl::exportSeries(), XMLShapeExport::exportShape(), SdXMLExport::ExportStyles_(), XMLTableExport::exportTableTemplates(), SdXMLExport::ExportThemeElement(), XMLGradientStyleExport::exportXML(), XMLTransGradientStyleExport::exportXML(), SvXMLExportPropertyMapper::exportXML(), SvXMLExportPropertyMapper::Filter_(), GetODFVersionAttributeValue(), XMLChartPropHdlFactory::GetPropertyHandler(), XMLSdPropHdlFactory::GetPropertyHandler(), XMLChartExportPropertyMapper::handleSpecialItem(), XMLTextExportPropertySetMapper::handleSpecialItem(), ImpExportEnhancedGeometry(), ImpExportEnhancedPath(), XMLShapeExport::ImpExportTableShape(), XMLShapeExport::ImpExportText(), InitCtor_(), lcl_AddGrddl(), SchXMLExportHelper_Impl::parseDocument(), SchXMLExport::SchXMLExport(), SdXMLExport::setSourceDocument(), SvXMLNumFmtExport::WriteFractionElement_Impl(), SvXMLNumFmtExport::WriteIntegerElement_Impl(), SvXMLNumFmtExport::WriteNumberElement_Impl(), SvXMLNumFmtExport::WriteRepeatedElement_Impl(), and SvXMLNumFmtExport::WriteScientificElement_Impl().
|
inline |
Definition at line 565 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 1406 of file xmlexp.cxx.
References mpImpl.
Referenced by SchXMLExport::exportDoc().
|
inline |
Definition at line 448 of file xmlexp.hxx.
References mxStatusIndicator.
Referenced by SdXMLExport::ExportContent_().
|
finaloverridevirtual |
Definition at line 861 of file xmlexp.cxx.
uno::Reference< embed::XStorage > const & SvXMLExport::GetTargetStorage | ( | ) | const |
Definition at line 2259 of file xmlexp.cxx.
References mpImpl.
Referenced by SdXMLExport::GetConfigurationSettings(), xmloff::lcl_StoreMediaAndGetURL(), and lcl_StoreMediaAndGetURL().
|
inline |
Definition at line 557 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(), XMLShapeExport::ImpExportText(), XMLTableExport::ImpExportText(), and SdXMLExport::setSourceDocument().
|
protectedvirtual |
Reimplemented in SdXMLExport.
Definition at line 1755 of file xmlexp.cxx.
Referenced by GetViewSettingsAndViews().
|
private |
Definition at line 1712 of file xmlexp.cxx.
References GetModel(), GetViewSettings(), i, comphelper::makePropertyValue(), nCount, comphelper::NewFlagContext(), and u.
Referenced by ImplExportSettings().
|
inline |
Definition at line 375 of file xmlexp.hxx.
Referenced by xmloff::OPropertyExport::AddAttribute(), and StartElement().
|
inline |
Definition at line 613 of file xmlexp.hxx.
References mxFormExport.
Referenced by SdXMLExport::exportAutoDataStyles().
void SvXMLExport::IgnorableWhitespace | ( | ) |
Definition at line 2187 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 1098 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 1133 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 1124 of file xmlexp.cxx.
References ExportMasterStyles_(), xmloff::token::XML_MASTER_STYLES, and XML_NAMESPACE_OFFICE.
Referenced by exportDoc().
|
private |
Definition at line 1018 of file xmlexp.cxx.
References CheckAttrList(), and ExportMeta_().
Referenced by exportDoc().
|
private |
Definition at line 1025 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 1068 of file xmlexp.cxx.
References Any, CheckAttrList(), CONTENT, ExportStyles_(), mnExportFlags, mxAutoStylePool, mxExportInfo, u, XML_NAMESPACE_OFFICE, and xmloff::token::XML_STYLES.
Referenced by exportDoc().
|
private |
Definition at line 291 of file xmlexp.cxx.
References AUTOSTYLES, CONTENT, DetermineModelType_(), FONTDECLS, getExportFlags(), getSaneDefaultVersion(), xmloff::token::GetXMLToken(), MASTERSTYLES, META, mpNamespaceMap, mxEventListener, mxModel, OASIS, SvtSaveOptions::ODFSVER_EXTENDED, SCRIPTS, SETTINGS, STYLES, xmloff::token::XML_N_CALC_EXT, xmloff::token::XML_N_CHART, xmloff::token::XML_N_CONFIG, xmloff::token::XML_N_CSS3TEXT, xmloff::token::XML_N_DC, xmloff::token::XML_N_DOM, xmloff::token::XML_N_DR3D, xmloff::token::XML_N_DRAW, xmloff::token::XML_N_DRAW_EXT, xmloff::token::XML_N_FIELD, xmloff::token::XML_N_FORM, xmloff::token::XML_N_FORMX, xmloff::token::XML_N_GRDDL, xmloff::token::XML_N_LO_EXT, xmloff::token::XML_N_MATH, xmloff::token::XML_N_META, xmloff::token::XML_N_NUMBER, xmloff::token::XML_N_OF, xmloff::token::XML_N_OFFICE, xmloff::token::XML_N_OOO, xmloff::token::XML_N_OOOC, xmloff::token::XML_N_OOOW, xmloff::token::XML_N_RPT, xmloff::token::XML_N_SCRIPT, xmloff::token::XML_N_STYLE, xmloff::token::XML_N_TABLE, xmloff::token::XML_N_TABLE_EXT, xmloff::token::XML_N_TEXT, xmloff::token::XML_N_XHTML, xmloff::token::XML_N_XLINK, xmloff::token::XML_N_XSD, xmloff::token::XML_N_XSI, XML_NAMESPACE_CALC_EXT, XML_NAMESPACE_CHART, XML_NAMESPACE_CONFIG, XML_NAMESPACE_CSS3TEXT, XML_NAMESPACE_DC, XML_NAMESPACE_DOM, XML_NAMESPACE_DR3D, XML_NAMESPACE_DRAW, XML_NAMESPACE_DRAW_EXT, XML_NAMESPACE_FIELD, XML_NAMESPACE_FO, XML_NAMESPACE_FORM, XML_NAMESPACE_FORMX, XML_NAMESPACE_GRDDL, XML_NAMESPACE_LO_EXT, XML_NAMESPACE_MATH, XML_NAMESPACE_META, XML_NAMESPACE_NUMBER, XML_NAMESPACE_OF, XML_NAMESPACE_OFFICE, XML_NAMESPACE_OOO, XML_NAMESPACE_OOOC, XML_NAMESPACE_OOOW, XML_NAMESPACE_REPORT, XML_NAMESPACE_SCRIPT, XML_NAMESPACE_STYLE, XML_NAMESPACE_SVG, XML_NAMESPACE_TABLE, XML_NAMESPACE_TABLE_EXT, XML_NAMESPACE_TEXT, XML_NAMESPACE_XFORMS, XML_NAMESPACE_XHTML, XML_NAMESPACE_XLINK, XML_NAMESPACE_XSD, XML_NAMESPACE_XSI, xmloff::token::XML_NP_CALC_EXT, xmloff::token::XML_NP_CHART, xmloff::token::XML_NP_CONFIG, xmloff::token::XML_NP_CSS3TEXT, xmloff::token::XML_NP_DC, xmloff::token::XML_NP_DOM, xmloff::token::XML_NP_DR3D, xmloff::token::XML_NP_DRAW, xmloff::token::XML_NP_DRAW_EXT, xmloff::token::XML_NP_FIELD, xmloff::token::XML_NP_FO, xmloff::token::XML_NP_FORM, xmloff::token::XML_NP_FORMX, xmloff::token::XML_NP_GRDDL, xmloff::token::XML_NP_LO_EXT, xmloff::token::XML_NP_MATH, xmloff::token::XML_NP_META, xmloff::token::XML_NP_NUMBER, xmloff::token::XML_NP_OF, xmloff::token::XML_NP_OFFICE, xmloff::token::XML_NP_OOO, xmloff::token::XML_NP_OOOC, xmloff::token::XML_NP_OOOW, xmloff::token::XML_NP_RPT, xmloff::token::XML_NP_SCRIPT, xmloff::token::XML_NP_STYLE, xmloff::token::XML_NP_SVG, xmloff::token::XML_NP_TABLE, xmloff::token::XML_NP_TABLE_EXT, xmloff::token::XML_NP_TEXT, xmloff::token::XML_NP_XFORMS_1_0, xmloff::token::XML_NP_XHTML, xmloff::token::XML_NP_XLINK, xmloff::token::XML_NP_XSD, and xmloff::token::XML_NP_XSI.
|
overridevirtual |
Reimplemented in XMLAutoTextEventExport.
Definition at line 652 of file xmlexp.cxx.
References aArguments, INetURLObject::GetMainURL(), INetURLObject::insertName(), mpImpl, mpNumExport, msOrigFileName, mxEmbeddedResolver, mxExportInfo, mxExtHandler, mxGraphicStorageHandler, mxHandler, mxNumberFormatsSupplier, mxStatusIndicator, sName, INetURLObject::ToIUri, and u.
Referenced by XMLAutoTextEventExport::initialize().
|
inline |
Definition at line 470 of file xmlexp.hxx.
|
protected |
Definition at line 1401 of file xmlexp.cxx.
References mpNamespaceMap.
|
privatevirtual |
Definition at line 1161 of file xmlexp.cxx.
Referenced by ImplExportContent().
|
protected |
Definition at line 285 of file xmlexp.cxx.
References mxExtHandler, and mxHandler.
Referenced by XMLMetaExportComponent::exportDoc(), and XMLAutoTextEventExport::exportDoc().
|
inlineprotected |
Definition at line 618 of file xmlexp.hxx.
References mxEmbeddedResolver.
void SvXMLExport::SetError | ( | sal_Int32 | nId, |
const css::uno::Sequence< OUString > & | rMsgParams | ||
) |
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().
|
inlineprotected |
Definition at line 178 of file xmlexp.hxx.
|
inlineprotected |
Definition at line 624 of file xmlexp.hxx.
References mxGraphicStorageHandler.
|
overridevirtual |
Definition at line 845 of file xmlexp.cxx.
bool SvXMLExport::SetNullDateOnUnitConverter | ( | ) |
set null date from model to unit converter, if not already done
Definition at line 2369 of file xmlexp.cxx.
References GetMM100UnitConverter(), GetModel(), mpImpl, and SvXMLUnitConverter::setNullDate().
Referenced by XMLNumberFormatAttributesExportHelper::WriteAttributes().
|
inline |
Definition at line 414 of file xmlexp.hxx.
References mxHandler.
|
overridevirtual |
Reimplemented in XMLMetaExportComponent, and SdXMLExport.
Definition at line 573 of file xmlexp.cxx.
References SvXMLNamespaceMap::Add(), 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 | ( | const OUString & | rName, |
bool | bIgnWSOutside | ||
) |
Definition at line 2099 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.
void SvXMLExport::StartElement | ( | sal_uInt16 | nPrefix, |
enum ::xmloff::token::XMLTokenEnum | eName, | ||
bool | bIgnWSOutside | ||
) |
Definition at line 2091 of file xmlexp.cxx.
References GetNamespaceMap_(), xmloff::token::GetXMLToken(), and StartElement().
Referenced by XMLSectionExport::ExportBaseIndexBody(), XMLSectionExport::ExportBaseIndexStart(), XMLSectionExport::ExportIndexHeaderStart(), XMLSectionExport::ExportRegularSectionStart(), XMLTextParagraphExport::exportRuby(), XMLTextParagraphExport::exportTextRangeEnumeration(), XMLEventExport::StartElement(), SvXMLMetaExport::startElement(), SvXMLElementExport::StartElement(), StartElement(), SvXMLElementExport::SvXMLElementExport(), and XMLTextCharStyleNamesElementExport::XMLTextCharStyleNamesElementExport().
|
finaloverridevirtual |
Definition at line 856 of file xmlexp.cxx.
References cppu::supportsService().
bool SvXMLExport::writeOutlineStyleAsNormalListStyle | ( | ) | const |
Definition at line 2254 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 139 of file xmlexp.hxx.
Referenced by DetermineModelType_().
|
protected |
Definition at line 263 of file xmlexp.hxx.
Referenced by SchXMLExport::collectAutoStyles(), and SdXMLExport::collectAutoStyles().
|
protected |
Definition at line 217 of file xmlexp.hxx.
|
private |
Definition at line 154 of file xmlexp.hxx.
Referenced by filter(), and ImplExportContent().
|
private |
Definition at line 163 of file xmlexp.hxx.
Referenced by DetermineModelType_(), and DisposingModel().
|
private |
Definition at line 158 of file xmlexp.hxx.
Referenced by Characters(), EndElement(), filter(), IgnorableWhitespace(), and StartElement().
|
private |
Definition at line 157 of file xmlexp.hxx.
Referenced by EndElement(), exportDoc(), ExportScripts_(), filter(), IgnorableWhitespace(), ImplExportAutoStyles(), ImplExportStyles(), setSourceDocument(), StartElement(), and ~SvXMLExport().
|
private |
Definition at line 138 of file xmlexp.hxx.
|
private |
Definition at line 150 of file xmlexp.hxx.
Referenced by GetEventExport(), and ~SvXMLExport().
|
private |
Definition at line 151 of file xmlexp.hxx.
Referenced by GetImageMapExport(), and ~SvXMLExport().
|
private |
Definition at line 117 of file xmlexp.hxx.
Referenced by AddAttributesRDFa(), AddAttributeXmlId(), addChaffWhenEncryptedStorage(), DetermineModelType_(), 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 140 of file xmlexp.hxx.
Referenced by addDataStyle(), dataStyleForceSystemLanguage(), exportAutoDataStyles(), exportDataStyles(), getDataStyleName(), initialize(), setSourceDocument(), and ~SvXMLExport().
|
private |
Definition at line 141 of file xmlexp.hxx.
Referenced by GetProgressBarHelper(), and ~SvXMLExport().
|
private |
Definition at line 152 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 160 of file xmlexp.hxx.
Referenced by EndElement(), IgnorableWhitespace(), and StartElement().
|
private |
Definition at line 132 of file xmlexp.hxx.
Referenced by AddAttribute(), AddAttributeList(), CheckAttrList(), ClearAttrList(), and exportDoc().
|
private |
Definition at line 145 of file xmlexp.hxx.
Referenced by GetAutoStylePool(), ImplExportAutoStyles(), and ImplExportStyles().
|
private |
Definition at line 146 of file xmlexp.hxx.
Referenced by GetChartExport().
|
private |
Definition at line 127 of file xmlexp.hxx.
Referenced by AddEmbeddedObject(), AddEmbeddedObjectAsBase64(), exportDoc(), initialize(), and SetEmbeddedResolver().
|
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 148 of file xmlexp.hxx.
Referenced by ExportFontDecls_(), and GetFontAutoStylePool().
|
private |
Definition at line 149 of file xmlexp.hxx.
Referenced by exportAutoDataStyles(), GetFormExport(), and HasFormExport().
|
private |
Definition at line 126 of file xmlexp.hxx.
Referenced by AddEmbeddedXGraphic(), AddEmbeddedXGraphicAsBase64(), exportDoc(), GetGraphicMimeTypeFromStream(), initialize(), and SetGraphicStorageHandler().
|
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 147 of file xmlexp.hxx.
Referenced by GetPageExport().
|
private |
Definition at line 144 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 143 of file xmlexp.hxx.
Referenced by GetTextParagraphExport().