|
LibreOffice Module sw (master) 1
|
#include <inftxt.hxx>
Public Member Functions | |
| SwTextPaintInfo (const SwTextPaintInfo &rInf) | |
| SwTextPaintInfo (const SwTextPaintInfo &rInf, const OUString *pText) | |
| void | CtorInitTextPaintInfo (OutputDevice *pRenderContext, SwTextFrame *pFrame, const SwRect &rPaint) |
| const SvxBrushItem * | GetBrushItem () const |
| SwTextPaintInfo (SwTextFrame *pFrame, const SwRect &rPaint) | |
| SwTwips | X () const |
| void | X (const tools::Long nNew) |
| SwTwips | Y () const |
| void | Y (const SwTwips nNew) |
| SwTextFly & | GetTextFly () |
| const SwTextFly & | GetTextFly () const |
| void | DrawText (const OUString &rText, const SwLinePortion &rPor, TextFrameIndex nIdx=TextFrameIndex(0), TextFrameIndex nLen=TextFrameIndex(COMPLETE_STRING), const bool bKern=false) const |
| void | DrawText (const SwLinePortion &rPor, TextFrameIndex nLen, const bool bKern=false) const |
| void | DrawMarkedText (const SwLinePortion &rPor, TextFrameIndex nLen, const bool bWrong, const bool bSmartTags, const bool bGrammarCheck) const |
| void | DrawRect (const SwRect &rRect, bool bRetouche) const |
| void | DrawTab (const SwLinePortion &rPor) const |
| void | DrawLineBreak (const SwLinePortion &rPor) const |
| void | DrawRedArrow (const SwLinePortion &rPor) const |
| void | DrawPostIts (bool bScript) const |
| void | DrawBackground (const SwLinePortion &rPor, const Color *pColor=nullptr) const |
| void | DrawViewOpt (const SwLinePortion &rPor, PortionType nWhich, const Color *pColor=nullptr) const |
| void | DrawBackBrush (const SwLinePortion &rPor) const |
| void | DrawBorder (const SwLinePortion &rPor) const |
| Draw character border around a line portion. More... | |
| void | DrawCheckBox (const SwFieldFormCheckboxPortion &rPor, bool bChecked) const |
| void | DrawCSDFHighlighting (const SwLinePortion &rPor) const |
| void | CalcRect (const SwLinePortion &rPor, SwRect *pRect, SwRect *pIntersect=nullptr, const bool bInsideBox=false) const |
| Calculate the rectangular area where the portion takes place. More... | |
| SwTwips | GetPaintOfst () const |
| void | SetPaintOfst (const SwTwips nNew) |
| const Point & | GetPos () const |
| void | SetPos (const Point &rNew) |
| const SwRect & | GetPaintRect () const |
| sal_uInt16 | GetSpaceIdx () const |
| void | ResetSpaceIdx () |
| void | SetSpaceIdx (sal_uInt16 nNew) |
| void | IncSpaceIdx () |
| void | RemoveFirstSpaceAdd () |
| tools::Long | GetSpaceAdd () const |
| void | SetpSpaceAdd (std::vector< tools::Long > *pNew) |
| std::vector< tools::Long > * | GetpSpaceAdd () const |
| void | SetWrongList (sw::WrongListIterator *const pNew) |
| sw::WrongListIterator * | GetpWrongList () const |
| void | SetGrammarCheckList (sw::WrongListIterator *const pNew) |
| sw::WrongListIterator * | GetGrammarCheckList () const |
| void | SetSmartTags (sw::WrongListIterator *const pNew) |
| sw::WrongListIterator * | GetSmartTags () const |
Public Member Functions inherited from SwTextSizeInfo | |
| SwTextSizeInfo (const SwTextSizeInfo &rInf) | |
| SwTextSizeInfo (const SwTextSizeInfo &rInf, const OUString *pText, TextFrameIndex nIdx=TextFrameIndex(0)) | |
| SwTextSizeInfo (SwTextFrame *pTextFrame, TextFrameIndex nIndex=TextFrameIndex(0)) | |
| std::optional< SwMultiCreator > | GetMultiCreator (TextFrameIndex &rPos, SwMultiPortion const *pM) const |
| bool | OnWin () const |
| void | SetOnWin (const bool bNew) |
| bool | NotEOL () const |
| void | SetNotEOL (const bool bNew) |
| bool | URLNotify () const |
| bool | StopUnderflow () const |
| void | SetStopUnderflow (const bool bNew) |
| bool | IsFootnoteInside () const |
| void | SetFootnoteInside (const bool bNew) |
| bool | IsOtherThanFootnoteInside () const |
| void | SetOtherThanFootnoteInside (const bool bNew) |
| bool | IsMulti () const |
| void | SetMulti (const bool bNew) |
| bool | IsFirstMulti () const |
| void | SetFirstMulti (const bool bNew) |
| bool | IsRuby () const |
| void | SetRuby (const bool bNew) |
| bool | IsHanging () const |
| void | SetHanging (const bool bNew) |
| bool | HasScriptSpace () const |
| void | SetScriptSpace (const bool bNew) |
| bool | HasForbiddenChars () const |
| void | SetForbiddenChars (const bool bN) |
| bool | SnapToGrid () const |
| void | SetSnapToGrid (const bool bN) |
| sal_uInt8 | GetDirection () const |
| void | SetDirection (const sal_uInt8 nNew) |
| bool | IsRotated () const |
| SwViewShell * | GetVsh () |
| const SwViewShell * | GetVsh () const |
| vcl::RenderContext * | GetOut () |
| const vcl::RenderContext * | GetOut () const |
| void | SetOut (OutputDevice *pNewOut) |
| vcl::RenderContext * | GetRefDev () |
| const vcl::RenderContext * | GetRefDev () const |
| SwFont * | GetFont () |
| const SwFont * | GetFont () const |
| void | SetFont (SwFont *pNew) |
| void | SelectFont () |
| void | SetUnderFnt (SwUnderlineFont *pNew) |
| SwUnderlineFont * | GetUnderFnt () const |
| const SwViewOption & | GetOpt () const |
| const OUString & | GetText () const |
| sal_Unicode | GetChar (TextFrameIndex const nPos) const |
| sal_uInt16 | GetTextHeight () const |
| SwPosSize | GetTextSize (OutputDevice *pOut, const SwScriptInfo *pSI, const OUString &rText, TextFrameIndex nIdx, TextFrameIndex nLen) const |
| SwPosSize | GetTextSize () const |
| void | GetTextSize (const SwScriptInfo *pSI, TextFrameIndex nIdx, TextFrameIndex nLen, const sal_uInt16 nComp, sal_uInt16 &nMinSize, sal_uInt16 &nMaxSizeDiff, vcl::text::TextLayoutCache const *=nullptr) const |
| SwPosSize | GetTextSize (const SwScriptInfo *pSI, TextFrameIndex nIdx, TextFrameIndex nLen) const |
| SwPosSize | GetTextSize (const OUString &rText) const |
| TextFrameIndex | GetTextBreak (const tools::Long nLineWidth, const TextFrameIndex nMaxLen, const sal_uInt16 nComp, vcl::text::TextLayoutCache const *) const |
| TextFrameIndex | GetTextBreak (const tools::Long nLineWidth, const TextFrameIndex nMaxLen, const sal_uInt16 nComp, TextFrameIndex &rExtraCharPos, vcl::text::TextLayoutCache const *) const |
| sal_uInt16 | GetAscent () const |
| sal_uInt16 | GetHangingBaseline () const |
| TextFrameIndex | GetIdx () const |
| void | SetIdx (const TextFrameIndex nNew) |
| TextFrameIndex | GetLen () const |
| void | SetLen (const TextFrameIndex nNew) |
| TextFrameIndex | GetMeasureLen () const |
| void | SetMeasureLen (const TextFrameIndex nNew) |
| void | SetText (const OUString &rNew) |
| bool | IsNoSymbol () const |
| void | NoteAnimation () const |
| SwTextFrame * | GetTextFrame () |
| const SwTextFrame * | GetTextFrame () const |
| bool | HasHint (TextFrameIndex nPos) const |
| void | SetMaxWidthDiff (const SwLinePortion *nKey, sal_uInt16 nVal) |
| sal_uInt16 | GetMaxWidthDiff (const SwLinePortion *nKey) |
| void | ResetMaxWidthDiff () |
| bool | CompressLine () |
| sal_uInt16 | GetKanaIdx () const |
| void | ResetKanaIdx () |
| void | SetKanaIdx (sal_uInt16 nNew) |
| void | IncKanaIdx () |
| void | SetKanaComp (std::deque< sal_uInt16 > *pNew) |
| std::deque< sal_uInt16 > * | GetpKanaComp () const |
| sal_uInt16 | GetKanaComp () const |
| const std::shared_ptr< const vcl::text::TextLayoutCache > & | GetCachedVclData () const |
| void | SetCachedVclData (std::shared_ptr< const vcl::text::TextLayoutCache > const &pCachedVclData) |
Public Member Functions inherited from SwTextInfo | |
| void | CtorInitTextInfo (SwTextFrame *pFrame) |
| SwTextInfo (const SwTextInfo &rInf) | |
| SwTextInfo (SwTextFrame *pFrame) | |
| SwParaPortion * | GetParaPortion () |
| const SwParaPortion * | GetParaPortion () const |
| TextFrameIndex | GetTextStart () const |
Protected Member Functions | |
| SwTextPaintInfo () | |
Protected Member Functions inherited from SwTextSizeInfo | |
| void | CtorInitTextSizeInfo (OutputDevice *pRenderContext, SwTextFrame *pFrame, TextFrameIndex nIdx) |
| SwTextSizeInfo () | |
Protected Member Functions inherited from SwTextInfo | |
| SwTextInfo () | |
Private Member Functions | |
| void | DrawText_ (const OUString &rText, const SwLinePortion &rPor, const TextFrameIndex nIdx, const TextFrameIndex nLen, const bool bKern, const bool bWrong=false, const bool bSmartTag=false, const bool bGrammarCheck=false) |
| SwTextPaintInfo & | operator= (const SwTextPaintInfo &)=delete |
Private Attributes | |
| sw::WrongListIterator * | m_pWrongList |
| sw::WrongListIterator * | m_pGrammarCheckList |
| sw::WrongListIterator * | m_pSmartTags |
| std::vector< tools::Long > * | m_pSpaceAdd |
| const SvxBrushItem * | m_pBrushItem |
| SwTextFly | m_aTextFly |
| Point | m_aPos |
| SwRect | m_aPaintRect |
| sal_uInt16 | m_nSpaceIdx |
Additional Inherited Members | |
Protected Attributes inherited from SwTextSizeInfo | |
| SwTextPortionMap | m_aMaxWidth |
| std::deque< sal_uInt16 > * | m_pKanaComp |
| SwViewShell * | m_pVsh |
| VclPtr< OutputDevice > | m_pOut |
| VclPtr< OutputDevice > | m_pRef |
| std::shared_ptr< const vcl::text::TextLayoutCache > | m_pCachedVclData |
| SwFont * | m_pFnt |
| SwUnderlineFont * | m_pUnderFnt |
| SwTextFrame * | m_pFrame |
| const SwViewOption * | m_pOpt |
| const OUString * | m_pText |
| TextFrameIndex | m_nIdx |
| TextFrameIndex | m_nLen |
| TextFrameIndex | m_nMeasureLen |
| sal_uInt16 | m_nKanaIdx |
| bool | m_bOnWin: 1 |
| bool | m_bNotEOL: 1 |
| bool | m_bURLNotify: 1 |
| bool | m_bStopUnderflow: 1 |
| bool | m_bFootnoteInside: 1 |
| bool | m_bOtherThanFootnoteInside: 1 |
| bool | m_bMulti: 1 |
| bool | m_bFirstMulti: 1 |
| bool | m_bRuby: 1 |
| bool | m_bHanging: 1 |
| bool | m_bScriptSpace: 1 |
| bool | m_bForbiddenChars: 1 |
| bool | m_bSnapToGrid: 1 |
| sal_uInt8 | m_nDirection: 2 |
Definition at line 342 of file inftxt.hxx.
|
inlineprotected |
Definition at line 363 of file inftxt.hxx.
| SwTextPaintInfo::SwTextPaintInfo | ( | const SwTextPaintInfo & | rInf | ) |
Definition at line 520 of file inftxt.cxx.
| SwTextPaintInfo::SwTextPaintInfo | ( | const SwTextPaintInfo & | rInf, |
| const OUString * | pText | ||
| ) |
Definition at line 507 of file inftxt.cxx.
| SwTextPaintInfo::SwTextPaintInfo | ( | SwTextFrame * | pFrame, |
| const SwRect & | rPaint | ||
| ) |
Definition at line 533 of file inftxt.cxx.
References CtorInitTextPaintInfo(), SwRootFrame::GetCurrShell(), SwViewShell::GetOut(), and SwFrame::getRootFrame().
| void SwTextPaintInfo::CalcRect | ( | const SwLinePortion & | rPor, |
| SwRect * | pRect, | ||
| SwRect * | pIntersect = nullptr, |
||
| const bool | bInsideBox = false |
||
| ) | const |
Calculate the rectangular area where the portion takes place.
| [in] | rPor | portion for which the method specify the painting area |
| [out] | pRect | whole area of the portion |
| [out] | pIntersect | part of the portion area clipped by OutputDevice's clip region |
| [in] | bInsideBox | area of portion's content, padding and border, but shadow is excluded (e.g. for background) |
Definition at line 735 of file inftxt.cxx.
References SwRect::AddBottom(), SwRect::AddLeft(), SwRect::AddRight(), SwRect::AddTop(), Size::AdjustWidth(), Point::AdjustX(), SwLinePortion::CalcSpacing(), DIR_LEFT2RIGHT, DIR_RIGHT2LEFT, SwLinePortion::GetAscent(), SwTextSizeInfo::GetDirection(), SwTextSizeInfo::GetFont(), SwTextSizeInfo::GetOut(), GetSpaceAdd(), SwTextSizeInfo::GetTextFrame(), SwTextSizeInfo::GetVsh(), SwRect::HasArea(), Size::Height(), SwPosSize::Height(), SwLinePortion::InFieldGrp(), SwLinePortion::InSpaceGrp(), SwRect::Intersection(), SwLinePortion::InTextGrp(), SwLinePortion::IsHangingPortion(), SwFrame::IsRightToLeft(), SwTextSizeInfo::IsRotated(), SwFrame::IsVertical(), SwFrame::IsVertLRBT(), Size::setHeight(), Size::setWidth(), Point::setX(), Point::setY(), SPACING_PRECISION_FACTOR, SwAlignRect(), SwTextFrame::SwitchHorizontalToVertical(), SwTextFrame::SwitchLTRtoRTL(), Size::Width(), SwPosSize::Width(), X(), and Y().
Referenced by DrawBackBrush(), DrawBackground(), DrawBorder(), DrawCheckBox(), DrawCSDFHighlighting(), DrawLineBreak(), DrawTab(), SwBlankPortion::Paint(), SwFieldFormDropDownPortion::Paint(), SwFieldFormDatePortion::Paint(), SwKernPortion::Paint(), SwTextInputFieldPortion::Paint(), and SwTaggedPDFHelper::SetAttributes().
| void SwTextPaintInfo::CtorInitTextPaintInfo | ( | OutputDevice * | pRenderContext, |
| SwTextFrame * | pFrame, | ||
| const SwRect & | rPaint | ||
| ) |
Definition at line 494 of file inftxt.cxx.
References SwTextFly::CtorInitTextFly(), SwTextSizeInfo::CtorInitTextSizeInfo(), m_aPaintRect, m_aTextFly, m_nSpaceIdx, m_pBrushItem, m_pGrammarCheckList, m_pSmartTags, m_pSpaceAdd, and m_pWrongList.
Referenced by SwTextFormatInfo::CtorInitTextFormatInfo(), and SwTextPaintInfo().
| void SwTextPaintInfo::DrawBackBrush | ( | const SwLinePortion & | rPor | ) | const |
Definition at line 1158 of file inftxt.cxx.
References CalcRect(), CH_BLANK, CH_TXT_ATR_FIELDSTART, CH_TXTATR_NEWLINE, COL_TRANSPARENT(), DrawRect(), OutputDevice::DrawRect(), vcl::FILLCOLOR, sw::proofreadingiterator::get(), SwFont::GetBackColor(), SwTextFrame::GetDoc(), SwViewOption::GetFieldShadingsColor(), SwFont::GetHighlightColor(), SwDoc::getIDocumentMarkAccess(), SwTextSizeInfo::GetIdx(), IDocumentMarkAccess::getInnerFieldmarkFor(), SwTextSizeInfo::GetLen(), SwLinePortion::GetLen(), SwLinePortion::GetNextPortion(), SwTextSizeInfo::GetOpt(), SwTextSizeInfo::GetOut(), SwTextSizeInfo::GetText(), SwTextSizeInfo::GetTextFrame(), SwTextSizeInfo::GetTextSize(), SwRect::HasArea(), i, vcl::LINECOLOR, SwTextSizeInfo::m_pFnt, SwTextSizeInfo::m_pFrame, SwTextSizeInfo::m_pOut, SwTextFrame::MapViewToModelPos(), min(), MS_WORD_COMP_TRAILING_BLANKS, SwTextSizeInfo::OnWin(), OutputDevice::Pop(), OutputDevice::Push(), SAL_INFO, OutputDevice::SetFillColor(), OutputDevice::SetLineColor(), SwRect::SVRect(), Width, and SwPosSize::Width().
Referenced by SwExpandPortion::Paint(), SwCombinedPortion::Paint(), SwKernPortion::Paint(), SwTabPortion::Paint(), and SwTextPortion::Paint().
| void SwTextPaintInfo::DrawBackground | ( | const SwLinePortion & | rPor, |
| const Color * | pColor = nullptr |
||
| ) | const |
Definition at line 1134 of file inftxt.cxx.
References CalcRect(), DrawRect(), vcl::FILLCOLOR, SwViewOption::GetFieldShadingsColor(), SwTextSizeInfo::GetOpt(), SwTextSizeInfo::GetOut(), SwRect::HasArea(), vcl::LINECOLOR, SwTextSizeInfo::OnWin(), and pOut.
Referenced by DrawViewOpt(), SwDropPortion::Paint(), and SwDropPortion::PaintText().
| void SwTextPaintInfo::DrawBorder | ( | const SwLinePortion & | rPor | ) | const |
Draw character border around a line portion.
| [in] | rPor | line portion around which border have to be drawn. |
Definition at line 1291 of file inftxt.cxx.
References CalcRect(), SwLinePortion::GetJoinBorderWithNext(), SwLinePortion::GetJoinBorderWithPrev(), SwTextSizeInfo::GetTextFrame(), SwRect::HasArea(), SwTextSizeInfo::m_pFnt, and PaintCharacterBorder().
Referenced by SwExpandPortion::Paint(), SwKernPortion::Paint(), SwTabPortion::Paint(), and SwTextPortion::Paint().
| void SwTextPaintInfo::DrawCheckBox | ( | const SwFieldFormCheckboxPortion & | rPor, |
| bool | bChecked | ||
| ) | const |
Definition at line 1103 of file inftxt.cxx.
References SwRect::Bottom(), tools::Rectangle::BottomLeft(), tools::Rectangle::BottomRight(), CalcRect(), vcl::FILLCOLOR, SwViewOption::GetFieldShadingsColor(), SwTextSizeInfo::GetOpt(), SwTextSizeInfo::GetOut(), SwRect::HasArea(), SwRect::Left(), vcl::LINECOLOR, SwTextSizeInfo::m_pOut, SwTextSizeInfo::OnWin(), pOut, SwRect::Right(), SwRect::SVRect(), SwRect::Top(), tools::Rectangle::TopLeft(), and tools::Rectangle::TopRight().
Referenced by SwFieldFormCheckboxPortion::Paint().
| void SwTextPaintInfo::DrawCSDFHighlighting | ( | const SwLinePortion & | rPor | ) | const |
Definition at line 1336 of file inftxt.cxx.
References aProperties, aSwMapProvider, CalcRect(), ChrFmt, COL_LIGHTGRAY(), SwXTextRange::CreateXTextRange(), OutputDevice::DrawRect(), OutputDevice::DrawText(), vcl::FILLCOLOR, vcl::FONT, SwTextFrame::GetDoc(), OutputDevice::GetFont(), SwTextSizeInfo::GetIdx(), SwTextSizeInfo::GetLen(), SwTextSizeInfo::GetOut(), SfxItemPropertySet::getPropertyMap(), SwUnoPropertyMapProvider::GetPropertySet(), SfxViewShell::GetStylesHighlighterCharColorMap(), SwTextSizeInfo::GetTextFrame(), OutputDevice::GetTextHeight(), OutputDevice::GetTextWidth(), SwStyleNameMapper::GetUIName(), SwTextFrame::GetView(), SwRect::HasArea(), SfxItemPropertyMap::hasPropertyByName(), SwView::IsHighlightCharDF(), vcl::LINECOLOR, SwTextFrame::MapViewToModelPos(), tools::Rectangle::Move(), OutputDevice::Pop(), PROPERTY_MAP_CHAR_AUTO_STYLE, OutputDevice::Push(), OutputDevice::SetFillColor(), OutputDevice::SetFont(), OutputDevice::SetLayoutMode(), OutputDevice::SetLineColor(), vcl::Font::SetOrientation(), tools::Rectangle::SetSize(), OutputDevice::SetTextFillColor(), SwRect::SVRect(), SwResId(), vcl::TEXTLAYOUTMODE, vcl::text::TextOriginLeft, UNO_NAME_CHAR_COLOR_THEME, UNO_NAME_CHAR_COLOR_TINT_OR_SHADE, UNO_NAME_CHAR_STYLE_NAME, UNO_NAME_NUMBERING_IS_NUMBER, UNO_NAME_NUMBERING_LEVEL, UNO_NAME_NUMBERING_START_VALUE, UNO_NAME_PAGE_STYLE_NAME, UNO_NAME_PARA_CONDITIONAL_STYLE_NAME, UNO_NAME_PARA_CONTINUEING_PREVIOUS_SUB_TREE, UNO_NAME_PARA_IS_NUMBERING_RESTART, UNO_NAME_PARA_STYLE_NAME, UNO_NAME_PARRSID, UNO_NAME_RSID, and UNO_NAME_SORTED_TEXT_ID.
Referenced by SwExpandPortion::Paint(), and SwTextPortion::Paint().
| void SwTextPaintInfo::DrawLineBreak | ( | const SwLinePortion & | rPor | ) | const |
Definition at line 977 of file inftxt.cxx.
References SwRect::AddLeft(), SwRect::AddRight(), ALL, SwRect::BottomLeft(), SwRect::BottomRight(), CalcRect(), CHAR_LINEBREAK, CHAR_LINEBREAK_RTL, SwBreakPortion::GetClear(), SwTextSizeInfo::GetTextFrame(), SwRect::HasArea(), SwLinePortion::IsBreakPortion(), SwFrame::IsRightToLeft(), lcl_DrawSpecial(), LEFT, LINE_BREAK_WIDTH, vcl::LINECOLOR, SwTextSizeInfo::m_pOut, NON_PRINTING_CHARACTER_COLOR, NONE, SwTextSizeInfo::OnWin(), RIGHT, SwRect::TopLeft(), SwRect::TopRight(), Width, and SwPosSize::Width().
Referenced by SwBreakPortion::Paint().
|
inline |
Definition at line 767 of file inftxt.hxx.
References DrawText_(), SwTextSizeInfo::m_nIdx, SwTextSizeInfo::m_pText, and nLength.
Referenced by SwExpandPortion::Paint(), and SwTextPortion::Paint().
| void SwTextPaintInfo::DrawPostIts | ( | bool | bScript | ) | const |
Definition at line 1056 of file inftxt.cxx.
References sw::proofreadingiterator::get(), SwFont::GetAscent(), SwFont::GetHeight(), SwTextSizeInfo::GetOpt(), SwFont::GetOrientation(), SwTextSizeInfo::GetOut(), SwViewOption::GetPostItsWidth(), SwTextSizeInfo::GetTextFrame(), SwViewOption::IsPostIts(), m_aPos, SwTextSizeInfo::m_pFnt, SwTextSizeInfo::m_pOpt, SwTextSizeInfo::m_pVsh, SwTextSizeInfo::OnWin(), SwViewOption::PaintPostIts(), Size::setHeight(), Size::setWidth(), Point::setX(), Point::setY(), SwTextFrame::SwitchHorizontalToVertical(), SwTextFrame::SwitchLTRtoRTL(), Point::X(), and Point::Y().
Referenced by SwPostItsPortion::Paint().
| void SwTextPaintInfo::DrawRect | ( | const SwRect & | rRect, |
| bool | bRetouche | ||
| ) | const |
Definition at line 948 of file inftxt.cxx.
References GetTextFly(), SwTextFly::IsOn(), m_aTextFly, SwTextSizeInfo::m_pOut, SwTextSizeInfo::OnWin(), and SwRect::SVRect().
Referenced by DrawBackBrush(), and DrawBackground().
| void SwTextPaintInfo::DrawRedArrow | ( | const SwLinePortion & | rPor | ) | const |
Definition at line 1024 of file inftxt.cxx.
References CHAR_LEFT_ARROW, CHAR_RIGHT_ARROW, COL_LIGHTRED(), SwTextSizeInfo::GetAscent(), GetPos(), SwTextSizeInfo::GetTextFrame(), SwRect::HasArea(), Size::Height(), SwPosSize::Height(), SwRect::Height(), lcl_DrawSpecial(), SwRect::Pos(), SPECIAL_FONT_HEIGHT, SwTextFrame::SwitchHorizontalToVertical(), and SwRect::Width().
Referenced by SwTextPainter::DrawTextLine().
| void SwTextPaintInfo::DrawTab | ( | const SwLinePortion & | rPor | ) | const |
Definition at line 960 of file inftxt.cxx.
References CalcRect(), CHAR_TAB, CHAR_TAB_RTL, DRAW_SPECIAL_OPTIONS_CENTER, DRAW_SPECIAL_OPTIONS_ROTATE, SwTextSizeInfo::GetTextFrame(), SwRect::HasArea(), SwFrame::IsRightToLeft(), lcl_DrawSpecial(), NON_PRINTING_CHARACTER_COLOR, and SwTextSizeInfo::OnWin().
Referenced by SwTabPortion::Paint().
|
inline |
Definition at line 753 of file inftxt.hxx.
References DrawText_(), and nLength.
Referenced by lcl_DrawSpecial(), SwExpandPortion::Paint(), SwBlankPortion::Paint(), SwNumberPortion::Paint(), SwCombinedPortion::Paint(), SwQuoVadisPortion::Paint(), SwGluePortion::Paint(), SwTmpEndPortion::Paint(), SwBreakPortion::Paint(), SwKernPortion::Paint(), SwControlCharPortion::Paint(), SwBookmarkPortion::Paint(), SwTabPortion::Paint(), SwTextPortion::Paint(), and SwHolePortion::Paint().
|
inline |
Definition at line 761 of file inftxt.hxx.
References DrawText_(), SwTextSizeInfo::m_nIdx, SwTextSizeInfo::m_pText, and nLength.
|
private |
Definition at line 603 of file inftxt.cxx.
References Point::AdjustX(), Point::AdjustY(), COL_AUTO(), SwFont::DrawStretchText_(), SwFont::DrawText_(), SwTextFly::DrawTextOpaque(), SwSmartTagMgr::Get(), sw::proofreadingiterator::get(), SwLinePortion::GetAscent(), SwFont::GetColor(), SwRootFrame::GetCurrShell(), SwLinePortion::GetJoinBorderWithPrev(), SwTextSizeInfo::GetKanaComp(), SwFont::GetLeftBorder(), SwFont::GetLeftBorderSpace(), SwLinePortion::GetNextPortion(), SwTextSizeInfo::GetOpt(), SwFont::GetOrientation(), SwTextInfo::GetParaPortion(), SvtLinguConfig::GetProperty(), SwFrame::getRootFrame(), SwParaPortion::GetScriptInfo(), GetSpaceAdd(), SwTextPortion::GetSpaceCnt(), GetTextFly(), SwTextSizeInfo::GetTextFrame(), SwPosSize::Height(), SwLinePortion::InFieldGrp(), SwLinePortion::InFixMargGrp(), SwLinePortion::InNumberGrp(), SwLinePortion::InTextGrp(), SwViewOption::IsBlank(), SwLinePortion::IsBlankPortion(), SwLinePortion::IsDropPortion(), SwLinePortion::IsHolePortion(), SwTextSizeInfo::IsMulti(), SwTextSizeInfo::IsNoSymbol(), SwViewOption::IsOnlineSpell(), SwViewOption::IsPagePreview(), SmartTagMgr::IsSmartTagsEnabled(), Color::IsTransparent(), m_aPos, SwTextSizeInfo::m_bOnWin, SwTextSizeInfo::m_pFnt, SwTextSizeInfo::m_pFrame, m_pGrammarCheckList, SwTextSizeInfo::m_pOut, m_pSmartTags, SwTextSizeInfo::m_pUnderFnt, m_pWrongList, nLength, SwTextSizeInfo::OnWin(), SwDrawTextInfo::SetAscent(), SwDrawTextInfo::SetFont(), SwDrawTextInfo::SetFrame(), SwDrawTextInfo::SetGrammarCheck(), SwDrawTextInfo::SetKanaComp(), SwDrawTextInfo::SetKern(), SwDrawTextInfo::SetNumberOfBlanks(), SwDrawTextInfo::SetPos(), SwDrawTextInfo::SetSize(), SwDrawTextInfo::SetSmartTags(), SwDrawTextInfo::SetSnapToGrid(), SwDrawTextInfo::SetSpace(), SwDrawTextInfo::SetSpaceStop(), SwDrawTextInfo::SetUnderFnt(), SwDrawTextInfo::SetWrong(), Point::setX(), Point::setY(), SwTextSizeInfo::SnapToGrid(), UPN_IS_GRAMMAR_AUTO, SwPosSize::Width(), Point::X(), and Point::Y().
Referenced by DrawMarkedText(), and DrawText().
| void SwTextPaintInfo::DrawViewOpt | ( | const SwLinePortion & | rPor, |
| PortionType | nWhich, | ||
| const Color * | pColor = nullptr |
||
| ) | const |
Definition at line 1470 of file inftxt.cxx.
References Blank, Bookmark, ContentControl, ControlChar, DrawBackground(), Field, Footnote, SwTextSizeInfo::GetOpt(), SwTextFrame::GetTextNodeForParaProps(), SwTextNode::HasMarkedLabel(), Hidden, InputField, SwFrame::IsFootnoteAllowed(), SwTextSizeInfo::IsMulti(), SwTextSizeInfo::m_pFrame, Meta, Number, SwTextSizeInfo::OnWin(), QuoVadis, Ref, SoftHyphen, Tab, and Tox.
Referenced by SwBlankPortion::Paint(), SwFieldPortion::Paint(), SwHiddenPortion::Paint(), SwNumberPortion::Paint(), SwCombinedPortion::Paint(), SwFootnotePortion::Paint(), SwQuoVadisPortion::Paint(), SwSoftHyphPortion::Paint(), SwSoftHyphStrPortion::Paint(), SwRefPortion::Paint(), SwIsoRefPortion::Paint(), SwKernPortion::Paint(), SwControlCharPortion::Paint(), SwBookmarkPortion::Paint(), SwTabPortion::Paint(), SwToxPortion::Paint(), SwIsoToxPortion::Paint(), SwTextInputFieldPortion::Paint(), and SwTextPainter::PaintMultiPortion().
|
inline |
Definition at line 378 of file inftxt.hxx.
References m_pBrushItem.
|
inline |
Definition at line 457 of file inftxt.hxx.
References m_pGrammarCheckList.
Referenced by SwExpandPortion::Paint(), and SwTextPortion::Paint().
|
inline |
Definition at line 743 of file inftxt.hxx.
References SwRepaint::GetOffset(), SwTextInfo::GetParaPortion(), and SwParaPortion::GetRepaint().
Referenced by SwTextFormatter::BuildMultiPortion(), and SwTextFormatter::BuildPortions().
|
inline |
Definition at line 437 of file inftxt.hxx.
References m_aPaintRect.
Referenced by SwGrfNumPortion::Paint(), sw::FlyContentPortion::Paint(), and SwDropPortion::PaintDrop().
|
inline |
Definition at line 434 of file inftxt.hxx.
References m_aPos.
Referenced by SwTextFormatter::BuildMultiPortion(), DrawRedArrow(), SwTextPainter::DrawTextLine(), SwFieldPortion::Format(), lcl_DrawSpecial(), SwBlankPortion::Paint(), SwNumberPortion::Paint(), SwCombinedPortion::Paint(), SwGluePortion::Paint(), SwArrowPortion::Paint(), SwHiddenTextPortion::Paint(), SwControlCharPortion::Paint(), SwBookmarkPortion::Paint(), and SwTextFormatter::UpdatePos().
|
inline |
Definition at line 451 of file inftxt.hxx.
References m_pSpaceAdd.
|
inline |
Definition at line 454 of file inftxt.hxx.
References m_pWrongList.
Referenced by SwTextPortion::Paint().
|
inline |
Definition at line 460 of file inftxt.hxx.
References m_pSmartTags.
Referenced by SwExpandPortion::Paint(), and SwTextPortion::Paint().
|
inline |
Definition at line 446 of file inftxt.hxx.
References m_nSpaceIdx, m_pSpaceAdd, and size.
Referenced by CalcRect(), DrawText_(), SwDropPortion::Format(), SwLinePortion::Move(), and SwLinePortion::PrePaint().
|
inline |
Definition at line 441 of file inftxt.hxx.
References m_nSpaceIdx.
|
inline |
Definition at line 387 of file inftxt.hxx.
References m_aTextFly.
Referenced by SwTextFormatter::CalcBottomLine(), SwTextFormatter::CalcFlyWidth(), SwTextFrame::CalcLineSpace(), SwTextFormatter::ChkFlyUnderflow(), DrawRect(), DrawText_(), SwBreakPortion::Format(), SwTextFrame::FormatAdjust(), SwTextFrame::FormatImpl(), SwTextFormatter::FormatLine(), SwTextFormatter::Hyphenate(), lcl_IsDropFlyInter(), and SwTextFrame::PaintSwFrame().
|
inline |
Definition at line 388 of file inftxt.hxx.
References m_aTextFly.
|
inline |
Definition at line 444 of file inftxt.hxx.
References m_nSpaceIdx.
Referenced by SwLinePortion::Move().
|
privatedelete |
|
inline |
Definition at line 445 of file inftxt.hxx.
References m_pSpaceAdd.
|
inline |
Definition at line 442 of file inftxt.hxx.
References m_nSpaceIdx.
Referenced by SwTextPainter::DrawTextLine(), SwTextPainter::PaintDropPortion(), and SwTextFormatter::UpdatePos().
|
inline |
Definition at line 456 of file inftxt.hxx.
References m_pGrammarCheckList.
Referenced by SwTextFrame::PaintSwFrame().
|
inline |
Definition at line 748 of file inftxt.hxx.
References SwTextInfo::GetParaPortion(), SwParaPortion::GetRepaint(), and SwRepaint::SetOffset().
Referenced by SwTextFormatter::BuildMultiPortion(), SwTextFormatter::BuildPortions(), SwTextPainter::CalcPaintOfst(), SwTextFormatter::FormatLine(), SwTextFormatInfo::Init(), and SwTextFormatter::Underflow().
|
inline |
Definition at line 435 of file inftxt.hxx.
References m_aPos.
Referenced by SwTextPainter::DrawTextLine(), lcl_DrawSpecial(), SwBlankPortion::Paint(), SwGluePortion::Paint(), SwTextPainter::PaintDropPortion(), and SwTextFormatter::UpdatePos().
|
inline |
Definition at line 450 of file inftxt.hxx.
References m_pSpaceAdd.
Referenced by SwTextPainter::DrawTextLine(), SwTextPainter::PaintDropPortion(), and SwTextFormatter::UpdatePos().
|
inline |
Definition at line 459 of file inftxt.hxx.
References m_pSmartTags.
Referenced by SwTextFrame::PaintSwFrame().
|
inline |
Definition at line 443 of file inftxt.hxx.
References m_nSpaceIdx.
|
inline |
Definition at line 453 of file inftxt.hxx.
References m_pWrongList.
Referenced by SwTextFrame::PaintSwFrame().
|
inline |
Definition at line 382 of file inftxt.hxx.
References m_aPos, and Point::X().
Referenced by SwTextPortion::BreakCut(), SwTextFormatter::BuildMultiPortion(), SwTextFormatter::BuildPortions(), SwTextFormatter::CalcFlyWidth(), SwTextPainter::CalcPaintOfst(), CalcRect(), SwTextPainter::DrawTextLine(), SwLinePortion::Format(), SwDropPortion::Format(), SwNumberPortion::Format(), SwGrfNumPortion::Format(), SwCombinedPortion::Format(), SwFlyPortion::Format(), SwFlyCntPortion::Format(), SwQuoVadisPortion::Format(), SwHyphPortion::Format(), SwTextPortion::Format(), SwHolePortion::Format(), SwTextPortion::Format_(), SwDoubleLinePortion::FormatBrackets(), SwBlankPortion::FormatEOL(), SwSoftHyphPortion::FormatEOL(), SwTextPortion::FormatEOL(), SwTextFormatInfo::GetLineWidth(), SwTextFly::GetMaxBottom(), SwTextFormatInfo::Init(), lcl_IsDropFlyInter(), SwLinePortion::Move(), SwTextFormatter::NewFlyCntPortion(), SwTextFormatter::NewPortion(), SwTextFormatter::NewTabPortion(), SwNumberPortion::Paint(), SwGrfNumPortion::Paint(), SwDoubleLinePortion::PaintBracket(), SwDropPortion::PaintDrop(), SwTextPainter::PaintMultiPortion(), SwDropPortion::PaintText(), SwTabPortion::PostFormat(), SwTabPortion::PreFormat(), SwLinePortion::PrePaint(), SwTextFormatter::Underflow(), SwTextFormatter::UpdatePos(), and SwTextFormatter::WhichTextPor().
|
inline |
Definition at line 383 of file inftxt.hxx.
References m_aPos, and Point::setX().
|
inline |
Definition at line 384 of file inftxt.hxx.
References m_aPos, and Point::Y().
Referenced by SwTextFormatter::BuildPortions(), CalcRect(), SwTextPainter::DrawTextLine(), SwBreakPortion::Format(), lcl_IsDropFlyInter(), SwLinePortion::Move(), SwGrfNumPortion::Paint(), SwBreakPortion::Paint(), SwDropPortion::PaintDrop(), SwTextPainter::PaintDropPortion(), SwTextPainter::PaintMultiPortion(), SwDropPortion::PaintText(), SwLinePortion::PrePaint(), and SwTextFormatter::UpdatePos().
|
inline |
Definition at line 385 of file inftxt.hxx.
References m_aPos, and Point::setY().
|
private |
Definition at line 351 of file inftxt.hxx.
Referenced by CtorInitTextPaintInfo(), and GetPaintRect().
|
private |
Definition at line 350 of file inftxt.hxx.
Referenced by DrawPostIts(), DrawText_(), GetPos(), SetPos(), X(), and Y().
|
private |
Definition at line 349 of file inftxt.hxx.
Referenced by CtorInitTextPaintInfo(), DrawRect(), and GetTextFly().
|
private |
Definition at line 353 of file inftxt.hxx.
Referenced by CtorInitTextPaintInfo(), GetSpaceAdd(), GetSpaceIdx(), IncSpaceIdx(), ResetSpaceIdx(), and SetSpaceIdx().
|
private |
Definition at line 348 of file inftxt.hxx.
Referenced by CtorInitTextPaintInfo(), and GetBrushItem().
|
private |
Definition at line 345 of file inftxt.hxx.
Referenced by CtorInitTextPaintInfo(), DrawText_(), GetGrammarCheckList(), and SetGrammarCheckList().
|
private |
Definition at line 346 of file inftxt.hxx.
Referenced by CtorInitTextPaintInfo(), DrawText_(), GetSmartTags(), and SetSmartTags().
|
private |
Definition at line 347 of file inftxt.hxx.
Referenced by CtorInitTextPaintInfo(), GetpSpaceAdd(), GetSpaceAdd(), RemoveFirstSpaceAdd(), and SetpSpaceAdd().
|
private |
Definition at line 344 of file inftxt.hxx.
Referenced by CtorInitTextPaintInfo(), DrawText_(), GetpWrongList(), and SetWrongList().