22#include <com/sun/star/util/MeasureUnit.hpp>
23#include <com/sun/star/xml/sax/XDocumentHandler.hpp>
33 const uno::Reference< uno::XComponentContext >& rContext,
35 const OUString &rFileName,
36 uno::Reference< xml::sax::XDocumentHandler>
const &rHandler)
37:
SvXMLExport( rContext,
"", rFileName, util::MeasureUnit::
CM, rHandler ),
60 for ( sal_uInt16
i = 0;
i < nBlocks;
i++)
83 const uno::Reference< uno::XComponentContext >& rContext,
85 const OUString &rFileName,
86 uno::Reference< xml::sax::XDocumentHandler>
const &rHandler)
87:
SvXMLExport( rContext,
"", rFileName, util::MeasureUnit::
CM, rHandler ),
130 }
while (-1 !=
nPos );
void AddAttribute(sal_uInt16 nPrefix, const OUString &rName, const OUString &rValue)
SvXMLNamespaceMap & GetNamespaceMap_()
void addChaffWhenEncryptedStorage()
const css::uno::Reference< css::xml::sax::XDocumentHandler > & GetDocHandler() const
sal_uInt16 Add(const OUString &rPrefix, const OUString &rName, sal_uInt16 nKey=XML_NAMESPACE_UNKNOWN)
OUString GetLongName(sal_uInt16) const
Return shortname for index.
sal_uInt16 GetCount() const
Hashcode for Block names.
OUString GetPackageName(sal_uInt16) const
Return longname for index.
const OUString & GetName() const
OUString GetShortName(sal_uInt16) const
Index for longnames.
SwXMLTextBlocks & m_rBlockList
SwXMLBlockListExport(const css::uno::Reference< css::uno::XComponentContext > &rContext, SwXMLTextBlocks &rBlocks, const OUString &rFileName, css::uno::Reference< css::xml::sax::XDocumentHandler > const &rHandler)
ErrCode exportDoc(enum ::xmloff::token::XMLTokenEnum eClass=::xmloff::token::XML_TOKEN_INVALID) override
SwXMLTextBlocks & m_rBlockList
ErrCode exportDoc(enum ::xmloff::token::XMLTokenEnum) override
SwXMLTextBlockExport(const css::uno::Reference< css::uno::XComponentContext > &rContext, SwXMLTextBlocks &rBlocks, const OUString &rFileName, css::uno::Reference< css::xml::sax::XDocumentHandler > const &rHandler)
virtual bool IsOnlyTextBlock(const OUString &rShort) const override
const sal_uInt16 XML_NAMESPACE_NONE
std::basic_string_view< charT, traits > getToken(std::basic_string_view< charT, traits > sv, charT delimiter, std::size_t &position)
const OUString & GetXMLToken(enum XMLTokenEnum eToken)
constexpr sal_uInt16 XML_NAMESPACE_BLOCKLIST
constexpr sal_uInt16 XML_NAMESPACE_TEXT
constexpr sal_uInt16 XML_NAMESPACE_OFFICE