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

Of course Writer needs its own rectangles. More...

#include <swrect.hxx>

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

Public Member Functions

 SwRect ()
 
 SwRect (const SwRect &rRect)=default
 
 SwRect (const Point &rLT, const Size &rSize)
 
 SwRect (const Point &rLT, const Point &rRB)
 
 SwRect (tools::Long X, tools::Long Y, tools::Long Width, tools::Long Height)
 
 SwRect (const tools::Rectangle &rRect)
 
void Chg (const Point &rNP, const Size &rNS)
 
void Pos (const Point &rNew)
 
void Pos (const tools::Long nNewX, const tools::Long nNewY)
 
void SSize (const Size &rNew)
 
void SSize (const tools::Long nHeight, const tools::Long nWidth)
 
void Width (tools::Long nNew)
 
void Height (tools::Long nNew)
 
void Left (const tools::Long nLeft)
 
void Right (const tools::Long nRight)
 
void Top (const tools::Long nTop)
 
void Bottom (const tools::Long nBottom)
 
const PointPos () const
 
const SizeSSize () const
 
tools::Long Width () const
 
tools::Long Height () const
 
tools::Long Left () const
 
tools::Long Right () const
 
tools::Long Top () const
 
tools::Long Bottom () const
 
PointPos ()
 
Point Center () const
 
void Justify ()
 
SwRectUnion (const SwRect &rRect)
 
SwRectIntersection (const SwRect &rRect)
 
SwRect GetUnion (const SwRect &rRect) const
 
SwRect GetIntersection (const SwRect &rRect) const
 
SwRectIntersection_ (const SwRect &rRect)
 
bool Contains (const Point &rPOINT) const
 
bool Contains (const SwRect &rRect) const
 
bool Overlaps (const SwRect &rRect) const
 
bool IsNear (const Point &rPoint, tools::Long nTolerance) const
 
bool HasArea () const
 
bool IsEmpty () const
 
void Clear ()
 
SwRectoperator= (const SwRect &rRect)=default
 
bool operator== (const SwRect &rRect) const
 
bool operator!= (const SwRect &rRect) const
 
SwRectoperator+= (const Point &rPt)
 
SwRectoperator-= (const Point &rPt)
 
tools::Rectangle SVRect () const
 
void dumpAsXmlAttributes (xmlTextWriterPtr writer) const
 
void Top_ (const tools::Long nTop)
 
void Bottom_ (const tools::Long nBottom)
 
void Left_ (const tools::Long nLeft)
 
void Right_ (const tools::Long nRight)
 
void Width_ (const tools::Long nNew)
 
void Height_ (const tools::Long nNew)
 
tools::Long Top_ () const
 
tools::Long Bottom_ () const
 
tools::Long Left_ () const
 
tools::Long Right_ () const
 
tools::Long Width_ () const
 
tools::Long Height_ () const
 
void SubTop (const tools::Long nSub)
 
void AddTop (const tools::Long nAdd)
 
void AddBottom (const tools::Long nAdd)
 
void AddLeft (const tools::Long nAdd)
 
void SubLeft (const tools::Long nSub)
 
void AddRight (const tools::Long nAdd)
 
void AddWidth (const tools::Long nAdd)
 
void AddHeight (const tools::Long nAdd)
 
void SetPosX (const tools::Long nNew)
 
void SetPosY (const tools::Long nNew)
 
void SetLeftAndWidth (tools::Long nLeft, tools::Long nNew)
 
void SetTopAndHeight (tools::Long nTop, tools::Long nNew)
 
void SetRightAndWidth (tools::Long nRight, tools::Long nNew)
 
void SetBottomAndHeight (tools::Long nBottom, tools::Long nNew)
 
void SetUpperLeftCorner (const Point &rNew)
 
void SetUpperRightCorner (const Point &rNew)
 
void SetLowerLeftCorner (const Point &rNew)
 
Size Size_ () const
 
Point TopLeft () const
 
Point TopRight () const
 
Point BottomLeft () const
 
Point BottomRight () const
 
Size SwappedSize () const
 
tools::Long GetLeftDistance (tools::Long) const
 
tools::Long GetBottomDistance (tools::Long) const
 
tools::Long GetRightDistance (tools::Long) const
 
tools::Long GetTopDistance (tools::Long) const
 
bool OverStepLeft (tools::Long) const
 
bool OverStepBottom (tools::Long) const
 
bool OverStepTop (tools::Long) const
 
bool OverStepRight (tools::Long) const
 

Private Attributes

Point m_Point
 
Size m_Size
 

Friends

SvStreamWriteSwRect (SvStream &rStream, const SwRect &rRect)
 

Detailed Description

Of course Writer needs its own rectangles.

This is half-open so m_Point.X() + m_Size.getWidth() is not included. Note the tools Rectangle is (usually? sometimes?) closed so there's a SVRect() to subtract 1 for the conversion.

Definition at line 34 of file swrect.hxx.

Constructor & Destructor Documentation

◆ SwRect() [1/6]

SwRect::SwRect ( )
inline

Definition at line 317 of file swrect.hxx.

Referenced by GetIntersection(), GetUnion(), and Intersection_().

◆ SwRect() [2/6]

SwRect::SwRect ( const SwRect rRect)
inlinedefault

References Bottom, Center, Height, Left, Pos, Right, SSize, Top, and Width.

◆ SwRect() [3/6]

SwRect::SwRect ( const Point rLT,
const Size rSize 
)
inline

Definition at line 322 of file swrect.hxx.

◆ SwRect() [4/6]

SwRect::SwRect ( const Point rLT,
const Point rRB 
)
inline

Definition at line 327 of file swrect.hxx.

References X, and Y.

◆ SwRect() [5/6]

SwRect::SwRect ( tools::Long  X,
tools::Long  Y,
tools::Long  Width,
tools::Long  Height 
)
inline

Definition at line 332 of file swrect.hxx.

References H, X, and Y.

◆ SwRect() [6/6]

SwRect::SwRect ( const tools::Rectangle rRect)
explicit

Member Function Documentation

◆ AddBottom()

void SwRect::AddBottom ( const tools::Long  nAdd)

◆ AddHeight()

void SwRect::AddHeight ( const tools::Long  nAdd)

◆ AddLeft()

void SwRect::AddLeft ( const tools::Long  nAdd)

◆ AddRight()

void SwRect::AddRight ( const tools::Long  nAdd)

◆ AddTop()

void SwRect::AddTop ( const tools::Long  nAdd)

◆ AddWidth()

void SwRect::AddWidth ( const tools::Long  nAdd)

◆ Bottom() [1/2]

tools::Long SwRect::Bottom ( ) const
inline

◆ Bottom() [2/2]

void SwRect::Bottom ( const tools::Long  nBottom)
inline

Definition at line 211 of file swrect.hxx.

References Point::getY(), m_Point, m_Size, and Size::setHeight().

Referenced by SwViewShellImp::AddPaintRect(), objectpositioning::SwAnchoredObjectPosition::AdjustHoriRelPosForDrawAside(), SwAccPreviewData::AdjustLogicPgRectToVisibleArea(), SwFrame::AdjustNeighbourhood(), SwFillData::Bottom(), ww8::CellInfo::bottom(), SwContentTree::BringFramesToAttention(), SwContentTree::BringTypesWithFlowFramesToAttention(), SwTextFormatter::CalcBottomLine(), SwFEShell::CalcBoundRect(), SwTextAdjuster::CalcDropRepaint(), SwTextFormatter::CalcFlyWidth(), SwRootFrame::CalcFrameRects(), SwTextFly::CalcMinBottom(), objectpositioning::SwToLayoutAnchoredObjectPosition::CalcPosition(), SwEditWin::ChangeFly(), SwViewShell::CheckInvalidForPaint(), SwFEShell::CheckUnboundObjects(), SwDoc::ChgAnchor(), SwLayoutFrame::ChgLowersProp(), SwTextFrame::ChgThisLines(), ChkChartSel(), SwEditWin::Command(), Contains(), sw::sidebarwindows::AnchorOverlayObject::CreateAnchorOverlayObject(), SwTextPaintInfo::DrawCheckBox(), DrawFillAttributes(), DrawGraphic(), SwTextPainter::DrawTextLine(), SwView::ExecTabWin(), SwTextFrame::FillCursorPos(), SwRootFrame::FillSelection(), SwAccessibleTableData_Impl::FindCell(), SwLayAction::FormatLayout(), SwTextFrame::FormatLine(), SwHeadFootFrame::FormatSize(), SwAccessibleTable::getAccessibleRowExtentAt(), SwPostItMgr::GetBottomScrollRect(), SwCursorShell::GetContentAtPos(), SwLayoutFrame::GetContentPos(), SwPageFrame::GetContentPosition(), SwTextFrame::GetFootnoteLine(), GetIntersection(), GetMergeSel(), SwFEShell::GetMousePageDesc(), SwRootFrame::GetNextPrevContentPos(), SwRootFrame::GetPageAtPos(), SwFEShell::GetPageNumber(), SwAnchoredObject::GetRelCharY(), SwAccessibleTableData_Impl::GetSelection(), SwPageFrame::GetSubsidiaryLinesPolygons(), SwDoc::GetTabBorders(), GetUnion(), SwCursorShell::GotoFlyAnchor(), IMPL_LINK(), IMPL_LINK_NOARG(), objectpositioning::SwAnchoredObjectPosition::ImplAdjustHoriRelPos(), objectpositioning::SwAnchoredObjectPosition::ImplAdjustVertRelPos(), SwNoTextFrame::ImplPaintPictureBitmap(), SwLayAction::InternalAction(), Intersection(), SwSelPaintRects::Invalidate(), SwRootFrame::IsBetweenPages(), IsFrameInTableSel(), SwPageFrame::IsOverHeaderFooterArea(), SwLayAction::IsShortCut(), lcl_CalcDownDist(), lcl_CalcOverlayRanges(), lcl_CheckFlowBack(), lcl_CreateRectangleDelimiterPolygons(), lcl_dbg_out(), lcl_FindAnchorPos(), lcl_FindFirstInvaContent(), lcl_FindFrame(), lcl_Inside(), lcl_NotifyNeighbours(), lcl_PaintShadow(), lcl_PointToPrt(), lcl_ShrinkFly(), Notify_Background(), SwRegionRects::operator-=(), Overlaps(), sw::FlyContentPortion::Paint(), SwPageFrame::PaintBorderAndShadow(), SwColumnFrame::PaintBreak(), SwPageFrame::PaintDecorators(), SwViewShell::PaintDesktop(), SwTextFrame::PaintExtraData(), SwPageFrame::PaintNotesSidebar(), SwViewOption::PaintPostIts(), SwLayoutFrame::PaintSubsidiaryLines(), SwColumnFrame::PaintSubsidiaryLines(), SwFlyFrame::PaintSwFrame(), SwLayoutFrame::PaintSwFrame(), SwTextFrame::PaintSwFrame(), SwFrame::PaintSwFrameShadowAndBorder(), SwTextFrame::Prepare(), ww8::WW8TableInfo::processSwTableByLayout(), SwLayoutFrame::RefreshExtraData(), SwPageFrame::RefreshExtraData(), SwPostItMgr::ScrollbarHit(), SwFEShell::SetChainMarker(), sw::annotation::SwAnnotationWin::SetPosAndSize(), SwDoc::SetTabBorders(), SwView::SetZoom_(), SwViewShell::SmoothScroll(), SwView::StateTabWin(), SwAlignRect(), SwArrowPortion::SwArrowPortion(), SwNodes::TextToTable(), SwLayAction::TurboAction_(), Union(), SwTextFrame::UnitUp_(), SwFlyFrameAttrMgr::ValidateMetrics(), and SwViewShell::VisPortChgd().

◆ Bottom_() [1/2]

tools::Long SwRect::Bottom_ ( ) const

Definition at line 121 of file swrect.cxx.

References Size::getHeight(), Point::getY(), m_Point, and m_Size.

◆ Bottom_() [2/2]

void SwRect::Bottom_ ( const tools::Long  nBottom)

Definition at line 114 of file swrect.cxx.

References Point::getY(), m_Point, m_Size, and Size::setHeight().

◆ BottomLeft()

Point SwRect::BottomLeft ( ) const
inline

◆ BottomRight()

Point SwRect::BottomRight ( ) const
inline

◆ Center()

Point SwRect::Center ( ) const
inline

◆ Chg()

void SwRect::Chg ( const Point rNP,
const Size rNS 
)
inline

◆ Clear()

void SwRect::Clear ( )
inline

◆ Contains() [1/2]

bool SwRect::Contains ( const Point rPOINT) const
inline

◆ Contains() [2/2]

bool SwRect::Contains ( const SwRect rRect) const
inline

Definition at line 344 of file swrect.hxx.

References Bottom(), Left(), Right(), and Top().

◆ dumpAsXmlAttributes()

void SwRect::dumpAsXmlAttributes ( xmlTextWriterPtr  writer) const

Definition at line 178 of file swrect.cxx.

References Bottom(), Height(), Left(), Right(), Top(), and Width().

Referenced by SwAnchoredObject::dumpAsXml(), and SwFrame::dumpInfosAsXml().

◆ GetBottomDistance()

tools::Long SwRect::GetBottomDistance ( tools::Long  nLim) const

Definition at line 138 of file swrect.cxx.

References Size::getHeight(), Point::getY(), m_Point, and m_Size.

◆ GetIntersection()

SwRect SwRect::GetIntersection ( const SwRect rRect) const
inline

Definition at line 391 of file swrect.hxx.

References Bottom(), Left(), min(), Overlaps(), Right(), SwRect(), and Top().

Referenced by SwRegionRects::Compress(), and SwTextFrame::PaintSwFrame().

◆ GetLeftDistance()

tools::Long SwRect::GetLeftDistance ( tools::Long  nLimit) const

Definition at line 137 of file swrect.cxx.

References Point::getX(), and m_Point.

◆ GetRightDistance()

tools::Long SwRect::GetRightDistance ( tools::Long  nLim) const

Definition at line 140 of file swrect.cxx.

References Size::getWidth(), Point::getX(), m_Point, and m_Size.

◆ GetTopDistance()

tools::Long SwRect::GetTopDistance ( tools::Long  nLimit) const

Definition at line 139 of file swrect.cxx.

References Point::getY(), and m_Point.

◆ GetUnion()

SwRect SwRect::GetUnion ( const SwRect rRect) const
inline

Definition at line 382 of file swrect.hxx.

References Bottom(), IsEmpty(), Left(), min(), Right(), SwRect(), and Top().

Referenced by SwRegionRects::Compress(), and GetMergeSel().

◆ HasArea()

bool SwRect::HasArea ( ) const
inline

Definition at line 300 of file swrect.hxx.

References IsEmpty().

Referenced by SwPageFrame::AddSubsidiaryLinesBounds(), SwFrame::AdjustNeighbourhood(), SwTextAdjuster::CalcFlyPortion(), SwTextFormatter::CalcFlyWidth(), SwRootFrame::CalcFrameRects(), SwTextPaintInfo::CalcRect(), SwFlyFrame::CalcRel(), SwEditWin::ChangeFly(), SwFlyFreeFrame::CheckClip(), SwSaveClip::ChgClip_(), SwTextFormatter::ChkFlyUnderflow(), SwRootFrame::DeleteEmptySct_(), SwLayIdle::DoIdleJob_(), SwTextPaintInfo::DrawBackBrush(), SwTextPaintInfo::DrawBackground(), SwTextPaintInfo::DrawBorder(), SwTextPaintInfo::DrawCheckBox(), SwTextPaintInfo::DrawCSDFHighlighting(), DrawGraphic(), SwTextPaintInfo::DrawLineBreak(), SwTextPaintInfo::DrawRedArrow(), SwTextPaintInfo::DrawTab(), SwLayVout::Enter(), SwView::ExecSmartTagPopup(), SwView::ExecSpellPopup(), SwTextFrame::FillSelection(), SwTextFrame::Format_(), SwLayAction::FormatLayoutTab(), SwSelPaintRects::getLOKPayload(), SwFlyFreeFrame::GetUnclippedFrame(), SwViewShell::HasInvalidRect(), SwContentNotify::ImplDestroy(), SwViewShell::ImplEndAction(), SwViewShellImp::Init(), lcl_IsDropFlyInter(), lcl_NotifyBackgroundOfObj(), SwCursorShell::MakeSelVisible(), SwVirtFlyDrawObj::NbcResize(), SwDrawContact::NotifyBackgroundOfAllVirtObjs(), SwGrfNumPortion::Paint(), SwTextInputFieldPortion::Paint(), SwLayAction::PaintContent_(), SwViewShell::PaintDesktop(), SwPageFrame::PaintGrid(), SwFootnoteContFrame::PaintLine(), SwTextFrame::PaintSwFrame(), SwFrame::PaintSwFrameBackground(), SwTextFrame::Prepare(), SwPageFrame::PrepareFooter(), SwPageFrame::RefreshExtraData(), SwLayoutFrame::RefreshLaySubsidiary(), SwPageFrame::RefreshSubsidiary(), SwFrame::Retouch(), SwViewShell::SetBrowseBorder(), SwVirtFlyDrawObj::SetRect(), SwSelPaintRects::Show(), SwAlignRect(), SwPageFrame::UpdateAttr_(), SwCursorShell::UpdateCursor(), and SwShellCursor::UpDown().

◆ Height() [1/2]

tools::Long SwRect::Height ( ) const
inline

Definition at line 233 of file swrect.hxx.

References Size::Height(), and m_Size.

Referenced by Center(), and dumpAsXmlAttributes().

◆ Height() [2/2]

void SwRect::Height ( tools::Long  nNew)
inline

Definition at line 193 of file swrect.hxx.

References m_Size, and Size::setHeight().

Referenced by Add(), SwDrawView::AddCustomHdl(), SwViewShellImp::AddPaintRect(), SwTextFrame::AdjustFrame(), objectpositioning::SwAnchoredObjectPosition::AdjustHoriRelPosForDrawAside(), SwFrame::AdjustNeighbourhood(), SwDoc::BalanceRowHeight(), SwTextFormatter::BuildMultiPortion(), SwWrtShell::CalcAndSetScale(), CalcArea(), SwTextFormatter::CalcBottomLine(), SwFEShell::CalcBoundRect(), SwTextFrame::CalcFitToContent(), SwTextAdjuster::CalcFlyPortion(), SwTextFormatter::CalcFlyWidth(), SwTextFrame::CalcFollow(), SwRootFrame::CalcFrameRects(), myImplHelpers::CalcHdFtDist(), SwTextFrame::CalcLineSpace(), objectpositioning::SwAsCharAnchoredObjectPosition::CalcPosition(), objectpositioning::SwToContentAnchoredObjectPosition::CalcPosition(), objectpositioning::SwToLayoutAnchoredObjectPosition::CalcPosition(), SwTextFrame::CalcPreps(), SwFlyFrame::CalcRel(), SwDoc::CalculateNonBlankPages(), SwDoc::CalculatePagesForPrinting(), SwDoc::Chain(), SwEditWin::ChangeFly(), SwFlyFreeFrame::CheckClip(), SwSectionFrame::CheckClipping(), SwLayHelper::CheckFlyCache_(), SwLayHelper::CheckInsert(), SwPageFrame::CheckPageHeightValidForHideWhitespace(), SwRootFrame::CheckViewLayout(), SwLayoutFrame::ChgLowersProp(), SwFlyFrame::ChgRelPos(), SwFlyFrame::ChgSize(), SwTextFormatter::ChkFlyUnderflow(), TransformableSwFrame::createFrameAreaTransformations(), SwTextShell::CreateInsertFrameItemSet(), SwFlyAtContentFrame::DelEmpty(), SwSectionFrame::DelEmpty(), DrawGraphic(), SwTextPaintInfo::DrawRedArrow(), SwTextPainter::DrawTextLine(), SwEnhancedPDFExportHelper::EnhancedPDFExport(), SwView::ExecDraw(), SwView::ExecTabWin(), SwFrameShell::Execute(), SwGrfShell::Execute(), SwTextFrame::FillCursorPos(), SwShellTableCursor::FillRects(), sw::search::SearchResultLocator::findOne(), SwBodyFrame::Format(), SwNoTextFrame::Format(), SwRowFrame::Format(), SwTextFrame::Format(), SwTextFrame::FormatAdjust(), SwTextFrame::FormatEmpty(), SwLayAction::FormatLayout(), SwTextFrame::FormatLine(), SwHeadFootFrame::FormatPrt(), SwTextFrame::FormatQuick(), SwHeadFootFrame::FormatSize(), SwFlyFrame::FrameSizeChg(), SwTextFrame::GetAutoPos(), SwFrame::GetBottomMargin(), SwNoTextFrame::GetCharRect(), SwTextFrame::GetCharRect(), SwTextCursor::GetCharRect(), SwTextCursor::GetCharRect_(), SwPageFrame::GetContentHeight(), SwLayoutFrame::GetContentPos(), SwFlyFrame::GetContour(), SwDrawBase::GetDefaultCenterPos(), SwTextFrame::GetDropRect_(), SwFrameAreaDefinition::getFrameAreaTransformation(), SwFrameAreaDefinition::getFramePrintAreaTransformation(), SwTextFormatter::GetFrameRstHeight(), SwFEShell::GetGraphicDefaultSize(), SwNoTextFrame::GetGrfArea(), objectpositioning::SwAnchoredObjectPosition::GetHoriAlignmentValues(), SwPostItHelper::getLayoutHeight(), SwTextFly::GetMaxBottom(), SwTextFrame::GetModelPositionForViewPoint_(), SwFrame::GetNextSctLeaf(), SwAnchoredDrawObject::GetObjBoundRect(), SwFrame::GetPrtBottom(), SwTableLine::GetTableLineHeight(), SwFootnoteBossFrame::GetVarSpace(), objectpositioning::SwAnchoredObjectPosition::GetVertAlignmentValues(), SwFlyFrame::Grow_(), SwFootnoteContFrame::GrowFrame(), SwHeadFootFrame::GrowFrame(), ww8::CellInfo::height(), SwFEShell::ImpEndCreate(), IMPL_LINK(), IMPL_LINK_NOARG(), objectpositioning::SwAnchoredObjectPosition::ImplAdjustVertRelPos(), SwLayNotify::ImplDestroy(), SwFlyFrame::InsertColumns(), SwTextShell::InsertMediaDlg(), SwWrtShell::InsertObject(), InvaPercentFlys(), SwPostItMgr::IsHit(), SwEditShell::IsMoveLeftMargin(), SwFlyFrame::IsShowUnfloatButton(), lcl_CalcAutoWidth(), lcl_CalcCellRstHeight(), lcl_CalcContentHeight(), lcl_CalcDownDist(), lcl_CalcMinRowHeight(), lcl_CalculateRepaintRect(), lcl_DrawGraphic(), lcl_DrawSpecial(), lcl_GetPrintUIOptions(), lcl_LayoutFrameEnsureMinHeight(), lcl_PaintShadow(), lcl_SetOtherLineHeight(), SwLayoutFrame::MakeAll(), SwPageFrame::MakeAll(), SwFrame::MakeBelowPos(), SwFrame::MakePos(), SwCursorShell::MakeSelVisible(), SwViewShell::MakeVisible(), SwEditWin::MouseMove(), SwFEShell::MoveAnchor(), SwLayouter::MoveBwdSuppressed(), SwCursorShell::MoveColumn(), SwVirtFlyDrawObj::NbcResize(), SwRegionRects::operator-=(), SwPageFrame::PaintBorderAndShadow(), SwColumnFrame::PaintBreak(), PaintCharacterBorder(), SwTextFrame::PaintExtraData(), SwPageFrame::PaintGrid(), SwPageFrame::PaintNotesSidebar(), SwViewOption::PaintPostIts(), SwLayoutFrame::PaintSwFrame(), SwFrame::PaintSwFrameShadowAndBorder(), SwContentFrame::Paste(), SwTextFrame::Prepare(), SwViewShell::PrintOrPDFExport(), SwPageFrame::PrtWithoutHeaderAndFooter(), SwWrtShell::PushCursor(), SwImplProtocol::Record_(), SwFrame::ReinitializeFrameSizeAttrFlags(), SwFEShell::RequestObjectResize(), SwAnchoredObject::ResetLastCharRectHeight(), SwFlyAtContentFrame::SetAbsPos(), SwViewShellImp::SetFirstVisPage(), SetLineHeight(), SwFrame::SetMaxBottom(), SwVisibleCursor::SetPosAndShow(), SwTable::SetRowHeight(), SwFrame::SetTopBottomMargins(), SwCursorShell::SetVisibleCursor(), SwSectionIndentTabPage::SetWrtShell(), SwView::SetZoom_(), SwHeadFootFrame::ShrinkFrame(), SwViewShell::SmoothScroll(), SwTabFrame::Split(), DocxSdrExport::startDMLAnchorInline(), SwView::StateTabWin(), Sub(), SwAlignRect(), SwTextFrame::SwapWidthAndHeight(), SwArrowPortion::SwArrowPortion(), SwFixPortion::SwFixPortion(), SwFlyFrame::SwFlyFrame(), SwTextFrame::SwitchHorizontalToVertical(), SwTextFrame::SwitchVerticalToHorizontal(), SwPageFrame::SwPageFrame(), SwEnhancedPDFExportHelper::SwRectToPDFRect(), SwPageFrame::UpdateAttr_(), SwCursorShell::UpdateCursor(), SwFlyFrameAttrMgr::ValidateMetrics(), SwTextFrame::WouldFit(), SwContentFrame::WouldFit_(), and SwLayoutCache::Write().

◆ Height_() [1/2]

tools::Long SwRect::Height_ ( ) const

Definition at line 117 of file swrect.cxx.

References Size::getHeight(), and m_Size.

◆ Height_() [2/2]

void SwRect::Height_ ( const tools::Long  nNew)

Definition at line 110 of file swrect.cxx.

References m_Size, and Size::setHeight().

◆ Intersection()

SwRect & SwRect::Intersection ( const SwRect rRect)

◆ Intersection_()

SwRect & SwRect::Intersection_ ( const SwRect rRect)

◆ IsEmpty()

bool SwRect::IsEmpty ( ) const
inline

◆ IsNear()

bool SwRect::IsNear ( const Point rPoint,
tools::Long  nTolerance 
) const
inline

Definition at line 365 of file swrect.hxx.

References Bottom(), Contains(), Left(), Right(), Top(), Point::X(), and Point::Y().

Referenced by SwFEShell::GetBox(), and lcl_FindFrameInTab().

◆ Justify()

void SwRect::Justify ( )

◆ Left() [1/2]

tools::Long SwRect::Left ( ) const
inline

◆ Left() [2/2]

void SwRect::Left ( const tools::Long  nLeft)
inline

Definition at line 197 of file swrect.hxx.

References Size::AdjustWidth(), Point::getX(), m_Point, m_Size, and Point::setX().

Referenced by SwViewShellImp::AddPaintRect(), ww8::WW8TableCellGrid::addShadowCells(), SwTextFrame::AdjustFrame(), objectpositioning::SwAnchoredObjectPosition::AdjustHoriRelPosForDrawAside(), SwAccPreviewData::AdjustLogicPgRectToVisibleArea(), SwFrame::AdjustNeighbourhood(), SwAnchoredDrawObject::AdjustPositioningAttr(), SwContentTree::BringFramesToAttention(), SwContentTree::BringTypesWithFlowFramesToAttention(), SwFEShell::CalcBoundRect(), CalcClipRect(), SwTextAdjuster::CalcFlyPortion(), SwTextFormatter::CalcFlyWidth(), SwRootFrame::CalcFrameRects(), SwTextFly::CalcLeftMargin(), SwTextPainter::CalcPaintOfst(), objectpositioning::SwAsCharAnchoredObjectPosition::CalcPosition(), objectpositioning::SwToContentAnchoredObjectPosition::CalcPosition(), SwTextFrame::CalcPreps(), SwTextAdjuster::CalcRightMargin(), SwEditWin::ChangeFly(), SwFlyFreeFrame::CheckClip(), SwLayHelper::CheckFlyCache_(), SwViewShell::CheckInvalidForPaint(), SwLayoutFrame::ChgLowersProp(), ChkChartSel(), SwTextFormatter::ChkFlyUnderflow(), SwAccessibleTableData_Impl::CollectData(), SwEditWin::Command(), Contains(), sw::sidebarwindows::AnchorOverlayObject::CreateAnchorOverlayObject(), TransformableSwFrame::createFrameAreaTransformations(), SwTextMargin::CtorInitTextMargin(), SwTextPaintInfo::DrawCheckBox(), DrawFillAttributes(), DrawGraphic(), SwTextPainter::DrawTextLine(), SwEnhancedPDFExportHelper::EnhancedPDFExport(), SwView::ExecDraw(), SwView::ExecTabWin(), SwTextFrame::FillCursorPos(), SwViewShell::FillPrtDoc(), SwShellTableCursor::FillRects(), SwAccessibleTableData_Impl::FindCell(), sw::search::SearchResultLocator::findOne(), SwRowFrame::Format(), SwTabFrame::Format(), SwTextFrame::FormatAdjust(), SwLayAction::FormatLayout(), SwLayAction::FormatLayoutFly(), SwHeadFootFrame::FormatPrt(), SwAccessibleTable::getAccessibleColumn(), SwAccessibleTable::getAccessibleColumnExtentAt(), SwTextFrameInfo::GetBigIndent(), SwPageFrame::GetBorderAndShadowBoundRect(), SwPostItMgr::GetBottomScrollRect(), sw::access::SwAccessibleChild::GetBounds(), sw::access::SwAccessibleChild::GetBox(), SwTextCursor::GetCharRect_(), SwCursorShell::GetContentAtPos(), SwLayoutFrame::GetContentPos(), SwPageFrame::GetContentPosition(), SwFlyFrame::GetContour(), SwCellFrame::GetCoveredCellInRow(), SwFEShell::GetCurMouseTabColNum(), SwAccessibleParagraph::GetCurrentTabStop(), SwDrawBase::GetDefaultCenterPos(), SwTextFrame::GetDropRect_(), SwTextCursor::GetEndCharRect(), SwTextFrame::GetFootnoteLine(), SwFrameAreaDefinition::getFrameAreaTransformation(), SwFrameAreaDefinition::getFramePrintAreaTransformation(), SwPageFrame::GetHorizontalShadowRect(), GetIntersection(), SwCallLink::getLayoutFrame(), SwFrame::GetLeftMargin(), GetLeftMargin(), SwTextFrameInfo::GetLineStart(), SwTextFormatInfo::GetLineWidth(), SwTextFly::GetMaxBottom(), GetMergeSel(), SwTextFrame::GetModelPositionForViewPoint_(), SwRootFrame::GetNextPrevContentPos(), SwAnchoredObject::GetObjRectWithSpaces(), SwViewShell::GetPageNumAndSetOffsetForPDF(), SwTextFrame::GetPaintSwRect(), SwXTextViewCursor::getPosition(), SwFrame::GetPrtLeft(), SwFrame::GetPrtRight(), SwAnchoredObject::GetRelCharX(), SwFrame::GetRightMargin(), SwAccessibleTableData_Impl::GetSelection(), SwDoc::GetTabBorders(), SwDoc::GetTabRows(), SwFEShell::GetTabRows_(), SwPostItMgr::GetTopScrollRect(), GetUnion(), TransformableSwFrame::getUntransformedFramePrintArea(), SwCursorShell::GotoFlyAnchor(), SwFEShell::ImpEndCreate(), IMPL_LINK(), objectpositioning::SwAnchoredObjectPosition::ImplAdjustHoriRelPos(), objectpositioning::SwAnchoredObjectPosition::ImplAdjustVertRelPos(), SwRootFrame::ImplCalcBrowseWidth(), SwNoTextFrame::ImplPaintPictureBitmap(), SwTextFly::InitAnchoredObjList(), SwFEShell::InsertDrawObj(), SwMailMergeLayoutPage::InsertGreeting(), SwTextShell::InsertMediaDlg(), Intersection(), SwAccessibleContext::InvalidateChildPosOrSize(), SwTextFly::IsAnyObj(), SwRootFrame::IsBetweenPages(), IsFrameBehind(), IsFrameInTableSel(), SwPostItMgr::IsHit(), SwLayAction::IsShortCut(), lcl_CalcDownDist(), lcl_CalcOverlayRanges(), lcl_CreateRectangleDelimiterPolygons(), lcl_dbg_out(), lcl_DrawGraphic(), lcl_DrawSpecial(), lcl_FindCntDiff(), lcl_FindFrame(), lcl_PaintShadow(), lcl_PointToPrt(), lcl_ShrinkFly(), lcl_UpDown(), SwFillData::Left(), ww8::CellInfo::left(), SwFlyInContentFrame::MakeAll(), SwPageFrame::MakeAll(), SwFlyFrameFormat::MakeGraphic(), SwAnchoredDrawObject::MakeObjPos(), SwFEShell::MoveAnchor(), SwCursorShell::MoveCursorToNum(), SwVirtFlyDrawObj::NbcMove(), SwTextFormatter::NewTabPortion(), Notify_Background(), SwLayoutFrame::NotifyLowerObjs(), SwRegionRects::operator-=(), Overlaps(), sw::FlyContentPortion::Paint(), SwTextInputFieldPortion::Paint(), SwPageFrame::PaintBorderAndShadow(), SwColumnFrame::PaintBreak(), PaintCharacterBorder(), SwPageFrame::PaintDecorators(), SwViewShell::PaintDesktop(), SwPageFrame::PaintGrid(), SwPageFrame::PaintNotesSidebar(), SwTextFrame::PaintParagraphStylesHighlighting(), SwViewOption::PaintPostIts(), SwLayoutFrame::PaintSubsidiaryLines(), SwFlyFrame::PaintSwFrame(), SwLayoutFrame::PaintSwFrame(), SwFrame::PaintSwFrameShadowAndBorder(), ww8::WW8TableInfo::processSwTableByLayout(), SwView::ReadUserDataSequence(), SwImplProtocol::Record_(), SwCursorShell::RefreshBlockCursor(), SwFEShell::RequestObjectResize(), SwPostItMgr::ScrollbarHit(), SwCursorShell::sendLOKCursorUpdates(), SwOutlineContentVisibilityWin::Set(), SwFlyAtContentFrame::SetAbsPos(), SwFEShell::SetFlyPos(), SwFrame::SetLeftRightMargins(), SwFrame::SetMaxRight(), SwFrame::SetMinLeft(), SwAnchoredDrawObject::SetObjLeft_(), SwVisibleCursor::SetPosAndShow(), sw::annotation::SwAnnotationWin::SetPosAndSize(), SwAnchoredDrawObject::SetPositioningAttr(), SwFrame::SetRightLeftMargins(), SwDoc::SetTabBorders(), SwDoc::SetTabRows(), SwContentFrame::ShrinkFrame(), SwViewShell::SmoothScroll(), SwView::StateTabWin(), SwAlignRect(), SwArrowPortion::SwArrowPortion(), SwTextFrame::SwitchHorizontalToVertical(), SwTextFrame::SwitchLTRtoRTL(), SwTextFrame::SwitchVerticalToHorizontal(), Union(), SwFlyFrame::UpdateAttr_(), SwCursorShell::UpdateCursor(), SwCursor::UpDown(), SwFlyFrameAttrMgr::ValidateMetrics(), SwViewShell::VisPortChgd(), SwLayoutCache::Write(), SwView::WriteUserData(), and SwView::WriteUserDataSequence().

◆ Left_() [1/2]

tools::Long SwRect::Left_ ( ) const

Definition at line 118 of file swrect.cxx.

References Point::getX(), and m_Point.

◆ Left_() [2/2]

void SwRect::Left_ ( const tools::Long  nLeft)

Definition at line 111 of file swrect.cxx.

References Size::AdjustWidth(), Point::getX(), m_Point, m_Size, and Point::setX().

Referenced by SwRootFrame::CheckViewLayout().

◆ operator!=()

bool SwRect::operator!= ( const SwRect rRect) const
inline

Definition at line 275 of file swrect.hxx.

References m_Point, and m_Size.

◆ operator+=()

SwRect & SwRect::operator+= ( const Point rPt)
inline

Definition at line 280 of file swrect.hxx.

References m_Point.

◆ operator-=()

SwRect & SwRect::operator-= ( const Point rPt)
inline

Definition at line 285 of file swrect.hxx.

References m_Point.

◆ operator=()

SwRect & SwRect::operator= ( const SwRect rRect)
default

◆ operator==()

bool SwRect::operator== ( const SwRect rRect) const
inline

Definition at line 271 of file swrect.hxx.

References m_Point, and m_Size.

◆ Overlaps()

bool SwRect::Overlaps ( const SwRect rRect) const
inline

Definition at line 374 of file swrect.hxx.

References Bottom(), Left(), Right(), and Top().

Referenced by SwViewShellImp::AddPaintRect(), SwContourCache::CalcBoundRect(), SwTabFrame::CalcFlyOffsets(), SwTextFormatter::CalcFlyWidth(), SwRootFrame::CalcFrameRects(), SwTextFly::CalcLeftMargin(), SwTextFly::CalcRightMargin(), SwViewShell::CheckInvalidForPaint(), CheckSplitCells(), SwAccessibleContext::ChildrenScrolled(), ChkChartSel(), SwTextFormatter::ChkFlyUnderflow(), SwLayIdle::DoIdleJob(), DrawGraphic(), SwTextFly::DrawTextOpaque(), SwShellTableCursor::FillRects(), SwLayoutFrame::FillSelection(), SwPageFrame::FillSelection(), SwTextFrame::FillSelection(), FindPage(), SwTextFly::ForEach(), SwCellFrame::Format(), SwLayAction::FormatLayoutTab(), SwNoTextFrame::GetCharRect(), SwViewShell::GetFirstLastVisPageNumbers(), SwDPage::GetGridFrameList(), GetIntersection(), SwViewShellImp::GetLastVisPage(), GetMergeSel(), SwRootFrame::GetPageAtPos(), SwAccessibleTableData_Impl::GetSelection(), GetTableSel(), SwTextFly::GetTop(), Intersection(), SwTextFly::IsAnyObj(), SwCursorShell::IsCursorVisible(), SwNode::IsInVisibleArea(), SwFlyFrame::IsPaint(), SwAccessibleFrame::IsShowing(), lcl_CheckFlowBack(), lcl_CollectCells(), lcl_NotifyContent(), lcl_NotifyNeighbours(), lcl_PaintShadow(), lcl_SubtractFlys(), MakeSelUnions(), SwRootFrame::MakeTableCursors(), SwAccessibleChildSList_const_iterator::next_visible(), Notify_Background(), SwOleClient::ObjectAreaChanged(), SwRegionRects::operator-=(), SwAnchoredObject::OverlapsPrevColumn(), SwGrfNumPortion::Paint(), sw::FlyContentPortion::Paint(), SwCursorShell::Paint(), SwFrame::PaintBorderLine(), SwLayoutFrame::PaintColLines(), SwViewShell::PaintDesktop(), SwLayoutFrame::PaintSubsidiaryLines(), SwFlyFrame::PaintSwFrame(), SwLayoutFrame::PaintSwFrame(), SwNoTextFrame::PaintSwFrame(), SwRootFrame::PaintSwFrame(), SwFrame::PaintSwFrameBackground(), SwLayAction::PaintWithoutFlys(), SwLayoutFrame::RefreshLaySubsidiary(), SwViewShellImp::SetFirstVisPage(), SwFEShell::ShouldObjectBeSelected(), SwVisibleCursor::Show(), SwContentFrame::ShrinkFrame(), Sub(), SwAccessibleChildMap::SwAccessibleChildMap(), SwAccessibleChildSList_const_iterator::SwAccessibleChildSList_const_iterator(), SwLayIdle::SwLayIdle(), and SwViewShell::VisPortChgd().

◆ OverStepBottom()

bool SwRect::OverStepBottom ( tools::Long  nLimit) const

Definition at line 144 of file swrect.cxx.

References Size::getHeight(), Point::getY(), m_Point, and m_Size.

◆ OverStepLeft()

bool SwRect::OverStepLeft ( tools::Long  nLimit) const

Definition at line 142 of file swrect.cxx.

References Size::getWidth(), Point::getX(), m_Point, and m_Size.

◆ OverStepRight()

bool SwRect::OverStepRight ( tools::Long  nLimit) const

Definition at line 148 of file swrect.cxx.

References Size::getWidth(), Point::getX(), m_Point, and m_Size.

◆ OverStepTop()

bool SwRect::OverStepTop ( tools::Long  nLimit) const

Definition at line 146 of file swrect.cxx.

References Size::getHeight(), Point::getY(), m_Point, and m_Size.

◆ Pos() [1/4]

Point & SwRect::Pos ( )
inline

Definition at line 221 of file swrect.hxx.

References m_Point.

◆ Pos() [2/4]

const Point & SwRect::Pos ( ) const
inline

Definition at line 217 of file swrect.hxx.

References m_Point.

◆ Pos() [3/4]

void SwRect::Pos ( const Point rNew)
inline

Definition at line 171 of file swrect.hxx.

References m_Point.

Referenced by SwDrawView::AddCustomHdl(), SwAnchoredObject::AddLastCharY(), objectpositioning::SwAnchoredObjectPosition::AdjustHoriRelPosForDrawAside(), SwFrame::AdjustNeighbourhood(), SwWrtShell::CalcAndSetScale(), SwFEShell::CalcBoundRect(), CalcClipRect(), SwTextFrame::CalcFitToContent(), SwTextAdjuster::CalcFlyPortion(), SwTextFormatter::CalcFlyWidth(), SwRootFrame::CalcFrameRects(), SwContentControlButton::CalcPosAndSize(), FormFieldButton::CalcPosAndSize(), SwTextFrame::CalcPreps(), SwPagePreviewLayout::CalcPreviewDataForPage(), SwHTMLParser::CallEndAction(), SwEditWin::ChangeFly(), SwFlyFreeFrame::CheckClip(), SwLayHelper::CheckFlyCache_(), SwLayHelper::CheckInsert(), SwVirtFlyDrawObj::CheckMacroHit(), SwRootFrame::CheckViewLayout(), SwTextFormatter::ChkFlyUnderflow(), SwFEShell::Copy(), SwFEShell::CopyDrawSel(), SwTextIter::CtorInitTextIter(), DrawGraphic(), SwTextPaintInfo::DrawRedArrow(), SwEnhancedPDFExportHelper::EnhancedPDFExport(), SwLayVout::Enter(), SwView::ExecTabWin(), SwTextFrame::FillCursorPos(), SwFEShell::FindAnchorPos(), SwFrameFormat::FindLayoutRect(), SwLayVout::Flush_(), SwBodyFrame::Format(), SwCellFrame::Format(), SwFlyFrame::Format(), SwTextFrame::Format_(), SwLayAction::FormatLayout(), SwTextFrame::FormatQuick(), SwHeadFootFrame::FormatSize(), SwFEShell::GetAnchorObjDiff(), SwTextFrame::GetAutoPos(), SwFrame::GetBackgroundBrush(), SwFEShell::GetBestObject(), GetBodyTextNode(), SwAccessibleTableData_Impl::GetCellAtPos(), SwNoTextFrame::GetCharRect(), SwTextFrame::GetCharRect(), SwTextCursor::GetCharRect(), SwTextCursor::GetCharRect_(), SwCursorShell::GetContentAtPos(), SwLayoutFrame::GetContentPos(), SwPageFrame::GetContentPosition(), SwTextCursor::GetEndCharRect(), SwFrame::GetFrameAnchorPos(), SwTextFly::GetFrameArea(), GetFrameOfModify(), SwNoTextFrame::GetGrfArea(), SwFrameFormat::GetIMapObject(), SwAccessibleParagraph::getIndexAtPoint(), SwVirtFlyDrawObj::getInnerBound(), SwPostItHelper::getLayoutInfos(), SwVisibleCursor::getLOKPayload(), SwRootFrame::GetNextPrevContentPos(), SwVirtFlyDrawObj::getOuterBound(), SwRootFrame::GetPageAtPos(), SwViewShell::GetPageNumAndSetOffsetForPDF(), SwRootFrame::GetPagePos(), SwTextFrame::GetPaintSwRect(), SwXTextDocument::getPostIts(), SwFrame::GetRelPos(), SwAnchoredObject::GetRelPosToAnchorFrame(), SwAnchoredObject::GetRelPosToChar(), SwAnchoredObject::GetRelPosToLine(), SwAnchoredObject::GetRelPosToPageFrame(), SwAccessibleTableData_Impl::GetSelection(), SwHeadFootFrame::GetSubsidiaryLinesPolygons(), SwTextFly::GetTop(), SwFEShell::GotoFly(), SwCursorShell::GotoFooterText(), SwCursorShell::GotoHeaderText(), SwFEShell::GotoObj(), SwContentFrame::GrowFrame(), SwFootnoteContFrame::GrowFrame(), SwLayoutFrame::GrowFrame(), IMPL_LINK(), IMPL_LINK_NOARG(), SwFlyNotify::ImplDestroy(), SwNoTextFrame::ImplPaintPictureAnimate(), SwNoTextFrame::ImplPaintPictureBitmap(), InsertGridFrame(), SwWrtShell::InsertObject(), SwBaseShell::InsertURLButton(), Is_Lower_Of(), SwTextFly::IsAnyFrame(), SwTextFly::IsAnyObj(), IsFrameInSameContext(), SwFEShell::IsURLGrfAtPos(), lcl_CalcBorderRect(), lcl_FindAnchorLayPos(), lcl_FindBasePos(), lcl_FindFrame(), lcl_FrameRect(), lcl_GetCharRectInsideField(), lcl_GetPos(), lcl_IsDropFlyInter(), lcl_NotifyContent(), lcl_NotifyNeighbours(), lcl_PaintReplacement(), lcl_PointToPrt(), lcl_ProjectOntoClosestTableFrame(), lcl_SetAnchor(), lcl_SetPos(), lcl_SubtractFlys(), SwRootFrame::MakeAll(), SwFrame::MakeBelowPos(), SwFlyFrame::MakeContentPos(), SwEnhancedPDFExportHelper::MakeHeaderFooterLinks(), SwFrame::MakeLeftPos(), SwFlyFrame::MakeObjPos(), SwFrame::MakePos(), SwTextFrame::MakePos(), SwContentFrame::MakePrtArea(), SwFrame::MakeRightPos(), SwEditWin::MouseMove(), SwLayouter::MoveBwdSuppressed(), SwCursorShell::MoveColumn(), SwContentFrame::MoveFootnoteCntFwd(), SwDrawContact::NotifyBackgroundOfAllVirtObjs(), AttributeOutputBase::OutputFlyFrame(), WW8AttributeOutput::OutputFlyFrame_Impl(), SwColumnFrame::PaintBreak(), SwLayoutFrame::PaintColLines(), SwViewShell::PaintDesktop(), SwTextFrame::PaintEmpty(), SwPageFrame::PaintGrid(), SwLayoutFrame::PaintSubsidiaryLines(), SwFlyFrame::PaintSwFrame(), SwNoTextFrame::PaintSwFrame(), SwTabFrame::PaintSwFrame(), SwFrame::PaintSwFrameShadowAndBorder(), SwFootnoteContFrame::PaintSwFrameShadowAndBorder(), SwWrtShell::PopCursor(), SwViewShell::PrintProspect(), SwTransferable::PrivateDrop(), SwTransferable::PrivatePaste(), SwPageFrame::PrtWithoutHeaderAndFooter(), SwWrtShell::PushCursor(), SwImplProtocol::Record_(), SwPagePreviewWin::RepaintCoreRect(), SwDPage::RequestHelp(), SwOleClient::RequestNewObjectArea(), SwFEShell::RequestObjectResize(), SwFEShell::SelectObj(), SwFEShell::SelFlyGrabCursor(), SwFEShell::SetChainMarker(), SwRootFrame::SetCurrPage(), SwCursorShell::SetCursor(), SwFEShell::SetFlyFrameAttr(), SwFEShell::SetFlyPos(), SwFEShell::SetFrameFormat(), SwFlyFrame::SetObjLeft_(), SwFlyFrame::SetObjTop_(), SwVisibleCursor::SetPosAndShow(), SwContentFrame::ShouldBwdMoved(), SwTabFrame::ShouldBwdMoved(), SwContentFrame::ShrinkFrame(), SwLayoutFrame::ShrinkFrame(), SwRowFrame::ShrinkFrame(), SwViewShell::SmoothScroll(), QuickHelpData::Start(), SwView::StateTabWin(), sw_ChkAndSetNewAnchor(), SwAlignGrfRect(), SwTextFrame::SwapWidthAndHeight(), SwFlyAtContentFrame::SwClientNotify(), SwFlyFrame::SwFlyFrame(), SwTestFormat::SwTestFormat(), SwFrameAreaDefinition::transform_translate(), SwTextFrame::UnitDown_(), SwTextFrame::UnitUp_(), SwCursor::UpDown(), SwFlyFrameAttrMgr::ValidateMetrics(), and SwViewShell::VisPortChgd().

◆ Pos() [4/4]

void SwRect::Pos ( const tools::Long  nNewX,
const tools::Long  nNewY 
)
inline

Definition at line 175 of file swrect.hxx.

References m_Point, Point::setX(), and Point::setY().

◆ Right() [1/2]

tools::Long SwRect::Right ( ) const
inline

◆ Right() [2/2]

void SwRect::Right ( const tools::Long  nRight)
inline

Definition at line 202 of file swrect.hxx.

References Point::getX(), m_Point, m_Size, and Size::setWidth().

Referenced by SwViewShellImp::AddPaintRect(), objectpositioning::SwAnchoredObjectPosition::AdjustHoriRelPosForDrawAside(), SwAccPreviewData::AdjustLogicPgRectToVisibleArea(), SwAnchoredDrawObject::AdjustPositioningAttr(), SwTextFly::AnchoredObjToRect(), SwContentTree::BringFramesToAttention(), SwContentTree::BringTypesWithFlowFramesToAttention(), SwFEShell::CalcBoundRect(), SwTextFormatter::CalcFlyWidth(), SwRootFrame::CalcFrameRects(), SwEditWin::ChangeFly(), SwViewShell::CheckInvalidForPaint(), ChkChartSel(), SwEditWin::Command(), Contains(), SwTextPaintInfo::DrawCheckBox(), DrawFillAttributes(), DrawGraphic(), SwTextPainter::DrawTextLine(), SwEnhancedPDFExportHelper::EnhancedPDFExport(), SwView::ExecTabWin(), SwTextFrame::FillCursorPos(), SwShellTableCursor::FillRects(), SwAccessibleTableData_Impl::FindCell(), SwLayAction::FormatLayout(), SwAccessibleTable::getAccessibleColumnExtentAt(), SwPageFrame::GetBorderAndShadowBoundRect(), SwPostItMgr::GetBottomScrollRect(), SwCursorShell::GetContentAtPos(), SwLayoutFrame::GetContentPos(), SwPageFrame::GetContentPosition(), SwAccessibleParagraph::getIndexAtPoint(), GetIntersection(), SwTextFly::GetMaxBottom(), GetMergeSel(), SwRootFrame::GetNextPrevContentPos(), SwTextFrame::GetPaintSwRect(), SwAccessibleTableData_Impl::GetSelection(), SwDoc::GetTabBorders(), SwPostItMgr::GetTopScrollRect(), GetUnion(), SwCursorShell::GotoFlyAnchor(), IMPL_LINK(), objectpositioning::SwAnchoredObjectPosition::ImplAdjustHoriRelPos(), objectpositioning::SwAnchoredObjectPosition::ImplAdjustVertRelPos(), SwRootFrame::ImplCalcBrowseWidth(), SwNoTextFrame::ImplPaintPictureBitmap(), Intersection(), SwSelPaintRects::Invalidate(), SwTextFly::IsAnyObj(), SwRootFrame::IsBetweenPages(), IsFrameInTableSel(), SwPostItMgr::IsHit(), SwLayAction::IsShortCut(), lcl_CalcDownDist(), lcl_CalcOverlayRanges(), lcl_CreateRectangleDelimiterPolygons(), lcl_dbg_out(), lcl_FindFrame(), lcl_PaintShadow(), lcl_PointToPrt(), lcl_ShrinkFly(), SwAnchoredDrawObject::MakeObjPos(), SwTextFormatter::NewTabPortion(), Notify_Background(), Overlaps(), sw::FlyContentPortion::Paint(), SwPageFrame::PaintBorderAndShadow(), SwColumnFrame::PaintBreak(), SwPageFrame::PaintDecorators(), SwViewShell::PaintDesktop(), SwPageFrame::PaintNotesSidebar(), SwTextFrame::PaintParagraphStylesHighlighting(), SwViewOption::PaintPostIts(), SwLayoutFrame::PaintSubsidiaryLines(), SwColumnFrame::PaintSubsidiaryLines(), SwFlyFrame::PaintSwFrame(), SwLayoutFrame::PaintSwFrame(), SwFrame::PaintSwFrameShadowAndBorder(), SwTabPortion::PostFormat(), ww8::WW8TableInfo::processSwTableByLayout(), SwFillData::Right(), ww8::CellInfo::right(), SwPostItMgr::ScrollbarHit(), SwFlyAtContentFrame::SetAbsPos(), SwFEShell::SetChainMarker(), SwDoc::SetTabBorders(), SwContentFrame::ShrinkFrame(), SwViewShell::SmoothScroll(), SwView::StateTabWin(), SwAlignRect(), SwArrowPortion::SwArrowPortion(), SwTextFrame::SwitchLTRtoRTL(), SwNodes::TextToTable(), Union(), SwFlyFrameAttrMgr::ValidateMetrics(), and SwViewShell::VisPortChgd().

◆ Right_() [1/2]

tools::Long SwRect::Right_ ( ) const

Definition at line 119 of file swrect.cxx.

References Size::getWidth(), Point::getX(), m_Point, and m_Size.

◆ Right_() [2/2]

void SwRect::Right_ ( const tools::Long  nRight)

Definition at line 112 of file swrect.cxx.

References Point::getX(), m_Point, m_Size, and Size::setWidth().

◆ SetBottomAndHeight()

void SwRect::SetBottomAndHeight ( tools::Long  nBottom,
tools::Long  nNew 
)

Definition at line 166 of file swrect.cxx.

References m_Point, m_Size, Size::setHeight(), and Point::setY().

◆ SetLeftAndWidth()

void SwRect::SetLeftAndWidth ( tools::Long  nLeft,
tools::Long  nNew 
)

Definition at line 151 of file swrect.cxx.

References m_Point, m_Size, Size::setWidth(), and Point::setX().

◆ SetLowerLeftCorner()

void SwRect::SetLowerLeftCorner ( const Point rNew)

Definition at line 175 of file swrect.cxx.

References Size::getHeight(), m_Point, m_Size, Point::X(), and Point::Y().

◆ SetPosX()

void SwRect::SetPosX ( const tools::Long  nNew)

Definition at line 131 of file swrect.cxx.

References m_Point, and Point::setX().

◆ SetPosY()

void SwRect::SetPosY ( const tools::Long  nNew)

Definition at line 132 of file swrect.cxx.

References m_Point, and Point::setY().

◆ SetRightAndWidth()

void SwRect::SetRightAndWidth ( tools::Long  nRight,
tools::Long  nNew 
)

Definition at line 161 of file swrect.cxx.

References m_Point, m_Size, Size::setWidth(), and Point::setX().

◆ SetTopAndHeight()

void SwRect::SetTopAndHeight ( tools::Long  nTop,
tools::Long  nNew 
)

Definition at line 156 of file swrect.cxx.

References m_Point, m_Size, Size::setHeight(), and Point::setY().

Referenced by SwTextFrame::Format().

◆ SetUpperLeftCorner()

void SwRect::SetUpperLeftCorner ( const Point rNew)

Definition at line 171 of file swrect.cxx.

References m_Point.

◆ SetUpperRightCorner()

void SwRect::SetUpperRightCorner ( const Point rNew)

Definition at line 173 of file swrect.cxx.

References Size::getWidth(), m_Point, m_Size, Point::X(), and Point::Y().

◆ Size_()

Size SwRect::Size_ ( ) const

Definition at line 134 of file swrect.cxx.

References SSize().

◆ SSize() [1/3]

const Size & SwRect::SSize ( ) const
inline

Definition at line 225 of file swrect.hxx.

References m_Size.

Referenced by Intersection(), and Size_().

◆ SSize() [2/3]

void SwRect::SSize ( const Size rNew)
inline

Definition at line 180 of file swrect.hxx.

References m_Size.

Referenced by objectpositioning::SwAnchoredObjectPosition::AdjustHoriRelPosForDrawAside(), SwWrtShell::CalcAndSetScale(), SwFEShell::CalcBoundRect(), CalcClipRect(), SwContentControlButton::CalcPosAndSize(), FormFieldButton::CalcPosAndSize(), SwTextFrame::CalcPreps(), SwPagePreviewLayout::CalcPreviewDataForPage(), SwPagePreviewLayout::CalcPreviewLayoutSizes(), SwRootFrame::CheckViewLayout(), SwFrame::ChgSize(), SwFlyFrame::ChgSize(), SwRootFrame::ChgSize(), DrawGraphic(), SwTextFrame::EmptyHeight(), FindPage(), SwLayVout::Flush_(), SwTextFrame::Format_(), SwTextFrame::FormatAdjust(), SwLayAction::FormatLayoutTab(), SwTextFrame::FormatQuick(), SwFrame::GetBackgroundBrush(), SwAccessibleContext::getBoundsImpl(), SwNoTextFrame::GetCharRect(), SwTextCursor::GetCharRect_(), SwLayoutFrame::GetContentPos(), SwPageFrame::GetContentPosition(), SwViewShell::GetDocSize(), SwTextCursor::GetEndCharRect(), SwFEShell::GetGraphicDefaultSize(), SwNoTextFrame::GetGrfArea(), SwFrameFormat::GetIMapObject(), SwVirtFlyDrawObj::getInnerBound(), SwViewShellImp::GetLastVisPage(), SwVisibleCursor::getLOKPayload(), SwOLEObj::GetOleRef(), SwVirtFlyDrawObj::getOuterBound(), SwRootFrame::GetPageAtPos(), SwViewShell::GetPageSize(), SwXTextDocument::getPostIts(), SwNoTextFrame::GetSize(), SwCursorShell::GotoFlyAnchor(), IMPL_LINK(), SwLayNotify::ImplDestroy(), SwFlyNotify::ImplDestroy(), SwContentNotify::ImplDestroy(), SwNoTextFrame::ImplPaintPictureAnimate(), SwNoTextFrame::ImplPaintPictureBitmap(), SwViewShellImp::Init(), sw::DocumentDrawModelManager::InitDrawModel(), SwTextFly::IsAnyFrame(), SwTextFly::IsAnyObj(), lcl_FrameRect(), lcl_PaintReplacement(), SwPageFrame::MakeAll(), SwRootFrame::MakeAll(), SwFlyFrameFormat::MakeGraphic(), SwViewShell::PaintDesktop(), SwNoTextFrame::PaintSwFrame(), SwRootFrame::PaintSwFrame(), SwViewShell::PrintProspect(), SwPagePreviewWin::RepaintCoreRect(), SwOleClient::RequestNewObjectArea(), SwFEShell::RequestObjectResize(), SwFlyCntPortion::SetBase(), SwViewShellImp::SetFirstVisPage(), SwVisibleCursor::SetPosAndShow(), SwView::SetZoom_(), SwViewShell::SmoothScroll(), SwView::StateStatusLine(), SwAlignGrfRect(), SwPageFrame::SwPageFrame(), SwTextFrame::UnitDown_(), SwTextFrame::UnitUp_(), SwFlyFrameAttrMgr::ValidateMetrics(), SwViewShell::VisPortChgd(), and SwTextFrame::WouldFit().

◆ SSize() [3/3]

void SwRect::SSize ( const tools::Long  nHeight,
const tools::Long  nWidth 
)
inline

Definition at line 184 of file swrect.hxx.

References m_Size, Size::setHeight(), and Size::setWidth().

◆ SubLeft()

void SwRect::SubLeft ( const tools::Long  nSub)

Definition at line 126 of file swrect.cxx.

References Size::AdjustWidth(), Point::getX(), m_Point, m_Size, and Point::setX().

Referenced by SwRootFrame::CheckViewLayout().

◆ SubTop()

void SwRect::SubTop ( const tools::Long  nSub)

◆ SVRect()

tools::Rectangle SwRect::SVRect ( ) const
inline

Definition at line 292 of file swrect.hxx.

References Size::getHeight(), Size::getWidth(), Point::getX(), Point::getY(), IsEmpty(), m_Point, m_Size, and SAL_INFO_IF.

Referenced by SwWrtShell::CalcAndSetScale(), objectpositioning::SwAsCharAnchoredObjectPosition::CalcPosition(), SwDoc::ChgAnchor(), SwSaveClip::ChgClip_(), SwAccessibleMap::CoreToPixel(), SwDrawContact::DisconnectFromLayout(), SwTextPaintInfo::DrawBackBrush(), SwTextPaintInfo::DrawCheckBox(), SwTextPaintInfo::DrawCSDFHighlighting(), DrawGraphic(), SwTextPaintInfo::DrawRect(), SwViewOption::DrawRect(), SwViewOption::DrawRectPrinter(), SwEnhancedPDFExportHelper::EnhancedPDFExport(), SwLayVout::Enter(), SwView::ExecSmartTagPopup(), SwView::ExecSpellPopup(), SwEnhancedPDFExportHelper::ExportAuthorityEntryLinks(), ww8::Frame::Frame(), SwPageFrame::GetBorderAndShadowBoundRect(), SwFlyFrame::GetContour(), SwPageFrame::GetHorizontalShadowRect(), SwSelPaintRects::getLOKPayload(), SwAnchoredDrawObject::GetObjBoundRect(), SwXTextDocument::getPostIts(), SwDocShell::GetVisArea(), SwFEShell::ImpEndCreate(), SwViewShell::ImplEndAction(), SwViewShellImp::Init(), SwTransferable::InitOle(), InsertGridFrame(), SwViewShell::InvalidateWindows(), IsScrollMDI(), lcl_AdjustRectToPixelSize(), lcl_correctlyAlignRect(), lcl_DrawGraphic(), lcl_implDrawGraphicBackground(), lcl_PaintShadow(), lcl_PaintTransparentFormControls(), SwFlyFrameFormat::MakeGraphic(), SwEnhancedPDFExportHelper::MakeHeaderFooterLinks(), SwPagePreviewLayout::MarkNewSelectedPage(), SwViewShell::OnGraphicArrived(), SwHiddenTextPortion::Paint(), SwTextInputFieldPortion::Paint(), SwPagePreviewLayout::Paint(), SwViewShell::Paint(), SwPageFrame::PaintBorderAndShadow(), SwViewShellImp::PaintLayer(), SwPageFrame::PaintMarginArea(), SwPageFrame::PaintNotesSidebar(), SwTextFrame::PaintParagraphStylesHighlighting(), SwPagePreviewLayout::PaintSelectMarkAtPage(), SwNoTextFrame::PaintSwFrame(), SwRootFrame::PaintSwFrame(), SwFrame::PaintSwFrameBackground(), SwViewShell::PrtOle2(), SwPaintQueue::Repaint(), SwEditWin::RequestHelp(), SwDPage::RequestHelp(), ScrollMDI(), SwFEShell::SelectObj(), sw::mark::DropDownFieldmark::SendLOKShowMessage(), SwTaggedPDFHelper::SetAttributes(), SwOLENode::SetChanged(), SwFEShell::SetObjRect(), SwVirtFlyDrawObj::SetRect(), SwSelPaintRects::Show(), SwViewShell::SmoothScroll(), SwAlignGrfRect(), SwAlignRect(), SwDrawContact::SwClientNotify(), SwInsertChart::SwInsertChart(), SwDrawView::TakeDragLimit(), SwAccPreviewData::Update(), SwEditWin::UpdatePointer(), SwBreakDashedLine::UpdatePosition(), SwViewShell::VisPortChgd(), and PlcDrawObj::WritePlc().

◆ SwappedSize()

Size SwRect::SwappedSize ( ) const

Definition at line 135 of file swrect.cxx.

References Size::getHeight(), Size::getWidth(), and m_Size.

◆ Top() [1/2]

tools::Long SwRect::Top ( ) const
inline

◆ Top() [2/2]

void SwRect::Top ( const tools::Long  nTop)
inline

Definition at line 206 of file swrect.hxx.

References Size::AdjustHeight(), Point::getY(), m_Point, m_Size, and Point::setY().

Referenced by SwViewShellImp::AddPaintRect(), ww8::WW8TableCellGrid::addShadowCells(), SwTextFrame::AdjustFrame(), objectpositioning::SwAnchoredObjectPosition::AdjustHoriRelPosForDrawAside(), SwAccPreviewData::AdjustLogicPgRectToVisibleArea(), SwFrame::AdjustNeighbourhood(), SwAnchoredDrawObject::AdjustPositioningAttr(), SwContentTree::BringFramesToAttention(), SwContentTree::BringTypesWithFlowFramesToAttention(), SwTextFormatter::CalcBottomLine(), SwFEShell::CalcBoundRect(), SwFlyFrame::CalcContentHeight(), SwTextAdjuster::CalcDropRepaint(), SwTextAdjuster::CalcFlyPortion(), SwTextFormatter::CalcFlyWidth(), SwTextFly::CalcMinBottom(), objectpositioning::SwToContentAnchoredObjectPosition::CalcOverlap(), objectpositioning::SwAsCharAnchoredObjectPosition::CalcPosition(), objectpositioning::SwToContentAnchoredObjectPosition::CalcPosition(), objectpositioning::SwToLayoutAnchoredObjectPosition::CalcPosition(), SwTextFrame::CalcPreps(), SwEditWin::ChangeFly(), SwFlyFreeFrame::CheckClip(), SwLayHelper::CheckFlyCache_(), SwViewShell::CheckInvalidForPaint(), SwFrame::CheckPageDescs(), SwLayoutFrame::ChgLowersProp(), ChkChartSel(), SwAccessibleTableData_Impl::CollectData(), SwEditWin::Command(), SwRegionRects::Compress(), Contains(), TransformableSwFrame::createFrameAreaTransformations(), SwTextPaintInfo::DrawCheckBox(), DrawFillAttributes(), DrawGraphic(), SwTextPainter::DrawTextLine(), SwEnhancedPDFExportHelper::EnhancedPDFExport(), SwView::ExecDraw(), SwView::ExecTabWin(), SwTextFrame::FillCursorPos(), SwContentType::FillMemberList(), SwViewShell::FillPrtDoc(), SwShellTableCursor::FillRects(), SwRootFrame::FillSelection(), SwAccessibleTableData_Impl::FindCell(), sw::search::SearchResultLocator::findOne(), SwNode::FindOutlineNodeOfLevel(), SwTextFly::ForEach(), SwRowFrame::Format(), SwTextFrame::Format_(), SwTextFrame::FormatAdjust(), SwLayAction::FormatLayout(), SwLayAction::FormatLayoutFly(), SwTextFrame::FormatLine(), SwHeadFootFrame::FormatPrt(), SwHeadFootFrame::FormatSize(), SwAccessibleTable::getAccessibleRow(), SwAccessibleTable::getAccessibleRowExtentAt(), SwFrame::GetBottomMargin(), sw::access::SwAccessibleChild::GetBounds(), sw::access::SwAccessibleChild::GetBox(), SwTextFrame::GetCharRect(), SwTextCursor::GetCharRect(), SwTextCursor::GetCharRect_(), SwCursorShell::GetContentAtPos(), SwPageFrame::GetContentHeight(), SwLayoutFrame::GetContentPos(), SwPageFrame::GetContentPosition(), SwFlyFrame::GetContour(), SwDrawBase::GetDefaultCenterPos(), SwTextFrame::GetDropRect_(), SwViewShell::GetFirstLastVisPageNumbers(), SwFrameAreaDefinition::getFrameAreaTransformation(), SwFrameAreaDefinition::getFramePrintAreaTransformation(), SwTextFormatter::GetFrameRstHeight(), GetIntersection(), SwTextFly::GetMaxBottom(), GetMergeSel(), SwTextFrame::GetModelPositionForViewPoint_(), SwRootFrame::GetNextPrevContentPos(), SwCursorShell::GetNextPrevPageNum(), SwFrame::GetNextSctLeaf(), SwAnchoredObject::GetObjRectWithSpaces(), SwView::GetPageScrollUpOffset(), SwXTextViewCursor::getPosition(), SwFrame::GetPrtBottom(), SwFrame::GetPrtTop(), SwAnchoredObject::GetRelCharY(), ww8::WW8TableCellGrid::getRowSpansOfRow(), SwAccessibleTableData_Impl::GetSelection(), SwDoc::GetTabBorders(), ww8::WW8TableCellGrid::getTableBoxesOfRow(), SwDoc::GetTabRows(), SwFEShell::GetTabRows_(), SwFrame::GetTopMargin(), SwPostItMgr::GetTopScrollRect(), GetUnion(), TransformableSwFrame::getUntransformedFramePrintArea(), ww8::WW8TableCellGrid::getWidthsOfRow(), SwCursorShell::GotoFlyAnchor(), SwHeadFootFrame::GrowFrame(), SwFEShell::ImpEndCreate(), IMPL_LINK(), IMPL_LINK_NOARG(), objectpositioning::SwAnchoredObjectPosition::ImplAdjustHoriRelPos(), objectpositioning::SwAnchoredObjectPosition::ImplAdjustVertRelPos(), SwNoTextFrame::ImplPaintPictureBitmap(), SwRootFrame::Init(), ww8::WW8TableCellGrid::insert(), SwFEShell::InsertDrawObj(), SwMailMergeLayoutPage::InsertGreeting(), SwTextShell::InsertMediaDlg(), SwFrame::InsertPage(), SwLayAction::InternalAction(), Intersection(), SwAccessibleContext::InvalidateChildPosOrSize(), SwRootFrame::IsBetweenPages(), IsFrameBehind(), IsFrameInTableSel(), IsHeadingContained(), SwPostItMgr::IsHit(), SwPageFrame::IsOverHeaderFooterArea(), SwLayAction::IsShortCut(), SwFlyFrame::IsShowUnfloatButton(), lcl_CalcDownDist(), lcl_CalcOverlayRanges(), lcl_CreateRectangleDelimiterPolygons(), lcl_dbg_out(), lcl_DrawGraphic(), lcl_DrawSpecial(), lcl_FindCnt(), lcl_FindCntDiff(), lcl_FindFirstInvaContent(), lcl_FindFirstInvaObj(), lcl_FindFrame(), lcl_Inside(), lcl_IsInvaLay(), lcl_NotifyNeighbours(), lcl_PaintShadow(), lcl_PointToPrt(), lcl_ShrinkFly(), SwPageFrame::MakeAll(), SwFlyFrameFormat::MakeGraphic(), SwFrame::MakePos(), SwCursorShell::MakeSelVisible(), SwFEShell::MoveAnchor(), SwCursorShell::MoveCursorToNum(), SwTextFormatter::NewTabPortion(), Notify_Background(), SwRegionRects::operator-=(), Overlaps(), sw::FlyContentPortion::Paint(), SwPageFrame::PaintBorderAndShadow(), SwColumnFrame::PaintBreak(), PaintCharacterBorder(), SwPageFrame::PaintDecorators(), SwViewShell::PaintDesktop(), SwTextFrame::PaintExtraData(), SwPageFrame::PaintGrid(), SwPageFrame::PaintNotesSidebar(), SwViewOption::PaintPostIts(), SwLayoutFrame::PaintSubsidiaryLines(), SwColumnFrame::PaintSubsidiaryLines(), SwFlyFrame::PaintSwFrame(), SwLayoutFrame::PaintSwFrame(), SwTextFrame::PaintSwFrame(), SwFrame::PaintSwFrameBackground(), SwFrame::PaintSwFrameShadowAndBorder(), SwContentFrame::Paste(), SwTextFrame::Prepare(), ww8::WW8TableInfo::processSwTableByLayout(), SwWrtShell::PushCursor(), SwView::ReadUserDataSequence(), SwImplProtocol::Record_(), SwCursorShell::RefreshBlockCursor(), SwLayoutFrame::RefreshExtraData(), SwPageFrame::RefreshExtraData(), SwRootFrame::RemoveSuperfluous(), SwFEShell::RequestObjectResize(), SwFrame::Retouch(), SwPostItMgr::ScrollbarHit(), SwCursorShell::sendLOKCursorUpdates(), SwFlyAtContentFrame::SetAbsPos(), SwViewShellImp::SetFirstVisPage(), SwFEShell::SetFlyPos(), SwFrame::SetMaxBottom(), SwAnchoredDrawObject::SetObjTop_(), SwAnchoredDrawObject::SetPositioningAttr(), SwDoc::SetTabBorders(), SwDoc::SetTabRows(), SwFrame::SetTopBottomMargins(), SwView::SetZoom_(), SwHeadFootFrame::ShrinkFrame(), SwViewShell::SmoothScroll(), SwView::StateTabWin(), SwAlignRect(), SwArrowPortion::SwArrowPortion(), SwTextFrame::SwitchHorizontalToVertical(), SwTextFrame::SwitchVerticalToHorizontal(), ww8::CellInfo::top(), SwLayAction::TurboAction_(), Union(), SwTextFrame::UnitDown_(), SwContentFrame::UpdateAttr_(), SwFlyFrame::UpdateAttr_(), SwTabFrame::UpdateAttr_(), SwCursorShell::UpdateCursor(), SwBreakDashedLine::UpdatePosition(), SwCursor::UpDown(), SwFlyFrameAttrMgr::ValidateMetrics(), SwViewShell::VisPortChgd(), SwLayoutCache::Write(), SwView::WriteUserData(), and SwView::WriteUserDataSequence().

◆ Top_() [1/2]

tools::Long SwRect::Top_ ( ) const

Definition at line 120 of file swrect.cxx.

References Point::getY(), and m_Point.

◆ Top_() [2/2]

void SwRect::Top_ ( const tools::Long  nTop)

Definition at line 113 of file swrect.cxx.

References Size::AdjustHeight(), Point::getY(), m_Point, m_Size, and Point::setY().

◆ TopLeft()

Point SwRect::TopLeft ( ) const
inline

◆ TopRight()

Point SwRect::TopRight ( ) const
inline

◆ Union()

SwRect & SwRect::Union ( const SwRect rRect)

◆ Width() [1/2]

tools::Long SwRect::Width ( ) const
inline

Definition at line 229 of file swrect.hxx.

References m_Size, and Size::Width().

Referenced by Center(), and dumpAsXmlAttributes().

◆ Width() [2/2]

void SwRect::Width ( tools::Long  nNew)
inline

Definition at line 189 of file swrect.hxx.

References m_Size, and Size::setWidth().

Referenced by Add(), SwViewShellImp::AddPaintRect(), SwTextFrame::AdjustFrame(), objectpositioning::SwAnchoredObjectPosition::AdjustHoriRelPosForDrawAside(), SwFrame::AdjustNeighbourhood(), SwTextFly::AnchoredObjToRect(), SwAutoFormat::BuildEnum(), SwTextFormatter::BuildMultiPortion(), SwWrtShell::CalcAndSetScale(), CalcArea(), SwContourCache::CalcBoundRect(), SwFEShell::CalcBoundRect(), CalcClipRect(), SwTextFrame::CalcFitToContent(), SwTextAdjuster::CalcFlyPortion(), SwTextFormatter::CalcFlyWidth(), SwTextFrame::CalcFollow(), SwRootFrame::CalcFrameRects(), objectpositioning::SwAsCharAnchoredObjectPosition::CalcPosition(), objectpositioning::SwToContentAnchoredObjectPosition::CalcPosition(), objectpositioning::SwToLayoutAnchoredObjectPosition::CalcPosition(), SwTextFrame::CalcPreps(), SwFlyFrame::CalcRel(), SwLayoutFrame::CalcRel(), SwEditWin::ChangeFly(), SwFlyFreeFrame::CheckClip(), SwSectionFrame::CheckClipping(), SwLayHelper::CheckFlyCache_(), SwRootFrame::CheckViewLayout(), SwLayoutFrame::ChgLowersProp(), SwFlyFrame::ChgSize(), SwTextFormatter::ChkFlyUnderflow(), SwRegionRects::Compress(), TransformableSwFrame::createFrameAreaTransformations(), SwTextShell::CreateInsertFrameItemSet(), SwTextMargin::CtorInitTextMargin(), SwAutoFormat::DoTable(), DrawGraphic(), SwTextPaintInfo::DrawRedArrow(), SwTextFly::DrawTextOpaque(), SwEnhancedPDFExportHelper::EnhancedPDFExport(), SwView::ExecDraw(), SwTextShell::ExecIdx(), SwView::ExecTabWin(), SwFrameShell::Execute(), SwTableShell::Execute(), SwGrfShell::Execute(), SwXMLExport::ExportTableAutoStyles(), SwTextFrame::FillCursorPos(), sw::search::SearchResultLocator::findOne(), SwBodyFrame::Format(), SwNoTextFrame::Format(), SwRowFrame::Format(), SwTabFrame::Format(), SwTextFrame::Format_(), SwTextFrame::FormatAdjust(), SwLayAction::FormatLayout(), SwHeadFootFrame::FormatPrt(), SwFlyFrame::FrameSizeChg(), SwTextFrame::GetAutoPos(), SwViewShell::GetBrowseWidth(), SwHTMLTableLayout::GetBrowseWidth(), SwHTMLTableLayout::GetBrowseWidthByTabFrame(), SwNoTextFrame::GetCharRect(), SwTextFrame::GetCharRect(), SwTextCursor::GetCharRect_(), SwLayoutFrame::GetContentPos(), SwFlyFrame::GetContour(), SwCellFrame::GetCoveredCellInRow(), SwDrawBase::GetDefaultCenterPos(), SwTextFrame::GetDropRect_(), SwFrameAreaDefinition::getFrameAreaTransformation(), SwFrameAreaDefinition::getFramePrintAreaTransformation(), SwFEShell::GetGraphicDefaultSize(), SwNoTextFrame::GetGrfArea(), SwPageFrame::GetHorizontalShadowRect(), SwTextFormatInfo::GetLineWidth(), GetMergeSel(), SwXTextField::getPropertyValue(), SwFrame::GetPrtRight(), SwFrame::GetRightMargin(), SwFEShell::GetSectionWidth(), SwTableLine::GetTableLineHeight(), AttributeOutputBase::GetTablePageSize(), GetTableWidth(), sw::DefaultToxTabStopTokenHandler::HandleTabStopToken(), SwFEShell::ImpEndCreate(), IMPL_LINK(), IMPL_LINK_NOARG(), SwRootFrame::ImplCalcBrowseWidth(), SwLayNotify::ImplDestroy(), SwFlyFrame::InsertColumns(), SwTextShell::InsertMediaDlg(), SwWrtShell::InsertObject(), SwWrtShell::InsertOleObject(), SwBaseShell::InsertRegionDialog(), SwTextFrameInfo::IsFilled(), SwEditShell::IsMoveLeftMargin(), lcl_CalcAutoWidth(), lcl_CalcColValues(), lcl_CalcDownDist(), lcl_CalcSubColValues(), lcl_CalcWish(), lcl_DrawGraphic(), lcl_DrawSpecial(), lcl_GetCharRectInsideField(), lcl_PaintShadow(), SwFlyInContentFrame::MakeAll(), SwNoTextFrame::MakeAll(), SwPageFrame::MakeAll(), SwFrame::MakeLeftPos(), SwFrame::MakePos(), SwContentFrame::MakePrtArea(), SwFrame::MakeRightPos(), MakeSelUnions(), SwFEShell::MoveAnchor(), SwLayouter::MoveBwdSuppressed(), SwCursorShell::MoveColumn(), SwVirtFlyDrawObj::NbcMove(), SwVirtFlyDrawObj::NbcResize(), SwRegionRects::operator-=(), OutHTML_SwTableNode(), SwParaDlg::PageCreated(), SwTextInputFieldPortion::Paint(), SwPageFrame::PaintBorderAndShadow(), SwColumnFrame::PaintBreak(), PaintCharacterBorder(), SwPageFrame::PaintGrid(), SwViewOption::PaintPostIts(), SwFrame::PaintSwFrameShadowAndBorder(), SwContentFrame::Paste(), SwPageFrame::Paste(), SwTabPortion::PreFormat(), SwImplProtocol::Record_(), SwFEShell::RequestObjectResize(), SwFlyAtContentFrame::SetAbsPos(), SwFEShell::SetColRowWidthHeight(), SwTable::SetColWidth(), SwFrame::SetLeftRightMargins(), SwFrame::SetMaxRight(), SwFrame::SetMinLeft(), SwVisibleCursor::SetPosAndShow(), SwAnchoredDrawObject::SetPositioningAttr(), SwFrame::SetRightLeftMargins(), SwNumPositionTabPage::SetWrtShell(), SwSectionIndentTabPage::SetWrtShell(), SwViewShell::SmoothScroll(), DocxSdrExport::startDMLAnchorInline(), SwWrtShell::StartInsertRegionDialog(), SwView::StateTabWin(), Sub(), SwAlignRect(), SwTextFrame::SwapWidthAndHeight(), SwColumnDlg::SwColumnDlg(), SwFlyFrame::SwFlyFrame(), SwTextFrame::SwitchHorizontalToVertical(), SwTextFrame::SwitchLTRtoRTL(), SwTextFrame::SwitchVerticalToHorizontal(), SwPageFrame::SwPageFrame(), SwTextFrame::UnitDown_(), SwTextFrame::UnitUp_(), SwPageFrame::UpdateAttr_(), SwCursorShell::UpdateCursor(), SwEditWin::UpdatePointer(), SwFlyFrameAttrMgr::ValidateMetrics(), ww8::CellInfo::width(), SwTextFrame::WouldFit(), SwContentFrame::WouldFit_(), SwLayoutCache::Write(), and PlcDrawObj::WritePlc().

◆ Width_() [1/2]

tools::Long SwRect::Width_ ( ) const

Definition at line 116 of file swrect.cxx.

References Size::getWidth(), and m_Size.

◆ Width_() [2/2]

void SwRect::Width_ ( const tools::Long  nNew)

Definition at line 109 of file swrect.cxx.

References m_Size, and Size::setWidth().

Friends And Related Function Documentation

◆ WriteSwRect

SvStream & WriteSwRect ( SvStream rStream,
const SwRect rRect 
)
friend

Definition at line 189 of file swrect.cxx.

Member Data Documentation

◆ m_Point

Point SwRect::m_Point
private

◆ m_Size

Size SwRect::m_Size
private

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