22#include <rtl/ustring.hxx>
23#include <com/sun/star/uno/Reference.h>
24#include <com/sun/star/xml/sax/XAttributeList.hpp>
25#include <com/sun/star/style/NumberingType.hpp>
45using ::com::sun::star::uno::Any;
46using ::com::sun::star::uno::Reference;
52 vector<XMLPropertyState> & rProps,
56 rMapper(
std::move(xMapperRef))
66 const Reference<css::xml::sax::XFastAttributeList> & xAttrList)
69 bool bNumRestart =
false;
70 bool bEndnote =
false;
71 sal_Int16 nNumRestartAt = 0;
75 OUString sNumLetterSync;
80 switch(aIter.getToken())
87 nNumRestartAt =
static_cast< sal_Int16
>( nTmp ) - 1;
100 sNumPrefix = aIter.toString();
106 sNumSuffix = aIter.toString();
112 sNumFormat = aIter.toString();
118 sNumLetterSync = aIter.toString();
145 sal_Int16
nNumType = NumberingType::ARABIC;
This class deliberately does not support XWeak, to improve performance when loading large documents.
SvXMLImport & GetImport()
static bool convertNumber(sal_Int32 &rValue, std::u16string_view aString, sal_Int32 nMin=SAL_MIN_INT32, sal_Int32 nMax=SAL_MAX_INT32)
FastAttributeList & castToFastAttributeList(const css::uno::Reference< css::xml::sax::XFastAttributeList > &xAttrList)
Handling of tokens in XML:
bool IsXMLToken(std::u16string_view rString, enum XMLTokenEnum eToken)
compare eToken to the string
Smart struct to transport an Any with an index to the appropriate property-name.
#define CTF_SECTION_ENDNOTE_NUM_SUFFIX
#define CTF_SECTION_ENDNOTE_NUM_RESTART_AT
#define CTF_SECTION_FOOTNOTE_NUM_SUFFIX
#define CTF_SECTION_FOOTNOTE_NUM_OWN
#define CTF_SECTION_ENDNOTE_NUM_OWN
#define CTF_SECTION_ENDNOTE_NUM_RESTART
#define CTF_SECTION_FOOTNOTE_NUM_RESTART_AT
#define CTF_SECTION_ENDNOTE_END
#define CTF_SECTION_ENDNOTE_NUM_TYPE
#define CTF_SECTION_FOOTNOTE_NUM_TYPE
#define CTF_SECTION_ENDNOTE_NUM_PREFIX
#define CTF_SECTION_FOOTNOTE_END
#define CTF_SECTION_FOOTNOTE_NUM_PREFIX
#define CTF_SECTION_FOOTNOTE_NUM_RESTART
#define XMLOFF_WARN_UNKNOWN(area, rIter)
#define XML_ELEMENT(prefix, name)