LibreOffice Module lotuswordpro (master) 1
|
@descr Base class for all content object. More...
#include <xfcontent.hxx>
Public Member Functions | |
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 Member Functions | |
XFContent () | |
virtual void | ToXml (IXFStream *stream)=0 |
virtual | ~XFContent () override |
Protected Member Functions inherited from salhelper::SimpleReferenceObject | |
virtual | ~SimpleReferenceObject () COVERITY_NOEXCEPT_FALSE |
Protected Attributes | |
OUString | m_strStyleName |
Protected Attributes inherited from salhelper::SimpleReferenceObject | |
oslInterlockedCount | m_nCount |
Private Attributes | |
bool | m_bDoingToXml |
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) |
@descr Base class for all content object.
There is only two properties:style name and content type in this class.
Definition at line 79 of file xfcontent.hxx.
|
inlineprotected |
Definition at line 107 of file xfcontent.hxx.
|
inlineoverrideprotectedvirtual |
Definition at line 114 of file xfcontent.hxx.
|
inline |
Definition at line 97 of file xfcontent.hxx.
References m_bDoingToXml, stream, and ToXml().
Referenced by XFContentContainer::ToXml(), XFTextSpan::ToXml(), XFTextSpanStart::ToXml(), and XFTextSpanEnd::ToXml().
|
inlinevirtual |
: return the content type.
Reimplemented in XFContentContainer, XFFrame, XFParagraph, XFTable, XFTextContent, and XFTextSpan.
Definition at line 85 of file xfcontent.hxx.
References enumXFContentUnknown.
Referenced by XFCell::Add(), and XFFrame::Add().
|
inline |
: return the style name.
Definition at line 95 of file xfcontent.hxx.
References m_strStyleName.
Referenced by LwpTableLayout::PostProcessParagraph(), LwpTableLayout::SplitRowToCells(), XFFrame::StartFrame(), XFCell::ToXml(), XFDate::ToXml(), XFDateStart::ToXml(), XFDrawLine::ToXml(), XFDrawObject::ToXml(), XFHyperlink::ToXml(), XFImage::ToXml(), XFIndexTemplate::ToXml(), XFIndex::ToXml(), XFList::ToXml(), XFListItem::ToXml(), XFParagraph::ToXml(), XFRow::ToXml(), XFRubyStart::ToXml(), XFRubyEnd::ToXml(), XFSection::ToXml(), XFTable::ToXml(), XFTextSpan::ToXml(), and XFTextSpanStart::ToXml().
|
inlinevirtual |
: All content except XFTextContent can have a style.
Reimplemented in XFIndexTemplate.
Definition at line 90 of file xfcontent.hxx.
References m_strStyleName.
Referenced by LwpFribField::ConvertCrossRefStart(), LwpFribField::ConvertDateTimeStart(), LwpFribField::ConvertDocFieldStart(), LwpFrib::ConvertHyperLink(), LwpDrawTextBox::CreateDrawObj(), LwpDrawTextArt::CreateDrawObj(), LwpDrawRectangle::CreateRoundedRect(), LwpMasterPage::CreateXFSection(), LwpFrame::Parse(), LwpMasterPage::ParseSection(), LwpTableLayout::PostProcessParagraph(), LwpRowLayout::RegisterCurRowStyle(), XFTable::ToXml(), LwpFribNote::XFConvert(), LwpFribRubyMarker::XFConvert(), LwpFribDocVar::XFConvert(), LwpFribPageNumber::XFConvert(), and XFTextSpan::XFTextSpan().
|
protectedpure virtual |
Implemented in XFAnnotation, XFBookmark, XFCell, XFChangeList, XFChangeRegion, XFChangeInsert, XFChangeDelete, XFChangeStart, XFChangeEnd, XFContentContainer, XFCrossRefStart, XFCrossRefEnd, XFDate, XFDateStart, XFDateEnd, XFFileName, XFWordCount, XFWordCountStart, XFWordCountEnd, XFPageCountStart, XFPageCountEnd, XFCharCount, XFCharCountStart, XFCharCountEnd, XFDescription, XFDescriptionStart, XFDescriptionEnd, XFKeywords, XFTotalEditTime, XFTotalEditTimeEnd, XFTotalEditTimeStart, XFCreateTime, XFCreateTimeStart, XFCreateTimeEnd, XFLastEditTime, XFLastEditTimeStart, XFLastEditTimeEnd, XFInitialCreator, XFDrawGroup, XFDrawLine, XFDrawObject, XFDrawPath, XFDrawPolygon, XFDrawPolyline, XFDrawRect, XFEndNote, XFEntry, XFFloatFrame, XFFooter, XFFootNote, XFFrame, XFHeader, XFHyperlink, XFImage, XFIndexTemplate, XFIndex, XFInputList, XFLineBreak, XFList, XFListItem, XFPageCount, XFPageNumber, XFParagraph, XFHolderStart, XFHolderEnd, XFRow, XFRubyStart, XFRubyEnd, XFSection, XFTable, XFTabStop, XFTextContent, XFTextSpan, XFTextSpanStart, and XFTextSpanEnd.
Referenced by DoToXml().
|
private |
Definition at line 119 of file xfcontent.hxx.
Referenced by DoToXml().
|
protected |
Definition at line 116 of file xfcontent.hxx.
Referenced by GetStyleName(), SetStyleName(), XFTotalEditTime::ToXml(), XFTotalEditTimeStart::ToXml(), XFCreateTime::ToXml(), XFCreateTimeStart::ToXml(), XFLastEditTime::ToXml(), and XFLastEditTimeStart::ToXml().