LibreOffice Module sw (master) 1
Public Member Functions | Private Member Functions | Private Attributes | List of all members
SwFormatContent Class Referencefinal

Content, content of frame (header, footer, fly). More...

#include <fmtcntnt.hxx>

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

Public Member Functions

 SwFormatContent (const SwStartNode *pStartNode=nullptr)
 
 SwFormatContent (const SwFormatContent &rCpy)
 
virtual ~SwFormatContent () override
 
virtual bool operator== (const SfxPoolItem &) const override
 "Pure virtual methods" of SfxPoolItem. More...
 
virtual SwFormatContentClone (SfxItemPool *pPool=nullptr) const override
 
const SwNodeIndexGetContentIdx () const
 
void SetNewContentIdx (const SwNodeIndex *pIdx)
 
void dumpAsXml (xmlTextWriterPtr pWriter) const override
 
- Public Member Functions inherited from SfxPoolItem
void AddRef (sal_uInt32 n=1) const
 
virtual ~SfxPoolItem ()
 
void SetWhich (sal_uInt16 nId)
 
sal_uInt16 Which () const
 
T & StaticWhichCast (TypedWhichId< T > nId)
 
const T & StaticWhichCast (TypedWhichId< T > nId) const
 
T * DynamicWhichCast (TypedWhichId< T > nId)
 
const T * DynamicWhichCast (TypedWhichId< T > nId) const
 
virtual bool operator== (const SfxPoolItem &) const=0
 
bool operator!= (const SfxPoolItem &rItem) const
 
virtual bool operator< (const SfxPoolItem &) const
 
virtual bool IsSortable () const
 
virtual bool HasLookup () const
 
virtual lookup_iterator Lookup (lookup_iterator, lookup_iterator end) const
 
virtual bool GetPresentation (SfxItemPresentation ePresentation, MapUnit eCoreMetric, MapUnit ePresentationMetric, OUString &rText, const IntlWrapper &rIntlWrapper) const
 
virtual void ScaleMetrics (tools::Long lMult, tools::Long lDiv)
 
virtual bool HasMetrics () const
 
virtual bool QueryValue (css::uno::Any &rVal, sal_uInt8 nMemberId=0) const
 
virtual bool PutValue (const css::uno::Any &rVal, sal_uInt8 nMemberId)
 
virtual SfxPoolItemClone (SfxItemPool *pPool=nullptr) const=0
 
std::unique_ptr< SfxPoolItemCloneSetWhich (sal_uInt16 nNewWhich) const
 
std::unique_ptr< T > CloneSetWhich (TypedWhichId< T > nId) const
 
sal_uInt32 GetRefCount () const
 
SfxItemKind GetKind () const
 
virtual void dumpAsXml (xmlTextWriterPtr pWriter) const
 
virtual boost::property_tree::ptree dumpAsJSON () const
 
virtual bool IsVoidItem () const
 

Private Member Functions

SwFormatContentoperator= (const SwFormatContent &)=delete
 

Private Attributes

std::optional< SwNodeIndexm_oStartNode
 

Additional Inherited Members

- Public Types inherited from SfxPoolItem
typedef std::vector< SfxPoolItem * >::const_iterator lookup_iterator
 
- Protected Member Functions inherited from SfxPoolItem
 SfxPoolItem (sal_uInt16 nWhich=0)
 
 SfxPoolItem (const SfxPoolItem &rCopy)
 

Detailed Description

Content, content of frame (header, footer, fly).

Definition at line 31 of file fmtcntnt.hxx.

Constructor & Destructor Documentation

◆ SwFormatContent() [1/2]

SwFormatContent::SwFormatContent ( const SwStartNode pStartNode = nullptr)

Definition at line 585 of file atrfrm.cxx.

References m_oStartNode.

Referenced by Clone().

◆ SwFormatContent() [2/2]

SwFormatContent::SwFormatContent ( const SwFormatContent rCpy)

Definition at line 579 of file atrfrm.cxx.

◆ ~SwFormatContent()

SwFormatContent::~SwFormatContent ( )
overridevirtual

Definition at line 592 of file atrfrm.cxx.

Member Function Documentation

◆ Clone()

SwFormatContent * SwFormatContent::Clone ( SfxItemPool pPool = nullptr) const
overridevirtual

Implements SfxPoolItem.

Definition at line 610 of file atrfrm.cxx.

References SwFormatContent().

◆ dumpAsXml()

void SwFormatContent::dumpAsXml ( xmlTextWriterPtr  pWriter) const
overridevirtual

Reimplemented from SfxPoolItem.

Definition at line 615 of file atrfrm.cxx.

References m_oStartNode, and SfxPoolItem::Which().

◆ GetContentIdx()

const SwNodeIndex * SwFormatContent::GetContentIdx ( ) const
inline

Definition at line 46 of file fmtcntnt.hxx.

Referenced by MSWordExportBase::AddLinkTarget(), PlcDrawObj::Append(), SwXFrame::attachToRange(), SwHTMLParser::BuildTableCell(), SwDoc::Chainable(), checkAndWriteFloatingTables(), SwDoc::ChgAnchor(), SwDoc::ChgPageDesc(), SwHTMLParser::ClearFootnotesMarksInRange(), MSWordExportBase::ContentContainsChapterField(), SwFEShell::Copy(), sw::DocumentContentOperationsManager::CopyFlyInFlyImpl(), sw::DocumentLayoutManager::CopyLayoutFormat(), SwDoc::CopyMasterFooter(), SwDoc::CopyMasterHeader(), SwWW8ImplReader::CoreLoad(), SwXMLTextImportHelper::createAndInsertOLEObject(), SwXTextFrame::createEnumeration(), SwXHeadFootText::createEnumeration(), SwFmDrawPage::CreateShape(), SwXTextFrame::createTextCursor(), SwXHeadFootText::CreateTextCursor(), SwXTextFrame::createTextCursorByRange(), SwXHeadFootText::createTextCursorByRange(), SwUndoFlyBase::DelFly(), DelFlyInRange(), SwSectionFormat::DelFrames(), sw::DocumentLayoutManager::DelLayoutFormat(), SwDoc::DelSectionFormat(), SwHTMLParser::EndApplet(), SwXMLTextImportHelper::endAppletOrPlugin(), SwHTMLParser::EndObject(), SwContentType::FillMemberList(), SwDoc::FindFlyByName(), SwNode::FindPageDesc(), SwHTMLParser::FixHeaderFooterDistance(), ww8::Frame::Frame(), SwXDocumentIndex::getAnchor(), SwXTextSection::getAnchor(), SwXTextEmbeddedObject::getAspect(), SwXTextEmbeddedObject::getExtendedControlOverEmbeddedObject(), SwDoc::GetFlyCount(), SwNode::GetFlyFormat(), SwDoc::GetFlyFrameFormats(), SwDoc::GetFlyNum(), SwDoc::GetGrfNms(), SwAccessibleFrameBase::GetNodeType(), SwXMLTextParagraphExport::GetNoTextNode(), sw::util::GetNoTextNodeFromSwFrameFormat(), SwXFrame::getPropertyStates(), SwXFrame::getPropertyValue(), SwXTextEmbeddedObject::getReplacementGraphic(), SwSectionFormat::GetSectionNode(), SwXTextFrame::GetStartNode(), SwXHeadFootText::GetStartNode(), SwCursor::GotoRegion(), SwHTMLWriter::GuessFrameType(), SwPaM::HasReadonlySel(), IMPL_LINK(), SwCallLink::ImplDestroy(), SwUndoFormatAttr::Init(), SwFlyFrame::InsertCnt(), SwFlyFrame::InsertColumns(), SwHTMLParser::InsertEmbed(), SwHTMLParser::InsertFloatingFrame(), SwHTMLParser::InsertFlyFrame(), SwHTMLParser::InsertImage(), isGraphicNode(), SwSectionFormat::IsInContent(), SwDoc::IsInHeaderFooter(), SwSectionFormat::IsInNodesArr(), SwFrameFormat::IsLowerOf(), lcl_DelFormatIndices(), lcl_DelHFFormat(), lcl_GetOLENode(), lcl_GetSwUndoId(), lcl_InsertDrawLabel(), lcl_InsertLabel(), sw::lcl_IsStartNodeInFormat(), lcl_MinMaxNode(), lcl_SectionCmpPos(), lcl_SetAnchor(), SwDoc::MakeFlyAndMove(), SwFlyFrameFormat::MakeFrames(), SwSectionFormat::MakeFrames(), MakeUndoDelSection(), MakeUndoUpdateSection(), SwWW8ImplReader::MoveInsideFly(), SwHTMLParser::NewDivision(), OutHTML_FrameFormatAsDivOrSpan(), OutHTML_FrameFormatAsMulticol(), OutHTML_FrameFormatGrfNode(), OutHTML_FrameFormatOLENode(), OutHTML_FrameFormatOLENodeGrf(), OutHTML_FrameFormatTableNode(), OutHTML_HeaderFooter(), WW8AttributeOutput::OutputFlyFrame_Impl(), RtfAttributeOutput::OutputFlyFrame_Impl(), SwWW8ImplReader::Read_HdFtText(), SwWW8ImplReader::Read_HdFtTextAsHackedFrame(), SwUndoDelLayFormat::RedoForRollback(), SwUndoDelLayFormat::RedoImpl(), SwUndoInsertLabel::RepeatImpl(), SaveFlyInRange(), sw::DocumentLinksAdministrationManager::SelectServerObj(), SwDoc::SetAllUniqueFlyNames(), SwXTextEmbeddedObject::setAspect(), SwWW8ImplReader::SetAttributesAtGrfNode(), SwCursorShell::SetCursorInHdFt(), SwDoc::SetFlyName(), SetGetExpField::SetGetExpField(), SwXFrame::setPropertyToDefault(), SwXShape::setPropertyValue(), SwXFrame::setPropertyValue(), SwWW8ImplReader::StripNegativeAfterIndent(), SwActualSection::SwActualSection(), SwHeadFootFrame::SwHeadFootFrame(), SwFlyFrame::UnchainFrames(), SwUndoInsLayFormat::UndoImpl(), SwViewShell::UpdateOleObjectPreviews(), SwDoc::UpdateSection(), DocxSdrExport::writeDMLTextFrame(), DocxAttributeOutput::WriteFloatingTable(), SwEscherEx::WriteFlyFrame(), DocxAttributeOutput::WriteFlyFrame(), WW8_WrPlcSubDoc::WriteGenericText(), MSWordExportBase::WriteHeaderFooterText(), SwBasicEscherEx::WriteOLEFlyFrame(), DocxSdrExport::writeOnlyTextOfFrame(), SwASCWriter::WriteStream(), DocxAttributeOutput::WriteTextBox(), RtfAttributeOutput::writeTextFrame(), DocxAttributeOutput::WriteVMLTextBox(), DocxSdrExport::writeVMLTextFrame(), and SwSectionFormat::~SwSectionFormat().

◆ operator=()

SwFormatContent & SwFormatContent::operator= ( const SwFormatContent )
privatedelete

◆ operator==()

bool SwFormatContent::operator== ( const SfxPoolItem rAttr) const
overridevirtual

"Pure virtual methods" of SfxPoolItem.

Implements SfxPoolItem.

Definition at line 604 of file atrfrm.cxx.

References m_oStartNode.

◆ SetNewContentIdx()

void SwFormatContent::SetNewContentIdx ( const SwNodeIndex pIdx)

Member Data Documentation

◆ m_oStartNode

std::optional<SwNodeIndex> SwFormatContent::m_oStartNode
private

Definition at line 33 of file fmtcntnt.hxx.

Referenced by dumpAsXml(), operator==(), SetNewContentIdx(), and SwFormatContent().


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