Kaydet (Commit) 2bf1965f authored tarafından Joseph Powers's avatar Joseph Powers

unusedcode.easy: Outline cleanup

üst 117281ba
...@@ -710,7 +710,6 @@ public: ...@@ -710,7 +710,6 @@ public:
sal_Bool IsVertical() const; sal_Bool IsVertical() const;
void SetFixedCellHeight( sal_Bool bUseFixedCellHeight ); void SetFixedCellHeight( sal_Bool bUseFixedCellHeight );
sal_Bool IsFixedCellHeight() const;
void SetDefaultHorizontalTextDirection( EEHorizontalTextDirection eHTextDir ); void SetDefaultHorizontalTextDirection( EEHorizontalTextDirection eHTextDir );
EEHorizontalTextDirection GetDefaultHorizontalTextDirection() const; EEHorizontalTextDirection GetDefaultHorizontalTextDirection() const;
...@@ -719,13 +718,10 @@ public: ...@@ -719,13 +718,10 @@ public:
LanguageType GetLanguage( sal_uInt16 nPara, sal_uInt16 nPos ) const; LanguageType GetLanguage( sal_uInt16 nPara, sal_uInt16 nPos ) const;
void SetAsianCompressionMode( sal_uInt16 nCompressionMode ); void SetAsianCompressionMode( sal_uInt16 nCompressionMode );
sal_uInt16 GetAsianCompressionMode() const;
void SetKernAsianPunctuation( sal_Bool bEnabled ); void SetKernAsianPunctuation( sal_Bool bEnabled );
sal_Bool IsKernAsianPunctuation() const;
void SetAddExtLeading( sal_Bool b ); void SetAddExtLeading( sal_Bool b );
sal_Bool IsAddExtLeading() const;
size_t InsertView( OutlinerView* pView, size_t nIndex = size_t(-1) ); size_t InsertView( OutlinerView* pView, size_t nIndex = size_t(-1) );
OutlinerView* RemoveView( OutlinerView* pView ); OutlinerView* RemoveView( OutlinerView* pView );
...@@ -774,7 +770,6 @@ public: ...@@ -774,7 +770,6 @@ public:
sal_Int16 GetDepth( sal_uLong nPara ) const; sal_Int16 GetDepth( sal_uLong nPara ) const;
void SetDepth( Paragraph* pParagraph, sal_Int16 nNewDepth ); void SetDepth( Paragraph* pParagraph, sal_Int16 nNewDepth );
void SetVisible( Paragraph* pPara, sal_Bool bVisible );
sal_Bool IsVisible( Paragraph* pPara ) const { return pPara->IsVisible(); } sal_Bool IsVisible( Paragraph* pPara ) const { return pPara->IsVisible(); }
void EnableUndo( sal_Bool bEnable ); void EnableUndo( sal_Bool bEnable );
...@@ -839,13 +834,11 @@ public: ...@@ -839,13 +834,11 @@ public:
Link GetModifyHdl() const; Link GetModifyHdl() const;
void SetNotifyHdl( const Link& rLink ); void SetNotifyHdl( const Link& rLink );
Link GetNotifyHdl() const;
void SetStatusEventHdl( const Link& rLink ); void SetStatusEventHdl( const Link& rLink );
Link GetStatusEventHdl() const; Link GetStatusEventHdl() const;
void Draw( OutputDevice* pOutDev, const Rectangle& rOutRect ); void Draw( OutputDevice* pOutDev, const Rectangle& rOutRect );
void Draw( OutputDevice* pOutDev, const Rectangle& rOutRect, const Point& rStartDocPos );
void Draw( OutputDevice* pOutDev, const Point& rStartPos, short nOrientation = 0 ); void Draw( OutputDevice* pOutDev, const Point& rStartPos, short nOrientation = 0 );
const Size& GetPaperSize() const; const Size& GetPaperSize() const;
...@@ -857,7 +850,6 @@ public: ...@@ -857,7 +850,6 @@ public:
void SetPolygon( const basegfx::B2DPolyPolygon& rPolyPolygon ); void SetPolygon( const basegfx::B2DPolyPolygon& rPolyPolygon );
void SetPolygon( const basegfx::B2DPolyPolygon& rPolyPolygon, const basegfx::B2DPolyPolygon* pLinePolyPolygon); void SetPolygon( const basegfx::B2DPolyPolygon& rPolyPolygon, const basegfx::B2DPolyPolygon* pLinePolyPolygon);
void ClearPolygon(); void ClearPolygon();
const PolyPolygon* GetPolygon();
const Size& GetMinAutoPaperSize() const; const Size& GetMinAutoPaperSize() const;
void SetMinAutoPaperSize( const Size& rSz ); void SetMinAutoPaperSize( const Size& rSz );
...@@ -866,13 +858,11 @@ public: ...@@ -866,13 +858,11 @@ public:
void SetMaxAutoPaperSize( const Size& rSz ); void SetMaxAutoPaperSize( const Size& rSz );
void SetDefTab( sal_uInt16 nTab ); void SetDefTab( sal_uInt16 nTab );
sal_uInt16 GetDefTab() const;
sal_Bool IsFlatMode() const; sal_Bool IsFlatMode() const;
void SetFlatMode( sal_Bool bFlat ); void SetFlatMode( sal_Bool bFlat );
void EnableAutoColor( sal_Bool b ); void EnableAutoColor( sal_Bool b );
sal_Bool IsAutoColorEnabled() const;
void ForceAutoColor( sal_Bool b ); void ForceAutoColor( sal_Bool b );
sal_Bool IsForceAutoColor() const; sal_Bool IsForceAutoColor() const;
...@@ -908,8 +898,6 @@ public: ...@@ -908,8 +898,6 @@ public:
Size CalcTextSize(); Size CalcTextSize();
Size CalcTextSizeNTP(); Size CalcTextSizeNTP();
Point GetDocPos( Paragraph* pPara );
void SetStyleSheetPool( SfxStyleSheetPool* pSPool ); void SetStyleSheetPool( SfxStyleSheetPool* pSPool );
SfxStyleSheetPool* GetStyleSheetPool(); SfxStyleSheetPool* GetStyleSheetPool();
...@@ -926,7 +914,6 @@ public: ...@@ -926,7 +914,6 @@ public:
sal_Bool Collapse( Paragraph* ); sal_Bool Collapse( Paragraph* );
void SetParaFlag( Paragraph* pPara, sal_uInt16 nFlag ); void SetParaFlag( Paragraph* pPara, sal_uInt16 nFlag );
void RemoveParaFlag( Paragraph* pPara, sal_uInt16 nFlag );
bool HasParaFlag( const Paragraph* pPara, sal_uInt16 nFlag ) const; bool HasParaFlag( const Paragraph* pPara, sal_uInt16 nFlag ) const;
// Returns an array containing the widths of the Bullet Indentations // Returns an array containing the widths of the Bullet Indentations
...@@ -974,20 +961,15 @@ public: ...@@ -974,20 +961,15 @@ public:
::com::sun::star::uno::Reference< ::com::sun::star::uno::Reference<
::com::sun::star::linguistic2::XSpellChecker1 > ::com::sun::star::linguistic2::XSpellChecker1 >
GetSpeller(); GetSpeller();
::com::sun::star::uno::Reference<
::com::sun::star::linguistic2::XHyphenator >
GetHyphenator() const;
void SetHyphenator( ::com::sun::star::uno::Reference< void SetHyphenator( ::com::sun::star::uno::Reference<
::com::sun::star::linguistic2::XHyphenator >& xHyph ); ::com::sun::star::linguistic2::XHyphenator >& xHyph );
void SetForbiddenCharsTable( rtl::Reference<SvxForbiddenCharactersTable> xForbiddenChars ); void SetForbiddenCharsTable( rtl::Reference<SvxForbiddenCharactersTable> xForbiddenChars );
rtl::Reference<SvxForbiddenCharactersTable> GetForbiddenCharsTable() const;
// Depricated // Depricated
void SetDefaultLanguage( LanguageType eLang ); void SetDefaultLanguage( LanguageType eLang );
LanguageType GetDefaultLanguage() const; LanguageType GetDefaultLanguage() const;
sal_Bool HasOnlineSpellErrors() const;
void CompleteOnlineSpelling(); void CompleteOnlineSpelling();
EESpellState HasSpellErrors(); EESpellState HasSpellErrors();
...@@ -1004,8 +986,6 @@ public: ...@@ -1004,8 +986,6 @@ public:
void SetRefDevice( OutputDevice* pRefDev ); void SetRefDevice( OutputDevice* pRefDev );
OutputDevice* GetRefDevice() const; OutputDevice* GetRefDevice() const;
sal_uInt16 GetFirstLineOffset( sal_uLong nParagraph );
sal_uLong GetTextHeight() const; sal_uLong GetTextHeight() const;
sal_uLong GetTextHeight( sal_uLong nParagraph ) const; sal_uLong GetTextHeight( sal_uLong nParagraph ) const;
Point GetDocPosTopLeft( sal_uLong nParagraph ); Point GetDocPosTopLeft( sal_uLong nParagraph );
...@@ -1018,8 +998,6 @@ public: ...@@ -1018,8 +998,6 @@ public:
void DoStretchChars( sal_uInt16 nX, sal_uInt16 nY ); void DoStretchChars( sal_uInt16 nX, sal_uInt16 nY );
void EraseVirtualDevice(); void EraseVirtualDevice();
void SetBigTextObjectStart( sal_uInt16 nStartAtPortionCount );
sal_uInt16 GetBigTextObjectStart() const;
sal_Bool ShouldCreateBigTextObject() const; sal_Bool ShouldCreateBigTextObject() const;
const EditEngine& GetEditEngine() const { return *((EditEngine*)pEditEngine); } const EditEngine& GetEditEngine() const { return *((EditEngine*)pEditEngine); }
...@@ -1036,15 +1014,12 @@ public: ...@@ -1036,15 +1014,12 @@ public:
void PutSpellingToSentenceStart( EditView& rEditView ); void PutSpellingToSentenceStart( EditView& rEditView );
// applies a changed sentence // applies a changed sentence
void ApplyChangedSentence(EditView& rEditView, const ::svx::SpellPortions& rNewPortions, bool bRecheck ); void ApplyChangedSentence(EditView& rEditView, const ::svx::SpellPortions& rNewPortions, bool bRecheck );
void EndSpelling();
/** sets a link that is called at the beginning of a drag operation at an edit view */ /** sets a link that is called at the beginning of a drag operation at an edit view */
void SetBeginDropHdl( const Link& rLink ); void SetBeginDropHdl( const Link& rLink );
Link GetBeginDropHdl() const;
/** sets a link that is called at the end of a drag operation at an edit view */ /** sets a link that is called at the end of a drag operation at an edit view */
void SetEndDropHdl( const Link& rLink ); void SetEndDropHdl( const Link& rLink );
Link GetEndDropHdl() const;
/** sets a link that is called before a drop or paste operation. */ /** sets a link that is called before a drop or paste operation. */
void SetBeginPasteOrDropHdl( const Link& rLink ); void SetBeginPasteOrDropHdl( const Link& rLink );
......
...@@ -158,12 +158,6 @@ void Outliner::SetNotifyHdl( const Link& rLink ) ...@@ -158,12 +158,6 @@ void Outliner::SetNotifyHdl( const Link& rLink )
} }
Link Outliner::GetNotifyHdl() const
{
DBG_CHKTHIS(Outliner,0);
return pEditEngine->aOutlinerNotifyHdl;
}
void Outliner::SetStatusEventHdl( const Link& rLink ) void Outliner::SetStatusEventHdl( const Link& rLink )
{ {
DBG_CHKTHIS(Outliner,0); DBG_CHKTHIS(Outliner,0);
...@@ -182,12 +176,6 @@ void Outliner::SetDefTab( sal_uInt16 nTab ) ...@@ -182,12 +176,6 @@ void Outliner::SetDefTab( sal_uInt16 nTab )
pEditEngine->SetDefTab( nTab ); pEditEngine->SetDefTab( nTab );
} }
sal_uInt16 Outliner::GetDefTab() const
{
DBG_CHKTHIS(Outliner,0);
return pEditEngine->GetDefTab();
}
sal_Bool Outliner::IsFlatMode() const sal_Bool Outliner::IsFlatMode() const
{ {
DBG_CHKTHIS(Outliner,0); DBG_CHKTHIS(Outliner,0);
...@@ -230,13 +218,6 @@ void Outliner::Draw( OutputDevice* pOutDev, const Rectangle& rOutRect ) ...@@ -230,13 +218,6 @@ void Outliner::Draw( OutputDevice* pOutDev, const Rectangle& rOutRect )
pEditEngine->Draw( pOutDev, rOutRect ); 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 ) void Outliner::Draw( OutputDevice* pOutDev, const Point& rStartPos, short nOrientation )
{ {
DBG_CHKTHIS(Outliner,0); DBG_CHKTHIS(Outliner,0);
...@@ -273,12 +254,6 @@ void Outliner::ClearPolygon() ...@@ -273,12 +254,6 @@ void Outliner::ClearPolygon()
pEditEngine->ClearPolygon(); pEditEngine->ClearPolygon();
} }
const PolyPolygon* Outliner::GetPolygon()
{
DBG_CHKTHIS( Outliner, 0 );
return pEditEngine->GetPolygon();
}
const Size& Outliner::GetMinAutoPaperSize() const const Size& Outliner::GetMinAutoPaperSize() const
{ {
DBG_CHKTHIS(Outliner,0); DBG_CHKTHIS(Outliner,0);
...@@ -333,12 +308,6 @@ Size Outliner::CalcTextSizeNTP() ...@@ -333,12 +308,6 @@ Size Outliner::CalcTextSizeNTP()
return Size(pEditEngine->CalcTextWidth(),pEditEngine->GetTextHeightNTP()); return Size(pEditEngine->CalcTextWidth(),pEditEngine->GetTextHeightNTP());
} }
Point Outliner::GetDocPos( Paragraph* pPara )
{
DBG_CHKTHIS(Outliner,0);
return pEditEngine->GetDocPosTopLeft( (sal_uInt16)pParaList->GetAbsPos( pPara ) );
}
void Outliner::SetStyleSheetPool( SfxStyleSheetPool* pSPool ) void Outliner::SetStyleSheetPool( SfxStyleSheetPool* pSPool )
{ {
DBG_CHKTHIS(Outliner,0); DBG_CHKTHIS(Outliner,0);
...@@ -381,36 +350,18 @@ void Outliner::SetAsianCompressionMode( sal_uInt16 n ) ...@@ -381,36 +350,18 @@ void Outliner::SetAsianCompressionMode( sal_uInt16 n )
pEditEngine->SetAsianCompressionMode( n ); pEditEngine->SetAsianCompressionMode( n );
} }
sal_uInt16 Outliner::GetAsianCompressionMode() const
{
DBG_CHKTHIS(Outliner,0);
return pEditEngine->GetAsianCompressionMode();
}
void Outliner::SetKernAsianPunctuation( sal_Bool b ) void Outliner::SetKernAsianPunctuation( sal_Bool b )
{ {
DBG_CHKTHIS(Outliner,0); DBG_CHKTHIS(Outliner,0);
pEditEngine->SetKernAsianPunctuation( b ); pEditEngine->SetKernAsianPunctuation( b );
} }
sal_Bool Outliner::IsKernAsianPunctuation() const
{
DBG_CHKTHIS(Outliner,0);
return pEditEngine->IsKernAsianPunctuation();
}
void Outliner::SetAddExtLeading( sal_Bool bExtLeading ) void Outliner::SetAddExtLeading( sal_Bool bExtLeading )
{ {
DBG_CHKTHIS(Outliner,0); DBG_CHKTHIS(Outliner,0);
pEditEngine->SetAddExtLeading( bExtLeading ); pEditEngine->SetAddExtLeading( bExtLeading );
} }
sal_Bool Outliner::IsAddExtLeading() const
{
DBG_CHKTHIS(Outliner,0);
return pEditEngine->IsAddExtLeading();
}
void Outliner::UndoActionStart( sal_uInt16 nId ) void Outliner::UndoActionStart( sal_uInt16 nId )
{ {
DBG_CHKTHIS(Outliner,0); DBG_CHKTHIS(Outliner,0);
...@@ -489,12 +440,6 @@ LanguageType Outliner::GetDefaultLanguage() const ...@@ -489,12 +440,6 @@ LanguageType Outliner::GetDefaultLanguage() const
return pEditEngine->GetDefaultLanguage(); return pEditEngine->GetDefaultLanguage();
} }
sal_Bool Outliner::HasOnlineSpellErrors() const
{
DBG_CHKTHIS(Outliner,0);
return pEditEngine->HasOnlineSpellErrors();
}
void Outliner::CompleteOnlineSpelling() void Outliner::CompleteOnlineSpelling()
{ {
DBG_CHKTHIS(Outliner,0); DBG_CHKTHIS(Outliner,0);
...@@ -543,19 +488,6 @@ void Outliner::SetForbiddenCharsTable( rtl::Reference<SvxForbiddenCharactersTabl ...@@ -543,19 +488,6 @@ void Outliner::SetForbiddenCharsTable( rtl::Reference<SvxForbiddenCharactersTabl
pEditEngine->SetForbiddenCharsTable( xForbiddenChars ); pEditEngine->SetForbiddenCharsTable( xForbiddenChars );
} }
rtl::Reference<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 ) void Outliner::SetHyphenator( Reference< XHyphenator >& xHyph )
{ {
DBG_CHKTHIS(Outliner,0); DBG_CHKTHIS(Outliner,0);
...@@ -568,12 +500,6 @@ OutputDevice* Outliner::GetRefDevice() const ...@@ -568,12 +500,6 @@ OutputDevice* Outliner::GetRefDevice() const
return pEditEngine->GetRefDevice(); return pEditEngine->GetRefDevice();
} }
sal_uInt16 Outliner::GetFirstLineOffset( sal_uLong nParagraph )
{
DBG_CHKTHIS(Outliner,0);
return pEditEngine->GetFirstLineOffset( (sal_uInt16)nParagraph );
}
sal_uLong Outliner::GetTextHeight( sal_uLong nParagraph ) const sal_uLong Outliner::GetTextHeight( sal_uLong nParagraph ) const
{ {
DBG_CHKTHIS(Outliner,0); DBG_CHKTHIS(Outliner,0);
...@@ -695,18 +621,6 @@ void Outliner::EraseVirtualDevice() ...@@ -695,18 +621,6 @@ void Outliner::EraseVirtualDevice()
pEditEngine->EraseVirtualDevice(); pEditEngine->EraseVirtualDevice();
} }
void Outliner::SetBigTextObjectStart( sal_uInt16 nStartAtPortionCount )
{
DBG_CHKTHIS(Outliner,0);
pEditEngine->SetBigTextObjectStart( nStartAtPortionCount );
}
sal_uInt16 Outliner::GetBigTextObjectStart() const
{
DBG_CHKTHIS(Outliner,0);
return pEditEngine->GetBigTextObjectStart();
}
sal_Bool Outliner::ShouldCreateBigTextObject() const sal_Bool Outliner::ShouldCreateBigTextObject() const
{ {
DBG_CHKTHIS(Outliner,0); DBG_CHKTHIS(Outliner,0);
...@@ -731,13 +645,6 @@ void Outliner::SetFixedCellHeight( sal_Bool bUseFixedCellHeight ) ...@@ -731,13 +645,6 @@ void Outliner::SetFixedCellHeight( sal_Bool bUseFixedCellHeight )
pEditEngine->SetFixedCellHeight( bUseFixedCellHeight ); pEditEngine->SetFixedCellHeight( bUseFixedCellHeight );
} }
sal_Bool Outliner::IsFixedCellHeight() const
{
DBG_CHKTHIS(Outliner,0);
return pEditEngine->IsFixedCellHeight();
}
void Outliner::SetDefaultHorizontalTextDirection( EEHorizontalTextDirection eHTextDir ) void Outliner::SetDefaultHorizontalTextDirection( EEHorizontalTextDirection eHTextDir )
{ {
DBG_CHKTHIS(Outliner,0); DBG_CHKTHIS(Outliner,0);
...@@ -773,12 +680,6 @@ void Outliner::EnableAutoColor( sal_Bool b ) ...@@ -773,12 +680,6 @@ void Outliner::EnableAutoColor( sal_Bool b )
pEditEngine->EnableAutoColor( b ); pEditEngine->EnableAutoColor( b );
} }
sal_Bool Outliner::IsAutoColorEnabled() const
{
DBG_CHKTHIS(Outliner,0);
return pEditEngine->IsAutoColorEnabled();
}
void Outliner::ForceAutoColor( sal_Bool b ) void Outliner::ForceAutoColor( sal_Bool b )
{ {
DBG_CHKTHIS(Outliner,0); DBG_CHKTHIS(Outliner,0);
...@@ -796,11 +697,6 @@ void Outliner::StartSpelling(EditView& rEditView, sal_Bool bMultipleDoc) ...@@ -796,11 +697,6 @@ void Outliner::StartSpelling(EditView& rEditView, sal_Bool bMultipleDoc)
pEditEngine->StartSpelling(rEditView, bMultipleDoc); pEditEngine->StartSpelling(rEditView, bMultipleDoc);
} }
void Outliner::EndSpelling()
{
pEditEngine->EndSpelling();
}
bool Outliner::SpellSentence(EditView& rEditView, ::svx::SpellPortions& rToFill, bool bIsGrammarChecking ) bool Outliner::SpellSentence(EditView& rEditView, ::svx::SpellPortions& rToFill, bool bIsGrammarChecking )
{ {
return pEditEngine->SpellSentence(rEditView, rToFill, bIsGrammarChecking ); return pEditEngine->SpellSentence(rEditView, rToFill, bIsGrammarChecking );
......
...@@ -704,19 +704,6 @@ void Outliner::SetStyleSheet( sal_uLong nPara, SfxStyleSheet* pStyle ) ...@@ -704,19 +704,6 @@ void Outliner::SetStyleSheet( sal_uLong nPara, SfxStyleSheet* pStyle )
} }
} }
void Outliner::SetVisible( Paragraph* pPara, sal_Bool bVisible )
{
DBG_CHKTHIS(Outliner,0);
DBG_ASSERT( pPara, "SetVisible: pPara = NULL" );
if (pPara)
{
pPara->bVisible = bVisible;
sal_uLong nPara = pParaList->GetAbsPos( pPara );
pEditEngine->ShowParagraph( (sal_uInt16)nPara, bVisible );
}
}
void Outliner::ImplCheckNumBulletItem( sal_uInt16 nPara ) void Outliner::ImplCheckNumBulletItem( sal_uInt16 nPara )
{ {
Paragraph* pPara = pParaList->GetParagraph( nPara ); Paragraph* pPara = pParaList->GetParagraph( nPara );
...@@ -2101,22 +2088,12 @@ void Outliner::SetBeginDropHdl( const Link& rLink ) ...@@ -2101,22 +2088,12 @@ void Outliner::SetBeginDropHdl( const Link& rLink )
pEditEngine->SetBeginDropHdl( rLink ); pEditEngine->SetBeginDropHdl( rLink );
} }
Link Outliner::GetBeginDropHdl() const
{
return pEditEngine->GetBeginDropHdl();
}
/** sets a link that is called at the end of a drag operation at an edit view */ /** sets a link that is called at the end of a drag operation at an edit view */
void Outliner::SetEndDropHdl( const Link& rLink ) void Outliner::SetEndDropHdl( const Link& rLink )
{ {
pEditEngine->SetEndDropHdl( rLink ); pEditEngine->SetEndDropHdl( rLink );
} }
Link Outliner::GetEndDropHdl() const
{
return pEditEngine->GetEndDropHdl();
}
/** sets a link that is called before a drop or paste operation. */ /** sets a link that is called before a drop or paste operation. */
void Outliner::SetBeginPasteOrDropHdl( const Link& rLink ) void Outliner::SetBeginPasteOrDropHdl( const Link& rLink )
{ {
...@@ -2140,17 +2117,6 @@ void Outliner::SetParaFlag( Paragraph* pPara, sal_uInt16 nFlag ) ...@@ -2140,17 +2117,6 @@ void Outliner::SetParaFlag( Paragraph* pPara, sal_uInt16 nFlag )
} }
} }
void Outliner::RemoveParaFlag( Paragraph* pPara, sal_uInt16 nFlag )
{
if( pPara && pPara->HasFlag( nFlag ) )
{
if( IsUndoEnabled() && !IsInUndo() )
InsertUndo( new OutlinerUndoChangeParaFlags( this, (sal_uInt16)GetAbsPos( pPara ), pPara->nFlags, pPara->nFlags & ~nFlag ) );
pPara->RemoveFlag( nFlag );
}
}
bool Outliner::HasParaFlag( const Paragraph* pPara, sal_uInt16 nFlag ) const bool Outliner::HasParaFlag( const Paragraph* pPara, sal_uInt16 nFlag ) const
{ {
return pPara && pPara->HasFlag( nFlag ); return pPara && pPara->HasFlag( nFlag );
......
...@@ -431,27 +431,6 @@ OpenStormBento::CUtList::GetCount() ...@@ -431,27 +431,6 @@ OpenStormBento::CUtList::GetCount()
OpenStormBento::CUtList::GetIndex(OpenStormBento::CUtListElmt*) OpenStormBento::CUtList::GetIndex(OpenStormBento::CUtListElmt*)
OpenStormBento::CUtList::GetIndex(int) OpenStormBento::CUtList::GetIndex(int)
OpenStormBento::CUtList::GetPrevOrNULL(OpenStormBento::CUtListElmt*) OpenStormBento::CUtList::GetPrevOrNULL(OpenStormBento::CUtListElmt*)
Outliner::Draw(OutputDevice*, Rectangle const&, Point const&)
Outliner::EndSpelling()
Outliner::GetAsianCompressionMode() const
Outliner::GetBeginDropHdl() const
Outliner::GetBigTextObjectStart() const
Outliner::GetDefTab() const
Outliner::GetDocPos(Paragraph*)
Outliner::GetEndDropHdl() const
Outliner::GetFirstLineOffset(unsigned long)
Outliner::GetForbiddenCharsTable() const
Outliner::GetHyphenator() const
Outliner::GetNotifyHdl() const
Outliner::GetPolygon()
Outliner::HasOnlineSpellErrors() const
Outliner::IsAddExtLeading() const
Outliner::IsAutoColorEnabled() const
Outliner::IsFixedCellHeight() const
Outliner::IsKernAsianPunctuation() const
Outliner::RemoveParaFlag(Paragraph*, unsigned short)
Outliner::SetBigTextObjectStart(unsigned short)
Outliner::SetVisible(Paragraph*, unsigned char)
OutlinerView::AdjustDepth(Paragraph*, short, unsigned char) OutlinerView::AdjustDepth(Paragraph*, short, unsigned char)
OutlinerView::AdjustHeight(Paragraph*, long, unsigned char) OutlinerView::AdjustHeight(Paragraph*, long, unsigned char)
OutlinerView::Collapse(Paragraph*) OutlinerView::Collapse(Paragraph*)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment