21#include <com/sun/star/beans/XPropertySet.hpp>
22#include <com/sun/star/container/XIndexReplace.hpp>
30#include <rtl/ustring.hxx>
35using ::com::sun::star::beans::XPropertySet;
36using ::com::sun::star::uno::Reference;
37using ::com::sun::star::uno::Any;
41 Reference<XPropertySet> & rPropSet)
44, nOutlineLevel(rImport.GetTextImport()->GetChapterNumbering()->getCount())
47, bUseParagraphStyles(false)
72 GetChapterNumbering()->getCount()))
132 const css::uno::Reference< css::xml::sax::XFastAttributeList >& xAttrList )
const char * aLevelStylePropNameTOCMap[]
const bool aAllowedTokenTypesTOC[]
const SvXMLEnumMapEntry< sal_uInt16 > aSvLevelNameTOCMap[]
SvXMLImport & GetImport()
Superclass for index source elements.
virtual css::uno::Reference< css::xml::sax::XFastContextHandler > SAL_CALL createFastChildContext(sal_Int32 nElement, const css::uno::Reference< css::xml::sax::XFastAttributeList > &xAttrList) override
virtual void SAL_CALL endFastElement(sal_Int32 nElement) override
endFastElement is called before a context will be destructed, but after an elements context has been ...
css::uno::Reference< css::beans::XPropertySet > & rIndexPropertySet
tab stops relative to margin or indent?
virtual void ProcessAttribute(const sax_fastparser::FastAttributeList::FastAttributeIter &aIter)
XMLIndexTOCSourceContext(SvXMLImport &rImport, css::uno::Reference< css::beans::XPropertySet > &rPropSet)
virtual void ProcessAttribute(const sax_fastparser::FastAttributeList::FastAttributeIter &aIter) override
virtual ~XMLIndexTOCSourceContext() override
virtual void SAL_CALL endFastElement(sal_Int32 nElement) override
endFastElement is called before a context will be destructed, but after an elements context has been ...
virtual css::uno::Reference< css::xml::sax::XFastContextHandler > SAL_CALL createFastChildContext(sal_Int32 nElement, const css::uno::Reference< css::xml::sax::XFastAttributeList > &xAttrList) override
Import index entry templates.
static bool convertNumber(sal_Int32 &rValue, std::u16string_view aString, sal_Int32 nMin=SAL_MIN_INT32, sal_Int32 nMax=SAL_MAX_INT32)
static bool convertBool(bool &rBool, std::u16string_view rString)
sal_Int32 getToken() const
std::string_view toView() const
Handling of tokens in XML:
@ XML_TABLE_OF_CONTENT_ENTRY_TEMPLATE
@ XML_USE_INDEX_SOURCE_STYLES
bool IsXMLToken(std::u16string_view rString, enum XMLTokenEnum eToken)
compare eToken to the string
#define XML_ELEMENT(prefix, name)