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

Adapter for text to content. More...

#include <xftextcontent.hxx>

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

Public Member Functions

 XFTextContent ()
 
 XFTextContent (OUString text)
 
virtual ~XFTextContent () override
 
void SetText (const OUString &text)
 @descr Set the text. More...
 
virtual enumXFContent GetContentType () override
 : return the content type. 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

OUString m_strText
 

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

Adapter for text to content.

Definition at line 68 of file xftextcontent.hxx.

Constructor & Destructor Documentation

◆ XFTextContent() [1/2]

XFTextContent::XFTextContent ( )
inline

Definition at line 71 of file xftextcontent.hxx.

◆ XFTextContent() [2/2]

XFTextContent::XFTextContent ( OUString  text)
explicit

Definition at line 62 of file xftextcontent.cxx.

References text().

◆ ~XFTextContent()

XFTextContent::~XFTextContent ( )
overridevirtual

Definition at line 66 of file xftextcontent.cxx.

Member Function Documentation

◆ GetContentType()

enumXFContent XFTextContent::GetContentType ( )
overridevirtual

: return the content type.

Reimplemented from XFContent.

Definition at line 70 of file xftextcontent.cxx.

References enumXFContentText.

◆ SetText()

void XFTextContent::SetText ( const OUString &  text)

@descr Set the text.

Definition at line 75 of file xftextcontent.cxx.

References m_strText, and text().

Referenced by LwpFrib::ConvertChars(), and LwpFribField::XFConvert().

◆ ToXml()

void XFTextContent::ToXml ( IXFStream pStrm)
overridevirtual

Member Data Documentation

◆ m_strText

OUString XFTextContent::m_strText
private

Definition at line 88 of file xftextcontent.hxx.

Referenced by SetText(), and ToXml().


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