26#include <com/sun/star/uno/Reference.h>
27#include <com/sun/star/beans/PropertyValues.hpp>
31 namespace xml::sax {
class XAttributeList; }
85 template<
typename EnumT>
88 css::uno::Reference<css::beans::XPropertySet> & rPropSet,
91 const char** aLevelStylePropNameMap,
92 const bool* aAllowedTokenTypes,
96 eLevelAttrName, aLevelStylePropNameMap, aAllowedTokenTypes, bTOC_) {}
99 css::uno::Reference<css::beans::XPropertySet> & rPropSet,
102 const char** aLevelStylePropNameMap,
103 const bool* aAllowedTokenTypes,
110 const css::beans::PropertyValues& aValues);
116 const css::uno::Reference< css::xml::sax::XFastAttributeList >& xAttrList )
override;
118 virtual void SAL_CALL
endFastElement(sal_Int32 nElement)
override;
122 const css::uno::Reference< css::xml::sax::XFastAttributeList >& xAttrList )
override;
const char * aLevelStylePropNameTOCMap[]
const SvXMLEnumMapEntry< sal_uInt16 > aLevelNameBibliographyMap[]
const char * aLevelStylePropNameTableMap[]
const bool aAllowedTokenTypesBibliography[]
const bool aAllowedTokenTypesAlpha[]
const char * aLevelStylePropNameBibliographyMap[]
const bool aAllowedTokenTypesTOC[]
const bool aAllowedTokenTypesTable[]
const bool aAllowedTokenTypesUser[]
const SvXMLEnumMapEntry< sal_uInt16 > aLevelNameAlphaMap[]
const SvXMLEnumMapEntry< sal_uInt16 > aSvLevelNameTOCMap[]
const SvXMLEnumMapEntry< sal_uInt16 > * aLevelNameTableMap
const char * aLevelStylePropNameAlphaMap[]
This class deliberately does not support XWeak, to improve performance when loading large documents.
Import index entry templates.
::std::vector< css::beans::PropertyValues > aValueVector
virtual ~XMLIndexTemplateContext() 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 ...
XMLIndexTemplateContext(SvXMLImport &rImport, css::uno::Reference< css::beans::XPropertySet > &rPropSet, const SvXMLEnumMapEntry< EnumT > *aLevelNameMap, enum ::xmloff::token::XMLTokenEnum eLevelAttrName, const char **aLevelStylePropNameMap, const bool *aAllowedTokenTypes, bool bTOC_=false)
enum::xmloff::token::XMLTokenEnum eOutlineLevelAttrName
virtual void SAL_CALL startFastElement(sal_Int32 nElement, const css::uno::Reference< css::xml::sax::XFastAttributeList > &xAttrList) override
const char ** pOutlineLevelStylePropMap
virtual css::uno::Reference< css::xml::sax::XFastContextHandler > SAL_CALL createFastChildContext(sal_Int32 nElement, const css::uno::Reference< css::xml::sax::XFastAttributeList > &xAttrList) override
void addTemplateEntry(const css::beans::PropertyValues &aValues)
add template; to be called by child template entry contexts
XMLIndexTemplateContext(SvXMLImport &rImport, css::uno::Reference< css::beans::XPropertySet > &rPropSet, const SvXMLEnumMapEntry< sal_uInt16 > *aLevelNameMap, enum ::xmloff::token::XMLTokenEnum eLevelAttrName, const char **aLevelStylePropNameMap, const bool *aAllowedTokenTypes, bool bTOC)
const SvXMLEnumMapEntry< sal_uInt16 > * pOutlineLevelNameMap
const bool * pAllowedTokenTypesMap
css::uno::Reference< css::beans::XPropertySet > & rPropertySet
class SAL_NO_VTABLE XPropertySet
XMLTokenEnum
The enumeration of all XML tokens.