LibreOffice Module sw (master)  1
Public Member Functions | Private Member Functions | Private Attributes | List of all members
SwTextFormatInfo Class Reference

#include <inftxt.hxx>

Inheritance diagram for SwTextFormatInfo:
[legend]
Collaboration diagram for SwTextFormatInfo:
[legend]

Public Member Functions

void CtorInitTextFormatInfo (OutputDevice *pRenderContext, SwTextFrame *pFrame, const bool bInterHyph=false, const bool bQuick=false, const bool bTst=false)
 
 SwTextFormatInfo (OutputDevice *pRenderContext, SwTextFrame *pFrame, const bool bInterHyphL=false, const bool bQuickL=false, const bool bTst=false)
 
 SwTextFormatInfo (const SwTextFormatInfo &rInf, SwLineLayout &rLay, SwTwips nActWidth)
 There are a few differences between a copy constructor and the following constructor for multi-line formatting. More...
 
sal_uInt16 Width () const
 
void Width (const sal_uInt16 nNew)
 
void Init ()
 
SwTwips GetLineWidth ()
 Returns the distance between the current horizontal position and the end of the line. More...
 
TextFrameIndex GetReformatStart () const
 
SwTwips Left () const
 
void Left (const SwTwips nNew)
 
SwTwips Right () const
 
void Right (const SwTwips nNew)
 
SwTwips First () const
 
void First (const SwTwips nNew)
 
void LeftMargin (const SwTwips nNew)
 
sal_uInt16 RealWidth () const
 
void RealWidth (const sal_uInt16 nNew)
 
sal_uInt16 ForcedLeftMargin () const
 
void ForcedLeftMargin (const sal_uInt16 nN)
 
sal_uInt8MaxHyph ()
 
const sal_uInt8MaxHyph () const
 
SwLineLayoutGetRoot ()
 
const SwLineLayoutGetRoot () const
 
void SetRoot (SwLineLayout *pNew)
 
SwLinePortionGetLast ()
 
void SetLast (SwLinePortion *pNewLast)
 
bool IsFull () const
 
void SetFull (const bool bNew)
 
bool IsHyphForbud () const
 
void ChkNoHyph (const sal_uInt8 bEnd, const sal_uInt8 bMid)
 
bool IsIgnoreFly () const
 
void SetIgnoreFly (const bool bNew)
 
bool IsFakeLineStart () const
 
void SetFakeLineStart (const bool bNew)
 
bool IsStop () const
 
void SetStop (const bool bNew)
 
SwLinePortionGetRest ()
 
void SetRest (SwLinePortion *pNewRest)
 
bool IsNewLine () const
 
void SetNewLine (const bool bNew)
 
bool IsShift () const
 
void SetShift (const bool bNew)
 
bool IsInterHyph () const
 
bool IsUnderflow () const
 
void ClrUnderflow ()
 
bool IsDropInit () const
 
void SetDropInit (const bool bNew)
 
bool IsQuick () const
 
bool IsTest () const
 
TextFrameIndex GetLineStart () const
 
void SetLineStart (TextFrameIndex const nNew)
 
sal_uInt16 GetLineHeight () const
 
void SetLineHeight (const sal_uInt16 nNew)
 
sal_uInt16 GetLineNetHeight () const
 
void SetLineNetHeight (const sal_uInt16 nNew)
 
const SwLinePortionGetUnderflow () const
 
SwLinePortionGetUnderflow ()
 
void SetUnderflow (SwLinePortion *pNew)
 
TextFrameIndex GetSoftHyphPos () const
 
void SetSoftHyphPos (TextFrameIndex const nNew)
 
void SetParaFootnote ()
 
SwFlyPortionGetFly ()
 
void SetFly (SwFlyPortion *pNew)
 
const SwAttrSetGetCharAttr () const
 
SwTabPortionGetLastTab ()
 
void SetLastTab (SwTabPortion *pNew)
 
sal_Unicode GetTabDecimal () const
 
void SetTabDecimal (const sal_Unicode cNew)
 
void ClearHookChar ()
 
void SetHookChar (const sal_Unicode cNew)
 
sal_Unicode GetHookChar () const
 
bool IsFootnoteDone () const
 
void SetFootnoteDone (const bool bNew)
 
bool IsErgoDone () const
 
void SetErgoDone (const bool bNew)
 
bool IsNumDone () const
 
void SetNumDone (const bool bNew)
 
bool IsArrowDone () const
 
void SetArrowDone (const bool bNew)
 
bool ChgHyph (const bool bNew)
 
bool IsHyphenate () const
 If the Hyphenator returns ERROR or the language is set to NOLANGUAGE we do not hyphenate. More...
 
TextFrameIndex GetUnderScorePos () const
 
void SetUnderScorePos (TextFrameIndex const nNew)
 
css::uno::Reference< css::linguistic2::XHyphenatedWord > HyphWord (const OUString &rText, const sal_Int32 nMinTrail)
 
const css::beans::PropertyValuesGetHyphValues () const
 
bool CheckFootnotePortion (SwLineLayout const *pCurr)
 
const SwFormatDropGetDropFormat () const
 
bool LastKernPortion ()
 
TextFrameIndex ScanPortionEnd (TextFrameIndex nStart, TextFrameIndex nEnd)
 
void SetTabOverflow (bool bOverflow)
 
bool IsTabOverflow ()
 
- Public Member Functions inherited from SwTextPaintInfo
 SwTextPaintInfo (const SwTextPaintInfo &rInf)
 
 SwTextPaintInfo (const SwTextPaintInfo &rInf, const OUString *pText)
 
void CtorInitTextPaintInfo (OutputDevice *pRenderContext, SwTextFrame *pFrame, const SwRect &rPaint)
 
const SvxBrushItemGetBrushItem () const
 
 SwTextPaintInfo (SwTextFrame *pFrame, const SwRect &rPaint)
 
SwTwips X () const
 
void X (const long nNew)
 
SwTwips Y () const
 
void Y (const SwTwips nNew)
 
SwTextFlyGetTextFly ()
 
const SwTextFlyGetTextFly () 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
 
void DrawViewOpt (const SwLinePortion &rPor, PortionType nWhich) 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 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 PointGetPos () const
 
void SetPos (const Point &rNew)
 
const SwRectGetPaintRect () const
 
sal_uInt16 GetSpaceIdx () const
 
void ResetSpaceIdx ()
 
void SetSpaceIdx (sal_uInt16 nNew)
 
void IncSpaceIdx ()
 
void RemoveFirstSpaceAdd ()
 
long GetSpaceAdd () const
 
void SetpSpaceAdd (std::vector< long > *pNew)
 
std::vector< long > * GetpSpaceAdd () const
 
void SetWrongList (sw::WrongListIterator *const pNew)
 
sw::WrongListIteratorGetpWrongList () const
 
void SetGrammarCheckList (sw::WrongListIterator *const pNew)
 
sw::WrongListIteratorGetGrammarCheckList () const
 
void SetSmartTags (sw::WrongListIterator *const pNew)
 
sw::WrongListIteratorGetSmartTags () 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::unique_ptr< SwMultiCreatorGetMultiCreator (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
 
SwViewShellGetVsh ()
 
const SwViewShellGetVsh () const
 
vcl::RenderContextGetOut ()
 
const vcl::RenderContextGetOut () const
 
void SetOut (OutputDevice *pNewOut)
 
vcl::RenderContextGetRefDev ()
 
const vcl::RenderContextGetRefDev () const
 
SwFontGetFont ()
 
const SwFontGetFont () const
 
void SetFont (SwFont *pNew)
 
void SelectFont ()
 
void SetUnderFnt (SwUnderlineFont *pNew)
 
SwUnderlineFontGetUnderFnt () const
 
const SwViewOptionGetOpt () 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::TextLayoutCache const *=nullptr) const
 
SwPosSize GetTextSize (const SwScriptInfo *pSI, TextFrameIndex nIdx, TextFrameIndex nLen) const
 
SwPosSize GetTextSize (const OUString &rText) const
 
TextFrameIndex GetTextBreak (const long nLineWidth, const TextFrameIndex nMaxLen, const sal_uInt16 nComp, vcl::TextLayoutCache const *) const
 
TextFrameIndex GetTextBreak (const long nLineWidth, const TextFrameIndex nMaxLen, const sal_uInt16 nComp, TextFrameIndex &rExtraCharPos, vcl::TextLayoutCache const *) const
 
sal_uInt16 GetAscent () const
 
TextFrameIndex GetIdx () const
 
void SetIdx (const TextFrameIndex nNew)
 
TextFrameIndex GetLen () const
 
void SetLen (const TextFrameIndex nNew)
 
void SetText (const OUString &rNew)
 
bool IsNoSymbol () const
 
void NoteAnimation () const
 
SwTextFrameGetTextFrame ()
 
const SwTextFrameGetTextFrame () 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< vcl::TextLayoutCache > & GetCachedVclData () const
 
void SetCachedVclData (std::shared_ptr< vcl::TextLayoutCache > const &pCachedVclData)
 
- Public Member Functions inherited from SwTextInfo
void CtorInitTextInfo (SwTextFrame *pFrame)
 
 SwTextInfo (const SwTextInfo &rInf)
 
 SwTextInfo (SwTextFrame *pFrame)
 
SwParaPortionGetParaPortion ()
 
const SwParaPortionGetParaPortion () const
 
TextFrameIndex GetTextStart () const
 

Private Member Functions

bool InitHyph (const bool bAuto=false)
 
bool CheckFootnotePortion_ (SwLineLayout const *pCurr)
 

Private Attributes

css::beans::PropertyValues m_aHyphVals
 
SwLineLayoutm_pRoot
 
SwLinePortionm_pLast
 
SwFlyPortionm_pFly
 
SwLinePortionm_pUnderflow
 
SwLinePortionm_pRest
 
SwTabPortionm_pLastTab
 
TextFrameIndex m_nSoftHyphPos
 SoftHyphPos for Hyphenation. More...
 
TextFrameIndex m_nLineStart
 Current line start in rText. More...
 
TextFrameIndex m_nUnderScorePos
 enlarge repaint if underscore has been found More...
 
SwTwips m_nLeft
 
SwTwips m_nRight
 
SwTwips m_nFirst
 
SwTwips m_nLeftMargin = 0
 First or left margin, depending on context. More...
 
sal_uInt16 m_nRealWidth
 
sal_uInt16 m_nWidth
 
sal_uInt16 m_nLineHeight
 
sal_uInt16 m_nLineNetHeight
 
sal_uInt16 m_nForcedLeftMargin
 
bool m_bFull: 1
 
bool m_bFootnoteDone: 1
 
bool m_bErgoDone: 1
 
bool m_bNumDone: 1
 
bool m_bArrowDone: 1
 
bool m_bStop: 1
 
bool m_bNewLine: 1
 
bool m_bShift: 1
 
bool m_bUnderflow: 1
 
bool m_bInterHyph: 1
 
bool m_bAutoHyph: 1
 
bool m_bDropInit: 1
 
bool m_bQuick: 1
 
bool m_bNoEndHyph: 1
 
bool m_bNoMidHyph: 1
 
bool m_bIgnoreFly: 1
 
bool m_bFakeLineStart: 1
 
bool m_bTabOverflow: 1
 
bool m_bTestFormat: 1
 
sal_Unicode m_cTabDecimal
 
sal_Unicode m_cHookChar
 
sal_uInt8 m_nMaxHyph
 

Additional Inherited Members

- Protected Member Functions inherited from SwTextPaintInfo
 SwTextPaintInfo ()
 
- Protected Member Functions inherited from SwTextSizeInfo
void CtorInitTextSizeInfo (OutputDevice *pRenderContext, SwTextFrame *pFrame, TextFrameIndex nIdx)
 
 SwTextSizeInfo ()
 
- Protected Member Functions inherited from SwTextInfo
 SwTextInfo ()
 
- Protected Attributes inherited from SwTextSizeInfo
SwTextPortionMap m_aMaxWidth
 
std::deque< sal_uInt16 > * m_pKanaComp
 
SwViewShellm_pVsh
 
VclPtr< OutputDevicem_pOut
 
VclPtr< OutputDevicem_pRef
 
std::shared_ptr< vcl::TextLayoutCachem_pCachedVclData
 
SwFontm_pFnt
 
SwUnderlineFontm_pUnderFnt
 
SwTextFramem_pFrame
 
const SwViewOptionm_pOpt
 
const OUString * m_pText
 
TextFrameIndex m_nIdx
 
TextFrameIndex m_nLen
 
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
 

Detailed Description

Definition at line 471 of file inftxt.hxx.

Constructor & Destructor Documentation

SwTextFormatInfo::SwTextFormatInfo ( OutputDevice pRenderContext,
SwTextFrame pFrame,
const bool  bInterHyphL = false,
const bool  bQuickL = false,
const bool  bTst = false 
)

Definition at line 1501 of file inftxt.cxx.

References CtorInitTextFormatInfo().

SwTextFormatInfo::SwTextFormatInfo ( const SwTextFormatInfo rInf,
SwLineLayout rLay,
SwTwips  nActWidth 
)

There are a few differences between a copy constructor and the following constructor for multi-line formatting.

The root is the first line inside the multi-portion, the line start is the actual position in the text, the line width is the rest width from the surrounding line and the bMulti and bFirstMulti-flag has to be set correctly.

Definition at line 1515 of file inftxt.cxx.

References COMPLETE_STRING, SwTextSizeInfo::GetIdx(), SwTextSizeInfo::IsFirstMulti(), m_bArrowDone, m_bAutoHyph, m_bDropInit, m_bErgoDone, m_bFakeLineStart, m_bFootnoteDone, m_bFull, m_bIgnoreFly, m_bInterHyph, m_bNewLine, m_bNoEndHyph, m_bNoMidHyph, m_bNumDone, m_bQuick, m_bShift, m_bStop, m_bTestFormat, m_bUnderflow, m_cHookChar, m_cTabDecimal, m_nFirst, m_nForcedLeftMargin, m_nLeft, m_nLineHeight, m_nLineNetHeight, m_nLineStart, m_nMaxHyph, m_nRealWidth, m_nRight, m_nSoftHyphPos, m_nUnderScorePos, m_nWidth, m_pFly, m_pLast, m_pLastTab, m_pRest, m_pRoot, m_pUnderflow, SwTextSizeInfo::SetFirstMulti(), and SwTextSizeInfo::SetMulti().

Member Function Documentation

bool SwTextFormatInfo::CheckFootnotePortion ( SwLineLayout const *  pCurr)
inline

Definition at line 659 of file inftxt.hxx.

References CheckFootnotePortion_(), and SwTextSizeInfo::IsFootnoteInside().

Referenced by SwTextFormatter::FormatLine().

bool SwTextFormatInfo::CheckFootnotePortion_ ( SwLineLayout const *  pCurr)
private
bool SwTextFormatInfo::ChgHyph ( const bool  bNew)
void SwTextFormatInfo::ChkNoHyph ( const sal_uInt8  bEnd,
const sal_uInt8  bMid 
)
inline

Definition at line 579 of file inftxt.hxx.

References m_bNoEndHyph, m_bNoMidHyph, and m_nMaxHyph.

Referenced by SwTextFormatter::BuildPortions(), and SwTextFormatter::FeedInf().

void SwTextFormatInfo::ClearHookChar ( )
inline

Definition at line 632 of file inftxt.hxx.

Referenced by SwTextFormatter::NewPortion().

void SwTextFormatInfo::ClrUnderflow ( )
inline

Definition at line 596 of file inftxt.hxx.

References m_bUnderflow.

Referenced by SwTextFormatter::BuildPortions().

void SwTextFormatInfo::CtorInitTextFormatInfo ( OutputDevice pRenderContext,
SwTextFrame pFrame,
const bool  bInterHyph = false,
const bool  bQuick = false,
const bool  bTst = false 
)
SwTwips SwTextFormatInfo::First ( ) const
inline

Definition at line 558 of file inftxt.hxx.

References m_nFirst.

Referenced by SwTextFormatter::FeedInf(), SwNumberPortion::Format(), and SwGrfNumPortion::Format().

void SwTextFormatInfo::First ( const SwTwips  nNew)
inline

Definition at line 559 of file inftxt.hxx.

sal_uInt16 SwTextFormatInfo::ForcedLeftMargin ( ) const
inline
void SwTextFormatInfo::ForcedLeftMargin ( const sal_uInt16  nN)
inline

Definition at line 564 of file inftxt.hxx.

const SwAttrSet & SwTextFormatInfo::GetCharAttr ( ) const
inline
const SwFormatDrop * SwTextFormatInfo::GetDropFormat ( ) const
SwFlyPortion* SwTextFormatInfo::GetFly ( )
inline
sal_Unicode SwTextFormatInfo::GetHookChar ( ) const
inline

Definition at line 634 of file inftxt.hxx.

References m_cHookChar.

Referenced by SwTextFormatter::NewPortion(), and SwTextFormatter::WhichFirstPortion().

const PropertyValues & SwTextFormatInfo::GetHyphValues ( ) const

Definition at line 1364 of file inftxt.cxx.

References m_aHyphVals.

Referenced by SwTextGuess::AlternativeSpelling(), SwTextGuess::Guess(), and HyphWord().

SwLinePortion* SwTextFormatInfo::GetLast ( )
inline
SwTabPortion* SwTextFormatInfo::GetLastTab ( )
inline
sal_uInt16 SwTextFormatInfo::GetLineHeight ( ) const
inline

Definition at line 606 of file inftxt.hxx.

References m_nLineHeight.

Referenced by SwTextFormatter::CalcFlyWidth(), and SwTextFormatter::FormatLine().

sal_uInt16 SwTextFormatInfo::GetLineNetHeight ( ) const
inline

Definition at line 608 of file inftxt.hxx.

References m_nLineNetHeight.

Referenced by SwTextFormatter::CalcFlyWidth().

TextFrameIndex SwTextFormatInfo::GetLineStart ( ) const
inline
SwTwips SwTextFormatInfo::GetLineWidth ( )
TextFrameIndex SwTextFormatInfo::GetReformatStart ( ) const
inline
SwLinePortion* SwTextFormatInfo::GetRest ( )
inline
SwLineLayout* SwTextFormatInfo::GetRoot ( )
inline
const SwLineLayout* SwTextFormatInfo::GetRoot ( ) const
inline

Definition at line 570 of file inftxt.hxx.

References m_pRoot.

TextFrameIndex SwTextFormatInfo::GetSoftHyphPos ( ) const
inline
sal_Unicode SwTextFormatInfo::GetTabDecimal ( ) const
inline

Definition at line 629 of file inftxt.hxx.

References m_cTabDecimal.

Referenced by SwTextFormatter::NewPortion(), and ScanPortionEnd().

const SwLinePortion* SwTextFormatInfo::GetUnderflow ( ) const
inline
SwLinePortion* SwTextFormatInfo::GetUnderflow ( )
inline

Definition at line 612 of file inftxt.hxx.

References m_pUnderflow.

TextFrameIndex SwTextFormatInfo::GetUnderScorePos ( ) const
inline
Reference< XHyphenatedWord > SwTextFormatInfo::HyphWord ( const OUString &  rText,
const sal_Int32  nMinTrail 
)
void SwTextFormatInfo::Init ( void  )
bool SwTextFormatInfo::InitHyph ( const bool  bAuto = false)
private
bool SwTextFormatInfo::IsArrowDone ( ) const
inline

Definition at line 643 of file inftxt.hxx.

References m_bArrowDone.

Referenced by SwTextFormatter::FormatLine(), and SwTextFormatter::WhichFirstPortion().

bool SwTextFormatInfo::IsDropInit ( ) const
inline

Definition at line 597 of file inftxt.hxx.

References m_bDropInit.

bool SwTextFormatInfo::IsErgoDone ( ) const
inline
bool SwTextFormatInfo::IsFakeLineStart ( ) const
inline

Definition at line 584 of file inftxt.hxx.

References m_bFakeLineStart.

Referenced by SwTextPortion::Format_().

bool SwTextFormatInfo::IsFootnoteDone ( ) const
inline
bool SwTextFormatInfo::IsFull ( ) const
inline
bool SwTextFormatInfo::IsHyphenate ( ) const

If the Hyphenator returns ERROR or the language is set to NOLANGUAGE we do not hyphenate.

Else, we always hyphenate if we do interactive hyphenation. If we do not do interactive hyphenation, we only hyphenate if ParaFormat is set to automatic hyphenation.

Definition at line 1437 of file inftxt.cxx.

References SvxSpellWrapper::CheckHyphLang(), g_pBreakIt, SwTextSizeInfo::GetFont(), GetHyphenator(), SwFont::GetLanguage(), SwBreakIt::GetLocale(), LANGUAGE_DONTKNOW, LANGUAGE_NONE, m_bAutoHyph, and m_bInterHyph.

Referenced by SwSoftHyphPortion::Format(), SwTextPortion::Format_(), and SwTextGuess::Guess().

bool SwTextFormatInfo::IsHyphForbud ( ) const
inline
bool SwTextFormatInfo::IsIgnoreFly ( ) const
inline

Definition at line 582 of file inftxt.hxx.

References m_bIgnoreFly.

Referenced by SwTextFormatter::CalcFlyWidth().

bool SwTextFormatInfo::IsInterHyph ( ) const
inline

Definition at line 594 of file inftxt.hxx.

References m_bInterHyph.

Referenced by SwTextPortion::CreateHyphen(), SwSoftHyphPortion::Format(), and SwTextGuess::Guess().

bool SwTextFormatInfo::IsNewLine ( ) const
inline
bool SwTextFormatInfo::IsNumDone ( ) const
inline
bool SwTextFormatInfo::IsQuick ( ) const
inline

Definition at line 599 of file inftxt.hxx.

References m_bQuick.

Referenced by SwTextFormatter::IsQuick(), and SwTextFormatter::NewFootnotePortion().

bool SwTextFormatInfo::IsShift ( ) const
inline

Definition at line 592 of file inftxt.hxx.

References m_bShift.

Referenced by SwTextFrame::FormatLine().

bool SwTextFormatInfo::IsStop ( ) const
inline
bool SwTextFormatInfo::IsTabOverflow ( )
inline

Definition at line 673 of file inftxt.hxx.

References m_bTabOverflow.

Referenced by SwTabPortion::PreFormat().

bool SwTextFormatInfo::IsTest ( ) const
inline
bool SwTextFormatInfo::IsUnderflow ( ) const
inline
bool SwTextFormatInfo::LastKernPortion ( )
SwTwips SwTextFormatInfo::Left ( ) const
inline
void SwTextFormatInfo::Left ( const SwTwips  nNew)
inline

Definition at line 555 of file inftxt.hxx.

void SwTextFormatInfo::LeftMargin ( const SwTwips  nNew)
inline

Definition at line 560 of file inftxt.hxx.

Referenced by SwTextFormatter::FeedInf().

sal_uInt8& SwTextFormatInfo::MaxHyph ( )
inline

Definition at line 566 of file inftxt.hxx.

References m_nMaxHyph.

Referenced by SwTextFrame::Format_(), SwTextFrame::FormatQuick(), and InitHyph().

const sal_uInt8& SwTextFormatInfo::MaxHyph ( ) const
inline

Definition at line 567 of file inftxt.hxx.

References m_nMaxHyph.

sal_uInt16 SwTextFormatInfo::RealWidth ( ) const
inline
void SwTextFormatInfo::RealWidth ( const sal_uInt16  nNew)
inline

Definition at line 562 of file inftxt.hxx.

SwTwips SwTextFormatInfo::Right ( ) const
inline

Definition at line 556 of file inftxt.hxx.

References m_nRight.

Referenced by SwTextFormatter::FeedInf().

void SwTextFormatInfo::Right ( const SwTwips  nNew)
inline

Definition at line 557 of file inftxt.hxx.

TextFrameIndex SwTextFormatInfo::ScanPortionEnd ( TextFrameIndex  nStart,
TextFrameIndex  nEnd 
)
void SwTextFormatInfo::SetArrowDone ( const bool  bNew)
inline

Definition at line 644 of file inftxt.hxx.

References m_bArrowDone.

Referenced by SwTextFormatter::FormatLine(), and SwTextFormatter::WhichFirstPortion().

void SwTextFormatInfo::SetDropInit ( const bool  bNew)
inline

Definition at line 598 of file inftxt.hxx.

References m_bDropInit.

Referenced by SwDropPortion::Format(), and SwTextFormatter::FormatLine().

void SwTextFormatInfo::SetErgoDone ( const bool  bNew)
inline
void SwTextFormatInfo::SetFakeLineStart ( const bool  bNew)
inline
void SwTextFormatInfo::SetFly ( SwFlyPortion pNew)
inline
void SwTextFormatInfo::SetFootnoteDone ( const bool  bNew)
inline
void SwTextFormatInfo::SetFull ( const bool  bNew)
inline
void SwTextFormatInfo::SetHookChar ( const sal_Unicode  cNew)
inline

Definition at line 633 of file inftxt.hxx.

Referenced by SwFieldPortion::Format().

void SwTextFormatInfo::SetIgnoreFly ( const bool  bNew)
inline
void SwTextFormatInfo::SetLast ( SwLinePortion pNewLast)
inline
void SwTextFormatInfo::SetLastTab ( SwTabPortion pNew)
inline

Definition at line 628 of file inftxt.hxx.

Referenced by SwTabPortion::PostFormat(), and SwTabPortion::PreFormat().

void SwTextFormatInfo::SetLineHeight ( const sal_uInt16  nNew)
inline
void SwTextFormatInfo::SetLineNetHeight ( const sal_uInt16  nNew)
inline
void SwTextFormatInfo::SetLineStart ( TextFrameIndex const  nNew)
inline
void SwTextFormatInfo::SetNewLine ( const bool  bNew)
inline
void SwTextFormatInfo::SetNumDone ( const bool  bNew)
inline
void SwTextFormatInfo::SetParaFootnote ( )
inline

Definition at line 787 of file inftxt.hxx.

References SwTextSizeInfo::GetTextFrame(), and SwTextFrame::SetFootnote().

Referenced by SwFootnotePortion::Format().

void SwTextFormatInfo::SetRest ( SwLinePortion pNewRest)
inline
void SwTextFormatInfo::SetRoot ( SwLineLayout pNew)
inline

Definition at line 572 of file inftxt.hxx.

Referenced by SwTextFormatter::FeedInf().

void SwTextFormatInfo::SetShift ( const bool  bNew)
inline

Definition at line 593 of file inftxt.hxx.

References m_bShift.

Referenced by SwTextFormatter::FormatLine().

void SwTextFormatInfo::SetSoftHyphPos ( TextFrameIndex const  nNew)
inline
void SwTextFormatInfo::SetStop ( const bool  bNew)
inline

Definition at line 587 of file inftxt.hxx.

References m_bStop.

Referenced by SwTextFormatter::BuildMultiPortion(), and SwTextFormatter::NewFootnotePortion().

void SwTextFormatInfo::SetTabDecimal ( const sal_Unicode  cNew)
inline
void SwTextFormatInfo::SetTabOverflow ( bool  bOverflow)
inline

Definition at line 672 of file inftxt.hxx.

References m_bTabOverflow.

Referenced by SwTextFormatter::BuildPortions(), and SwTabPortion::PreFormat().

void SwTextFormatInfo::SetUnderflow ( SwLinePortion pNew)
inline
void SwTextFormatInfo::SetUnderScorePos ( TextFrameIndex const  nNew)
inline

Definition at line 652 of file inftxt.hxx.

Referenced by SwFieldPortion::Format(), and SwTextFormatter::Underflow().

sal_uInt16 SwTextFormatInfo::Width ( ) const
inline
void SwTextFormatInfo::Width ( const sal_uInt16  nNew)
inline

Definition at line 541 of file inftxt.hxx.

Member Data Documentation

css::beans::PropertyValues SwTextFormatInfo::m_aHyphVals
private

Definition at line 474 of file inftxt.hxx.

Referenced by GetHyphValues(), and InitHyph().

bool SwTextFormatInfo::m_bArrowDone
private

Definition at line 503 of file inftxt.hxx.

Referenced by Init(), IsArrowDone(), SetArrowDone(), and SwTextFormatInfo().

bool SwTextFormatInfo::m_bAutoHyph
private

Definition at line 509 of file inftxt.hxx.

Referenced by ChgHyph(), CtorInitTextFormatInfo(), IsHyphenate(), and SwTextFormatInfo().

bool SwTextFormatInfo::m_bDropInit
private

Definition at line 510 of file inftxt.hxx.

Referenced by CtorInitTextFormatInfo(), IsDropInit(), SetDropInit(), and SwTextFormatInfo().

bool SwTextFormatInfo::m_bErgoDone
private

Definition at line 501 of file inftxt.hxx.

Referenced by Init(), IsErgoDone(), SetErgoDone(), and SwTextFormatInfo().

bool SwTextFormatInfo::m_bFakeLineStart
private
bool SwTextFormatInfo::m_bFootnoteDone
private

Definition at line 500 of file inftxt.hxx.

Referenced by Init(), IsFootnoteDone(), SetFootnoteDone(), and SwTextFormatInfo().

bool SwTextFormatInfo::m_bFull
private

Definition at line 499 of file inftxt.hxx.

Referenced by Init(), IsFull(), SetFull(), and SwTextFormatInfo().

bool SwTextFormatInfo::m_bIgnoreFly
private

Definition at line 514 of file inftxt.hxx.

Referenced by CtorInitTextFormatInfo(), IsIgnoreFly(), SetIgnoreFly(), and SwTextFormatInfo().

bool SwTextFormatInfo::m_bInterHyph
private
bool SwTextFormatInfo::m_bNewLine
private

Definition at line 505 of file inftxt.hxx.

Referenced by Init(), IsNewLine(), SetNewLine(), and SwTextFormatInfo().

bool SwTextFormatInfo::m_bNoEndHyph
private

Definition at line 512 of file inftxt.hxx.

Referenced by ChkNoHyph(), Init(), IsHyphForbud(), and SwTextFormatInfo().

bool SwTextFormatInfo::m_bNoMidHyph
private

Definition at line 513 of file inftxt.hxx.

Referenced by ChkNoHyph(), Init(), IsHyphForbud(), and SwTextFormatInfo().

bool SwTextFormatInfo::m_bNumDone
private

Definition at line 502 of file inftxt.hxx.

Referenced by Init(), IsNumDone(), SetNumDone(), and SwTextFormatInfo().

bool SwTextFormatInfo::m_bQuick
private

Definition at line 511 of file inftxt.hxx.

Referenced by CtorInitTextFormatInfo(), IsQuick(), and SwTextFormatInfo().

bool SwTextFormatInfo::m_bShift
private

Definition at line 506 of file inftxt.hxx.

Referenced by CtorInitTextFormatInfo(), IsShift(), SetShift(), and SwTextFormatInfo().

bool SwTextFormatInfo::m_bStop
private

Definition at line 504 of file inftxt.hxx.

Referenced by Init(), IsStop(), SetStop(), and SwTextFormatInfo().

bool SwTextFormatInfo::m_bTabOverflow
private

Definition at line 518 of file inftxt.hxx.

Referenced by Init(), IsTabOverflow(), and SetTabOverflow().

bool SwTextFormatInfo::m_bTestFormat
private

Definition at line 519 of file inftxt.hxx.

Referenced by CtorInitTextFormatInfo(), IsTest(), and SwTextFormatInfo().

bool SwTextFormatInfo::m_bUnderflow
private

Definition at line 507 of file inftxt.hxx.

Referenced by ClrUnderflow(), Init(), IsUnderflow(), SetUnderflow(), and SwTextFormatInfo().

sal_Unicode SwTextFormatInfo::m_cHookChar
private

Definition at line 522 of file inftxt.hxx.

Referenced by GetHookChar(), Init(), ScanPortionEnd(), and SwTextFormatInfo().

sal_Unicode SwTextFormatInfo::m_cTabDecimal
private

Definition at line 521 of file inftxt.hxx.

Referenced by GetTabDecimal(), Init(), and SwTextFormatInfo().

SwTwips SwTextFormatInfo::m_nFirst
private

Definition at line 490 of file inftxt.hxx.

Referenced by CtorInitTextFormatInfo(), First(), and SwTextFormatInfo().

sal_uInt16 SwTextFormatInfo::m_nForcedLeftMargin
private

Definition at line 497 of file inftxt.hxx.

Referenced by CtorInitTextFormatInfo(), ForcedLeftMargin(), Init(), and SwTextFormatInfo().

SwTwips SwTextFormatInfo::m_nLeft
private

Definition at line 488 of file inftxt.hxx.

Referenced by CtorInitTextFormatInfo(), Left(), and SwTextFormatInfo().

SwTwips SwTextFormatInfo::m_nLeftMargin = 0
private

First or left margin, depending on context.

Definition at line 492 of file inftxt.hxx.

Referenced by GetLineWidth().

sal_uInt16 SwTextFormatInfo::m_nLineHeight
private

Definition at line 495 of file inftxt.hxx.

Referenced by CtorInitTextFormatInfo(), GetLineHeight(), and SwTextFormatInfo().

sal_uInt16 SwTextFormatInfo::m_nLineNetHeight
private

Definition at line 496 of file inftxt.hxx.

Referenced by CtorInitTextFormatInfo(), GetLineNetHeight(), and SwTextFormatInfo().

TextFrameIndex SwTextFormatInfo::m_nLineStart
private

Current line start in rText.

Definition at line 485 of file inftxt.hxx.

Referenced by GetLineStart(), and SwTextFormatInfo().

sal_uInt8 SwTextFormatInfo::m_nMaxHyph
private

Definition at line 523 of file inftxt.hxx.

Referenced by ChkNoHyph(), MaxHyph(), and SwTextFormatInfo().

sal_uInt16 SwTextFormatInfo::m_nRealWidth
private

Definition at line 493 of file inftxt.hxx.

Referenced by CtorInitTextFormatInfo(), Init(), RealWidth(), and SwTextFormatInfo().

SwTwips SwTextFormatInfo::m_nRight
private

Definition at line 489 of file inftxt.hxx.

Referenced by CtorInitTextFormatInfo(), Right(), and SwTextFormatInfo().

TextFrameIndex SwTextFormatInfo::m_nSoftHyphPos
private

SoftHyphPos for Hyphenation.

Definition at line 484 of file inftxt.hxx.

Referenced by GetSoftHyphPos(), Init(), and SwTextFormatInfo().

TextFrameIndex SwTextFormatInfo::m_nUnderScorePos
private

enlarge repaint if underscore has been found

Definition at line 486 of file inftxt.hxx.

Referenced by GetUnderScorePos(), Init(), ScanPortionEnd(), and SwTextFormatInfo().

sal_uInt16 SwTextFormatInfo::m_nWidth
private

Definition at line 494 of file inftxt.hxx.

Referenced by Init(), SwTextFormatInfo(), and Width().

SwFlyPortion* SwTextFormatInfo::m_pFly
private

Definition at line 478 of file inftxt.hxx.

Referenced by GetFly(), Init(), and SwTextFormatInfo().

SwLinePortion* SwTextFormatInfo::m_pLast
private

Definition at line 477 of file inftxt.hxx.

Referenced by GetLast(), Init(), and SwTextFormatInfo().

SwTabPortion* SwTextFormatInfo::m_pLastTab
private

Definition at line 482 of file inftxt.hxx.

Referenced by GetLastTab(), Init(), and SwTextFormatInfo().

SwLinePortion* SwTextFormatInfo::m_pRest
private

Definition at line 480 of file inftxt.hxx.

Referenced by CtorInitTextFormatInfo(), GetRest(), and SwTextFormatInfo().

SwLineLayout* SwTextFormatInfo::m_pRoot
private

Definition at line 476 of file inftxt.hxx.

Referenced by GetRoot(), Init(), and SwTextFormatInfo().

SwLinePortion* SwTextFormatInfo::m_pUnderflow
private

Definition at line 479 of file inftxt.hxx.

Referenced by GetUnderflow(), Init(), and SwTextFormatInfo().


The documentation for this class was generated from the following files: