1 /*************************************************************************
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5 * Copyright 2008 by Sun Microsystems, Inc.
7 * OpenOffice.org - a multi-platform office productivity suite
9 * $RCSfile: mdiexp.hxx,v $
12 * This file is part of OpenOffice.org.
14 * OpenOffice.org is free software: you can redistribute it and/or modify
15 * it under the terms of the GNU Lesser General Public License version 3
16 * only, as published by the Free Software Foundation.
18 * OpenOffice.org is distributed in the hope that it will be useful,
19 * but WITHOUT ANY WARRANTY; without even the implied warranty of
20 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21 * GNU Lesser General Public License version 3 for more details
22 * (a copy is included in the LICENSE file that accompanied this code).
24 * You should have received a copy of the GNU Lesser General Public License
25 * version 3 along with OpenOffice.org. If not, see
26 * <http://www.openoffice.org/license.html>
27 * for a copy of the LGPLv3 License.
29 ************************************************************************/
34 #include <tools/solar.h>
50 extern void ScrollMDI(ViewShell
* pVwSh
, const SwRect
&, USHORT nRangeX
, USHORT nRangeY
);
51 extern BOOL
IsScrollMDI(ViewShell
* pVwSh
, const SwRect
&);
52 extern void SizeNotify(ViewShell
* pVwSh
, const Size
&);
54 //Update der Statusleiste, waehrend einer Action.
55 extern void PageNumNotify( ViewShell
* pVwSh
,
58 const UniString
& rPg
);
60 enum FlyMode
{ FLY_DRAG_START
, FLY_DRAG
, FLY_DRAG_END
};
61 extern void FrameNotify( ViewShell
* pVwSh
, FlyMode eMode
= FLY_DRAG
);
63 void StartProgress ( USHORT nMessId
, long nStartVal
, long nEndVal
, SwDocShell
*pDocSh
= 0 );
64 void EndProgress ( SwDocShell
*pDocSh
= 0 );
65 void SetProgressState ( long nPosition
, SwDocShell
*pDocShell
);
66 void RescheduleProgress( SwDocShell
*pDocShell
);
68 void EnableCmdInterface(BOOL bEnable
= TRUE
);
70 Dialog
* GetSearchDialog();
72 void RepaintPagePreview( ViewShell
* pVwSh
, const SwRect
& rRect
);
75 // alle QuickDraw-Bitmaps des speziellen Docs loeschen
76 void DelAllGrfCacheEntries( SwDoc
* pDoc
);
78 extern void JavaScriptScrollMDI( SfxFrame
* pFrame
, INT32 nX
, INT32 nY
);
80 // ChgMode fuer Tabellen aus der Konfiguration lesen
81 USHORT
GetTblChgDefaultMode();
83 BOOL
JumpToSwMark( ViewShell
* pVwSh
, const UniString
& rMark
);
86 } //namespace binfilter