67 std::unique_ptr<SwDropPortionPart>
m_pPart;
80 const sal_uInt16 nDropHeight,
81 const sal_uInt16 nDropDescent,
82 const sal_uInt16 nDistance );
98 void SetPart( std::unique_ptr<SwDropPortionPart> pNew ) {
m_pPart = std::move(pNew); }
bool GetJoinBorderWithPrev() const
SwDropPortionPart(SwFont &rFont, const TextFrameIndex nL)
bool m_bJoinBorderWithPrev
std::unique_ptr< SwDropPortionPart > m_pFollow
~SwDropPortionPart()
SwDropPortionPart DTor.
void SetFollow(std::unique_ptr< SwDropPortionPart > pNew)
bool GetJoinBorderWithNext() const
TextFrameIndex GetLen() const
bool m_bJoinBorderWithNext
void SetJoinBorderWithPrev(const bool bJoinPrev)
void SetWidth(sal_uInt16 nNew)
void SetJoinBorderWithNext(const bool bJoinNext)
std::unique_ptr< SwFont > m_pFnt
SwDropPortionPart * GetFollow() const
sal_uInt16 GetWidth() const
Text portion for the Format -> Paragraph -> Drop Caps functionality.
sal_uInt16 GetDropHeight() const
virtual SwPosSize GetTextSize(const SwTextSizeInfo &rInfo) const override
sal_uInt16 m_nDropDescent
sal_uInt16 GetDropDescent() const
void SetPart(std::unique_ptr< SwDropPortionPart > pNew)
static void DeleteDropCapCache()
virtual bool Format(SwTextFormatInfo &rInf) override
virtual TextFrameIndex GetModelPositionForViewPoint(sal_uInt16 nOfst) const override
the parameter is actually SwTwips apparently?
sal_uInt16 GetLines() const
sal_uInt16 GetDropLeft() const
bool FormatText(SwTextFormatInfo &rInf)
virtual ~SwDropPortion() override
void PaintDrop(const SwTextPaintInfo &rInf) const
void PaintText(const SwTextPaintInfo &rInf) const
Manipulate the width, otherwise the chars are being stretched.
std::unique_ptr< SwDropPortionPart > m_pPart
SwDropPortion(const sal_uInt16 nLineCnt, const sal_uInt16 nDropHeight, const sal_uInt16 nDropDescent, const sal_uInt16 nDistance)
SwDropPortion CTor, DTor.
sal_uInt16 GetDistance() const
virtual void Paint(const SwTextPaintInfo &rInf) const override
SwDropPortionPart * GetPart() const
To take Asian or other languages into consideration, an SwFont object consists of 3 SwSubFonts (Latin...
This portion represents a part of the paragraph string.
SwDropCapCache * pDropCapCache