LibreOffice Module sw (master) 1
|
#include <porfly.hxx>
Public Member Functions | |
FlyContentPortion (SwFlyInContentFrame *pFly) | |
SwFlyInContentFrame * | GetFlyFrame () |
void | GetFlyCursorOfst (Point &rPoint, SwPosition &rPos, SwCursorMoveState *pCMS) const |
virtual void | Paint (const SwTextPaintInfo &rInf) const override |
virtual | ~FlyContentPortion () override |
Public Member Functions inherited from SwFlyCntPortion | |
SwFlyCntPortion () | |
Use the dimensions of pFly->OutRect() More... | |
const Point & | GetRefPoint () const |
bool | IsMax () const |
bool | IsDeleted () const |
void | SetAuthor (size_t nAuthor) |
size_t | GetAuthor () const |
sw::LineAlign | GetAlign () const |
void | SetAlign (sw::LineAlign eAlign) |
void | SetMax (bool bMax) |
void | SetDeleted (bool bDeleted) |
void | SetBase (const SwTextFrame &rFrame, const Point &rBase, tools::Long nLnAscent, tools::Long nLnDescent, tools::Long nFlyAscent, tools::Long nFlyDescent, AsCharFlags nFlags) |
After setting the RefPoints, the ascent needs to be recalculated because it is dependent on RelPos. More... | |
virtual bool | Format (SwTextFormatInfo &rInf) override |
Public Member Functions inherited from SwLinePortion | |
SwLinePortion (const SwLinePortion &rPortion) | |
virtual | ~SwLinePortion () |
SwLinePortion * | GetNextPortion () const |
SwLinePortion & | operator= (const SwLinePortion &rPortion) |
TextFrameIndex | GetLen () const |
void | SetLen (TextFrameIndex const nLen) |
void | SetNextPortion (SwLinePortion *pNew) |
SwTwips & | GetAscent () |
SwTwips | GetAscent () const |
void | SetAscent (const SwTwips nNewAsc) |
void | PrtWidth (SwTwips nNewWidth) |
SwTwips | PrtWidth () const |
void | AddPrtWidth (const SwTwips nNew) |
void | SubPrtWidth (const SwTwips nNew) |
SwTwips | ExtraBlankWidth () const |
void | ExtraBlankWidth (const SwTwips nNew) |
SwTwips | GetHangingBaseline () const |
void | SetHangingBaseline (const SwTwips nNewBaseline) |
virtual SwLinePortion * | Insert (SwLinePortion *pPortion) |
virtual SwLinePortion * | Append (SwLinePortion *pPortion) |
SwLinePortion * | Cut (SwLinePortion *pVictim) |
void | Truncate () |
virtual SwLinePortion * | Compress () |
void | SetWhichPor (const PortionType nNew) |
PortionType | GetWhichPor () const |
bool | InTextGrp () const |
bool | InGlueGrp () const |
bool | InTabGrp () const |
bool | InHyphGrp () const |
bool | InNumberGrp () const |
bool | InFixGrp () const |
bool | InFieldGrp () const |
bool | InToxRefGrp () const |
bool | InToxRefOrFieldGrp () const |
bool | InExpGrp () const |
bool | InFixMargGrp () const |
bool | InSpaceGrp () const |
bool | IsGrfNumPortion () const |
bool | IsFlyCntPortion () const |
bool | IsBlankPortion () const |
bool | IsBreakPortion () const |
bool | IsErgoSumPortion () const |
bool | IsQuoVadisPortion () const |
bool | IsTabLeftPortion () const |
bool | IsTabRightPortion () const |
bool | IsTabCenterPortion () const |
bool | IsTabDecimalPortion () const |
bool | IsFootnoteNumPortion () const |
bool | IsFootnotePortion () const |
bool | IsDropPortion () const |
bool | IsLayPortion () const |
bool | IsParaPortion () const |
bool | IsMarginPortion () const |
bool | IsFlyPortion () const |
bool | IsHolePortion () const |
bool | IsSoftHyphPortion () const |
bool | IsPostItsPortion () const |
bool | IsCombinedPortion () const |
bool | IsTextPortion () const |
bool | IsHangingPortion () const |
bool | IsKernPortion () const |
bool | IsArrowPortion () const |
bool | IsMultiPortion () const |
bool | IsNumberPortion () const |
bool | IsControlCharPortion () const |
SwLinePortion * | FindPrevPortion (const SwLinePortion *pRoot) |
SwLinePortion * | FindLastPortion () |
virtual TextFrameIndex | GetModelPositionForViewPoint (sal_uInt16 nOfst) const |
the parameter is actually SwTwips apparently? More... | |
virtual SwPosSize | GetTextSize (const SwTextSizeInfo &rInfo) const |
void | CalcTextSize (const SwTextSizeInfo &rInfo) |
virtual void | Paint (const SwTextPaintInfo &rInf) const =0 |
void | PrePaint (const SwTextPaintInfo &rInf, const SwLinePortion *pLast) const |
virtual bool | Format (SwTextFormatInfo &rInf) |
virtual void | FormatEOL (SwTextFormatInfo &rInf) |
void | Move (SwTextPaintInfo &rInf) |
virtual bool | GetExpText (const SwTextSizeInfo &rInf, OUString &rText) const |
virtual sal_uInt16 | GetViewWidth (const SwTextSizeInfo &rInf) const |
virtual tools::Long | CalcSpacing (tools::Long nSpaceAdd, const SwTextSizeInfo &rInf) const |
virtual void | HandlePortion (SwPortionHandler &rPH) const |
bool | GetJoinBorderWithPrev () const |
bool | GetJoinBorderWithNext () const |
void | SetJoinBorderWithPrev (const bool bJoinPrev) |
void | SetJoinBorderWithNext (const bool bJoinNext) |
virtual void | dumpAsXml (xmlTextWriterPtr pWriter, const OUString &rText, TextFrameIndex &rOffset) const |
void | dumpAsXmlAttributes (xmlTextWriterPtr writer, std::u16string_view rText, TextFrameIndex nOffset) const |
Public Member Functions inherited from SwPosSize | |
SwPosSize (const SwTwips nW=0, const SwTwips nH=0) | |
SwPosSize (const Size &rSize) | |
virtual | ~SwPosSize () |
SwPosSize (SwPosSize const &)=default | |
SwPosSize (SwPosSize &&)=default | |
SwPosSize & | operator= (SwPosSize const &)=default |
SwPosSize & | operator= (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) |
SwPosSize & | operator= (const Size &rSize) |
Static Public Member Functions | |
static FlyContentPortion * | Create (const SwTextFrame &rFrame, SwFlyInContentFrame *pFly, const Point &rBase, tools::Long nAscent, tools::Long nDescent, tools::Long nFlyAsc, tools::Long nFlyDesc, AsCharFlags nFlags) |
Private Member Functions | |
virtual SdrObject * | GetSdrObj (const SwTextFrame &) override |
Private Attributes | |
SwFlyInContentFrame * | m_pFly |
Additional Inherited Members | |
Protected Member Functions inherited from SwLinePortion | |
SwLinePortion () | |
Protected Attributes inherited from SwLinePortion | |
SwLinePortion * | mpNextPortion |
TextFrameIndex | mnLineLength |
SwTwips | mnAscent |
SwTwips | mnHangingBaseline |
Definition at line 71 of file porfly.hxx.
sw::FlyContentPortion::FlyContentPortion | ( | SwFlyInContentFrame * | pFly | ) |
Definition at line 282 of file porfly.cxx.
References SAL_WARN_IF.
|
overridevirtual |
Definition at line 310 of file porfly.cxx.
|
static |
Definition at line 295 of file porfly.cxx.
Referenced by SwTextFormatter::NewFlyCntPortion().
|
inline |
Definition at line 79 of file porfly.hxx.
References SwFlyFrame::GetModelPositionForViewPoint(), and m_pFly.
Referenced by SwTextCursor::GetModelPositionForViewPoint().
|
inline |
Definition at line 78 of file porfly.hxx.
References m_pFly.
Referenced by SwTextCursor::GetModelPositionForViewPoint().
|
overrideprivatevirtual |
Implements SwFlyCntPortion.
Definition at line 312 of file porfly.cxx.
|
overridevirtual |
Implements SwLinePortion.
Definition at line 202 of file porfly.cxx.
References SwRect::Bottom(), DrawLine(), sw::proofreadingiterator::get(), OutputDevice::GetAntialiasing(), SwFlyCntPortion::GetAuthor(), SwPostItMgr::GetColorAnchor(), SwRootFrame::GetCurrShell(), SwFrameAreaDefinition::getFrameArea(), OutputDevice::GetLayoutMode(), SwTextSizeInfo::GetOut(), SwViewShell::GetOut(), SwFrame::GetPaintArea(), SwTextPaintInfo::GetPaintRect(), SwFrame::getRootFrame(), SwTextSizeInfo::GetTextFrame(), SwFlyFrame::GetVirtDrawObj(), SwTextSizeInfo::GetVsh(), SwRect::Intersection_(), SwFrame::IsCompletePaint(), SwFlyCntPortion::IsDeleted(), SwFlyFrame::IsPaint(), SwFrame::IsRightToLeft(), SwFrame::IsVertical(), SwRect::Left(), SwLayoutFrame::Lower(), m_pFly, SwRect::Overlaps(), SwFlyFrame::PaintSwFrame(), SwRect::Right(), SAL_WARN_IF, SelectFont(), SetLineColor(), SwTextFrame::SwitchHorizontalToVertical(), SwTextFrame::SwitchLTRtoRTL(), and SwRect::Top().
|
private |
Definition at line 73 of file porfly.hxx.
Referenced by GetFlyCursorOfst(), GetFlyFrame(), and Paint().