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

FlyAnchors. More...

#include <fmtanchr.hxx>

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

Public Member Functions

 SwFormatAnchor (RndStdIds eRnd=RndStdIds::FLY_AT_PAGE, sal_uInt16 nPageNum=0)
 
 SwFormatAnchor (const SwFormatAnchor &rCpy)
 
virtual ~SwFormatAnchor () override
 
SwFormatAnchoroperator= (const SwFormatAnchor &)
 
virtual bool operator== (const SfxPoolItem &) const override
 "pure virtual methods" of SfxPoolItem More...
 
virtual SwFormatAnchorClone (SfxItemPool *pPool=nullptr) const override
 
virtual bool GetPresentation (SfxItemPresentation ePres, MapUnit eCoreMetric, MapUnit ePresMetric, OUString &rText, const IntlWrapper &rIntl) const override
 
virtual bool QueryValue (css::uno::Any &rVal, sal_uInt8 nMemberId=0) const override
 
virtual bool PutValue (const css::uno::Any &rVal, sal_uInt8 nMemberId) override
 
RndStdIds GetAnchorId () const
 
void SetType (RndStdIds nRndId)
 
sal_uInt16 GetPageNum () const
 
void SetPageNum (sal_uInt16 nNew)
 
SwNodeGetAnchorNode () const
 
const SwPositionGetContentAnchor () const
 
SwContentNodeGetAnchorContentNode () const
 
sal_Int32 GetAnchorContentOffset () const
 
void SetAnchor (const SwPosition *pPos)
 
sal_uInt32 GetOrder () const
 
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 Attributes

std::optional< SwPositionm_oContentAnchor
 0 for page-bound frames. More...
 
RndStdIds m_eAnchorId
 
sal_uInt16 m_nPageNumber
 Page number for page-bound frames. More...
 
sal_uInt32 m_nOrder
 #i28701# - getting anchor positions ordered More...
 

Static Private Attributes

static sal_uInt32 s_nOrderCounter = 0
 

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

FlyAnchors.

Definition at line 36 of file fmtanchr.hxx.

Constructor & Destructor Documentation

◆ SwFormatAnchor() [1/2]

SwFormatAnchor::SwFormatAnchor ( RndStdIds  eRnd = RndStdIds::FLY_AT_PAGE,
sal_uInt16  nPageNum = 0 
)

Definition at line 1563 of file atrfrm.cxx.

References m_eAnchorId.

Referenced by Clone().

◆ SwFormatAnchor() [2/2]

SwFormatAnchor::SwFormatAnchor ( const SwFormatAnchor rCpy)

Definition at line 1579 of file atrfrm.cxx.

◆ ~SwFormatAnchor()

SwFormatAnchor::~SwFormatAnchor ( )
overridevirtual

Definition at line 1589 of file atrfrm.cxx.

Member Function Documentation

◆ Clone()

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

Implements SfxPoolItem.

Definition at line 1665 of file atrfrm.cxx.

References SwFormatAnchor().

◆ dumpAsXml()

void SwFormatAnchor::dumpAsXml ( xmlTextWriterPtr  pWriter) const
overridevirtual

◆ GetAnchorContentNode()

SwContentNode * SwFormatAnchor::GetAnchorContentNode ( ) const

Definition at line 1623 of file atrfrm.cxx.

References GetAnchorNode(), and SwNode::GetContentNode().

Referenced by SwWrtShell::InsertContentControl().

◆ GetAnchorContentOffset()

sal_Int32 SwFormatAnchor::GetAnchorContentOffset ( ) const

◆ GetAnchorId()

RndStdIds SwFormatAnchor::GetAnchorId ( ) const
inline

Definition at line 67 of file fmtanchr.hxx.

Referenced by SwWrapTabPage::ActivatePage(), SwFmDrawPage::add(), SwWW8FltAnchorStack::AddAnchor(), SwWW8ImplReader::AddAutoAnchor(), SwDrawView::AddCustomHdl(), SwFEShell::AlignFormulaToBaseline(), SwDoc::AppendDoc(), SwPageFrame::AppendDrawObjToPage(), SwRootFrame::AssertPageFlys(), SwTextFormatter::BuildPortions(), CalcClipRect(), SwRootFrame::CalcFrameRects(), CalcHeightWithFlys(), SwLineLayout::CalcLine(), objectpositioning::SwToContentAnchoredObjectPosition::CalcPosition(), objectpositioning::SwToLayoutAnchoredObjectPosition::CalcPosition(), SwDoc::Chainable(), SwTextBoxHelper::changeAnchor(), sw::CheckAnchoredFlyConsistency(), SwAnchoredObject::CheckCharRectAndTopOfLine(), SwObjectFormatterTextFrame::CheckMovedFwdCondition(), SwDrawView::CheckPossibilities(), SwTaggedPDFHelper::CheckReopenTag(), SwDoc::ChgAnchor(), SwFlyFrame::ChgRelPos(), SwTextBoxNode::Clone_Impl(), SwHTMLWriter::CollectFlyFrames(), CollectFrameAtNode(), SwDrawContact::ConnectToLayout(), SwAnchoredObject::ConsiderObjWrapInfluenceOnObjPos(), SwWW8ImplReader::ContainsSingleInlineGraphic(), SwWW8ImplReader::ConvertDrawTextToFly(), WinwordAnchoring::ConvertPosition(), SwXText::convertToTextFrame(), SwFEShell::Copy(), SwFEShell::CopyDrawSel(), SwTextFlyCnt::CopyFlyFormat(), sw::DocumentContentOperationsManager::CopyFlyInFlyImpl(), sw::DocumentContentOperationsManager::CopyImplImpl(), sw::DocumentLayoutManager::CopyLayoutFormat(), SwUndoSaveContent::DelContentIndex(), SwDoc::DeleteSelection(), SwUndoFlyBase::DelFly(), DelFlyInRange(), sw::DocumentContentOperationsManager::DelFullPara(), sw::DocumentLayoutManager::DelLayoutFormat(), SwWrtShell::DelRight(), SwXShape::dispose(), SwAccessibleMap::DoInvalidateShapeSelection(), SwTextBoxHelper::doTextBoxPositioning(), SwTextFly::DrawTextOpaque(), DocxSdrExport::endDMLAnchorInline(), SwEnhancedPDFExportHelper::EnhancedPDFExport(), SwDrawBaseShell::Execute(), SwAnchoredObject::FindAnchorCharFrame(), SwFEShell::FindAnchorPos(), SwNode::FindPageDesc(), SwTextFly::ForEach(), WW8AttributeOutput::FormatAnchor(), RtfAttributeOutput::FormatAnchor(), SwDoc::GetAllFlyFormats(), SwBaseLink::GetAnchor(), SwXShape::getAnchor(), SwUndoSetFlyFormat::GetAnchor(), SwFEShell::GetAnchorId(), GetBodyTextNode(), SwHTMLWriter::GetControls(), SwAccessibleDocument::getExtendedAttributes(), sw::GetFlysAnchoredAt(), SwFEShell::GetGraphicDefaultSize(), SwFEShell::GetObjCntType(), DocxAttributeOutput::GetOLEStyle(), sw::access::SwAccessibleChild::GetParent(), GetPresentation(), SwXShape::getPropertyValue(), SwAccessibleSelectionHelper::getSelectedAccessibleChild(), SwAccessibleFrameBase::GetSelectedState(), SwFrameShell::GetState(), SwTextFly::GetSurroundForTextWrap(), SwDoc::GetTextDirection(), SwTextFly::GetTop(), SwEditShell::HandleUndoRedoContext(), WW8Glossary::HasBareGraphicEnd(), SwHTMLParser::HasCurrentParaFlys(), SwFEShell::ImpEndCreate(), SwRootFrame::ImplCalcBrowseWidth(), SwContentNotify::ImplDestroy(), SwWW8ImplReader::ImportGraf(), SwFEShell::Insert(), sw::DocumentContentOperationsManager::InsertDrawObj(), SwHTMLParser::InsertDrawObject(), SwTextNode::InsertHint(), SwHTMLParser::InsertImage(), SwWrtShell::InsertPostIt(), SwRootFrame::InvalidateAllObjPos(), SwAccessibleMap::InvalidateShapeInParaSelection(), IsAnchoredObjShown(), IsAtParaMatch(), sw::access::SwAccessibleChild::IsBoundAsChar(), SwUndoInserts::IsCreateUndoForNewFly(), IsEmptyBox(), SwFEShell::IsFlyInFly(), IsFlySelectedByCursor(), SwDoc::IsInHeaderFooter(), SwFrameFormat::IsLowerOf(), SwEditWin::IsOverHeaderFooterFly(), SwFEShell::IsSelObjProtected(), IsShown(), lcl_ArrangeLowers(), lcl_CpyBox(), lcl_FindAnchorLayPos(), lcl_FindAnchorPos(), lcl_InsertDrawLabel(), lcl_InsertLabel(), lcl_InvalidateLowerObjs(), lcl_MakeAutoFrames(), lcl_MakeObjs(), lcl_MinMaxNode(), lcl_MoveAllLowerObjs(), lcl_ReAnchorAtContentFlyFrames(), lcl_RestoreAnchor(), lcl_SaveAnchor(), lcl_SetAnchor(), lcl_TstFlyRange(), SwDoc::MakeFlyAndMove(), SwDoc::MakeFlySection(), SwDoc::MakeFlySection_(), SwFlyFrameFormat::MakeFrames(), SwWW8ImplReader::MakeGrafNotInContent(), SwContentFrame::MakePrtArea(), SwFEShell::MoveAnchor(), SwTextFrame::MoveFlyInCnt(), SwFEShell::NewFlyFrame(), SwViewShellImp::NotifySizeChg(), SwHTMLWriter::OutCSS1_FrameFormatBackground(), SwHTMLWriter::OutCSS1_FrameFormatOptions(), SwHTMLWriter::OutFrameFormatOptions(), WW8Export::OutGrf(), OutHTML_FrameFormatOLENode(), AttributeOutputBase::OutputFlyFrame(), DocxAttributeOutput::OutputFlyFrame_Impl(), WW8AttributeOutput::OutputFlyFrame_Impl(), SwFEShell::Paste(), SwFEShell::PastePages(), SwTextFrame::Prepare(), SwUndoSetFlyFormat::PutAttr(), SwReader::Read(), SwWW8ImplReader::Read_GrafLayer(), RecursiveContains(), SwUndoInserts::RedoImpl(), SwHTMLParser::RegisterFlyFrame(), SwPageFrame::RemoveDrawObjFromPage(), RemoveHiddenObjsOfNode(), SwUndoInsLayFormat::RepeatImpl(), SwFramePage::Reset(), SwWrapTabPage::Reset(), ResolveFlyAnchor(), RestFlyInRange(), SwUndoFormatAttr::RestoreFlyAnchor(), SwUndoFormatAttr::SaveFlyAnchor(), SaveFlyInRange(), sw::DocumentDrawModelManager::Search(), SwDoc::SetAllUniqueFlyNames(), SwHTMLParser::SetAnchorAndAdjustment(), WinwordAnchoring::SetAnchoring(), SwHTMLParser::SetAttr_(), SwFltControlStack::SetAttrInDoc(), SwFEShell::SetDrawingAttr(), SwDoc::SetFlyFrameAnchor(), SwDoc::SetFrameFormatToFly(), SwFEShell::SetPageObjsNewPage(), SwXShape::setPropertyValue(), SwDoc::SortText(), SwDoc::SplitDoc(), DocxSdrExport::startDMLAnchorInline(), SwHTMLParser::StripTrailingPara(), sw_ChkAndSetNewAnchor(), SwFlyAtContentFrame::SwClientNotify(), SwDrawContact::SwClientNotify(), SwFlyAtContentFrame::SwFlyAtContentFrame(), SwFlyFrameAttrMgr::SwFlyFrameAttrMgr(), SwHandleAnchorNodeChg::SwHandleAnchorNodeChg(), SwHTMLPosFlyFrame::SwHTMLPosFlyFrame(), SwPosFlyFrame::SwPosFlyFrame(), SwUndoInsLayFormat::SwUndoInsLayFormat(), SwUndoTableToText::SwUndoTableToText(), SwTextBoxHelper::syncFlyFrameAttr(), SwTextBoxHelper::syncProperty(), SwNodes::TableToText(), WW8Export::TrueFrameBgBrush(), MSWordExportBase::TrueFrameDirection(), SwUndoSetFlyFormat::UndoImpl(), SwTextNode::Update(), SwFlyFrameAttrMgr::UpdateFlyFrame(), sw::util::UpdateFramePositions(), DocxAttributeOutput::WriteActiveXControl(), DocxSdrExport::writeDMLDrawing(), SwHTMLWriter::writeFrameFormatOptions(), DocxAttributeOutput::WriteOLEShape(), PlcDrawObj::WritePlc(), DocxAttributeOutput::WriteTextBox(), and DocxAttributeOutput::WriteVMLTextBox().

◆ GetAnchorNode()

SwNode * SwFormatAnchor::GetAnchorNode ( ) const

Definition at line 1614 of file atrfrm.cxx.

References m_oContentAnchor.

Referenced by SwNode::AddAnchoredFly(), AppendObjsOfNode(), SwRootFrame::AssertFlyPages(), SwDoc::Chainable(), sw::CheckAnchoredFlyConsistency(), checkAndWriteFloatingTables(), SwAnchoredObject::CheckCharRectAndTopOfLine(), SwHTMLWriter::CollectFlyFrames(), CollectFrameAtNode(), SwDrawContact::ConnectToLayout(), WinwordAnchoring::ConvertPosition(), SwXText::convertToTextFrame(), SwFEShell::Copy(), sw::DocumentContentOperationsManager::CopyFlyInFlyImpl(), sw::DocumentLayoutManager::CopyLayoutFormat(), SwAttrSet::CopyToModify(), WW8TabDesc::CreateSwTable(), SwUndoFlyBase::DelFly(), sw::DocumentContentOperationsManager::DelFullPara(), sw::DocumentLayoutManager::DelLayoutFormat(), SwWrtShell::DelRight(), SwXShape::dispose(), SwTextBoxHelper::doTextBoxPositioning(), SwEnhancedPDFExportHelper::EnhancedPDFExport(), SwNode::FindPageDesc(), SwDoc::GetAllFlyFormats(), SwBaseLink::GetAnchor(), SwXShape::getAnchor(), GetAnchorContentNode(), SwHTMLWriter::GetControls(), sw::GetFlysAnchoredAt(), SwXShape::getPropertyValue(), SwDoc::GetTextDirection(), SwTextFly::GetTop(), WW8Glossary::HasBareGraphicEnd(), SwHTMLParser::HasCurrentParaFlys(), SwTextFrame::HideAndShowObjects(), SwFEShell::ImpEndCreate(), SwContentNotify::ImplDestroy(), SwFEShell::Insert(), sw::DocumentContentOperationsManager::InsertDrawObj(), SwTextNode::InsertHint(), SwWrtShell::InsertPostIt(), SwUndoFlyBase::InsFly(), SwAccessibleMap::InvalidateShapeInParaSelection(), IsAnchoredObjShown(), IsAtParaMatch(), SwUndoInserts::IsCreateUndoForNewFly(), IsEmptyBox(), SwOLENode::IsInGlobalDocSection(), SwDoc::IsInHeaderFooter(), SwFrameFormat::IsLowerOf(), SwEditWin::IsOverHeaderFooterFly(), IsShown(), SwEditWin::KeyInput(), lcl_AnchoredFrames(), lcl_CpyBox(), lcl_DelFormatIndices(), lcl_ExtractFramePositions(), lcl_FindAnchorLayPos(), lcl_InsertDrawLabel(), lcl_InsertLabel(), lcl_MakeAutoFrames(), lcl_MakeObjs(), lcl_MinMaxNode(), lcl_ReAnchorAtContentFlyFrames(), lcl_SaveAnchor(), lcl_TstFlyRange(), SwDoc::MakeFlySection_(), SwFlyFrameFormat::MakeFrames(), SwEditWin::MouseButtonUp(), sw::MoveMergedFlysAndFootnotes(), SwHTMLWriter::OutCSS1_FrameFormatBackground(), WW8AttributeOutput::OutputFlyFrame_Impl(), SwFEShell::Paste(), SwUndoSetFlyFormat::PutAttr(), SwReader::Read(), RecursiveContains(), RemoveHiddenObjsOfNode(), SwFramePage::Reset(), SwUndoFormatAttr::RestoreFlyAnchor(), SwUndoFormatAttr::SaveFlyAnchor(), SaveFlyInRange(), SwDoc::SetAllUniqueFlyNames(), SwTextFlyCnt::SetAnchor(), SwHTMLParser::SetAttr_(), SwDoc::SetFlyFrameAnchor(), SetGrfFlySize(), SwXShape::setPropertyValue(), SwWW8ImplReader::SetToggleAttr(), SwDoc::SortText(), SwDoc::SplitDoc(), SwWW8ImplReader::StartApo(), SwHTMLParser::StripTrailingPara(), sw_ChkAndSetNewAnchor(), SwFrameFormat::SwClientNotify(), SwFlyAtContentFrame::SwClientNotify(), SwHandleAnchorNodeChg::SwHandleAnchorNodeChg(), SwHTMLPosFlyFrame::SwHTMLPosFlyFrame(), SwUndoTableToText::SwUndoTableToText(), SwTextBoxHelper::syncFlyFrameAttr(), SwNodes::TableToText(), WW8Export::TrueFrameBgBrush(), MSWordExportBase::TrueFrameDirection(), SwUndoSetFlyFormat::UndoImpl(), SwTextNode::Update(), DocxAttributeOutput::WriteFlyFrame(), and SwFrameFormat::~SwFrameFormat().

◆ GetContentAnchor()

const SwPosition * SwFormatAnchor::GetContentAnchor ( ) const
inline

Definition at line 74 of file fmtanchr.hxx.

Referenced by SwTextFormatter::BuildPortions(), SwFEShell::CalcBoundRect(), SwRootFrame::CalcFrameRects(), SwLineLayout::CalcLine(), objectpositioning::SwToContentAnchoredObjectPosition::CalcPosition(), SwTextBoxHelper::changeAnchor(), checkAndWriteFloatingTables(), SwAnchoredObject::CheckCharRect(), SwAnchoredObject::CheckTopOfLine(), SwDoc::ChgAnchor(), SwFlyFrame::ChgRelPos(), SwDrawContact::ConnectToLayout(), SwXText::convertToTextFrame(), SwFEShell::Copy(), sw::DocumentContentOperationsManager::CopyFlyInFlyImpl(), SwXTextView::createTextRangeByPixelPosition(), SwUndoSaveContent::DelContentIndex(), SwUndoFlyBase::DelFly(), DelFlyInRange(), sw::DocumentLayoutManager::DelLayoutFormat(), SwWrtShell::DelRight(), SwAnchoredObject::FindAnchorCharFrame(), SwFEShell::FindAnchorPos(), SwXShape::getAnchor(), GetBodyTextNode(), SwAccessibleDocument::getExtendedAttributes(), SwXShape::getPropertyValue(), SwAccessibleFrameBase::GetSelectedState(), SwHandleAnchorNodeChg::ImplDestroy(), SwFEShell::Insert(), sw::DocumentContentOperationsManager::InsertDrawObj(), SwTextNode::InsertHint(), SwWrtShell::InsertPostIt(), SwAccessibleMap::InvalidateShapeInParaSelection(), IsFlySelectedByCursor(), IsShown(), SwDoc::MakeFlySection(), SwFEShell::MoveAnchor(), SwTextFrame::MoveFlyInCnt(), ResolveFlyAnchor(), SaveFlyInRange(), SwFlyAtContentFrame::SetAbsPos(), SwTextFlyCnt::SetAnchor(), SwHTMLParser::SetAttr_(), SwHandleAnchorNodeChg::SwHandleAnchorNodeChg(), SwTextNode::Update(), sw::util::UpdateFramePositions(), DocxAttributeOutput::WriteTextBox(), and DocxAttributeOutput::WriteVMLTextBox().

◆ GetOrder()

sal_uInt32 SwFormatAnchor::GetOrder ( ) const
inline

Definition at line 80 of file fmtanchr.hxx.

Referenced by CollectFrameAtNode().

◆ GetPageNum()

sal_uInt16 SwFormatAnchor::GetPageNum ( ) const
inline

◆ GetPresentation()

bool SwFormatAnchor::GetPresentation ( SfxItemPresentation  ePres,
MapUnit  eCoreMetric,
MapUnit  ePresMetric,
OUString &  rText,
const IntlWrapper rIntl 
) const
overridevirtual

Reimplemented from SfxPoolItem.

Definition at line 424 of file attrdesc.cxx.

References GetAnchorId(), and SwResId().

Referenced by dumpAsXml().

◆ operator=()

SwFormatAnchor & SwFormatAnchor::operator= ( const SwFormatAnchor rAnchor)

Definition at line 1640 of file atrfrm.cxx.

References m_eAnchorId, m_nOrder, m_nPageNumber, m_oContentAnchor, and s_nOrderCounter.

◆ operator==()

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

"pure virtual methods" of SfxPoolItem

Implements SfxPoolItem.

Definition at line 1653 of file atrfrm.cxx.

References m_eAnchorId, m_nPageNumber, and m_oContentAnchor.

◆ PutValue()

bool SwFormatAnchor::PutValue ( const css::uno::Any &  rVal,
sal_uInt8  nMemberId 
)
overridevirtual

◆ QueryValue()

bool SwFormatAnchor::QueryValue ( css::uno::Any &  rVal,
sal_uInt8  nMemberId = 0 
) const
overridevirtual

◆ SetAnchor()

void SwFormatAnchor::SetAnchor ( const SwPosition pPos)

Definition at line 1593 of file atrfrm.cxx.

References SwContentIndex::GetContentNode(), SwNodeIndex::GetNode(), SwPosition::GetNode(), SwNode::GetStartNode(), SwNode::GetTableNode(), SwNode::GetTextNode(), m_eAnchorId, m_oContentAnchor, SwPosition::nContent, and SwPosition::nNode.

Referenced by SwFmDrawPage::add(), SwTextBoxHelper::changeAnchor(), SwFEShell::CheckUnboundObjects(), SwDoc::ChgAnchor(), SwXText::convertToTextFrame(), SwFEShell::Copy(), SwTextFlyCnt::CopyFlyFormat(), sw::DocumentContentOperationsManager::CopyFlyInFlyImpl(), SwUndoSaveContent::DelContentIndex(), SwFEShell::FindAnchorPos(), SwUndoSetFlyFormat::GetAnchor(), SwFEShell::ImpEndCreate(), SwContentNotify::ImplDestroy(), SwWW8ImplReader::ImportGraf(), SwWW8ImplReader::ImportOle(), WW8FlySet::Init(), SwFEShell::Insert(), sw::DocumentContentOperationsManager::InsertDrawObj(), SwHTMLParser::InsertDrawObject(), SwHTMLParser::InsertEmbed(), SwUndoFlyBase::InsFly(), lcl_DelFormatIndices(), lcl_FindAnchorPos(), lcl_InsertDrawLabel(), lcl_InsertLabel(), lcl_MakeObjs(), lcl_ReAnchorAtContentFlyFrames(), lcl_RestoreAnchor(), lcl_SetAnchor(), lcl_SetNewFlyPos(), SwDoc::MakeFlySection_(), SwFlyFrameFormat::MakeFrames(), SwWW8ImplReader::MakeGrafNotInContent(), SwFEShell::MoveAnchor(), SwFEShell::NewFlyFrame(), SwWW8ImplReader::ProcessEscherAlign(), SwWW8ImplReader::ReadGrafStart(), SwUndoInsLayFormat::RepeatImpl(), RestFlyInRange(), SwUndoFormatAttr::RestoreFlyAnchor(), SaveFlyInRange(), SwFlyAtContentFrame::SetAbsPos(), SwTextFlyCnt::SetAnchor(), SwHTMLParser::SetAnchorAndAdjustment(), SwHTMLParser::SetAttr_(), SwFltControlStack::SetAttrInDoc(), SwHistoryChangeFlyAnchor::SetInDoc(), SwXShape::setPropertyValue(), SwWW8ImplReader::StartTable(), and SwTextBoxHelper::syncProperty().

◆ SetPageNum()

void SwFormatAnchor::SetPageNum ( sal_uInt16  nNew)
inline

◆ SetType()

void SwFormatAnchor::SetType ( RndStdIds  nRndId)
inline

Member Data Documentation

◆ m_eAnchorId

RndStdIds SwFormatAnchor::m_eAnchorId
private

◆ m_nOrder

sal_uInt32 SwFormatAnchor::m_nOrder
private

#i28701# - getting anchor positions ordered

Definition at line 45 of file fmtanchr.hxx.

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

◆ m_nPageNumber

sal_uInt16 SwFormatAnchor::m_nPageNumber
private

Page number for page-bound frames.

Definition at line 42 of file fmtanchr.hxx.

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

◆ m_oContentAnchor

std::optional<SwPosition> SwFormatAnchor::m_oContentAnchor
private

0 for page-bound frames.

Index for paragraph-bound frames. Position for character-bound frames.

Definition at line 38 of file fmtanchr.hxx.

Referenced by dumpAsXml(), GetAnchorContentOffset(), GetAnchorNode(), operator=(), operator==(), PutValue(), QueryValue(), and SetAnchor().

◆ s_nOrderCounter

sal_uInt32 SwFormatAnchor::s_nOrderCounter = 0
staticprivate

Definition at line 46 of file fmtanchr.hxx.

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


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