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)
 
 SwRect (const Point &rLT, const Size &rSize)
 
 SwRect (const Point &rLT, const Point &rRB)
 
 SwRect (long X, long Y, long Width, long Height)
 
 SwRect (const tools::Rectangle &rRect)
 
void Chg (const Point &rNP, const Size &rNS)
 
void Pos (const Point &rNew)
 
void Pos (const long nNewX, const long nNewY)
 
void SSize (const Size &rNew)
 
void SSize (const long nHeight, const long nWidth)
 
void Width (long nNew)
 
void Height (long nNew)
 
void Left (const long nLeft)
 
void Right (const long nRight)
 
void Top (const long nTop)
 
void Bottom (const long nBottom)
 
const PointPos () const
 
const SizeSSize () const
 
long Width () const
 
long Height () const
 
long Left () const
 
long Right () const
 
long Top () const
 
long Bottom () const
 
PointPos ()
 
SizeSSize ()
 
Point Center () const
 
void Justify ()
 
SwRectUnion (const SwRect &rRect)
 
SwRectIntersection (const SwRect &rRect)
 
SwRectIntersection_ (const SwRect &rRect)
 
bool IsInside (const Point &rPOINT) const
 
bool IsNear (const Point &rPoint, long nTolerance) const
 
bool IsInside (const SwRect &rRect) const
 
bool IsOver (const SwRect &rRect) const
 
bool HasArea () const
 
bool IsEmpty () const
 
void Clear ()
 
SwRectoperator= (const SwRect &rRect)
 
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 Top_ (const long nTop)
 
void Bottom_ (const long nBottom)
 
void Left_ (const long nLeft)
 
void Right_ (const long nRight)
 
void Width_ (const long nNew)
 
void Height_ (const long nNew)
 
long Top_ () const
 
long Bottom_ () const
 
long Left_ () const
 
long Right_ () const
 
long Width_ () const
 
long Height_ () const
 
void SubTop (const long nSub)
 
void AddBottom (const long nAdd)
 
void SubLeft (const long nSub)
 
void AddRight (const long nAdd)
 
void AddWidth (const long nAdd)
 
void AddHeight (const long nAdd)
 
void SetPosX (const long nNew)
 
void SetPosY (const long nNew)
 
void SetLeftAndWidth (long nLeft, long nNew)
 
void SetTopAndHeight (long nTop, long nNew)
 
void SetRightAndWidth (long nRight, long nNew)
 
void SetBottomAndHeight (long nBottom, long nNew)
 
void SetUpperLeftCorner (const Point &rNew)
 
void SetUpperRightCorner (const Point &rNew)
 
void SetLowerLeftCorner (const Point &rNew)
 
const Size Size_ () const
 
const Point TopLeft () const
 
const Point TopRight () const
 
const Point BottomLeft () const
 
const Point BottomRight () const
 
const Size SwappedSize () const
 
long GetLeftDistance (long) const
 
long GetBottomDistance (long) const
 
long GetRightDistance (long) const
 
long GetTopDistance (long) const
 
bool OverStepLeft (long) const
 
bool OverStepBottom (long) const
 
bool OverStepTop (long) const
 
bool OverStepRight (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::SwRect ( )
inline

Definition at line 307 of file swrect.hxx.

SwRect::SwRect ( const SwRect rRect)
inline

Definition at line 312 of file swrect.hxx.

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

Definition at line 317 of file swrect.hxx.

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

Definition at line 322 of file swrect.hxx.

References X, and Y.

SwRect::SwRect ( long  X,
long  Y,
long  Width,
long  Height 
)
inline

Definition at line 327 of file swrect.hxx.

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

Member Function Documentation

void SwRect::AddBottom ( const long  nAdd)

Definition at line 170 of file swrect.cxx.

References Size::AdjustHeight(), and m_Size.

Referenced by SwPageFrame::PaintSubsidiaryLines().

void SwRect::AddHeight ( const long  nAdd)

Definition at line 166 of file swrect.cxx.

References Size::AdjustHeight(), and m_Size.

void SwRect::AddRight ( const long  nAdd)

Definition at line 168 of file swrect.cxx.

References Size::AdjustWidth(), and m_Size.

void SwRect::AddWidth ( const long  nAdd)

Definition at line 165 of file swrect.cxx.

References Size::AdjustWidth(), and m_Size.

void SwRect::Bottom ( const long  nBottom)
inline

Definition at line 207 of file swrect.hxx.

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

Referenced by objectpositioning::SwAnchoredObjectPosition::AdjustHoriRelPosForDrawAside(), SwAccPreviewData::AdjustLogicPgRectToVisibleArea(), ww8::CellInfo::bottom(), SwFillData::Bottom(), SwTextFormatter::CalcBottomLine(), SwFEShell::CalcBoundRect(), SwTextAdjuster::CalcDropRepaint(), SwRootFrame::CalcFrameRects(), SwTextFly::CalcMinBottom(), objectpositioning::SwToLayoutAnchoredObjectPosition::CalcPosition(), SwTextPaintInfo::CalcRect(), SwEditWin::ChangeFly(), SwViewShell::CheckInvalidForPaint(), SwDoc::ChgAnchor(), SwLayoutFrame::ChgLowersProp(), SwTextFrame::ChgThisLines(), SwLineRects::ConnectEdges(), SwTextPaintInfo::DrawCheckBox(), DrawFillAttributes(), DrawGraphic(), SwTextPainter::DrawTextLine(), SwView::ExecTabWin(), SwTextFrame::FillCursorPos(), SwRootFrame::FillSelection(), SwLayAction::FormatContent(), SwLayAction::FormatLayout(), SwTextFrame::FormatLine(), SwHeadFootFrame::FormatSize(), SwAccessibleTable::getAccessibleRowExtentAt(), SwPageFrame::GetBorderAndShadowBoundRect(), SwPostItMgr::GetBottomScrollRect(), SwCursorShell::GetContentAtPos(), SwLayoutFrame::GetContentPos(), SwPageFrame::GetContentPosition(), SwPageFrame::GetCursorOfst(), SwRootFrame::GetCursorOfst(), SwTextFrame::GetFootnoteLine(), GetMergeSel(), SwFEShell::GetMousePageDesc(), SwRootFrame::GetNextPrevContentPos(), SwRootFrame::GetPageAtPos(), SwFEShell::GetPageNumber(), SwAnchoredObject::GetRelCharY(), SwAccessibleTableData_Impl::GetRowColumnAndExtent(), SwAccessibleTableData_Impl::GetSelection(), SwDoc::GetTabBorders(), SwCursorShell::GotoFlyAnchor(), IMPL_LINK(), IMPL_LINK_NOARG(), objectpositioning::SwAnchoredObjectPosition::ImplAdjustHoriRelPos(), objectpositioning::SwAnchoredObjectPosition::ImplAdjustVertRelPos(), SwLayAction::InternalAction(), Intersection(), Intersection_(), SwSelPaintRects::Invalidate(), SwRootFrame::IsBetweenPages(), SwViewShellImp::IsDragPossible(), IsFrameInTableSel(), IsInside(), IsOver(), SwPageFrame::IsOverHeaderFooterArea(), SwLayAction::IsShortCut(), SwPostItMgr::LayoutPostIts(), lcl_CalcDownDist(), lcl_CheckFlowBack(), lcl_CheckObjects(), lcl_correctlyAlignRect(), lcl_CreateRectangleDelimiterPrimitives(), lcl_dbg_out(), lcl_FindAnchorPos(), lcl_FindFirstInvaContent(), lcl_FindFrame(), lcl_Inside(), lcl_NotifyNeighbours(), lcl_PaintShadow(), lcl_ShrinkFly(), SwLineRect::MakeUnion(), Notify(), Notify_Background(), SwRegionRects::operator-=(), SwPageFrame::PaintDecorators(), SwViewShell::PaintDesktop(), SwTextFrame::PaintExtraData(), SwLineRects::PaintLines(), SwPageFrame::PaintNotesSidebar(), SwNoTextFrame::PaintPicture(), SwViewOption::PaintPostIts(), SwSubsRects::PaintSubsidiary(), SwColumnFrame::PaintSubsidiaryLines(), SwLayoutFrame::PaintSubsidiaryLines(), SwPageFrame::PaintSubsidiaryLines(), SwLayoutFrame::PaintSwFrame(), SwTextFrame::PaintSwFrame(), SwTextFrame::Prepare(), ww8::WW8TableInfo::processSwTableByLayout(), SwPageFrame::PrtWithoutHeaderAndFooter(), SwLayoutFrame::RefreshExtraData(), SwPageFrame::RefreshExtraData(), SwSubsRects::RemoveSuperfluousSubsidiaryLines(), SwPostItMgr::ScrollbarHit(), SwFEShell::SetChainMarker(), SwDoc::SetTabBorders(), SwView::SetZoom_(), SwViewShell::SmoothScroll(), SwView::StateTabWin(), SwAlignRect(), SwArrowPortion::SwArrowPortion(), SwExtraPainter::SwExtraPainter(), SwLayAction::TurboAction_(), Union(), SwTextFrame::UnitUp_(), SwFlyFrameAttrMgr::ValidateMetrics(), SwViewShell::VisPortChgd(), and SwTextFrame::WouldFit().

long SwRect::Bottom ( ) const
inline
void SwRect::Bottom_ ( const long  nBottom)

Definition at line 156 of file swrect.cxx.

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

Referenced by SwTabFramePainter::Insert(), and SwTabFramePainter::PaintLines().

long SwRect::Bottom_ ( ) const

Definition at line 163 of file swrect.cxx.

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

const Point SwRect::BottomLeft ( ) const
const Point SwRect::BottomRight ( ) const
Point SwRect::Center ( ) const
void SwRect::Chg ( const Point rNP,
const Size rNS 
)
inline
void SwRect::Clear ( )
inline
long SwRect::GetBottomDistance ( long  nLim) const

Definition at line 184 of file swrect.cxx.

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

Referenced by SwShortCut::SwShortCut().

long SwRect::GetLeftDistance ( long  nLimit) const

Definition at line 183 of file swrect.cxx.

References Point::getX(), and m_Point.

Referenced by SwShortCut::SwShortCut().

long SwRect::GetRightDistance ( long  nLim) const

Definition at line 186 of file swrect.cxx.

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

Referenced by SwShortCut::SwShortCut().

long SwRect::GetTopDistance ( long  nLimit) const

Definition at line 185 of file swrect.cxx.

References Point::getY(), and m_Point.

Referenced by SwShortCut::SwShortCut().

bool SwRect::HasArea ( ) const
inline

Definition at line 290 of file swrect.hxx.

References IsEmpty().

Referenced by SwRootFrame::CalcFrameRects(), SwTextPaintInfo::CalcRect(), SwFlyFrame::CalcRel(), SwEditWin::ChangeFly(), SwFlyFreeFrame::CheckClip(), SwSaveClip::ChgClip_(), SwRootFrame::DeleteEmptySct_(), SwLayIdle::DoIdleJob_(), SwTextPaintInfo::DrawBackBrush(), SwTextPaintInfo::DrawBackground(), SwTextPaintInfo::DrawBorder(), SwTextPaintInfo::DrawCheckBox(), DrawGraphic(), SwTextPaintInfo::DrawLineBreak(), SwTextPaintInfo::DrawRedArrow(), SwTextPaintInfo::DrawTab(), SwLayVout::Enter(), SwView::ExecSmartTagPopup(), SwView::ExecSpellPopup(), SwTextFrame::FillSelection(), SwFEShell::FindAnchorPos(), SwTextFrame::Format_(), SwLayAction::FormatLayoutTab(), SwFlyFreeFrame::GetUnclippedFrame(), SwViewShell::HasInvalidRect(), SwViewShell::ImplEndAction(), SwViewShellImp::Init(), lcl_IsDropFlyInter(), lcl_NotifyBackgroundOfObj(), SwCursorShell::MakeSelVisible(), SwVirtFlyDrawObj::NbcResize(), Notify(), SwDrawContact::NotifyBackgrdOfAllVirtObjs(), SwGrfNumPortion::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(), SwSelPaintRects::Show(), sw_ChangeOffset(), SwAlignRect(), SwPageFrame::UpdateAttr_(), SwCursorShell::UpdateCursor(), and SwPosNotify::~SwPosNotify().

void SwRect::Height ( long  nNew)
inline

Definition at line 189 of file swrect.hxx.

References m_Size, and Size::setHeight().

Referenced by Add(), SwDrawView::AddCustomHdl(), SwLineRects::AddLineRect(), SwTextFrame::AdjustFrame(), objectpositioning::SwAnchoredObjectPosition::AdjustHoriRelPosForDrawAside(), SwFrame::AdjustNeighbourhood(), SwTextFormatter::BuildMultiPortion(), SwWrtShell::CalcAndSetScale(), CalcArea(), SwTextFormatter::CalcBottomLine(), SwFEShell::CalcBoundRect(), CalcContent(), SwTextFrame::CalcFitToContent(), SwTextAdjuster::CalcFlyPortion(), SwTextFrame::CalcFollow(), SwRootFrame::CalcFrameRects(), myImplHelpers::CalcHdFtDist(), SwTextFrame::CalcLineSpace(), objectpositioning::SwToLayoutAnchoredObjectPosition::CalcPosition(), objectpositioning::SwAsCharAnchoredObjectPosition::CalcPosition(), SwTextFrame::CalcPreps(), SwFlyFrame::CalcRel(), SwDoc::CalculatePagesForPrinting(), SwDoc::Chain(), SwEditWin::ChangeFly(), SwFlyFreeFrame::CheckClip(), SwSectionFrame::CheckClipping(), SwLayHelper::CheckFlyCache_(), SwLayHelper::CheckInsert(), SwPageFrame::CheckPageHeightValidForHideWhitespace(), SwRootFrame::CheckViewLayout(), SwLayoutFrame::ChgLowersProp(), SwFlyFrame::ChgSize(), SwLineRects::ConnectEdges(), SwTextShell::CreateInsertFrameItemSet(), SwSectionFrame::DelEmpty(), DrawGraphic(), SwTextPaintInfo::DrawRedArrow(), SwTextPainter::DrawTextLine(), SwView::ExecTabWin(), SwFrameShell::Execute(), SwGrfShell::Execute(), SwTextFrame::FillCursorPos(), SwShellTableCursor::FillRects(), SwTextFrame::FirstLineHeight(), SwRowFrame::Format(), SwBodyFrame::Format(), SwNoTextFrame::Format(), SwTextFrame::FormatAdjust(), SwTextFrame::FormatEmpty(), SwLayAction::FormatLayout(), SwTextFrame::FormatLine(), SwHeadFootFrame::FormatPrt(), SwTextFrame::FormatQuick(), SwHeadFootFrame::FormatSize(), SwFlyFrame::FrameSizeChg(), SwTextFrame::GetAutoPos(), SwFrame::GetBottomMargin(), SwNoTextFrame::GetCharRect(), SwTextCursor::GetCharRect(), SwTextFrame::GetCharRect(), SwTextCursor::GetCharRect_(), SwPageFrame::GetContentHeight(), SwLayoutFrame::GetContentPos(), SwFlyFrame::GetContour(), SwTextFrame::GetCursorOfst_(), SwTextFrame::GetDropRect_(), SwFrameAreaDefinition::getFrameAreaTransformation(), SwFrameAreaDefinition::getFramePrintAreaTransformation(), SwTextFormatter::GetFrameRstHeight(), SwFEShell::GetGraphicDefaultSize(), objectpositioning::SwAnchoredObjectPosition::GetHoriAlignmentValues(), SwPostItHelper::getLayoutHeight(), SwFrame::GetNextSctLeaf(), SwFrame::GetPrtBottom(), SwTableLine::GetTableLineHeight(), SwFootnoteBossFrame::GetVarSpace(), objectpositioning::SwAnchoredObjectPosition::GetVertAlignmentValues(), SwHeadFootFrame::GrowFrame(), SwFootnoteContFrame::GrowFrame(), ww8::CellInfo::height(), SwFEShell::ImpEndCreate(), IMPL_LINK(), IMPL_LINK_NOARG(), objectpositioning::SwAnchoredObjectPosition::ImplAdjustVertRelPos(), SwFlyFrame::InsertColumns(), SwWrtShell::InsertObject(), InvaPercentFlys(), SwPostItMgr::IsHit(), SwEditShell::IsMoveLeftMargin(), SwCursor::IsSelOvr(), SwFlyFrame::IsShowUnfloatButton(), lcl_CalcAutoWidth(), lcl_CalcCellRstHeight(), lcl_CalcContentHeight(), lcl_CalcDownDist(), lcl_CalculateRepaintRect(), lcl_DrawDashedRect(), lcl_DrawGraphic(), lcl_DrawSpecial(), lcl_GetPrintUIOptions(), lcl_LayoutFrameEnsureMinHeight(), lcl_PaintShadow(), lcl_SetOtherLineHeight(), SwSizeEnterLeave::Leave(), SwLayoutFrame::MakeAll(), SwPageFrame::MakeAll(), SwFrame::MakeBelowPos(), MakeNxt(), SwFrame::MakePos(), SwCursorShell::MakeSelVisible(), SwLineRect::MakeUnion(), SwViewShell::MakeVisible(), SwEditWin::MouseMove(), SwFEShell::MoveAnchor(), SwLayouter::MoveBwdSuppressed(), SwCursorShell::MoveColumn(), SwVirtFlyDrawObj::NbcResize(), SwRegionRects::operator-=(), PaintCharacterBorder(), SwTextFrame::PaintEmpty(), SwTextFrame::PaintExtraData(), SwPageFrame::PaintGrid(), SwLineRects::PaintLines(), SwTabFramePainter::PaintLines(), SwPageFrame::PaintNotesSidebar(), SwNoTextFrame::PaintPicture(), SwViewOption::PaintPostIts(), SwSubsRects::PaintSubsidiary(), SwFrame::PaintSwFrameShadowAndBorder(), SwContentFrame::Paste(), SwTextFrame::Prepare(), SwViewShell::PrintOrPDFExport(), SwPageFrame::PrtWithoutHeaderAndFooter(), SwWrtShell::PushCursor(), SwImplProtocol::Record_(), SwFrame::ReinitializeFrameSizeAttrFlags(), SwSubsRects::RemoveSuperfluousSubsidiaryLines(), SwFEShell::RequestObjectResize(), SwAnchoredObject::ResetLastCharRectHeight(), SwFlyAtContentFrame::SetAbsPos(), SwViewShellImp::SetFirstVisPage(), SetLineHeight(), SwFrame::SetMaxBottom(), SwVisibleCursor::SetPosAndShow(), SwTable::SetRowHeight(), SwFrame::SetTopBottomMargins(), SwSectionIndentTabPage::SetWrtShell(), SwView::SetZoom_(), SwHeadFootFrame::ShrinkFrame(), SwViewShell::SmoothScroll(), SwView::StateTabWin(), Sub(), SwAlignRect(), SwTextFrame::SwapWidthAndHeight(), SwArrowPortion::SwArrowPortion(), SwFixPortion::SwFixPortion(), SwFlyFrame::SwFlyFrame(), SwTextFrame::SwitchHorizontalToVertical(), SwTextFrame::SwitchVerticalToHorizontal(), SwPageFrame::SwPageFrame(), SwEnhancedPDFExportHelper::SwRectToPDFRect(), SwShortCut::SwShortCut(), SwPageFrame::UpdateAttr_(), SwFlyFrame::UpdateAttr_(), SwFlyFrameAttrMgr::ValidateMetrics(), ValidateText(), SwTextFrame::WouldFit(), SwContentFrame::WouldFit_(), SwLayoutCache::Write(), WriteSwRect(), and SwLayNotify::~SwLayNotify().

long SwRect::Height ( ) const
inline

Definition at line 233 of file swrect.hxx.

References Size::Height(), and m_Size.

Referenced by Center(), and SwLineRect::MakeUnion().

void SwRect::Height_ ( const long  nNew)

Definition at line 152 of file swrect.cxx.

References m_Size, and Size::setHeight().

long SwRect::Height_ ( ) const

Definition at line 159 of file swrect.cxx.

References Size::getHeight(), and m_Size.

SwRect & SwRect::Intersection ( const SwRect rRect)
SwRect & SwRect::Intersection_ ( const SwRect rRect)
bool SwRect::IsEmpty ( ) const
inline
bool SwRect::IsInside ( const Point rPOINT) const
bool SwRect::IsInside ( const SwRect rRect) const

Definition at line 98 of file swrect.cxx.

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

bool SwRect::IsNear ( const Point rPoint,
long  nTolerance 
) const

Definition at line 119 of file swrect.cxx.

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

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

bool SwRect::IsOver ( const SwRect rRect) const

Definition at line 128 of file swrect.cxx.

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

Referenced by SwViewShellImp::AddPaintRect(), SwContourCache::CalcBoundRect(), SwTabFrame::CalcFlyOffsets(), SwTextFly::CalcLeftMargin(), SwTextFly::CalcRightMargin(), SwViewShell::CheckInvalidForPaint(), CheckSplitCells(), ChkChartSel(), SwLayIdle::DoIdleJob(), DrawGraphic(), SwTextFly::DrawTextOpaque(), SwShellTableCursor::FillRects(), SwLayoutFrame::FillSelection(), SwPageFrame::FillSelection(), SwTextFrame::FillSelection(), FindPage(), SwTextFly::ForEach(), SwLayAction::FormatLayoutTab(), GetAutoSumSel(), SwNoTextFrame::GetCharRect(), SwDPage::GetGridFrameList(), GetMergeSel(), SwRootFrame::GetPageAtPos(), SwAccessibleTableData_Impl::GetSelection(), GetTableSel(), Intersection(), SwCursorShell::IsCursorVisible(), SwNode::IsInVisibleArea(), SwFlyFrame::IsPaint(), SwAccessibleFrame::IsShowing(), lcl_CheckFlowBack(), lcl_CollectCells(), lcl_NotifyNeighbours(), lcl_PaintShadow(), lcl_SubtractFlys(), MakeSelUnions(), SwRootFrame::MakeTableCursors(), Notify_Background(), SwRegionRects::operator-=(), SwAnchoredObject::OverlapsPrevColumn(), sw::FlyContentPortion::Paint(), SwGrfNumPortion::Paint(), SwCursorShell::Paint(), SwFrame::PaintBorderLine(), SwLayoutFrame::PaintColLines(), SwViewShell::PaintDesktop(), SwTabFramePainter::PaintLines(), SwLayoutFrame::PaintSubsidiaryLines(), SwNoTextFrame::PaintSwFrame(), SwLayoutFrame::PaintSwFrame(), SwFlyFrame::PaintSwFrame(), SwRootFrame::PaintSwFrame(), SwFrame::PaintSwFrameBackground(), SwLayAction::PaintWithoutFlys(), SwLayoutFrame::RefreshLaySubsidiary(), SwSubsRects::RemoveSuperfluousSubsidiaryLines(), SwViewShellImp::SetFirstVisPage(), SwFEShell::ShouldObjectBeSelected(), SwVisibleCursor::Show(), Sub(), and SwAccessibleChildSList_const_iterator::SwAccessibleChildSList_const_iterator().

void SwRect::Justify ( )
void SwRect::Left ( const long  nLeft)
inline

Definition at line 193 of file swrect.hxx.

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

Referenced by ww8::WW8TableCellGrid::addShadowCells(), SwTextFrame::AdjustFrame(), objectpositioning::SwAnchoredObjectPosition::AdjustHoriRelPosForDrawAside(), SwAccPreviewData::AdjustLogicPgRectToVisibleArea(), SwFrame::AdjustNeighbourhood(), SwAnchoredDrawObject::AdjustPositioningAttr(), SwFEShell::CalcBoundRect(), CalcClipRect(), SwTextAdjuster::CalcFlyPortion(), SwTextFormatter::CalcFlyWidth(), SwRootFrame::CalcFrameRects(), SwTextFly::CalcLeftMargin(), SwTextPainter::CalcPaintOfst(), objectpositioning::SwToContentAnchoredObjectPosition::CalcPosition(), objectpositioning::SwAsCharAnchoredObjectPosition::CalcPosition(), SwTextFrame::CalcPreps(), SwTextPaintInfo::CalcRect(), SwTextAdjuster::CalcRightMargin(), SwEditWin::ChangeFly(), SwFlyFreeFrame::CheckClip(), SwLayHelper::CheckFlyCache_(), SwViewShell::CheckInvalidForPaint(), SwLayoutFrame::ChgLowersProp(), SwAccessibleTableData_Impl::CollectData(), SwLineRects::ConnectEdges(), SwTextMargin::CtorInitTextMargin(), SwTextPaintInfo::DrawCheckBox(), DrawFillAttributes(), DrawGraphic(), SwTextPainter::DrawTextLine(), SwView::ExecTabWin(), SwTextFrame::FillCursorPos(), SwViewShell::FillPrtDoc(), SwShellTableCursor::FillRects(), 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(), SwTextCursor::GetCharRect_(), SwCursorShell::GetContentAtPos(), SwLayoutFrame::GetContentPos(), SwFlyFrame::GetContour(), SwFEShell::GetCurMouseTabColNum(), SwAccessibleParagraph::GetCurrentTabStop(), SwPageFrame::GetCursorOfst(), SwTextFrame::GetCursorOfst_(), SwTextFrame::GetDropRect_(), SwTextCursor::GetEndCharRect(), SwTextFrame::GetFootnoteLine(), SwFrameAreaDefinition::getFrameAreaTransformation(), SwFrameAreaDefinition::getFramePrintAreaTransformation(), SwPageFrame::GetHorizontalShadowRect(), SwCallLink::getLayoutFrame(), GetLeftMargin(), SwFrame::GetLeftMargin(), SwTextFrameInfo::GetLineStart(), SwTextFormatInfo::GetLineWidth(), GetMergeSel(), SwRootFrame::GetNextPrevContentPos(), SwAnchoredObject::GetObjRectWithSpaces(), SwViewShell::GetPageNumAndSetOffsetForPDF(), SwTextFrame::GetPaintSwRect(), SwFrame::GetPrtLeft(), SwFrame::GetPrtRight(), SwAnchoredObject::GetRelCharX(), SwFrame::GetRightMargin(), SwAccessibleTableData_Impl::GetRowColumnAndExtent(), SwAccessibleTableData_Impl::GetSelection(), SwDoc::GetTabBorders(), SwDoc::GetTabRows(), SwFEShell::GetTabRows_(), SwPostItMgr::GetTopScrollRect(), TransformableSwFrame::getUntransformedFramePrintArea(), SwCursorShell::GotoFlyAnchor(), SwFEShell::ImpEndCreate(), IMPL_LINK(), objectpositioning::SwAnchoredObjectPosition::ImplAdjustHoriRelPos(), objectpositioning::SwAnchoredObjectPosition::ImplAdjustVertRelPos(), SwRootFrame::ImplCalcBrowseWidth(), SwFEShell::InsertDrawObj(), SwMailMergeLayoutPage::InsertGreeting(), Intersection(), Intersection_(), SwAccessibleContext::InvalidateChildPosOrSize(), SwTextFly::IsAnyObj(), SwRootFrame::IsBetweenPages(), SwViewShellImp::IsDragPossible(), IsFrameBehind(), IsFrameInTableSel(), SwPostItMgr::IsHit(), IsInside(), IsOver(), SwLayAction::IsShortCut(), SwPostItMgr::LayoutPostIts(), lcl_AdjustPositioningAttr(), lcl_CalcDownDist(), lcl_correctlyAlignRect(), lcl_CreateRectangleDelimiterPrimitives(), lcl_dbg_out(), lcl_DrawDashedRect(), lcl_DrawGraphic(), lcl_DrawSpecial(), lcl_FindCntDiff(), lcl_FindFrame(), lcl_PaintShadow(), lcl_ShrinkFly(), lcl_UpDown(), ww8::CellInfo::left(), SwFillData::Left(), SwPageFrame::MakeAll(), SwFlyInContentFrame::MakeAll(), SwFlyFrameFormat::MakeGraphic(), SwAnchoredDrawObject::MakeObjPos(), SwLineRect::MakeUnion(), SwFEShell::MoveAnchor(), SwCursorShell::MoveCursorToNum(), SwVirtFlyDrawObj::NbcMove(), SwTextFormatter::NewTabPortion(), Notify(), Notify_Background(), SwLayoutFrame::NotifyLowerObjs(), SwRegionRects::operator-=(), SwPageFrame::PaintBorderAndShadow(), PaintCharacterBorder(), SwPageFrame::PaintDecorators(), SwViewShell::PaintDesktop(), SwPageFrame::PaintGrid(), SwLineRects::PaintLines(), SwTabFramePainter::PaintLines(), SwPageFrame::PaintNotesSidebar(), SwNoTextFrame::PaintPicture(), SwViewOption::PaintPostIts(), SwSubsRects::PaintSubsidiary(), SwLayoutFrame::PaintSubsidiaryLines(), SwLayoutFrame::PaintSwFrame(), SwFrame::PaintSwFrameShadowAndBorder(), ww8::WW8TableInfo::processSwTableByLayout(), SwView::ReadUserDataSequence(), SwImplProtocol::Record_(), SwCursorShell::RefreshBlockCursor(), SwSubsRects::RemoveSuperfluousSubsidiaryLines(), SwFEShell::RequestObjectResize(), SwPostItMgr::ScrollbarHit(), SwFlyAtContentFrame::SetAbsPos(), SwFlyCntPortion::SetBase(), SwFEShell::SetFlyPos(), SwFrame::SetLeftRightMargins(), SwFrame::SetMaxRight(), SwFrame::SetMinLeft(), SwAnchoredDrawObject::SetObjLeft_(), SwVisibleCursor::SetPosAndShow(), SwAnchoredDrawObject::SetPositioningAttr(), SwFrame::SetRightLeftMargins(), SwDoc::SetTabBorders(), SwViewShell::SmoothScroll(), SwView::StateTabWin(), SwAlignRect(), SwArrowPortion::SwArrowPortion(), SwExtraPainter::SwExtraPainter(), SwTextFrame::SwitchHorizontalToVertical(), SwTextFrame::SwitchLTRtoRTL(), SwTextFrame::SwitchVerticalToHorizontal(), SwShortCut::SwShortCut(), Union(), SwFlyFrame::UpdateAttr_(), SwCursorShell::UpdateCursor(), SwCursor::UpDown(), SwFlyFrameAttrMgr::ValidateMetrics(), SwViewShell::VisPortChgd(), SwTextFrame::WouldFit(), SwLayoutCache::Write(), WriteSwRect(), SwView::WriteUserData(), and SwView::WriteUserDataSequence().

long SwRect::Left ( ) const
inline

Definition at line 237 of file swrect.hxx.

References m_Point, and Point::X().

Referenced by Center(), Intersection(), Intersection_(), IsInside(), IsNear(), IsOver(), SwLineRect::MakeUnion(), and Union().

void SwRect::Left_ ( const long  nLeft)
long SwRect::Left_ ( ) const

Definition at line 160 of file swrect.cxx.

References Point::getX(), and m_Point.

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

Definition at line 265 of file swrect.hxx.

References m_Point, and m_Size.

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

Definition at line 270 of file swrect.hxx.

References m_Point.

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

Definition at line 275 of file swrect.hxx.

References m_Point.

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

Definition at line 255 of file swrect.hxx.

References m_Point, and m_Size.

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

Definition at line 261 of file swrect.hxx.

References m_Point, and m_Size.

bool SwRect::OverStepBottom ( long  nLimit) const

Definition at line 190 of file swrect.cxx.

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

bool SwRect::OverStepLeft ( long  nLimit) const

Definition at line 188 of file swrect.cxx.

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

bool SwRect::OverStepRight ( long  nLimit) const

Definition at line 194 of file swrect.cxx.

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

bool SwRect::OverStepTop ( long  nLimit) const

Definition at line 192 of file swrect.cxx.

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

void SwRect::Pos ( const Point rNew)
inline

Definition at line 167 of file swrect.hxx.

References m_Point.

Referenced by SwDrawView::AddCustomHdl(), SwAnchoredObject::AddLastCharY(), SwFrame::AdjustNeighbourhood(), SwWrtShell::CalcAndSetScale(), SwFEShell::CalcBoundRect(), CalcClipRect(), SwTextFrame::CalcFitToContent(), SwTextAdjuster::CalcFlyPortion(), SwRootFrame::CalcFrameRects(), DropDownFormFieldButton::CalcPosAndSize(), SwTextFrame::CalcPreps(), SwPagePreviewLayout::CalcPreviewDataForPage(), SwHTMLParser::CallEndAction(), SwEditWin::ChangeFly(), SwFlyFreeFrame::CheckClip(), SwLayHelper::CheckFlyCache_(), SwLayHelper::CheckInsert(), SwVirtFlyDrawObj::CheckMacroHit(), SwRootFrame::CheckViewLayout(), SwOszControl::ChkOsz(), SwHyphIter::Continue(), SwFEShell::Copy(), SwFEShell::CopyDrawSel(), SwTextIter::CtorInitTextIter(), DrawGraphic(), SwTextPaintInfo::DrawRedArrow(), SwLayVout::Enter(), SwView::ExecTabWin(), SwTextFrame::FillCursorPos(), SwFEShell::FindAnchorPos(), SwFrameFormat::FindLayoutRect(), SwLayVout::Flush_(), SwBodyFrame::Format(), SwCellFrame::Format(), SwFlyFrame::Format(), SwLayAction::FormatLayout(), SwTextFrame::FormatQuick(), SwHeadFootFrame::FormatSize(), SwFEShell::GetAnchorObjDiff(), SwTextFrame::GetAutoPos(), SwFrame::GetBackgroundBrush(), SwFEShell::GetBestObject(), GetBodyTextNode(), SwAccessibleTableData_Impl::GetCellAtPos(), SwNoTextFrame::GetCharRect(), SwTextCursor::GetCharRect(), SwTextFrame::GetCharRect(), SwTextCursor::GetCharRect_(), SwCursorShell::GetContentAtPos(), SwLayoutFrame::GetContentPos(), SwPageFrame::GetContentPosition(), SwTextCursor::GetEndCharRect(), SwFrame::GetFrameAnchorPos(), SwNoTextFrame::GetGrfArea(), SwFrameFormat::GetIMapObject(), SwAccessibleParagraph::getIndexAtPoint(), SwVirtFlyDrawObj::getInnerBound(), SwPostItHelper::getLayoutInfos(), SwRootFrame::GetNextPrevContentPos(), SwVirtFlyDrawObj::getOuterBound(), SwRootFrame::GetPageAtPos(), SwViewShell::GetPageNumAndSetOffsetForPDF(), SwRootFrame::GetPagePos(), SwTextFrame::GetPaintSwRect(), SwXTextDocument::getPostIts(), SwFrame::GetRelPos(), SwAnchoredObject::GetRelPosToAnchorFrame(), SwAnchoredObject::GetRelPosToChar(), SwAnchoredObject::GetRelPosToLine(), SwAnchoredObject::GetRelPosToPageFrame(), SwTextFly::GetTop(), SwFEShell::GotoFly(), SwCursorShell::GotoFooterText(), SwCursorShell::GotoHeaderText(), SwFEShell::GotoObj(), SwFootnoteContFrame::GrowFrame(), SwLayoutFrame::GrowFrame(), SwContentFrame::GrowFrame(), IMPL_LINK(), IMPL_LINK_NOARG(), SwTextFly::InitAnchoredObjList(), InsertGridFrame(), SwWrtShell::InsertObject(), SwBaseShell::InsertURLButton(), Is_Lower_Of(), SwTextFly::IsAnyFrame(), SwTextFly::IsAnyObj(), IsFrameInSameContext(), SwFEShell::IsURLGrfAtPos(), SwPosNotify::LastObjPos(), 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(), SwContentFrame::MakePrtArea(), SwFrame::MakeRightPos(), SwFlyAtContentFrame::Modify(), SwEditWin::MouseMove(), SwLayouter::MoveBwdSuppressed(), SwCursorShell::MoveColumn(), SwContentFrame::MoveFootnoteCntFwd(), Notify(), SwDrawContact::NotifyBackgrdOfAllVirtObjs(), operator<<(), SwObjPosOscillationControl::OscillationDetected(), AttributeOutputBase::OutputFlyFrame(), WW8AttributeOutput::OutputFlyFrame_Impl(), SwColumnFrame::PaintBreak(), SwLayoutFrame::PaintColLines(), SwTextFrame::PaintEmpty(), SwPageFrame::PaintGrid(), SwFootnoteContFrame::PaintLine(), SwTabFramePainter::PaintLines(), SwNoTextFrame::PaintPicture(), SwHeadFootFrame::PaintSubsidiaryLines(), SwLayoutFrame::PaintSubsidiaryLines(), SwNoTextFrame::PaintSwFrame(), SwTabFrame::PaintSwFrame(), SwFlyFrame::PaintSwFrame(), SwFootnoteContFrame::PaintSwFrameShadowAndBorder(), SwFrame::PaintSwFrameShadowAndBorder(), SwWrtShell::PopCursor(), SwTransferable::PrivateDrop(), SwTransferable::PrivatePaste(), SwPageFrame::PrtWithoutHeaderAndFooter(), SwWrtShell::PushCursor(), SwImplProtocol::Record_(), SwPagePreviewWin::RepaintCoreRect(), SwDPage::RequestHelp(), SwFEShell::RequestObjectResize(), SwFEShell::SelectObj(), SwFEShell::SelFlyGrabCursor(), SwFEShell::SetChainMarker(), SwRootFrame::SetCurrPage(), SwFEShell::SetFlyFrameAttr(), SwFEShell::SetFlyPos(), SwFEShell::SetFrameFormat(), SwFlyFrame::SetObjLeft_(), SwFlyFrame::SetObjTop_(), SwVisibleCursor::SetPosAndShow(), SetSwVisArea(), SwContentFrame::ShouldBwdMoved(), SwTabFrame::ShouldBwdMoved(), SwRowFrame::ShrinkFrame(), SwLayoutFrame::ShrinkFrame(), SwContentFrame::ShrinkFrame(), SwViewShell::SmoothScroll(), QuickHelpData::Start(), SwView::StateTabWin(), sw_ChkAndSetNewAnchor(), SwAlignGrfRect(), SwTextFrame::SwapWidthAndHeight(), SwFlyFrame::SwFlyFrame(), SwTestFormat::SwTestFormat(), SwFrameAreaDefinition::transform_translate(), SwCursor::UpDown(), SwFlyFrameAttrMgr::ValidateMetrics(), SwViewShell::VisPortChgd(), and SwFlyNotify::~SwFlyNotify().

void SwRect::Pos ( const long  nNewX,
const long  nNewY 
)
inline

Definition at line 171 of file swrect.hxx.

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

const Point & SwRect::Pos ( ) const
inline

Definition at line 213 of file swrect.hxx.

References m_Point.

Referenced by TopLeft().

Point & SwRect::Pos ( )
inline

Definition at line 217 of file swrect.hxx.

References m_Point.

void SwRect::Right ( const long  nRight)
inline

Definition at line 198 of file swrect.hxx.

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

Referenced by objectpositioning::SwAnchoredObjectPosition::AdjustHoriRelPosForDrawAside(), SwAccPreviewData::AdjustLogicPgRectToVisibleArea(), SwAnchoredDrawObject::AdjustPositioningAttr(), SwTextFly::AnchoredObjToRect(), SwFEShell::CalcBoundRect(), SwTextFormatter::CalcFlyWidth(), SwTextFrame::CalcFollow(), SwRootFrame::CalcFrameRects(), SwTextPaintInfo::CalcRect(), SwEditWin::ChangeFly(), SwViewShell::CheckInvalidForPaint(), ChkChartSel(), SwLineRects::ConnectEdges(), SwTextPaintInfo::DrawCheckBox(), DrawFillAttributes(), DrawGraphic(), SwTextPainter::DrawTextLine(), SwView::ExecTabWin(), SwTextFrame::FillCursorPos(), SwShellTableCursor::FillRects(), SwLayAction::FormatLayout(), SwAccessibleTable::getAccessibleColumnExtentAt(), SwPageFrame::GetBorderAndShadowBoundRect(), SwPostItMgr::GetBottomScrollRect(), SwTextCursor::GetCharRect(), SwCursorShell::GetContentAtPos(), SwLayoutFrame::GetContentPos(), SwPageFrame::GetCursorOfst(), SwRootFrame::GetCursorOfst(), SwPageFrame::GetHorizontalShadowRect(), SwAccessibleParagraph::getIndexAtPoint(), GetMergeSel(), SwTextFrame::GetPaintSwRect(), SwAccessibleTableData_Impl::GetRowColumnAndExtent(), SwAccessibleTableData_Impl::GetSelection(), SwDoc::GetTabBorders(), SwPostItMgr::GetTopScrollRect(), SwCursorShell::GotoFlyAnchor(), IMPL_LINK(), objectpositioning::SwAnchoredObjectPosition::ImplAdjustHoriRelPos(), objectpositioning::SwAnchoredObjectPosition::ImplAdjustVertRelPos(), SwRootFrame::ImplCalcBrowseWidth(), Intersection(), Intersection_(), SwSelPaintRects::Invalidate(), SwTextFly::IsAnyObj(), SwRootFrame::IsBetweenPages(), SwViewShellImp::IsDragPossible(), IsFrameInTableSel(), SwPostItMgr::IsHit(), IsInside(), IsOver(), SwLayAction::IsShortCut(), SwPostItMgr::LayoutPostIts(), lcl_AdjustPositioningAttr(), lcl_CalcDownDist(), lcl_correctlyAlignRect(), lcl_CreateRectangleDelimiterPrimitives(), lcl_dbg_out(), lcl_FindFrame(), lcl_PaintShadow(), lcl_ShrinkFly(), SwAnchoredDrawObject::MakeObjPos(), SwLineRect::MakeUnion(), SwTextFormatter::NewTabPortion(), Notify(), Notify_Background(), SwPageFrame::PaintBorderAndShadow(), SwPageFrame::PaintDecorators(), SwViewShell::PaintDesktop(), SwLineRects::PaintLines(), SwPageFrame::PaintNotesSidebar(), SwNoTextFrame::PaintPicture(), SwViewOption::PaintPostIts(), SwSubsRects::PaintSubsidiary(), SwLayoutFrame::PaintSubsidiaryLines(), SwLayoutFrame::PaintSwFrame(), ww8::WW8TableInfo::processSwTableByLayout(), SwSubsRects::RemoveSuperfluousSubsidiaryLines(), ww8::CellInfo::right(), SwFillData::Right(), SwPostItMgr::ScrollbarHit(), SwFlyAtContentFrame::SetAbsPos(), SwFEShell::SetChainMarker(), SwDoc::SetTabBorders(), SwContentFrame::ShrinkFrame(), SwViewShell::SmoothScroll(), SwView::StateTabWin(), SwAlignRect(), SwArrowPortion::SwArrowPortion(), SwExtraPainter::SwExtraPainter(), SwTextFrame::SwitchLTRtoRTL(), SwShortCut::SwShortCut(), Union(), and SwFlyFrameAttrMgr::ValidateMetrics().

long SwRect::Right ( ) const
inline
void SwRect::Right_ ( const long  nRight)

Definition at line 154 of file swrect.cxx.

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

Referenced by SwTabFramePainter::Insert(), and SwTabFramePainter::PaintLines().

long SwRect::Right_ ( ) const

Definition at line 161 of file swrect.cxx.

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

void SwRect::SetBottomAndHeight ( long  nBottom,
long  nNew 
)

Definition at line 212 of file swrect.cxx.

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

void SwRect::SetLeftAndWidth ( long  nLeft,
long  nNew 
)

Definition at line 197 of file swrect.cxx.

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

void SwRect::SetLowerLeftCorner ( const Point rNew)

Definition at line 221 of file swrect.cxx.

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

void SwRect::SetPosX ( const long  nNew)

Definition at line 171 of file swrect.cxx.

References m_Point, and Point::setX().

void SwRect::SetPosY ( const long  nNew)

Definition at line 172 of file swrect.cxx.

References m_Point, and Point::setY().

void SwRect::SetRightAndWidth ( long  nRight,
long  nNew 
)

Definition at line 207 of file swrect.cxx.

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

void SwRect::SetTopAndHeight ( long  nTop,
long  nNew 
)

Definition at line 202 of file swrect.cxx.

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

void SwRect::SetUpperLeftCorner ( const Point rNew)

Definition at line 217 of file swrect.cxx.

References m_Point.

void SwRect::SetUpperRightCorner ( const Point rNew)

Definition at line 219 of file swrect.cxx.

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

const Size SwRect::Size_ ( ) const

Definition at line 174 of file swrect.cxx.

References SSize().

void SwRect::SSize ( const Size rNew)
inline

Definition at line 176 of file swrect.hxx.

References m_Size.

Referenced by SwTextFrame::AdjustFrame(), objectpositioning::SwAnchoredObjectPosition::AdjustHoriRelPosForDrawAside(), SwFrame::AdjustNeighbourhood(), AdjustSizeChgNotify(), SwWrtShell::CalcAndSetScale(), SwFEShell::CalcBoundRect(), CalcClipRect(), DropDownFormFieldButton::CalcPosAndSize(), SwTextFrame::CalcPreps(), SwPagePreviewLayout::CalcPreviewDataForPage(), SwPagePreviewLayout::CalcPreviewLayoutSizes(), SwVirtFlyDrawObj::CheckMacroHit(), SwRootFrame::CheckViewLayout(), SwLayoutFrame::ChgLowersProp(), SwFlyFrame::ChgSize(), SwRootFrame::ChgSize(), SwFrame::ChgSize(), DrawGraphic(), SwTextFrame::EmptyHeight(), FindPage(), SwLayVout::Flush_(), SwTextFrame::FormatAdjust(), SwLayAction::FormatLayoutTab(), SwTextFrame::FormatQuick(), ExtraFormatToPositionObjs::FormatSectionToPositionObjs(), SwHeadFootFrame::FormatSize(), SwFrame::GetBackgroundBrush(), SwAccessibleContext::getBoundsImpl(), SwNoTextFrame::GetCharRect(), SwTextCursor::GetCharRect_(), SwLayoutFrame::GetContentPos(), SwPageFrame::GetContentPosition(), SwViewShell::GetDocSize(), SwTextCursor::GetEndCharRect(), SwFEShell::GetGraphicDefaultSize(), SwNoTextFrame::GetGrfArea(), SwFrameFormat::GetIMapObject(), SwVirtFlyDrawObj::getInnerBound(), SwAnchoredObject::GetObjRectWithSpaces(), SwOLEObj::GetOleRef(), SwVirtFlyDrawObj::getOuterBound(), SwRootFrame::GetPageAtPos(), SwViewShell::GetPageSize(), SwTextFrame::GetParHeight(), SwXTextDocument::getPostIts(), SwNoTextFrame::GetSize(), SwCursorShell::GotoFlyAnchor(), SwFootnoteContFrame::GrowFrame(), SwRootFrame::GrowFrame(), IMPL_LINK(), SwViewShellImp::Init(), sw::DocumentDrawModelManager::InitDrawModel(), SwTextFly::IsAnyFrame(), SwTextFly::IsAnyObj(), lcl_FrameRect(), lcl_PaintReplacement(), SwPageFrame::MakeAll(), SwRootFrame::MakeAll(), SwFlyFrameFormat::MakeGraphic(), SwCursorShell::MakeSelVisible(), SwVirtFlyDrawObj::NbcResize(), Notify(), operator<<(), SwViewShell::PaintDesktop(), SwNoTextFrame::PaintPicture(), SwSubsRects::PaintSubsidiary(), SwNoTextFrame::PaintSwFrame(), SwRootFrame::PaintSwFrame(), SwViewShell::PrintProspect(), SwPagePreviewWin::RepaintCoreRect(), SwFEShell::RequestObjectResize(), SwFlyCntPortion::SetBase(), SwViewShellImp::SetFirstVisPage(), SwVisibleCursor::SetPosAndShow(), SwRootFrame::ShrinkFrame(), SwViewShell::SmoothScroll(), SwAlignGrfRect(), SwPageFrame::SwPageFrame(), SwFlyFrame::UpdateAttr_(), SwFlyFrameAttrMgr::ValidateMetrics(), SwViewShell::VisPortChgd(), SwTextFrame::WouldFit(), SwContentNotify::~SwContentNotify(), SwFlyNotify::~SwFlyNotify(), and SwLayNotify::~SwLayNotify().

void SwRect::SSize ( const long  nHeight,
const long  nWidth 
)
inline

Definition at line 180 of file swrect.hxx.

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

const Size & SwRect::SSize ( ) const
inline

Definition at line 221 of file swrect.hxx.

References m_Size.

Referenced by Intersection(), and Size_().

Size & SwRect::SSize ( )
inline

Definition at line 225 of file swrect.hxx.

References m_Size.

void SwRect::SubLeft ( const long  nSub)

Definition at line 167 of file swrect.cxx.

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

Referenced by SwRootFrame::CheckViewLayout().

void SwRect::SubTop ( const long  nSub)

Definition at line 169 of file swrect.cxx.

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

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

Definition at line 282 of file swrect.hxx.

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

Referenced by SwWrtShell::CalcAndSetScale(), objectpositioning::SwAsCharAnchoredObjectPosition::CalcPosition(), SwDoc::ChgAnchor(), SwSaveClip::ChgClip_(), SwDrawContact::DisconnectFromLayout(), SwTextPaintInfo::DrawBackBrush(), SwTextPaintInfo::DrawCheckBox(), DrawGraphic(), SwTextPaintInfo::DrawPostIts(), SwTextPaintInfo::DrawRect(), SwViewOption::DrawRect(), SwViewOption::DrawRectPrinter(), SwEnhancedPDFExportHelper::EnhancedPDFExport(), SwView::ExecSmartTagPopup(), SwView::ExecSpellPopup(), SwAccessibleContext::getAccessibleAtPoint(), SwPageFrame::GetBorderAndShadowBoundRect(), SwAccessibleContext::getBoundsImpl(), SwAccessibleParagraph::getCharacterBounds(), SwFlyFrame::GetContour(), SwAccessibleParagraph::GetCurrentTabStop(), SwPageFrame::GetHorizontalShadowRect(), SwAccessibleParagraph::getIndexAtPoint(), SwAccessibleParagraph::getNumberOfLineWithCaret(), SwAnchoredDrawObject::GetObjBoundRect(), SwDocShell::GetVisArea(), SwFEShell::ImpEndCreate(), SwViewShellImp::Init(), SwTransferable::InitOle(), InsertGridFrame(), SwViewShell::InvalidateWindows(), IsScrollMDI(), lcl_AdjustPositioningAttr(), lcl_AdjustRectToPixelSize(), lcl_correctlyAlignRect(), lcl_DrawGraphic(), lcl_implDrawGraphicBackgrd(), lcl_MoveAllLowerObjs(), lcl_PaintShadow(), lcl_PaintTransparentFormControls(), SwEnhancedPDFExportHelper::MakeHeaderFooterLinks(), SwPagePreviewLayout::MarkNewSelectedPage(), SwNoTextFrame::Modify(), SwVirtFlyDrawObj::NbcCrop(), SwVirtFlyDrawObj::NbcMove(), SwHiddenTextPortion::Paint(), SwViewShell::Paint(), SwPagePreviewLayout::Paint(), SwPageFrame::PaintBorderAndShadow(), SwViewShellImp::PaintLayer(), SwPageFrame::PaintMarginArea(), SwPageFrame::PaintNotesSidebar(), SwPagePreviewLayout::PaintSelectMarkAtPage(), SwNoTextFrame::PaintSwFrame(), SwRootFrame::PaintSwFrame(), SwFrame::PaintSwFrameBackground(), SwViewShell::PrtOle2(), SwPaintQueue::Repaint(), SwEditWin::RequestHelp(), ScrollMDI(), SwFEShell::SelectObj(), SwTaggedPDFHelper::SetAttributes(), SwFEShell::SetObjRect(), SwVirtFlyDrawObj::SetRect(), SwSelPaintRects::Show(), SwViewShell::SmoothScroll(), SwAlignGrfRect(), SwAlignRect(), SwDrawContact::SwClientNotify(), SwInsertChart(), SwDrawView::TakeDragLimit(), SwEditWin::UpdatePointer(), SwPageBreakWin::UpdatePosition(), and SwViewShell::VisPortChgd().

const Size SwRect::SwappedSize ( ) const

Definition at line 175 of file swrect.cxx.

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

void SwRect::Top ( const long  nTop)
inline

Definition at line 202 of file swrect.hxx.

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

Referenced by ww8::WW8TableCellGrid::addShadowCells(), SwTextFrame::AdjustFrame(), objectpositioning::SwAnchoredObjectPosition::AdjustHoriRelPosForDrawAside(), SwAccPreviewData::AdjustLogicPgRectToVisibleArea(), SwFrame::AdjustNeighbourhood(), SwAnchoredDrawObject::AdjustPositioningAttr(), SwTextFormatter::CalcBottomLine(), SwFEShell::CalcBoundRect(), SwFlyFrame::CalcContentHeight(), SwTextAdjuster::CalcDropRepaint(), SwTextAdjuster::CalcFlyPortion(), SwTextFormatter::CalcFlyWidth(), SwTextFrame::CalcFollow(), SwTextFrame::CalcLineSpace(), SwTextFly::CalcMinBottom(), objectpositioning::SwToLayoutAnchoredObjectPosition::CalcPosition(), objectpositioning::SwToContentAnchoredObjectPosition::CalcPosition(), objectpositioning::SwAsCharAnchoredObjectPosition::CalcPosition(), SwTextFrame::CalcPreps(), SwTextPaintInfo::CalcRect(), SwEditWin::ChangeFly(), SwFlyFreeFrame::CheckClip(), SwLayHelper::CheckFlyCache_(), SwViewShell::CheckInvalidForPaint(), SwFrame::CheckPageDescs(), SwLayoutFrame::ChgLowersProp(), SwTextFrame::ChgThisLines(), SwAccessibleTableData_Impl::CollectData(), SwLineRects::ConnectEdges(), SwTextPaintInfo::DrawCheckBox(), DrawFillAttributes(), DrawGraphic(), SwTextPainter::DrawTextLine(), SwView::ExecTabWin(), SwTextFrame::FillCursorPos(), SwContentType::FillMemberList(), SwViewShell::FillPrtDoc(), SwShellTableCursor::FillRects(), SwRootFrame::FillSelection(), SwNode::FindOutlineNodeOfLevel(), SwRowFrame::Format(), SwTextFrame::Format_(), SwTextFrame::FormatAdjust(), SwLayAction::FormatContent(), SwLayAction::FormatLayout(), SwLayAction::FormatLayoutFly(), SwTextFrame::FormatLine(), SwHeadFootFrame::FormatPrt(), SwHeadFootFrame::FormatSize(), SwAccessibleTable::getAccessibleRow(), SwAccessibleTable::getAccessibleRowExtentAt(), SwPageFrame::GetBorderAndShadowBoundRect(), SwFrame::GetBottomMargin(), sw::access::SwAccessibleChild::GetBounds(), sw::access::SwAccessibleChild::GetBox(), SwTextCursor::GetCharRect(), SwTextFrame::GetCharRect(), SwTextCursor::GetCharRect_(), SwCursorShell::GetContentAtPos(), SwPageFrame::GetContentHeight(), SwLayoutFrame::GetContentPos(), SwFlyFrame::GetContour(), SwPageFrame::GetCursorOfst(), SwTextFrame::GetCursorOfst_(), SwTextFrame::GetDropRect_(), SwFrameAreaDefinition::getFrameAreaTransformation(), SwFrameAreaDefinition::getFramePrintAreaTransformation(), SwTextFormatter::GetFrameRstHeight(), GetMergeSel(), SwRootFrame::GetNextPrevContentPos(), SwCursorShell::GetNextPrevPageNum(), SwFrame::GetNextSctLeaf(), SwAnchoredObject::GetObjRectWithSpaces(), SwFEShell::GetPageNumber(), SwFrame::GetPrtBottom(), SwFrame::GetPrtTop(), SwAnchoredObject::GetRelCharY(), SwAccessibleTableData_Impl::GetRowColumnAndExtent(), ww8::WW8TableCellGrid::getRowSpansOfRow(), SwAccessibleTableData_Impl::GetSelection(), SwDoc::GetTabBorders(), ww8::WW8TableCellGrid::getTableBoxesOfRow(), SwDoc::GetTabRows(), SwFEShell::GetTabRows_(), SwFrame::GetTopMargin(), SwPostItMgr::GetTopScrollRect(), TransformableSwFrame::getUntransformedFramePrintArea(), ww8::WW8TableCellGrid::getWidthsOfRow(), SwCursorShell::GotoFlyAnchor(), SwHeadFootFrame::GrowFrame(), SwFEShell::ImpEndCreate(), IMPL_LINK(), IMPL_LINK_NOARG(), objectpositioning::SwAnchoredObjectPosition::ImplAdjustHoriRelPos(), objectpositioning::SwAnchoredObjectPosition::ImplAdjustVertRelPos(), SwContentType::Init(), SwRootFrame::Init(), ww8::WW8TableCellGrid::insert(), SwFEShell::InsertDrawObj(), SwMailMergeLayoutPage::InsertGreeting(), SwFrame::InsertPage(), SwLayAction::InternalAction(), Intersection(), Intersection_(), SwAccessibleContext::InvalidateChildPosOrSize(), SwRootFrame::IsBetweenPages(), SwViewShellImp::IsDragPossible(), IsFrameBehind(), IsFrameInTableSel(), SwPostItMgr::IsHit(), IsInside(), IsOver(), SwPageFrame::IsOverHeaderFooterArea(), SwLayAction::IsShortCut(), SwFlyFrame::IsShowUnfloatButton(), lcl_AdjustPositioningAttr(), lcl_ArrangeLowers(), lcl_CalcDownDist(), lcl_CheckObjects(), lcl_correctlyAlignRect(), lcl_CreateRectangleDelimiterPrimitives(), lcl_dbg_out(), lcl_DrawDashedRect(), lcl_DrawGraphic(), lcl_DrawSpecial(), lcl_FindCnt(), lcl_FindCntDiff(), lcl_FindFirstInvaContent(), lcl_FindFirstInvaObj(), lcl_FindFrame(), lcl_Inside(), lcl_IsInvaLay(), lcl_NotifyNeighbours(), lcl_PaintShadow(), lcl_ShrinkFly(), SwPageFrame::MakeAll(), SwFlyFrameFormat::MakeGraphic(), SwFrame::MakePos(), SwCursorShell::MakeSelVisible(), SwLineRect::MakeUnion(), SwFEShell::MoveAnchor(), SwCursorShell::MoveCursorToNum(), SwTextFormatter::NewTabPortion(), Notify(), Notify_Background(), SwRegionRects::operator-=(), PaintCharacterBorder(), SwViewShell::PaintDesktop(), SwTextFrame::PaintExtraData(), SwPageFrame::PaintGrid(), SwLineRects::PaintLines(), SwTabFramePainter::PaintLines(), SwPageFrame::PaintNotesSidebar(), SwNoTextFrame::PaintPicture(), SwViewOption::PaintPostIts(), SwSubsRects::PaintSubsidiary(), SwLayoutFrame::PaintSubsidiaryLines(), SwLayoutFrame::PaintSwFrame(), SwTextFrame::PaintSwFrame(), SwFrame::PaintSwFrameBackground(), SwFrame::PaintSwFrameShadowAndBorder(), SwContentFrame::Paste(), SwTextFrame::Prepare(), ww8::WW8TableInfo::processSwTableByLayout(), SwPageFrame::PrtWithoutHeaderAndFooter(), SwWrtShell::PushCursor(), SwView::ReadUserDataSequence(), SwImplProtocol::Record_(), SwCursorShell::RefreshBlockCursor(), SwLayoutFrame::RefreshExtraData(), SwPageFrame::RefreshExtraData(), SwRootFrame::RemoveSuperfluous(), SwSubsRects::RemoveSuperfluousSubsidiaryLines(), SwFEShell::RequestObjectResize(), SwPostItMgr::ScrollbarHit(), SwFlyAtContentFrame::SetAbsPos(), SwFlyCntPortion::SetBase(), SwViewShellImp::SetFirstVisPage(), SwFEShell::SetFlyPos(), SwFrame::SetMaxBottom(), SwAnchoredDrawObject::SetObjTop_(), SwAnchoredDrawObject::SetPositioningAttr(), SwDoc::SetTabBorders(), SwFrame::SetTopBottomMargins(), SwView::SetZoom_(), SwHeadFootFrame::ShrinkFrame(), SwViewShell::SmoothScroll(), SwView::StateTabWin(), SwAlignRect(), SwArrowPortion::SwArrowPortion(), SwTextFrame::SwClientNotify(), SwTextFrame::SwitchHorizontalToVertical(), SwTextFrame::SwitchVerticalToHorizontal(), SwShortCut::SwShortCut(), ww8::CellInfo::top(), SwLayAction::TurboAction_(), Union(), SwTextFrame::UnitDown_(), SwContentFrame::UpdateAttr_(), SwFlyFrame::UpdateAttr_(), SwTabFrame::UpdateAttr_(), SwCursorShell::UpdateCursor(), SwPageBreakWin::UpdatePosition(), SwCursor::UpDown(), SwFlyFrameAttrMgr::ValidateMetrics(), SwViewShell::VisPortChgd(), SwLayoutCache::Write(), WriteSwRect(), SwView::WriteUserData(), and SwView::WriteUserDataSequence().

long SwRect::Top ( ) const
inline

Definition at line 245 of file swrect.hxx.

References m_Point, and Point::Y().

Referenced by Center(), Intersection(), Intersection_(), IsInside(), IsNear(), IsOver(), SwLineRect::MakeUnion(), and Union().

void SwRect::Top_ ( const long  nTop)

Definition at line 155 of file swrect.cxx.

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

Referenced by SwTabFramePainter::Insert().

long SwRect::Top_ ( ) const

Definition at line 162 of file swrect.cxx.

References Point::getY(), and m_Point.

const Point SwRect::TopLeft ( ) const
const Point SwRect::TopRight ( ) const
SwRect & SwRect::Union ( const SwRect rRect)
void SwRect::Width ( long  nNew)
inline

Definition at line 185 of file swrect.hxx.

References m_Size, and Size::setWidth().

Referenced by Add(), SwLineRects::AddLineRect(), SwTextFrame::AdjustFrame(), objectpositioning::SwAnchoredObjectPosition::AdjustHoriRelPosForDrawAside(), SwFrame::AdjustNeighbourhood(), SwTextFly::AnchoredObjToRect(), SwAutoFormat::BuildEnum(), SwTextFormatter::BuildMultiPortion(), SwWrtShell::CalcAndSetScale(), CalcArea(), SwContourCache::CalcBoundRect(), SwFEShell::CalcBoundRect(), CalcClipRect(), CalcContent(), SwTextFrame::CalcFitToContent(), SwTextAdjuster::CalcFlyPortion(), SwTextFrame::CalcFollow(), SwRootFrame::CalcFrameRects(), objectpositioning::SwToLayoutAnchoredObjectPosition::CalcPosition(), objectpositioning::SwToContentAnchoredObjectPosition::CalcPosition(), objectpositioning::SwAsCharAnchoredObjectPosition::CalcPosition(), SwTextFrame::CalcPreps(), SwLayoutFrame::CalcRel(), SwFlyFrame::CalcRel(), SwEditWin::ChangeFly(), SwFlyFreeFrame::CheckClip(), SwSectionFrame::CheckClipping(), SwLayHelper::CheckFlyCache_(), SwRootFrame::CheckViewLayout(), SwLayoutFrame::ChgLowersProp(), SwFlyFrame::ChgSize(), SwLineRects::ConnectEdges(), SwTextShell::CreateInsertFrameItemSet(), SwTextMargin::CtorInitTextMargin(), SwAutoFormat::DoTable(), DrawGraphic(), SwTextPaintInfo::DrawRedArrow(), SwTextShell::ExecIdx(), SwView::ExecTabWin(), SwFrameShell::Execute(), SwGrfShell::Execute(), SwTableShell::Execute(), SwXMLExport::ExportTableAutoStyles(), SwTextFrame::FillCursorPos(), SwTextFrame::FirstLineHeight(), SwRowFrame::Format(), SwBodyFrame::Format(), SwNoTextFrame::Format(), SwTabFrame::Format(), SwTextFrame::Format_(), SwTextFrame::FormatAdjust(), SwLayAction::FormatLayout(), SwHeadFootFrame::FormatPrt(), SwFlyFrame::FrameSizeChg(), SwTextFrame::GetAutoPos(), SwHTMLTableLayout::GetBrowseWidth(), SwViewShell::GetBrowseWidth(), SwHTMLTableLayout::GetBrowseWidthByTabFrame(), SwNoTextFrame::GetCharRect(), SwTextCursor::GetCharRect(), SwTextFrame::GetCharRect(), SwTextCursor::GetCharRect_(), SwLayoutFrame::GetContentPos(), SwFlyFrame::GetContour(), SwTextFrame::GetDropRect_(), SwFrameAreaDefinition::getFrameAreaTransformation(), SwFrameAreaDefinition::getFramePrintAreaTransformation(), SwFEShell::GetGraphicDefaultSize(), SwPageFrame::GetHorizontalShadowRect(), SwTextFormatInfo::GetLineWidth(), GetMergeSel(), SwXTextField::getPropertyValue(), SwFrame::GetPrtRight(), SwFrame::GetRightMargin(), SwFEShell::GetSectionWidth(), SwTableLine::GetTableLineHeight(), GetTableWidth(), sw::DefaultToxTabStopTokenHandler::HandleTabStopToken(), SwFEShell::ImpEndCreate(), IMPL_LINK(), IMPL_LINK_NOARG(), SwRootFrame::ImplCalcBrowseWidth(), SwFlyFrame::InsertColumns(), SwWrtShell::InsertObject(), SwWrtShell::InsertOleObject(), SwBaseShell::InsertRegionDialog(), SwTextFrameInfo::IsFilled(), SwEditShell::IsMoveLeftMargin(), lcl_CalcAutoWidth(), lcl_CalcColValues(), lcl_CalcDownDist(), lcl_CalcSubColValues(), lcl_CalcWish(), lcl_DrawDashedRect(), lcl_DrawGraphic(), lcl_DrawSpecial(), lcl_GetCharRectInsideField(), lcl_PaintShadow(), SwNoTextFrame::MakeAll(), SwPageFrame::MakeAll(), SwFlyInContentFrame::MakeAll(), SwFrame::MakeLeftPos(), MakeNxt(), SwFrame::MakePos(), SwContentFrame::MakePrtArea(), SwFrame::MakeRightPos(), MakeSelUnions(), SwLineRect::MakeUnion(), SwFEShell::MoveAnchor(), SwLayouter::MoveBwdSuppressed(), SwCursorShell::MoveColumn(), SwVirtFlyDrawObj::NbcMove(), SwVirtFlyDrawObj::NbcResize(), SwRegionRects::operator-=(), OutHTML_SwTableNode(), SwParaDlg::PageCreated(), SwPageFrame::PaintBorderAndShadow(), PaintCharacterBorder(), SwPageFrame::PaintGrid(), SwLineRects::PaintLines(), SwTabFramePainter::PaintLines(), SwNoTextFrame::PaintPicture(), SwViewOption::PaintPostIts(), SwSubsRects::PaintSubsidiary(), SwFrame::PaintSwFrameShadowAndBorder(), SwContentFrame::Paste(), SwPageFrame::Paste(), SwTabPortion::PreFormat(), SwImplProtocol::Record_(), SwSubsRects::RemoveSuperfluousSubsidiaryLines(), 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(), SwView::StateTabWin(), Sub(), SwAlignRect(), SwTextFrame::SwapWidthAndHeight(), SwColumnDlg::SwColumnDlg(), SwExtraPainter::SwExtraPainter(), SwFlyFrame::SwFlyFrame(), SwTextFrame::SwitchHorizontalToVertical(), SwTextFrame::SwitchLTRtoRTL(), SwTextFrame::SwitchVerticalToHorizontal(), SwPageFrame::SwPageFrame(), SwShortCut::SwShortCut(), SwPageFrame::UpdateAttr_(), SwFlyFrame::UpdateAttr_(), SwEditWin::UpdatePointer(), SwFlyFrameAttrMgr::ValidateMetrics(), ValidateText(), ww8::CellInfo::width(), SwTextFrame::WouldFit(), SwContentFrame::WouldFit_(), SwLayoutCache::Write(), PlcDrawObj::WritePlc(), WriteSwRect(), and SwLayNotify::~SwLayNotify().

long SwRect::Width ( ) const
inline

Definition at line 229 of file swrect.hxx.

References m_Size, and Size::Width().

Referenced by Center(), and SwLineRect::MakeUnion().

void SwRect::Width_ ( const long  nNew)

Definition at line 151 of file swrect.cxx.

References m_Size, and Size::setWidth().

long SwRect::Width_ ( ) const

Definition at line 158 of file swrect.cxx.

References Size::getWidth(), and m_Size.

Friends And Related Function Documentation

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

Definition at line 225 of file swrect.cxx.

Member Data Documentation

Point SwRect::m_Point
private
Size SwRect::m_Size
private

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