LibreOffice Module lotuswordpro (master) 1
Public Member Functions | Private Attributes | List of all members
XFEntry Class Reference

Index entry object. More...

#include <xfentry.hxx>

Inheritance diagram for XFEntry:
[legend]
Collaboration diagram for XFEntry:
[legend]

Public Member Functions

 XFEntry ()
 
void SetEntryType (enumXFEntry type)
 @descr Set entry type. More...
 
void SetStringValue (const OUString &value)
 @descr Set entry string value. More...
 
void SetKey (const OUString &key1, const OUString &key2)
 @descr Set entry key. More...
 
void SetOutlineLevel (sal_Int32 level)
 @descr Set outline level. 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 Attributes

enumXFEntry m_eType
 
OUString m_strValue
 
OUString m_strKey1
 
OUString m_strKey2
 
OUString m_strName
 
sal_Int32 m_nOutlineLevel
 

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
 

Detailed Description

Index entry object.

Definition at line 69 of file xfentry.hxx.

Constructor & Destructor Documentation

◆ XFEntry()

XFEntry::XFEntry ( )

Definition at line 67 of file xfentry.cxx.

References m_eType.

Member Function Documentation

◆ SetEntryType()

void XFEntry::SetEntryType ( enumXFEntry  type)
inline

@descr Set entry type.

Definition at line 106 of file xfentry.hxx.

References m_eType, and type.

Referenced by LwpFribField::XFConvert().

◆ SetKey()

void XFEntry::SetKey ( const OUString &  key1,
const OUString &  key2 
)
inline

@descr Set entry key.

The keys is available only for enumXFEntryAlphabetical.

Definition at line 110 of file xfentry.hxx.

References m_strKey1, and m_strKey2.

Referenced by LwpFribField::XFConvert().

◆ SetOutlineLevel()

void XFEntry::SetOutlineLevel ( sal_Int32  level)
inline

@descr Set outline level.

This is available for enumXFEntryTOC and enumXFEntryUserIndex.

Definition at line 116 of file xfentry.hxx.

References m_nOutlineLevel.

Referenced by LwpFribField::XFConvert().

◆ SetStringValue()

void XFEntry::SetStringValue ( const OUString &  value)
inline

@descr Set entry string value.

Definition at line 108 of file xfentry.hxx.

References m_strValue, and value.

Referenced by LwpFribField::XFConvert().

◆ ToXml()

void XFEntry::ToXml ( IXFStream pStrm)
overridevirtual

Member Data Documentation

◆ m_eType

enumXFEntry XFEntry::m_eType
private

Definition at line 98 of file xfentry.hxx.

Referenced by SetEntryType(), and ToXml().

◆ m_nOutlineLevel

sal_Int32 XFEntry::m_nOutlineLevel
private

Definition at line 103 of file xfentry.hxx.

Referenced by SetOutlineLevel(), and ToXml().

◆ m_strKey1

OUString XFEntry::m_strKey1
private

Definition at line 100 of file xfentry.hxx.

Referenced by SetKey(), and ToXml().

◆ m_strKey2

OUString XFEntry::m_strKey2
private

Definition at line 101 of file xfentry.hxx.

Referenced by SetKey(), and ToXml().

◆ m_strName

OUString XFEntry::m_strName
private

Definition at line 102 of file xfentry.hxx.

Referenced by ToXml().

◆ m_strValue

OUString XFEntry::m_strValue
private

Definition at line 99 of file xfentry.hxx.

Referenced by SetStringValue(), and ToXml().


The documentation for this class was generated from the following files: