LibreOffice Module xmloff (master) 1
|
#include <sdxmlexp_impl.hxx>
Public Member Functions | |
SdXMLExport (const css::uno::Reference< css::uno::XComponentContext > &xContext, OUString const &implementationName, bool bIsDraw, SvXMLExportFlags nExportFlags) | |
virtual | ~SdXMLExport () override |
void | collectAutoStyles () override |
virtual void SAL_CALL | setSourceDocument (const css::uno::Reference< css::lang::XComponent > &xDoc) override |
XMLShapeExportPropertyMapper * | GetPropertySetMapper () const |
XMLPageExportPropertyMapper * | GetPresPagePropsMapper () const |
bool | IsDraw () const |
bool | IsImpress () const |
virtual void | addDataStyle (const sal_Int32 nNumberFormat, bool bTimeFormat=false) override |
virtual void | exportDataStyles () override |
virtual void | exportAutoDataStyles () override |
virtual OUString | getDataStyleName (const sal_Int32 nNumberFormat, bool bTimeFormat=false) const override |
Public Member Functions inherited from 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 (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 | |
virtual void | GetViewSettings (css::uno::Sequence< css::beans::PropertyValue > &aProps) override |
virtual void | GetConfigurationSettings (css::uno::Sequence< css::beans::PropertyValue > &aProps) override |
virtual XMLFontAutoStylePool * | CreateFontAutoStylePool () override |
Protected Member Functions inherited from SvXMLExport | |
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) |
Private Member Functions | |
virtual void | ExportStyles_ (bool bUsed) override |
Override this method to export the content of <style:styles>. More... | |
virtual void | ExportAutoStyles_ () override |
Override this method to export the contents of <style:auto-styles>. More... | |
virtual void | ExportFontDecls_ () override |
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 | ExportMasterStyles_ () override |
Override this method to export the contents of <style:master-styles>. More... | |
virtual void | ExportContent_ () override |
Override this method to export the content of <office:body>. More... | |
virtual void | ExportMeta_ () override |
Override this method to export the content of <office:meta>. More... | |
ImpXMLEXPPageMasterInfo * | ImpGetOrCreatePageMasterInfo (const css::uno::Reference< css::drawing::XDrawPage > &xMasterPage) |
void | ImpPrepPageMasterInfos () |
void | ImpWritePageMasterInfos () |
void | ImpPrepAutoLayoutInfos () |
HeaderFooterPageSettingsImpl | ImpPrepDrawPageHeaderFooterDecls (const css::uno::Reference< css::drawing::XDrawPage > &xDrawPage) |
ImpXMLEXPPageMasterInfo * | ImpGetPageMasterInfoByName (std::u16string_view rName) |
void | ImpPrepDrawPageInfos () |
void | ImpPrepMasterPageInfos () |
void | ImpWritePresentationStyles () |
OUString | ImpCreatePresPageStyleName (const css::uno::Reference< css::drawing::XDrawPage > &xDrawPage, bool bExportBackground=true) |
bool | ImpPrepAutoLayoutInfo (const css::uno::Reference< css::drawing::XDrawPage > &xPage, OUString &rName) |
void | ImpWriteAutoLayoutInfos () |
void | ImpWriteAutoLayoutPlaceholder (XmlPlaceholder ePl, const tools::Rectangle &rRect) |
void | ImpWriteHeaderFooterDecls () |
void | ImplExportHeaderFooterDeclAttributes (const HeaderFooterPageSettingsImpl &aSettings) |
void | exportFormsElement (const css::uno::Reference< css::drawing::XDrawPage > &xDrawPage) |
void | ExportThemeElement (const css::uno::Reference< css::drawing::XDrawPage > &xDrawPage) |
void | exportPresentationSettings () |
sal_uInt32 | ImpRecursiveObjectCount (const css::uno::Reference< css::drawing::XShapes > &xShapes) |
OUString | getNavigationOrder (const css::uno::Reference< css::drawing::XDrawPage > &xDrawPage) |
void | collectAnnotationAutoStyles (const css::uno::Reference< css::drawing::XDrawPage > &xDrawPage) |
void | exportAnnotations (const css::uno::Reference< css::drawing::XDrawPage > &xDrawPage) |
Additional Inherited Members | |
Protected Attributes inherited from SvXMLExport | |
bool | mbSaveLinkedSections |
bool | mbAutoStylesCollected |
Definition at line 72 of file sdxmlexp_impl.hxx.
SdXMLExport::SdXMLExport | ( | const css::uno::Reference< css::uno::XComponentContext > & | xContext, |
OUString const & | implementationName, | ||
bool | bIsDraw, | ||
SvXMLExportFlags | nExportFlags | ||
) |
Definition at line 381 of file sdxmlexp.cxx.
References CM, and implementationName.
|
overridevirtual |
Definition at line 605 of file sdxmlexp.cxx.
References mpPresPagePropsMapper, mpPropertySetMapper, mpSdPropHdlFactory, mvAutoLayoutInfoList, and mvPageMasterInfoList.
|
overridevirtual |
Reimplemented from SvXMLExport.
Definition at line 2471 of file sdxmlexp.cxx.
References o3tl::sorted_vector< typename Value, typename Compare, template< typename, typename > class Find, bool >::insert(), maUsedDateStyles, and maUsedTimeStyles.
Referenced by ImpPrepDrawPageHeaderFooterDecls().
|
private |
Definition at line 2549 of file sdxmlexp.cxx.
References Exception, SvXMLExport::GetTextParagraphExport(), and TOOLS_WARN_EXCEPTION.
Referenced by collectAutoStyles().
|
overridevirtual |
Reimplemented from SvXMLExport.
Definition at line 2026 of file sdxmlexp.cxx.
References collectAnnotationAutoStyles(), SvXMLExport::collectAutoStyles(), CONTENT, SvXMLExport::getExportFlags(), SvXMLExport::getExportInfo(), SvXMLExport::GetFormExport(), SvXMLExport::GetModel(), GetPropertySetMapper(), SvXMLExport::GetShapeExport(), gsPageLayoutNames(), ImpPrepDrawPageInfos(), ImpPrepMasterPageInfos(), ImpPrepPageMasterInfos(), IsImpress(), maDrawPagesAutoLayoutNames, SvXMLExport::mbAutoStylesCollected, mnDocDrawPageCount, mnDocMasterPageCount, mxDocDrawPages, mxDocMasterPages, OASIS, XMLShapeExportPropertyMapper::SetAutoStyles(), and STYLES.
Referenced by ExportAutoStyles_().
|
overrideprotectedvirtual |
Reimplemented from SvXMLExport.
Definition at line 2818 of file sdxmlexp.cxx.
References XMLFontAutoStylePool::Add(), CONTENT, FAMILY_DONTKNOW, SvXMLExport::getExportFlags(), SvXMLExport::GetModel(), i, PITCH_DONTKNOW, XMLFontAutoStylePool::setEmbedFontScripts(), XMLFontAutoStylePool::setEmbedOnlyUsedFonts(), and xFactory.
|
private |
Definition at line 2575 of file sdxmlexp.cxx.
References SvXMLExport::AddAttribute(), SvXMLExport::Characters(), sax::Converter::convertDateTime(), SvXMLUnitConverter::convertMeasureToXML(), SvtSecurityOptions::DocWarnRemovePersonalInfo, Exception, SvXMLExport::GetInfoID(), SvXMLExport::GetMM100UnitConverter(), SvXMLExport::getSaneDefaultVersion(), SvXMLExport::GetTextParagraphExport(), SvtSecurityOptions::IsOptionSet(), SvtSaveOptions::ODFSVER_013, SvtSaveOptions::ODFSVER_EXTENDED, TOOLS_WARN_EXCEPTION, xmloff::token::XML_ANNOTATION, xmloff::token::XML_CREATOR, xmloff::token::XML_CREATOR_INITIALS, xmloff::token::XML_DATE, xmloff::token::XML_HEIGHT, XML_NAMESPACE_DC, XML_NAMESPACE_LO_EXT, XML_NAMESPACE_META, XML_NAMESPACE_OFFICE_EXT, XML_NAMESPACE_SVG, xmloff::token::XML_SENDER_INITIALS, xmloff::token::XML_WIDTH, xmloff::token::XML_X, and xmloff::token::XML_Y.
Referenced by ExportContent_(), and ExportMasterStyles_().
|
overridevirtual |
Reimplemented from SvXMLExport.
Definition at line 2492 of file sdxmlexp.cxx.
References SdXMLNumberStylesExporter::exportDateStyle(), SdXMLNumberStylesExporter::exportTimeStyle(), SvXMLExport::GetFormExport(), SvXMLExport::HasFormExport(), maUsedDateStyles, and maUsedTimeStyles.
Referenced by ExportAutoStyles_().
|
overrideprivatevirtual |
Override this method to export the contents of <style:auto-styles>.
Implements SvXMLExport.
Definition at line 2197 of file sdxmlexp.cxx.
References AUTOSTYLES, collectAutoStyles(), CONTENT, exportAutoDataStyles(), SvXMLExport::GetAutoStylePool(), SvXMLExport::getExportFlags(), SvXMLExport::GetFormExport(), SvXMLExport::GetShapeExport(), SvXMLExport::GetTextParagraphExport(), ImpWritePageMasterInfos(), SD_DRAWINGPAGE_ID, and STYLES.
|
overrideprivatevirtual |
Override this method to export the content of <office:body>.
Implements SvXMLExport.
Definition at line 1632 of file sdxmlexp.cxx.
References SvXMLExport::AddAttribute(), SvXMLExport::AddAttributeIdLegacy(), SvXMLExport::EncodeStyleName(), Exception, exportAnnotations(), exportFormsElement(), exportPresentationSettings(), SvXMLExport::getExportFlags(), comphelper::UnoInterfaceToUniqueIdentifierMapper::getIdentifier(), SvXMLExport::getInterfaceToIdentifierMapper(), getNavigationOrder(), SvXMLExport::GetRelativeReference(), SvXMLExport::GetShapeExport(), SvXMLExport::GetStatusIndicator(), ImplExportHeaderFooterDeclAttributes(), ImpWriteHeaderFooterDecls(), IsImpress(), maDrawNotesPagesHeaderFooterSettings, maDrawNotesPagesStyleNames, maDrawPagesAutoLayoutNames, maDrawPagesHeaderFooterSettings, maDrawPagesStyleNames, mnDocDrawPageCount, mxDocDrawPages, nIndex, OASIS, xmloff::token::XML_ACTUATE, xmloff::token::XML_HREF, xmloff::token::XML_MASTER_PAGE_NAME, xmloff::token::XML_NAME, XML_NAMESPACE_DRAW, XML_NAMESPACE_PRESENTATION, XML_NAMESPACE_XLINK, xmloff::token::XML_NAV_ORDER, xmloff::token::XML_NOTES, xmloff::token::XML_ONREQUEST, xmloff::token::XML_PAGE, xmloff::token::XML_PRESENTATION_PAGE_LAYOUT_NAME, xmloff::token::XML_REPLACE, xmloff::token::XML_SHOW, xmloff::token::XML_SIMPLE, xmloff::token::XML_STYLE_NAME, and xmloff::token::XML_TYPE.
|
overridevirtual |
Reimplemented from SvXMLExport.
Definition at line 2487 of file sdxmlexp.cxx.
|
overrideprivatevirtual |
Override this method to export the font declarations The default implementation will export the contents of the XMLFontAutoStylePool if it has been created.
Reimplemented from SvXMLExport.
Definition at line 1626 of file sdxmlexp.cxx.
References SvXMLExport::ExportFontDecls_(), and SvXMLExport::GetFontAutoStylePool().
|
private |
Definition at line 2345 of file sdxmlexp.cxx.
References SvXMLExport::GetFormExport().
Referenced by ExportContent_(), and ExportMasterStyles_().
|
overrideprivatevirtual |
Override this method to export the contents of <style:master-styles>.
Implements SvXMLExport.
Definition at line 2222 of file sdxmlexp.cxx.
References SvXMLExport::AddAttribute(), SvXMLExport::EncodeStyleName(), exportAnnotations(), exportFormsElement(), SdXMLayerExporter::exportLayer(), ExportThemeElement(), SvXMLExport::GetModel(), ImpXMLEXPPageMasterInfo::GetName(), SvXMLExport::GetShapeExport(), ImplExportHeaderFooterDeclAttributes(), IsImpress(), maDrawPagesAutoLayoutNames, maHandoutMasterStyleName, maHandoutPageHeaderFooterSettings, maMasterPagesStyleNames, mnDocMasterPageCount, mpHandoutPageMaster, mvNotesPageMasterUsageList, mvPageMasterUsageList, mxDocMasterPages, xmloff::token::XML_DISPLAY_NAME, xmloff::token::XML_HANDOUT_MASTER, xmloff::token::XML_MASTER_PAGE, xmloff::token::XML_NAME, XML_NAMESPACE_DRAW, XML_NAMESPACE_PRESENTATION, XML_NAMESPACE_STYLE, xmloff::token::XML_NOTES, xmloff::token::XML_PAGE_LAYOUT_NAME, xmloff::token::XML_PRESENTATION_PAGE_LAYOUT_NAME, and xmloff::token::XML_STYLE_NAME.
|
overrideprivatevirtual |
Override this method to export the content of <office:meta>.
There is a default implementation.
Reimplemented from SvXMLExport.
Definition at line 1609 of file sdxmlexp.cxx.
References SvXMLExport::ExportMeta_(), SvXMLExport::GetModel(), and mnObjectCount.
|
private |
Definition at line 1811 of file sdxmlexp.cxx.
References SvXMLExport::AddAttribute(), sax::Converter::convertDuration(), SvXMLExport::GetModel(), SAL_WARN_IF, TOOLS_WARN_EXCEPTION, xmloff::token::XML_ANIMATIONS, xmloff::token::XML_DISABLED, xmloff::token::XML_ENDLESS, xmloff::token::XML_FALSE, xmloff::token::XML_FORCE_MANUAL, xmloff::token::XML_FULL_SCREEN, xmloff::token::XML_MOUSE_AS_PEN, xmloff::token::XML_MOUSE_VISIBLE, xmloff::token::XML_NAME, XML_NAMESPACE_PRESENTATION, xmloff::token::XML_PAGES, xmloff::token::XML_PAUSE, xmloff::token::XML_SETTINGS, xmloff::token::XML_SHOW, xmloff::token::XML_SHOW_LOGO, xmloff::token::XML_START_PAGE, xmloff::token::XML_START_WITH_NAVIGATOR, xmloff::token::XML_STAY_ON_TOP, xmloff::token::XML_TRANSITION_ON_CLICK, and xmloff::token::XML_TRUE.
Referenced by ExportContent_().
|
overrideprivatevirtual |
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 from SvXMLExport.
Definition at line 1991 of file sdxmlexp.cxx.
References Any, SvXMLExport::ExportStyles_(), SvXMLExport::getExportInfo(), GetPropertySetMapper(), SvXMLExport::getSaneDefaultVersion(), SvXMLExport::GetShapeExport(), gsPageLayoutNames(), ImpPrepAutoLayoutInfos(), ImpWriteAutoLayoutInfos(), ImpWritePresentationStyles(), maDrawPagesAutoLayoutNames, SvtSaveOptions::ODFSVER_012, and XMLShapeExportPropertyMapper::SetAutoStyles().
|
private |
Definition at line 2364 of file sdxmlexp.cxx.
References SvXMLExport::AddAttribute(), sax::Converter::convertColor(), SvXMLExport::getSaneDefaultVersion(), UnoTheme::getTheme(), xmloff::token::GetXMLToken(), SvtSaveOptions::ODFSVER_EXTENDED, model::Unknown, xmloff::token::XML_ACCENT1, xmloff::token::XML_ACCENT2, xmloff::token::XML_ACCENT3, xmloff::token::XML_ACCENT4, xmloff::token::XML_ACCENT5, xmloff::token::XML_ACCENT6, xmloff::token::XML_COLOR, xmloff::token::XML_DARK1, xmloff::token::XML_DARK2, xmloff::token::XML_FOLLOWED_HYPERLINK, xmloff::token::XML_HYPERLINK, xmloff::token::XML_LIGHT1, xmloff::token::XML_LIGHT2, xmloff::token::XML_NAME, XML_NAMESPACE_LO_EXT, xmloff::token::XML_THEME, and xmloff::token::XML_THEME_COLORS.
Referenced by ExportMasterStyles_().
|
overrideprotectedvirtual |
Reimplemented from SvXMLExport.
Definition at line 2453 of file sdxmlexp.cxx.
References SvXMLUnitConverter::convertPropertySet(), SvXMLExport::GetModel(), and SvXMLExport::GetTargetStorage().
|
overridevirtual |
Reimplemented from SvXMLExport.
Definition at line 2504 of file sdxmlexp.cxx.
References SdXMLNumberStylesExporter::getDateStyleName(), and SdXMLNumberStylesExporter::getTimeStyleName().
Referenced by ImpWriteHeaderFooterDecls().
|
private |
Definition at line 2516 of file sdxmlexp.cxx.
References Exception, SvXMLExport::getInterfaceToIdentifierMapper(), nCount, nIndex, and sId.
Referenced by ExportContent_().
|
inline |
Definition at line 168 of file sdxmlexp_impl.hxx.
References mpPresPagePropsMapper.
Referenced by ImpCreatePresPageStyleName(), and setSourceDocument().
|
inline |
Definition at line 167 of file sdxmlexp_impl.hxx.
References mpPropertySetMapper.
Referenced by collectAutoStyles(), ExportStyles_(), ImpWritePresentationStyles(), and setSourceDocument().
|
overrideprotectedvirtual |
Reimplemented from SvXMLExport.
Definition at line 2430 of file sdxmlexp.cxx.
References SvXMLExport::GetModel().
|
private |
Definition at line 1493 of file sdxmlexp.cxx.
References Any, SvXMLExport::GetAutoStylePool(), GetPresPagePropsMapper(), PropertySetMerger_CreateInstance(), SD_DRAWINGPAGE_ID, and u.
Referenced by ImpPrepDrawPageInfos(), and ImpPrepMasterPageInfos().
|
private |
Definition at line 1145 of file sdxmlexp.cxx.
References a, and mvPageMasterInfoList.
Referenced by ImpPrepPageMasterInfos().
|
private |
Definition at line 1282 of file sdxmlexp.cxx.
References mvPageMasterInfoList.
Referenced by ImpPrepAutoLayoutInfo().
|
private |
Definition at line 1481 of file sdxmlexp.cxx.
References SvXMLExport::AddAttribute(), HeaderFooterPageSettingsImpl::maStrDateTimeDeclName, HeaderFooterPageSettingsImpl::maStrFooterDeclName, HeaderFooterPageSettingsImpl::maStrHeaderDeclName, XML_NAMESPACE_PRESENTATION, xmloff::token::XML_USE_DATE_TIME_NAME, xmloff::token::XML_USE_FOOTER_NAME, and xmloff::token::XML_USE_HEADER_NAME.
Referenced by ExportContent_(), and ExportMasterStyles_().
|
private |
Definition at line 654 of file sdxmlexp.cxx.
References Any, ImpXMLAutoLayoutInfo::GetLayoutName(), ImpGetPageMasterInfoByName(), ImpXMLAutoLayoutInfo::IsCreateNecessary(), mvAutoLayoutInfoList, nType, and ImpXMLAutoLayoutInfo::SetLayoutName().
Referenced by ImpPrepAutoLayoutInfos().
|
private |
Definition at line 622 of file sdxmlexp.cxx.
References Any, aStr, SvXMLExport::GetModel(), ImpPrepAutoLayoutInfo(), IsImpress(), maDrawPagesAutoLayoutNames, mnDocDrawPageCount, and mxDocDrawPages.
Referenced by ExportStyles_().
|
private |
Definition at line 1369 of file sdxmlexp.cxx.
References addDataStyle(), Exception, findOrAppendImpl(), gpStrDateTimeTextPrefix, gpStrFooterTextPrefix, gpStrHeaderTextPrefix, maDateTimeDeclsVector, maFooterDeclsVector, maHeaderDeclsVector, HeaderFooterPageSettingsImpl::maStrDateTimeDeclName, HeaderFooterPageSettingsImpl::maStrFooterDeclName, HeaderFooterPageSettingsImpl::maStrHeaderDeclName, TOOLS_WARN_EXCEPTION, and u.
Referenced by ImpPrepDrawPageInfos(), and ImpPrepMasterPageInfos().
|
private |
Definition at line 1300 of file sdxmlexp.cxx.
References ImpCreatePresPageStyleName(), ImpPrepDrawPageHeaderFooterDecls(), maDrawNotesPagesHeaderFooterSettings, maDrawNotesPagesStyleNames, maDrawPagesHeaderFooterSettings, maDrawPagesStyleNames, mnDocDrawPageCount, and mxDocDrawPages.
Referenced by collectAutoStyles().
|
private |
Definition at line 1551 of file sdxmlexp.cxx.
References SvXMLExport::GetModel(), ImpCreatePresPageStyleName(), ImpPrepDrawPageHeaderFooterDecls(), IsImpress(), maHandoutMasterStyleName, maHandoutPageHeaderFooterSettings, maMasterPagesStyleNames, mnDocMasterPageCount, and mxDocMasterPages.
Referenced by collectAutoStyles().
|
private |
Definition at line 1170 of file sdxmlexp.cxx.
References SvXMLExport::GetModel(), ImpGetOrCreatePageMasterInfo(), IsImpress(), mnDocMasterPageCount, mpHandoutPageMaster, mvNotesPageMasterUsageList, mvPageMasterUsageList, and mxDocMasterPages.
Referenced by collectAutoStyles().
|
private |
Definition at line 577 of file sdxmlexp.cxx.
References a, Any, ImpRecursiveObjectCount(), and nCount.
Referenced by ImpRecursiveObjectCount(), and setSourceDocument().
|
private |
Definition at line 713 of file sdxmlexp.cxx.
References a, SvXMLExport::AddAttribute(), Point::AdjustX(), Point::AdjustY(), AUTOLAYOUT_4CLIPART, AUTOLAYOUT_CHART, AUTOLAYOUT_CHARTTEXT, AUTOLAYOUT_CLIPTEXT, AUTOLAYOUT_HANDOUT1, AUTOLAYOUT_HANDOUT2, AUTOLAYOUT_HANDOUT3, AUTOLAYOUT_HANDOUT4, AUTOLAYOUT_HANDOUT6, AUTOLAYOUT_HANDOUT9, AUTOLAYOUT_NOTES, AUTOLAYOUT_OBJ, AUTOLAYOUT_OBJTEXT, AUTOLAYOUT_ONLY_TEXT, AUTOLAYOUT_TAB, AUTOLAYOUT_TEXTCHART, AUTOLAYOUT_TEXTCLIP, AUTOLAYOUT_TEXTOBJ, AUTOLAYOUT_TEXTOVEROBJ, AUTOLAYOUT_TITLE, AUTOLAYOUT_TITLE_2CONTENT, AUTOLAYOUT_TITLE_2CONTENT_CONTENT, AUTOLAYOUT_TITLE_2CONTENT_OVER_CONTENT, AUTOLAYOUT_TITLE_2VTEXT, AUTOLAYOUT_TITLE_4CONTENT, AUTOLAYOUT_TITLE_6CONTENT, AUTOLAYOUT_TITLE_CONTENT, AUTOLAYOUT_TITLE_CONTENT_2CONTENT, AUTOLAYOUT_TITLE_CONTENT_OVER_CONTENT, AUTOLAYOUT_TITLE_ONLY, AUTOLAYOUT_TITLE_VCONTENT, AUTOLAYOUT_VTITLE_VCONTENT, AUTOLAYOUT_VTITLE_VCONTENT_OVER_VCONTENT, tools::Rectangle::GetHeight(), tools::Rectangle::GetWidth(), Size::Height(), ImpWriteAutoLayoutPlaceholder(), tools::Rectangle::Left(), mvAutoLayoutInfoList, tools::Rectangle::setHeight(), Size::setHeight(), tools::Rectangle::SetLeft(), tools::Rectangle::SetTop(), tools::Rectangle::setWidth(), Size::setWidth(), Point::setX(), tools::Rectangle::Top(), Size::Width(), Point::X(), xmloff::token::XML_NAME, XML_NAMESPACE_STYLE, xmloff::token::XML_PRESENTATION_PAGE_LAYOUT, XmlPlaceholderChart, XmlPlaceholderGraphic, XmlPlaceholderHandout, XmlPlaceholderNotes, XmlPlaceholderObject, XmlPlaceholderOutline, XmlPlaceholderPage, XmlPlaceholderSubtitle, XmlPlaceholderTable, XmlPlaceholderTitle, XmlPlaceholderVerticalOutline, and XmlPlaceholderVerticalTitle.
Referenced by ExportStyles_().
|
private |
Definition at line 1098 of file sdxmlexp.cxx.
References SvXMLExport::AddAttribute(), aStr, SvXMLUnitConverter::convertMeasureToXML(), tools::Rectangle::GetHeight(), SvXMLExport::GetMM100UnitConverter(), tools::Rectangle::GetWidth(), tools::Rectangle::Left(), tools::Rectangle::Top(), xmloff::token::XML_HEIGHT, XML_NAMESPACE_PRESENTATION, XML_NAMESPACE_SVG, xmloff::token::XML_OBJECT, xmloff::token::XML_PLACEHOLDER, xmloff::token::XML_WIDTH, xmloff::token::XML_X, xmloff::token::XML_Y, XmlPlaceholderChart, XmlPlaceholderGraphic, XmlPlaceholderHandout, XmlPlaceholderNotes, XmlPlaceholderObject, XmlPlaceholderOutline, XmlPlaceholderPage, XmlPlaceholderSubtitle, XmlPlaceholderTable, XmlPlaceholderTitle, XmlPlaceholderVerticalOutline, and XmlPlaceholderVerticalTitle.
Referenced by ImpWriteAutoLayoutInfos().
|
private |
Definition at line 1421 of file sdxmlexp.cxx.
References SvXMLExport::AddAttribute(), SvXMLExport::Characters(), getDataStyleName(), gpStrDateTimeTextPrefix, gpStrFooterTextPrefix, gpStrHeaderTextPrefix, maDateTimeDeclsVector, maFooterDeclsVector, maHeaderDeclsVector, nIndex, xmloff::token::XML_CURRENT_DATE, xmloff::token::XML_DATA_STYLE_NAME, xmloff::token::XML_DATE_TIME_DECL, xmloff::token::XML_FIXED, xmloff::token::XML_FOOTER_DECL, xmloff::token::XML_HEADER_DECL, xmloff::token::XML_NAME, XML_NAMESPACE_PRESENTATION, XML_NAMESPACE_STYLE, and xmloff::token::XML_SOURCE.
Referenced by ExportContent_().
|
private |
Definition at line 1218 of file sdxmlexp.cxx.
References SvXMLExport::AddAttribute(), SvXMLUnitConverter::convertMeasureToXML(), ImpXMLEXPPageMasterInfo::GetBorderBottom(), ImpXMLEXPPageMasterInfo::GetBorderLeft(), ImpXMLEXPPageMasterInfo::GetBorderRight(), ImpXMLEXPPageMasterInfo::GetBorderTop(), ImpXMLEXPPageMasterInfo::GetHeight(), SvXMLExport::GetMM100UnitConverter(), ImpXMLEXPPageMasterInfo::GetOrientation(), ImpXMLEXPPageMasterInfo::GetWidth(), mvPageMasterInfoList, ImpXMLEXPPageMasterInfo::SetName(), xmloff::token::XML_LANDSCAPE, xmloff::token::XML_MARGIN_BOTTOM, xmloff::token::XML_MARGIN_LEFT, xmloff::token::XML_MARGIN_RIGHT, xmloff::token::XML_MARGIN_TOP, xmloff::token::XML_NAME, XML_NAMESPACE_FO, XML_NAMESPACE_STYLE, xmloff::token::XML_PAGE_HEIGHT, xmloff::token::XML_PAGE_LAYOUT, xmloff::token::XML_PAGE_LAYOUT_PROPERTIES, xmloff::token::XML_PAGE_WIDTH, xmloff::token::XML_PORTRAIT, and xmloff::token::XML_PRINT_ORIENTATION.
Referenced by ExportAutoStyles_().
|
private |
Definition at line 1580 of file sdxmlexp.cxx.
References Any, get(), SvXMLExport::GetAutoStylePool(), GetPropertySetMapper(), IsImpress(), mnDocMasterPageCount, mxDocMasterPages, mxDocStyleFamilies, SD_PRESENTATION_ID, and XML_STYLE_FAMILY_SD_PRESENTATION_NAME.
Referenced by ExportStyles_().
|
inline |
Definition at line 170 of file sdxmlexp_impl.hxx.
References mbIsDraw.
|
inline |
Definition at line 171 of file sdxmlexp_impl.hxx.
References mbIsDraw.
Referenced by collectAutoStyles(), ExportContent_(), ExportMasterStyles_(), ImpPrepAutoLayoutInfos(), ImpPrepMasterPageInfos(), ImpPrepPageMasterInfos(), ImpWritePresentationStyles(), and setSourceDocument().
|
overridevirtual |
Reimplemented from SvXMLExport.
Definition at line 397 of file sdxmlexp.cxx.
References a, SvXMLNamespaceMap::Add(), Any, aXMLSDPresPageProps, XMLTextParagraphExport::CreateParaExtPropMapper(), SvXMLExport::GetAutoStylePool(), SvXMLExport::GetModel(), SvXMLExport::GetNamespaceMap_(), GetPresPagePropsMapper(), SvXMLExport::GetProgressBarHelper(), GetPropertySetMapper(), SvXMLExport::getSaneDefaultVersion(), SvXMLExport::GetShapeExport(), SvXMLExport::GetTextParagraphExport(), xmloff::token::GetXMLToken(), ImpRecursiveObjectCount(), IsImpress(), maDrawNotesPagesHeaderFooterSettings, maDrawNotesPagesStyleNames, maDrawPagesAutoLayoutNames, maDrawPagesHeaderFooterSettings, maDrawPagesStyleNames, maMasterPagesStyleNames, mbIsDraw, mnDocDrawPageCount, mnDocMasterPageCount, mnObjectCount, mpPresPagePropsMapper, mpPropertySetMapper, mpSdPropHdlFactory, mxDocDrawPages, mxDocMasterPages, mxDocStyleFamilies, SvtSaveOptions::ODFSVER_EXTENDED, SD_DRAWINGPAGE_ID, SD_GRAPHICS_ID, SD_PRESENTATION_ID, ProgressBarHelper::SetReference(), SvXMLExport::setSourceDocument(), xmloff::token::XML_N_ANIMATION, xmloff::token::XML_N_OFFICE_EXT, xmloff::token::XML_N_PRESENTATION, XML_NAMESPACE_ANIMATION, XML_NAMESPACE_OFFICE_EXT, XML_NAMESPACE_PRESENTATION, XML_NAMESPACE_SMIL, xmloff::token::XML_NP_ANIMATION, xmloff::token::XML_NP_OFFICE_EXT, xmloff::token::XML_NP_PRESENTATION, xmloff::token::XML_NP_SMIL, XML_STYLE_FAMILY_SD_DRAWINGPAGE_NAME, XML_STYLE_FAMILY_SD_DRAWINGPAGE_PREFIX, XML_STYLE_FAMILY_SD_GRAPHICS_NAME, XML_STYLE_FAMILY_SD_GRAPHICS_PREFIX, XML_STYLE_FAMILY_SD_PRESENTATION_NAME, and XML_STYLE_FAMILY_SD_PRESENTATION_PREFIX.
|
private |
Definition at line 99 of file sdxmlexp_impl.hxx.
Referenced by ImpPrepDrawPageHeaderFooterDecls(), and ImpWriteHeaderFooterDecls().
|
private |
Definition at line 95 of file sdxmlexp_impl.hxx.
Referenced by ExportContent_(), ImpPrepDrawPageInfos(), and setSourceDocument().
|
private |
Definition at line 91 of file sdxmlexp_impl.hxx.
Referenced by ExportContent_(), ImpPrepDrawPageInfos(), and setSourceDocument().
|
private |
Definition at line 88 of file sdxmlexp_impl.hxx.
Referenced by collectAutoStyles(), ExportContent_(), ExportMasterStyles_(), ExportStyles_(), ImpPrepAutoLayoutInfos(), and setSourceDocument().
|
private |
Definition at line 94 of file sdxmlexp_impl.hxx.
Referenced by ExportContent_(), ImpPrepDrawPageInfos(), and setSourceDocument().
|
private |
Definition at line 90 of file sdxmlexp_impl.hxx.
Referenced by ExportContent_(), ImpPrepDrawPageInfos(), and setSourceDocument().
|
private |
Definition at line 98 of file sdxmlexp_impl.hxx.
Referenced by ImpPrepDrawPageHeaderFooterDecls(), and ImpWriteHeaderFooterDecls().
|
private |
Definition at line 93 of file sdxmlexp_impl.hxx.
Referenced by ExportMasterStyles_(), and ImpPrepMasterPageInfos().
|
private |
Definition at line 101 of file sdxmlexp_impl.hxx.
Referenced by ExportMasterStyles_(), and ImpPrepMasterPageInfos().
|
private |
Definition at line 97 of file sdxmlexp_impl.hxx.
Referenced by ImpPrepDrawPageHeaderFooterDecls(), and ImpWriteHeaderFooterDecls().
|
private |
Definition at line 92 of file sdxmlexp_impl.hxx.
Referenced by ExportMasterStyles_(), ImpPrepMasterPageInfos(), and setSourceDocument().
|
private |
Definition at line 107 of file sdxmlexp_impl.hxx.
Referenced by addDataStyle(), and exportAutoDataStyles().
|
private |
Definition at line 108 of file sdxmlexp_impl.hxx.
Referenced by addDataStyle(), and exportAutoDataStyles().
|
private |
Definition at line 110 of file sdxmlexp_impl.hxx.
Referenced by IsDraw(), IsImpress(), and setSourceDocument().
|
private |
Definition at line 78 of file sdxmlexp_impl.hxx.
Referenced by collectAutoStyles(), ExportContent_(), ImpPrepAutoLayoutInfos(), ImpPrepDrawPageInfos(), and setSourceDocument().
|
private |
Definition at line 77 of file sdxmlexp_impl.hxx.
Referenced by collectAutoStyles(), ExportMasterStyles_(), ImpPrepMasterPageInfos(), ImpPrepPageMasterInfos(), ImpWritePresentationStyles(), and setSourceDocument().
|
private |
Definition at line 79 of file sdxmlexp_impl.hxx.
Referenced by ExportMeta_(), and setSourceDocument().
|
private |
Definition at line 85 of file sdxmlexp_impl.hxx.
Referenced by ExportMasterStyles_(), and ImpPrepPageMasterInfos().
|
private |
Definition at line 105 of file sdxmlexp_impl.hxx.
Referenced by GetPresPagePropsMapper(), setSourceDocument(), and ~SdXMLExport().
|
private |
Definition at line 104 of file sdxmlexp_impl.hxx.
Referenced by GetPropertySetMapper(), setSourceDocument(), and ~SdXMLExport().
|
private |
Definition at line 103 of file sdxmlexp_impl.hxx.
Referenced by setSourceDocument(), and ~SdXMLExport().
|
private |
Definition at line 86 of file sdxmlexp_impl.hxx.
Referenced by ImpPrepAutoLayoutInfo(), ImpWriteAutoLayoutInfos(), and ~SdXMLExport().
|
private |
Definition at line 84 of file sdxmlexp_impl.hxx.
Referenced by ExportMasterStyles_(), and ImpPrepPageMasterInfos().
|
private |
Definition at line 82 of file sdxmlexp_impl.hxx.
Referenced by ImpGetOrCreatePageMasterInfo(), ImpGetPageMasterInfoByName(), ImpWritePageMasterInfos(), and ~SdXMLExport().
|
private |
Definition at line 83 of file sdxmlexp_impl.hxx.
Referenced by ExportMasterStyles_(), and ImpPrepPageMasterInfos().
|
private |
Definition at line 76 of file sdxmlexp_impl.hxx.
Referenced by collectAutoStyles(), ExportContent_(), ImpPrepAutoLayoutInfos(), ImpPrepDrawPageInfos(), and setSourceDocument().
|
private |
Definition at line 75 of file sdxmlexp_impl.hxx.
Referenced by collectAutoStyles(), ExportMasterStyles_(), ImpPrepMasterPageInfos(), ImpPrepPageMasterInfos(), ImpWritePresentationStyles(), and setSourceDocument().
|
private |
Definition at line 74 of file sdxmlexp_impl.hxx.
Referenced by ImpWritePresentationStyles(), and setSourceDocument().