LibreOffice Module lotuswordpro (master) 1
|
Index template. More...
#include <xfindex.hxx>
Public Member Functions | |
XFIndexTemplate () | |
void | SetLevel (const OUString &level) |
@descr Set template level. More... | |
void | SetStyleName (const OUString &style) override |
@descr Set style. More... | |
void | AddEntry (enumXFIndexTemplate entry, const OUString &styleName) |
@descr Add an entry in the template. More... | |
void | AddTabEntry (enumXFTab type, double len, sal_Unicode leader, sal_Unicode delimiter, const OUString &styleName) |
@descr Add a tab entry in the template. More... | |
void | AddTextEntry (const OUString &sSpan, const OUString &styleName) |
@descr Add an entry in the template. More... | |
virtual void | ToXml (IXFStream *pStrm) override |
Public Member Functions inherited from XFContent | |
virtual enumXFContent | GetContentType () |
: return the content type. More... | |
virtual void | SetStyleName (const OUString &style) |
: All content except XFTextContent can have a style. More... | |
const OUString & | GetStyleName () const |
: return the style name. More... | |
void | DoToXml (IXFStream *stream) |
Public Member Functions inherited from salhelper::SimpleReferenceObject | |
SimpleReferenceObject () | |
void | acquire () |
void | release () |
Private Types | |
typedef std::pair< enumXFIndexTemplate, OUString > | TOCTEMPLATE_ENTRY_TYPE |
Private Member Functions | |
void | SetTagName (const OUString &tag) |
@descr Helper function. More... | |
Private Attributes | |
OUString | m_nLevel |
OUString | m_strStyle |
enumXFTab | m_eTabType |
double | m_fTabLength |
OUString | m_strTabDelimiter |
OUString | m_strTabLeader |
OUString | m_strTagName |
std::vector< TOCTEMPLATE_ENTRY_TYPE > | m_aEntries |
std::map< sal_uInt16, OUString > | m_aTextEntries |
Friends | |
class | XFIndex |
Additional Inherited Members | |
Static Public Member Functions inherited from salhelper::SimpleReferenceObject | |
static void * | operator new (std::size_t nSize) |
static void * | operator new (std::size_t nSize, std::nothrow_t const &rNothrow) |
static void | operator delete (void *pPtr) |
static void | operator delete (void *pPtr, std::nothrow_t const &rNothrow) |
Protected Member Functions inherited from XFContent | |
XFContent () | |
virtual void | ToXml (IXFStream *stream)=0 |
virtual | ~XFContent () override |
Protected Member Functions inherited from salhelper::SimpleReferenceObject | |
virtual | ~SimpleReferenceObject () COVERITY_NOEXCEPT_FALSE |
Protected Attributes inherited from XFContent | |
OUString | m_strStyleName |
Protected Attributes inherited from salhelper::SimpleReferenceObject | |
oslInterlockedCount | m_nCount |
Index template.
When index update, the template is used to decide the index body.
Definition at line 78 of file xfindex.hxx.
|
private |
Definition at line 124 of file xfindex.hxx.
|
inline |
Definition at line 177 of file xfindex.hxx.
References m_nLevel.
|
inline |
@descr Add an entry in the template.
Definition at line 198 of file xfindex.hxx.
References m_aEntries.
Referenced by AddTabEntry(), AddTextEntry(), LwpFribSection::SetDefaultAlphaIndex(), and LwpTocSuperLayout::XFConvert().
|
inline |
@descr Add a tab entry in the template.
Definition at line 204 of file xfindex.hxx.
References AddEntry(), enumXFIndexTemplateTab, m_eTabType, m_fTabLength, m_strTabDelimiter, m_strTabLeader, and type.
Referenced by LwpTocSuperLayout::XFConvert().
|
inline |
@descr Add an entry in the template.
Definition at line 214 of file xfindex.hxx.
References AddEntry(), enumXFIndexTemplateSpan, m_aEntries, and m_aTextEntries.
Referenced by LwpTocSuperLayout::XFConvert().
|
inline |
@descr Set template level.
Definition at line 184 of file xfindex.hxx.
References m_nLevel.
Referenced by XFIndex::AddTemplate(), and LwpTocSuperLayout::XFConvert().
|
inlineoverridevirtual |
@descr Set style.
Reimplemented from XFContent.
Definition at line 188 of file xfindex.hxx.
References m_strStyle.
Referenced by XFIndex::AddTemplate().
|
inlineprivate |
|
overridevirtual |
Implements XFContent.
Definition at line 231 of file xfindex.cxx.
References IXFAttrList::AddAttribute(), IXFStream::Characters(), IXFAttrList::Clear(), IXFStream::EndElement(), enumXFIndexTemplateBibliography, enumXFIndexTemplateChapter, enumXFIndexTemplateLinkEnd, enumXFIndexTemplateLinkStart, enumXFIndexTemplatePage, enumXFIndexTemplateSpan, enumXFIndexTemplateTab, enumXFIndexTemplateText, enumXFTabCenter, enumXFTabChar, enumXFTabLeft, enumXFTabRight, first, IXFStream::GetAttrList(), XFContent::GetStyleName(), i, m_aEntries, m_aTextEntries, m_eTabType, m_fTabLength, m_nLevel, m_strStyle, m_strTabDelimiter, m_strTabLeader, m_strTagName, and IXFStream::StartElement().
|
friend |
Definition at line 115 of file xfindex.hxx.
|
private |
Definition at line 125 of file xfindex.hxx.
Referenced by AddEntry(), AddTextEntry(), and ToXml().
|
private |
Definition at line 126 of file xfindex.hxx.
Referenced by AddTextEntry(), and ToXml().
|
private |
Definition at line 119 of file xfindex.hxx.
Referenced by AddTabEntry(), and ToXml().
|
private |
Definition at line 120 of file xfindex.hxx.
Referenced by AddTabEntry(), and ToXml().
|
private |
Definition at line 117 of file xfindex.hxx.
Referenced by SetLevel(), ToXml(), and XFIndexTemplate().
|
private |
Definition at line 118 of file xfindex.hxx.
Referenced by SetStyleName(), and ToXml().
|
private |
Definition at line 121 of file xfindex.hxx.
Referenced by AddTabEntry(), and ToXml().
|
private |
Definition at line 122 of file xfindex.hxx.
Referenced by AddTabEntry(), and ToXml().
|
private |
Definition at line 123 of file xfindex.hxx.
Referenced by SetTagName(), and ToXml().