LibreOffice Module lotuswordpro (master) 1
|
#include <xftextspan.hxx>
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 |
Definition at line 73 of file xftextspan.hxx.
XFTextSpan::XFTextSpan | ( | ) |
Definition at line 65 of file xftextspan.cxx.
XFTextSpan::XFTextSpan | ( | const OUString & | text, |
const OUString & | style | ||
) |
Definition at line 70 of file xftextspan.cxx.
References Add(), XFContent::SetStyleName(), and text().
|
overridevirtual |
Definition at line 78 of file xftextspan.cxx.
void XFTextSpan::Add | ( | const OUString & | text | ) |
Definition at line 92 of file xftextspan.cxx.
void XFTextSpan::Add | ( | XFContent * | pContent | ) |
Definition at line 87 of file xftextspan.cxx.
References m_aContents.
Referenced by Add(), LwpFribField::ConvertCrossRefEnd(), LwpFribField::ConvertCrossRefStart(), LwpFribField::ConvertDateTimeEnd(), LwpFribField::ConvertDateTimeStart(), LwpFribField::ConvertDocFieldEnd(), LwpFribField::ConvertDocFieldStart(), LwpFribNote::XFConvert(), LwpFribDocVar::XFConvert(), LwpFribPageNumber::XFConvert(), and XFTextSpan().
|
overridevirtual |
: return the content type.
Reimplemented from XFContent.
Definition at line 82 of file xftextspan.cxx.
References enumXFContentSpan.
|
overridevirtual |
Implements XFContent.
Reimplemented in XFTextSpanStart, and XFTextSpanEnd.
Definition at line 98 of file xftextspan.cxx.
References IXFAttrList::AddAttribute(), IXFAttrList::Clear(), XFContent::DoToXml(), IXFStream::EndElement(), IXFStream::GetAttrList(), XFContent::GetStyleName(), m_aContents, and IXFStream::StartElement().
|
protected |
Definition at line 88 of file xftextspan.hxx.
Referenced by Add(), ToXml(), XFTextSpanStart::ToXml(), and XFTextSpanEnd::ToXml().