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

#include <xfannotation.hxx>

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

Public Member Functions

void SetDate (const OUString &date)
 
void SetAuthor (const OUString &author)
 
virtual void ToXml (IXFStream *pStrm) override
 @descr Output to OOo model or local file. More...
 
- Public Member Functions inherited from XFContentContainer
 XFContentContainer ()
 
virtual ~XFContentContainer () override
 @descr Destructure, all contents will be deleted too. More...
 
virtual void Add (XFContent *pContent)
 @descr Add content. More...
 
rtl::Reference< XFContentGetLastContent ()
 
void RemoveLastContent ()
 
void Add (const OUString &text)
 @descr convenience function for add text content. More...
 
int GetCount () const
 @descr return the number of contents in the container. More...
 
rtl::Reference< XFContentGetContent (sal_uInt32 index) const
 @descr get content by index. More...
 
void Reset ()
 @descr clear all contents in the container. More...
 
rtl::Reference< XFContentFindFirstContent (enumXFContent type)
 @descr helper function, find first content by type. More...
 
virtual enumXFContent GetContentType () override
 @descr return the content type. More...
 
virtual void ToXml (IXFStream *pStrm) override
 @descr Output to OOo model or local file. More...
 
bool HierarchyContains (const XFContent *pContent) const
 
- 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_strDate
 
OUString m_strAuthor
 

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

Definition at line 67 of file xfannotation.hxx.

Member Function Documentation

◆ SetAuthor()

void XFAnnotation::SetAuthor ( const OUString &  author)
inline

Definition at line 83 of file xfannotation.hxx.

References m_strAuthor.

Referenced by LwpFribNote::XFConvert().

◆ SetDate()

void XFAnnotation::SetDate ( const OUString &  date)
inline

Definition at line 81 of file xfannotation.hxx.

References m_strDate.

Referenced by LwpFribNote::XFConvert().

◆ ToXml()

void XFAnnotation::ToXml ( IXFStream pStrm)
inlineoverridevirtual

Member Data Documentation

◆ m_strAuthor

OUString XFAnnotation::m_strAuthor
private

Definition at line 78 of file xfannotation.hxx.

Referenced by SetAuthor(), and ToXml().

◆ m_strDate

OUString XFAnnotation::m_strDate
private

Definition at line 77 of file xfannotation.hxx.

Referenced by SetDate(), and ToXml().


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