LibreOffice Module sw (master) 1
drawfont.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
20#ifndef INCLUDED_SW_SOURCE_CORE_INC_DRAWFONT_HXX
21#define INCLUDED_SW_SOURCE_CORE_INC_DRAWFONT_HXX
22
23#include <osl/diagnose.h>
24#include <vcl/vclptr.hxx>
25#include <vcl/outdev.hxx>
26#include <swtypes.hxx>
27#include "TextFrameIndex.hxx"
28#include <swdllapi.h>
29
30class SwTextFrame;
31class SwViewShell;
32class SwScriptInfo;
33namespace sw { class WrongListIterator; }
34class SwFont;
35namespace vcl {
36 class Font;
37 namespace text {
38 class TextLayoutCache;
39 }
41}
42class SwUnderlineFont;
43
44// encapsulates information for drawing text
46{
53 OUString m_aText;
66 sal_Int32 m_nOfst;
67 sal_uInt16 m_nWidth;
68 sal_uInt16 m_nAscent;
69 sal_uInt16 m_nCompress;
75 bool m_bBullet : 1;
76 bool m_bUpper : 1; // for small caps: upper case flag
77 bool m_bDrawSpace : 1; // for small caps: underline/ line through
78 bool m_bGreyWave : 1; // grey wave line for extended text input
79 // For underlining we need to know, if a section is right in front of a
80 // whole block or a fix margin section.
81 bool m_bSpaceStop : 1;
82 bool m_bSnapToGrid : 1; // Does paragraph snap to grid?
83 // Paint text as if text has LTR direction, used for line numbering
85 // GetModelPositionForViewPoint should not return the next position if screen position is
86 // inside second half of bound rect, used for Accessibility
88
89#ifdef DBG_UTIL
90 // These flags should control that the appropriate Set-function has been
91 // called before calling the Get-function of a member
92 bool m_bPos : 1;
93 bool m_bWrong : 1;
95 bool m_bSize : 1;
96 bool m_bFnt : 1;
97 bool m_bHyph : 1;
98 bool m_bKana : 1;
99 bool m_bOfst : 1;
100 bool m_bAscent: 1;
102 bool m_bSpace : 1;
104 bool m_bUppr : 1;
105 bool m_bDrawSp: 1;
106#endif
107
108public:
109
112 const OUString &rText, sal_Int32 const nIdx, sal_Int32 const nLen,
113 sal_uInt16 nWidth = 0, bool bBullet = false)
114 : SwDrawTextInfo(pSh, rOut, nullptr, rText, TextFrameIndex(nIdx), TextFrameIndex(nLen), nWidth, bBullet)
115 {}
117 SwDrawTextInfo( SwViewShell const *pSh, OutputDevice &rOut, const SwScriptInfo* pSI,
118 const OUString &rText, TextFrameIndex const nIdx, TextFrameIndex const nLen,
119 sal_uInt16 nWidth = 0, bool bBullet = false,
120 vcl::text::TextLayoutCache const*const pCachedVclData = nullptr)
121 : m_pCachedVclData(pCachedVclData)
122 {
123 assert( (nLen == TextFrameIndex(COMPLETE_STRING)) ? (nIdx.get() < rText.getLength()) : (nIdx + nLen).get() <= rText.getLength() );
124 m_pFrame = nullptr;
125 m_pSh = pSh;
126 m_pOut = &rOut;
127 m_pScriptInfo = pSI;
128 m_aText = rText;
129 m_nIdx = nIdx;
130 m_nLen = nLen;
131 m_nMeasureLen = TextFrameIndex(COMPLETE_STRING);
132 m_nKern = 0;
133 m_nCompress = 0;
134 m_nWidth = nWidth;
135 m_nNumberOfBlanks = TextFrameIndex(0);
136 m_nCursorBidiLevel = 0;
137 m_bBullet = bBullet;
138 m_pUnderFnt = nullptr;
139 m_bGreyWave = false;
140 m_bSpaceStop = false;
141 m_bSnapToGrid = false;
142 m_bIgnoreFrameRTL = false;
143 m_bPosMatchesBounds = false;
144
145 // These values are initialized but have to be set explicitly via their
146 // Set-function before they may be accessed by their Get-function:
147 m_pWrong = nullptr;
148 m_pGrammarCheck = nullptr;
149 m_pSmartTags = nullptr;
150 m_pFnt = nullptr;
151 m_pHyphPos = nullptr;
152 m_nKanaDiff = 0;
153 m_nOfst = 0;
154 m_nAscent = 0;
155 m_nCharacterSpacing = 0;
156 m_nSpace = 0;
157 m_bUpper = false;
158 m_bDrawSpace = false;
159
160#ifdef DBG_UTIL
161 // these flags control whether the matching member variables have been
162 // set by using the Set-function before they may be accessed by their
163 // Get-function:
164 m_bPos = m_bWrong = m_bGrammarCheck = m_bSize = m_bFnt = m_bAscent =
165 m_bSpace = m_bNumberOfBlanks = m_bUppr =
166 m_bDrawSp = m_bKana = m_bOfst = m_bHyph =
167 m_bCharacterSpacing = false;
168#endif
169 }
170
171 const SwTextFrame* GetFrame() const
172 {
173 return m_pFrame;
174 }
175
176 void SetFrame( const SwTextFrame* pNewFrame )
177 {
178 m_pFrame = pNewFrame;
179 }
180
181 SwViewShell const *GetShell() const
182 {
183 return m_pSh;
184 }
185
187 {
188 return *m_pOut;
189 }
190
192 {
193 return m_pOut;
194 }
195
197 {
198 return m_pScriptInfo;
199 }
200
201 const Point &GetPos() const
202 {
203#ifdef DBG_UTIL
204 OSL_ENSURE( m_bPos, "DrawTextInfo: Undefined Position" );
205#endif
206 return m_aPos;
207 }
208
210 {
211#ifdef DBG_UTIL
212 OSL_ENSURE( m_bHyph, "DrawTextInfo: Undefined Hyph Position" );
213#endif
214 return m_pHyphPos;
215 }
216
218 {
219 return m_pCachedVclData;
220 }
221
222 const OUString &GetText() const
223 {
224 return m_aText;
225 }
226
228 {
229#ifdef DBG_UTIL
230 OSL_ENSURE( m_bWrong, "DrawTextInfo: Undefined WrongList" );
231#endif
232 return m_pWrong;
233 }
234
236 {
237#ifdef DBG_UTIL
238 OSL_ENSURE( m_bGrammarCheck, "DrawTextInfo: Undefined GrammarCheck List" );
239#endif
240 return m_pGrammarCheck;
241 }
242
244 {
245 return m_pSmartTags;
246 }
247
248 const Size &GetSize() const
249 {
250#ifdef DBG_UTIL
251 OSL_ENSURE( m_bSize, "DrawTextInfo: Undefined Size" );
252#endif
253 return m_aSize;
254 }
255
257 {
258#ifdef DBG_UTIL
259 OSL_ENSURE( m_bFnt, "DrawTextInfo: Undefined Font" );
260#endif
261 return m_pFnt;
262 }
263
265 {
266 return m_pUnderFnt;
267 }
268
270 {
271 return m_nIdx;
272 }
273
275 {
276 return m_nLen;
277 }
278
280 {
281 return m_nMeasureLen;
282 }
283
284 sal_Int32 GetOffset() const
285 {
286#ifdef DBG_UTIL
287 OSL_ENSURE( m_bOfst, "DrawTextInfo: Undefined Offset" );
288#endif
289 return m_nOfst;
290 }
291
293 {
294 return m_nIdx + m_nLen;
295 }
296
298 {
299#ifdef DBG_UTIL
300 OSL_ENSURE( m_bKana, "DrawTextInfo: Undefined kana difference" );
301#endif
302 return m_nKanaDiff;
303 }
304
305 sal_uInt16 GetWidth() const
306 {
307 return m_nWidth;
308 }
309
310 sal_uInt16 GetAscent() const
311 {
312#ifdef DBG_UTIL
313 OSL_ENSURE( m_bAscent, "DrawTextInfo: Undefined Ascent" );
314#endif
315 return m_nAscent;
316 }
317
318 sal_uInt16 GetKanaComp() const
319 {
320 return m_nCompress;
321 }
322
324 {
325#ifdef DBG_UTIL
326 OSL_ENSURE( m_bCharacterSpacing, "DrawTextInfo: Undefined CharacterSpacing" );
327#endif
328 return m_nCharacterSpacing;
329 }
330
332 {
333 return m_nKern;
334 }
335
337 {
338#ifdef DBG_UTIL
339 OSL_ENSURE( m_bSpace, "DrawTextInfo: Undefined Spacing" );
340#endif
341 return m_nSpace;
342 }
343
345 {
346#ifdef DBG_UTIL
347 OSL_ENSURE( m_bNumberOfBlanks, "DrawTextInfo::Undefined NumberOfBlanks" );
348#endif
349 return m_nNumberOfBlanks;
350 }
351
353 {
354 return m_nCursorBidiLevel;
355 }
356
357 bool GetBullet() const
358 {
359 return m_bBullet;
360 }
361
362 bool GetUpper() const
363 {
364#ifdef DBG_UTIL
365 OSL_ENSURE( m_bUppr, "DrawTextInfo: Undefined Upperflag" );
366#endif
367 return m_bUpper;
368 }
369
370 bool GetDrawSpace() const
371 {
372#ifdef DBG_UTIL
373 OSL_ENSURE( m_bDrawSp, "DrawTextInfo: Undefined DrawSpaceflag" );
374#endif
375 return m_bDrawSpace;
376 }
377
378 bool GetGreyWave() const
379 {
380 return m_bGreyWave;
381 }
382
383 bool IsSpaceStop() const
384 {
385 return m_bSpaceStop;
386 }
387
388 bool SnapToGrid() const
389 {
390 return m_bSnapToGrid;
391 }
392
393 bool IsIgnoreFrameRTL() const
394 {
395 return m_bIgnoreFrameRTL;
396 }
397
399 {
400 return m_bPosMatchesBounds;
401 }
402
403 void SetOut( OutputDevice &rNew )
404 {
405 m_pOut = &rNew;
406 }
407
408 void SetPos( const Point &rNew )
409 {
410 m_aPos = rNew;
411#ifdef DBG_UTIL
412 m_bPos = true;
413#endif
414 }
415
416 void SetHyphPos(TextFrameIndex *const pNew)
417 {
418 m_pHyphPos = pNew;
419#ifdef DBG_UTIL
420 m_bHyph = true;
421#endif
422 }
423
424 void SetText( const OUString &rNew )
425 {
426 assert( (m_nLen == TextFrameIndex(COMPLETE_STRING)) ? (m_nIdx.get() < rNew.getLength()) : (m_nIdx + m_nLen).get() <= rNew.getLength() );
427 m_aText = rNew;
428 m_pCachedVclData = nullptr; // would any case benefit from save/restore?
429 }
430
431 // These methods are here so we can set all the related fields together to preserve the invariants that we assert
432 void SetTextIdxLen( const OUString &rNewStr, TextFrameIndex const nNewIdx, TextFrameIndex const nNewLen )
433 {
434 assert( (nNewLen == TextFrameIndex(COMPLETE_STRING)) ? (nNewIdx.get() < rNewStr.getLength()) : (nNewIdx + nNewLen).get() <= rNewStr.getLength() );
435 m_aText = rNewStr;
436 m_nIdx = nNewIdx;
437 m_nLen = nNewLen;
438 m_pCachedVclData = nullptr; // would any case benefit from save/restore?
439 }
440
441 // These methods are here so we can set all the related fields together to preserve the invariants that we assert
442 void SetIdxLen( TextFrameIndex const nNewIdx, TextFrameIndex const nNewLen )
443 {
444 assert( (nNewLen == TextFrameIndex(COMPLETE_STRING)) ? (nNewIdx.get() < m_aText.getLength()) : (nNewIdx + nNewLen).get() <= m_aText.getLength() );
445 m_nIdx = nNewIdx;
446 m_nLen = nNewLen;
447 }
448
450 {
451 m_pWrong = pNew;
452#ifdef DBG_UTIL
453 m_bWrong = true;
454#endif
455 }
456
458 {
459 m_pGrammarCheck = pNew;
460#ifdef DBG_UTIL
461 m_bGrammarCheck = true;
462#endif
463 }
464
466 {
467 m_pSmartTags = pNew;
468 }
469
470 void SetSize( const Size &rNew )
471 {
472 m_aSize = rNew;
473#ifdef DBG_UTIL
474 m_bSize = true;
475#endif
476 }
477
478 void SetFont( SwFont* pNew )
479 {
480 m_pFnt = pNew;
481#ifdef DBG_UTIL
482 m_bFnt = true;
483#endif
484 }
485
486 void SetIdx(TextFrameIndex const nNew)
487 {
488 assert( (m_nLen == TextFrameIndex(COMPLETE_STRING)) ? (nNew.get() < m_aText.getLength()) : (nNew + m_nLen).get() <= m_aText.getLength() );
489 m_nIdx = nNew;
490 }
491
492 void SetLen(TextFrameIndex const nNew)
493 {
494 assert( (nNew == TextFrameIndex(COMPLETE_STRING)) ? (m_nIdx.get() < m_aText.getLength()) : (m_nIdx + nNew).get() <= m_aText.getLength() );
495 m_nLen = nNew;
496 }
497
499 {
500 assert( nNew == TextFrameIndex(COMPLETE_STRING) || nNew <= m_nLen );
501 m_nMeasureLen = nNew;
502 }
503
504 void SetOffset( sal_Int32 nNew )
505 {
506 m_nOfst = nNew;
507#ifdef DBG_UTIL
508 m_bOfst = true;
509#endif
510 }
511
513 {
514 m_nKanaDiff = nNew;
515#ifdef DBG_UTIL
516 m_bKana = true;
517#endif
518 }
519
520 void SetWidth( sal_uInt16 nNew )
521 {
522 m_nWidth = nNew;
523 }
524
525 void SetAscent( sal_uInt16 nNew )
526 {
527 m_nAscent = nNew;
528#ifdef DBG_UTIL
529 m_bAscent = true;
530#endif
531 }
532
533 void SetKern( tools::Long nNew )
534 {
535 m_nKern = nNew;
536 }
537
539 {
540 if( nNew < 0 )
541 {
542 m_nCharacterSpacing = -nNew;
543 m_nSpace = 0;
544 }
545 else
546 {
547 m_nSpace = nNew;
548 m_nCharacterSpacing = 0;
549 }
550#ifdef DBG_UTIL
551 m_bSpace = true;
552 m_bCharacterSpacing = true;
553#endif
554 }
555
557 {
558#ifdef DBG_UTIL
559 m_bNumberOfBlanks = true;
560#endif
561 m_nNumberOfBlanks = nNew;
562 }
563
565 {
566 m_nCursorBidiLevel = nNew;
567 }
568
569 void SetKanaComp( short nNew )
570 {
571 m_nCompress = nNew;
572 }
573
574 void SetBullet( bool bNew )
575 {
576 m_bBullet = bNew;
577 }
578
580 {
581 m_pUnderFnt = pULFnt;
582 }
583
584 void SetUpper( bool bNew )
585 {
586 m_bUpper = bNew;
587#ifdef DBG_UTIL
588 m_bUppr = true;
589#endif
590 }
591
592 void SetDrawSpace( bool bNew )
593 {
594 m_bDrawSpace = bNew;
595#ifdef DBG_UTIL
596 m_bDrawSp = true;
597#endif
598 }
599
600 void SetGreyWave( bool bNew )
601 {
602 m_bGreyWave = bNew;
603 }
604
605 void SetSpaceStop( bool bNew )
606 {
607 m_bSpaceStop = bNew;
608 }
609
610 void SetSnapToGrid( bool bNew )
611 {
612 m_bSnapToGrid = bNew;
613 }
614
615 void SetIgnoreFrameRTL( bool bNew )
616 {
617 m_bIgnoreFrameRTL = bNew;
618 }
619
620 void SetPosMatchesBounds( bool bNew )
621 {
622 m_bPosMatchesBounds = bNew;
623 }
624
625 void Shift( Degree10 nDir );
626
627 // sets a new color at the output device if necessary if a font is passed
628 // as argument, the change if made to the font otherwise the font at the
629 // output device is changed returns if the font has been changed
630 bool ApplyAutoColor( vcl::Font* pFnt = nullptr );
631};
632
633#endif
634
635/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
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...
void SetKern(tools::Long nNew)
Definition: drawfont.hxx:533
VclPtr< OutputDevice > m_pOut
Definition: drawfont.hxx:48
void SetCursorBidiLevel(sal_uInt8 nNew)
Definition: drawfont.hxx:564
bool SnapToGrid() const
Definition: drawfont.hxx:388
bool IsPosMatchesBounds() const
Definition: drawfont.hxx:398
void SetBullet(bool bNew)
Definition: drawfont.hxx:574
void SetDrawSpace(bool bNew)
Definition: drawfont.hxx:592
sal_uInt16 m_nAscent
Definition: drawfont.hxx:68
void SetAscent(sal_uInt16 nNew)
Definition: drawfont.hxx:525
TextFrameIndex m_nNumberOfBlanks
Definition: drawfont.hxx:73
OUString m_aText
Definition: drawfont.hxx:53
void SetPosMatchesBounds(bool bNew)
Definition: drawfont.hxx:620
void SetSpaceStop(bool bNew)
Definition: drawfont.hxx:605
void SetGreyWave(bool bNew)
Definition: drawfont.hxx:600
bool GetUpper() const
Definition: drawfont.hxx:362
void SetNumberOfBlanks(TextFrameIndex const nNew)
Definition: drawfont.hxx:556
TextFrameIndex GetIdx() const
Definition: drawfont.hxx:269
bool GetDrawSpace() const
Definition: drawfont.hxx:370
sal_Int32 m_nOfst
this is not a string index
Definition: drawfont.hxx:66
SwFont * m_pFnt
Definition: drawfont.hxx:58
tools::Long m_nSpace
Definition: drawfont.hxx:71
void SetSnapToGrid(bool bNew)
Definition: drawfont.hxx:610
SwDrawTextInfo(SwViewShell const *pSh, OutputDevice &rOut, const SwScriptInfo *pSI, const OUString &rText, TextFrameIndex const nIdx, TextFrameIndex const nLen, sal_uInt16 nWidth=0, bool bBullet=false, vcl::text::TextLayoutCache const *const pCachedVclData=nullptr)
constructor for text frame contents
Definition: drawfont.hxx:117
void SetHyphPos(TextFrameIndex *const pNew)
Definition: drawfont.hxx:416
const SwScriptInfo * m_pScriptInfo
Definition: drawfont.hxx:50
void SetPos(const Point &rNew)
Definition: drawfont.hxx:408
bool m_bPosMatchesBounds
Definition: drawfont.hxx:87
void SetOffset(sal_Int32 nNew)
Definition: drawfont.hxx:504
TextFrameIndex GetLen() const
Definition: drawfont.hxx:274
void SetSize(const Size &rNew)
Definition: drawfont.hxx:470
const OUString & GetText() const
Definition: drawfont.hxx:222
bool GetBullet() const
Definition: drawfont.hxx:357
sw::WrongListIterator * GetSmartTags() const
Definition: drawfont.hxx:243
sal_uInt8 GetCursorBidiLevel() const
Definition: drawfont.hxx:352
bool IsSpaceStop() const
Definition: drawfont.hxx:383
SwViewShell const * m_pSh
Definition: drawfont.hxx:49
TextFrameIndex * m_pHyphPos
Definition: drawfont.hxx:60
void SetFont(SwFont *pNew)
Definition: drawfont.hxx:478
sal_uInt16 GetKanaComp() const
Definition: drawfont.hxx:318
tools::Long m_nKern
Definition: drawfont.hxx:72
TextFrameIndex * GetHyphPos() const
Definition: drawfont.hxx:209
void SetSmartTags(sw::WrongListIterator *const pNew)
Definition: drawfont.hxx:465
sw::WrongListIterator * GetGrammarCheck() const
Definition: drawfont.hxx:235
SwUnderlineFont * m_pUnderFnt
Definition: drawfont.hxx:59
tools::Long m_nCharacterSpacing
Definition: drawfont.hxx:70
void SetIgnoreFrameRTL(bool bNew)
Definition: drawfont.hxx:615
void SetMeasureLen(TextFrameIndex const nNew)
Definition: drawfont.hxx:498
SwViewShell const * GetShell() const
Definition: drawfont.hxx:181
tools::Long GetKern() const
Definition: drawfont.hxx:331
void SetUpper(bool bNew)
Definition: drawfont.hxx:584
TextFrameIndex m_nLen
Definition: drawfont.hxx:63
bool m_bCharacterSpacing
Definition: drawfont.hxx:101
sw::WrongListIterator * GetWrong() const
Definition: drawfont.hxx:227
void SetKanaDiff(tools::Long nNew)
Definition: drawfont.hxx:512
tools::Long GetCharacterSpacing() const
Definition: drawfont.hxx:323
SwDrawTextInfo(SwViewShell const *pSh, OutputDevice &rOut, const OUString &rText, sal_Int32 const nIdx, sal_Int32 const nLen, sal_uInt16 nWidth=0, bool bBullet=false)
constructor for simple strings
Definition: drawfont.hxx:111
tools::Long m_nKanaDiff
Definition: drawfont.hxx:61
bool m_bIgnoreFrameRTL
Definition: drawfont.hxx:84
void SetKanaComp(short nNew)
Definition: drawfont.hxx:569
sal_uInt16 GetAscent() const
Definition: drawfont.hxx:310
void SetText(const OUString &rNew)
Definition: drawfont.hxx:424
const SwScriptInfo * GetScriptInfo() const
Definition: drawfont.hxx:196
vcl::RenderContext & GetOut() const
Definition: drawfont.hxx:186
void SetWidth(sal_uInt16 nNew)
Definition: drawfont.hxx:520
const SwTextFrame * m_pFrame
Definition: drawfont.hxx:47
bool m_bGreyWave
Definition: drawfont.hxx:78
sw::WrongListIterator * m_pSmartTags
Definition: drawfont.hxx:56
tools::Long GetKanaDiff() const
Definition: drawfont.hxx:297
bool m_bSnapToGrid
Definition: drawfont.hxx:82
TextFrameIndex GetMeasureLen() const
Definition: drawfont.hxx:279
sal_uInt8 m_nCursorBidiLevel
Definition: drawfont.hxx:74
sal_uInt16 m_nCompress
Definition: drawfont.hxx:69
sal_uInt16 m_nWidth
Definition: drawfont.hxx:67
bool m_bNumberOfBlanks
Definition: drawfont.hxx:103
bool GetGreyWave() const
Definition: drawfont.hxx:378
SwFont * GetFont() const
Definition: drawfont.hxx:256
void SetIdx(TextFrameIndex const nNew)
Definition: drawfont.hxx:486
SwUnderlineFont * GetUnderFnt() const
Definition: drawfont.hxx:264
bool m_bDrawSpace
Definition: drawfont.hxx:77
vcl::RenderContext * GetpOut() const
Definition: drawfont.hxx:191
void SetTextIdxLen(const OUString &rNewStr, TextFrameIndex const nNewIdx, TextFrameIndex const nNewLen)
Definition: drawfont.hxx:432
const SwTextFrame * GetFrame() const
Definition: drawfont.hxx:171
sw::WrongListIterator * m_pGrammarCheck
Definition: drawfont.hxx:55
void SetLen(TextFrameIndex const nNew)
Definition: drawfont.hxx:492
vcl::text::TextLayoutCache const * m_pCachedVclData
Definition: drawfont.hxx:52
void SetIdxLen(TextFrameIndex const nNewIdx, TextFrameIndex const nNewLen)
Definition: drawfont.hxx:442
sal_uInt16 GetWidth() const
Definition: drawfont.hxx:305
bool m_bGrammarCheck
Definition: drawfont.hxx:94
bool m_bSpaceStop
Definition: drawfont.hxx:81
TextFrameIndex GetEnd() const
Definition: drawfont.hxx:292
void SetFrame(const SwTextFrame *pNewFrame)
Definition: drawfont.hxx:176
void SetGrammarCheck(sw::WrongListIterator *const pNew)
Definition: drawfont.hxx:457
const Point & GetPos() const
Definition: drawfont.hxx:201
sal_Int32 GetOffset() const
Definition: drawfont.hxx:284
const Size & GetSize() const
Definition: drawfont.hxx:248
bool IsIgnoreFrameRTL() const
Definition: drawfont.hxx:393
void SetOut(OutputDevice &rNew)
Definition: drawfont.hxx:403
TextFrameIndex m_nMeasureLen
Definition: drawfont.hxx:64
TextFrameIndex m_nIdx
Definition: drawfont.hxx:62
void SetUnderFnt(SwUnderlineFont *pULFnt)
Definition: drawfont.hxx:579
TextFrameIndex GetNumberOfBlanks() const
Definition: drawfont.hxx:344
void SetSpace(tools::Long nNew)
Definition: drawfont.hxx:538
tools::Long GetSpace() const
Definition: drawfont.hxx:336
sw::WrongListIterator * m_pWrong
Definition: drawfont.hxx:54
void SetWrong(sw::WrongListIterator *const pNew)
Definition: drawfont.hxx:449
vcl::text::TextLayoutCache const * GetVclCache() const
Definition: drawfont.hxx:217
To take Asian or other languages into consideration, an SwFont object consists of 3 SwSubFonts (Latin...
Definition: swfont.hxx:135
Represents the visualization of a paragraph.
Definition: txtfrm.hxx:168
awt::Size m_aSize
def text(shape, orig_st)
Dialog to specify the properties of date form field.
long Long
OutputDevice RenderContext
Definition: paintfrm.hxx:30
UNDERLYING_TYPE get() const
#define SW_DLLPUBLIC
Definition: swdllapi.h:28
constexpr sal_Int32 COMPLETE_STRING
Definition: swtypes.hxx:57
unsigned char sal_uInt8