19 #ifndef INCLUDED_SW_SOURCE_CORE_TEXT_POSSIZ_HXX
20 #define INCLUDED_SW_SOURCE_CORE_TEXT_POSSIZ_HXX
31 SwPosSize(
const sal_uInt16 nW = 0,
const sal_uInt16 nH = 0 )
37 : m_nWidth(sal_uInt16(rSize.
Width()))
38 ,m_nHeight(sal_uInt16(rSize.
Height()))
41 #if defined(__COVERITY__)
42 virtual ~SwPosSize() COVERITY_NOEXCEPT_FALSE {}
51 virtual void Height(
const sal_uInt16 nNew,
const bool =
true) { m_nHeight = nNew; }
53 void Width(
const sal_uInt16 nNew ) { m_nWidth = nNew; }
57 m_nWidth = sal_uInt16(rSize.
Width());
58 m_nHeight = sal_uInt16(rSize.
Height());
62 m_nHeight = sal_uInt16(rSize.
Width());
63 m_nWidth = sal_uInt16(rSize.
Height());
67 m_nWidth = sal_uInt16(rSize.
Width());
68 m_nHeight = sal_uInt16(rSize.
Height());
virtual void Height(const sal_uInt16 nNew, const bool=true)
sal_uInt16 Height() const
void SvLSize(const Size &rSize)
SwPosSize & operator=(SwPosSize const &)=default
SwPosSize & operator=(const Size &rSize)
SwPosSize(const sal_uInt16 nW=0, const sal_uInt16 nH=0)
tools::Long Width() const
SwPosSize(const Size &rSize)
void SvXSize(const Size &rSize)
void Width(const sal_uInt16 nNew)
tools::Long Height() const