LibreOffice Module sw (master)  1
porlay.hxx
Go to the documentation of this file.
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
3  * This file is part of the LibreOffice project.
4  *
5  * This Source Code Form is subject to the terms of the Mozilla Public
6  * License, v. 2.0. If a copy of the MPL was not distributed with this
7  * file, You can obtain one at http://mozilla.org/MPL/2.0/.
8  *
9  * This file incorporates work covered by the following license notice:
10  *
11  * Licensed to the Apache Software Foundation (ASF) under one or more
12  * contributor license agreements. See the NOTICE file distributed
13  * with this work for additional information regarding copyright
14  * ownership. The ASF licenses this file to you under the Apache
15  * License, Version 2.0 (the "License"); you may not use this file
16  * except in compliance with the License. You may obtain a copy of
17  * the License at http://www.apache.org/licenses/LICENSE-2.0 .
18  */
19 #ifndef INCLUDED_SW_SOURCE_CORE_TEXT_PORLAY_HXX
20 #define INCLUDED_SW_SOURCE_CORE_TEXT_PORLAY_HXX
21 
22 #include <scriptinfo.hxx>
23 
24 #include <swrect.hxx>
25 #include <swtypes.hxx>
26 #include "portxt.hxx"
27 #include <svx/ctredlin.hxx>
28 
29 #include <vector>
30 #include <deque>
31 
32 class SwMarginPortion;
33 class SwDropPortion;
34 class SwTextFormatter;
35 
37 {
38 private:
41 
42 public:
43  SwCharRange(TextFrameIndex const nInitStart = TextFrameIndex(0),
44  TextFrameIndex const nInitLen = TextFrameIndex(0))
45  : nStart( nInitStart ), nLen(nInitLen) {}
46  TextFrameIndex & Start() { return nStart; }
47  TextFrameIndex const& Start() const { return nStart; }
48  void LeftMove(TextFrameIndex const nNew)
49  { if ( nNew < nStart ) { nLen += nStart-nNew; nStart = nNew; } }
50  TextFrameIndex & Len() { return nLen; }
51  TextFrameIndex const& Len() const { return nLen; }
52  bool operator<(const SwCharRange &rRange) const
53  { return nStart < rRange.nStart; }
54  bool operator>(const SwCharRange &rRange) const
55  { return nStart + nLen > rRange.nStart + rRange.nLen; }
56  bool operator!=(const SwCharRange &rRange) const
57  { return *this < rRange || *this > rRange; }
58  SwCharRange &operator+=(const SwCharRange &rRange);
59 };
60 
61 // SwRepaint is a document-global SwRect
62 // nOfst states from where in the first line should be painted
63 // nRightOfst gives the right margin
64 class SwRepaint : public SwRect
65 {
68 public:
69  SwRepaint() : SwRect(), nOfst( 0 ), nRightOfst( 0 ) {}
70 
71  SwTwips GetOffset() const { return nOfst; }
72  void SetOffset( const SwTwips nNew ) { nOfst = nNew; }
73  SwTwips GetRightOfst() const { return nRightOfst; }
74  void SetRightOfst( const SwTwips nNew ) { nRightOfst = nNew; }
75 };
76 
80 {
81 private:
82  SwLineLayout *m_pNext; // The next Line
83  std::unique_ptr<std::vector<tools::Long>> m_pLLSpaceAdd; // Used for justified alignment
84  std::unique_ptr<std::deque<sal_uInt16>> m_pKanaComp; // Used for Kana compression
85  sal_uInt16 m_nRealHeight; // The height resulting from line spacing and register
86  sal_uInt16 m_nTextHeight; // The max height of all non-FlyCnt portions in this Line
87  bool m_bFormatAdj : 1;
88  bool m_bDummy : 1;
89  bool m_bEndHyph : 1;
90  bool m_bMidHyph : 1;
91  bool m_bFly : 1;
92  bool m_bRest : 1;
93  bool m_bBlinking : 1;
94  bool m_bClipping : 1; // Clipping needed for exact line height
95  bool m_bContent : 1; // Text for line numbering
96  bool m_bRedline : 1; // The Redlining
97  bool m_bRedlineEnd: 1; // Redlining for paragraph mark: tracked change at the end
98  bool m_bForcedLeftMargin : 1; // Left adjustment moved by the Fly
99  bool m_bHanging : 1; // Contains a hanging portion in the margin
100  bool m_bUnderscore : 1;
101 
102  enum RedlineType m_eRedlineEnd; // redline type of pilcrow and line break symbols
103 
104  OUString m_sRedlineText; // shortened text of (first) tracked deletion shown in margin
105 
106  SwTwips GetHangingMargin_() const;
107 
108  void DeleteNext();
109 public:
110  // From SwPosSize
111  using SwPosSize::Height;
112  virtual void Height(const sal_uInt16 nNew, const bool bText = true) override;
113 
114  // From SwLinePortion
115  virtual SwLinePortion *Insert( SwLinePortion *pPortion ) override;
116  virtual SwLinePortion *Append( SwLinePortion *pPortion ) override;
118 
119  // Flags
120  void ResetFlags();
121  void SetFormatAdj( const bool bNew ) { m_bFormatAdj = bNew; }
122  bool IsFormatAdj() const { return m_bFormatAdj; }
123  void SetEndHyph( const bool bNew ) { m_bEndHyph = bNew; }
124  bool IsEndHyph() const { return m_bEndHyph; }
125  void SetMidHyph( const bool bNew ) { m_bMidHyph = bNew; }
126  bool IsMidHyph() const { return m_bMidHyph; }
127  void SetFly( const bool bNew ) { m_bFly = bNew; }
128  bool IsFly() const { return m_bFly; }
129  void SetRest( const bool bNew ) { m_bRest = bNew; }
130  bool IsRest() const { return m_bRest; }
131  void SetBlinking( const bool bNew ) { m_bBlinking = bNew; }
132  bool IsBlinking() const { return m_bBlinking; }
133  void SetContent( const bool bNew ) { m_bContent = bNew; }
134  bool HasContent() const { return m_bContent; }
135  void SetRedline( const bool bNew ) { m_bRedline = bNew; }
136  bool HasRedline() const { return m_bRedline; }
137  void SetRedlineEnd( const bool bNew ) { m_bRedlineEnd = bNew; }
138  bool HasRedlineEnd() const { return m_bRedlineEnd; }
139  void SetRedlineEndType( const enum RedlineType eNew ) { m_eRedlineEnd = eNew; }
141  void SetRedlineText ( const OUString& sText ) { m_sRedlineText = sText; }
142  const OUString* GetRedlineText() const { return &m_sRedlineText; }
144  bool HasForcedLeftMargin() const { return m_bForcedLeftMargin; }
145  void SetHanging( const bool bNew ) { m_bHanging = bNew; }
146  bool IsHanging() const { return m_bHanging; }
147  void SetUnderscore( const bool bNew ) { m_bUnderscore = bNew; }
148  bool HasUnderscore() const { return m_bUnderscore; }
149 
150  // Respecting empty dummy lines
151  void SetDummy( const bool bNew ) { m_bDummy = bNew; }
152  bool IsDummy() const { return m_bDummy; }
153 
154  void SetClipping( const bool bNew ) { m_bClipping = bNew; }
155  bool IsClipping() const { return m_bClipping; }
156 
157  SwLineLayout();
158  virtual ~SwLineLayout() override;
159 
160  SwLineLayout *GetNext() { return m_pNext; }
161  const SwLineLayout *GetNext() const { return m_pNext; }
162  void SetNext( SwLineLayout *pNew ) { m_pNext = pNew; }
163 
164  void Init( SwLinePortion *pNextPortion = nullptr);
165 
166  // Collects the data for the line
167  void CalcLine( SwTextFormatter &rLine, SwTextFormatInfo &rInf );
168 
169  void SetRealHeight( sal_uInt16 nNew ) { m_nRealHeight = nNew; }
170  sal_uInt16 GetRealHeight() const { return m_nRealHeight; }
171 
172  sal_uInt16 GetTextHeight() const { return m_nTextHeight; }
173 
174  // Creates the glue chain for short lines
176 
178  { return GetHangingMargin_(); }
179 
180  // For special treatment for empty lines
181  virtual bool Format( SwTextFormatInfo &rInf ) override;
182 
183  // Stuff for justified alignment
184  bool IsSpaceAdd() const { return m_pLLSpaceAdd != nullptr; }
185  void InitSpaceAdd(); // Creates pLLSpaceAdd if necessary
186  void CreateSpaceAdd( const tools::Long nInit = 0 );
187  void FinishSpaceAdd() { m_pLLSpaceAdd.reset(); }
188  sal_uInt16 GetLLSpaceAddCount() const { return sal::static_int_cast< sal_uInt16 >(m_pLLSpaceAdd->size()); }
189  void SetLLSpaceAdd( tools::Long nNew, sal_uInt16 nIdx )
190  {
191  if ( nIdx == GetLLSpaceAddCount() )
192  m_pLLSpaceAdd->push_back( nNew );
193  else
194  (*m_pLLSpaceAdd)[ nIdx ] = nNew;
195  }
196  tools::Long GetLLSpaceAdd( sal_uInt16 nIdx ) { return (*m_pLLSpaceAdd)[ nIdx ]; }
197  void RemoveFirstLLSpaceAdd() { m_pLLSpaceAdd->erase( m_pLLSpaceAdd->begin() ); }
198  std::vector<tools::Long>* GetpLLSpaceAdd() const { return m_pLLSpaceAdd.get(); }
199 
200  // Stuff for Kana compression
201  void SetKanaComp( std::unique_ptr<std::deque<sal_uInt16>> pNew ){ m_pKanaComp = std::move(pNew); }
202  void FinishKanaComp() { m_pKanaComp.reset(); }
203  std::deque<sal_uInt16>* GetpKanaComp() const { return m_pKanaComp.get(); }
204  std::deque<sal_uInt16>& GetKanaComp() { return *m_pKanaComp; }
205 
238  void MaxAscentDescent( SwTwips& _orAscent,
239  SwTwips& _orDescent,
240  SwTwips& _orObjAscent,
241  SwTwips& _orObjDescent,
242  const SwLinePortion* _pDontConsiderPortion = nullptr,
243  const bool _bNoFlyCntPorAndLinePor = false ) const;
244 };
245 
249 {
250  // Area that needs repainting
252  // Area that needs reformatting
255 
256  // Fraction aZoom;
258 
259  // If a SwTextFrame is locked, no changes occur to the formatting data (under
260  // pLine) (compare with Orphans)
261  bool m_bFlys : 1; // Overlapping Flys?
262  bool m_bPrep : 1; // PREP_*
263  bool m_bPrepWidows : 1; // PrepareHint::Widows
264  bool m_bPrepAdjust : 1; // PrepareHint::AdjustSizeWithoutFormatting
265  bool m_bPrepMustFit : 1; // PrepareHint::MustFit
266  bool m_bFollowField : 1; // We have a bit of field left for the Follow
267 
268  bool m_bFixLineHeight : 1; // Fixed line height
269  bool m_bFootnoteNum : 1; // contains a footnotenumberportion
270  bool m_bMargin : 1; // contains a hanging punctuation in the margin
271 
272 public:
273  SwParaPortion();
274  virtual ~SwParaPortion() override;
275 
276  // Resets all formatting information (except for bFlys)
277  inline void FormatReset();
278 
279  // Resets the Flags
280  inline void ResetPreps();
281 
282  // Get/Set methods
284  const SwRepaint& GetRepaint() const { return m_aRepaint; }
286  const SwCharRange& GetReformat() const { return m_aReformat; }
288  const tools::Long& GetDelta() const { return m_nDelta; }
290  const SwScriptInfo& GetScriptInfo() const { return m_aScriptInfo; }
291 
292  // For SwTextFrame::Format: returns the paragraph's current length
293  TextFrameIndex GetParLen() const;
294 
295  // For Prepare()
296  bool UpdateQuoVadis( const OUString &rQuo );
297 
298  // Flags
299  void SetFly() { m_bFlys = true; }
300  bool HasFly() const { return m_bFlys; }
301 
302  // Preps
303  void SetPrep() { m_bPrep = true; }
304  bool IsPrep() const { return m_bPrep; }
305  void SetPrepWidows() { m_bPrepWidows = true; }
306  bool IsPrepWidows() const { return m_bPrepWidows; }
307  void SetPrepMustFit( const bool bNew ) { m_bPrepMustFit = bNew; }
308  bool IsPrepMustFit() const { return m_bPrepMustFit; }
309  void SetPrepAdjust() { m_bPrepAdjust = true; }
310  bool IsPrepAdjust() const { return m_bPrepAdjust; }
311  void SetFollowField( const bool bNew ) { m_bFollowField = bNew; }
312  bool IsFollowField() const { return m_bFollowField; }
314  bool IsFixLineHeight() const { return m_bFixLineHeight; }
315 
316  void SetFootnoteNum( const bool bNew ) { m_bFootnoteNum = bNew; }
317  bool IsFootnoteNum() const { return m_bFootnoteNum; }
318  void SetMargin( const bool bNew = true ) { m_bMargin = bNew; }
319  bool IsMargin() const { return m_bMargin; }
320 
321  // Set nErgo in the QuoVadisPortion
322  void SetErgoSumNum( const OUString &rErgo );
323 
324  const SwDropPortion *FindDropPortion() const;
325 };
326 
328 {
330 }
331 
333 {
334  m_nDelta = 0;
336  // bFlys needs to be retained in SwTextFrame::Format_() so that empty
337  // paragraphs that needed to avoid Frames with no flow, reformat
338  // when the Frame disappears from the Area
339  // bFlys = false;
340  ResetPreps();
342 }
343 
344 #endif
345 
346 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
void SetRedlineText(const OUString &sText)
Definition: porlay.hxx:141
virtual SwLinePortion * Insert(SwLinePortion *pPortion) override
Definition: porlay.cxx:219
bool HasContent() const
Definition: porlay.hxx:134
std::deque< sal_uInt16 > * GetpKanaComp() const
Definition: porlay.hxx:203
void SetRedlineEndType(const enum RedlineType eNew)
Definition: porlay.hxx:139
void SetRest(const bool bNew)
Definition: porlay.hxx:129
bool IsFootnoteNum() const
Definition: porlay.hxx:317
SwScriptInfo m_aScriptInfo
Definition: porlay.hxx:254
const SwRepaint & GetRepaint() const
Definition: porlay.hxx:284
void SetKanaComp(std::unique_ptr< std::deque< sal_uInt16 >> pNew)
Definition: porlay.hxx:201
bool IsPrepAdjust() const
Definition: porlay.hxx:310
const SwCharRange & GetReformat() const
Definition: porlay.hxx:286
void SetFormatAdj(const bool bNew)
Definition: porlay.hxx:121
SwTwips GetHangingMargin_() const
Definition: porlay.cxx:2451
bool IsClipping() const
Definition: porlay.hxx:155
void SetPrepAdjust()
Definition: porlay.hxx:309
bool IsHanging() const
Definition: porlay.hxx:146
TextFrameIndex nStart
Definition: porlay.hxx:39
void SetFly(const bool bNew)
Definition: porlay.hxx:127
bool IsRest() const
Definition: porlay.hxx:130
sal_uInt16 Height() const
Definition: possiz.hxx:50
bool m_bFixLineHeight
Definition: porlay.hxx:268
SwLineLayout * GetNext()
Definition: porlay.hxx:160
SwCharRange & operator+=(const SwCharRange &rRange)
Definition: porlay.cxx:705
SwMarginPortion * CalcLeftMargin()
Definition: porlay.cxx:266
std::deque< sal_uInt16 > & GetKanaComp()
Definition: porlay.hxx:204
bool m_bBlinking
Definition: porlay.hxx:93
bool m_bEndHyph
Definition: porlay.hxx:89
OUString m_sRedlineText
Definition: porlay.hxx:104
long Long
SwTwips GetHangingMargin() const
Definition: porlay.hxx:177
void SetFootnoteNum(const bool bNew)
Definition: porlay.hxx:316
virtual ~SwParaPortion() override
Definition: porlay.cxx:2405
void CalcLine(SwTextFormatter &rLine, SwTextFormatInfo &rInf)
Definition: porlay.cxx:336
void SetErgoSumNum(const OUString &rErgo)
Definition: txtftn.cxx:1510
bool m_bMargin
Definition: porlay.hxx:270
bool operator>(const SwCharRange &rRange) const
Definition: porlay.hxx:54
bool IsPrep() const
Definition: porlay.hxx:304
void MaxAscentDescent(SwTwips &_orAscent, SwTwips &_orDescent, SwTwips &_orObjAscent, SwTwips &_orObjDescent, const SwLinePortion *_pDontConsiderPortion=nullptr, const bool _bNoFlyCntPorAndLinePor=false) const
determine ascent and descent for positioning of as-character anchored object
Definition: porlay.cxx:630
Of course Writer needs its own rectangles.
Definition: swrect.hxx:35
RedlineType GetRedlineEndType() const
Definition: porlay.hxx:140
bool HasForcedLeftMargin() const
Definition: porlay.hxx:144
const tools::Long & GetDelta() const
Definition: porlay.hxx:288
bool IsEndHyph() const
Definition: porlay.hxx:124
Collection of SwLineLayout instances, represents the paragraph text in Writer layout.
Definition: porlay.hxx:248
tools::Long GetLLSpaceAdd(sal_uInt16 nIdx)
Definition: porlay.hxx:196
bool m_bMidHyph
Definition: porlay.hxx:90
TextFrameIndex & Start()
Definition: porlay.hxx:46
bool HasRedlineEnd() const
Definition: porlay.hxx:138
bool operator!=(const SwCharRange &rRange) const
Definition: porlay.hxx:56
void SetFly()
Definition: porlay.hxx:299
TextFrameIndex const & Start() const
Definition: porlay.hxx:47
virtual ~SwLineLayout() override
Definition: porlay.cxx:211
sal_uInt16 GetLLSpaceAddCount() const
Definition: porlay.hxx:188
SwCharRange m_aReformat
Definition: porlay.hxx:253
bool m_bFormatAdj
Definition: porlay.hxx:87
void SetClipping(const bool bNew)
Definition: porlay.hxx:154
void FormatReset()
Definition: porlay.hxx:332
SwTwips nRightOfst
Definition: porlay.hxx:67
bool HasFly() const
Definition: porlay.hxx:300
void ResetFlags()
Definition: porlay.cxx:681
bool operator<(const SwCharRange &rRange) const
Definition: porlay.hxx:52
bool IsSpaceAdd() const
Definition: porlay.hxx:184
bool m_bClipping
Definition: porlay.hxx:94
This portion represents a part of the paragraph string.
Definition: portxt.hxx:27
void InitSpaceAdd()
Definition: porlay.cxx:305
void SetRedline(const bool bNew)
Definition: porlay.hxx:135
tools::Long & GetDelta()
Definition: porlay.hxx:287
bool IsFollowField() const
Definition: porlay.hxx:312
bool IsBlinking() const
Definition: porlay.hxx:132
const SwLineLayout * GetNext() const
Definition: porlay.hxx:161
void SetEndHyph(const bool bNew)
Definition: porlay.hxx:123
void SetRealHeight(sal_uInt16 nNew)
Definition: porlay.hxx:169
TextFrameIndex nLen
Definition: porlay.hxx:40
bool m_bHanging
Definition: porlay.hxx:99
bool m_bPrepAdjust
Definition: porlay.hxx:264
const OUString * GetRedlineText() const
Definition: porlay.hxx:142
bool IsDummy() const
Definition: porlay.hxx:152
TextFrameIndex const & Len() const
Definition: porlay.hxx:51
tools::Long m_nDelta
Definition: porlay.hxx:257
Collection of SwLinePortion instances, representing one line of text.
Definition: porlay.hxx:79
sal_uInt16 GetTextHeight() const
Definition: porlay.hxx:172
SwCharRange & GetReformat()
Definition: porlay.hxx:285
void SetRedlineEnd(const bool bNew)
Definition: porlay.hxx:137
sal_uInt16 m_nRealHeight
Definition: porlay.hxx:85
SwLinePortion * GetFirstPortion() const
Definition: porlay.cxx:699
void FinishKanaComp()
Definition: porlay.hxx:202
std::unique_ptr< std::deque< sal_uInt16 > > m_pKanaComp
Definition: porlay.hxx:84
bool IsPrepWidows() const
Definition: porlay.hxx:306
void FinishSpaceAdd()
Definition: porlay.hxx:187
bool m_bRedline
Definition: porlay.hxx:96
std::unique_ptr< std::vector< tools::Long > > m_pLLSpaceAdd
Definition: porlay.hxx:83
sal_uInt16 m_nTextHeight
Definition: porlay.hxx:86
virtual SwLinePortion * Append(SwLinePortion *pPortion) override
Definition: porlay.cxx:243
bool m_bPrep
Definition: porlay.hxx:262
const SwScriptInfo & GetScriptInfo() const
Definition: porlay.hxx:290
bool IsFormatAdj() const
Definition: porlay.hxx:122
TextFrameIndex GetParLen() const
Definition: porlay.cxx:2409
bool m_bPrepMustFit
Definition: porlay.hxx:265
SwCharRange(TextFrameIndex const nInitStart=TextFrameIndex(0), TextFrameIndex const nInitLen=TextFrameIndex(0))
Definition: porlay.hxx:43
SwTwips GetRightOfst() const
Definition: porlay.hxx:73
void LeftMove(TextFrameIndex const nNew)
Definition: porlay.hxx:48
tools::Long SwTwips
Definition: swtypes.hxx:49
bool IsMargin() const
Definition: porlay.hxx:319
SwTwips nOfst
Definition: porlay.hxx:66
void ResetPreps()
Definition: porlay.hxx:327
virtual bool Format(SwTextFormatInfo &rInf) override
Definition: porlay.cxx:255
bool m_bRedlineEnd
Definition: porlay.hxx:97
Base class for anything that can be part of a line in the Writer layout.
Definition: porlin.hxx:50
void SetForcedLeftMargin()
Definition: porlay.hxx:143
bool IsPrepMustFit() const
Definition: porlay.hxx:308
bool IsMidHyph() const
Definition: porlay.hxx:126
void SetHanging(const bool bNew)
Definition: porlay.hxx:145
void SetFixLineHeight()
Definition: porlay.hxx:313
void SetNext(SwLineLayout *pNew)
Definition: porlay.hxx:162
SwRepaint & GetRepaint()
Definition: porlay.hxx:283
enum RedlineType m_eRedlineEnd
Definition: porlay.hxx:102
void SetDummy(const bool bNew)
Definition: porlay.hxx:151
void RemoveFirstLLSpaceAdd()
Definition: porlay.hxx:197
void SetRightOfst(const SwTwips nNew)
Definition: porlay.hxx:74
bool IsFly() const
Definition: porlay.hxx:128
bool m_bContent
Definition: porlay.hxx:95
void CreateSpaceAdd(const tools::Long nInit=0)
Definition: porlay.cxx:313
SwRepaint()
Definition: porlay.hxx:69
SwScriptInfo & GetScriptInfo()
Definition: porlay.hxx:289
void SetPrep()
Definition: porlay.hxx:303
void SetFollowField(const bool bNew)
Definition: porlay.hxx:311
bool IsFixLineHeight() const
Definition: porlay.hxx:314
bool m_bForcedLeftMargin
Definition: porlay.hxx:98
const SwDropPortion * FindDropPortion() const
Definition: porlay.cxx:2421
void SetPrepMustFit(const bool bNew)
Definition: porlay.hxx:307
void SetPrepWidows()
Definition: porlay.hxx:305
void SetMargin(const bool bNew=true)
Definition: porlay.hxx:318
sal_uInt16 GetRealHeight() const
Definition: porlay.hxx:170
void DeleteNext()
Definition: porlay.cxx:182
bool m_bUnderscore
Definition: porlay.hxx:100
bool m_bPrepWidows
Definition: porlay.hxx:263
SwTwips GetOffset() const
Definition: porlay.hxx:71
bool m_bFlys
Definition: porlay.hxx:261
bool HasRedline() const
Definition: porlay.hxx:136
RedlineType
void SetContent(const bool bNew)
Definition: porlay.hxx:133
void SetOffset(const SwTwips nNew)
Definition: porlay.hxx:72
std::vector< tools::Long > * GetpLLSpaceAdd() const
Definition: porlay.hxx:198
void SetMidHyph(const bool bNew)
Definition: porlay.hxx:125
bool m_bFootnoteNum
Definition: porlay.hxx:269
o3tl::strong_int< sal_Int32, struct Tag_TextFrameIndex > TextFrameIndex
Denotes a character index in a text frame at a layout level, after extent mapping from a text node at...
TextFrameIndex & Len()
Definition: porlay.hxx:50
void SetBlinking(const bool bNew)
Definition: porlay.hxx:131
bool m_bRest
Definition: porlay.hxx:92
bool m_bDummy
Definition: porlay.hxx:88
const sal_Int32 COMPLETE_STRING
Definition: swtypes.hxx:61
bool m_bFollowField
Definition: porlay.hxx:266
bool HasUnderscore() const
Definition: porlay.hxx:148
void SetUnderscore(const bool bNew)
Definition: porlay.hxx:147
bool m_bFly
Definition: porlay.hxx:91
SwLineLayout * m_pNext
Definition: porlay.hxx:82
void SetLLSpaceAdd(tools::Long nNew, sal_uInt16 nIdx)
Definition: porlay.hxx:189
void Init(SwLinePortion *pNextPortion=nullptr)
Definition: porlay.cxx:2438
SwRepaint m_aRepaint
Definition: porlay.hxx:251
bool UpdateQuoVadis(const OUString &rQuo)
Is called in SwTextFrame::Prepare()
Definition: txtftn.cxx:1532