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

Section object. More...

#include <xfsection.hxx>

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

Public Member Functions

 XFSection ()
 
virtual ~XFSection () override
 
virtual void ToXml (IXFStream *pStrm) override
 @descr Output section object. More...
 
- Public Member Functions inherited from XFContentContainer
 XFContentContainer ()
 
virtual ~XFContentContainer () override
 @descr Destructure, all contents will be deleted too. More...
 
virtual void Add (XFContent *pContent)
 @descr Add content. More...
 
rtl::Reference< XFContentGetLastContent ()
 
void RemoveLastContent ()
 
void Add (const OUString &text)
 @descr convenience function for add text content. More...
 
int GetCount () const
 @descr return the number of contents in the container. More...
 
rtl::Reference< XFContentGetContent (sal_uInt32 index) const
 @descr get content by index. More...
 
void Reset ()
 @descr clear all contents in the container. More...
 
rtl::Reference< XFContentFindFirstContent (enumXFContent type)
 @descr helper function, find first content by type. More...
 
virtual enumXFContent GetContentType () override
 @descr return the content type. More...
 
virtual void ToXml (IXFStream *pStrm) override
 @descr Output to OOo model or local file. More...
 
bool HierarchyContains (const XFContent *pContent) const
 
- 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

OUString m_strSectionName
 
OUString m_strSourceLink
 

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

Section object.

Definition at line 69 of file xfsection.hxx.

Constructor & Destructor Documentation

◆ XFSection()

XFSection::XFSection ( )

Definition at line 64 of file xfsection.cxx.

References XFGlobal::GenSectionName(), and m_strSectionName.

◆ ~XFSection()

XFSection::~XFSection ( )
overridevirtual

Definition at line 66 of file xfsection.cxx.

Member Function Documentation

◆ ToXml()

void XFSection::ToXml ( IXFStream pStrm)
overridevirtual

Member Data Documentation

◆ m_strSectionName

OUString XFSection::m_strSectionName
private

Definition at line 82 of file xfsection.hxx.

Referenced by ToXml(), and XFSection().

◆ m_strSourceLink

OUString XFSection::m_strSourceLink
private

Definition at line 83 of file xfsection.hxx.

Referenced by ToXml().


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