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

#include <possiz.hxx>

Inheritance diagram for SwPosSize:
[legend]

Public Member Functions

 SwPosSize (const sal_uInt16 nW=0, const sal_uInt16 nH=0)
 
 SwPosSize (const Size &rSize)
 
sal_uInt16 Height () const
 
void Height (const sal_uInt16 nNew)
 
sal_uInt16 Width () const
 
void Width (const sal_uInt16 nNew)
 
Size SvLSize () const
 
void SvLSize (const Size &rSize)
 
void SvXSize (const Size &rSize)
 
SwPosSizeoperator= (const Size &rSize)
 

Private Attributes

sal_uInt16 nWidth
 
sal_uInt16 nHeight
 

Detailed Description

Definition at line 26 of file possiz.hxx.

Constructor & Destructor Documentation

SwPosSize::SwPosSize ( const sal_uInt16  nW = 0,
const sal_uInt16  nH = 0 
)
inline
SwPosSize::SwPosSize ( const Size rSize)
inlineexplicit

Definition at line 36 of file possiz.hxx.

Member Function Documentation

sal_uInt16 SwPosSize::Height ( ) const
inline

Definition at line 44 of file possiz.hxx.

References nHeight.

Referenced by SwTextCursor::AdjustBaseLine(), SwMarginPortion::AdjustRight(), SwTextPortion::BreakCut(), SwTextPortion::BreakUnderflow(), SwTextFormatter::BuildMultiPortion(), SwTextFormatter::BuildPortions(), SwTextFormatter::CalcAscent(), SwTextIter::CalcAscentAndHeight(), SwTextFrame::CalcBaseOfstForFly(), SwTextAdjuster::CalcFlyPortion(), SwTextFormatter::CalcFlyWidth(), SwTextAdjuster::CalcKanaAdj(), SwLineLayout::CalcLeftMargin(), SwLineLayout::CalcLine(), SwTextAdjuster::CalcNewBlock(), SwTextPainter::CalcPaintOfst(), SwTextFormatter::CalcRealHeight(), SwTextPaintInfo::CalcRect(), SwTextAdjuster::CalcRightMargin(), SwMultiPortion::CalcSize(), SwTextFormatInfo::CheckFootnotePortion_(), SwTextFormatter::ChkFlyUnderflow(), SwTextPortion::CreateHyphen(), SwTextPaintInfo::DrawRedArrow(), SwTextPaintInfo::DrawText_(), SwTextPainter::DrawTextLine(), WidowsAndOrphans::FindWidows(), SwTextFrame::FirstLineHeight(), SwHyphPortion::Format(), SwTextPortion::Format(), SwFootnotePortion::Format(), SwBreakPortion::Format(), SwPostItsPortion::Format(), SwFieldPortion::Format(), SwDropPortion::Format(), SwFieldFormCheckboxPortion::Format(), SwControlCharPortion::Format(), SwNumberPortion::Format(), SwLinePortion::Format(), SwGrfNumPortion::Format(), SwCombinedPortion::Format(), SwTextPortion::Format_(), SwTextFormatter::FormatLine(), SwTextFrame::FormatLine(), SwTextFormatter::FormatQuoVadis(), SwTextCursor::GetCharRect_(), SwTextCursor::GetCursorOfst(), SwTextCursor::GetEndCharRect(), SwTextFormatter::GetFrameRstHeight(), SwTextFrame::GetScalingOfSelectedText(), SwTextPortion::GetTextSize(), SwGluePortion::GetTextSize(), SwTabPortion::HandlePortion(), SwTextPortion::HandlePortion(), SwFieldPortion::HandlePortion(), SwLinePortion::HandlePortion(), IMPL_LINK_NOARG(), SwLineLayout::Init(), SwTextFormatter::InsertPortion(), SwGluePortion::Join(), SwTextFormatter::MakeDummyLine(), SwLineLayout::MaxAscentDescent(), SwTextFormatter::MergeCharacterBorder(), SwTextFormatter::NewFootnotePortion(), SwTextFormatter::NewNumberPortion(), SwTextFormatter::NewPortion(), SwGluePortion::Paint(), SwDoubleLinePortion::PaintBracket(), SwDropPortion::PaintDrop(), SwTextPainter::PaintMultiPortion(), SwTabPortion::PreFormat(), SwTaggedPDFHelper::SetAttributes(), SwArrowPortion::SwArrowPortion(), SwFixPortion::SwFixPortion(), SwGrfNumPortion::SwGrfNumPortion(), SwHangingPortion::SwHangingPortion(), SwHolePortion::SwHolePortion(), SwKernPortion::SwKernPortion(), SwTmpEndPortion::SwTmpEndPortion(), and SwTextFormatter::UpdatePos().

void SwPosSize::Height ( const sal_uInt16  nNew)
inline

Definition at line 45 of file possiz.hxx.

SwPosSize& SwPosSize::operator= ( const Size rSize)
inline

Definition at line 59 of file possiz.hxx.

References Size::Height(), and Size::Width().

Size SwPosSize::SvLSize ( ) const
inline

Definition at line 48 of file possiz.hxx.

Referenced by IMPL_LINK_NOARG(), lcl_DrawSpecial(), and SwDropPortion::PaintDrop().

void SwPosSize::SvLSize ( const Size rSize)
inline

Definition at line 49 of file possiz.hxx.

References Size::Height(), and Size::Width().

void SwPosSize::SvXSize ( const Size rSize)
inline

Definition at line 54 of file possiz.hxx.

References Size::Height(), and Size::Width().

sal_uInt16 SwPosSize::Width ( ) const
inline

Definition at line 46 of file possiz.hxx.

References nWidth.

Referenced by SwLinePortion::AddPrtWidth(), SwRubyPortion::Adjust_(), SwMarginPortion::AdjustRight(), SwTextPortion::BreakCut(), SwTextPortion::BreakUnderflow(), SwTextFormatter::BuildMultiPortion(), SwTextFormatter::BuildPortions(), SwTextFrame::CalcAdditionalFirstLineOffset(), SwDoubleLinePortion::CalcBlanks(), SwTextAdjuster::CalcDropAdjust(), SwTextFormatter::CalcFitToContent_(), SwTextAdjuster::CalcKanaAdj(), SwLineLayout::CalcLeftMargin(), SwLineLayout::CalcLine(), SwTextAdjuster::CalcNewBlock(), SwTextPainter::CalcPaintOfst(), SwTextPaintInfo::CalcRect(), SwTextAdjuster::CalcRightMargin(), SwMultiPortion::CalcSize(), SwTextPortion::CalcSpacing(), SwTextPainter::CheckSpecialUnderline(), SwTextFormatter::ChkFlyUnderflow(), SwDoubleLinePortion::ClearBrackets(), SwLinePortion::Compress(), SwTextPaintInfo::DrawBackBrush(), SwTextPaintInfo::DrawLineBreak(), SwTextPaintInfo::DrawText_(), SwTextPainter::DrawTextLine(), SwExpandPortion::Format(), SwHyphPortion::Format(), SwTextPortion::Format(), SwFlyPortion::Format(), SwBreakPortion::Format(), SwFlyCntPortion::Format(), SwSoftHyphPortion::Format(), SwQuoVadisPortion::Format(), SwFieldPortion::Format(), SwDropPortion::Format(), SwFieldMarkPortion::Format(), SwFieldFormCheckboxPortion::Format(), SwHiddenTextPortion::Format(), SwControlCharPortion::Format(), SwNumberPortion::Format(), SwGrfNumPortion::Format(), SwCombinedPortion::Format(), SwTextPortion::Format_(), SwTextPortion::FormatEOL(), SwSoftHyphPortion::FormatEOL(), SwKernPortion::FormatEOL(), SwTextFormatter::FormatLine(), SwTextFrame::FormatLine(), SwTextFormatter::FormatQuoVadis(), SwTextCursor::GetCharRect_(), SwGluePortion::GetCursorOfst(), SwTextCursor::GetCursorOfst(), SwTextFrame::GetCursorOfst_(), SwDropPortion::GetDropLeft(), SwTextCursor::GetEndCharRect(), SwLineLayout::GetHangingMargin_(), SwGluePortion::GetPrtGlue(), SwTextPortion::GetTextSize(), SwGluePortion::GetTextSize(), SwTextSizeInfo::GetTextSize(), SwIsoRefPortion::GetViewWidth(), SwIsoToxPortion::GetViewWidth(), SwSoftHyphPortion::GetViewWidth(), SwFieldPortion::GetViewWidth(), SwControlCharPortion::GetViewWidth(), SwTextGuess::Guess(), SwTabPortion::HandlePortion(), SwTextPortion::HandlePortion(), SwSoftHyphPortion::HandlePortion(), SwFieldPortion::HandlePortion(), SwLinePortion::HandlePortion(), IMPL_LINK_NOARG(), SwLineLayout::Init(), SwTextFrameInfo::IsFilled(), SwTextFormatInfo::LastKernPortion(), lcl_DrawSpecial(), lcl_GetCharRectInsideField(), lcl_TruncateMultiPortion(), SwTextFormatter::MergeCharacterBorder(), SwTextFormatter::NewTabPortion(), SwRefPortion::Paint(), SwToxPortion::Paint(), SwExpandPortion::Paint(), SwTabPortion::Paint(), SwTextPortion::Paint(), SwIsoRefPortion::Paint(), SwIsoToxPortion::Paint(), SwGluePortion::Paint(), SwTextInputFieldPortion::Paint(), SwSoftHyphPortion::Paint(), SwPostItsPortion::Paint(), SwFieldPortion::Paint(), SwKernPortion::Paint(), SwHiddenPortion::Paint(), SwControlCharPortion::Paint(), SwNumberPortion::Paint(), SwGrfNumPortion::Paint(), SwCombinedPortion::Paint(), SwMetaPortion::Paint(), SwDoubleLinePortion::PaintBracket(), SwDropPortion::PaintDrop(), SwTextPainter::PaintDropPortion(), SwTextPainter::PaintMultiPortion(), SwDropPortion::PaintText(), SwTabPortion::PreFormat(), SwLinePortion::PrePaint(), SwLinePortion::PrtWidth(), SwLinePortion::SubPrtWidth(), SwDoubleLinePortion::SwDoubleLinePortion(), SwGrfNumPortion::SwGrfNumPortion(), SwKernPortion::SwKernPortion(), SwTextCursorSave::SwTextCursorSave(), SwTextFormatter::Underflow(), SwTextFormatter::UpdatePos(), SwTextFrame::VisitPortions(), and SwTextCursorSave::~SwTextCursorSave().

void SwPosSize::Width ( const sal_uInt16  nNew)
inline

Definition at line 47 of file possiz.hxx.

Member Data Documentation

sal_uInt16 SwPosSize::nHeight
private

Definition at line 29 of file possiz.hxx.

Referenced by Height().

sal_uInt16 SwPosSize::nWidth
private

Definition at line 28 of file possiz.hxx.

Referenced by Width().


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