LibreOffice Module sw (master) 1
|
FlyAnchors. More...
#include <fmtanchr.hxx>
Public Member Functions | |
SwFormatAnchor (RndStdIds eRnd=RndStdIds::FLY_AT_PAGE, sal_uInt16 nPageNum=0) | |
SwFormatAnchor (const SwFormatAnchor &rCpy) | |
virtual | ~SwFormatAnchor () override |
SwFormatAnchor & | operator= (const SwFormatAnchor &) |
virtual bool | operator== (const SfxPoolItem &) const override |
"pure virtual methods" of SfxPoolItem More... | |
virtual SwFormatAnchor * | Clone (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) |
SwNode * | GetAnchorNode () const |
const SwPosition * | GetContentAnchor () const |
SwContentNode * | GetAnchorContentNode () 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 SfxPoolItem * | Clone (SfxItemPool *pPool=nullptr) const=0 |
std::unique_ptr< SfxPoolItem > | CloneSetWhich (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< SwPosition > | m_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) | |
FlyAnchors.
Definition at line 36 of file fmtanchr.hxx.
SwFormatAnchor::SwFormatAnchor | ( | RndStdIds | eRnd = RndStdIds::FLY_AT_PAGE , |
sal_uInt16 | nPageNum = 0 |
||
) |
SwFormatAnchor::SwFormatAnchor | ( | const SwFormatAnchor & | rCpy | ) |
Definition at line 1579 of file atrfrm.cxx.
|
overridevirtual |
Definition at line 1589 of file atrfrm.cxx.
|
overridevirtual |
|
overridevirtual |
Reimplemented from SfxPoolItem.
Definition at line 1804 of file atrfrm.cxx.
References GetPresentation(), m_eAnchorId, m_nOrder, m_nPageNumber, m_oContentAnchor, s_nOrderCounter, and SfxPoolItem::Which().
SwContentNode * SwFormatAnchor::GetAnchorContentNode | ( | ) | const |
Definition at line 1623 of file atrfrm.cxx.
References GetAnchorNode(), and SwNode::GetContentNode().
Referenced by SwWrtShell::InsertContentControl().
sal_Int32 SwFormatAnchor::GetAnchorContentOffset | ( | ) | const |
Definition at line 1631 of file atrfrm.cxx.
References m_oContentAnchor.
Referenced by CollectFrameAtNode(), sw::DocumentLayoutManager::CopyLayoutFormat(), SwUndoFlyBase::DelFly(), sw::DocumentLayoutManager::DelLayoutFormat(), SwXShape::dispose(), SwTextFrame::HideAndShowObjects(), SwFEShell::ImpEndCreate(), SwWrtShell::InsertContentControl(), SwTextNode::InsertHint(), SwUndoFlyBase::InsFly(), SwAccessibleMap::InvalidateShapeInParaSelection(), IsAnchoredObjShown(), IsShown(), SwEditWin::KeyInput(), lcl_ExtractFramePositions(), lcl_InsertDrawLabel(), lcl_InsertLabel(), lcl_SaveAnchor(), lcl_TstFlyRange(), SwEditWin::MouseButtonUp(), SwUndoSetFlyFormat::PutAttr(), SwUndoFormatAttr::RestoreFlyAnchor(), SwUndoFormatAttr::SaveFlyAnchor(), SaveFlyInRange(), SwDoc::SetFlyFrameAnchor(), SwXShape::setPropertyValue(), SwHTMLPosFlyFrame::SwHTMLPosFlyFrame(), and SwUndoSetFlyFormat::UndoImpl().
|
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().
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().
|
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().
|
inline |
Definition at line 80 of file fmtanchr.hxx.
Referenced by CollectFrameAtNode().
|
inline |
Definition at line 70 of file fmtanchr.hxx.
Referenced by SwFmDrawPage::add(), SwDoc::AppendDoc(), SwRootFrame::AssertFlyPages(), SwRootFrame::AssertPageFlys(), SwTextBoxHelper::changeAnchor(), SwDrawContact::ConnectToLayout(), SwUndoFlyBase::DelFly(), RtfAttributeOutput::FormatAnchor(), SwXShape::getAnchor(), SwFEShell::Insert(), lcl_FindAnchorLayPos(), lcl_MakeObjs(), lcl_RestoreAnchor(), SwDoc::MakeFlySection_(), SwFlyFrameFormat::MakeFrames(), SwFEShell::NewFlyFrame(), SwFEShell::PastePages(), SwUndoSetFlyFormat::PutAttr(), PutValue(), QueryValue(), SwUndoFormatAttr::RestoreFlyAnchor(), SwFEShell::SetPageObjsNewPage(), SwFormatGetPageNum(), and SwTextBoxHelper::syncFlyFrameAttr().
|
overridevirtual |
Reimplemented from SfxPoolItem.
Definition at line 424 of file attrdesc.cxx.
References GetAnchorId(), and SwResId().
Referenced by dumpAsXml().
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.
|
overridevirtual |
"pure virtual methods" of SfxPoolItem
Implements SfxPoolItem.
Definition at line 1653 of file atrfrm.cxx.
References m_eAnchorId, m_nPageNumber, and m_oContentAnchor.
|
overridevirtual |
Reimplemented from SfxPoolItem.
Definition at line 1729 of file atrfrm.cxx.
References SWUnoHelper::GetEnumAsInt32(), GetPageNum(), m_eAnchorId, m_oContentAnchor, MID_ANCHOR_ANCHORFRAME, MID_ANCHOR_ANCHORTYPE, MID_ANCHOR_PAGENUM, SetPageNum(), and SetType().
|
overridevirtual |
Reimplemented from SfxPoolItem.
Definition at line 1675 of file atrfrm.cxx.
References SwXTextFrame::CreateXTextFrame(), SwFormat::GetDoc(), GetPageNum(), m_eAnchorId, m_oContentAnchor, MID_ANCHOR_ANCHORFRAME, MID_ANCHOR_ANCHORTYPE, and MID_ANCHOR_PAGENUM.
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().
|
inline |
Definition at line 71 of file fmtanchr.hxx.
Referenced by SwDoc::AppendDoc(), SwDoc::ChgAnchor(), SwFEShell::Copy(), SwFEShell::CopyDrawSel(), SwFEShell::FindAnchorPos(), SwUndoSetFlyFormat::GetAnchor(), SwFEShell::ImpEndCreate(), SwContentNotify::ImplDestroy(), SwFEShell::Insert(), SwHTMLParser::InsertDrawObject(), SwUndoFlyBase::InsFly(), lcl_FindAnchorPos(), lcl_SetAnchor(), lcl_SetNewFlyPos(), SwFlyFrameFormat::MakeFrames(), SwFEShell::MoveAnchor(), SwFEShell::NewFlyFrame(), SwFEShell::PastePages(), PutValue(), SwUndoInsLayFormat::RepeatImpl(), SwUndoFormatAttr::RestoreFlyAnchor(), SwHTMLParser::SetAnchorAndAdjustment(), and SwFEShell::SetPageObjsNewPage().
|
inline |
Definition at line 68 of file fmtanchr.hxx.
Referenced by SwFmDrawPage::add(), SwFEShell::CheckUnboundObjects(), SwDoc::ChgAnchor(), SwTextBoxNode::Clone_Impl(), SwDrawBaseShell::Execute(), SwUndoSetFlyFormat::GetAnchor(), SwFEShell::ImpEndCreate(), sw::DocumentContentOperationsManager::InsertDrawObj(), SwHTMLParser::InsertDrawObject(), lcl_FindAnchorPos(), lcl_SetAnchor(), lcl_SetNewFlyPos(), SwDoc::MakeFlySection_(), SwFlyFrameFormat::MakeFrames(), MSWordExportBase::OutputFormat(), PutValue(), SwWW8ImplReader::Read_HdFtTextAsHackedFrame(), SwTextFlyCnt::SetAnchor(), SwHTMLParser::SetAnchorAndAdjustment(), SwHTMLParser::SetAttr_(), and SwXShape::setPropertyValue().
|
private |
Definition at line 41 of file fmtanchr.hxx.
Referenced by dumpAsXml(), operator=(), operator==(), PutValue(), QueryValue(), SetAnchor(), and SwFormatAnchor().
|
private |
#i28701# - getting anchor positions ordered
Definition at line 45 of file fmtanchr.hxx.
Referenced by dumpAsXml(), and operator=().
|
private |
Page number for page-bound frames.
Definition at line 42 of file fmtanchr.hxx.
Referenced by dumpAsXml(), operator=(), and operator==().
|
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().
|
staticprivate |
Definition at line 46 of file fmtanchr.hxx.
Referenced by dumpAsXml(), and operator=().