LibreOffice Module editeng (master) 1
outlin2.cxx
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
21#include <editeng/editeng.hxx>
22#include <editeng/editview.hxx>
23#include <editeng/editdata.hxx>
24#include <editeng/editund2.hxx>
25
26#include <svl/style.hxx>
27#include <vcl/mapmod.hxx>
28
30
31#include <editeng/outliner.hxx>
32#include "paralist.hxx"
33#include <outleeng.hxx>
34#include <editeng/editstat.hxx>
35
36
37using namespace ::com::sun::star::uno;
38using namespace ::com::sun::star::linguistic2;
39
40
41// ====================== Simple pass-through =======================
42
43
44bool Outliner::SetUpdateLayout( bool bUpdate )
45{
46 return pEditEngine->SetUpdateLayout( bUpdate );
47}
48
49
51{
52 return pEditEngine->IsUpdateLayout();
53}
54
56{
57 return pEditEngine->GetEmptyItemSet();
58}
59
60void Outliner::EnableUndo( bool bEnable )
61{
62 pEditEngine->EnableUndo( bEnable );
63}
64
66{
67 return pEditEngine->IsUndoEnabled();
68}
69
71{
72 return pEditEngine->GetRefMapMode();
73}
74
75void Outliner::SetRefMapMode( const MapMode& rMMode )
76{
77 pEditEngine->SetRefMapMode( rMMode );
78}
79
81{
82 pEditEngine->SetBackgroundColor( rColor );
83}
84
86{
87 return pEditEngine->GetBackgroundColor();
88}
89
90
92{
93 pEditEngine->ClearModifyFlag();
94}
95
97{
98 return pEditEngine->IsModified();
99}
100
101sal_uInt32 Outliner::GetTextHeight() const
102{
103 return pEditEngine->GetTextHeight();
104}
105
107{
108 pEditEngine->SetModifyHdl( rLink );
109}
110
112{
113 pEditEngine->aOutlinerNotifyHdl = rLink;
114
115 if ( rLink.IsSet() )
116 pEditEngine->SetNotifyHdl( LINK( this, Outliner, EditEngineNotifyHdl ) );
117 else
118 pEditEngine->SetNotifyHdl( Link<EENotify&,void>() );
119}
120
122{
123 pEditEngine->SetStatusEventHdl( rLink );
124}
125
127{
128 return pEditEngine->GetStatusEventHdl();
129}
130
131void Outliner::SetDefTab( sal_uInt16 nTab )
132{
133 pEditEngine->SetDefTab( nTab );
134}
135
137{
138 return pEditEngine->IsFlatMode();
139}
140
142{
143 return pEditEngine->UpdateFields();
144}
145
146void Outliner::RemoveFields( const std::function<bool ( const SvxFieldData* )>& isFieldData )
147{
148 pEditEngine->RemoveFields( isFieldData );
149}
150
151void Outliner::SetWordDelimiters( const OUString& rDelimiters )
152{
153 pEditEngine->SetWordDelimiters( rDelimiters );
154}
155
156OUString const & Outliner::GetWordDelimiters() const
157{
158 return pEditEngine->GetWordDelimiters();
159}
160
161OUString Outliner::GetWord( sal_Int32 nPara, sal_Int32 nIndex )
162{
163 return pEditEngine->GetWord( nPara, nIndex );
164}
165
166void Outliner::Draw( OutputDevice& rOutDev, const tools::Rectangle& rOutRect )
167{
168 pEditEngine->Draw( rOutDev, rOutRect );
169}
170
171void Outliner::Draw( OutputDevice& rOutDev, const Point& rStartPos )
172{
173 pEditEngine->Draw( rOutDev, rStartPos );
174}
175
176void Outliner::SetPaperSize( const Size& rSize )
177{
178 pEditEngine->SetPaperSize( rSize );
179}
180
182{
183 return pEditEngine->GetPaperSize();
184}
185
187{
188 pEditEngine->SetPolygon( rPolyPolygon );
189}
190
191void Outliner::SetPolygon( const basegfx::B2DPolyPolygon& rPolyPolygon, const basegfx::B2DPolyPolygon* pLinePolyPolygon)
192{
193 pEditEngine->SetPolygon( rPolyPolygon, pLinePolyPolygon);
194}
195
197{
198 pEditEngine->ClearPolygon();
199}
200
202{
203 return pEditEngine->GetMinAutoPaperSize();
204}
205
207{
208 pEditEngine->SetMinAutoPaperSize( rSz );
209}
210
212{
213 return pEditEngine->GetMaxAutoPaperSize();
214}
215
217{
218 pEditEngine->SetMaxAutoPaperSize( rSz );
219}
220
222{
223 pEditEngine->SetMinColumnWrapHeight(nVal);
224}
225
226bool Outliner::IsExpanded( Paragraph const * pPara ) const
227{
228 return pParaList->HasVisibleChildren( pPara );
229}
230
231Paragraph* Outliner::GetParent( Paragraph const * pParagraph ) const
232{
233 return pParaList->GetParent( pParagraph );
234}
235
236sal_Int32 Outliner::GetChildCount( Paragraph const * pParent ) const
237{
238 return pParaList->GetChildCount( pParent );
239}
240
242{
243 return Size(pEditEngine->CalcTextWidth(),pEditEngine->GetTextHeight());
244}
245
247{
248 return Size(pEditEngine->CalcTextWidth(),pEditEngine->GetTextHeightNTP());
249}
250
252{
253 pEditEngine->SetStyleSheetPool( pSPool );
254}
255
257{
258 return pEditEngine->GetStyleSheetPool();
259}
260
262{
263 return pEditEngine->GetStyleSheet( nPara );
264}
265
267{
268 return pEditEngine->IsInSelectionMode();
269}
270
272{
273 pEditEngine->SetControlWord( nWord );
274}
275
277{
278 return pEditEngine->GetControlWord();
279}
280
282{
283 pEditEngine->SetAsianCompressionMode( n );
284}
285
287{
288 pEditEngine->SetKernAsianPunctuation( b );
289}
290
291void Outliner::SetAddExtLeading( bool bExtLeading )
292{
293 pEditEngine->SetAddExtLeading( bExtLeading );
294}
295
296void Outliner::UndoActionStart( sal_uInt16 nId )
297{
298 pEditEngine->UndoActionStart( nId );
299}
300
302{
303 pEditEngine->UndoActionEnd();
304}
305
306void Outliner::InsertUndo( std::unique_ptr<EditUndo> pUndo )
307{
308 pEditEngine->GetUndoManager().AddUndoAction( std::move(pUndo) );
309}
310
312{
313 return pEditEngine->IsInUndo();
314}
315
316sal_uInt32 Outliner::GetLineCount( sal_Int32 nParagraph ) const
317{
318 return pEditEngine->GetLineCount( nParagraph );
319}
320
321sal_Int32 Outliner::GetLineLen( sal_Int32 nParagraph, sal_Int32 nLine ) const
322{
323 return pEditEngine->GetLineLen( nParagraph, nLine );
324}
325
326sal_uInt32 Outliner::GetLineHeight( sal_Int32 nParagraph )
327{
328 return pEditEngine->GetLineHeight( nParagraph );
329}
330
331void Outliner::RemoveCharAttribs( sal_Int32 nPara, sal_uInt16 nWhich )
332{
333 pEditEngine->RemoveCharAttribs( nPara, nWhich );
334}
335
337{
338 return pEditEngine->HasSpellErrors();
339}
340
342{
343 return pEditEngine->HasConvertibleTextPortion( nLang );
344}
345
347{
348 return false;
349}
350
352{
353 pEditEngine->SetDefaultLanguage( eLang );
354}
355
357{
358 pEditEngine->CompleteOnlineSpelling();
359}
360
361bool Outliner::HasText( const SvxSearchItem& rSearchItem )
362{
363 return pEditEngine->HasText( rSearchItem );
364}
365
367{
368 pEditEngine->SetEditTextObjectPool( pPool );
369}
370
372{
373 return pEditEngine->GetEditTextObjectPool();
374}
375
377{
378 return false;
379}
380
381
382void Outliner::SetSpeller( Reference< XSpellChecker1 > const &xSpeller )
383{
384 pEditEngine->SetSpeller( xSpeller );
385}
386
387Reference< XSpellChecker1 > const & Outliner::GetSpeller()
388{
389 return pEditEngine->GetSpeller();
390}
391
392void Outliner::SetForbiddenCharsTable(const std::shared_ptr<SvxForbiddenCharactersTable>& xForbiddenChars)
393{
394 EditEngine::SetForbiddenCharsTable(xForbiddenChars);
395}
396
397void Outliner::SetHyphenator( Reference< XHyphenator > const & xHyph )
398{
399 pEditEngine->SetHyphenator( xHyph );
400}
401
403{
404 return pEditEngine->GetRefDevice();
405}
406
407tools::Rectangle Outliner::GetParaBounds( sal_Int32 nParagraph ) const
408{
409 return pEditEngine->GetParaBounds(nParagraph );
410}
411
412Point Outliner::GetDocPos( const Point& rPaperPos ) const
413{
414 return pEditEngine->GetDocPos( rPaperPos );
415}
416
417bool Outliner::IsTextPos( const Point& rPaperPos, sal_uInt16 nBorder )
418{
419 return IsTextPos( rPaperPos, nBorder, nullptr );
420}
421
422bool Outliner::IsTextPos( const Point& rPaperPos, sal_uInt16 nBorder, bool* pbBullet )
423{
424 if ( pbBullet)
425 *pbBullet = false;
426 bool bTextPos = pEditEngine->IsTextPos( rPaperPos, nBorder );
427 if ( !bTextPos )
428 {
429 Point aDocPos = GetDocPos( rPaperPos );
430 sal_Int32 nPara = pEditEngine->FindParagraph( aDocPos.Y() );
431 if ( ( nPara != EE_PARA_NOT_FOUND ) && ImplHasNumberFormat( nPara ) )
432 {
433 tools::Rectangle aBulArea = ImpCalcBulletArea( nPara, true, true );
434 if ( aBulArea.Contains( rPaperPos ) )
435 {
436 bTextPos = true;
437 if ( pbBullet)
438 *pbBullet = true;
439 }
440 }
441 }
442
443 return bTextPos;
444}
445
446void Outliner::QuickSetAttribs( const SfxItemSet& rSet, const ESelection& rSel )
447{
448 pEditEngine->QuickSetAttribs( rSet, rSel );
449}
450
451void Outliner::QuickInsertText( const OUString& rText, const ESelection& rSel )
452{
453 bFirstParaIsEmpty = false;
454 pEditEngine->QuickInsertText( rText, rSel );
455}
456
458{
459 bFirstParaIsEmpty = false;
460 pEditEngine->QuickDelete( rSel );
461}
462
463void Outliner::QuickInsertField( const SvxFieldItem& rFld, const ESelection& rSel )
464{
465 bFirstParaIsEmpty = false;
466 pEditEngine->QuickInsertField( rFld, rSel );
467}
468
470{
471 bFirstParaIsEmpty = false;
472 pEditEngine->QuickInsertLineBreak( rSel );
473}
474
476{
477 pEditEngine->QuickFormatDoc();
478}
479
480void Outliner::setGlobalScale(double rFontX, double rFontY, double rSpacingX, double rSpacingY)
481{
482 // reset bullet size
483 sal_Int32 nParagraphs = pParaList->GetParagraphCount();
484 for ( sal_Int32 nPara = 0; nPara < nParagraphs; nPara++ )
485 {
486 Paragraph* pPara = pParaList->GetParagraph( nPara );
487 if ( pPara )
488 pPara->aBulSize.setWidth( -1 );
489 }
490
491 pEditEngine->setGlobalScale(rFontX, rFontY, rSpacingX, rSpacingY);
492}
493
494void Outliner::getGlobalScale(double& rFontX, double& rFontY, double& rSpacingX, double& rSpacingY) const
495{
496 pEditEngine->getGlobalFontScale(rFontX, rFontY);
497 pEditEngine->getGlobalSpacingScale(rSpacingX, rSpacingY);
498}
499
500void Outliner::setRoundFontSizeToPt(bool bRound) const
501{
502 pEditEngine->setRoundFontSizeToPt(bRound);
503}
504
506{
507 pEditEngine->EraseVirtualDevice();
508}
509
511{
512 return pEditEngine->ShouldCreateBigTextObject();
513}
514
516{
517 return *pEditEngine;
518}
519
520void Outliner::SetVertical(bool bVertical)
521{
522 pEditEngine->SetVertical(bVertical);
523}
524
526{
527 pEditEngine->SetRotation(nRotation);
528}
529
531{
532 return pEditEngine->IsEffectivelyVertical();
533}
534
536{
537 return pEditEngine->IsTopToBottom();
538}
539
540void Outliner::SetTextColumns(sal_Int16 nColumns, sal_Int32 nSpacing)
541{
542 pEditEngine->SetTextColumns(nColumns, nSpacing);
543}
544
545void Outliner::SetFixedCellHeight( bool bUseFixedCellHeight )
546{
547 pEditEngine->SetFixedCellHeight( bUseFixedCellHeight );
548}
549
551{
552 pEditEngine->SetDefaultHorizontalTextDirection( eHTextDir );
553}
554
556{
557 return pEditEngine->GetDefaultHorizontalTextDirection();
558}
559
560LanguageType Outliner::GetLanguage( sal_Int32 nPara, sal_Int32 nPos ) const
561{
562 return pEditEngine->GetLanguage( nPara, nPos ).nLang;
563}
564
565void Outliner::RemoveAttribs( const ESelection& rSelection, bool bRemoveParaAttribs, sal_uInt16 nWhich )
566{
567 pEditEngine->RemoveAttribs( rSelection, bRemoveParaAttribs, nWhich );
568}
569
571{
572 pEditEngine->EnableAutoColor( b );
573}
574
576{
577 pEditEngine->ForceAutoColor( b );
578}
579
581{
582 return pEditEngine->IsForceAutoColor();
583}
584
585bool Outliner::SpellSentence(EditView const & rEditView, svx::SpellPortions& rToFill )
586{
587 return pEditEngine->SpellSentence(rEditView, rToFill );
588}
589
591{
592 pEditEngine->PutSpellingToSentenceStart( rEditView );
593}
594
595void Outliner::ApplyChangedSentence(EditView const & rEditView, const svx::SpellPortions& rNewPortions, bool bRecheck )
596{
597 pEditEngine->ApplyChangedSentence( rEditView, rNewPortions, bRecheck );
598}
599
600/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
CharCompressType
static void SetForbiddenCharsTable(const std::shared_ptr< SvxForbiddenCharactersTable > &xForbiddenChars)
Definition: editeng.cxx:2210
void ApplyChangedSentence(EditView const &rEditView, const svx::SpellPortions &rNewPortions, bool bRecheck)
Definition: outlin2.cxx:595
void SetMaxAutoPaperSize(const Size &rSz)
Definition: outlin2.cxx:216
void SetHyphenator(css::uno::Reference< css::linguistic2::XHyphenator > const &xHyph)
Definition: outlin2.cxx:397
void QuickSetAttribs(const SfxItemSet &rSet, const ESelection &rSel)
Definition: outlin2.cxx:446
virtual bool ConvertNextDocument()
Definition: outlin2.cxx:346
void SetDefaultLanguage(LanguageType eLang)
Definition: outlin2.cxx:351
SfxStyleSheetPool * GetStyleSheetPool()
Definition: outlin2.cxx:256
void CompleteOnlineSpelling()
Definition: outlin2.cxx:356
bool ShouldCreateBigTextObject() const
Definition: outlin2.cxx:510
bool IsTextPos(const Point &rPaperPos, sal_uInt16 nBorder)
Definition: outlin2.cxx:417
const EditEngine & GetEditEngine() const
Definition: outlin2.cxx:515
void SetRotation(TextRotation nRotation)
Definition: outlin2.cxx:525
bool IsUpdateLayout() const
Definition: outlin2.cxx:50
void QuickInsertText(const OUString &rText, const ESelection &rSel)
Definition: outlin2.cxx:451
const Size & GetPaperSize() const
Definition: outlin2.cxx:181
tools::Rectangle ImpCalcBulletArea(sal_Int32 nPara, bool bAdjust, bool bReturnPaperPos)
Definition: outliner.cxx:1484
const SfxItemSet & GetEmptyItemSet() const
Definition: outlin2.cxx:55
SfxItemPool * GetEditTextObjectPool() const
Definition: outlin2.cxx:371
void SetTextColumns(sal_Int16 nColumns, sal_Int32 nSpacing)
Definition: outlin2.cxx:540
void SetMinColumnWrapHeight(tools::Long nVal)
Definition: outlin2.cxx:221
LanguageType GetLanguage(sal_Int32 nPara, sal_Int32 nPos) const
Definition: outlin2.cxx:560
void SetNotifyHdl(const Link< EENotify &, void > &rLink)
Definition: outlin2.cxx:111
void SetMinAutoPaperSize(const Size &rSz)
Definition: outlin2.cxx:206
void SetDefTab(sal_uInt16 nTab)
Definition: outlin2.cxx:131
void QuickInsertField(const SvxFieldItem &rFld, const ESelection &rSel)
Definition: outlin2.cxx:463
MapMode const & GetRefMapMode() const
Definition: outlin2.cxx:70
void getGlobalScale(double &rFontX, double &rFontY, double &rSpacingX, double &rSpacingY) const
Definition: outlin2.cxx:494
void SetPaperSize(const Size &rSize)
Definition: outlin2.cxx:176
tools::Rectangle GetParaBounds(sal_Int32 nParagraph) const
Definition: outlin2.cxx:407
std::unique_ptr< OutlinerEditEng > pEditEngine
Definition: outliner.hxx:587
bool ImplHasNumberFormat(sal_Int32 nPara) const
Definition: outliner.cxx:1355
bool SpellSentence(EditView const &rEditView, svx::SpellPortions &rToFill)
Definition: outlin2.cxx:585
void InsertUndo(std::unique_ptr< EditUndo > pUndo)
Definition: outlin2.cxx:306
bool SetUpdateLayout(bool bUpdate)
Definition: outlin2.cxx:44
void SetAsianCompressionMode(CharCompressType nCompressionMode)
Definition: outlin2.cxx:281
EESpellState HasSpellErrors()
Definition: outlin2.cxx:336
void SetEditTextObjectPool(SfxItemPool *pPool)
Definition: outlin2.cxx:366
void SetAddExtLeading(bool b)
Definition: outlin2.cxx:291
void SetFixedCellHeight(bool bUseFixedCellHeight)
Definition: outlin2.cxx:545
bool IsUndoEnabled() const
Definition: outlin2.cxx:65
void SetVertical(bool bVertical)
Definition: outlin2.cxx:520
Paragraph * GetParent(Paragraph const *pParagraph) const
Definition: outlin2.cxx:231
void setRoundFontSizeToPt(bool bRound) const
Definition: outlin2.cxx:500
void ForceAutoColor(bool b)
Definition: outlin2.cxx:575
virtual bool SpellNextDocument()
Definition: outlin2.cxx:376
EEControlBits GetControlWord() const
Definition: outlin2.cxx:276
bool bFirstParaIsEmpty
Definition: outliner.hxx:613
void SetStatusEventHdl(const Link< EditStatus &, void > &rLink)
Definition: outlin2.cxx:121
void SetSpeller(css::uno::Reference< css::linguistic2::XSpellChecker1 > const &xSpeller)
Definition: outlin2.cxx:382
void QuickFormatDoc()
Definition: outlin2.cxx:475
bool IsExpanded(Paragraph const *pPara) const
Definition: outlin2.cxx:226
sal_uInt32 GetLineCount(sal_Int32 nParagraph) const
Definition: outlin2.cxx:316
bool HasText(const SvxSearchItem &rSearchItem)
Definition: outlin2.cxx:361
void QuickDelete(const ESelection &rSel)
Definition: outlin2.cxx:457
void UndoActionStart(sal_uInt16 nId)
Definition: outlin2.cxx:296
OUString GetWord(sal_Int32 nPara, sal_Int32 nIndex)
Definition: outlin2.cxx:161
std::unique_ptr< ParagraphList > pParaList
Definition: outliner.hxx:589
void QuickInsertLineBreak(const ESelection &rSel)
Definition: outlin2.cxx:469
void SetModifyHdl(const Link< LinkParamNone *, void > &rLink)
Definition: outlin2.cxx:106
void RemoveAttribs(const ESelection &rSelection, bool bRemoveParaAttribs, sal_uInt16 nWhich)
Definition: outlin2.cxx:565
Color const & GetBackgroundColor() const
Definition: outlin2.cxx:85
const Size & GetMaxAutoPaperSize() const
Definition: outlin2.cxx:211
void SetControlWord(EEControlBits nWord)
Definition: outlin2.cxx:271
void RemoveFields(const std::function< bool(const SvxFieldData *)> &isFieldData=[](const SvxFieldData *){return true;})
Definition: outlin2.cxx:146
bool UpdateFields()
Definition: outlin2.cxx:141
sal_uInt32 GetTextHeight() const
Definition: outlin2.cxx:101
void SetWordDelimiters(const OUString &rDelimiters)
Definition: outlin2.cxx:151
void ClearPolygon()
Definition: outlin2.cxx:196
void SetPolygon(const basegfx::B2DPolyPolygon &rPolyPolygon)
Definition: outlin2.cxx:186
void SetStyleSheetPool(SfxStyleSheetPool *pSPool)
Definition: outlin2.cxx:251
void EnableAutoColor(bool b)
Definition: outlin2.cxx:570
bool HasConvertibleTextPortion(LanguageType nLang)
Definition: outlin2.cxx:341
Size CalcTextSize()
Definition: outlin2.cxx:241
bool IsFlatMode() const
Definition: outlin2.cxx:136
void setGlobalScale(double rFontX=100.0, double rFontY=100.0, double rSpacingX=100.0, double rSpacingY=100.0)
Definition: outlin2.cxx:480
static void SetForbiddenCharsTable(const std::shared_ptr< SvxForbiddenCharactersTable > &xForbiddenChars)
Definition: outlin2.cxx:392
css::uno::Reference< css::linguistic2::XSpellChecker1 > const & GetSpeller()
Definition: outlin2.cxx:387
bool IsVertical() const
Definition: outlin2.cxx:530
sal_Int32 GetChildCount(Paragraph const *pParent) const
Definition: outlin2.cxx:236
void ClearModifyFlag()
Definition: outlin2.cxx:91
void Draw(OutputDevice &rOutDev, const tools::Rectangle &rOutRect)
Definition: outlin2.cxx:166
bool IsInSelectionMode() const
Definition: outlin2.cxx:266
sal_uInt32 GetLineHeight(sal_Int32 nParagraph)
Definition: outlin2.cxx:326
OUString const & GetWordDelimiters() const
Definition: outlin2.cxx:156
Point GetDocPos(const Point &rPaperPos) const
Definition: outlin2.cxx:412
sal_Int32 GetLineLen(sal_Int32 nParagraph, sal_Int32 nLine) const
Definition: outlin2.cxx:321
EEHorizontalTextDirection GetDefaultHorizontalTextDirection() const
Definition: outlin2.cxx:555
void SetRefMapMode(const MapMode &)
Definition: outlin2.cxx:75
void SetBackgroundColor(const Color &rColor)
Definition: outlin2.cxx:80
void RemoveCharAttribs(sal_Int32 nPara, sal_uInt16 nWhich=0)
Definition: outlin2.cxx:331
void SetKernAsianPunctuation(bool bEnabled)
Definition: outlin2.cxx:286
void EraseVirtualDevice()
Definition: outlin2.cxx:505
bool IsInUndo() const
Definition: outlin2.cxx:311
OutputDevice * GetRefDevice() const
Definition: outlin2.cxx:402
SfxStyleSheet * GetStyleSheet(sal_Int32 nPara)
Definition: outlin2.cxx:261
Link< EditStatus &, void > const & GetStatusEventHdl() const
Definition: outlin2.cxx:126
void PutSpellingToSentenceStart(EditView const &rEditView)
Definition: outlin2.cxx:590
bool IsModified() const
Definition: outlin2.cxx:96
bool IsTopToBottom() const
Definition: outlin2.cxx:535
const Size & GetMinAutoPaperSize() const
Definition: outlin2.cxx:201
void EnableUndo(bool bEnable)
Definition: outlin2.cxx:60
void UndoActionEnd()
Definition: outlin2.cxx:301
Size CalcTextSizeNTP()
Definition: outlin2.cxx:246
void SetDefaultHorizontalTextDirection(EEHorizontalTextDirection eHTextDir)
Definition: outlin2.cxx:550
bool IsForceAutoColor() const
Definition: outlin2.cxx:580
Size aBulSize
Definition: outliner.hxx:131
constexpr tools::Long Y() const
void setWidth(tools::Long nWidth)
This item stores a field (SvxFieldData).
Definition: flditem.hxx:70
bool Contains(const Point &rPOINT) const
#define EE_PARA_NOT_FOUND
Definition: editdata.hxx:48
EESpellState
Definition: editdata.hxx:40
EEHorizontalTextDirection
Definition: editdata.hxx:36
TextRotation
Definition: editobj.hxx:55
EEControlBits
Definition: editstat.hxx:28
sal_Int32 nIndex
sal_Int64 n
sal_uInt16 nPos
tools::Long const nBorder
std::vector< SpellPortion > SpellPortions
Definition: outliner.hxx:87
long Long
sal_Int16 nId
static SfxItemSet & rSet