22#include <com/sun/star/drawing/XDrawPage.hpp>
23#include <com/sun/star/task/XStatusIndicator.hpp>
25#include <com/sun/star/container/XNameAccess.hpp>
77 const ::css::uno::Reference< ::css::xml::sax::XFastAttributeList >& xAttrList )
override;
81 const css::uno::Reference< css::uno::XComponentContext >& xContext,
82 OUString
const & implementationName,
86 virtual void SAL_CALL
setTargetDocument(
const css::uno::Reference< css::lang::XComponent >& xDoc )
override;
89 virtual void SAL_CALL
initialize(
const css::uno::Sequence< css::uno::Any >& aArguments )
override;
91 virtual void SetViewSettings(
const css::uno::Sequence<css::beans::PropertyValue>& aViewProps)
override;
98 const css::uno::Reference< css::xml::sax::XFastAttributeList >& xAttrList);
120 const css::uno::Sequence< css::beans::NamedValue> & i_rStats)
override;
124 void AddHeaderDecl(
const OUString& rName,
const OUString& rText );
125 void AddFooterDecl(
const OUString& rName,
const OUString& rText );
126 void AddDateTimeDecl(
const OUString& rName,
const OUString& rText,
bool bFixed,
const OUString& rDateTimeFormat );
130 OUString
GetDateTimeDecl(
const OUString& rName,
bool& rbFixed, OUString& rDateTimeFormat );
void AddFooterDecl(const OUString &rName, const OUString &rText)
SvXMLStylesContext * CreateStylesContext()
const css::uno::Reference< css::container::XIndexAccess > & GetLocalDrawPages() const
void IncrementNewPageCount()
virtual void SAL_CALL setTargetDocument(const css::uno::Reference< css::lang::XComponent > &xDoc) override
void IncrementNewMasterPageCount()
rtl::Reference< SdXMLMasterStylesContext > mxMasterStylesContext
virtual SvXMLImportContext * CreateFastContext(sal_Int32 nElement, const ::css::uno::Reference< ::css::xml::sax::XFastAttributeList > &xAttrList) override
SvXMLImportContext * CreateFontDeclsContext()
static constexpr OUStringLiteral gsPreview
SvXMLImportContext * CreateMetaContext(const sal_Int32 nElement, const css::uno::Reference< css::xml::sax::XFastAttributeList > &xAttrList)
virtual void SAL_CALL initialize(const css::uno::Sequence< css::uno::Any > &aArguments) override
const css::uno::Reference< css::container::XIndexAccess > & GetLocalMasterPages() const
css::uno::Reference< css::container::XNameAccess > mxPageLayouts
OUString GetDateTimeDecl(const OUString &rName, bool &rbFixed, OUString &rDateTimeFormat)
HeaderFooterDeclMap maFooterDeclsMap
virtual void SetViewSettings(const css::uno::Sequence< css::beans::PropertyValue > &aViewProps) override
virtual void SetConfigurationSettings(const css::uno::Sequence< css::beans::PropertyValue > &aConfigProps) override
virtual void SetStatistics(const css::uno::Sequence< css::beans::NamedValue > &i_rStats) override
sal_Int32 mnNewMasterPageCount
SvXMLImportContext * CreateMasterStylesContext()
css::uno::Reference< css::container::XIndexAccess > mxDocMasterPages
sal_Int32 GetNewPageCount() const
HeaderFooterDeclMap maHeaderDeclsMap
css::uno::Reference< css::container::XIndexAccess > mxDocDrawPages
const css::uno::Reference< css::container::XNameAccess > & getPageLayouts() const
static constexpr OUStringLiteral gsPageLayouts
DateTimeDeclMap maDateTimeDeclsMap
SdXMLImport(const css::uno::Reference< css::uno::XComponentContext > &xContext, OUString const &implementationName, bool bIsDraw, SvXMLImportFlags nImportFlags)
void AddHeaderDecl(const OUString &rName, const OUString &rText)
virtual void NotifyContainsEmbeddedFont() override
void AddDateTimeDecl(const OUString &rName, const OUString &rText, bool bFixed, const OUString &rDateTimeFormat)
SvXMLStylesContext * CreateAutoStylesContext()
OUString GetHeaderDecl(const OUString &rName) const
OUString GetFooterDecl(const OUString &rName) const
sal_Int32 GetNewMasterPageCount() const
const css::uno::Reference< css::container::XNameAccess > & GetLocalDocStyleFamilies() const
css::uno::Reference< css::container::XNameAccess > mxDocStyleFamilies
This class deliberately does not support XWeak, to improve performance when loading large documents.
the SvXMLTypeConverter converts values of various types from their internal representation to the tex...
std::map< OUString, OUString > HeaderFooterDeclMap
std::map< OUString, DateTimeDeclContextImpl > DateTimeDeclMap
OUString maStrDateTimeFormat
DateTimeDeclContextImpl()