LibreOffice Module lotuswordpro (master) 1
|
#include <xfsection.hxx>
Public Member Functions | |
XFSection () | |
virtual | ~XFSection () override |
virtual void | ToXml (IXFStream *pStrm) override |
@descr Output section object. 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< XFContent > | GetLastContent () |
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< XFContent > | GetContent (sal_uInt32 index) const |
@descr get content by index. More... | |
void | Reset () |
@descr clear all contents in the container. More... | |
rtl::Reference< XFContent > | FindFirstContent (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_strSectionName |
OUString | m_strSourceLink |
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 |
Section object.
Definition at line 69 of file xfsection.hxx.
XFSection::XFSection | ( | ) |
Definition at line 64 of file xfsection.cxx.
References XFGlobal::GenSectionName(), and m_strSectionName.
|
overridevirtual |
Definition at line 66 of file xfsection.cxx.
|
overridevirtual |
@descr Output section object.
Reimplemented from XFContentContainer.
Definition at line 68 of file xfsection.cxx.
References IXFAttrList::AddAttribute(), IXFAttrList::Clear(), IXFStream::EndElement(), IXFStream::GetAttrList(), XFContent::GetStyleName(), m_strSectionName, m_strSourceLink, IXFStream::StartElement(), and XFContentContainer::ToXml().
|
private |
Definition at line 82 of file xfsection.hxx.
Referenced by ToXml(), and XFSection().
|
private |
Definition at line 83 of file xfsection.hxx.
Referenced by ToXml().