LibreOffice Module sw (master) 1
|
Of course Writer needs its own rectangles. More...
#include <swrect.hxx>
Private Attributes | |
Point | m_Point |
Size | m_Size |
Friends | |
SvStream & | WriteSwRect (SvStream &rStream, const SwRect &rRect) |
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.
|
inline |
Definition at line 317 of file swrect.hxx.
Referenced by GetIntersection(), GetUnion(), and Intersection_().
|
inlinedefault |
Definition at line 322 of file swrect.hxx.
Definition at line 327 of file swrect.hxx.
|
inline |
Definition at line 332 of file swrect.hxx.
|
explicit |
Definition at line 28 of file swrect.cxx.
References tools::Rectangle::Bottom(), tools::Rectangle::IsHeightEmpty(), tools::Rectangle::IsWidthEmpty(), Left, tools::Rectangle::Left(), m_Size, tools::Rectangle::Right(), Size::setHeight(), Size::setWidth(), Top, and tools::Rectangle::Top().
void SwRect::AddBottom | ( | const tools::Long | nAdd | ) |
Definition at line 130 of file swrect.cxx.
References Size::AdjustHeight(), and m_Size.
Referenced by SwAccPreviewData::AdjustLogicPgRectToVisibleArea(), SwTextFormatter::CalcFlyWidth(), SwTextPaintInfo::CalcRect(), SwRootFrame::CheckViewLayout(), SwPageFrame::GetBorderAndShadowBoundRect(), SwViewShell::GetFirstLastVisPageNumbers(), SwPageFrame::GetSubsidiaryLinesPolygons(), SwSelPaintRects::Invalidate(), SwTextFly::IsAnyObj(), SwViewShellImp::IsDragPossible(), lcl_correctlyAlignRect(), lcl_NotifyContent(), lcl_PaintShadow(), SwPageFrame::PaintDecorators(), SwColumnFrame::PaintSubsidiaryLines(), SwPageFrame::PrtWithoutHeaderAndFooter(), and SwAlignRect().
void SwRect::AddHeight | ( | const tools::Long | nAdd | ) |
Definition at line 124 of file swrect.cxx.
References Size::AdjustHeight(), and m_Size.
Referenced by SwTextFrame::AdjustFrame(), SwFrame::AdjustNeighbourhood(), objectpositioning::SwAsCharAnchoredObjectPosition::CalcPosition(), SwVirtFlyDrawObj::CheckMacroHit(), SwLayVout::Enter(), SwAnchoredObject::GetObjRectWithSpaces(), SwFootnoteContFrame::GrowFrame(), SwRootFrame::GrowFrame(), SwFlyFrameFormat::MakeGraphic(), SwCursorShell::MakeSelVisible(), SwRootFrame::ShrinkFrame(), and SwFlyFrame::UpdateAttr_().
void SwRect::AddLeft | ( | const tools::Long | nAdd | ) |
Definition at line 125 of file swrect.cxx.
References Size::AdjustWidth(), Point::getX(), m_Point, m_Size, and Point::setX().
Referenced by SwAccPreviewData::AdjustLogicPgRectToVisibleArea(), objectpositioning::SwAsCharAnchoredObjectPosition::CalcPosition(), SwTextPaintInfo::CalcRect(), SwTextPaintInfo::DrawLineBreak(), SwPageFrame::GetHorizontalShadowRect(), SwViewShellImp::IsDragPossible(), lcl_correctlyAlignRect(), lcl_PaintShadow(), SwTextFrame::PaintParagraphStylesHighlighting(), and SwAlignRect().
void SwRect::AddRight | ( | const tools::Long | nAdd | ) |
Definition at line 127 of file swrect.cxx.
References Size::AdjustWidth(), and m_Size.
Referenced by SwAccPreviewData::AdjustLogicPgRectToVisibleArea(), SwTextPaintInfo::CalcRect(), SwRootFrame::CheckViewLayout(), SwTextPaintInfo::DrawLineBreak(), SwPageFrame::GetHorizontalShadowRect(), SwSelPaintRects::Invalidate(), SwViewShellImp::IsDragPossible(), lcl_correctlyAlignRect(), lcl_PaintShadow(), SwTextFrame::PaintParagraphStylesHighlighting(), and SwAlignRect().
void SwRect::AddTop | ( | const tools::Long | nAdd | ) |
Definition at line 128 of file swrect.cxx.
References Size::AdjustHeight(), Point::getY(), m_Point, m_Size, and Point::setY().
Referenced by SwAccPreviewData::AdjustLogicPgRectToVisibleArea(), objectpositioning::SwAsCharAnchoredObjectPosition::CalcPosition(), SwTextPaintInfo::CalcRect(), SwPageFrame::GetBorderAndShadowBoundRect(), SwViewShell::GetFirstLastVisPageNumbers(), SwViewShellImp::IsDragPossible(), lcl_correctlyAlignRect(), lcl_PaintShadow(), SwPageFrame::PrtWithoutHeaderAndFooter(), SwOutlineContentVisibilityWin::Set(), and SwAlignRect().
void SwRect::AddWidth | ( | const tools::Long | nAdd | ) |
Definition at line 123 of file swrect.cxx.
References Size::AdjustWidth(), and m_Size.
Referenced by SwTextFrame::AdjustFrame(), objectpositioning::SwAsCharAnchoredObjectPosition::CalcPosition(), SwVirtFlyDrawObj::CheckMacroHit(), SwLayVout::Enter(), SwAnchoredObject::GetObjRectWithSpaces(), SwFlyFrameFormat::MakeGraphic(), SwCursorShell::MakeSelVisible(), SwViewShell::PaintDesktop(), SwViewShell::SmoothScroll(), and SwFlyFrame::UpdateAttr_().
|
inline |
Definition at line 249 of file swrect.hxx.
References Size::getHeight(), Point::getY(), m_Point, and m_Size.
Referenced by BottomLeft(), BottomRight(), Contains(), dumpAsXmlAttributes(), GetIntersection(), GetUnion(), Intersection(), IsNear(), Overlaps(), and Union().
|
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().
tools::Long SwRect::Bottom_ | ( | ) | const |
Definition at line 121 of file swrect.cxx.
References Size::getHeight(), Point::getY(), m_Point, and m_Size.
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().
|
inline |
Definition at line 262 of file swrect.hxx.
References Bottom(), and Left().
Referenced by SwTextPaintInfo::DrawLineBreak(), GetTableSel(), lcl_CreateColumnAreaDelimiterPrimitives(), lcl_CreatePageAreaDelimiterPolygons(), and lcl_ProjectOntoClosestTableFrame().
|
inline |
Definition at line 266 of file swrect.hxx.
References Bottom(), and Right().
Referenced by SwTextPaintInfo::DrawLineBreak(), GetTableSel(), lcl_CreateColumnAreaDelimiterPrimitives(), lcl_CreatePageAreaDelimiterPolygons(), lcl_ProjectOntoClosestTableFrame(), sw::mark::DateFieldmark::SetPortionPaintAreaEnd(), and sw::mark::DateFieldmark::ShowButton().
|
inline |
Definition at line 338 of file swrect.hxx.
References Height(), Left(), Top(), and Width().
Referenced by SwEditWin::Command(), SwEnhancedPDFExportHelper::EnhancedPDFExport(), SwView::ExecDraw(), SwFEShell::GetBestObject(), SwDrawBase::GetDefaultCenterPos(), GetFrameOfModify(), SwViewShell::GetPageNumAndSetOffsetForPDF(), SwTextShell::InsertMediaDlg(), lcl_UpDown(), SwCursorShell::MoveCursorToNum(), SwFEShell::SelTableRowCol(), SwOutlineContentVisibilityWin::Set(), SwCursorShell::UpdateCursor(), and SwCursor::UpDown().
Definition at line 166 of file swrect.hxx.
References m_Point, and m_Size.
Referenced by SwTextFrame::CalcPreps(), SwTextFrame::Format_(), SwPageFrame::GetHorizontalShadowRect(), SwTextFrame::GetPaintSwRect(), IMPL_LINK(), and SwFlyFrameAttrMgr::ValidateMetrics().
|
inline |
Definition at line 308 of file swrect.hxx.
References m_Point, m_Size, Size::setHeight(), Size::setWidth(), Point::setX(), and Point::setY().
Referenced by SwFEShell::Chainable(), SwAnchoredObject::ClearCharRectAndTopOfLine(), SwPagePreviewLayout::Paint(), SwTextFrame::PaintSwFrame(), SwViewShell::ResetInvalidRect(), and SwAccPreviewData::Update().
|
inline |
Definition at line 356 of file swrect.hxx.
References Bottom(), Left(), Right(), Top(), Point::X(), and Point::Y().
Referenced by CalcClipRect(), SwViewShell::CheckInvalidForPaint(), SwVirtFlyDrawObj::CheckMacroHit(), SwFEShell::CheckUnboundObjects(), SwDoc::ChgAnchor(), SwShellTableCursor::Contains(), DrawGraphic(), FindAnchor(), SwCursorShell::GetContentAtPos(), SwLayoutFrame::GetContentPos(), SwPageFrame::GetContentPosition(), GetFrameOfModify(), SwAccessibleParagraph::getIndexAtPoint(), SwCellFrame::GetModelPositionForViewPoint(), SwFlyFrame::GetModelPositionForViewPoint(), SwLayoutFrame::GetModelPositionForViewPoint(), SwTextCursor::GetModelPositionForViewPoint(), SwRootFrame::GetNextPrevContentPos(), SwRootFrame::GetPageAtPos(), SwFEShell::GetPageNumber(), SwFEShell::GetRelativePagePosition(), GetVirtualUpper(), SwCursorShell::GotoFlyAnchor(), SwFEShell::ImpEndCreate(), IMPL_LINK_NOARG(), SwRootFrame::IsBetweenPages(), SwViewShellImp::IsDragPossible(), IsNear(), SwPageFrame::IsOverHeaderFooterArea(), lcl_CalcDownDist(), lcl_DrawGraphic(), lcl_FindBasePos(), lcl_FindFrame(), lcl_Inside(), lcl_UpDown(), SwEditWin::MouseButtonUp(), SwEditWin::MouseMove(), SwViewShell::Paint(), SwLayoutFrame::PaintSwFrame(), SwFrame::PaintSwFrameShadowAndBorder(), SwFootnoteContFrame::PaintSwFrameShadowAndBorder(), SwWrtShell::PopCursor(), SwWrtShell::PushCursor(), SwFlyAtContentFrame::SetAbsPos(), SwCursorShell::SetCursor(), and SwFEShell::ShouldObjectBeSelected().
|
inline |
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().
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.
Definition at line 391 of file swrect.hxx.
References Bottom(), Left(), min(), Overlaps(), Right(), SwRect(), and Top().
Referenced by SwRegionRects::Compress(), and SwTextFrame::PaintSwFrame().
tools::Long SwRect::GetLeftDistance | ( | tools::Long | nLimit | ) | const |
Definition at line 137 of file swrect.cxx.
References Point::getX(), and m_Point.
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.
tools::Long SwRect::GetTopDistance | ( | tools::Long | nLimit | ) | const |
Definition at line 139 of file swrect.cxx.
References Point::getY(), and m_Point.
Definition at line 382 of file swrect.hxx.
References Bottom(), IsEmpty(), Left(), min(), Right(), SwRect(), and Top().
Referenced by SwRegionRects::Compress(), and GetMergeSel().
|
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().
|
inline |
Definition at line 233 of file swrect.hxx.
References Size::Height(), and m_Size.
Referenced by Center(), and dumpAsXmlAttributes().
|
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().
tools::Long SwRect::Height_ | ( | ) | const |
Definition at line 117 of file swrect.cxx.
References Size::getHeight(), and m_Size.
void SwRect::Height_ | ( | const tools::Long | nNew | ) |
Definition at line 110 of file swrect.cxx.
References m_Size, and Size::setHeight().
Definition at line 57 of file swrect.cxx.
References Bottom(), Left(), n, Overlaps(), Right(), SSize(), and Top().
Referenced by SwAccPreviewData::AdjustLogicPgRectToVisibleArea(), SwTextFormatter::CalcFlyWidth(), SwRootFrame::CalcFrameRects(), SwTextPaintInfo::CalcRect(), DrawGraphic(), SwTextFly::DrawTextOpaque(), SwTextFrame::FillSelection(), SwAccessibleFrame::GetBounds(), sw::access::SwAccessibleChild::GetBox(), SwDrawBase::GetDefaultCenterPos(), SwAnchoredDrawObject::IsOutsidePage(), SwDropPortion::PaintDrop(), SwPageFrame::PaintGrid(), SwRootFrame::PaintSwFrame(), SwTabFrame::PaintSwFrame(), SwFrame::PaintSwFrameBackground(), and SwFrame::Retouch().
Definition at line 81 of file swrect.cxx.
References bottom, Size::Height(), left, m_Point, m_Size, min(), right, SwRect(), top, Size::Width(), Point::X(), and Point::Y().
Referenced by SwFlyFreeFrame::CheckClip(), SwTextFormatter::ChkFlyUnderflow(), SwNoTextFrame::GetCharRect(), lcl_NotifyContent(), lcl_PaintShadow(), SwRegionRects::operator-=(), sw::FlyContentPortion::Paint(), SwFrame::PaintBorderLine(), SwPageFrame::PaintMarginArea(), SwLayoutFrame::PaintSubsidiaryLines(), SwFlyFrame::PaintSwFrame(), SwLayoutFrame::PaintSwFrame(), SwNoTextFrame::PaintSwFrame(), SwRootFrame::PaintSwFrame(), and SwFrame::PaintSwFrameBackground().
|
inline |
Definition at line 304 of file swrect.hxx.
References Size::getHeight(), Size::getWidth(), and m_Size.
Referenced by SwContentTree::BringFramesToAttention(), SwContentTree::BringTypesWithFlowFramesToAttention(), SwWrtShell::CalcAndSetScale(), SwTextFormatter::CalcFlyWidth(), SwViewShell::CheckInvalidForPaint(), SwRegionRects::Compress(), SwTextFly::DrawFlyRect(), SwAutoFormat::EnsureFormatted(), SwTextFly::ForEach(), SwTextFrame::FormatImpl(), SwLayAction::FormatLayout(), ww8::Frame::Frame(), SwAccessibleContext::getBoundsImpl(), SwAccessibleFrame::GetChildAtPixel(), SwPageFrame::GetSubsidiaryLinesPolygons(), AttributeOutputBase::GetTablePageSize(), GetUnion(), SwDocShell::GetVisArea(), sw::DefaultToxTabStopTokenHandler::HandleTabStopToken(), HasArea(), SwAccessibleContext::InvalidateChildPosOrSize(), SwTextFly::IsAnyObj(), SwAccessibleFrame::IsShowing(), SwViewShell::Paint(), SwPageFrame::PaintMarginArea(), SwFEShell::RequestObjectResize(), sw::mark::DropDownFieldmark::SendLOKShowMessage(), sw::mark::DateFieldmark::SetPortionPaintAreaEnd(), sw::mark::DateFieldmark::SetPortionPaintAreaStart(), sw::annotation::SwAnnotationWin::SetPosSizePixelRect(), SVRect(), Union(), SwAccPreviewData::Update(), SwDoc::UpdateCharts_(), SwViewShell::VisPortChgd(), and PlcDrawObj::WritePlc().
|
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().
void SwRect::Justify | ( | ) |
Definition at line 94 of file swrect.cxx.
References Size::getHeight(), Size::getWidth(), Point::getX(), Point::getY(), m_Point, m_Size, Size::setHeight(), Size::setWidth(), Point::setX(), and Point::setY().
Referenced by SwNoTextFrame::GetCharRect(), MakeSelUnions(), SwNoTextFrame::PaintSwFrame(), and SwCursorShell::RefreshBlockCursor().
|
inline |
Definition at line 237 of file swrect.hxx.
References m_Point, and Point::X().
Referenced by BottomLeft(), Center(), Contains(), dumpAsXmlAttributes(), GetIntersection(), GetUnion(), Intersection(), IsNear(), Overlaps(), TopLeft(), and Union().
|
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().
tools::Long SwRect::Left_ | ( | ) | const |
Definition at line 118 of file swrect.cxx.
References Point::getX(), and m_Point.
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().
|
inline |
Definition at line 275 of file swrect.hxx.
Definition at line 280 of file swrect.hxx.
References m_Point.
Definition at line 285 of file swrect.hxx.
References m_Point.
References BottomLeft, BottomRight, operator+=(), operator-=(), TopLeft, and TopRight.
|
inline |
Definition at line 271 of file swrect.hxx.
|
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().
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.
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.
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.
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.
|
inline |
Definition at line 221 of file swrect.hxx.
References m_Point.
|
inline |
Definition at line 217 of file swrect.hxx.
References m_Point.
|
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().
|
inline |
Definition at line 175 of file swrect.hxx.
References m_Point, Point::setX(), and Point::setY().
|
inline |
Definition at line 241 of file swrect.hxx.
References Size::getWidth(), Point::getX(), m_Point, and m_Size.
Referenced by BottomRight(), Contains(), dumpAsXmlAttributes(), GetIntersection(), GetUnion(), Intersection(), IsNear(), Overlaps(), TopRight(), and Union().
|
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().
tools::Long SwRect::Right_ | ( | ) | const |
Definition at line 119 of file swrect.cxx.
References Size::getWidth(), Point::getX(), m_Point, and m_Size.
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().
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().
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().
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().
void SwRect::SetPosX | ( | const tools::Long | nNew | ) |
Definition at line 131 of file swrect.cxx.
References m_Point, and Point::setX().
void SwRect::SetPosY | ( | const tools::Long | nNew | ) |
Definition at line 132 of file swrect.cxx.
References m_Point, and Point::setY().
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().
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().
void SwRect::SetUpperLeftCorner | ( | const Point & | rNew | ) |
Definition at line 171 of file swrect.cxx.
References m_Point.
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 SwRect::Size_ | ( | ) | const |
Definition at line 134 of file swrect.cxx.
References SSize().
|
inline |
Definition at line 225 of file swrect.hxx.
References m_Size.
Referenced by Intersection(), and Size_().
|
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().
|
inline |
Definition at line 184 of file swrect.hxx.
References m_Size, Size::setHeight(), and Size::setWidth().
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().
void SwRect::SubTop | ( | const tools::Long | nSub | ) |
Definition at line 129 of file swrect.cxx.
References Size::AdjustHeight(), Point::getY(), m_Point, m_Size, and Point::setY().
Referenced by SwTextFormatter::CalcFlyWidth(), and SwRootFrame::CheckViewLayout().
|
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().
Size SwRect::SwappedSize | ( | ) | const |
Definition at line 135 of file swrect.cxx.
References Size::getHeight(), Size::getWidth(), and m_Size.
|
inline |
Definition at line 245 of file swrect.hxx.
References m_Point, and Point::Y().
Referenced by Center(), Contains(), dumpAsXmlAttributes(), GetIntersection(), GetUnion(), Intersection(), IsNear(), Overlaps(), TopLeft(), TopRight(), and Union().
|
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().
tools::Long SwRect::Top_ | ( | ) | const |
Definition at line 120 of file swrect.cxx.
References Point::getY(), and m_Point.
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().
|
inline |
Definition at line 254 of file swrect.hxx.
Referenced by objectpositioning::SwAsCharAnchoredObjectPosition::CalcPosition(), SwAccessibleMap::CoreToPixel(), SwWrtShell::DelLeft(), SwWrtShell::DelRight(), SwTextPaintInfo::DrawLineBreak(), SwDrawBaseShell::Execute(), FindPage(), SwFEShell::GetRelativePagePosition(), GetTableSel(), SwSelPaintRects::HighlightContentControl(), lcl_CreateColumnAreaDelimiterPrimitives(), lcl_CreatePageAreaDelimiterPolygons(), lcl_ProjectOntoClosestTableFrame(), SwCursorShell::SelTable(), SwCursorShell::SelTableRowOrCol(), sw::mark::DateFieldmark::SetPortionPaintAreaEnd(), and sw::mark::DateFieldmark::ShowButton().
|
inline |
Definition at line 258 of file swrect.hxx.
References Right(), and Top().
Referenced by SwFEShell::CalcBoundRect(), SwTextPaintInfo::DrawLineBreak(), GetTableSel(), lcl_CreateColumnAreaDelimiterPrimitives(), lcl_CreatePageAreaDelimiterPolygons(), lcl_FindFrame(), lcl_ProjectOntoClosestTableFrame(), SwPageFrame::PaintNotesSidebar(), SwCursorShell::SelTable(), and SwCursorShell::SelTableRowOrCol().
Definition at line 35 of file swrect.cxx.
References Bottom(), IsEmpty(), Left(), n, Right(), and Top().
Referenced by SwPaintQueue::Add(), SwViewShellImp::AddPaintRect(), CalcClipRect(), SwRootFrame::CalcFrameRects(), SwViewShell::CheckInvalidForPaint(), SwCursorShell::GetContentAtPos(), SwCursorShell::GetSmartTagRect(), SwEditShell::HandleCorrectionError(), SwViewShellImp::IsDragPossible(), lcl_CalculateRepaintRect(), MakeSelUnions(), SwAnchoredObject::OverlapsPrevColumn(), SwViewShell::Paint(), SwAccPreviewData::Update(), SwFlyFrame::UpdateAttr_(), and SwViewShell::VisPortChgd().
|
inline |
Definition at line 229 of file swrect.hxx.
References m_Size, and Size::Width().
Referenced by Center(), and dumpAsXmlAttributes().
|
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().
tools::Long SwRect::Width_ | ( | ) | const |
Definition at line 116 of file swrect.cxx.
References Size::getWidth(), and m_Size.
void SwRect::Width_ | ( | const tools::Long | nNew | ) |
Definition at line 109 of file swrect.cxx.
References m_Size, and Size::setWidth().
Definition at line 189 of file swrect.cxx.
|
private |
Definition at line 36 of file swrect.hxx.
Referenced by AddLeft(), AddTop(), Bottom(), Bottom_(), Chg(), Clear(), GetBottomDistance(), GetLeftDistance(), GetRightDistance(), GetTopDistance(), Intersection_(), Justify(), Left(), Left_(), operator!=(), operator+=(), operator-=(), operator==(), OverStepBottom(), OverStepLeft(), OverStepRight(), OverStepTop(), Pos(), Right(), Right_(), SetBottomAndHeight(), SetLeftAndWidth(), SetLowerLeftCorner(), SetPosX(), SetPosY(), SetRightAndWidth(), SetTopAndHeight(), SetUpperLeftCorner(), SetUpperRightCorner(), SubLeft(), SubTop(), SVRect(), Top(), and Top_().
|
private |
Definition at line 37 of file swrect.hxx.
Referenced by AddBottom(), AddHeight(), AddLeft(), AddRight(), AddTop(), AddWidth(), Bottom(), Bottom_(), Chg(), Clear(), GetBottomDistance(), GetRightDistance(), Height(), Height_(), Intersection_(), IsEmpty(), Justify(), Left(), Left_(), operator!=(), operator==(), OverStepBottom(), OverStepLeft(), OverStepRight(), OverStepTop(), Right(), Right_(), SetBottomAndHeight(), SetLeftAndWidth(), SetLowerLeftCorner(), SetRightAndWidth(), SetTopAndHeight(), SetUpperRightCorner(), SSize(), SubLeft(), SubTop(), SVRect(), SwappedSize(), SwRect(), Top(), Top_(), Width(), and Width_().