Update ooo320-m1
[ooovba.git] / svx / source / outliner / outlin2.cxx
blob9f4115905386d82746c06e3da22959f875668dfc
1 /*************************************************************************
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 *
5 * Copyright 2008 by Sun Microsystems, Inc.
7 * OpenOffice.org - a multi-platform office productivity suite
9 * $RCSfile: outlin2.cxx,v $
10 * $Revision: 1.37 $
12 * This file is part of OpenOffice.org.
14 * OpenOffice.org is free software: you can redistribute it and/or modify
15 * it under the terms of the GNU Lesser General Public License version 3
16 * only, as published by the Free Software Foundation.
18 * OpenOffice.org is distributed in the hope that it will be useful,
19 * but WITHOUT ANY WARRANTY; without even the implied warranty of
20 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21 * GNU Lesser General Public License version 3 for more details
22 * (a copy is included in the LICENSE file that accompanied this code).
24 * You should have received a copy of the GNU Lesser General Public License
25 * version 3 along with OpenOffice.org. If not, see
26 * <http://www.openoffice.org/license.html>
27 * for a copy of the LGPLv3 License.
29 ************************************************************************/
31 // MARKER(update_precomp.py): autogen include statement, do not remove
32 #include "precompiled_svx.hxx"
33 #include <outl_pch.hxx>
35 #include <tools/list.hxx>
36 #include <svtools/style.hxx>
37 #include <vcl/mapmod.hxx>
39 #include <forbiddencharacterstable.hxx>
41 #define _OUTLINER_CXX
43 #include <svx/outliner.hxx>
44 #include <paralist.hxx>
45 #include <svx/outlobj.hxx>
46 #include <outleeng.hxx>
47 #include <outlundo.hxx>
48 #include <svx/eeitem.hxx>
49 #include <editstat.hxx>
51 DBG_NAMEEX(Outliner)
53 using namespace ::com::sun::star::uno;
54 using namespace ::com::sun::star::linguistic2;
56 // =====================================================================
57 // ====================== Einfache Durchreicher =======================
58 // ======================================================================
60 void Outliner::SetUpdateMode( BOOL bUpdate )
62 DBG_CHKTHIS(Outliner,0);
63 pEditEngine->SetUpdateMode( bUpdate );
67 BOOL Outliner::GetUpdateMode() const
69 DBG_CHKTHIS(Outliner,0);
70 return pEditEngine->GetUpdateMode();
73 const SfxItemSet& Outliner::GetEmptyItemSet() const
75 DBG_CHKTHIS(Outliner,0);
76 return pEditEngine->GetEmptyItemSet();
79 void Outliner::EnableUndo( BOOL bEnable )
81 DBG_CHKTHIS(Outliner,0);
82 pEditEngine->EnableUndo( bEnable );
85 BOOL Outliner::IsUndoEnabled() const
87 DBG_CHKTHIS(Outliner,0);
88 return pEditEngine->IsUndoEnabled();
91 MapMode Outliner::GetRefMapMode() const
93 DBG_CHKTHIS(Outliner,0);
94 return pEditEngine->GetRefMapMode();
97 void Outliner::SetRefMapMode( const MapMode& rMMode )
99 DBG_CHKTHIS(Outliner,0);
100 pEditEngine->SetRefMapMode( rMMode );
103 void Outliner::SetBackgroundColor( const Color& rColor )
105 DBG_CHKTHIS(Outliner,0);
106 pEditEngine->SetBackgroundColor( rColor );
109 Color Outliner::GetBackgroundColor() const
111 DBG_CHKTHIS(Outliner,0);
112 return pEditEngine->GetBackgroundColor();
116 void Outliner::ClearModifyFlag()
118 DBG_CHKTHIS(Outliner,0);
119 pEditEngine->ClearModifyFlag();
122 BOOL Outliner::IsModified() const
124 DBG_CHKTHIS(Outliner,0);
125 return pEditEngine->IsModified();
128 ULONG Outliner::GetTextHeight() const
130 DBG_CHKTHIS(Outliner,0);
131 return pEditEngine->GetTextHeight();
134 void Outliner::SetModifyHdl( const Link& rLink )
136 DBG_CHKTHIS(Outliner,0);
137 pEditEngine->SetModifyHdl( rLink );
140 Link Outliner::GetModifyHdl() const
142 DBG_CHKTHIS(Outliner,0);
143 return pEditEngine->GetModifyHdl();
146 void Outliner::SetNotifyHdl( const Link& rLink )
148 DBG_CHKTHIS(Outliner,0);
149 pEditEngine->aOutlinerNotifyHdl = rLink;
151 if ( rLink.IsSet() )
152 pEditEngine->SetNotifyHdl( LINK( this, Outliner, EditEngineNotifyHdl ) );
153 else
154 pEditEngine->SetNotifyHdl( Link() );
158 Link Outliner::GetNotifyHdl() const
160 DBG_CHKTHIS(Outliner,0);
161 return pEditEngine->aOutlinerNotifyHdl;
164 void Outliner::SetStatusEventHdl( const Link& rLink )
166 DBG_CHKTHIS(Outliner,0);
167 pEditEngine->SetStatusEventHdl( rLink );
170 Link Outliner::GetStatusEventHdl() const
172 DBG_CHKTHIS(Outliner,0);
173 return pEditEngine->GetStatusEventHdl();
176 void Outliner::SetDefTab( USHORT nTab )
178 DBG_CHKTHIS(Outliner,0);
179 pEditEngine->SetDefTab( nTab );
182 USHORT Outliner::GetDefTab() const
184 DBG_CHKTHIS(Outliner,0);
185 return pEditEngine->GetDefTab();
188 BOOL Outliner::IsFlatMode() const
190 DBG_CHKTHIS(Outliner,0);
191 return pEditEngine->IsFlatMode();
194 BOOL Outliner::UpdateFields()
196 DBG_CHKTHIS(Outliner,0);
197 return pEditEngine->UpdateFields();
200 void Outliner::RemoveFields( BOOL bKeepFieldText, TypeId aType )
202 DBG_CHKTHIS(Outliner,0);
203 pEditEngine->RemoveFields( bKeepFieldText, aType );
206 void Outliner::SetWordDelimiters( const String& rDelimiters )
208 DBG_CHKTHIS(Outliner,0);
209 pEditEngine->SetWordDelimiters( rDelimiters );
212 String Outliner::GetWordDelimiters() const
214 DBG_CHKTHIS(Outliner,0);
215 return pEditEngine->GetWordDelimiters();
218 String Outliner::GetWord( USHORT nPara, USHORT nIndex )
220 DBG_CHKTHIS(Outliner,0);
221 return pEditEngine->GetWord( nPara, nIndex );
224 void Outliner::Draw( OutputDevice* pOutDev, const Rectangle& rOutRect )
226 DBG_CHKTHIS(Outliner,0);
227 pEditEngine->Draw( pOutDev, rOutRect );
230 void Outliner::Draw( OutputDevice* pOutDev, const Rectangle& rOutRect, const Point& rStartDocPos )
232 DBG_CHKTHIS(Outliner,0);
233 pEditEngine->Draw( pOutDev, rOutRect, rStartDocPos );
237 void Outliner::Draw( OutputDevice* pOutDev, const Point& rStartPos, short nOrientation )
239 DBG_CHKTHIS(Outliner,0);
240 pEditEngine->Draw( pOutDev, rStartPos, nOrientation );
243 void Outliner::SetPaperSize( const Size& rSize )
245 DBG_CHKTHIS(Outliner,0);
246 pEditEngine->SetPaperSize( rSize );
249 const Size& Outliner::GetPaperSize() const
251 DBG_CHKTHIS(Outliner,0);
252 return pEditEngine->GetPaperSize();
255 void Outliner::SetPolygon( const basegfx::B2DPolyPolygon& rPolyPolygon )
257 DBG_CHKTHIS( Outliner, 0 );
258 pEditEngine->SetPolygon( rPolyPolygon );
261 void Outliner::SetPolygon( const basegfx::B2DPolyPolygon& rPolyPolygon, const basegfx::B2DPolyPolygon* pLinePolyPolygon)
263 DBG_CHKTHIS( Outliner, 0 );
264 pEditEngine->SetPolygon( rPolyPolygon, pLinePolyPolygon);
267 void Outliner::ClearPolygon()
269 DBG_CHKTHIS( Outliner, 0 );
270 pEditEngine->ClearPolygon();
273 const PolyPolygon* Outliner::GetPolygon()
275 DBG_CHKTHIS( Outliner, 0 );
276 return pEditEngine->GetPolygon();
279 const Size& Outliner::GetMinAutoPaperSize() const
281 DBG_CHKTHIS(Outliner,0);
282 return pEditEngine->GetMinAutoPaperSize();
285 void Outliner::SetMinAutoPaperSize( const Size& rSz )
287 DBG_CHKTHIS(Outliner,0);
288 pEditEngine->SetMinAutoPaperSize( rSz );
291 const Size& Outliner::GetMaxAutoPaperSize() const
293 DBG_CHKTHIS(Outliner,0);
294 return pEditEngine->GetMaxAutoPaperSize();
297 void Outliner::SetMaxAutoPaperSize( const Size& rSz )
299 DBG_CHKTHIS(Outliner,0);
300 pEditEngine->SetMaxAutoPaperSize( rSz );
303 BOOL Outliner::IsExpanded( Paragraph* pPara ) const
305 DBG_CHKTHIS(Outliner,0);
306 return pParaList->HasVisibleChilds( pPara );
309 Paragraph* Outliner::GetParent( Paragraph* pParagraph ) const
311 DBG_CHKTHIS(Outliner,0);
312 return pParaList->GetParent( pParagraph );
315 ULONG Outliner::GetChildCount( Paragraph* pParent ) const
317 DBG_CHKTHIS(Outliner,0);
318 return pParaList->GetChildCount( pParent );
321 Size Outliner::CalcTextSize()
323 DBG_CHKTHIS(Outliner,0);
324 return Size(pEditEngine->CalcTextWidth(),pEditEngine->GetTextHeight());
327 Point Outliner::GetDocPos( Paragraph* pPara )
329 DBG_CHKTHIS(Outliner,0);
330 return pEditEngine->GetDocPosTopLeft( (USHORT)pParaList->GetAbsPos( pPara ) );
333 void Outliner::SetStyleSheetPool( SfxStyleSheetPool* pSPool )
335 DBG_CHKTHIS(Outliner,0);
336 pEditEngine->SetStyleSheetPool( pSPool );
339 SfxStyleSheetPool* Outliner::GetStyleSheetPool()
341 DBG_CHKTHIS(Outliner,0);
342 return pEditEngine->GetStyleSheetPool();
345 SfxStyleSheet* Outliner::GetStyleSheet( ULONG nPara )
347 DBG_CHKTHIS(Outliner,0);
348 return pEditEngine->GetStyleSheet( (USHORT)nPara );
351 BOOL Outliner::IsInSelectionMode() const
353 DBG_CHKTHIS(Outliner,0);
354 return pEditEngine->IsInSelectionMode();
357 void Outliner::SetControlWord( ULONG nWord )
359 DBG_CHKTHIS(Outliner,0);
360 pEditEngine->SetControlWord( nWord );
363 ULONG Outliner::GetControlWord() const
365 DBG_CHKTHIS(Outliner,0);
366 return pEditEngine->GetControlWord();
369 void Outliner::SetAsianCompressionMode( USHORT n )
371 DBG_CHKTHIS(Outliner,0);
372 pEditEngine->SetAsianCompressionMode( n );
375 USHORT Outliner::GetAsianCompressionMode() const
377 DBG_CHKTHIS(Outliner,0);
378 return pEditEngine->GetAsianCompressionMode();
381 void Outliner::SetKernAsianPunctuation( BOOL b )
383 DBG_CHKTHIS(Outliner,0);
384 pEditEngine->SetKernAsianPunctuation( b );
387 BOOL Outliner::IsKernAsianPunctuation() const
389 DBG_CHKTHIS(Outliner,0);
390 return pEditEngine->IsKernAsianPunctuation();
393 void Outliner::SetAddExtLeading( BOOL bExtLeading )
395 DBG_CHKTHIS(Outliner,0);
396 pEditEngine->SetAddExtLeading( bExtLeading );
399 BOOL Outliner::IsAddExtLeading() const
401 DBG_CHKTHIS(Outliner,0);
402 return pEditEngine->IsAddExtLeading();
405 void Outliner::UndoActionStart( USHORT nId )
407 DBG_CHKTHIS(Outliner,0);
408 pEditEngine->UndoActionStart( nId );
411 void Outliner::UndoActionEnd( USHORT nId )
413 DBG_CHKTHIS(Outliner,0);
414 pEditEngine->UndoActionEnd( nId );
417 void Outliner::InsertUndo( EditUndo* pUndo )
419 #ifndef SVX_LIGHT
420 DBG_CHKTHIS(Outliner,0);
421 pEditEngine->GetUndoManager().AddUndoAction( pUndo, FALSE );
422 #endif
425 BOOL Outliner::IsInUndo()
427 DBG_CHKTHIS(Outliner,0);
428 return pEditEngine->IsInUndo();
431 ULONG Outliner::GetLineCount( ULONG nParagraph ) const
433 DBG_CHKTHIS(Outliner,0);
434 return pEditEngine->GetLineCount( (USHORT)nParagraph );
437 USHORT Outliner::GetLineLen( ULONG nParagraph, USHORT nLine ) const
439 DBG_CHKTHIS(Outliner,0);
440 return pEditEngine->GetLineLen( (USHORT)nParagraph, nLine );
443 ULONG Outliner::GetLineHeight( ULONG nParagraph, ULONG nLine )
445 DBG_CHKTHIS(Outliner,0);
446 return pEditEngine->GetLineHeight( (USHORT)nParagraph, (USHORT)nLine );
449 void Outliner::QuickRemoveCharAttribs( USHORT nPara, USHORT nWhich )
451 DBG_CHKTHIS(Outliner,0);
452 pEditEngine->QuickRemoveCharAttribs( nPara, nWhich );
455 EESpellState Outliner::HasSpellErrors()
457 DBG_CHKTHIS(Outliner,0);
458 return pEditEngine->HasSpellErrors();
461 sal_Bool Outliner::HasConvertibleTextPortion( LanguageType nLang )
463 DBG_CHKTHIS(Outliner,0);
464 return pEditEngine->HasConvertibleTextPortion( nLang );
467 BOOL Outliner::ConvertNextDocument()
469 DBG_CHKTHIS(Outliner,0);
470 return FALSE;
473 void Outliner::SetDefaultLanguage( LanguageType eLang )
475 DBG_CHKTHIS(Outliner,0);
476 pEditEngine->SetDefaultLanguage( eLang );
479 LanguageType Outliner::GetDefaultLanguage() const
481 DBG_CHKTHIS(Outliner,0);
482 return pEditEngine->GetDefaultLanguage();
485 BOOL Outliner::HasOnlineSpellErrors() const
487 DBG_CHKTHIS(Outliner,0);
488 return pEditEngine->HasOnlineSpellErrors();
491 void Outliner::CompleteOnlineSpelling()
493 DBG_CHKTHIS(Outliner,0);
494 pEditEngine->CompleteOnlineSpelling();
497 BOOL Outliner::HasText( const SvxSearchItem& rSearchItem )
499 DBG_CHKTHIS(Outliner,0);
500 return pEditEngine->HasText( rSearchItem );
503 void Outliner::SetEditTextObjectPool( SfxItemPool* pPool )
505 DBG_CHKTHIS(Outliner,0);
506 pEditEngine->SetEditTextObjectPool( pPool );
509 SfxItemPool* Outliner::GetEditTextObjectPool() const
511 DBG_CHKTHIS(Outliner,0);
512 return pEditEngine->GetEditTextObjectPool();
515 BOOL Outliner::SpellNextDocument()
517 DBG_CHKTHIS(Outliner,0);
518 return FALSE;
522 void Outliner::SetSpeller( Reference< XSpellChecker1 > &xSpeller )
524 DBG_CHKTHIS(Outliner,0);
525 pEditEngine->SetSpeller( xSpeller );
527 Reference< XSpellChecker1 > Outliner::GetSpeller()
529 DBG_CHKTHIS(Outliner,0);
530 return pEditEngine->GetSpeller();
533 void Outliner::SetForbiddenCharsTable( vos::ORef<SvxForbiddenCharactersTable> xForbiddenChars )
535 DBG_CHKTHIS(Outliner,0);
536 pEditEngine->SetForbiddenCharsTable( xForbiddenChars );
539 vos::ORef<SvxForbiddenCharactersTable> Outliner::GetForbiddenCharsTable() const
541 DBG_CHKTHIS(Outliner,0);
542 return pEditEngine->GetForbiddenCharsTable();
546 Reference< XHyphenator > Outliner::GetHyphenator() const
548 DBG_CHKTHIS(Outliner,0);
549 return pEditEngine->GetHyphenator();
552 void Outliner::SetHyphenator( Reference< XHyphenator >& xHyph )
554 DBG_CHKTHIS(Outliner,0);
555 pEditEngine->SetHyphenator( xHyph );
558 OutputDevice* Outliner::GetRefDevice() const
560 DBG_CHKTHIS(Outliner,0);
561 return pEditEngine->GetRefDevice();
564 USHORT Outliner::GetFirstLineOffset( ULONG nParagraph )
566 DBG_CHKTHIS(Outliner,0);
567 return pEditEngine->GetFirstLineOffset( (USHORT)nParagraph );
570 ULONG Outliner::GetTextHeight( ULONG nParagraph ) const
572 DBG_CHKTHIS(Outliner,0);
573 return pEditEngine->GetTextHeight((USHORT)nParagraph );
576 Point Outliner::GetDocPos( const Point& rPaperPos ) const
578 DBG_CHKTHIS(Outliner,0);
579 return pEditEngine->GetDocPos( rPaperPos );
582 Point Outliner::GetDocPosTopLeft( ULONG nParagraph )
584 DBG_CHKTHIS(Outliner,0);
585 return pEditEngine->GetDocPosTopLeft( (USHORT)nParagraph );
588 BOOL Outliner::IsTextPos( const Point& rPaperPos, USHORT nBorder )
590 return IsTextPos( rPaperPos, nBorder, NULL );
593 BOOL Outliner::IsTextPos( const Point& rPaperPos, USHORT nBorder, BOOL* pbBullet )
595 DBG_CHKTHIS(Outliner,0);
596 if ( pbBullet)
597 *pbBullet = FALSE;
598 BOOL bTextPos = pEditEngine->IsTextPos( rPaperPos, nBorder );
599 if ( !bTextPos )
601 Point aDocPos = GetDocPos( rPaperPos );
602 USHORT nPara = pEditEngine->FindParagraph( aDocPos.Y() );
603 if ( ( nPara != EE_PARA_NOT_FOUND ) && ImplHasBullet( nPara ) )
605 Rectangle aBulArea = ImpCalcBulletArea( nPara, TRUE, TRUE );
606 if ( aBulArea.IsInside( rPaperPos ) )
608 bTextPos = TRUE;
609 if ( pbBullet)
610 *pbBullet = TRUE;
615 return bTextPos;
618 void Outliner::QuickSetAttribs( const SfxItemSet& rSet, const ESelection& rSel )
620 DBG_CHKTHIS(Outliner,0);
621 pEditEngine->QuickSetAttribs( rSet, rSel );
624 void Outliner::QuickInsertText( const XubString& rText, const ESelection& rSel )
626 bFirstParaIsEmpty = FALSE;
627 pEditEngine->QuickInsertText( rText, rSel );
630 void Outliner::QuickDelete( const ESelection& rSel )
632 bFirstParaIsEmpty = FALSE;
633 pEditEngine->QuickDelete( rSel );
636 void Outliner::QuickInsertField( const SvxFieldItem& rFld, const ESelection& rSel )
638 DBG_CHKTHIS(Outliner,0);
639 bFirstParaIsEmpty = FALSE;
640 pEditEngine->QuickInsertField( rFld, rSel );
643 void Outliner::QuickInsertLineBreak( const ESelection& rSel )
645 DBG_CHKTHIS(Outliner,0);
646 bFirstParaIsEmpty = FALSE;
647 pEditEngine->QuickInsertLineBreak( rSel );
650 void Outliner::QuickFormatDoc( BOOL bFull )
652 DBG_CHKTHIS(Outliner,0);
653 pEditEngine->QuickFormatDoc( bFull );
656 void Outliner::SetGlobalCharStretching( USHORT nX, USHORT nY )
658 DBG_CHKTHIS(Outliner,0);
659 pEditEngine->SetGlobalCharStretching( nX, nY );
662 void Outliner::GetGlobalCharStretching( USHORT& rX, USHORT& rY )
664 DBG_CHKTHIS(Outliner,0);
665 pEditEngine->GetGlobalCharStretching( rX, rY );
669 void Outliner::DoStretchChars( USHORT nX, USHORT nY )
671 DBG_CHKTHIS(Outliner,0);
672 pEditEngine->DoStretchChars( nX, nY );
675 void Outliner::EraseVirtualDevice()
677 DBG_CHKTHIS(Outliner,0);
678 pEditEngine->EraseVirtualDevice();
681 void Outliner::SetBigTextObjectStart( USHORT nStartAtPortionCount )
683 DBG_CHKTHIS(Outliner,0);
684 pEditEngine->SetBigTextObjectStart( nStartAtPortionCount );
687 USHORT Outliner::GetBigTextObjectStart() const
689 DBG_CHKTHIS(Outliner,0);
690 return pEditEngine->GetBigTextObjectStart();
693 BOOL Outliner::ShouldCreateBigTextObject() const
695 DBG_CHKTHIS(Outliner,0);
696 return pEditEngine->ShouldCreateBigTextObject();
699 void Outliner::SetVertical( BOOL b )
701 DBG_CHKTHIS(Outliner,0);
702 pEditEngine->SetVertical( b );
705 BOOL Outliner::IsVertical() const
707 DBG_CHKTHIS(Outliner,0);
708 return pEditEngine->IsVertical();
711 void Outliner::SetFixedCellHeight( BOOL bUseFixedCellHeight )
713 DBG_CHKTHIS(Outliner,0);
714 pEditEngine->SetFixedCellHeight( bUseFixedCellHeight );
717 BOOL Outliner::IsFixedCellHeight() const
719 DBG_CHKTHIS(Outliner,0);
720 return pEditEngine->IsFixedCellHeight();
724 void Outliner::SetDefaultHorizontalTextDirection( EEHorizontalTextDirection eHTextDir )
726 DBG_CHKTHIS(Outliner,0);
727 pEditEngine->SetDefaultHorizontalTextDirection( eHTextDir );
730 EEHorizontalTextDirection Outliner::GetDefaultHorizontalTextDirection() const
732 return pEditEngine->GetDefaultHorizontalTextDirection();
735 USHORT Outliner::GetScriptType( const ESelection& rSelection ) const
737 DBG_CHKTHIS(Outliner,0);
738 return pEditEngine->GetScriptType( rSelection );
741 LanguageType Outliner::GetLanguage( USHORT nPara, USHORT nPos ) const
743 DBG_CHKTHIS(Outliner,0);
744 return pEditEngine->GetLanguage( nPara, nPos );
747 void Outliner::RemoveAttribs( const ESelection& rSelection, sal_Bool bRemoveParaAttribs, sal_uInt16 nWhich )
749 DBG_CHKTHIS(Outliner,0);
750 pEditEngine->RemoveAttribs( rSelection, bRemoveParaAttribs, nWhich );
753 void Outliner::EnableAutoColor( BOOL b )
755 DBG_CHKTHIS(Outliner,0);
756 pEditEngine->EnableAutoColor( b );
759 BOOL Outliner::IsAutoColorEnabled() const
761 DBG_CHKTHIS(Outliner,0);
762 return pEditEngine->IsAutoColorEnabled();
765 void Outliner::ForceAutoColor( BOOL b )
767 DBG_CHKTHIS(Outliner,0);
768 pEditEngine->ForceAutoColor( b );
771 BOOL Outliner::IsForceAutoColor() const
773 DBG_CHKTHIS(Outliner,0);
774 return pEditEngine->IsForceAutoColor();
776 /*-- 13.10.2003 16:56:23---------------------------------------------------
778 -----------------------------------------------------------------------*/
779 void Outliner::StartSpelling(EditView& rEditView, sal_Bool bMultipleDoc)
781 pEditEngine->StartSpelling(rEditView, bMultipleDoc);
783 /*-- 13.10.2003 16:56:23---------------------------------------------------
785 -----------------------------------------------------------------------*/
786 void Outliner::EndSpelling()
788 pEditEngine->EndSpelling();
790 /*-- 13.10.2003 16:56:23---------------------------------------------------
792 -----------------------------------------------------------------------*/
793 bool Outliner::SpellSentence(EditView& rEditView, ::svx::SpellPortions& rToFill, bool bIsGrammarChecking )
795 return pEditEngine->SpellSentence(rEditView, rToFill, bIsGrammarChecking );
797 /*-- 08.09.2008 11:39:05---------------------------------------------------
799 -----------------------------------------------------------------------*/
800 void Outliner::PutSpellingToSentenceStart( EditView& rEditView )
802 pEditEngine->PutSpellingToSentenceStart( rEditView );
804 /*-- 13.10.2003 16:56:25---------------------------------------------------
806 -----------------------------------------------------------------------*/
807 void Outliner::ApplyChangedSentence(EditView& rEditView, const ::svx::SpellPortions& rNewPortions, bool bIsGrammarChecking )
809 pEditEngine->ApplyChangedSentence( rEditView, rNewPortions, bIsGrammarChecking );