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 SwTwips nW=0, const SwTwips nH=0)
 
 SwPosSize (const Size &rSize)
 
virtual ~SwPosSize ()
 
 SwPosSize (SwPosSize const &)=default
 
 SwPosSize (SwPosSize &&)=default
 
SwPosSizeoperator= (SwPosSize const &)=default
 
SwPosSizeoperator= (SwPosSize &&)=default
 
SwTwips Height () const
 
virtual void Height (const SwTwips nNew, const bool=true)
 
SwTwips Width () const
 
void Width (const SwTwips nNew)
 
Size SvLSize () const
 
void SvLSize (const Size &rSize)
 
void SvXSize (const Size &rSize)
 
SwPosSizeoperator= (const Size &rSize)
 

Private Attributes

SwTwips m_nWidth
 
SwTwips m_nHeight
 

Detailed Description

Definition at line 25 of file possiz.hxx.

Constructor & Destructor Documentation

◆ SwPosSize() [1/4]

SwPosSize::SwPosSize ( const SwTwips  nW = 0,
const SwTwips  nH = 0 
)
inline

◆ SwPosSize() [2/4]

SwPosSize::SwPosSize ( const Size rSize)
inlineexplicit

Definition at line 35 of file possiz.hxx.

◆ ~SwPosSize()

virtual SwPosSize::~SwPosSize ( )
inlinevirtual

Definition at line 43 of file possiz.hxx.

◆ SwPosSize() [3/4]

SwPosSize::SwPosSize ( SwPosSize const &  )
default

◆ SwPosSize() [4/4]

SwPosSize::SwPosSize ( SwPosSize &&  )
default

Member Function Documentation

◆ Height() [1/2]

SwTwips SwPosSize::Height ( ) const
inline

Definition at line 49 of file possiz.hxx.

References m_nHeight.

Referenced by SwTextCursor::AdjustBaseLine(), SwMarginPortion::AdjustRight(), SwTextPortion::BreakCut(), SwTextPortion::BreakUnderflow(), SwTextFormatter::BuildMultiPortion(), SwTextFormatter::CalcAscent(), SwTextAdjuster::CalcFlyPortion(), SwTextFormatter::CalcFlyWidth(), SwLineLayout::CalcLeftMargin(), SwLineLayout::CalcLine(), SwTextPainter::CalcPaintOfst(), SwTextPaintInfo::CalcRect(), SwMultiPortion::CalcSize(), SwTextPortion::CreateHyphen(), SwBookmarkPortion::DoPaint(), SwTextPaintInfo::DrawRedArrow(), SwTextPaintInfo::DrawText_(), SwTextPainter::DrawTextLine(), SwLinePortion::dumpAsXmlAttributes(), SwLinePortion::Format(), SwDropPortion::Format(), SwPostItsPortion::Format(), SwFieldPortion::Format(), SwNumberPortion::Format(), SwGrfNumPortion::Format(), SwCombinedPortion::Format(), SwFootnotePortion::Format(), SwHyphPortion::Format(), SwBreakPortion::Format(), SwControlCharPortion::Format(), SwTextPortion::Format(), SwFieldFormCheckboxPortion::Format(), SwTextPortion::Format_(), SwDoubleLinePortion::FormatBrackets(), SwTextFormatter::FormatLine(), SwTextFormatter::FormatQuoVadis(), SwTextCursor::GetCharRect_(), SwTextCursor::GetEndCharRect(), SwTextCursor::GetModelPositionForViewPoint(), SwGluePortion::GetTextSize(), SwTextPortion::GetTextSize(), SwHolePortion::GetTextSize(), SwLineLayout::Height(), SwTextFormatter::InsertPortion(), SwGluePortion::Join(), SwLineLayout::MaxAscentDescent(), SwTextFormatter::MergeCharacterBorder(), SwTextFormatter::NewNumberPortion(), SwTextFormatter::NewPortion(), SwBlankPortion::Paint(), SwGluePortion::Paint(), SwBreakPortion::Paint(), SwDoubleLinePortion::PaintBracket(), SwDropPortion::PaintDrop(), SwTextPainter::PaintMultiPortion(), SwTabPortion::PreFormat(), SwTaggedPDFHelper::SetAttributes(), SwArrowPortion::SwArrowPortion(), SwFixPortion::SwFixPortion(), SwGrfNumPortion::SwGrfNumPortion(), SwHangingPortion::SwHangingPortion(), SwHolePortion::SwHolePortion(), SwKernPortion::SwKernPortion(), and SwTmpEndPortion::SwTmpEndPortion().

◆ Height() [2/2]

virtual void SwPosSize::Height ( const SwTwips  nNew,
const bool  = true 
)
inlinevirtual

Reimplemented in SwLineLayout, and SwLineLayout.

Definition at line 50 of file possiz.hxx.

References m_nHeight.

◆ operator=() [1/3]

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

Definition at line 64 of file possiz.hxx.

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

◆ operator=() [2/3]

SwPosSize & SwPosSize::operator= ( SwPosSize &&  )
default

◆ operator=() [3/3]

SwPosSize & SwPosSize::operator= ( SwPosSize const &  )
default

◆ SvLSize() [1/2]

Size SwPosSize::SvLSize ( ) const
inline

Definition at line 53 of file possiz.hxx.

References m_nHeight, and m_nWidth.

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

◆ SvLSize() [2/2]

void SwPosSize::SvLSize ( const Size rSize)
inline

Definition at line 54 of file possiz.hxx.

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

◆ SvXSize()

void SwPosSize::SvXSize ( const Size rSize)
inline

Definition at line 59 of file possiz.hxx.

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

◆ Width() [1/2]

SwTwips SwPosSize::Width ( ) const
inline

Definition at line 51 of file possiz.hxx.

References m_nWidth.

Referenced by SwTextCursor::AddExtraBlankWidth(), 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(), ConsiderNextPortionForCursorOffset(), SwTextPaintInfo::DrawBackBrush(), SwTextPaintInfo::DrawLineBreak(), SwTextPaintInfo::DrawText_(), SwTextPainter::DrawTextLine(), SwLinePortion::dumpAsXmlAttributes(), SwDropPortion::Format(), SwExpandPortion::Format(), SwFieldPortion::Format(), SwNumberPortion::Format(), SwGrfNumPortion::Format(), SwCombinedPortion::Format(), SwFlyPortion::Format(), SwFlyCntPortion::Format(), SwQuoVadisPortion::Format(), SwHyphPortion::Format(), SwSoftHyphPortion::Format(), SwBreakPortion::Format(), SwHiddenTextPortion::Format(), SwControlCharPortion::Format(), SwTextPortion::Format(), SwFieldMarkPortion::Format(), SwFieldFormCheckboxPortion::Format(), SwTextPortion::Format_(), SwDoubleLinePortion::FormatBrackets(), SwSoftHyphPortion::FormatEOL(), SwKernPortion::FormatEOL(), SwTextPortion::FormatEOL(), SwTextFrame::FormatLine(), SwTextFormatter::FormatLine(), SwTextFormatter::FormatQuoVadis(), SwTextCursor::GetCharRect_(), SwDropPortion::GetDropLeft(), SwTextCursor::GetEndCharRect(), SwLineLayout::GetHangingMargin_(), SwGluePortion::GetModelPositionForViewPoint(), SwTextCursor::GetModelPositionForViewPoint(), SwTextFrame::GetModelPositionForViewPoint_(), SwGluePortion::GetPrtGlue(), SwTextSizeInfo::GetTextSize(), SwDropPortion::GetTextSize(), SwGluePortion::GetTextSize(), SwTextPortion::GetTextSize(), SwHolePortion::GetTextSize(), SwFieldPortion::GetViewWidth(), SwSoftHyphPortion::GetViewWidth(), SwIsoRefPortion::GetViewWidth(), SwControlCharPortion::GetViewWidth(), SwIsoToxPortion::GetViewWidth(), SwTextGuess::Guess(), SwSoftHyphPortion::HandlePortion(), SwLineLayout::Init(), SwTextFrameInfo::IsFilled(), SwTextFormatInfo::LastKernPortion(), lcl_DrawSpecial(), lcl_GetCharRectInsideField(), lcl_TruncateMultiPortion(), SwTextFormatter::MergeCharacterBorder(), SwTextFormatter::NewTabPortion(), SwExpandPortion::Paint(), SwBlankPortion::Paint(), SwPostItsPortion::Paint(), SwFieldPortion::Paint(), SwHiddenPortion::Paint(), SwNumberPortion::Paint(), SwGrfNumPortion::Paint(), SwCombinedPortion::Paint(), SwGluePortion::Paint(), SwSoftHyphPortion::Paint(), SwRefPortion::Paint(), SwIsoRefPortion::Paint(), SwBreakPortion::Paint(), SwKernPortion::Paint(), SwControlCharPortion::Paint(), SwBookmarkPortion::Paint(), SwTabPortion::Paint(), SwToxPortion::Paint(), SwIsoToxPortion::Paint(), SwTextPortion::Paint(), SwTextInputFieldPortion::Paint(), SwDoubleLinePortion::PaintBracket(), SwDropPortion::PaintDrop(), SwTextPainter::PaintDropPortion(), SwTextPainter::PaintMultiPortion(), SwDropPortion::PaintText(), SwTabPortion::PostFormat(), SwTabPortion::PreFormat(), SwLinePortion::PrePaint(), SwLinePortion::PrtWidth(), SwLinePortion::SubPrtWidth(), SwDoubleLinePortion::SwDoubleLinePortion(), SwGrfNumPortion::SwGrfNumPortion(), SwHolePortion::SwHolePortion(), SwKernPortion::SwKernPortion(), SwTextCursorSave::SwTextCursorSave(), SwTextFormatter::Underflow(), SwTextFormatter::UpdatePos(), and SwTextCursorSave::~SwTextCursorSave().

◆ Width() [2/2]

void SwPosSize::Width ( const SwTwips  nNew)
inline

Definition at line 52 of file possiz.hxx.

References m_nWidth.

Member Data Documentation

◆ m_nHeight

SwTwips SwPosSize::m_nHeight
private

Definition at line 28 of file possiz.hxx.

Referenced by Height(), operator=(), SvLSize(), and SvXSize().

◆ m_nWidth

SwTwips SwPosSize::m_nWidth
private

Definition at line 27 of file possiz.hxx.

Referenced by operator=(), SvLSize(), SvXSize(), and Width().


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