LibreOffice Module xmloff (master) 1
Classes | Macros | Functions | Variables
sdxmlexp.cxx File Reference
#include <sal/config.h>
#include <string_view>
#include <xmloff/autolayout.hxx>
#include <xmloff/unointerfacetouniqueidentifiermapper.hxx>
#include <xmloff/namespacemap.hxx>
#include <xmloff/xmlnamespace.hxx>
#include <xmloff/xmluconv.hxx>
#include <xmloff/xmltoken.hxx>
#include <com/sun/star/lang/XMultiServiceFactory.hpp>
#include <com/sun/star/presentation/XPresentationSupplier.hpp>
#include <com/sun/star/presentation/XCustomPresentationSupplier.hpp>
#include <com/sun/star/geometry/RealPoint2D.hpp>
#include <com/sun/star/office/XAnnotationAccess.hpp>
#include <com/sun/star/uno/Any.hxx>
#include "sdxmlexp_impl.hxx"
#include <com/sun/star/drawing/XDrawPagesSupplier.hpp>
#include <com/sun/star/drawing/XMasterPagesSupplier.hpp>
#include <com/sun/star/presentation/XHandoutMasterSupplier.hpp>
#include <com/sun/star/container/XIndexContainer.hpp>
#include <com/sun/star/view/PaperOrientation.hpp>
#include <com/sun/star/style/XStyleFamiliesSupplier.hpp>
#include <com/sun/star/form/XFormsSupplier2.hpp>
#include <com/sun/star/presentation/XPresentationPage.hpp>
#include <com/sun/star/drawing/XMasterPageTarget.hpp>
#include <com/sun/star/text/XText.hpp>
#include <com/sun/star/animations/XAnimationNodeSupplier.hpp>
#include <com/sun/star/container/XNamed.hpp>
#include <com/sun/star/util/Duration.hpp>
#include <com/sun/star/util/MeasureUnit.hpp>
#include <rtl/ustrbuf.hxx>
#include <sal/log.hxx>
#include <comphelper/diagnose_ex.hxx>
#include <tools/gen.hxx>
#include <sax/tools/converter.hxx>
#include <xmloff/xmlaustp.hxx>
#include <xmloff/families.hxx>
#include <xmloff/styleexp.hxx>
#include <xmloff/settingsstore.hxx>
#include <xmloff/table/XMLTableExport.hxx>
#include <xmloff/ProgressBarHelper.hxx>
#include "sdpropls.hxx"
#include <xmloff/xmlexppr.hxx>
#include <PropertySetMerger.hxx>
#include "layerexp.hxx"
#include "XMLNumberStylesExport.hxx"
#include <xmloff/animationexport.hxx>
#include <com/sun/star/document/XDocumentProperties.hpp>
#include <com/sun/star/document/XDocumentPropertiesSupplier.hpp>
#include <com/sun/star/util/Color.hpp>
#include <docmodel/uno/UnoTheme.hxx>
#include <docmodel/theme/Theme.hxx>
#include <o3tl/enumrange.hxx>
Include dependency graph for sdxmlexp.cxx:

Go to the source code of this file.

Classes

class  ImpXMLEXPPageMasterInfo
 
class  ImpXMLAutoLayoutInfo
 

Macros

#define IMP_AUTOLAYOUT_INFO_MAX   (35L)
 

Functions

constexpr OUStringLiteral gsPageLayoutNames (u"PageLayoutNames")
 
static OUString findOrAppendImpl (std::vector< OUString > &rVector, const OUString &rText, std::u16string_view pPrefix)
 
static OUString findOrAppendImpl (std::vector< DateTimeDeclImpl > &rVector, const OUString &rText, bool bFixed, sal_Int32 nFormat, std::u16string_view pPrefix)
 
SAL_DLLPUBLIC_EXPORT uno::XInterface * com_sun_star_comp_Impress_XMLOasisExporter_get_implementation (uno::XComponentContext *pCtx, uno::Sequence< uno::Any > const &)
 
SAL_DLLPUBLIC_EXPORT uno::XInterface * com_sun_star_comp_Impress_XMLOasisStylesExporter_get_implementation (uno::XComponentContext *pCtx, uno::Sequence< uno::Any > const &)
 
SAL_DLLPUBLIC_EXPORT uno::XInterface * com_sun_star_comp_Impress_XMLOasisContentExporter_get_implementation (uno::XComponentContext *pCtx, uno::Sequence< uno::Any > const &)
 
SAL_DLLPUBLIC_EXPORT uno::XInterface * com_sun_star_comp_Impress_XMLOasisMetaExporter_get_implementation (uno::XComponentContext *pCtx, uno::Sequence< uno::Any > const &)
 
SAL_DLLPUBLIC_EXPORT uno::XInterface * com_sun_star_comp_Impress_XMLOasisSettingsExporter_get_implementation (uno::XComponentContext *pCtx, uno::Sequence< uno::Any > const &)
 
SAL_DLLPUBLIC_EXPORT uno::XInterface * com_sun_star_comp_Impress_XMLExporter_get_implementation (uno::XComponentContext *pCtx, uno::Sequence< uno::Any > const &)
 
SAL_DLLPUBLIC_EXPORT uno::XInterface * com_sun_star_comp_Draw_XMLExporter_get_implementation (uno::XComponentContext *pCtx, uno::Sequence< uno::Any > const &)
 
SAL_DLLPUBLIC_EXPORT uno::XInterface * com_sun_star_comp_Draw_XMLOasisSettingsExporter_get_implementation (uno::XComponentContext *pCtx, uno::Sequence< uno::Any > const &)
 
SAL_DLLPUBLIC_EXPORT uno::XInterface * com_sun_star_comp_Draw_XMLOasisMetaExporter_get_implementation (uno::XComponentContext *pCtx, uno::Sequence< uno::Any > const &)
 
SAL_DLLPUBLIC_EXPORT uno::XInterface * com_sun_star_comp_Draw_XMLOasisContentExporter_get_implementation (uno::XComponentContext *pCtx, uno::Sequence< uno::Any > const &)
 
SAL_DLLPUBLIC_EXPORT uno::XInterface * com_sun_star_comp_Draw_XMLOasisStylesExporter_get_implementation (uno::XComponentContext *pCtx, uno::Sequence< uno::Any > const &)
 
SAL_DLLPUBLIC_EXPORT uno::XInterface * com_sun_star_comp_Draw_XMLOasisExporter_get_implementation (uno::XComponentContext *pCtx, uno::Sequence< uno::Any > const &)
 
SAL_DLLPUBLIC_EXPORT uno::XInterface * com_sun_star_comp_DrawingLayer_XMLExporter_get_implementation (uno::XComponentContext *pCtx, uno::Sequence< uno::Any > const &)
 
SAL_DLLPUBLIC_EXPORT uno::XInterface * com_sun_star_comp_Impress_XMLClipboardExporter_get_implementation (uno::XComponentContext *pCtx, uno::Sequence< uno::Any > const &)
 

Variables

constexpr OUStringLiteral gpStrHeaderTextPrefix = u"hdr"
 
constexpr OUStringLiteral gpStrFooterTextPrefix = u"ftr"
 
constexpr OUStringLiteral gpStrDateTimeTextPrefix = u"dtd"
 

Macro Definition Documentation

◆ IMP_AUTOLAYOUT_INFO_MAX

#define IMP_AUTOLAYOUT_INFO_MAX   (35L)

Definition at line 192 of file sdxmlexp.cxx.

Function Documentation

◆ com_sun_star_comp_Draw_XMLExporter_get_implementation()

SAL_DLLPUBLIC_EXPORT uno::XInterface * com_sun_star_comp_Draw_XMLExporter_get_implementation ( uno::XComponentContext *  pCtx,
uno::Sequence< uno::Any > const &   
)

Definition at line 2737 of file sdxmlexp.cxx.

References AUTOSTYLES, CONTENT, EMBEDDED, FONTDECLS, MASTERSTYLES, META, SCRIPTS, SETTINGS, and STYLES.

◆ com_sun_star_comp_Draw_XMLOasisContentExporter_get_implementation()

SAL_DLLPUBLIC_EXPORT uno::XInterface * com_sun_star_comp_Draw_XMLOasisContentExporter_get_implementation ( uno::XComponentContext *  pCtx,
uno::Sequence< uno::Any > const &   
)

Definition at line 2765 of file sdxmlexp.cxx.

References AUTOSTYLES, CONTENT, FONTDECLS, OASIS, and SCRIPTS.

◆ com_sun_star_comp_Draw_XMLOasisExporter_get_implementation()

SAL_DLLPUBLIC_EXPORT uno::XInterface * com_sun_star_comp_Draw_XMLOasisExporter_get_implementation ( uno::XComponentContext *  pCtx,
uno::Sequence< uno::Any > const &   
)

Definition at line 2785 of file sdxmlexp.cxx.

References AUTOSTYLES, CONTENT, EMBEDDED, FONTDECLS, MASTERSTYLES, META, OASIS, SCRIPTS, SETTINGS, and STYLES.

◆ com_sun_star_comp_Draw_XMLOasisMetaExporter_get_implementation()

SAL_DLLPUBLIC_EXPORT uno::XInterface * com_sun_star_comp_Draw_XMLOasisMetaExporter_get_implementation ( uno::XComponentContext *  pCtx,
uno::Sequence< uno::Any > const &   
)

Definition at line 2757 of file sdxmlexp.cxx.

References META, and OASIS.

◆ com_sun_star_comp_Draw_XMLOasisSettingsExporter_get_implementation()

SAL_DLLPUBLIC_EXPORT uno::XInterface * com_sun_star_comp_Draw_XMLOasisSettingsExporter_get_implementation ( uno::XComponentContext *  pCtx,
uno::Sequence< uno::Any > const &   
)

Definition at line 2749 of file sdxmlexp.cxx.

References OASIS, and SETTINGS.

◆ com_sun_star_comp_Draw_XMLOasisStylesExporter_get_implementation()

SAL_DLLPUBLIC_EXPORT uno::XInterface * com_sun_star_comp_Draw_XMLOasisStylesExporter_get_implementation ( uno::XComponentContext *  pCtx,
uno::Sequence< uno::Any > const &   
)

Definition at line 2775 of file sdxmlexp.cxx.

References AUTOSTYLES, FONTDECLS, MASTERSTYLES, OASIS, and STYLES.

◆ com_sun_star_comp_DrawingLayer_XMLExporter_get_implementation()

SAL_DLLPUBLIC_EXPORT uno::XInterface * com_sun_star_comp_DrawingLayer_XMLExporter_get_implementation ( uno::XComponentContext *  pCtx,
uno::Sequence< uno::Any > const &   
)

Definition at line 2797 of file sdxmlexp.cxx.

References AUTOSTYLES, CONTENT, EMBEDDED, FONTDECLS, OASIS, and STYLES.

◆ com_sun_star_comp_Impress_XMLClipboardExporter_get_implementation()

SAL_DLLPUBLIC_EXPORT uno::XInterface * com_sun_star_comp_Impress_XMLClipboardExporter_get_implementation ( uno::XComponentContext *  pCtx,
uno::Sequence< uno::Any > const &   
)

Definition at line 2808 of file sdxmlexp.cxx.

References AUTOSTYLES, CONTENT, EMBEDDED, FONTDECLS, OASIS, and STYLES.

◆ com_sun_star_comp_Impress_XMLExporter_get_implementation()

SAL_DLLPUBLIC_EXPORT uno::XInterface * com_sun_star_comp_Impress_XMLExporter_get_implementation ( uno::XComponentContext *  pCtx,
uno::Sequence< uno::Any > const &   
)

Definition at line 2725 of file sdxmlexp.cxx.

References AUTOSTYLES, CONTENT, EMBEDDED, FONTDECLS, MASTERSTYLES, META, SCRIPTS, SETTINGS, and STYLES.

◆ com_sun_star_comp_Impress_XMLOasisContentExporter_get_implementation()

SAL_DLLPUBLIC_EXPORT uno::XInterface * com_sun_star_comp_Impress_XMLOasisContentExporter_get_implementation ( uno::XComponentContext *  pCtx,
uno::Sequence< uno::Any > const &   
)

Definition at line 2699 of file sdxmlexp.cxx.

References AUTOSTYLES, CONTENT, FONTDECLS, OASIS, and SCRIPTS.

◆ com_sun_star_comp_Impress_XMLOasisExporter_get_implementation()

SAL_DLLPUBLIC_EXPORT uno::XInterface * com_sun_star_comp_Impress_XMLOasisExporter_get_implementation ( uno::XComponentContext *  pCtx,
uno::Sequence< uno::Any > const &   
)

Definition at line 2677 of file sdxmlexp.cxx.

References AUTOSTYLES, CONTENT, EMBEDDED, FONTDECLS, MASTERSTYLES, META, OASIS, SCRIPTS, SETTINGS, and STYLES.

◆ com_sun_star_comp_Impress_XMLOasisMetaExporter_get_implementation()

SAL_DLLPUBLIC_EXPORT uno::XInterface * com_sun_star_comp_Impress_XMLOasisMetaExporter_get_implementation ( uno::XComponentContext *  pCtx,
uno::Sequence< uno::Any > const &   
)

Definition at line 2709 of file sdxmlexp.cxx.

References META, and OASIS.

◆ com_sun_star_comp_Impress_XMLOasisSettingsExporter_get_implementation()

SAL_DLLPUBLIC_EXPORT uno::XInterface * com_sun_star_comp_Impress_XMLOasisSettingsExporter_get_implementation ( uno::XComponentContext *  pCtx,
uno::Sequence< uno::Any > const &   
)

Definition at line 2717 of file sdxmlexp.cxx.

References OASIS, and SETTINGS.

◆ com_sun_star_comp_Impress_XMLOasisStylesExporter_get_implementation()

SAL_DLLPUBLIC_EXPORT uno::XInterface * com_sun_star_comp_Impress_XMLOasisStylesExporter_get_implementation ( uno::XComponentContext *  pCtx,
uno::Sequence< uno::Any > const &   
)

Definition at line 2689 of file sdxmlexp.cxx.

References AUTOSTYLES, FONTDECLS, MASTERSTYLES, OASIS, and STYLES.

◆ findOrAppendImpl() [1/2]

static OUString findOrAppendImpl ( std::vector< DateTimeDeclImpl > &  rVector,
const OUString &  rText,
bool  bFixed,
sal_Int32  nFormat,
std::u16string_view  pPrefix 
)
static

◆ findOrAppendImpl() [2/2]

static OUString findOrAppendImpl ( std::vector< OUString > &  rVector,
const OUString &  rText,
std::u16string_view  pPrefix 
)
static

Definition at line 1324 of file sdxmlexp.cxx.

References nIndex.

Referenced by SdXMLExport::ImpPrepDrawPageHeaderFooterDecls().

◆ gsPageLayoutNames()

constexpr OUStringLiteral gsPageLayoutNames ( u"PageLayoutNames"  )
constexpr

Variable Documentation

◆ gpStrDateTimeTextPrefix

constexpr OUStringLiteral gpStrDateTimeTextPrefix = u"dtd"
constexpr

◆ gpStrFooterTextPrefix

constexpr OUStringLiteral gpStrFooterTextPrefix = u"ftr"
constexpr

◆ gpStrHeaderTextPrefix

constexpr OUStringLiteral gpStrHeaderTextPrefix = u"hdr"
constexpr