virtual void ToXml(IXFStream *pStrm) override
@descr Output to OOo model or local file.
virtual void Add(XFContent *pContent)
@descr Add content.
bool HierarchyContains(const XFContent *pContent) const
std::vector< rtl::Reference< XFContent > > m_aContents
int GetCount() const
@descr return the number of contents in the container.
virtual enumXFContent GetContentType() override
@descr return the content type.
rtl::Reference< XFContent > GetLastContent()
void Reset()
@descr clear all contents in the container.
rtl::Reference< XFContent > GetContent(sal_uInt32 index) const
@descr get content by index.
virtual ~XFContentContainer() override
@descr Destructure, all contents will be deleted too.
rtl::Reference< XFContent > FindFirstContent(enumXFContent type)
@descr helper function, find first content by type.
@descr Base class for all content object.
void DoToXml(IXFStream *stream)
Adapter for text to content.