This patch removes bogus comments found in the uiview directory
including bigus statments in germany like :
- Beschreibung (translation: description)
- Ersterstellung (translation: first issue)
- Letzte Aenderung (translation: last modified)
Signed-off-by: Prashant Shah <pshah.mumbai@gmail.com>
---
sw/source/ui/uiview/pview.cxx | 228 ++------------------------------------
sw/source/ui/uiview/srcview.cxx | 85 --------------
sw/source/ui/uiview/uivwimp.cxx | 29 +-----
sw/source/ui/uiview/view.cxx | 82 +-------------
sw/source/ui/uiview/view0.cxx | 20 ----
sw/source/ui/uiview/view1.cxx | 18 ---
sw/source/ui/uiview/view2.cxx | 27 +----
sw/source/ui/uiview/viewdraw.cxx | 69 +-----------
sw/source/ui/uiview/viewling.cxx | 25 ----
sw/source/ui/uiview/viewmdi.cxx | 76 -------------
sw/source/ui/uiview/viewport.cxx | 39 +-------
sw/source/ui/uiview/viewprt.cxx | 14 ---
sw/source/ui/uiview/viewstat.cxx | 14 ---
sw/source/ui/uiview/viewtab.cxx | 18 +---
14 files changed, 18 insertions(+), 726 deletions(-)
diff --git a/sw/source/ui/uiview/pview.cxx b/sw/source/ui/uiview/pview.cxx
index e63de1e..d378c46 100644
--- a/sw/source/ui/uiview/pview.cxx
+++ b/sw/source/ui/uiview/pview.cxx
@@ -95,7 +95,6 @@
using namespace ::com::sun::star;
-
SFX_IMPL_NAMED_VIEWFACTORY(SwPagePreView, "PrintPreview")
{
SFX_VIEW_REGISTRATION(SwDocShell);
@@ -112,17 +111,13 @@ SFX_IMPL_INTERFACE(SwPagePreView, SfxViewShell, SW_RES(RID_PVIEW_TOOLBOX))
SW_RES(RID_PVIEW_TOOLBOX));
}
-
TYPEINIT1(SwPagePreView,SfxViewShell)
#define SWVIEWFLAGS ( SFX_VIEW_CAN_PRINT|SFX_VIEW_HAS_PRINTOPTIONS )
#define MIN_PREVIEW_ZOOM 25
#define MAX_PREVIEW_ZOOM 600
-/* */
-/* -----------------26.11.2002 10:41-----------------
- *
- * --------------------------------------------------*/
+
USHORT lcl_GetNextZoomStep(USHORT nCurrentZoom, BOOL bZoomIn)
{
static USHORT aZoomArr[] =
@@ -144,9 +139,7 @@ USHORT lcl_GetNextZoomStep(USHORT nCurrentZoom, BOOL bZoomIn)
}
return bZoomIn ? MAX_PREVIEW_ZOOM : MIN_PREVIEW_ZOOM;
};
-/* -----------------02.12.2002 09:11-----------------
- *
- * --------------------------------------------------*/
+
void lcl_InvalidateZoomSlots(SfxBindings& rBindings)
{
static USHORT __READONLY_DATA aInval[] =
@@ -156,12 +149,8 @@ void lcl_InvalidateZoomSlots(SfxBindings& rBindings)
};
rBindings.Invalidate( aInval );
}
-/*--------------------------------------------------------------------
- Beschreibung:
- --------------------------------------------------------------------*/
// erstmal der Zoom-Dialog
-
class SwPreViewZoomDlg : public SvxStandardDialog
{
FixedText aRowLbl;
@@ -180,11 +169,6 @@ public:
~SwPreViewZoomDlg();
};
-/*--------------------------------------------------------------------
- Beschreibung:
- --------------------------------------------------------------------*/
-
-
SwPreViewZoomDlg::SwPreViewZoomDlg( SwPagePreViewWin& rParent ) :
SvxStandardDialog( &rParent, SW_RES(DLG_PAGEPREVIEW_ZOOM) ),
aRowLbl(this,SW_RES(FT_ROW)),
@@ -201,12 +185,9 @@ SwPreViewZoomDlg::SwPreViewZoomDlg( SwPagePreViewWin& rParent ) :
aColEdit.SetValue( rParent.GetCol() );
}
-/*--------------------------------------------------------------------
- Beschreibung:
- --------------------------------------------------------------------*/
-
-SwPreViewZoomDlg::~SwPreViewZoomDlg() {}
-
+SwPreViewZoomDlg::~SwPreViewZoomDlg()
+{
+}
void SwPreViewZoomDlg::Apply()
{
@@ -215,13 +196,7 @@ void SwPreViewZoomDlg::Apply()
BYTE(aColEdit.GetValue()) );
}
-/*--------------------------------------------------------------------
- Beschreibung:
- --------------------------------------------------------------------*/
-
// alles fuers SwPagePreViewWin
-
-
SwPagePreViewWin::SwPagePreViewWin( Window *pParent, SwPagePreView& rPView )
: Window( pParent, WinBits( WB_CLIPCHILDREN) ),
mpViewShell( 0 ),
@@ -242,22 +217,12 @@ SwPagePreViewWin::SwPagePreViewWin( Window *pParent, SwPagePreView& rPView )
mnSttPage = USHRT_MAX;
}
-/*--------------------------------------------------------------------
- Beschreibung:
- --------------------------------------------------------------------*/
-
-
SwPagePreViewWin::~SwPagePreViewWin()
{
if( mpViewShell )
delete mpViewShell;
}
-/*--------------------------------------------------------------------
- Beschreibung:
- --------------------------------------------------------------------*/
-
-
void SwPagePreViewWin::Paint( const Rectangle& rRect )
{
if( !mpViewShell || !mpViewShell->GetLayout() )
@@ -286,9 +251,6 @@ void SwPagePreViewWin::Paint( const Rectangle& rRect )
}
}
-/*--------------------------------------------------------------------
- Beschreibung:
- --------------------------------------------------------------------*/
void SwPagePreViewWin::CalcWish( BYTE nNewRow, BYTE nNewCol )
{
if( !mpViewShell || !mpViewShell->GetLayout() )
@@ -334,11 +296,10 @@ void SwPagePreViewWin::CalcWish( BYTE nNewRow, BYTE nNewCol )
// OD 18.12.2002 #103492# - adjust scrollbars
mrView.ScrollViewSzChg();
}
+
/*--------------------------------------------------------------------
Beschreibung:, mnSttPage is Absolute
--------------------------------------------------------------------*/
-
-
int SwPagePreViewWin::MovePage( int eMoveMode )
{
// soviele Seiten hoch
@@ -443,11 +404,6 @@ int SwPagePreViewWin::MovePage( int eMoveMode )
return TRUE;
}
-/*--------------------------------------------------------------------
- Beschreibung:
- --------------------------------------------------------------------*/
-
-
void SwPagePreViewWin::SetWinSize( const Size& rNewSize )
{
// die Size wollen wir aber immer in Pixel-Einheiten haben
@@ -475,12 +431,6 @@ void SwPagePreViewWin::SetWinSize( const Size& rNewSize )
maScale = GetMapMode().GetScaleX();
}
-
-/*--------------------------------------------------------------------
- Beschreibung:
- --------------------------------------------------------------------*/
-
-
void SwPagePreViewWin::GetStatusStr( String& rStr, USHORT nPageCnt ) const
{
// OD 24.03.2003 #108282# - show physical and virtual page number of
@@ -505,11 +455,6 @@ void SwPagePreViewWin::GetStatusStr( String& rStr, USHORT nPageCnt ) const
rStr += String::CreateFromInt32( nPageCnt );
}
-/*--------------------------------------------------------------------
- Beschreibung:
- --------------------------------------------------------------------*/
-
-
void SwPagePreViewWin::KeyInput( const KeyEvent &rKEvt )
{
const KeyCode& rKeyCode = rKEvt.GetKeyCode();
@@ -535,10 +480,6 @@ void SwPagePreViewWin::KeyInput( const KeyEvent &rKEvt )
Window::KeyInput( rKEvt );
}
-/******************************************************************************
- * Beschreibung:
- ******************************************************************************/
-
void SwPagePreViewWin::Command( const CommandEvent& rCEvt )
{
BOOL bCallBase = TRUE;
@@ -625,8 +566,6 @@ void SwPagePreViewWin::MouseButtonDown( const MouseEvent& rMEvt )
/******************************************************************************
* Beschreibung: Userprefs bzw Viewoptions setzen
******************************************************************************/
-
-
void SwPagePreViewWin::SetPagePreview( BYTE nRow, BYTE nCol )
{
SwMasterUsrPref *pOpt = (SwMasterUsrPref *)SW_MOD()->GetUsrPref(FALSE);
@@ -783,9 +722,6 @@ void SwPagePreView::_ExecPgUpAndPgDown( const bool _bPgUp,
_pReq->Done();
}
-/*--------------------------------------------------------------------
- Beschreibung:
- --------------------------------------------------------------------*/
// dann mal alles fuer die SwPagePreView
void SwPagePreView::Execute( SfxRequest &rReq )
{
@@ -1053,11 +989,6 @@ MOVEPAGE:
aViewWin.Invalidate();
}
-/*--------------------------------------------------------------------
- Beschreibung:
- --------------------------------------------------------------------*/
-
-
void SwPagePreView::GetState( SfxItemSet& rSet )
{
SfxWhichIter aIter(rSet);
@@ -1212,11 +1143,6 @@ void SwPagePreView::GetState( SfxItemSet& rSet )
}
}
-/*--------------------------------------------------------------------
- Beschreibung:
- --------------------------------------------------------------------*/
-
-
void SwPagePreView::StateUndo(SfxItemSet& rSet)
{
SfxWhichIter aIter(rSet);
@@ -1229,11 +1155,6 @@ void SwPagePreView::StateUndo(SfxItemSet& rSet)
}
}
-/*--------------------------------------------------------------------
- Beschreibung:
- --------------------------------------------------------------------*/
-
-
void SwPagePreView::Init(const SwViewOption * pPrefs)
{
if ( GetViewShell()->HasDrawView() )
@@ -1302,12 +1223,6 @@ void SwPagePreView::Init(const SwViewOption * pPrefs)
pScrollFill->Show(pPrefs->IsViewVScrollBar() && pPrefs->IsViewHScrollBar());
}
-
-/*--------------------------------------------------------------------
- Beschreibung:
- --------------------------------------------------------------------*/
-
-
SwPagePreView::SwPagePreView(SfxViewFrame *pViewFrame, SfxViewShell* pOldSh):
SfxViewShell( pViewFrame, SWVIEWFLAGS ),
aViewWin( &pViewFrame->GetWindow(), *this ),
@@ -1385,13 +1300,7 @@ SwPagePreView::SwPagePreView(SfxViewFrame *pViewFrame, SfxViewShell* pOldSh):
Init();
}
-
-/*--------------------------------------------------------------------
- Beschreibung:
- --------------------------------------------------------------------*/
-
-
- SwPagePreView::~SwPagePreView()
+SwPagePreView::~SwPagePreView()
{
SetWindow( 0 );
@@ -1413,21 +1322,11 @@ SwPagePreView::SwPagePreView(SfxViewFrame *pViewFrame, SfxViewShell*
pOldSh):
}
*/}
-/*--------------------------------------------------------------------
- Beschreibung:
- --------------------------------------------------------------------*/
-
-
SwDocShell* SwPagePreView::GetDocShell()
{
return PTR_CAST(SwDocShell, GetViewFrame()->GetObjectShell());
}
-/*--------------------------------------------------------------------
- Beschreibung:
- --------------------------------------------------------------------*/
-
-
int SwPagePreView::_CreateScrollbar( BOOL bHori )
{
Window *pMDI = &GetViewFrame()->GetWindow();
@@ -1463,16 +1362,6 @@ int SwPagePreView::_CreateScrollbar( BOOL bHori )
return 1;
}
-/*--------------------------------------------------------------------
- Beschreibung:
- --------------------------------------------------------------------*/
-
-
-
-/*--------------------------------------------------------------------
- Beschreibung:
- --------------------------------------------------------------------*/
-
/*
* Button-Handler
*/
@@ -1485,11 +1374,6 @@ IMPL_LINK_INLINE_START( SwPagePreView, BtnPage, Button *, pButton )
}
IMPL_LINK_INLINE_END( SwPagePreView, BtnPage, Button *, pButton )
-/*--------------------------------------------------------------------
- Beschreibung:
- --------------------------------------------------------------------*/
-
-
int SwPagePreView::ChgPage( int eMvMode, int bUpdateScrollbar )
{
Rectangle aPixVisArea( aViewWin.LogicToPixel( aVisArea ) );
@@ -1521,16 +1405,7 @@ int SwPagePreView::ChgPage( int eMvMode, int bUpdateScrollbar )
return bChg;
}
-
-/* */
-/*--------------------------------------------------------------------
- Beschreibung:
- --------------------------------------------------------------------*/
-
-
// ab hier alles aus der SwView uebernommen
-
-
void SwPagePreView::CalcAndSetBorderPixel( SvBorder &rToFill, BOOL /*bInner*/ )
{
// const long nAdd = bInner ? 0 : ScrollBar::GetWindowOverlapPixel();
@@ -1543,11 +1418,6 @@ void SwPagePreView::CalcAndSetBorderPixel( SvBorder &rToFill, BOOL
/*bInner*/ )
SetBorderPixel( rToFill );
}
-/*--------------------------------------------------------------------
- Beschreibung:
- --------------------------------------------------------------------*/
-
-
void SwPagePreView::InnerResizePixel( const Point &rOfst, const Size &rSize )
{
SvBorder aBorder;
@@ -1564,11 +1434,6 @@ void SwPagePreView::InnerResizePixel( const Point &rOfst, const Size &rSize
)
//VisArea niemals einstellen!
}
-/*--------------------------------------------------------------------
- Beschreibung:
- --------------------------------------------------------------------*/
-
-
void SwPagePreView::OuterResizePixel( const Point &rOfst, const Size &rSize )
{
SvBorder aBorder;
@@ -1592,11 +1457,6 @@ void SwPagePreView::OuterResizePixel( const Point &rOfst, const Size &rSize
)
}
}
-/*--------------------------------------------------------------------
- Beschreibung:
- --------------------------------------------------------------------*/
-
-
void SwPagePreView::SetVisArea( const Rectangle &rRect, BOOL bUpdateScrollbar )
{
const Point aTopLeft(AlignToPixel(rRect.TopLeft()));
@@ -1646,11 +1506,6 @@ void SwPagePreView::SetVisArea( const Rectangle &rRect, BOOL
bUpdateScrollbar )
aViewWin.Invalidate();
}
-/*--------------------------------------------------------------------
- Beschreibung:
- --------------------------------------------------------------------*/
-
-
IMPL_LINK( SwPagePreView, ScrollHdl, SwScrollbar *, pScrollbar )
{
if(!GetViewShell())
@@ -1685,11 +1540,6 @@ IMPL_LINK( SwPagePreView, ScrollHdl, SwScrollbar *, pScrollbar )
return 0;
}
-/*--------------------------------------------------------------------
- Beschreibung:
- --------------------------------------------------------------------*/
-
-
IMPL_LINK( SwPagePreView, EndScrollHdl, SwScrollbar *, pScrollbar )
{
if(!GetViewShell())
@@ -1780,21 +1630,12 @@ IMPL_LINK( SwPagePreView, EndScrollHdl, SwScrollbar *, pScrollbar )
}
return 0;
}
-/*--------------------------------------------------------------------
- Beschreibung:
- --------------------------------------------------------------------*/
-
Point SwPagePreView::AlignToPixel(const Point &rPt) const
{
return aViewWin.PixelToLogic( aViewWin.LogicToPixel( rPt ) );
}
-/*--------------------------------------------------------------------
- Beschreibung:
- --------------------------------------------------------------------*/
-
-
void SwPagePreView::DocSzChgd( const Size &rSz )
{
if( aDocSz == rSz )
@@ -1817,11 +1658,6 @@ void SwPagePreView::DocSzChgd( const Size &rSz )
// <--
}
-/*--------------------------------------------------------------------
- Beschreibung:
- --------------------------------------------------------------------*/
-
-
void SwPagePreView::ScrollViewSzChg()
{
if(!GetViewShell())
@@ -1891,35 +1727,17 @@ void SwPagePreView::ScrollViewSzChg()
}
}
-/*--------------------------------------------------------------------
- Beschreibung:
- --------------------------------------------------------------------*/
-
-
void SwPagePreView::ScrollDocSzChg()
{
ScrollViewSzChg();
}
-
-/* */
-/*--------------------------------------------------------------------
- Beschreibung:
- --------------------------------------------------------------------*/
-
-
// alles zum Thema Drucken
-
SfxPrinter* SwPagePreView::GetPrinter( BOOL bCreate )
{
return aViewWin.GetViewShell()->getIDocumentDeviceAccess()->getPrinter( bCreate );
}
-/*--------------------------------------------------------------------
- Beschreibung:
- --------------------------------------------------------------------*/
-
-
USHORT SwPagePreView::SetPrinter( SfxPrinter *pNew, USHORT nDiffFlags, bool )
{
ViewShell &rSh = *GetViewShell();
@@ -1974,22 +1792,12 @@ USHORT SwPagePreView::SetPrinter( SfxPrinter *pNew, USHORT nDiffFlags,
bool )
return 0;
}
-/*--------------------------------------------------------------------
- Beschreibung:
- --------------------------------------------------------------------*/
-
-
SfxTabPage* SwPagePreView::CreatePrintOptionsPage( Window *pParent,
const SfxItemSet &rOptions )
{
return ::CreatePrintOptionsPage( pParent, rOptions, !bNormalPrint );
}
-/*--------------------------------------------------------------------
- Beschreibung:
- --------------------------------------------------------------------*/
-
-
PrintDialog* SwPagePreView::CreatePrintDialog( Window *pParent )
{
PrintDialog *pDlg = ::CreatePrintDialog( pParent, 1, 0 );
@@ -1997,11 +1805,6 @@ PrintDialog* SwPagePreView::CreatePrintDialog( Window *pParent )
return pDlg;
}
-/*--------------------------------------------------------------------
- Beschreibung:
- --------------------------------------------------------------------*/
-
-
// OD 18.12.2002 #103492# - no longer needed ??
Size SwPagePreView::GetOptimalSizePixel() const
{
@@ -2033,10 +1836,6 @@ Size SwPagePreView::GetOptimalSizePixel() const
*/
}
-/*--------------------------------------------------------------------
- Beschreibung:
- --------------------------------------------------------------------*/
-
// OD 12.12.2002 #103492#
void SwPagePreViewWin::SetViewShell( ViewShell* pShell )
{
@@ -2099,6 +1898,7 @@ void SwPagePreViewWin::AdjustPreviewToNewZoom( const sal_uInt16 _nZoomFactor,
}
}
+
/* -----------------04.12.2002 10:46-----------------
* pixel scrolling - horizontally always or vertically
* when less than the desired number of rows fits into
@@ -2144,7 +1944,6 @@ BOOL SwPagePreView::HandleWheelCommands( const CommandEvent& rCEvt )
return bOk;
}
-
uno::Reference< ::com::sun::star::accessibility::XAccessible >
SwPagePreViewWin::CreateAccessible()
{
@@ -2155,34 +1954,23 @@ uno::Reference< ::com::sun::star::accessibility::XAccessible >
return GetViewShell()->CreateAccessiblePreview();
}
-/* -----------------------------06.05.2002 13:18------------------------------
-
- ---------------------------------------------------------------------------*/
void SwPagePreView::ApplyAccessiblityOptions(SvtAccessibilityOptions& rAccessibilityOptions)
{
GetViewShell()->ApplyAccessiblityOptions(rAccessibilityOptions);
}
-/* -----------------------------2002/06/26 14:30------------------------------
- ---------------------------------------------------------------------------*/
void SwPagePreView::ShowHScrollbar(sal_Bool bShow)
{
pHScrollbar->Show(bShow);
InvalidateBorder();
}
-/* -----------------------------2002/06/26 14:30------------------------------
-
- ---------------------------------------------------------------------------*/
void SwPagePreView::ShowVScrollbar(sal_Bool bShow)
{
pVScrollbar->Show(bShow);
InvalidateBorder();
}
-/* -----------------25.11.2002 16:36-----------------
- *
- * --------------------------------------------------*/
void SwPagePreView::SetZoom(SvxZoomType eType, USHORT nFactor)
{
ViewShell& rSh = *GetViewShell();
diff --git a/sw/source/ui/uiview/srcview.cxx b/sw/source/ui/uiview/srcview.cxx
index 4706738..0f7ca5f 100644
--- a/sw/source/ui/uiview/srcview.cxx
+++ b/sw/source/ui/uiview/srcview.cxx
@@ -123,14 +123,11 @@ using ::com::sun::star::util::SearchOptions;
#define BMARGPRN 1000
#define BORDERPRN 300
-
-
SFX_IMPL_NAMED_VIEWFACTORY(SwSrcView, "SourceView")
{
SFX_VIEW_REGISTRATION(SwWebDocShell);
}
-
SFX_IMPL_INTERFACE( SwSrcView, SfxViewShell, SW_RES(0) )
{
SFX_POPUPMENU_REGISTRATION(SW_RES(MN_SRCVIEW_POPUPMENU));
@@ -142,11 +139,6 @@ SFX_IMPL_INTERFACE( SwSrcView, SfxViewShell, SW_RES(0) )
TYPEINIT1(SwSrcView, SfxViewShell)
-/*-----------------18.11.96 08.05-------------------
-
---------------------------------------------------*/
-
-
void lcl_PrintHeader( OutputDevice &rOutDev, USHORT nPages, USHORT nCurPage, const String& rTitle )
{
short nLeftMargin = LMARGPRN;
@@ -200,9 +192,7 @@ void lcl_PrintHeader( OutputDevice &rOutDev, USHORT nPages, USHORT nCurPage, con
rOutDev.SetFont( aOldFont );
rOutDev.SetFillColor( aOldFillColor );
}
-/* -----------------13.11.2003 16:24-----------------
- --------------------------------------------------*/
rtl_TextEncoding lcl_GetStreamCharSet(rtl_TextEncoding eLoadEncoding)
{
rtl_TextEncoding eRet = eLoadEncoding;
@@ -215,9 +205,6 @@ rtl_TextEncoding lcl_GetStreamCharSet(rtl_TextEncoding eLoadEncoding)
}
return eRet;
}
-/*-----------------18.11.96 08.21-------------------
-
---------------------------------------------------*/
void lcl_ConvertTabsToSpaces( String& rLine )
{
@@ -241,11 +228,6 @@ void lcl_ConvertTabsToSpaces( String& rLine )
}
}
-/*--------------------------------------------------------------------
- Beschreibung:
- --------------------------------------------------------------------*/
-
-
SwSrcView::SwSrcView(SfxViewFrame* pViewFrame, SfxViewShell*) :
SfxViewShell( pViewFrame, SWSRCVIEWFLAGS ),
aEditWin( &pViewFrame->GetWindow(), this ),
@@ -256,11 +238,6 @@ SwSrcView::SwSrcView(SfxViewFrame* pViewFrame, SfxViewShell*) :
Init();
}
-/*--------------------------------------------------------------------
- Beschreibung:
- --------------------------------------------------------------------*/
-
-
SwSrcView::~SwSrcView()
{
SwDocShell* pDocShell = GetDocShell();
@@ -281,9 +258,6 @@ SwSrcView::~SwSrcView()
delete pSearchItem;
}
-/*-----------------24.04.97 10:37-------------------
-
---------------------------------------------------*/
void SwSrcView::SaveContentTo(SfxMedium& rMed)
{
SvStream* pOutStream = rMed.GetOutStream();
@@ -291,11 +265,6 @@ void SwSrcView::SaveContentTo(SfxMedium& rMed)
aEditWin.Write( *pOutStream );//, EE_FORMAT_TEXT);
}
-/*--------------------------------------------------------------------
- Beschreibung:
- --------------------------------------------------------------------*/
-
-
void SwSrcView::Init()
{
SetHelpId(SW_SRC_VIEWSHELL);
@@ -315,21 +284,12 @@ void SwSrcView::Init()
StartListening(*pDocShell,TRUE);
}
-/*--------------------------------------------------------------------
- Beschreibung:
- --------------------------------------------------------------------*/
-
SwDocShell* SwSrcView::GetDocShell()
{
SfxObjectShell* pObjShell = GetViewFrame()->GetObjectShell();
return PTR_CAST(SwDocShell, pObjShell);
}
-/*--------------------------------------------------------------------
- Beschreibung:
- --------------------------------------------------------------------*/
-
-
void SwSrcView::SaveContent(const String& rTmpFile)
{
SfxMedium aMedium( rTmpFile, STREAM_WRITE, TRUE);
@@ -339,11 +299,6 @@ void SwSrcView::SaveContent(const String& rTmpFile)
aMedium.Commit();
}
-/*--------------------------------------------------------------------
- Beschreibung:
- --------------------------------------------------------------------*/
-
-
void SwSrcView::Execute(SfxRequest& rReq)
{
USHORT nSlot = rReq.GetSlot();
@@ -479,11 +434,6 @@ void SwSrcView::Execute(SfxRequest& rReq)
aEditWin.Invalidate();
}
-/*--------------------------------------------------------------------
- Beschreibung:
- --------------------------------------------------------------------*/
-
-
void SwSrcView::GetState(SfxItemSet& rSet)
{
SfxWhichIter aIter(rSet);
@@ -613,11 +563,6 @@ void SwSrcView::GetState(SfxItemSet& rSet)
}
}
-/*--------------------------------------------------------------------
- Beschreibung:
- --------------------------------------------------------------------*/
-
-
SvxSearchItem* SwSrcView::GetSearchItem()
{
if(!pSearchItem)
@@ -627,22 +572,12 @@ SvxSearchItem* SwSrcView::GetSearchItem()
return pSearchItem;
}
-/*--------------------------------------------------------------------
- Beschreibung:
- --------------------------------------------------------------------*/
-
-
void SwSrcView::SetSearchItem( const SvxSearchItem& rItem )
{
delete pSearchItem;
pSearchItem = (SvxSearchItem*)rItem.Clone();
}
-/*--------------------------------------------------------------------
- Beschreibung:
- --------------------------------------------------------------------*/
-
-
USHORT SwSrcView::StartSearchAndReplace(const SvxSearchItem& rSearchItem,
BOOL bFromStart,
BOOL bApi,
@@ -725,10 +660,6 @@ USHORT SwSrcView::StartSearchAndReplace(const SvxSearchItem& rSearchItem,
return nFound;
}
-/*--------------------------------------------------------------------
- Beschreibung:
- --------------------------------------------------------------------*/
-
USHORT SwSrcView::SetPrinter(SfxPrinter* pNew, USHORT nDiffFlags, bool )
{
SwDocShell* pDocSh = GetDocShell();
@@ -750,18 +681,11 @@ USHORT SwSrcView::SetPrinter(SfxPrinter* pNew, USHORT nDiffFlags, bool )
return 0;
}
-/*--------------------------------------------------------------------
- Beschreibung:
- --------------------------------------------------------------------*/
-
SfxPrinter* SwSrcView::GetPrinter( BOOL bCreate )
{
return GetDocShell()->GetDoc()->getPrinter( bCreate );
}
-/*--------------------------------------------------------------------
- Beschreibung:
- --------------------------------------------------------------------*/
sal_Int32 SwSrcView::PrintSource(
OutputDevice *pOutDev,
sal_Int32 nPage,
@@ -836,12 +760,6 @@ sal_Int32 SwSrcView::PrintSource(
return nCurPage;
}
-
-/*--------------------------------------------------------------------
- Beschreibung:
- --------------------------------------------------------------------*/
-
-
void SwSrcView::Notify( SfxBroadcaster& rBC, const SfxHint& rHint )
{
if ( rHint.ISA(SfxSimpleHint) &&
@@ -862,9 +780,6 @@ void SwSrcView::Notify( SfxBroadcaster& rBC, const SfxHint& rHint )
SfxViewShell::Notify(rBC, rHint);
}
-/*-----------------19.04.97 10:19-------------------
-
---------------------------------------------------*/
void SwSrcView::Load(SwDocShell* pDocShell)
{
SvxHtmlOptions* pHtmlOptions = SvxHtmlOptions::Get();
diff --git a/sw/source/ui/uiview/uivwimp.cxx b/sw/source/ui/uiview/uivwimp.cxx
index d58e80a..360e63c 100644
--- a/sw/source/ui/uiview/uivwimp.cxx
+++ b/sw/source/ui/uiview/uivwimp.cxx
@@ -65,9 +65,6 @@ using namespace ::com::sun::star::scanner;
using namespace ::com::sun::star::lang;
using namespace ::com::sun::star::datatransfer::clipboard;
-/* -----------------02.06.98 15:31-------------------
- *
- * --------------------------------------------------*/
SwView_Impl::SwView_Impl(SwView* pShell) :
pxXTextView(new uno::Reference<view::XSelectionSupplier>),
pView(pShell),
@@ -84,9 +81,6 @@ SwView_Impl::SwView_Impl(SwView* pShell) :
xDisProvInterceptor = new SwXDispatchProviderInterceptor(*pView);
}
-/*-----------------13.12.97 09:51-------------------
-
---------------------------------------------------*/
SwView_Impl::~SwView_Impl()
{
Reference<XUnoTunnel> xDispTunnel(xDisProvInterceptor, UNO_QUERY);
@@ -114,31 +108,22 @@ SwView_Impl::~SwView_Impl()
delete m_pRequest;
}
-/*-----------------13.12.97 09:54-------------------
-
---------------------------------------------------*/
void SwView_Impl::SetShellMode(ShellModes eSet)
{
eShellMode = eSet;
}
-/*-----------------13.12.97 09:59-------------------
---------------------------------------------------*/
view::XSelectionSupplier* SwView_Impl::GetUNOObject()
{
return pxXTextView->get();
}
-/* -----------------02.06.98 15:29-------------------
- *
- * --------------------------------------------------*/
+
SwXTextView* SwView_Impl::GetUNOObject_Impl()
{
view::XSelectionSupplier* pTextView = pxXTextView->get();
return ((SwXTextView*)pTextView);
}
-/* -----------------------------29.05.00 09:04--------------------------------
- ---------------------------------------------------------------------------*/
void SwView_Impl::ExecuteScan( SfxRequest& rReq )
{
USHORT nSlot = rReq.GetSlot();
@@ -218,9 +203,6 @@ void SwView_Impl::ExecuteScan( SfxRequest& rReq )
}
}
-/* -----------------------------29.05.00 08:26--------------------------------
-
- ---------------------------------------------------------------------------*/
SwScannerEventListener& SwView_Impl::GetScannerEventListener()
{
if(!xScanEvtLstnr.is())
@@ -228,7 +210,6 @@ SwScannerEventListener& SwView_Impl::GetScannerEventListener()
return *pScanEvtLstnr;
}
-
void SwView_Impl::AddClipboardListener()
{
if(!xClipEvtLstnr.is())
@@ -237,9 +218,7 @@ void SwView_Impl::AddClipboardListener()
pClipEvtLstnr->AddRemoveListener( TRUE );
}
}
-/* -----------------3/31/2003 11:42AM----------------
- --------------------------------------------------*/
void SwView_Impl::Invalidate()
{
GetUNOObject_Impl()->Invalidate();
@@ -254,9 +233,7 @@ void SwView_Impl::Invalidate()
pTransferable->Invalidate();
}
}
-/* -----------------3/31/2003 12:40PM----------------
- --------------------------------------------------*/
void SwView_Impl::AddTransferable(SwTransferable& rTransferable)
{
//prevent removing of the non-referenced SwTransferable
@@ -285,8 +262,6 @@ void SwView_Impl::InitRequest( const SfxRequest& rRequest )
m_pRequest = new SfxRequest( rRequest );
}
-// ------------------------- SwScannerEventListener ---------------------
-
SwScannerEventListener::~SwScannerEventListener()
{
}
@@ -300,8 +275,6 @@ void SAL_CALL SwScannerEventListener::disposing( const EventObject& rEventObject
#endif
}
-// ------------------------- SwClipboardChangeListener ---------------------
-
SwClipboardChangeListener::~SwClipboardChangeListener()
{
}
diff --git a/sw/source/ui/uiview/view.cxx b/sw/source/ui/uiview/view.cxx
index dfbd703..8338150 100644
--- a/sw/source/ui/uiview/view.cxx
+++ b/sw/source/ui/uiview/view.cxx
@@ -154,19 +154,11 @@ SearchAttrItemList* SwView::pReplList = 0;
DBG_NAME(viewhdl)
-/*--------------------------------------------------------------------
- Beschreibung:
- --------------------------------------------------------------------*/
-
inline SfxDispatcher &SwView::GetDispatcher()
{
return *GetViewFrame()->GetDispatcher();
}
-/*--------------------------------------------------------------------
- Beschreibung:
- --------------------------------------------------------------------*/
-
void SwView::ImpSetVerb( int nSelType )
{
sal_Bool bResetVerbs = bVerbsActive;
@@ -194,7 +186,6 @@ void SwView::ImpSetVerb( int nSelType )
Description:
called by the SwEditWin when it gets the focus
--------------------------------------------------------------------*/
-
void SwView::GotFocus() const
{
// if we got the focus, and the form shell *is* on the top of the dispatcher
@@ -225,7 +216,6 @@ void SwView::GotFocus() const
a request to put the form shell on the top of the dispatcher
stack
--------------------------------------------------------------------*/
-
IMPL_LINK( SwView, FormControlActivated, FmFormShell*, EMPTYARG )
{
// if a form control has been activated, and the form shell is not on the top
@@ -486,8 +476,6 @@ void SwView::SelectShell()
//Da wir aber keine Stati mehr liefern koennen und wollen locken wir
//stattdessen den Dispatcher.
-
-
extern "C"
{
int lcl_CmpIds( const void *pFirst, const void *pSecond)
@@ -496,8 +484,6 @@ extern "C"
}
}
-
-
IMPL_LINK( SwView, AttrChangedNotify, SwWrtShell *, EMPTYARG )
{
if ( GetEditWin().IsChainMode() )
@@ -563,8 +549,6 @@ IMPL_LINK( SwView, AttrChangedNotify, SwWrtShell *, EMPTYARG )
return 0;
}
-
-
IMPL_LINK( SwView, TimeoutHdl, Timer *, EMPTYARG )
{
DBG_PROFSTART(viewhdl);
@@ -739,7 +723,6 @@ void SwView::_CheckReadonlySelection()
}
}
-
SwView::SwView( SfxViewFrame *_pFrame, SfxViewShell* pOldSh )
: SfxViewShell( _pFrame, SWVIEWFLAGS ),
@@ -1115,11 +1098,6 @@ SwView::SwView( SfxViewFrame *_pFrame, SfxViewShell* pOldSh )
GetViewFrame()->GetWindow().AddChildEventListener( LINK( this, SwView,
WindowChildEventListener ) );
}
-/*--------------------------------------------------------------------
- Beschreibung:
- --------------------------------------------------------------------*/
-
-
SwView::~SwView()
{
GetViewFrame()->GetWindow().RemoveChildEventListener( LINK( this, SwView,
WindowChildEventListener ) );
@@ -1171,8 +1149,6 @@ SwView::~SwView()
/*--------------------------------------------------------------------
Beschreibung: DocShell rausgrabbeln ueber das FrameWindow
--------------------------------------------------------------------*/
-
-
SwDocShell* SwView::GetDocShell()
{
SfxObjectShell* pDocShell = GetViewFrame()->GetObjectShell();
@@ -1182,8 +1158,6 @@ SwDocShell* SwView::GetDocShell()
/*--------------------------------------------------------------------
Beschreibung: CursorPos merken
--------------------------------------------------------------------*/
-
-
void SwView::WriteUserData( String &rUserData, sal_Bool bBrowse )
{
//Das Browse-Flag wird vom Sfx durchgereicht, wenn Dokumente gebrowsed
@@ -1212,6 +1186,7 @@ void SwView::WriteUserData( String &rUserData, sal_Bool bBrowse )
rUserData += ';';
rUserData += FRMTYPE_NONE == pWrtShell->GetSelFrmType() ? '0' : '1';
}
+
/*--------------------------------------------------------------------
Beschreibung: CursorPos setzen
--------------------------------------------------------------------*/
@@ -1230,7 +1205,6 @@ bool lcl_IsOwnDocument( SwView& rView )
(!Changed.Len() && Created.Len() && Created == FullName );
}
-
void SwView::ReadUserData( const String &rUserData, sal_Bool bBrowse )
{
if ( rUserData.GetTokenCount() > 1 &&
@@ -1555,6 +1529,7 @@ void SwView::ReadUserDataSequence ( const uno::Sequence <
beans::PropertyValue >
}
}
}
+
#define NUM_VIEW_SETTINGS 12
void SwView::WriteUserDataSequence ( uno::Sequence < beans::PropertyValue >& rSequence, sal_Bool
bBrowse )
{
@@ -1626,8 +1601,6 @@ void SwView::WriteUserDataSequence ( uno::Sequence < beans::PropertyValue >&
rSe
}
#undef NUM_VIEW_SETTINGS
-
-
void SwView::ShowCursor( bool bOn )
{
//JP 10.10.2001: Bug 90461 - don't scroll the cursor into the visible area
@@ -1643,8 +1616,6 @@ void SwView::ShowCursor( bool bOn )
pWrtShell->LockView( FALSE );
}
-
-
ErrCode SwView::DoVerb( long nVerb )
{
if ( !GetViewFrame()->GetFrame().IsInPlace() )
@@ -1666,18 +1637,11 @@ sal_Bool SwView::HasSelection( sal_Bool bText ) const
: GetWrtShell().HasSelection();
}
-/*-----------------09/16/97 09:50am-----------------
-
---------------------------------------------------*/
-
String SwView::GetSelectionText( sal_Bool bCompleteWrds )
{
return GetSelectionTextParam( bCompleteWrds, sal_True );
}
-/*-----------------09/16/97 09:50am-----------------
-
---------------------------------------------------*/
String SwView::GetSelectionTextParam( sal_Bool bCompleteWrds,
sal_Bool bEraseTrail )
{
@@ -1691,12 +1655,6 @@ String SwView::GetSelectionTextParam( sal_Bool bCompleteWrds,
return sReturn;
}
-/*--------------------------------------------------------------------
- Beschreibung:
- --------------------------------------------------------------------*/
-
-
-
SwGlossaryHdl* SwView::GetGlosHdl()
{
if(!pGlosHdl)
@@ -1704,12 +1662,6 @@ SwGlossaryHdl* SwView::GetGlosHdl()
return pGlosHdl;
}
-/*-----------------05.09.96 15.50-------------------
-
---------------------------------------------------*/
-
-
-
void SwView::Notify( SfxBroadcaster& rBC, const SfxHint& rHint )
{
BOOL bCallBase = sal_True;
@@ -1801,9 +1753,6 @@ void SwView::Notify( SfxBroadcaster& rBC, const SfxHint& rHint )
SfxViewShell::Notify(rBC, rHint);
}
-/*-----------------02.12.96 12:36-------------------
-
---------------------------------------------------*/
#if defined WIN || defined WNT || defined UNX
void SwView::ScannerEventHdl( const EventObject& /*rEventObject*/ )
@@ -1836,11 +1785,6 @@ void SwView::ScannerEventHdl( const EventObject& /*rEventObject*/ )
}
#endif
-/*-----------------04.03.97 15:07-------------------
-
---------------------------------------------------*/
-
-
void SwView::StopShellTimer()
{
if(aTimer.IsActive())
@@ -1856,9 +1800,6 @@ void SwView::StopShellTimer()
}
}
-/*-----------------09/03/97 04:12pm-----------------
-
---------------------------------------------------*/
sal_uInt16 SwView::PrepareClose( sal_Bool bUI, sal_Bool bForBrowsing )
{
SfxViewFrame* pVFrame = GetViewFrame();
@@ -1876,10 +1817,8 @@ sal_uInt16 SwView::PrepareClose( sal_Bool bUI, sal_Bool bForBrowsing )
return SfxViewShell::PrepareClose( bUI, bForBrowsing );
}
-
-
- // status methods for clipboard.
- // Status changes now notified from the clipboard.
+// status methods for clipboard.
+// Status changes now notified from the clipboard.
BOOL SwView::IsPasteAllowed()
{
USHORT nPasteDestination = SwTransferable::GetSotDestination( *pWrtShell );
@@ -1929,9 +1868,7 @@ BOOL SwView::IsPasteSpecialAllowed()
}
return bPasteSpecialState;
}
-/* -----------------------------12.07.01 13:25--------------------------------
- ---------------------------------------------------------------------------*/
void SwView::NotifyDBChanged()
{
GetViewImpl()->GetUNOObject_Impl()->NotifyDBChanged();
@@ -1940,17 +1877,11 @@ void SwView::NotifyDBChanged()
/*--------------------------------------------------------------------
Beschreibung: Drucken
--------------------------------------------------------------------*/
-
-/* -----------------------------28.10.02 13:25--------------------------------
-
- ---------------------------------------------------------------------------*/
SfxObjectShellRef & SwView::GetTmpSelectionDoc()
{
return GetViewImpl()->GetTmpSelectionDoc();
}
-/* -----------------------------31.10.02 13:25--------------------------------
- ---------------------------------------------------------------------------*/
SfxObjectShellRef & SwView::GetOrCreateTmpSelectionDoc()
{
SfxObjectShellRef &rxTmpDoc = GetViewImpl()->GetTmpSelectionDoc();
@@ -1962,16 +1893,12 @@ SfxObjectShellRef & SwView::GetOrCreateTmpSelectionDoc()
}
return rxTmpDoc;
}
-/* -----------------3/31/2003 12:39PM----------------
- --------------------------------------------------*/
void SwView::AddTransferable(SwTransferable& rTransferable)
{
GetViewImpl()->AddTransferable(rTransferable);
}
-/* --------------------------------------------------*/
-
void SwPrtOptions::MakeOptions( BOOL bWeb )
{
*this = *SW_MOD()->GetPrtOptions(bWeb);
@@ -1985,4 +1912,3 @@ void SwPrtOptions::MakeOptions( BOOL bWeb )
aMulti.SelectAll();
aMulti.Select( 0, FALSE );
}
-
diff --git a/sw/source/ui/uiview/view0.cxx b/sw/source/ui/uiview/view0.cxx
index 98b9589..65dd289 100644
--- a/sw/source/ui/uiview/view0.cxx
+++ b/sw/source/ui/uiview/view0.cxx
@@ -94,7 +94,6 @@
#include "swslots.hxx"
#include <PostItMgr.hxx>
-
using namespace ::com::sun::star;
using ::rtl::OUString;
@@ -104,7 +103,6 @@ using ::rtl::OUString;
#include <unomid.h>
-
SFX_IMPL_NAMED_VIEWFACTORY(SwView, "Default")
{
if ( SvtModuleOptions().IsWriter() )
@@ -136,24 +134,16 @@ SFX_IMPL_INTERFACE( SwView, SfxViewShell, SW_RES(RID_TOOLS_TOOLBOX) )
TYPEINIT1(SwView,SfxViewShell)
-/*-----------------13.12.97 11:06-------------------
-
---------------------------------------------------*/
ShellModes SwView::GetShellMode()
{
return pViewImpl->GetShellMode();
}
-/*-----------------13.12.97 11:28-------------------
-
---------------------------------------------------*/
view::XSelectionSupplier* SwView::GetUNOObject()
{
return pViewImpl->GetUNOObject();
}
-/* -----------------------------06.05.2002 13:18------------------------------
- ---------------------------------------------------------------------------*/
void SwView::ApplyAccessiblityOptions(SvtAccessibilityOptions& rAccessibilityOptions)
{
pWrtShell->ApplyAccessiblityOptions(rAccessibilityOptions);
@@ -162,39 +152,29 @@ void SwView::ApplyAccessiblityOptions(SvtAccessibilityOptions&
rAccessibilityOpt
pWrtShell->ShowCrsr();
}
-/*-- 26.05.2004 09:14:25---------------------------------------------------
- -----------------------------------------------------------------------*/
void SwView::SetMailMergeConfigItem(SwMailMergeConfigItem* pConfigItem,
sal_uInt16 nRestart, sal_Bool bIsSource)
{
pViewImpl->SetMailMergeConfigItem(pConfigItem, nRestart, bIsSource);
UIFeatureChanged();
}
-/*-- 26.05.2004 09:14:25---------------------------------------------------
- -----------------------------------------------------------------------*/
SwMailMergeConfigItem* SwView::GetMailMergeConfigItem()
{
return pViewImpl->GetMailMergeConfigItem();
}
-/*-- 26.05.2004 09:14:25---------------------------------------------------
- -----------------------------------------------------------------------*/
sal_uInt16 SwView::GetMailMergeRestartPage() const
{
return pViewImpl->GetMailMergeRestartPage();
}
-/*-- 03.09.2004 11:56:33---------------------------------------------------
- -----------------------------------------------------------------------*/
sal_Bool SwView::IsMailMergeSourceView() const
{
return pViewImpl->IsMailMergeSourceView();
}
-/*-- 12.04.2006 11:51:40---------------------------------------------------
- -----------------------------------------------------------------------*/
sal_Bool lcl_IsViewMarks( const SwViewOption& rVOpt )
{
return rVOpt.IsHardBlank() &&
diff --git a/sw/source/ui/uiview/view1.cxx b/sw/source/ui/uiview/view1.cxx
index 676010f..afa86d5 100644
--- a/sw/source/ui/uiview/view1.cxx
+++ b/sw/source/ui/uiview/view1.cxx
@@ -53,12 +53,6 @@
extern int bDocSzUpdated;
-
-/*--------------------------------------------------------------------
- Beschreibung:
- --------------------------------------------------------------------*/
-
-
void SwView::Activate(BOOL bMDIActivate)
{
// aktuelle View anmelden an der DocShell
@@ -129,11 +123,6 @@ void SwView::Activate(BOOL bMDIActivate)
SfxViewShell::Activate(bMDIActivate);
}
-/*--------------------------------------------------------------------
- Beschreibung:
- --------------------------------------------------------------------*/
-
-
void SwView::Deactivate(BOOL bMDIActivate)
{
extern BOOL bFlushCharBuffer ;
@@ -151,18 +140,11 @@ void SwView::Deactivate(BOOL bMDIActivate)
SfxViewShell::Deactivate(bMDIActivate);
}
-/*--------------------------------------------------------------------
- Beschreibung:
- --------------------------------------------------------------------*/
-
void SwView::MarginChanged()
{
GetWrtShell().SetBrowseBorder( GetMargin() );
}
-/*--------------------------------------------------------------------
- --------------------------------------------------------------------*/
-
void SwView::ExecFormatPaintbrush(SfxRequest& rReq)
{
if(!pFormatClipboard)
diff --git a/sw/source/ui/uiview/view2.cxx b/sw/source/ui/uiview/view2.cxx
index dbabf2b..9676c4d 100644
--- a/sw/source/ui/uiview/view2.cxx
+++ b/sw/source/ui/uiview/view2.cxx
@@ -158,7 +158,6 @@ using namespace ::com::sun::star::beans;
using namespace ::com::sun::star::container;
using namespace ::com::sun::star::ui::dialogs;
-
static void lcl_SetAllTextToDefaultLanguage( SwWrtShell &rWrtSh, USHORT nWhichId )
{
if (nWhichId == RES_CHRATR_LANGUAGE ||
@@ -187,7 +186,6 @@ static void lcl_SetAllTextToDefaultLanguage( SwWrtShell &rWrtSh, USHORT nWhichId
/*---------------------------------------------------------------------------
Beschreibung: String fuer die Seitenanzeige in der Statusbar basteln.
----------------------------------------------------------------------------*/
-
String SwView::GetPageStr( USHORT nPg, USHORT nLogPg,
const String& rDisplay )
{
@@ -208,7 +206,6 @@ String SwView::GetPageStr( USHORT nPg, USHORT nLogPg,
return aStr;
}
-
int SwView::InsertGraphic( const String &rPath, const String &rFilter,
BOOL bLink, GraphicFilter *pFlt,
Graphic* pPreviewGrf, BOOL bRule )
@@ -254,7 +251,6 @@ int SwView::InsertGraphic( const String &rPath, const String &rFilter,
return nRes;
}
-
BOOL SwView::InsertGraphicDlg( SfxRequest& rReq )
{
#ifndef ENABLE_PROP_WITHOUTLINK
@@ -487,7 +483,6 @@ BOOL SwView::InsertGraphicDlg( SfxRequest& rReq )
return bReturn;
}
-
void __EXPORT SwView::Execute(SfxRequest &rReq)
{
USHORT nSlot = rReq.GetSlot();
@@ -1169,7 +1164,6 @@ void __EXPORT SwView::Execute(SfxRequest &rReq)
/*--------------------------------------------------------------------
Beschreibung: SeitenNr-Feld invalidieren
--------------------------------------------------------------------*/
-
void SwView::UpdatePageNums(USHORT nPhyNum, USHORT nVirtNum, const String& rPgStr)
{
String sTemp(GetPageStr( nPhyNum, nVirtNum, rPgStr ));
@@ -1182,8 +1176,6 @@ void SwView::UpdatePageNums(USHORT nPhyNum, USHORT nVirtNum, const String&
rPgSt
/*--------------------------------------------------------------------
Beschreibung: Status der Stauszeile
--------------------------------------------------------------------*/
-
-
void SwView::StateStatusLine(SfxItemSet &rSet)
{
SwWrtShell& rShell = GetWrtShell();
@@ -1530,8 +1522,6 @@ void SwView::StateStatusLine(SfxItemSet &rSet)
/*--------------------------------------------------------------------
Beschreibung: Execute fuer die Stauszeile
--------------------------------------------------------------------*/
-
-
void SwView::ExecuteStatusLine(SfxRequest &rReq)
{
SwWrtShell &rSh = GetWrtShell();
@@ -1817,7 +1807,6 @@ void SwView::InsFrmMode(USHORT nCols)
/*--------------------------------------------------------------------
Beschreibung: Links bearbeiten
--------------------------------------------------------------------*/
-
void SwView::EditLinkDlg()
{
BOOL bWeb = 0 != PTR_CAST(SwWebView, this);
@@ -1959,7 +1948,6 @@ BOOL SwView::JumpToSwMark( const String& rMark )
// Undo "Insert form file" crashes with documents imported from binary filter (.sdw) => disabled
// Undo "Insert form file" crashes with (.odt) documents crashes if these documents contains
// page styles with active header/footer => disabled for those documents
-
sal_uInt16 lcl_PageDescWithHeader( const SwDoc& rDoc )
{
sal_uInt16 nRet = 0;
@@ -1981,7 +1969,6 @@ sal_uInt16 lcl_PageDescWithHeader( const SwDoc& rDoc )
/*--------------------------------------------------------------------
Beschreibung: Links bearbeiten
--------------------------------------------------------------------*/
-
void SwView::ExecuteInsertDoc( SfxRequest& rRequest, const SfxPoolItem* pItem )
{
pViewImpl->InitRequest( rRequest );
@@ -2188,9 +2175,7 @@ extern int lcl_FindDocShell( SfxObjectShellRef& xDocSh,
delete pMedium;
return nFound;
}
-/* -----------------05.02.2003 12:06-----------------
- *
- * --------------------------------------------------*/
+
void SwView::EnableMailMerge(BOOL bEnable )
{
bInMailMerge = bEnable;
@@ -2198,8 +2183,7 @@ void SwView::EnableMailMerge(BOOL bEnable )
rBind.Invalidate(FN_INSERT_FIELD_DATA_ONLY);
rBind.Update(FN_INSERT_FIELD_DATA_ONLY);
}
-/*
-*/
+
namespace
{
sal_Bool lcl_NeedAdditionalDataSource( const uno::Reference< XNameAccess >&
_rDatasourceContext )
@@ -2214,10 +2198,6 @@ namespace
}
}
-/* -----------------27.11.2002 12:12-----------------
- *
- * --------------------------------------------------*/
-
class SwMergeSourceWarningBox_Impl : public ModalDialog
{
FixedInfo aMessageFI;
@@ -2264,9 +2244,6 @@ class SwMergeSourceWarningBox_Impl : public ModalDialog
void SetMessText( const String& rText ) { aMessageFI.SetText( rText ); }
};
-
-
-
void SwView::GenerateFormLetter(BOOL bUseCurrentDocument)
{
if(bUseCurrentDocument)
diff --git a/sw/source/ui/uiview/viewdraw.cxx b/sw/source/ui/uiview/viewdraw.cxx
index 49889a3..602f1a0 100644
--- a/sw/source/ui/uiview/viewdraw.cxx
+++ b/sw/source/ui/uiview/viewdraw.cxx
@@ -82,10 +82,10 @@
#include <vcl/svapp.hxx>
using namespace ::com::sun::star;
+
/*--------------------------------------------------------------------
Beschreibung: Drawing-Ids ausfuehren
--------------------------------------------------------------------*/
-
void SwView::ExecDraw(SfxRequest& rReq)
{
const SfxItemSet *pArgs = rReq.GetArgs();
@@ -410,9 +410,6 @@ void SwView::ExecDraw(SfxRequest& rReq)
/*--------------------------------------------------------------------
Beschreibung: Drawing beenden
--------------------------------------------------------------------*/
-
-
-
void SwView::ExitDraw()
{
NoRotate();
@@ -464,9 +461,6 @@ void SwView::ExitDraw()
/*--------------------------------------------------------------------
Beschreibung: Rotate-Mode abschalten
--------------------------------------------------------------------*/
-
-
-
void SwView::NoRotate()
{
if (IsDrawRotate())
@@ -482,7 +476,6 @@ void SwView::NoRotate()
/******************************************************************************
* Beschreibung: DrawTextEditMode einschalten
******************************************************************************/
-
sal_Bool SwView::EnterDrawTextMode(const Point& aDocPos)
{
SdrObject* pObj;
@@ -621,9 +614,6 @@ sal_Bool SwView::BeginTextEdit(SdrObject* pObj, SdrPageView* pPV, Window* pWin,
/******************************************************************************
* Beschreibung: Ist ein DrawTextObjekt selektiert?
******************************************************************************/
-
-
-
sal_Bool SwView::IsTextTool() const
{
sal_uInt16 nId;
@@ -638,32 +628,16 @@ sal_Bool SwView::IsTextTool() const
return (nInvent==SdrInventor);
}
-/*--------------------------------------------------------------------
- Beschreibung:
- --------------------------------------------------------------------*/
-
-
-
SdrView* SwView::GetDrawView() const
{
return GetWrtShell().GetDrawView();
}
-/*--------------------------------------------------------------------
- Beschreibung:
- --------------------------------------------------------------------*/
-
-
-
sal_Bool SwView::IsBezierEditMode()
{
return (!IsDrawSelMode() && GetWrtShell().GetDrawView()->HasMarkablePoints());
}
-/*--------------------------------------------------------------------
- Beschreibung:
- --------------------------------------------------------------------*/
-
sal_Bool SwView::IsFormMode() const
{
if (GetDrawFuncPtr() && GetDrawFuncPtr()->IsCreateObj())
@@ -674,12 +648,6 @@ sal_Bool SwView::IsFormMode() const
return AreOnlyFormsSelected();
}
-/*--------------------------------------------------------------------
- Beschreibung:
- --------------------------------------------------------------------*/
-
-
-
void SwView::SetDrawFuncPtr(SwDrawBase* pFuncPtr)
{
if (pDrawActual)
@@ -687,20 +655,12 @@ void SwView::SetDrawFuncPtr(SwDrawBase* pFuncPtr)
pDrawActual = pFuncPtr;
}
-/*--------------------------------------------------------------------
- Beschreibung:
- --------------------------------------------------------------------*/
-
void SwView::SetSelDrawSlot()
{
nDrawSfxId = SID_OBJECT_SELECT;
sDrawCustom.Erase();
}
-/*--------------------------------------------------------------------
- Beschreibung:
- --------------------------------------------------------------------*/
-
sal_Bool SwView::AreOnlyFormsSelected() const
{
if ( GetWrtShell().IsFrmSelected() )
@@ -733,10 +693,6 @@ sal_Bool SwView::AreOnlyFormsSelected() const
return bForm;
}
-/*--------------------------------------------------------------------
- Beschreibung:
- --------------------------------------------------------------------*/
-
sal_Bool SwView::HasDrwObj(SdrObject *pSdrObj) const
{
sal_Bool bRet = sal_False;
@@ -756,10 +712,6 @@ sal_Bool SwView::HasDrwObj(SdrObject *pSdrObj) const
return bRet;
}
-/*--------------------------------------------------------------------
- Beschreibung:
- --------------------------------------------------------------------*/
-
sal_Bool SwView::HasOnlyObj(SdrObject *pSdrObj, sal_uInt32 eObjInventor) const
{
sal_Bool bRet = sal_False;
@@ -779,7 +731,6 @@ sal_Bool SwView::HasOnlyObj(SdrObject *pSdrObj, sal_uInt32 eObjInventor) const
return bRet;
}
-
//#i87414# mod
IMPL_LINK(SwView, OnlineSpellCallback, SpellCallbackInfo*, pInfo)
{
@@ -788,9 +739,6 @@ IMPL_LINK(SwView, OnlineSpellCallback, SpellCallbackInfo*, pInfo)
return 0;
}
-/*--------------------------------------------------------------------
- Beschreibung:
- --------------------------------------------------------------------*/
sal_Bool SwView::ExecDrwTxtSpellPopup(const Point& rPt)
{
sal_Bool bRet = sal_False;
@@ -807,12 +755,6 @@ sal_Bool SwView::ExecDrwTxtSpellPopup(const Point& rPt)
return bRet;
}
-/*--------------------------------------------------------------------
- Beschreibung:
- --------------------------------------------------------------------*/
-
-
-
sal_Bool SwView::IsDrawTextHyphenate()
{
SdrView *pSdrView = pWrtShell->GetDrawView();
@@ -828,12 +770,6 @@ sal_Bool SwView::IsDrawTextHyphenate()
return bHyphenate;
}
-/*--------------------------------------------------------------------
- Beschreibung:
- --------------------------------------------------------------------*/
-
-
-
void SwView::HyphenateDrawText()
{
SdrView *pSdrView = pWrtShell->GetDrawView();
@@ -844,6 +780,3 @@ void SwView::HyphenateDrawText()
pSdrView->SetAttributes( aSet );
GetViewFrame()->GetBindings().Invalidate(FN_HYPHENATE_OPT_DLG);
}
-
-
-
diff --git a/sw/source/ui/uiview/viewling.cxx b/sw/source/ui/uiview/viewling.cxx
index 25daf56..11e2b2f 100644
--- a/sw/source/ui/uiview/viewling.cxx
+++ b/sw/source/ui/uiview/viewling.cxx
@@ -114,8 +114,6 @@ using namespace ::com::sun::star::smarttags;
/*--------------------------------------------------------------------
Beschreibung: Lingu-Dispatcher
--------------------------------------------------------------------*/
-
-
void SwView::ExecLingu(SfxRequest &rReq)
{
switch(rReq.GetSlot())
@@ -241,7 +239,6 @@ void SwView::ExecLingu(SfxRequest &rReq)
/*--------------------------------------------------------------------
Description: start language specific text conversion
--------------------------------------------------------------------*/
-
void SwView::StartTextConversion(
LanguageType nSourceLang,
LanguageType nTargetLang,
@@ -287,7 +284,6 @@ void SwView::StartTextConversion(
/*--------------------------------------------------------------------
spellcheck and text conversion related stuff
--------------------------------------------------------------------*/
-
void SwView::SpellStart( SvxSpellArea eWhich,
sal_Bool bStartDone, sal_Bool bEndDone,
SwConversionArgs *pConvArgs )
@@ -350,8 +346,6 @@ void SwView::SpellStart( SvxSpellArea eWhich,
/*--------------------------------------------------------------------
Beschreibung: Fehlermeldung beim Spelling
--------------------------------------------------------------------*/
-
-
// Der uebergebene Pointer nLang ist selbst der Wert
IMPL_LINK( SwView, SpellError, LanguageType *, pLang )
{
@@ -415,8 +409,6 @@ IMPL_LINK( SwView, SpellError, LanguageType *, pLang )
/*--------------------------------------------------------------------
Beschreibung: Spelling beenden und Cursor wiederherstellen
--------------------------------------------------------------------*/
-
-
void SwView::SpellEnd( SwConversionArgs *pConvArgs )
{
pWrtShell->SpellEnd( pConvArgs );
@@ -424,7 +416,6 @@ void SwView::SpellEnd( SwConversionArgs *pConvArgs )
pWrtShell->SetMark();
}
-
void SwView::HyphStart( SvxSpellArea eWhich )
{
switch ( eWhich )
@@ -449,8 +440,6 @@ void SwView::HyphStart( SvxSpellArea eWhich )
/*--------------------------------------------------------------------
Beschreibung: Interaktive Trennung
--------------------------------------------------------------------*/
-
-
void SwView::HyphenateDocument()
{
// do not hyphenate if interactive hyphenationg is active elsewhere
@@ -523,9 +512,6 @@ void SwView::HyphenateDocument()
}
}
-/*--------------------------------------------------------------------
- --------------------------------------------------------------------*/
-
bool SwView::IsValidSelectionForThesaurus() const
{
// must not be a multi-selection, and if it is a selection it needs
@@ -536,13 +522,11 @@ bool SwView::IsValidSelectionForThesaurus() const
return !bMultiSel && (!bSelection || pWrtShell->IsSelOnePara() );
}
-
String SwView::GetThesaurusLookUpText( bool bSelection ) const
{
return bSelection ? pWrtShell->GetSelTxt() : pWrtShell->GetCurWord();
}
-
void SwView::InsertThesaurusSynonym( const String &rSynonmText, const String &rLookUpText, bool
bSelection )
{
sal_Bool bOldIns = pWrtShell->IsInsMode();
@@ -586,12 +570,9 @@ void SwView::InsertThesaurusSynonym( const String &rSynonmText, const String
&rL
pWrtShell->SetInsMode( bOldIns );
}
-
/*--------------------------------------------------------------------
Beschreibung: Thesaurus starten
--------------------------------------------------------------------*/
-
-
void SwView::StartThesaurus()
{
if (!IsValidSelectionForThesaurus())
@@ -648,7 +629,6 @@ void SwView::StartThesaurus()
/*--------------------------------------------------------------------
Beschreibung: Online-Vorschlaege anbieten
*--------------------------------------------------------------------*/
-
//!! Start of extra code for context menu modifying extensions
struct ExecuteInfo
{
@@ -833,7 +813,6 @@ sal_Bool SwView::ExecSpellPopup(const Point& rPt)
This function shows the popup menu for smarttag
actions.
*/
-
sal_Bool SwView::ExecSmartTagPopup( const Point& rPt )
{
sal_Bool bRet = sal_False;
@@ -864,8 +843,6 @@ sal_Bool SwView::ExecSmartTagPopup( const Point& rPt )
return bRet;
}
-
-
class SwFieldPopup : public PopupMenu
{
public:
@@ -977,7 +954,6 @@ IMPL_LINK( SwFieldDialog, MyListBoxHandler, ListBox *, pBox )
}
}
-
BOOL SwView::ExecFieldPopup( const Point& rPt, IFieldmark *fieldBM )
{
sal_Bool bRet = sal_False;
@@ -1002,4 +978,3 @@ BOOL SwView::ExecFieldPopup( const Point& rPt, IFieldmark *fieldBM )
return bRet;
}
-
diff --git a/sw/source/ui/uiview/viewmdi.cxx b/sw/source/ui/uiview/viewmdi.cxx
index 9c4603e..37fbfc1 100644
--- a/sw/source/ui/uiview/viewmdi.cxx
+++ b/sw/source/ui/uiview/viewmdi.cxx
@@ -289,7 +289,6 @@ void SwView::SetViewLayout( USHORT nColumns, bool bBookMode, BOOL bViewOnly )
/*
* Scrollbar - Handler
*/
-
IMPL_LINK( SwView, WindowChildEventListener, VclSimpleEvent*, pEvent )
{
DBG_ASSERT( pEvent && pEvent->ISA( VclWindowEvent ), "Unknown WindowEvent!" );
@@ -389,9 +388,7 @@ IMPL_LINK( SwView, BtnPage, Button *, pButton )
Application::PostUserEvent( STATIC_LINK(this, SwView, MoveNavigationHdl), pbNext );
return 0;
}
-/*-----------------20.06.97 10:46-------------------
---------------------------------------------------*/
IMPL_STATIC_LINK( SwView, MoveNavigationHdl, bool *, pbNext )
{
if ( !pbNext )
@@ -541,16 +538,6 @@ IMPL_STATIC_LINK( SwView, MoveNavigationHdl, bool *, pbNext )
return 0;
}
-/*************************************************************************
-|*
-|* SwView::CreateTab()
-|*
-|* Beschreibung
-|* Ersterstellung VB 29.05.91
-|* Letzte Aenderung OS 09.05.96
-|*
-*************************************************************************/
-
int SwView::CreateTab()
{
pHRuler->SetActive(GetFrame() && IsActive());
@@ -560,16 +547,6 @@ int SwView::CreateTab()
return 1;
}
-/*************************************************************************
-|*
-|* SwView::KillTab()
-|*
-|* Beschreibung
-|* Ersterstellung VB 29.05.91
-|* Letzte Aenderung OS 09.05.96
-|*
-*************************************************************************/
-
int SwView::KillTab()
{
pHRuler->Hide();
@@ -594,28 +571,16 @@ void SwView::ChangeVLinealMetric( FieldUnit eUnit )
pVRuler->Invalidate();
}
}
-/* -----------------------------07.04.01 17:09--------------------------------
- ---------------------------------------------------------------------------*/
void SwView::GetVLinealMetric(FieldUnit& eToFill) const
{
eToFill = pVRuler->GetUnit();
}
-/* -----------------------------07.04.01 17:09--------------------------------
- ---------------------------------------------------------------------------*/
void SwView::GetHLinealMetric(FieldUnit& eToFill) const
{
eToFill = pHRuler->GetUnit();
}
-/*************************************************************************
-|*
-|* SwView::CreateVLineal()
-|*
-|* Beschreibung
-|* Ersterstellung VB 29.05.91
-|*
-*************************************************************************/
int SwView::CreateVLineal()
{
@@ -627,15 +592,6 @@ int SwView::CreateVLineal()
return 1;
}
-/*************************************************************************
-|*
-|* SwView::KillVLineal()
-|*
-|* Beschreibung
-|* Ersterstellung VB 29.05.91
-|*
-*************************************************************************/
-
int SwView::KillVLineal()
{
pVRuler->Hide();
@@ -643,15 +599,6 @@ int SwView::KillVLineal()
InvalidateBorder();
return 1;
}
-/*************************************************************************
-|*
-|* SwView::ExecRulerClick()
-|*
-|* Beschreibung
-|* Ersterstellung OS 15.06.95
-|* Letzte Aenderung
-|*
-*************************************************************************/
IMPL_LINK( SwView, ExecRulerClick, Ruler *, pRuler )
{
@@ -677,18 +624,10 @@ IMPL_LINK( SwView, ExecRulerClick, Ruler *, pRuler )
return 0;
}
-
-/*-----------------20.02.97 09:11-------------------
-
---------------------------------------------------*/
-
USHORT SwView::GetMoveType()
{
return nMoveType;
}
-/*-----------------20.02.97 09:11-------------------
-
---------------------------------------------------*/
void SwView::SetMoveType(USHORT nSet)
{
@@ -708,18 +647,11 @@ void SwView::SetMoveType(USHORT nSet)
}
}
-/*-----------------20.06.97 11:18-------------------
-
---------------------------------------------------*/
void SwView::SetActMark(sal_Int32 nSet)
{
nActMark = nSet;
}
-/*-----------------15.03.97 10:53-------------------
-
---------------------------------------------------*/
-
void SwView::SetImageButtonColor(Color& rColor)
{
if(pPageUpBtn)
@@ -728,25 +660,19 @@ void SwView::SetImageButtonColor(Color& rColor)
pPageDownBtn->SetControlForeground(rColor);
}
}
-/* -----------------------------2002/06/26 13:57------------------------------
- ---------------------------------------------------------------------------*/
void SwView::ShowHScrollbar(sal_Bool bShow)
{
DBG_ASSERT(pHScrollbar, "Scrollbar invalid");
pHScrollbar->ExtendedShow(bShow);
}
-/* -----------------------------2002/06/26 13:57------------------------------
- ---------------------------------------------------------------------------*/
sal_Bool SwView::IsHScrollbarVisible()const
{
DBG_ASSERT(pHScrollbar, "Scrollbar invalid");
return pHScrollbar->IsVisible( FALSE ) || pHScrollbar->IsAuto();
}
-/* -----------------------------2002/06/26 13:57------------------------------
- ---------------------------------------------------------------------------*/
void SwView::ShowVScrollbar(sal_Bool bShow)
{
DBG_ASSERT(pVScrollbar, "Scrollbar invalid");
@@ -755,9 +681,7 @@ void SwView::ShowVScrollbar(sal_Bool bShow)
pPageDownBtn->Show(bShow);
pNaviBtn->Show(bShow);
}
-/* -----------------------------2002/06/26 13:57------------------------------
- ---------------------------------------------------------------------------*/
sal_Bool SwView::IsVScrollbarVisible()const
{
DBG_ASSERT(pVScrollbar, "Scrollbar invalid");
diff --git a/sw/source/ui/uiview/viewport.cxx b/sw/source/ui/uiview/viewport.cxx
index fc4ff8a..0b6d937 100644
--- a/sw/source/ui/uiview/viewport.cxx
+++ b/sw/source/ui/uiview/viewport.cxx
@@ -80,8 +80,6 @@ inline long GetLeftMargin( SwView &rView )
lRet + DOCUMENTBORDER + nLeftOfst;
}
-//-------------------------------------------------------------------------
-
void lcl_GetPos(SwView* pView,
Point& rPos,
SwScrollbar* pScrollbar,
@@ -116,7 +114,6 @@ void lcl_GetPos(SwView* pView,
/*--------------------------------------------------------------------
Beschreibung: Nullpunkt Lineal setzen
--------------------------------------------------------------------*/
-
void SwView::InvalidateRulerPos()
{
static USHORT __READONLY_DATA aInval[] =
@@ -142,7 +139,6 @@ void SwView::InvalidateRulerPos()
viertel Bildschirm bis vor das Ende des Dokumentes
gescrollt werden kann.
--------------------------------------------------------------------*/
-
long SwView::SetHScrollMax( long lMax )
{
const long lBorder = IsDocumentBorder() ? DOCUMENTBORDER : DOCUMENTBORDER * 2;
@@ -153,7 +149,6 @@ long SwView::SetHScrollMax( long lMax )
return Max( Min( lMax, lSize ), 0L );
}
-
long SwView::SetVScrollMax( long lMax )
{
const long lBorder = IsDocumentBorder() ? DOCUMENTBORDER : DOCUMENTBORDER * 2;
@@ -161,7 +156,6 @@ long SwView::SetVScrollMax( long lMax )
return Max( Min( lMax, lSize), 0L ); // siehe horz.
}
-
Point SwView::AlignToPixel(const Point &rPt) const
{
return GetEditWin().PixelToLogic( GetEditWin().LogicToPixel( rPt ) );
@@ -170,7 +164,6 @@ Point SwView::AlignToPixel(const Point &rPt) const
/*--------------------------------------------------------------------
Beschreibung: Dokumentgroesse hat sich geaendert
--------------------------------------------------------------------*/
-
void SwView::DocSzChgd(const Size &rSz)
{
@@ -221,7 +214,6 @@ aDocSz = rSz;
/*--------------------------------------------------------------------
Beschreibung: Visarea neu setzen
--------------------------------------------------------------------*/
-
void SwView::SetVisArea( const Rectangle &rRect, BOOL bUpdateScrollbar )
{
const Size aOldSz( aVisArea.GetSize() );
@@ -315,7 +307,6 @@ void SwView::SetVisArea( const Rectangle &rRect, BOOL bUpdateScrollbar )
/*--------------------------------------------------------------------
Beschreibung: Pos VisArea setzen
--------------------------------------------------------------------*/
-
void SwView::SetVisArea( const Point &rPt, BOOL bUpdateScrollbar )
{
//einmal alignen, damit Brushes korrekt angesetzt werden.
@@ -343,7 +334,6 @@ void SwView::SetVisArea( const Point &rPt, BOOL bUpdateScrollbar )
bUpdateScrollbar);
}
-
void SwView::CheckVisArea()
{
pHScrollbar->SetAuto(
pWrtShell->getIDocumentSettingAccess()->get(IDocumentSettingAccess::BROWSE_MODE) &&
@@ -371,7 +361,6 @@ void SwView::CheckVisArea()
USHORT nRange optional exakte Angabe des Bereiches,
um den ggfs. gescrollt werden soll
--------------------------------------------------------------------*/
-
void SwView::CalcPt( Point *pPt, const Rectangle &rRect,
USHORT nRangeX, USHORT nRangeY)
{
@@ -419,13 +408,11 @@ void SwView::CalcPt( Point *pPt, const Rectangle &rRect,
/*--------------------------------------------------------------------
Beschreibung: Scrolling
--------------------------------------------------------------------*/
-
BOOL SwView::IsScroll( const Rectangle &rRect ) const
{
return bCenterCrsr || bTopCrsr || !aVisArea.IsInside(rRect);
}
-
void SwView::Scroll( const Rectangle &rRect, USHORT nRangeX, USHORT nRangeY )
{
if ( aVisArea.IsEmpty() )
@@ -552,7 +539,6 @@ void SwView::Scroll( const Rectangle &rRect, USHORT nRangeX, USHORT nRangeY )
Beschreibung: Seitenweises Scrollen
Liefern den Wert, um den bei PageUp / -Down gescrollt werden soll
--------------------------------------------------------------------*/
-
BOOL SwView::GetPageScrollUpOffset( SwTwips &rOff ) const
{
if ( !aVisArea.Top() || !aVisArea.GetHeight() )
@@ -567,7 +553,6 @@ BOOL SwView::GetPageScrollUpOffset( SwTwips &rOff ) const
return TRUE;
}
-
BOOL SwView::GetPageScrollDownOffset( SwTwips &rOff ) const
{
if ( !aVisArea.GetHeight() ||
@@ -585,7 +570,6 @@ BOOL SwView::GetPageScrollDownOffset( SwTwips &rOff ) const
}
// Seitenweises Blaettern
-
long SwView::PageUp()
{
if (!aVisArea.GetHeight())
@@ -598,7 +582,6 @@ long SwView::PageUp()
return 1;
}
-
long SwView::PageDown()
{
if ( !aVisArea.GetHeight() )
@@ -610,7 +593,6 @@ long SwView::PageDown()
return 1;
}
-
long SwView::PhyPageUp()
{
//aktuell sichtbare Seite erfragen, nicht formatieren
@@ -631,7 +613,6 @@ long SwView::PhyPageUp()
return 1;
}
-
long SwView::PhyPageDown()
{
//aktuell sichtbare Seite erfragen, nicht formatieren
@@ -651,7 +632,6 @@ long SwView::PhyPageDown()
return 1;
}
-
long SwView::PageUpCrsr( BOOL bSelect )
{
if ( !bSelect )
@@ -678,7 +658,6 @@ long SwView::PageUpCrsr( BOOL bSelect )
return FALSE;
}
-
long SwView::PageDownCrsr(BOOL bSelect)
{
SwTwips lOff = 0;
@@ -696,7 +675,6 @@ long SwView::PageDownCrsr(BOOL bSelect)
/*------------------------------------------------------------------------
Beschreibung: Handler der Scrollbars
------------------------------------------------------------------------*/
-
IMPL_LINK( SwView, ScrollHdl, SwScrollbar *, pScrollbar )
{
if ( GetWrtShell().ActionPend() )
@@ -767,10 +745,10 @@ IMPL_LINK( SwView, ScrollHdl, SwScrollbar *, pScrollbar )
return 0;
}
+
/*------------------------------------------------------------------------
Beschreibung: Handler der Scrollbars
------------------------------------------------------------------------*/
-
IMPL_LINK( SwView, EndScrollHdl, SwScrollbar *, pScrollbar )
{
if ( !GetWrtShell().ActionPend() )
@@ -795,12 +773,9 @@ IMPL_LINK( SwView, EndScrollHdl, SwScrollbar *, pScrollbar )
/*--------------------------------------------------------------------
Beschreibung:
-
berechnet die Groesse von aVisArea abhaengig von der Groesse
des EditWin auf dem Schirm.
-
--------------------------------------------------------------------*/
-
void SwView::CalcVisArea( const Size &rOutPixel )
{
Point aTopLeft;
@@ -844,8 +819,6 @@ void SwView::CalcVisArea( const Size &rOutPixel )
/*--------------------------------------------------------------------
Beschreibung: Bedienelemente neu anordnen
--------------------------------------------------------------------*/
-
-
void SwView::CalcAndSetBorderPixel( SvBorder &rToFill, BOOL /*bInner*/ )
{
BOOL bRightVRuler = pWrtShell->GetViewOptions()->IsVRulerRight();
@@ -879,7 +852,6 @@ void SwView::CalcAndSetBorderPixel( SvBorder &rToFill, BOOL /*bInner*/ )
SetBorderPixel( rToFill );
}
-
void ViewResizePixel( const Window &rRef,
const Point &rOfst,
const Size &rSize,
@@ -1013,7 +985,6 @@ void ViewResizePixel( const Window &rRef,
}
}
-
void SwView::ShowAtResize()
{
bShowAtResize = FALSE;
@@ -1021,7 +992,6 @@ void SwView::ShowAtResize()
pHRuler->Show();
}
-
void SwView::InnerResizePixel( const Point &rOfst, const Size &rSize )
{
Size aObjSize = GetObjectShell()->GetVisArea().GetSize();
@@ -1104,7 +1074,6 @@ void SwView::InnerResizePixel( const Point &rOfst, const Size &rSize )
bInInnerResizePixel = FALSE;
}
-
void SwView::OuterResizePixel( const Point &rOfst, const Size &rSize )
{
// FME 22.08.2003 #i16909# - return, if no size (caused by minimize window).
@@ -1252,7 +1221,6 @@ void SwView::OuterResizePixel( const Point &rOfst, const Size &rSize )
}
}
-
void SwView::SetZoomFactor( const Fraction &rX, const Fraction &rY )
{
const Fraction &rFrac = rX < rY ? rX : rY;
@@ -1263,7 +1231,6 @@ void SwView::SetZoomFactor( const Fraction &rX, const Fraction &rY )
SfxViewShell::SetZoomFactor( rX, rY );
}
-
Size SwView::GetOptimalSizePixel() const
{
Size aPgSize;
@@ -1285,7 +1252,6 @@ Size SwView::GetOptimalSizePixel() const
return GetEditWin().LogicToPixel( aPgSize );
}
-
BOOL SwView::UpdateScrollbars()
{
BOOL bRet = FALSE;
@@ -1334,7 +1300,6 @@ BOOL SwView::UpdateScrollbars()
return bRet;
}
-
void SwView::Move()
{
if ( GetWrtShell().IsInSelect() )
@@ -1373,5 +1338,3 @@ BOOL SwView::HandleWheelCommands( const CommandEvent& rCEvt )
}
return bOk;
}
-
-
diff --git a/sw/source/ui/uiview/viewprt.cxx b/sw/source/ui/uiview/viewprt.cxx
index 2158d16..6006c82 100644
--- a/sw/source/ui/uiview/viewprt.cxx
+++ b/sw/source/ui/uiview/viewprt.cxx
@@ -91,12 +91,9 @@
using namespace ::com::sun::star;
-
/*--------------------------------------------------------------------
Beschreibung: Drucker an Sfx uebergeben
--------------------------------------------------------------------*/
-
-
SfxPrinter* __EXPORT SwView::GetPrinter( BOOL bCreate )
{
const IDocumentDeviceAccess* pIDDA = GetWrtShell().getIDocumentDeviceAccess();
@@ -113,7 +110,6 @@ SfxPrinter* __EXPORT SwView::GetPrinter( BOOL bCreate )
/*--------------------------------------------------------------------
Beschreibung: Druckerwechsel weitermelden
--------------------------------------------------------------------*/
-
void SetPrinter( IDocumentDeviceAccess* pIDDA, SfxPrinter* pNew, BOOL bWeb )
{
SwPrintOptions* pOpt = SW_MOD()->GetPrtOptions(bWeb);
@@ -134,7 +130,6 @@ void SetPrinter( IDocumentDeviceAccess* pIDDA, SfxPrinter* pNew, BOOL bWeb )
}
}
-
USHORT __EXPORT SwView::SetPrinter(SfxPrinter* pNew, USHORT nDiffFlags, bool )
{
SwWrtShell &rSh = GetWrtShell();
@@ -174,7 +169,6 @@ USHORT __EXPORT SwView::SetPrinter(SfxPrinter* pNew, USHORT nDiffFlags, bool )
/*--------------------------------------------------------------------
Beschreibung: TabPage fuer applikationsspezifische Druckoptionen
--------------------------------------------------------------------*/
-
SfxTabPage* __EXPORT SwView::CreatePrintOptionsPage(Window* pParent,
const SfxItemSet& rSet)
{
@@ -184,7 +178,6 @@ SfxTabPage* __EXPORT SwView::CreatePrintOptionsPage(Window* pParent,
/*--------------------------------------------------------------------
Beschreibung: Druckerdialog
--------------------------------------------------------------------*/
-
PrintDialog* CreatePrintDialog( Window* pParent, USHORT nPg, SwWrtShell* pSh )
{
PrintDialog *pDlg = new PrintDialog( pParent, false );
@@ -205,10 +198,6 @@ PrintDialog* CreatePrintDialog( Window* pParent, USHORT nPg, SwWrtShell* pSh )
return pDlg;
}
-/*--------------------------------------------------------------------
- Beschreibung:
- --------------------------------------------------------------------*/
-
PrintDialog* __EXPORT SwView::CreatePrintDialog( Window* pParent )
{
// AMA: Hier sollte vielleicht die virtuelle Seitennummer angezeigt werden,
@@ -220,7 +209,6 @@ PrintDialog* __EXPORT SwView::CreatePrintDialog( Window* pParent )
/*--------------------------------------------------------------------
Beschreibung: Print-Dispatcher
--------------------------------------------------------------------*/
-
void __EXPORT SwView::ExecutePrint(SfxRequest& rReq)
{
BOOL bWeb = 0 != PTR_CAST(SwWebView, this);
@@ -315,7 +303,6 @@ void __EXPORT SwView::ExecutePrint(SfxRequest& rReq)
Beschreibung: Page Drucker/Zusaetze erzeugen fuer SwView und
SwPagePreview
--------------------------------------------------------------------*/
-
SfxTabPage* CreatePrintOptionsPage( Window *pParent,
const SfxItemSet &rOptions, BOOL bPreview )
{
@@ -339,7 +326,6 @@ SfxTabPage* CreatePrintOptionsPage( Window *pParent,
return pPage;
}
-
void SetAppPrintOptions( ViewShell* pSh, BOOL bWeb )
{
SwPrintData aPrtData = *SW_MOD()->GetPrtOptions(bWeb);
diff --git a/sw/source/ui/uiview/viewstat.cxx b/sw/source/ui/uiview/viewstat.cxx
index 118c025..1d96ac9 100644
--- a/sw/source/ui/uiview/viewstat.cxx
+++ b/sw/source/ui/uiview/viewstat.cxx
@@ -68,10 +68,6 @@
using namespace ::com::sun::star;
-/*--------------------------------------------------------------------
- Beschreibung:
- --------------------------------------------------------------------*/
-
void SwView::GetState(SfxItemSet &rSet)
{
SfxWhichIter aIter(rSet);
@@ -435,11 +431,6 @@ void SwView::GetState(SfxItemSet &rSet)
}
}
-
-/*--------------------------------------------------------------------
- Beschreibung:
- --------------------------------------------------------------------*/
-
void SwView::GetDrawState(SfxItemSet &rSet)
{
SfxWhichIter aIter(rSet);
@@ -505,10 +496,6 @@ void SwView::GetDrawState(SfxItemSet &rSet)
}
}
-/*--------------------------------------------------------------------
- Beschreibung:
- --------------------------------------------------------------------*/
-
sal_Bool SwView::HasUIFeature( sal_uInt32 nFeature )
{
sal_Bool bRet = sal_False;
@@ -519,4 +506,3 @@ sal_Bool SwView::HasUIFeature( sal_uInt32 nFeature )
}
return bRet;
}
-
diff --git a/sw/source/ui/uiview/viewtab.cxx b/sw/source/ui/uiview/viewtab.cxx
index 132d27f..a87956a 100644
--- a/sw/source/ui/uiview/viewtab.cxx
+++ b/sw/source/ui/uiview/viewtab.cxx
@@ -79,12 +79,9 @@ using namespace ::com::sun::star;
Beschreibung: Debug-Methode
--------------------------------------------------------------------*/
-
/*--------------------------------------------------------------------
Beschreibung: Columns eintueten
--------------------------------------------------------------------*/
-
-
void lcl_FillSvxColumn(const SwFmtCol& rCol,
USHORT nTotalWidth,
SvxColumnItem& rColItem,
@@ -126,8 +123,6 @@ void lcl_FillSvxColumn(const SwFmtCol& rCol,
/*--------------------------------------------------------------------
Beschreibung: ColumnItem in ColumnInfo ueberfuehren
--------------------------------------------------------------------*/
-
-
void lcl_ConvertToCols(const SvxColumnItem& rColItem,
USHORT nTotalWidth,
SwFmtCol& rCols)
@@ -178,8 +173,6 @@ void lcl_ConvertToCols(const SvxColumnItem& rColItem,
/*--------------------------------------------------------------------
Beschreibung: Tabs loeschen
--------------------------------------------------------------------*/
-
-
void lcl_EraseDefTabs(SvxTabStopItem& rTabStops)
{
// Def Tabs loeschen
@@ -199,8 +192,6 @@ void lcl_EraseDefTabs(SvxTabStopItem& rTabStops)
/*--------------------------------------------------------------------
Beschreibung: Seitenrand umdrehen
--------------------------------------------------------------------*/
-
-
void SwView::SwapPageMargin(const SwPageDesc& rDesc, SvxLRSpaceItem& rLRSpace)
{
USHORT nPhyPage, nVirPage;
@@ -218,8 +209,6 @@ void SwView::SwapPageMargin(const SwPageDesc& rDesc, SvxLRSpaceItem& rLRSpace)
Beschreibung: Wenn der Rahmenrand verschoben wird, sollen die
Spaltentrenner an der gleichen absoluten Position bleiben
--------------------------------------------------------------------*/
-
-
void lcl_Scale(long& nVal, long nScale)
{
nVal *= nScale;
@@ -264,12 +253,11 @@ void ResizeFrameCols(SwFmtCol& rCol,
//reset auto width
rCol.SetOrtho(FALSE, 0, 0 );
}
+
/*--------------------------------------------------------------------
Beschreibung: Hier werden alle Aenderungen der Tableiste
wieder in das Modell geschossen
--------------------------------------------------------------------*/
-
-
void SwView::ExecTabWin( SfxRequest& rReq )
{
SwWrtShell &rSh = GetWrtShell();
@@ -902,8 +890,6 @@ void SwView::ExecTabWin( SfxRequest& rReq )
sprich alle relevanten Attribute an der CursorPos
werden der Tableiste uebermittelt
--------------------------------------------------------------------*/
-
-
void SwView::StateTabWin(SfxItemSet& rSet)
{
SwWrtShell &rSh = GetWrtShell();
@@ -1845,5 +1831,3 @@ void SwView::StateTabWin(SfxItemSet& rSet)
rSet.Put(aProtect);
}
}
-
-
Context
Privacy Policy |
Impressum (Legal Info) |
Copyright information: Unless otherwise specified, all text and images
on this website are licensed under the
Creative Commons Attribution-Share Alike 3.0 License.
This does not include the source code of LibreOffice, which is
licensed under the Mozilla Public License (
MPLv2).
"LibreOffice" and "The Document Foundation" are
registered trademarks of their corresponding registered owners or are
in actual use as trademarks in one or more countries. Their respective
logos and icons are also subject to international copyright laws. Use
thereof is explained in our
trademark policy.