LibreOffice Module sw (master) 1
|
#include <environmentofanchoredobject.hxx>
Public Member Functions | |
SwEnvironmentOfAnchoredObject (const bool _bFollowTextFlow) | |
constructor More... | |
const SwLayoutFrame & | GetHoriEnvironmentLayoutFrame (const SwFrame &_rHoriOrientFrame) const |
determine environment layout frame for possible horizontal object positions respectively for alignment to 'page areas' More... | |
const SwLayoutFrame & | GetVertEnvironmentLayoutFrame (const SwFrame &_rVertOrientFrame) const |
determine environment layout frame for possible vertical object positions respectively for alignments to 'page areas' More... | |
Private Attributes | |
const bool | mbFollowTextFlow |
Definition at line 28 of file environmentofanchoredobject.hxx.
objectpositioning::SwEnvironmentOfAnchoredObject::SwEnvironmentOfAnchoredObject | ( | const bool | _bFollowTextFlow | ) |
constructor
_bFollowTextFlow | input parameter - indicates, if the anchored object, for which this environment is instantiated, follow the text flow or not |
Definition at line 28 of file environmentofanchoredobject.cxx.
const SwLayoutFrame & objectpositioning::SwEnvironmentOfAnchoredObject::GetHoriEnvironmentLayoutFrame | ( | const SwFrame & | _rHoriOrientFrame | ) | const |
determine environment layout frame for possible horizontal object positions respectively for alignment to 'page areas'
determine environment layout frame for possible horizontal object positions
this is, if object has to follow the text flow:
this is, if object hasn't to follow the text flow:
_rHoriOrientFrame | input parameter - frame, at which the horizontal position is oriented at (typically it's the anchor frame). starting point for the search of the layout frame. |
Definition at line 34 of file environmentofanchoredobject.cxx.
References SwFrame::FindPageFrame(), SwFrame::GetUpper(), SwFrame::IsCellFrame(), SwFrame::IsFlyFrame(), SwFrame::IsPageFrame(), and mbFollowTextFlow.
Referenced by SwFEShell::CalcBoundRect(), and objectpositioning::SwAnchoredObjectPosition::CalcRelPosX().
const SwLayoutFrame & objectpositioning::SwEnvironmentOfAnchoredObject::GetVertEnvironmentLayoutFrame | ( | const SwFrame & | _rVertOrientFrame | ) | const |
determine environment layout frame for possible vertical object positions respectively for alignments to 'page areas'
determine environment layout frame for possible vertical object positions
this is, if object has to follow the text flow:
this is, if object hasn't to follow the text flow:
_rVertOrientFrame | input parameter - frame, at which the vertical position is oriented at (typically it's the anchor frame). starting point for the search of the layout frame. |
Definition at line 64 of file environmentofanchoredobject.cxx.
References SwFrame::FindPageFrame(), SwFrame::GetUpper(), SwFrame::IsCellFrame(), SwFrame::IsFlyFrame(), SwFrame::IsFooterFrame(), SwFrame::IsFootnoteFrame(), SwFrame::IsHeaderFrame(), SwFrame::IsPageBodyFrame(), SwFrame::IsPageFrame(), and mbFollowTextFlow.
Referenced by SwFEShell::CalcBoundRect(), CalcClipRect(), and objectpositioning::SwToContentAnchoredObjectPosition::CalcPosition().
|
private |
Definition at line 31 of file environmentofanchoredobject.hxx.
Referenced by GetHoriEnvironmentLayoutFrame(), and GetVertEnvironmentLayoutFrame().