23#include <com/sun/star/beans/XPropertySet.hpp>
24#include <com/sun/star/text/ReferenceFieldPart.hpp>
35#include <rtl/ustring.hxx>
41using ::com::sun::star::beans::XPropertySet;
42using ::com::sun::star::uno::Reference;
43using ::com::sun::star::uno::Any;
46 SvXMLImport& rImport, Reference<XPropertySet> & rPropSet)
50 , bDisplayFormatOK(false)
62 {
XML_TEXT, ReferenceFieldPart::TEXT },
67 {
XML_CHAPTER, ReferenceFieldPart::CATEGORY_AND_NUMBER },
68 {
XML_PAGE, ReferenceFieldPart::ONLY_CAPTION },
128 const css::uno::Reference< css::xml::sax::XFastAttributeList >& xAttrList )
SvXMLEnumMapEntry< sal_uInt16 > const lcl_aReferenceTypeTokenMap[]
const char * aLevelStylePropNameTableMap[]
const bool aAllowedTokenTypesTable[]
const SvXMLEnumMapEntry< sal_uInt16 > * aLevelNameTableMap
SvXMLImport & GetImport()
static bool convertEnum(EnumT &rEnum, std::u16string_view rValue, const SvXMLEnumMapEntry< EnumT > *pMap)
convert string to enum using given enum map, if the enum is not found in the map, this method will re...
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)
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 ProcessAttribute(const sax_fastparser::FastAttributeList::FastAttributeIter &aIter) override
virtual ~XMLIndexTableSourceContext() 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 ...
XMLIndexTableSourceContext(SvXMLImport &rImport, css::uno::Reference< css::beans::XPropertySet > &rPropSet)
Import index entry templates.
static bool convertBool(bool &rBool, std::u16string_view rString)
sal_Int32 getToken() const
OUString toString() const
std::string_view toView() const
Handling of tokens in XML:
@ XML_CAPTION_SEQUENCE_FORMAT
@ XML_CAPTION_SEQUENCE_NAME
@ XML_TABLE_INDEX_ENTRY_TEMPLATE
#define XML_ELEMENT(prefix, name)