23#include <com/sun/star/beans/XPropertySet.hpp>
24#include <com/sun/star/container/XNameContainer.hpp>
35#include <rtl/ustring.hxx>
38using ::com::sun::star::beans::XPropertySet;
39using ::com::sun::star::uno::Reference;
40using ::com::sun::star::uno::Any;
45 Reference<XPropertySet> & rPropSet)
47, bMainEntryStyleNameOK(false)
49, bCombineEntries(true)
55, bCommaSeparated(false)
72 OUString sDisplayStyleName =
GetImport().GetStyleDisplayName(
74 const Reference < css::container::XNameContainer >&
75 rStyles =
GetImport().GetTextImport()->GetTextStyles();
164 aAny <<=
GetImport().GetStyleDisplayName(
195 const css::uno::Reference< css::xml::sax::XFastAttributeList >& xAttrList )
const bool aAllowedTokenTypesAlpha[]
const SvXMLEnumMapEntry< sal_uInt16 > aLevelNameAlphaMap[]
const char * aLevelStylePropNameAlphaMap[]
const css::lang::Locale & getLocale(bool bResolveSystem=true) const
SvXMLImport & GetImport()
virtual ~XMLIndexAlphabeticalSourceContext() override
bool bMainEntryStyleNameOK
virtual css::uno::Reference< css::xml::sax::XFastContextHandler > SAL_CALL createFastChildContext(sal_Int32 nElement, const css::uno::Reference< css::xml::sax::XFastAttributeList > &xAttrList) override
XMLIndexAlphabeticalSourceContext(SvXMLImport &rImport, css::uno::Reference< css::beans::XPropertySet > &rPropSet)
OUString sMainEntryStyleName
virtual void ProcessAttribute(const sax_fastparser::FastAttributeList::FastAttributeIter &aIter) 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 ...
LanguageTagODF maLanguageTagODF
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)
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_MAIN_ENTRY_STYLE_NAME
@ XML_COMBINE_ENTRIES_WITH_PP
@ XML_USE_KEYS_AS_ENTRIES
@ XML_ALPHABETICAL_INDEX_ENTRY_TEMPLATE
@ XML_COMBINE_ENTRIES_WITH_DASH
@ XML_ALPHABETICAL_SEPARATORS
LanguageTag getLanguageTag() const
Best call this only once per instance, it recreates a LanguageTag instance on every call.
OUString maRfcLanguageTag
#define XML_ELEMENT(prefix, name)