LibreOffice Module lotuswordpro (master) 1
|
Adapter for text to content. More...
#include <xftextcontent.hxx>
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 |
Adapter for text to content.
Definition at line 68 of file xftextcontent.hxx.
|
inline |
Definition at line 71 of file xftextcontent.hxx.
|
explicit |
Definition at line 62 of file xftextcontent.cxx.
References text().
|
overridevirtual |
Definition at line 66 of file xftextcontent.cxx.
|
overridevirtual |
: return the content type.
Reimplemented from XFContent.
Definition at line 70 of file xftextcontent.cxx.
References enumXFContentText.
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().
|
overridevirtual |
Implements XFContent.
Definition at line 80 of file xftextcontent.cxx.
References IXFAttrList::AddAttribute(), IXFStream::Characters(), IXFAttrList::Clear(), IXFStream::EndElement(), IXFStream::GetAttrList(), i, m_strText, nIndex, and IXFStream::StartElement().
|
private |
Definition at line 88 of file xftextcontent.hxx.