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

#include <xftextspan.hxx>

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

Public Member Functions

 XFTextSpan ()
 
 XFTextSpan (const OUString &text, const OUString &style)
 
virtual ~XFTextSpan () override
 
void Add (XFContent *pContent)
 
void Add (const OUString &text)
 
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 ()
 

Protected Attributes

std::vector< rtl::Reference< XFContent > > m_aContents
 
- Protected Attributes inherited from XFContent
OUString m_strStyleName
 
- Protected Attributes inherited from salhelper::SimpleReferenceObject
oslInterlockedCount m_nCount
 

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
 

Detailed Description

Definition at line 73 of file xftextspan.hxx.

Constructor & Destructor Documentation

◆ XFTextSpan() [1/2]

XFTextSpan::XFTextSpan ( )

Definition at line 65 of file xftextspan.cxx.

◆ XFTextSpan() [2/2]

XFTextSpan::XFTextSpan ( const OUString &  text,
const OUString &  style 
)

Definition at line 70 of file xftextspan.cxx.

References Add(), XFContent::SetStyleName(), and text().

◆ ~XFTextSpan()

XFTextSpan::~XFTextSpan ( )
overridevirtual

Definition at line 78 of file xftextspan.cxx.

Member Function Documentation

◆ Add() [1/2]

void XFTextSpan::Add ( const OUString &  text)

Definition at line 92 of file xftextspan.cxx.

References Add(), and text().

◆ Add() [2/2]

void XFTextSpan::Add ( XFContent pContent)

◆ GetContentType()

enumXFContent XFTextSpan::GetContentType ( )
overridevirtual

: return the content type.

Reimplemented from XFContent.

Definition at line 82 of file xftextspan.cxx.

References enumXFContentSpan.

◆ ToXml()

void XFTextSpan::ToXml ( IXFStream pStrm)
overridevirtual

Member Data Documentation

◆ m_aContents

std::vector<rtl::Reference<XFContent> > XFTextSpan::m_aContents
protected

Definition at line 88 of file xftextspan.hxx.

Referenced by Add(), ToXml(), XFTextSpanStart::ToXml(), and XFTextSpanEnd::ToXml().


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