LibreOffice Module lotuswordpro (master) 1
Public Member Functions | Protected Member Functions | Protected Attributes | Private Attributes | List of all members
XFContent Class Referenceabstract

@descr Base class for all content object. More...

#include <xfcontent.hxx>

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

Public Member Functions

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 ()
 

Protected Member Functions

 XFContent ()
 
virtual void ToXml (IXFStream *stream)=0
 
virtual ~XFContent () override
 
- Protected Member Functions inherited from salhelper::SimpleReferenceObject
virtual ~SimpleReferenceObject () COVERITY_NOEXCEPT_FALSE
 

Protected Attributes

OUString m_strStyleName
 
- Protected Attributes inherited from salhelper::SimpleReferenceObject
oslInterlockedCount m_nCount
 

Private Attributes

bool m_bDoingToXml
 

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)
 

Detailed Description

@descr Base class for all content object.

There is only two properties:style name and content type in this class.

Definition at line 79 of file xfcontent.hxx.

Constructor & Destructor Documentation

◆ XFContent()

XFContent::XFContent ( )
inlineprotected

Definition at line 107 of file xfcontent.hxx.

◆ ~XFContent()

virtual XFContent::~XFContent ( )
inlineoverrideprotectedvirtual

Definition at line 114 of file xfcontent.hxx.

Member Function Documentation

◆ DoToXml()

void XFContent::DoToXml ( IXFStream stream)
inline

◆ GetContentType()

virtual enumXFContent XFContent::GetContentType ( )
inlinevirtual

: return the content type.

Reimplemented in XFContentContainer, XFFrame, XFParagraph, XFTable, XFTextContent, and XFTextSpan.

Definition at line 85 of file xfcontent.hxx.

References enumXFContentUnknown.

Referenced by XFCell::Add(), and XFFrame::Add().

◆ GetStyleName()

const OUString & XFContent::GetStyleName ( ) const
inline

◆ SetStyleName()

virtual void XFContent::SetStyleName ( const OUString &  style)
inlinevirtual

◆ ToXml()

virtual void XFContent::ToXml ( IXFStream stream)
protectedpure virtual

Member Data Documentation

◆ m_bDoingToXml

bool XFContent::m_bDoingToXml
private

Definition at line 119 of file xfcontent.hxx.

Referenced by DoToXml().

◆ m_strStyleName

OUString XFContent::m_strStyleName
protected

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