|
LibreOffice Module sw (master) 1
|
#include <pormulti.hxx>
Public Member Functions | |
| SwRubyPortion (const SwRubyPortion &rRuby, TextFrameIndex nEnd) | |
| SwRubyPortion (const SwMultiCreator &rCreate, const SwFont &rFnt, const IDocumentSettingAccess &rIDocumentSettingAccess, TextFrameIndex nEnd, TextFrameIndex nOffs, const SwTextSizeInfo &rInf) | |
| void | CalcRubyOffset () |
| void | Adjust (SwTextFormatInfo &rInf) |
| css::text::RubyAdjust | GetAdjustment () const |
| TextFrameIndex | GetRubyOffset () const |
Public Member Functions inherited from SwMultiPortion | |
| virtual | ~SwMultiPortion () override |
| const SwLineLayout & | GetRoot () const |
| SwLineLayout & | GetRoot () |
| bool | HasTabulator () const |
| bool | IsFormatted () const |
| void | SetFormatted () |
| bool | IsFollowField () const |
| void | SetFollowField () |
| bool | HasFlyInContent () const |
| void | SetFlyInContent (bool bNew) |
| bool | IsDouble () const |
| bool | IsRuby () const |
| bool | IsBidi () const |
| bool | OnTop () const |
| bool | OnRight () const |
| RubyPosition | GetRubyPosition () const |
| void | ActualizeTabulator () |
| virtual void | Paint (const SwTextPaintInfo &rInf) const override |
| virtual tools::Long | CalcSpacing (tools::Long nSpaceAdd, const SwTextSizeInfo &rInf) const override |
| virtual bool | ChgSpaceAdd (SwLineLayout *pCurr, tools::Long nSpaceAdd) const |
| void | CalcSize (SwTextFormatter &rLine, SwTextFormatInfo &rInf) |
| bool | HasBrackets () const |
| bool | HasRotation () const |
| bool | IsRevers () const |
| sal_uInt8 | GetDirection () const |
| virtual void | HandlePortion (SwPortionHandler &rPH) const override |
| void | dumpAsXml (xmlTextWriterPtr pWriter, const OUString &rText, TextFrameIndex &nOffset) const 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) |
Private Member Functions | |
| void | Adjust_ (SwTextFormatInfo &rInf) |
Private Attributes | |
| TextFrameIndex | m_nRubyOffset |
| css::text::RubyAdjust | m_nAdjustment |
Additional Inherited Members | |
Protected Member Functions inherited from SwMultiPortion | |
| SwMultiPortion (TextFrameIndex const nEnd) | |
| void | SetDouble () |
| void | SetRuby () |
| void | SetBidi () |
| void | SetRubyPosition (RubyPosition eNew) |
| void | SetTab1 (bool bNew) |
| void | SetTab2 (bool bNew) |
| void | SetDirection (sal_uInt8 nNew) |
| bool | GetTab1 () const |
| bool | GetTab2 () const |
Protected Member Functions inherited from SwLinePortion | |
| SwLinePortion () | |
Protected Attributes inherited from SwLinePortion | |
| SwLinePortion * | mpNextPortion |
| TextFrameIndex | mnLineLength |
| SwTwips | mnAscent |
| SwTwips | mnHangingBaseline |
Definition at line 190 of file pormulti.hxx.
| SwRubyPortion::SwRubyPortion | ( | const SwRubyPortion & | rRuby, |
| TextFrameIndex | nEnd | ||
| ) |
Definition at line 564 of file pormulti.cxx.
References SwMultiPortion::GetDirection(), SwMultiPortion::GetRubyPosition(), SwMultiPortion::SetDirection(), SwMultiPortion::SetRuby(), and SwMultiPortion::SetRubyPosition().
| SwRubyPortion::SwRubyPortion | ( | const SwMultiCreator & | rCreate, |
| const SwFont & | rFnt, | ||
| const IDocumentSettingAccess & | rIDocumentSettingAccess, | ||
| TextFrameIndex | nEnd, | ||
| TextFrameIndex | nOffs, | ||
| const SwTextSizeInfo & | rInf | ||
| ) |
Definition at line 576 of file pormulti.cxx.
References ABOVE, aStr, BELOW, DIR_LEFT2RIGHT, DIR_RIGHT2LEFT, ePos, SwFrame::FindPageFrame(), SwFormatRuby::GetAdjustment(), SwFormat::GetAttrSet(), GetGridItem(), SwLineLayout::GetNext(), SwFont::GetOrientation(), SwFormatRuby::GetPosition(), SwMultiPortion::GetRoot(), SwTextAttr::GetRuby(), SwTextGridItem::GetRubyTextBelow(), SwFormatRuby::GetText(), SwTextSizeInfo::GetTextFrame(), SwFrame::IsVertical(), m_nAdjustment, m_nRubyOffset, SwMultiCreator::nId, SwMultiCreator::nLevel, SwMultiPortion::OnRight(), SwMultiPortion::OnTop(), SwMultiCreator::pAttr, RES_TXTATR_CJK_RUBY(), RIGHT, rSet, Ruby, SwMultiPortion::SetDirection(), SwFieldPortion::SetFollow(), SwLineLayout::SetNext(), SwFieldPortion::SetNextOffset(), SwLinePortion::SetNextPortion(), SwMultiPortion::SetRuby(), SwMultiPortion::SetRubyPosition(), SwTextSizeInfo::SnapToGrid(), and SwTextAttr::Which().
|
inline |
Definition at line 204 of file pormulti.hxx.
References Adjust_(), SwMultiPortion::GetRoot(), and m_nAdjustment.
|
private |
Definition at line 656 of file pormulti.cxx.
References SwLinePortion::AddPrtWidth(), SwLinePortion::Append(), SwTextPortion::CopyLinePortion(), SwLineLayout::CreateSpaceAdd(), SwLinePortion::FindLastPortion(), SwLineLayout::GetFirstPortion(), SwTextSizeInfo::GetIdx(), SwLinePortion::GetLen(), SwLineLayout::GetNext(), SwLinePortion::GetNextPortion(), SwMultiPortion::GetRoot(), SwMultiPortion::GetTab1(), SwMultiPortion::GetTab2(), SwLinePortion::InTextGrp(), m_nAdjustment, SwTextSizeInfo::SetIdx(), SwLinePortion::SetNextPortion(), SPACING_PRECISION_FACTOR, and SwPosSize::Width().
Referenced by Adjust().
| void SwRubyPortion::CalcRubyOffset | ( | ) |
Definition at line 745 of file pormulti.cxx.
References COMPLETE_STRING, SwLineLayout::GetFirstPortion(), SwLineLayout::GetNext(), SwFieldPortion::GetNextOffset(), SwLinePortion::GetNextPortion(), SwMultiPortion::GetRoot(), SwFieldPortion::HasFollow(), SwLinePortion::InFieldGrp(), m_nRubyOffset, and SwMultiPortion::OnTop().
|
inline |
Definition at line 206 of file pormulti.hxx.
References m_nAdjustment.
|
inline |
Definition at line 207 of file pormulti.hxx.
References m_nRubyOffset.
Referenced by SwTextFormatter::MakeRestPortion().
|
private |
Definition at line 193 of file pormulti.hxx.
Referenced by Adjust(), Adjust_(), GetAdjustment(), and SwRubyPortion().
|
private |
Definition at line 192 of file pormulti.hxx.
Referenced by CalcRubyOffset(), GetRubyOffset(), and SwRubyPortion().