31 #include <viewimp.hxx>
61 osl::Mutex& GetPasteMutex()
70 for(
SwViewShell& rCurrentShell : GetRingContainer())
72 if( dynamic_cast<const SwCursorShell*>( &rCurrentShell) !=
nullptr )
75 static_cast<SwFEShell*
>(&rCurrentShell)->CallChgLnk();
85 CurrShell aCurr( const_cast<SwFEShell*>(
this) );
86 return GetLayout()->GetNextPrevContentPos( rPoint, bNext );
90 const uno::Reference < embed::XEmbeddedObject >& xObj )
const
92 const SwFrame *pFrame = Imp()->HasDrawView()
94 const_cast<SwFEShell*>(
this))
103 GetLayout()->GetModelPositionForViewPoint( &aPos, aPt );
105 std::pair<Point, bool>
const tmp(*pPt,
true);
110 const bool bOldCallbackActionEnabled = GetLayout()->IsCallbackActionEnabled();
111 if( bOldCallbackActionEnabled )
112 GetLayout()->SetCallbackActionEnabled(
false );
113 pFrame = GetCurrFrame();
114 if( bOldCallbackActionEnabled )
115 GetLayout()->SetCallbackActionEnabled(
true );
120 return GetLayout()->getFrameArea();
144 const SwFrame *pFlyFrame = xObj.is() ? FindFlyFrame(xObj) :
nullptr;
145 pFrame = pFlyFrame ? pFlyFrame
155 OSL_FAIL(
"Missing Table" );
163 OSL_FAIL(
"Missing section" );
172 if(
nullptr == pFrame )
177 return GetLayout()->GetPagesArea();
186 const SwFrame *pPage = GetLayout()->Lower();
190 return static_cast<const SwPageFrame*
>(pPage)->GetPhyPageNum();
201 pPage = GetCurrFrame(
false );
205 else if ( nYPos > -1 )
207 pPage = GetLayout()->Lower();
214 pPage = Imp()->GetFirstVisPage(GetOut());
215 if ( pPage && static_cast<const SwPageFrame*>(pPage)->IsEmptyPage() )
221 rPhyNum =
static_cast<const SwPageFrame*
>(pPage)->GetPhyPageNum();
222 rVirtNum =
static_cast<const SwPageFrame*
>(pPage)->GetVirtPageNum();
227 return nullptr != pPage;
232 SwFrame* pFrame = GetCurrFrame(
false );
244 GetLayout()->GetModelPositionForViewPoint( &aPos, aPt );
246 std::pair<Point, bool>
const tmp(*pPt,
true);
250 pFrame = GetCurrFrame(
false );
270 if( static_cast<const SwPageFrame*>(pFrame)->IsFootnotePage() )
281 if( static_cast<const SwFlyFrame*>(pFrame)->IsFlyLayFrame() )
283 else if ( static_cast<const SwFlyFrame*>(pFrame)->IsFlyAtContentFrame() )
287 OSL_ENSURE( static_cast<const SwFlyFrame*>(pFrame)->IsFlyInContentFrame(),
301 pFrame = static_cast<const SwFlyFrame*>(pFrame)->GetAnchorFrame();
316 Imp()->GetDrawView()->showMarkHandles();
317 if ( Imp()->GetDrawView()->AreObjectsMarked() )
326 if ( HasDrawView() && Imp()->GetDrawView()->AreObjectsMarked() )
329 Imp()->GetDrawView()->hideMarkHandles();
336 SwFrame *pFrame = GetCurrFrame();
344 SwFrame *pFrame = GetCurrFrame();
354 "SwFEShell _SetAPageOffset() without ContentFrame" );
373 GetLayout()->SetVirtPageNum(
true );
421 const OUString& rNumberSeparator,
422 const bool bBefore,
const sal_uInt16 nId,
423 const OUString& rCharacterStyle,
436 bool bInnerCntIsFly =
false;
442 bInnerCntIsFly = pCnt->
IsInFly();
447 GetFormat()->GetContent().GetContentIdx()->GetIndex();
456 ->GetSttNd()->FindTableNode()->GetIndex();
460 if( Imp()->GetDrawView() )
467 std::vector<SdrObject*> aDrawObjs;
473 aDrawObjs.push_back( pDrawObj );
477 while ( !aDrawObjs.empty() )
480 if ( dynamic_cast<const SwVirtFlyDrawObj*>( pDrawObj) ==
nullptr &&
481 dynamic_cast<const SwFlyDrawObj*>( pDrawObj) ==
nullptr )
484 GetDoc()->InsertDrawLabel( rText, rSeparator, rNumberSeparator, nId, rCharacterStyle, *pDrawObj );
486 pFlyFormat = pFormat;
489 aDrawObjs.pop_back();
495 OSL_ENSURE(
false,
"Cursor neither in table nor in fly." );
500 pFlyFormat = GetDoc()->InsertLabel(eType, rText, rSeparator,
501 rNumberSeparator, bBefore, nId,
502 nIdx, rCharacterStyle, bCpyBrd);
507 const Point aPt(GetCursorDocPos());
509 SelectFlyFrame(*pFrame);
512 EndAllActionAndCall();
518 if( !HasSelection() )
528 SwFrame *pFrame = GetCurrFrame(
false );
529 OSL_ENSURE( pFrame->
FindTabFrame(),
"Cursor not in table." );
546 bRet = mxDoc->SortTable(aBoxes, rOpt);
551 for(
SwPaM& rPaM : GetCursor()->GetRingContainer())
563 bRet = mxDoc->SortText(*pPam, rOpt);
569 sal_Int32 nLen = pCNd->
Len();
587 SwFrame* pFrame = GetCurrFrame();
608 const SwFrame *pCurFrame = pFrame;
642 OSL_ENSURE( GetCurrFrame(),
"Cursor parked?" );
643 return GetCurColNum_( GetCurrFrame(), pPara );
649 SwFrame* pFrame = GetCurrFrame();
650 OSL_ENSURE( pFrame,
"Cursor parked?" );
655 OSL_ENSURE( pFrame,
"No Tab, no Sect" );
657 nRet = GetCurColNum_( pFrame,
nullptr );
664 , m_bCheckForOLEInCaption(false)
665 , m_aPasteListeners(GetPasteMutex())
666 , m_eTableInsertMode(
SwTable::SEARCH_NONE)
667 , m_bTableCopied(false)
673 , m_bCheckForOLEInCaption(false)
674 , m_aPasteListeners(GetPasteMutex())
675 , m_eTableInsertMode(
SwTable::SEARCH_NONE)
676 , m_bTableCopied(false)
692 const sal_Int16 _eHoriRelOrient,
693 const sal_Int16 _eVertRelOrient,
695 const bool _bFollowTextFlow,
707 if(
nullptr != pFly )
716 bool bWrapThrough =
false;
721 bWrapThrough = rSurround.
GetSurround() == css::text::WrapTextMode_THROUGH;
728 bool bVertic =
false;
730 bool bVerticalL2R =
false;
732 if ((RndStdIds::FLY_AT_PAGE == _nAnchorId) || (RndStdIds::FLY_AT_FLY == _nAnchorId))
736 if ((RndStdIds::FLY_AT_PAGE == _nAnchorId) ||
737 ((RndStdIds::FLY_AT_FLY == _nAnchorId) && !_bFollowTextFlow))
757 bVertic = aRectFnSet.
IsVert();
760 switch ( _eHoriRelOrient )
762 case text::RelOrientation::PAGE_RIGHT:
765 case text::RelOrientation::PRINT_AREA:
766 case text::RelOrientation::PAGE_PRINT_AREA: aPos.AdjustY(pFrame->
getFramePrintArea().
Top() );
break;
772 switch ( _eHoriRelOrient )
774 case text::RelOrientation::PRINT_AREA:
777 case text::RelOrientation::PAGE_RIGHT:
784 switch ( _eHoriRelOrient )
786 case text::RelOrientation::PRINT_AREA:
789 case text::RelOrientation::PAGE_LEFT:
797 switch ( _eHoriRelOrient )
799 case text::RelOrientation::PAGE_RIGHT:
802 case text::RelOrientation::PRINT_AREA:
803 case text::RelOrientation::PAGE_PRINT_AREA: aPos.AdjustX(pFrame->
getFramePrintArea().
Left() );
break;
810 switch ( _eVertRelOrient )
812 case text::RelOrientation::PRINT_AREA:
813 case text::RelOrientation::PAGE_PRINT_AREA:
822 switch ( _eVertRelOrient )
824 case text::RelOrientation::PRINT_AREA:
825 case text::RelOrientation::PAGE_PRINT_AREA:
834 switch ( _eVertRelOrient )
836 case text::RelOrientation::PRINT_AREA:
837 case text::RelOrientation::PAGE_PRINT_AREA:
842 static_cast<const SwPageFrame*>(pFrame)->PrtWithoutHeaderAndFooter().
Top() );
882 if ((_nAnchorId == RndStdIds::FLY_AT_PARA) || (_nAnchorId == RndStdIds::FLY_AT_CHAR))
898 if ( _bFollowTextFlow )
905 if ( _eVertRelOrient == text::RelOrientation::PAGE_FRAME || _eVertRelOrient == text::RelOrientation::PAGE_PRINT_AREA )
909 aPos.setX( aVertEnvironRect.Right() );
913 aPos.setX( aVertEnvironRect.Left() );
917 aPos.setY( aVertEnvironRect.Top() );
924 "<SwFEShell::CalcBoundRect(..)> - not following text flow, but vertical environment *not* page!" );
929 if (_eVertRelOrient == text::RelOrientation::PAGE_FRAME
930 || _eVertRelOrient == text::RelOrientation::PAGE_PRINT_AREA
931 || _eVertRelOrient == text::RelOrientation::PAGE_PRINT_AREA_BOTTOM)
935 aPos.setX( aVertEnvironRect.Right() );
936 if ( _eVertRelOrient == text::RelOrientation::PAGE_PRINT_AREA )
943 aPos.setX( aVertEnvironRect.Left() );
944 if ( _eVertRelOrient == text::RelOrientation::PAGE_PRINT_AREA )
946 aPos.setX(aPos.getX() + rVertEnvironLayFrame.
GetLeftMargin());
951 aPos.setY( aVertEnvironRect.Top() );
952 if ( _eVertRelOrient == text::RelOrientation::PAGE_PRINT_AREA )
954 aPos.setY(aPos.getY() + rVertEnvironLayFrame.
GetTopMargin());
956 const SwFrame* pTmpFrame = rVertEnvironLayFrame.
Lower();
962 else if (_eVertRelOrient == text::RelOrientation::PAGE_PRINT_AREA_BOTTOM)
966 auto& rPageFrame =
static_cast<const SwPageFrame&
>(rVertEnvironLayFrame);
967 aPos.setY(rPageFrame.PrtWithoutHeaderAndFooter().Bottom());
984 const SwTextFrame* pTextFrame( dynamic_cast<const SwTextFrame*>(pFrame) );
986 (_nAnchorId == RndStdIds::FLY_AT_CHAR) &&
987 ( _eVertRelOrient == text::RelOrientation::CHAR ||
988 _eVertRelOrient == text::RelOrientation::TEXT_LINE ) )
991 if ( _eVertRelOrient == text::RelOrientation::CHAR )
994 if ( _pToCharContentPos )
996 pTextFrame->
GetAutoPos( aChRect, *_pToCharContentPos );
1002 pTextFrame->
GetAutoPos( aChRect, aDefaultContentPos );
1008 if ( _pToCharContentPos )
1033 (_nAnchorId == RndStdIds::FLY_AT_CHAR) &&
1034 _eHoriRelOrient == text::RelOrientation::CHAR )
1038 if ( _pToCharContentPos )
1040 pTextFrame->
GetAutoPos( aChRect, *_pToCharContentPos );
1046 pTextFrame->
GetAutoPos( aChRect, aDefaultContentPos );
1048 nLeft = aRectFnSet.
GetLeft(aChRect);
1060 _orRect =
SwRect( aVertEnvironRect.Left(),
1061 aHoriEnvironRect.Top(),
1062 aVertEnvironRect.Width(),
1063 aHoriEnvironRect.Height() );
1067 _orRect =
SwRect( aHoriEnvironRect.Left(),
1068 aVertEnvironRect.Top(),
1069 aHoriEnvironRect.Width(),
1070 aVertEnvironRect.Height() );
1076 *_opRef = static_cast<const SwFlyInContentFrame*>( pFly )->GetRefPoint();
1087 aRectFnSet.
SetBottom( _orRect, nBottom );
1100 static_cast<const SwTextFrame*>(pFrame)->GetBaseOffsetForFly( !bWrapThrough ) :
1104 bVertic = aRectFnSet.
IsVert();
1108 switch ( _eHoriRelOrient )
1110 case text::RelOrientation::FRAME_RIGHT:
1116 case text::RelOrientation::PRINT_AREA:
1119 aPos.setY(aPos.getY() + nBaseOfstForFly);
1122 case text::RelOrientation::PAGE_RIGHT:
1127 case text::RelOrientation::PAGE_PRINT_AREA:
1132 case text::RelOrientation::PAGE_LEFT:
1133 case text::RelOrientation::PAGE_FRAME:
1138 case text::RelOrientation::FRAME:
1140 aPos.setY(aPos.getY() + nBaseOfstForFly);
1148 switch ( _eHoriRelOrient )
1150 case text::RelOrientation::FRAME_RIGHT: aPos.setX(aPos.getX() + pFrame->
getFramePrintArea().
Left());
break;
1151 case text::RelOrientation::FRAME:
1152 case text::RelOrientation::FRAME_LEFT: aPos.setX(aPos.getX() + pFrame->
getFrameArea().
Width());
break;
1153 case text::RelOrientation::PRINT_AREA: aPos.setX(aPos.getX() + pFrame->
getFramePrintArea().
Right());
break;
1154 case text::RelOrientation::PAGE_LEFT:
1155 case text::RelOrientation::PAGE_FRAME: aPos.setX(pPage->
getFrameArea().
Right());
break;
1156 case text::RelOrientation::PAGE_PRINT_AREA: aPos.setX(pPage->
getFrameArea().
Left()
1163 switch ( _eHoriRelOrient )
1165 case text::RelOrientation::FRAME_LEFT:
1170 case text::RelOrientation::PRINT_AREA:
1173 aPos.setX(aPos.getX() + nBaseOfstForFly);
1176 case text::RelOrientation::PAGE_LEFT:
1180 case text::RelOrientation::PAGE_PRINT_AREA:
1185 case text::RelOrientation::PAGE_RIGHT:
1186 case text::RelOrientation::PAGE_FRAME:
1190 case text::RelOrientation::FRAME:
1191 aPos.setX(aPos.getX() + nBaseOfstForFly);
1198 switch ( _eHoriRelOrient )
1200 case text::RelOrientation::FRAME_RIGHT:
1204 case text::RelOrientation::PRINT_AREA:
1206 aPos.setX(aPos.getX() + nBaseOfstForFly);
1208 case text::RelOrientation::PAGE_RIGHT:
1211 case text::RelOrientation::PAGE_PRINT_AREA:
1214 case text::RelOrientation::PAGE_LEFT:
1215 case text::RelOrientation::PAGE_FRAME:
1218 case text::RelOrientation::FRAME:
1219 aPos.setX(aPos.getX() + nBaseOfstForFly);
1229 if( bVertic && !bVerticalL2R )
1230 _orRect.
Pos( aPos.getX() - _orRect.
Width() - _orRect.
Left(), _orRect.
Top() - aPos.getY() );
1231 else if( bVerticalL2R )
1232 _orRect.
Pos( _orRect.
Left() - aPos.getX(), _orRect.
Top() - aPos.getY() );
1234 _orRect.
Pos( - ( _orRect.
Right() - aPos.getX() ), _orRect.
Top() - aPos.getY() );
1236 _orRect.
Pos( _orRect.
Left() - aPos.getX(), _orRect.
Top() - aPos.getY() );
1285 OSL_FAIL(
"<SwFEShell::IsFrameVertical(..)> - missing SdrObject instance in marked object list -> This is a serious situation" );
1292 OSL_FAIL(
"<SwFEShell::IsFrameVertical(..)> - missing SwContact instance at marked object -> This is a serious situation" );
1298 OSL_FAIL(
"<SwFEShell::IsFrameVertical(..)> - missing anchor frame at marked object -> This is a serious situation" );
1302 if ( dynamic_cast<const SwVirtFlyDrawObj*>( pObj) !=
nullptr && !bEnvironment )
OUString GetNumStr(sal_Int32 nNo) const
SwFrame * FindFooterOrHeader()
SAL_DLLPRIVATE void EndAllActionAndCall()
Terminate actions for all shells and call ChangeLink.
void FrameNotify(SwViewShell *pVwSh, FlyMode eMode)
Base class of the Writer layout elements.
Represents the visualization of a paragraph.
virtual sal_Int32 Len() const
const ::std::optional< sal_uInt16 > & GetNumOffset() const
void Right(const tools::Long nRight)
Point GetPos(const SwRect &rRect) const
virtual const SwFlyFrameFormat * GetFormat() const override
size_t GetMarkCount() const
Rect of current FlyFrame.
Marks a position in the document model.
Pagedescriptor Client of SwPageDesc that is "described" by the attribute.
SwPaM * GetCursor(bool bMakeTableCursor=true) const
Return pointer to the current shell cursor.
const SwLayoutFrame & GetVertEnvironmentLayoutFrame(const SwFrame &_rVertOrientFrame) const
determine environment layout frame for possible vertical object positions respectively for alignments...
void setWidth(tools::Long nWidth)
const SwTable * GetTable() const
void Left(const tools::Long nLeft)
virtual void MoveObjectIfActive(svt::EmbeddedObjectRef &xObj, const Point &rOffset)
The layout has been changed, so the active object has to be moved after that.
const SwRect & GetAnyCurRect(CurRectType eType, const Point *pPt=nullptr, const css::uno::Reference< css::embed::XEmbeddedObject > &=css::uno::Reference< css::embed::XEmbeddedObject >()) const
SwFrameType GetType() const
void SetShell(SwViewShell *pSh)
sal_uInt16 GetCurColNum(SwGetCurColNumPara *pPara=nullptr) const
The ruler needs some information too.
const SwRect & getFramePrintArea() const
void ShellLoseFocus()
Hide or show layout-selection and pass call to CursorSh.
SwContentFrame * getLayoutFrame(const SwRootFrame *, const SwPosition *pPos=nullptr, std::pair< Point, bool > const *pViewPosAndCalcFrame=nullptr) const
helper class to disable creation of an action by a callback event in particular, change event from a ...
SdrMark * GetMark(size_t nNum) const
void Pos(const Point &rNew)
virtual void Calc(vcl::RenderContext *pRenderContext) const
Of course Writer needs its own rectangles.
SwContentFrame * FindFirstBodyContent()
virtual const SwFormatPageDesc & GetPageDescItem() const
SwFlyFrame * GetSelectedFlyFrame() const
IDocumentContentOperations const & getIDocumentContentOperations() const
bool IsDirectlyInSection() const
The root element of a Writer document layout.
static SAL_DLLPRIVATE sal_uInt16 GetCurColNum_(const SwFrame *pFrame, SwGetCurColNumPara *pPara)
SwContentNode * GetContentNode(bool bPoint=true) const
void SetBottom(SwRect &rRect, tools::Long nNew) const
Rect of current PrtArea of section.
const SwRect & getFrameArea() const
void SetAttr(const SfxPoolItem &, SwFormat &)
Set attribute in given format.1y If Undo is enabled, the old values is added to the Undo history...
const SwLayoutFrame & GetHoriEnvironmentLayoutFrame(const SwFrame &_rHoriOrientFrame) const
determine environment layout frame for possible horizontal object positions respectively for alignmen...
sal_uLong GetIndex() const
void Width(tools::Long nNew)
SwFlyFrame * FindFlyFrame()
tools::Long GetLeft(const SwRect &rRect) const
bool IsFlyInContentFrame() const
sal_uInt16 GetVirtPageNum() const
bool IsColumnFrame() const
SwTableSortBoxes & GetTabSortBoxes()
SdrObject * GetMarkedSdrObj() const
PaM is Point and Mark: a selection of the document model.
SwTextNode * GetTextNodeFirst()
bool Sort(const SwSortOptions &)
SwFEShell(SwDoc &rDoc, vcl::Window *pWin, const SwViewOption *pOpt)
virtual ~SwFEShell() override
static void EndUndo(SwWrtShell &rSh)
Rect of current PrtArea of page.
tools::Long GetPrtBottom(const SwFrame &rFrame) const
void GetTableSel(const SwCursorShell &rShell, SwSelBoxes &rBoxes, const SwTableSearchType eSearchType)
Rect of current section but outside of table.
const SwPosition * GetPoint() const
void EndAction(const bool bIdleEnd=false, const bool DoSetPosX=false)
SwIndex & Assign(SwIndexReg *, sal_Int32)
SwPageFrame * FindPageFrame()
sal_uInt16 GetPhyPageNum() const
Phy: real page count.
const SwFrame * Lower() const
SwPageDesc * GetPageDesc()
SwContentNode * GetContentNode()
const SdrMarkList & GetMarkedObjectList() const
FrameTypeFlags
values can be combined via logical or
Size GetGraphicDefaultSize() const
SwLayoutFrame * GetUpper()
sal_uInt16 GetPageOffset() const
Marks a node in the document model.
void ToggleHeaderFooterEdit()
bool GetTopOfLine(SwTwips &_onTopOfLine, const SwPosition &_rPos) const
Determine top of line for given position in the text frame.
void SSize(const Size &rNew)
sal_uInt16 GetVirtPageNum() const
A page of the document layout.
SwTable is one table in the document model, containing rows (which contain cells).
const SwPosition * Start() const
void SetVirtPageNum(const bool bOf) const
SwSectionFrame * FindSctFrame()
void CalcBoundRect(SwRect &_orRect, const RndStdIds _nAnchorId, const sal_Int16 _eHoriRelOrient=css::text::RelOrientation::FRAME, const sal_Int16 _eVertRelOrient=css::text::RelOrientation::FRAME, const SwPosition *_pToCharContentPos=nullptr, const bool _bFollowTextFlow=false, bool _bMirror=false, Point *_opRef=nullptr, Size *_opPercent=nullptr, const SwFormatFrameSize *pFormatFrameSize=nullptr) const
i#17567 - adjustments to allow negative vertical positions for fly frames anchored to paragraph or to...
bool GetAutoPos(SwRect &, const SwPosition &) const
A slimmer version of GetCharRect for autopositioning Frames.
bool IsColRightToLeft() const
void Bottom(const tools::Long nBottom)
void SetNewPageOffset(sal_uInt16 nOffset)
bool IsFrameVertical(const bool bEnvironment, bool &bRightToLeft, bool &bVertL2R) const
Determines whether a frame or its environment is vertically formatted and right-to-left.
SwDrawView * GetDrawView()
general base class for all free-flowing frames
Rect covering the pages area.
tools::Long GetRightMargin() const
SwContentFrame * GetCurrFrame(const bool bCalcFrame=true) const
Get current frame in which the cursor is positioned.
void ToggleHeaderFooterEdit()
Acts both for headers / footers, depending on the bShow(Header|Footer)Separator flags.
sal_uInt16 GetPhyPageNum() const
SwFlyFrame * GetFlyFromMarked(const SdrMarkList *pLst, SwViewShell *pSh)
virtual bool InsertPoolItem(const SwPaM &rRg, const SfxPoolItem &, const SetAttrMode nFlags=SetAttrMode::DEFAULT, SwRootFrame const *pLayout=nullptr, bool bExpandCharToPara=false, SwTextAttr **ppNewTextAttr=nullptr)=0
Insert an attribute.
sal_uInt16 GetCurOutColNum() const
Current outer column.
sal_Int32 GetIndex() const
bool IsInside(const Point &rPOINT) const
... page will be formatted if required.
const SwPosition * End() const
bool IsRightToLeft() const
void Top(const tools::Long nTop)
static SwRewriter CreateRewriter(const OUString &rStr)
Rect of current header/footer.
tools::Long GetTopMargin() const
void setHeight(tools::Long nHeight)
void SetPageOffset(sal_uInt16 nOffset)
Changes last page offset.
Point GetContentPos(const Point &rPoint, bool bNext) const
Provide information about content situated closes to given Point.
void InsertLabel(const SwLabelType eType, const OUString &rText, const OUString &rSeparator, const OUString &rNumberSeparator, const bool bBefore, const sal_uInt16 nId, const OUString &rCharacterStyle, const bool bCpyBrd)
tools::Long GetBottom(const SwRect &rRect) const
const SwFrameFormat * pFrameFormat
void SetNumOffset(const ::std::optional< sal_uInt16 > &oNum)
A layout frame is a frame that contains other frames (m_pLower), e.g. SwPageFrame or SwTabFrame...
sal_uInt16 GetPageNumber(const Point &rPoint) const
Page number of the page containing Point, O if no page.
virtual void SetMark()
Unless this is called, the getter method of Mark will return Point.
const SwFrame * GetAnchorFrame() const
tools::Long GetLeftMargin() const
void StartAllAction()
For all views of this document.
SwRootFrame * GetLayout() const
void Height(tools::Long nNew)
Rect of PrtArea of FlyFrame.
FrameTypeFlags GetFrameType(const Point *pPt, bool bStopAtFly) const
For return values see above FrameType.
SwRootFrame * getRootFrame()
static void lcl_SetAPageOffset(sal_uInt16 nOffset, SwPageFrame *pPage, SwFEShell *pThis)
bool IsHeaderFrame() const
SwNodeIndex & Assign(SwNodes const &rNds, sal_uLong)
virtual const SwFrameFormat * GetFormat() const
SwTabFrame * FindTabFrame()