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

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 SfxPoolItemClone (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
 
bool operator!= (const SfxPoolItem &rItem) const
 
virtual bool operator< (const SfxPoolItem &) const
 
virtual bool IsSortable () const
 
virtual bool GetPresentation (SfxItemPresentation ePresentation, MapUnit eCoreMetric, MapUnit ePresentationMetric, OUString &rText, const IntlWrapper &rIntlWrapper) const
 
virtual void ScaleMetrics (long lMult, 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)
 
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 boost::property_tree::ptree dumpAsJSON () const
 
virtual bool IsVoidItem () const
 

Private Member Functions

SwFormatContentoperator= (const SwFormatContent &)=delete
 

Private Attributes

std::unique_ptr< SwNodeIndexm_pStartNode
 

Additional Inherited Members

- 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::SwFormatContent ( const SwStartNode pStartNode = nullptr)

Definition at line 544 of file atrfrm.cxx.

References m_pStartNode.

Referenced by Clone().

SwFormatContent::SwFormatContent ( const SwFormatContent rCpy)

Definition at line 537 of file atrfrm.cxx.

References GetContentIdx(), and m_pStartNode.

SwFormatContent::~SwFormatContent ( )
overridevirtual

Definition at line 550 of file atrfrm.cxx.

Member Function Documentation

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

Implements SfxPoolItem.

Definition at line 569 of file atrfrm.cxx.

References SwFormatContent().

void SwFormatContent::dumpAsXml ( xmlTextWriterPtr  pWriter) const
overridevirtual

Reimplemented from SfxPoolItem.

Definition at line 574 of file atrfrm.cxx.

References m_pStartNode, and SfxPoolItem::Which().

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(), SwHTMLParser::ClearFootnotesMarksInRange(), MSWordExportBase::ContentContainsChapterField(), SwFEShell::Copy(), sw::DocumentContentOperationsManager::CopyFlyInFlyImpl(), sw::DocumentLayoutManager::CopyLayoutFormat(), SwDoc::CopyMasterFooter(), SwDoc::CopyMasterHeader(), SwDoc::CopyPageDescHeaderFooterImpl(), SwWW8ImplReader::CoreLoad(), SwXMLTextImportHelper::createAndInsertOLEObject(), SwXTextFrame::createEnumeration(), SwFmDrawPage::CreateShape(), SwXTextFrame::createTextCursor(), SwXTextFrame::createTextCursorByRange(), SwUndoFlyBase::DelFly(), DelFlyInRange(), SwSectionFormat::DelFrames(), sw::DocumentLayoutManager::DelLayoutFormat(), SwDoc::DelSectionFormat(), SwHTMLParser::EndApplet(), SwXMLTextImportHelper::endAppletOrPlugin(), SwHTMLParser::EndObject(), SwDoc::FindFlyByName(), SwNode::FindPageDesc(), SwHTMLParser::FixHeaderFooterDistance(), ww8::Frame::Frame(), 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(), SwXHeadFootText::GetStartNode(), SwXTextFrame::GetStartNode(), SwCursor::GotoRegion(), SwHTMLWriter::GuessFrameType(), SwPaM::HasReadonlySel(), SwUndoFormatAttr::Init(), SwFlyFrame::InsertCnt(), SwFlyFrame::InsertColumns(), SwHTMLParser::InsertEmbed(), SwHTMLParser::InsertFloatingFrame(), SwHTMLParser::InsertFlyFrame(), SwHTMLParser::InsertImage(), SwFEShell::InsertLabel(), isGraphicNode(), SwSectionFormat::IsInContent(), SwDoc::IsInHeaderFooter(), SwSectionFormat::IsInNodesArr(), SwFrameFormat::IsLowerOf(), SwCursor::IsSelOvr(), 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(), MakeUndoUpdateSection(), SwWW8ImplReader::MoveInsideFly(), SwHTMLParser::NewDivision(), operator==(), OutHTML_FrameFormatAsDivOrSpan(), OutHTML_FrameFormatAsMulticol(), OutHTML_FrameFormatGrfNode(), OutHTML_FrameFormatOLENode(), OutHTML_FrameFormatOLENodeGrf(), OutHTML_FrameFormatTableNode(), OutHTML_HeaderFooter(), WW8AttributeOutput::OutputFlyFrame_Impl(), RtfAttributeOutput::OutputFlyFrame_Impl(), DocxAttributeOutput::OutputFlyFrame_Impl(), SwWW8ImplReader::Read_HdFtText(), SwWW8ImplReader::Read_HdFtTextAsHackedFrame(), SwUndoDelLayFormat::RedoForRollback(), SwUndoInsertLabel::RepeatImpl(), SwTextBoxHelper::resetLink(), SaveFlyInRange(), sw::DocumentLinksAdministrationManager::SelectServerObj(), SwXTextEmbeddedObject::setAspect(), SwWW8ImplReader::SetAttributesAtGrfNode(), SwCursorShell::SetCursorInHdFt(), SwDoc::SetFlyName(), SetGetExpField::SetGetExpField(), SwXFrame::setPropertyToDefault(), SwXFrame::setPropertyValue(), SwXShape::setPropertyValue(), SwWW8ImplReader::StripNegativeAfterIndent(), sw_HideObj(), SwActualSection::SwActualSection(), SwFormatContent(), SwHeadFootFrame::SwHeadFootFrame(), SwFlyFrame::UnchainFrames(), SwDoc::UpdateSection(), DocxSdrExport::writeDMLTextFrame(), DocxAttributeOutput::WriteFloatingTable(), SwEscherEx::WriteFlyFrame(), WW8_WrPlcSubDoc::WriteGenericText(), MSWordExportBase::WriteHeaderFooterText(), SwBasicEscherEx::WriteOLEFlyFrame(), DocxSdrExport::writeOnlyTextOfFrame(), SwASCWriter::WriteStream(), RtfAttributeOutput::writeTextFrame(), DocxSdrExport::writeVMLTextFrame(), SwCallLink::~SwCallLink(), and SwSectionFormat::~SwSectionFormat().

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

"Pure virtual methods" of SfxPoolItem.

Implements SfxPoolItem.

Definition at line 559 of file atrfrm.cxx.

References GetContentIdx(), and m_pStartNode.

void SwFormatContent::SetNewContentIdx ( const SwNodeIndex pIdx)

Member Data Documentation

std::unique_ptr<SwNodeIndex> SwFormatContent::m_pStartNode
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: