bump product version to 4.1.6.2
[LibreOffice.git] / sw / inc / mdiexp.hxx
blobf6616db0586017e504b29b55aa172a46efec2adb
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
3 * This file is part of the LibreOffice project.
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
9 * This file incorporates work covered by the following license notice:
11 * Licensed to the Apache Software Foundation (ASF) under one or more
12 * contributor license agreements. See the NOTICE file distributed
13 * with this work for additional information regarding copyright
14 * ownership. The ASF licenses this file to you under the Apache
15 * License, Version 2.0 (the "License"); you may not use this file
16 * except in compliance with the License. You may obtain a copy of
17 * the License at http://www.apache.org/licenses/LICENSE-2.0 .
19 #ifndef _MDIEXP_HXX
20 #define _MDIEXP_HXX
22 #include <rtl/ustring.hxx>
23 #include <tools/solar.h>
24 #include <tblenum.hxx>
25 #include <swdllapi.h>
27 class SwRect;
28 class Size;
29 class Dialog;
30 class ViewShell;
31 class SwDoc;
32 class SwDocShell;
34 extern void ScrollMDI(ViewShell* pVwSh, const SwRect &, sal_uInt16 nRangeX, sal_uInt16 nRangeY);
35 extern sal_Bool IsScrollMDI(ViewShell* pVwSh, const SwRect &);
36 extern void SizeNotify(ViewShell* pVwSh, const Size &);
38 // Update of status bar during an action.
39 extern void PageNumNotify( ViewShell* pVwSh,
40 sal_uInt16 nPhyNum,
41 sal_uInt16 nVirtNum,
42 const OUString& rPg );
44 enum FlyMode { FLY_DRAG_START, FLY_DRAG, FLY_DRAG_END };
45 extern void FrameNotify( ViewShell* pVwSh, FlyMode eMode = FLY_DRAG );
47 SW_DLLPUBLIC void StartProgress ( sal_uInt16 nMessId, long nStartVal, long nEndVal, SwDocShell *pDocSh = 0 );
48 SW_DLLPUBLIC void EndProgress ( SwDocShell *pDocSh = 0 );
49 SW_DLLPUBLIC void SetProgressState ( long nPosition, SwDocShell *pDocShell );
50 void SetProgressText ( sal_uInt16 nMessId, SwDocShell *pDocShell );
51 void RescheduleProgress( SwDocShell *pDocShell );
53 void EnableCmdInterface(sal_Bool bEnable = sal_True);
55 Dialog* GetSearchDialog();
57 void RepaintPagePreview( ViewShell* pVwSh, const SwRect& rRect );
59 // ndgrf.cxx
60 // Delete all QuickDraw-bitmaps of the specific Document.
61 void DelAllGrfCacheEntries( SwDoc* pDoc );
63 // Read ChgMode for tables from configuration.
64 TblChgMode GetTblChgDefaultMode();
66 bool JumpToSwMark( ViewShell* pVwSh, const OUString& rMark );
69 #endif
71 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */