60#ifndef INCLUDED_LOTUSWORDPRO_INC_XFILTER_XFINDEX_HXX
61#define INCLUDED_LOTUSWORDPRO_INC_XFILTER_XFINDEX_HXX
87 void SetLevel(
const OUString& level);
105 void AddTextEntry(
const OUString& sSpan,
const OUString& styleName);
163 void AddTocSource(sal_uInt16 nLevel,
const OUString& sStyleName);
173 #define MAX_TOC_LEVEL 10
200 std::pair<enumXFIndexTemplate, OUString> pair(entry, styleName);
Stream wrapper for sax writer.
@descr Base class for all content object.
std::map< sal_uInt16, OUString > m_aTextEntries
void SetTagName(const OUString &tag)
@descr Helper function.
OUString m_strTabDelimiter
void SetStyleName(const OUString &style) override
@descr Set style.
std::vector< TOCTEMPLATE_ENTRY_TYPE > m_aEntries
std::pair< enumXFIndexTemplate, OUString > TOCTEMPLATE_ENTRY_TYPE
void AddEntry(enumXFIndexTemplate entry, const OUString &styleName)
@descr Add an entry in the template.
void AddTabEntry(enumXFTab type, double len, sal_Unicode leader, sal_Unicode delimiter, const OUString &styleName)
@descr Add a tab entry in the template.
void SetLevel(const OUString &level)
@descr Set template level.
virtual void ToXml(IXFStream *pStrm) override
void AddTextEntry(const OUString &sSpan, const OUString &styleName)
@descr Add an entry in the template.
Index, include index template, index body.
void SetProtected(bool protect)
@descr Set if protected index to prevent handy-revise.
void SetSeparator(bool sep)
@descr Set separator.
virtual ~XFIndex() override
void AddTemplate(const OUString &level, const OUString &style, XFIndexTemplate *templ)
@descr Add index template entry.
virtual void ToXml(IXFStream *pStrm) override
@descr Output to OOo model or local file.
void AddTocSource(sal_uInt16 nLevel, const OUString &sStyleName)
void SetIndexType(enumXFIndex type)
@descr Set index type.
std::vector< OUString > m_aTOCSource[MAX_TOC_LEVEL+1]
std::vector< rtl::Reference< XFIndexTemplate > > m_aTemplates
Paragraph object for SODC.
@ enumXFIndexTemplateSpan