summaryrefslogtreecommitdiff
path: root/editeng/source/outliner/outlin2.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'editeng/source/outliner/outlin2.cxx')
-rw-r--r--editeng/source/outliner/outlin2.cxx813
1 files changed, 813 insertions, 0 deletions
diff --git a/editeng/source/outliner/outlin2.cxx b/editeng/source/outliner/outlin2.cxx
new file mode 100644
index 000000000000..1a49c087265a
--- /dev/null
+++ b/editeng/source/outliner/outlin2.cxx
@@ -0,0 +1,813 @@
+/*************************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************/
+
+// MARKER(update_precomp.py): autogen include statement, do not remove
+#include "precompiled_editeng.hxx"
+
+#include <svl/intitem.hxx>
+#include <editeng/editeng.hxx>
+#include <editeng/editview.hxx>
+#include <editeng/editdata.hxx>
+#include <editeng/eerdll.hxx>
+#include <editeng/lrspitem.hxx>
+#include <editeng/fhgtitem.hxx>
+#include <tools/list.hxx>
+#include <svl/style.hxx>
+#include <vcl/mapmod.hxx>
+
+#include <editeng/forbiddencharacterstable.hxx>
+
+#define _OUTLINER_CXX
+
+#include <editeng/outliner.hxx>
+#include <paralist.hxx>
+#include <editeng/outlobj.hxx>
+#include <outleeng.hxx>
+#include <outlundo.hxx>
+#include <editeng/eeitem.hxx>
+#include <editeng/editstat.hxx>
+
+DBG_NAMEEX(Outliner)
+
+using namespace ::com::sun::star::uno;
+using namespace ::com::sun::star::linguistic2;
+
+// =====================================================================
+// ====================== Einfache Durchreicher =======================
+// ======================================================================
+
+void Outliner::SetUpdateMode( BOOL bUpdate )
+{
+ DBG_CHKTHIS(Outliner,0);
+ pEditEngine->SetUpdateMode( bUpdate );
+}
+
+
+BOOL Outliner::GetUpdateMode() const
+{
+ DBG_CHKTHIS(Outliner,0);
+ return pEditEngine->GetUpdateMode();
+}
+
+const SfxItemSet& Outliner::GetEmptyItemSet() const
+{
+ DBG_CHKTHIS(Outliner,0);
+ return pEditEngine->GetEmptyItemSet();
+}
+
+void Outliner::EnableUndo( BOOL bEnable )
+{
+ DBG_CHKTHIS(Outliner,0);
+ pEditEngine->EnableUndo( bEnable );
+}
+
+BOOL Outliner::IsUndoEnabled() const
+{
+ DBG_CHKTHIS(Outliner,0);
+ return pEditEngine->IsUndoEnabled();
+}
+
+MapMode Outliner::GetRefMapMode() const
+{
+ DBG_CHKTHIS(Outliner,0);
+ return pEditEngine->GetRefMapMode();
+}
+
+void Outliner::SetRefMapMode( const MapMode& rMMode )
+{
+ DBG_CHKTHIS(Outliner,0);
+ pEditEngine->SetRefMapMode( rMMode );
+}
+
+void Outliner::SetBackgroundColor( const Color& rColor )
+{
+ DBG_CHKTHIS(Outliner,0);
+ pEditEngine->SetBackgroundColor( rColor );
+}
+
+Color Outliner::GetBackgroundColor() const
+{
+ DBG_CHKTHIS(Outliner,0);
+ return pEditEngine->GetBackgroundColor();
+}
+
+
+void Outliner::ClearModifyFlag()
+{
+ DBG_CHKTHIS(Outliner,0);
+ pEditEngine->ClearModifyFlag();
+}
+
+BOOL Outliner::IsModified() const
+{
+ DBG_CHKTHIS(Outliner,0);
+ return pEditEngine->IsModified();
+}
+
+ULONG Outliner::GetTextHeight() const
+{
+ DBG_CHKTHIS(Outliner,0);
+ return pEditEngine->GetTextHeight();
+}
+
+void Outliner::SetModifyHdl( const Link& rLink )
+{
+ DBG_CHKTHIS(Outliner,0);
+ pEditEngine->SetModifyHdl( rLink );
+}
+
+Link Outliner::GetModifyHdl() const
+{
+ DBG_CHKTHIS(Outliner,0);
+ return pEditEngine->GetModifyHdl();
+}
+
+void Outliner::SetNotifyHdl( const Link& rLink )
+{
+ DBG_CHKTHIS(Outliner,0);
+ pEditEngine->aOutlinerNotifyHdl = rLink;
+
+ if ( rLink.IsSet() )
+ pEditEngine->SetNotifyHdl( LINK( this, Outliner, EditEngineNotifyHdl ) );
+ else
+ pEditEngine->SetNotifyHdl( Link() );
+
+}
+
+Link Outliner::GetNotifyHdl() const
+{
+ DBG_CHKTHIS(Outliner,0);
+ return pEditEngine->aOutlinerNotifyHdl;
+}
+
+void Outliner::SetStatusEventHdl( const Link& rLink )
+{
+ DBG_CHKTHIS(Outliner,0);
+ pEditEngine->SetStatusEventHdl( rLink );
+}
+
+Link Outliner::GetStatusEventHdl() const
+{
+ DBG_CHKTHIS(Outliner,0);
+ return pEditEngine->GetStatusEventHdl();
+}
+
+void Outliner::SetDefTab( USHORT nTab )
+{
+ DBG_CHKTHIS(Outliner,0);
+ pEditEngine->SetDefTab( nTab );
+}
+
+USHORT Outliner::GetDefTab() const
+{
+ DBG_CHKTHIS(Outliner,0);
+ return pEditEngine->GetDefTab();
+}
+
+BOOL Outliner::IsFlatMode() const
+{
+ DBG_CHKTHIS(Outliner,0);
+ return pEditEngine->IsFlatMode();
+}
+
+BOOL Outliner::UpdateFields()
+{
+ DBG_CHKTHIS(Outliner,0);
+ return pEditEngine->UpdateFields();
+}
+
+void Outliner::RemoveFields( BOOL bKeepFieldText, TypeId aType )
+{
+ DBG_CHKTHIS(Outliner,0);
+ pEditEngine->RemoveFields( bKeepFieldText, aType );
+}
+
+void Outliner::SetWordDelimiters( const String& rDelimiters )
+{
+ DBG_CHKTHIS(Outliner,0);
+ pEditEngine->SetWordDelimiters( rDelimiters );
+}
+
+String Outliner::GetWordDelimiters() const
+{
+ DBG_CHKTHIS(Outliner,0);
+ return pEditEngine->GetWordDelimiters();
+}
+
+String Outliner::GetWord( USHORT nPara, USHORT nIndex )
+{
+ DBG_CHKTHIS(Outliner,0);
+ return pEditEngine->GetWord( nPara, nIndex );
+}
+
+void Outliner::Draw( OutputDevice* pOutDev, const Rectangle& rOutRect )
+{
+ DBG_CHKTHIS(Outliner,0);
+ pEditEngine->Draw( pOutDev, rOutRect );
+}
+
+void Outliner::Draw( OutputDevice* pOutDev, const Rectangle& rOutRect, const Point& rStartDocPos )
+{
+ DBG_CHKTHIS(Outliner,0);
+ pEditEngine->Draw( pOutDev, rOutRect, rStartDocPos );
+}
+
+
+void Outliner::Draw( OutputDevice* pOutDev, const Point& rStartPos, short nOrientation )
+{
+ DBG_CHKTHIS(Outliner,0);
+ pEditEngine->Draw( pOutDev, rStartPos, nOrientation );
+}
+
+void Outliner::SetPaperSize( const Size& rSize )
+{
+ DBG_CHKTHIS(Outliner,0);
+ pEditEngine->SetPaperSize( rSize );
+}
+
+const Size& Outliner::GetPaperSize() const
+{
+ DBG_CHKTHIS(Outliner,0);
+ return pEditEngine->GetPaperSize();
+}
+
+void Outliner::SetPolygon( const basegfx::B2DPolyPolygon& rPolyPolygon )
+{
+ DBG_CHKTHIS( Outliner, 0 );
+ pEditEngine->SetPolygon( rPolyPolygon );
+}
+
+void Outliner::SetPolygon( const basegfx::B2DPolyPolygon& rPolyPolygon, const basegfx::B2DPolyPolygon* pLinePolyPolygon)
+{
+ DBG_CHKTHIS( Outliner, 0 );
+ pEditEngine->SetPolygon( rPolyPolygon, pLinePolyPolygon);
+}
+
+void Outliner::ClearPolygon()
+{
+ DBG_CHKTHIS( Outliner, 0 );
+ pEditEngine->ClearPolygon();
+}
+
+const PolyPolygon* Outliner::GetPolygon()
+{
+ DBG_CHKTHIS( Outliner, 0 );
+ return pEditEngine->GetPolygon();
+}
+
+const Size& Outliner::GetMinAutoPaperSize() const
+{
+ DBG_CHKTHIS(Outliner,0);
+ return pEditEngine->GetMinAutoPaperSize();
+}
+
+void Outliner::SetMinAutoPaperSize( const Size& rSz )
+{
+ DBG_CHKTHIS(Outliner,0);
+ pEditEngine->SetMinAutoPaperSize( rSz );
+}
+
+const Size& Outliner::GetMaxAutoPaperSize() const
+{
+ DBG_CHKTHIS(Outliner,0);
+ return pEditEngine->GetMaxAutoPaperSize();
+}
+
+void Outliner::SetMaxAutoPaperSize( const Size& rSz )
+{
+ DBG_CHKTHIS(Outliner,0);
+ pEditEngine->SetMaxAutoPaperSize( rSz );
+}
+
+BOOL Outliner::IsExpanded( Paragraph* pPara ) const
+{
+ DBG_CHKTHIS(Outliner,0);
+ return pParaList->HasVisibleChilds( pPara );
+}
+
+Paragraph* Outliner::GetParent( Paragraph* pParagraph ) const
+{
+ DBG_CHKTHIS(Outliner,0);
+ return pParaList->GetParent( pParagraph );
+}
+
+ULONG Outliner::GetChildCount( Paragraph* pParent ) const
+{
+ DBG_CHKTHIS(Outliner,0);
+ return pParaList->GetChildCount( pParent );
+}
+
+Size Outliner::CalcTextSize()
+{
+ DBG_CHKTHIS(Outliner,0);
+ return Size(pEditEngine->CalcTextWidth(),pEditEngine->GetTextHeight());
+}
+
+Point Outliner::GetDocPos( Paragraph* pPara )
+{
+ DBG_CHKTHIS(Outliner,0);
+ return pEditEngine->GetDocPosTopLeft( (USHORT)pParaList->GetAbsPos( pPara ) );
+}
+
+void Outliner::SetStyleSheetPool( SfxStyleSheetPool* pSPool )
+{
+ DBG_CHKTHIS(Outliner,0);
+ pEditEngine->SetStyleSheetPool( pSPool );
+}
+
+SfxStyleSheetPool* Outliner::GetStyleSheetPool()
+{
+ DBG_CHKTHIS(Outliner,0);
+ return pEditEngine->GetStyleSheetPool();
+}
+
+SfxStyleSheet* Outliner::GetStyleSheet( ULONG nPara )
+{
+ DBG_CHKTHIS(Outliner,0);
+ return pEditEngine->GetStyleSheet( (USHORT)nPara );
+}
+
+BOOL Outliner::IsInSelectionMode() const
+{
+ DBG_CHKTHIS(Outliner,0);
+ return pEditEngine->IsInSelectionMode();
+}
+
+void Outliner::SetControlWord( ULONG nWord )
+{
+ DBG_CHKTHIS(Outliner,0);
+ pEditEngine->SetControlWord( nWord );
+}
+
+ULONG Outliner::GetControlWord() const
+{
+ DBG_CHKTHIS(Outliner,0);
+ return pEditEngine->GetControlWord();
+}
+
+void Outliner::SetAsianCompressionMode( USHORT n )
+{
+ DBG_CHKTHIS(Outliner,0);
+ pEditEngine->SetAsianCompressionMode( n );
+}
+
+USHORT Outliner::GetAsianCompressionMode() const
+{
+ DBG_CHKTHIS(Outliner,0);
+ return pEditEngine->GetAsianCompressionMode();
+}
+
+void Outliner::SetKernAsianPunctuation( BOOL b )
+{
+ DBG_CHKTHIS(Outliner,0);
+ pEditEngine->SetKernAsianPunctuation( b );
+}
+
+BOOL Outliner::IsKernAsianPunctuation() const
+{
+ DBG_CHKTHIS(Outliner,0);
+ return pEditEngine->IsKernAsianPunctuation();
+}
+
+void Outliner::SetAddExtLeading( BOOL bExtLeading )
+{
+ DBG_CHKTHIS(Outliner,0);
+ pEditEngine->SetAddExtLeading( bExtLeading );
+}
+
+BOOL Outliner::IsAddExtLeading() const
+{
+ DBG_CHKTHIS(Outliner,0);
+ return pEditEngine->IsAddExtLeading();
+}
+
+void Outliner::UndoActionStart( USHORT nId )
+{
+ DBG_CHKTHIS(Outliner,0);
+ pEditEngine->UndoActionStart( nId );
+}
+
+void Outliner::UndoActionEnd( USHORT nId )
+{
+ DBG_CHKTHIS(Outliner,0);
+ pEditEngine->UndoActionEnd( nId );
+}
+
+void Outliner::InsertUndo( EditUndo* pUndo )
+{
+#ifndef SVX_LIGHT
+ DBG_CHKTHIS(Outliner,0);
+ pEditEngine->GetUndoManager().AddUndoAction( pUndo, FALSE );
+#endif
+}
+
+BOOL Outliner::IsInUndo()
+{
+ DBG_CHKTHIS(Outliner,0);
+ return pEditEngine->IsInUndo();
+}
+
+ULONG Outliner::GetLineCount( ULONG nParagraph ) const
+{
+ DBG_CHKTHIS(Outliner,0);
+ return pEditEngine->GetLineCount( (USHORT)nParagraph );
+}
+
+USHORT Outliner::GetLineLen( ULONG nParagraph, USHORT nLine ) const
+{
+ DBG_CHKTHIS(Outliner,0);
+ return pEditEngine->GetLineLen( (USHORT)nParagraph, nLine );
+}
+
+ULONG Outliner::GetLineHeight( ULONG nParagraph, ULONG nLine )
+{
+ DBG_CHKTHIS(Outliner,0);
+ return pEditEngine->GetLineHeight( (USHORT)nParagraph, (USHORT)nLine );
+}
+
+void Outliner::QuickRemoveCharAttribs( USHORT nPara, USHORT nWhich )
+{
+ DBG_CHKTHIS(Outliner,0);
+ pEditEngine->QuickRemoveCharAttribs( nPara, nWhich );
+}
+
+EESpellState Outliner::HasSpellErrors()
+{
+ DBG_CHKTHIS(Outliner,0);
+ return pEditEngine->HasSpellErrors();
+}
+
+sal_Bool Outliner::HasConvertibleTextPortion( LanguageType nLang )
+{
+ DBG_CHKTHIS(Outliner,0);
+ return pEditEngine->HasConvertibleTextPortion( nLang );
+}
+
+BOOL Outliner::ConvertNextDocument()
+{
+ DBG_CHKTHIS(Outliner,0);
+ return FALSE;
+}
+
+void Outliner::SetDefaultLanguage( LanguageType eLang )
+{
+ DBG_CHKTHIS(Outliner,0);
+ pEditEngine->SetDefaultLanguage( eLang );
+}
+
+LanguageType Outliner::GetDefaultLanguage() const
+{
+ DBG_CHKTHIS(Outliner,0);
+ return pEditEngine->GetDefaultLanguage();
+}
+
+BOOL Outliner::HasOnlineSpellErrors() const
+{
+ DBG_CHKTHIS(Outliner,0);
+ return pEditEngine->HasOnlineSpellErrors();
+}
+
+void Outliner::CompleteOnlineSpelling()
+{
+ DBG_CHKTHIS(Outliner,0);
+ pEditEngine->CompleteOnlineSpelling();
+}
+
+BOOL Outliner::HasText( const SvxSearchItem& rSearchItem )
+{
+ DBG_CHKTHIS(Outliner,0);
+ return pEditEngine->HasText( rSearchItem );
+}
+
+void Outliner::SetEditTextObjectPool( SfxItemPool* pPool )
+{
+ DBG_CHKTHIS(Outliner,0);
+ pEditEngine->SetEditTextObjectPool( pPool );
+}
+
+SfxItemPool* Outliner::GetEditTextObjectPool() const
+{
+ DBG_CHKTHIS(Outliner,0);
+ return pEditEngine->GetEditTextObjectPool();
+}
+
+BOOL Outliner::SpellNextDocument()
+{
+ DBG_CHKTHIS(Outliner,0);
+ return FALSE;
+}
+
+
+void Outliner::SetSpeller( Reference< XSpellChecker1 > &xSpeller )
+{
+ DBG_CHKTHIS(Outliner,0);
+ pEditEngine->SetSpeller( xSpeller );
+}
+Reference< XSpellChecker1 > Outliner::GetSpeller()
+{
+ DBG_CHKTHIS(Outliner,0);
+ return pEditEngine->GetSpeller();
+}
+
+void Outliner::SetForbiddenCharsTable( vos::ORef<SvxForbiddenCharactersTable> xForbiddenChars )
+{
+ DBG_CHKTHIS(Outliner,0);
+ pEditEngine->SetForbiddenCharsTable( xForbiddenChars );
+}
+
+vos::ORef<SvxForbiddenCharactersTable> Outliner::GetForbiddenCharsTable() const
+{
+ DBG_CHKTHIS(Outliner,0);
+ return pEditEngine->GetForbiddenCharsTable();
+}
+
+
+Reference< XHyphenator > Outliner::GetHyphenator() const
+{
+ DBG_CHKTHIS(Outliner,0);
+ return pEditEngine->GetHyphenator();
+}
+
+void Outliner::SetHyphenator( Reference< XHyphenator >& xHyph )
+{
+ DBG_CHKTHIS(Outliner,0);
+ pEditEngine->SetHyphenator( xHyph );
+}
+
+OutputDevice* Outliner::GetRefDevice() const
+{
+ DBG_CHKTHIS(Outliner,0);
+ return pEditEngine->GetRefDevice();
+}
+
+USHORT Outliner::GetFirstLineOffset( ULONG nParagraph )
+{
+ DBG_CHKTHIS(Outliner,0);
+ return pEditEngine->GetFirstLineOffset( (USHORT)nParagraph );
+}
+
+ULONG Outliner::GetTextHeight( ULONG nParagraph ) const
+{
+ DBG_CHKTHIS(Outliner,0);
+ return pEditEngine->GetTextHeight((USHORT)nParagraph );
+}
+
+Point Outliner::GetDocPos( const Point& rPaperPos ) const
+{
+ DBG_CHKTHIS(Outliner,0);
+ return pEditEngine->GetDocPos( rPaperPos );
+}
+
+Point Outliner::GetDocPosTopLeft( ULONG nParagraph )
+{
+ DBG_CHKTHIS(Outliner,0);
+ return pEditEngine->GetDocPosTopLeft( (USHORT)nParagraph );
+}
+
+BOOL Outliner::IsTextPos( const Point& rPaperPos, USHORT nBorder )
+{
+ return IsTextPos( rPaperPos, nBorder, NULL );
+}
+
+BOOL Outliner::IsTextPos( const Point& rPaperPos, USHORT nBorder, BOOL* pbBullet )
+{
+ DBG_CHKTHIS(Outliner,0);
+ if ( pbBullet)
+ *pbBullet = FALSE;
+ BOOL bTextPos = pEditEngine->IsTextPos( rPaperPos, nBorder );
+ if ( !bTextPos )
+ {
+ Point aDocPos = GetDocPos( rPaperPos );
+ USHORT nPara = pEditEngine->FindParagraph( aDocPos.Y() );
+ if ( ( nPara != EE_PARA_NOT_FOUND ) && ImplHasBullet( nPara ) )
+ {
+ Rectangle aBulArea = ImpCalcBulletArea( nPara, TRUE, TRUE );
+ if ( aBulArea.IsInside( rPaperPos ) )
+ {
+ bTextPos = TRUE;
+ if ( pbBullet)
+ *pbBullet = TRUE;
+ }
+ }
+ }
+
+ return bTextPos;
+}
+
+void Outliner::QuickSetAttribs( const SfxItemSet& rSet, const ESelection& rSel )
+{
+ DBG_CHKTHIS(Outliner,0);
+ pEditEngine->QuickSetAttribs( rSet, rSel );
+}
+
+void Outliner::QuickInsertText( const XubString& rText, const ESelection& rSel )
+{
+ bFirstParaIsEmpty = FALSE;
+ pEditEngine->QuickInsertText( rText, rSel );
+}
+
+void Outliner::QuickDelete( const ESelection& rSel )
+{
+ bFirstParaIsEmpty = FALSE;
+ pEditEngine->QuickDelete( rSel );
+}
+
+void Outliner::QuickInsertField( const SvxFieldItem& rFld, const ESelection& rSel )
+{
+ DBG_CHKTHIS(Outliner,0);
+ bFirstParaIsEmpty = FALSE;
+ pEditEngine->QuickInsertField( rFld, rSel );
+}
+
+void Outliner::QuickInsertLineBreak( const ESelection& rSel )
+{
+ DBG_CHKTHIS(Outliner,0);
+ bFirstParaIsEmpty = FALSE;
+ pEditEngine->QuickInsertLineBreak( rSel );
+}
+
+void Outliner::QuickFormatDoc( BOOL bFull )
+{
+ DBG_CHKTHIS(Outliner,0);
+ pEditEngine->QuickFormatDoc( bFull );
+}
+
+void Outliner::SetGlobalCharStretching( USHORT nX, USHORT nY )
+{
+ DBG_CHKTHIS(Outliner,0);
+ pEditEngine->SetGlobalCharStretching( nX, nY );
+}
+
+void Outliner::GetGlobalCharStretching( USHORT& rX, USHORT& rY )
+{
+ DBG_CHKTHIS(Outliner,0);
+ pEditEngine->GetGlobalCharStretching( rX, rY );
+}
+
+
+void Outliner::DoStretchChars( USHORT nX, USHORT nY )
+{
+ DBG_CHKTHIS(Outliner,0);
+ pEditEngine->DoStretchChars( nX, nY );
+}
+
+void Outliner::EraseVirtualDevice()
+{
+ DBG_CHKTHIS(Outliner,0);
+ pEditEngine->EraseVirtualDevice();
+}
+
+void Outliner::SetBigTextObjectStart( USHORT nStartAtPortionCount )
+{
+ DBG_CHKTHIS(Outliner,0);
+ pEditEngine->SetBigTextObjectStart( nStartAtPortionCount );
+}
+
+USHORT Outliner::GetBigTextObjectStart() const
+{
+ DBG_CHKTHIS(Outliner,0);
+ return pEditEngine->GetBigTextObjectStart();
+}
+
+BOOL Outliner::ShouldCreateBigTextObject() const
+{
+ DBG_CHKTHIS(Outliner,0);
+ return pEditEngine->ShouldCreateBigTextObject();
+}
+
+void Outliner::SetVertical( BOOL b )
+{
+ DBG_CHKTHIS(Outliner,0);
+ pEditEngine->SetVertical( b );
+}
+
+BOOL Outliner::IsVertical() const
+{
+ DBG_CHKTHIS(Outliner,0);
+ return pEditEngine->IsVertical();
+}
+
+void Outliner::SetFixedCellHeight( BOOL bUseFixedCellHeight )
+{
+ DBG_CHKTHIS(Outliner,0);
+ pEditEngine->SetFixedCellHeight( bUseFixedCellHeight );
+}
+
+BOOL Outliner::IsFixedCellHeight() const
+{
+ DBG_CHKTHIS(Outliner,0);
+ return pEditEngine->IsFixedCellHeight();
+}
+
+
+void Outliner::SetDefaultHorizontalTextDirection( EEHorizontalTextDirection eHTextDir )
+{
+ DBG_CHKTHIS(Outliner,0);
+ pEditEngine->SetDefaultHorizontalTextDirection( eHTextDir );
+}
+
+EEHorizontalTextDirection Outliner::GetDefaultHorizontalTextDirection() const
+{
+ return pEditEngine->GetDefaultHorizontalTextDirection();
+}
+
+USHORT Outliner::GetScriptType( const ESelection& rSelection ) const
+{
+ DBG_CHKTHIS(Outliner,0);
+ return pEditEngine->GetScriptType( rSelection );
+}
+
+LanguageType Outliner::GetLanguage( USHORT nPara, USHORT nPos ) const
+{
+ DBG_CHKTHIS(Outliner,0);
+ return pEditEngine->GetLanguage( nPara, nPos );
+}
+
+void Outliner::RemoveAttribs( const ESelection& rSelection, sal_Bool bRemoveParaAttribs, sal_uInt16 nWhich )
+{
+ DBG_CHKTHIS(Outliner,0);
+ pEditEngine->RemoveAttribs( rSelection, bRemoveParaAttribs, nWhich );
+}
+
+void Outliner::EnableAutoColor( BOOL b )
+{
+ DBG_CHKTHIS(Outliner,0);
+ pEditEngine->EnableAutoColor( b );
+}
+
+BOOL Outliner::IsAutoColorEnabled() const
+{
+ DBG_CHKTHIS(Outliner,0);
+ return pEditEngine->IsAutoColorEnabled();
+}
+
+void Outliner::ForceAutoColor( BOOL b )
+{
+ DBG_CHKTHIS(Outliner,0);
+ pEditEngine->ForceAutoColor( b );
+}
+
+BOOL Outliner::IsForceAutoColor() const
+{
+ DBG_CHKTHIS(Outliner,0);
+ return pEditEngine->IsForceAutoColor();
+}
+/*-- 13.10.2003 16:56:23---------------------------------------------------
+
+ -----------------------------------------------------------------------*/
+void Outliner::StartSpelling(EditView& rEditView, sal_Bool bMultipleDoc)
+{
+ pEditEngine->StartSpelling(rEditView, bMultipleDoc);
+}
+/*-- 13.10.2003 16:56:23---------------------------------------------------
+
+ -----------------------------------------------------------------------*/
+void Outliner::EndSpelling()
+{
+ pEditEngine->EndSpelling();
+}
+/*-- 13.10.2003 16:56:23---------------------------------------------------
+
+ -----------------------------------------------------------------------*/
+bool Outliner::SpellSentence(EditView& rEditView, ::svx::SpellPortions& rToFill, bool bIsGrammarChecking )
+{
+ return pEditEngine->SpellSentence(rEditView, rToFill, bIsGrammarChecking );
+}
+/*-- 08.09.2008 11:39:05---------------------------------------------------
+
+ -----------------------------------------------------------------------*/
+void Outliner::PutSpellingToSentenceStart( EditView& rEditView )
+{
+ pEditEngine->PutSpellingToSentenceStart( rEditView );
+}
+/*-- 13.10.2003 16:56:25---------------------------------------------------
+
+ -----------------------------------------------------------------------*/
+void Outliner::ApplyChangedSentence(EditView& rEditView, const ::svx::SpellPortions& rNewPortions, bool bIsGrammarChecking )
+{
+ pEditEngine->ApplyChangedSentence( rEditView, rNewPortions, bIsGrammarChecking );
+}