LibreOffice Module sw (master)  1
mdiexp.hxx
Go to the documentation of this file.
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
3  * This file is part of the LibreOffice project.
4  *
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/.
8  *
9  * This file incorporates work covered by the following license notice:
10  *
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 .
18  */
19 #ifndef INCLUDED_SW_INC_MDIEXP_HXX
20 #define INCLUDED_SW_INC_MDIEXP_HXX
21 
22 #include <rtl/ustring.hxx>
23 #include <tools/long.hxx>
24 #include "tblenum.hxx"
25 #include "swdllapi.h"
26 
27 class SwRect;
28 class Size;
29 class SwViewShell;
30 class SwDocShell;
31 
32 extern void ScrollMDI(SwViewShell const * pVwSh, const SwRect &, sal_uInt16 nRangeX, sal_uInt16 nRangeY);
33 extern bool IsScrollMDI(SwViewShell const * pVwSh, const SwRect &);
34 extern void SizeNotify(SwViewShell const * pVwSh, const Size &);
35 
36 // Update of status bar during an action.
37 extern void PageNumNotify( SwViewShell const * pVwSh,
38  sal_uInt16 nPhyNum,
39  sal_uInt16 nVirtNum,
40  const OUString& rPg );
41 
43 extern void FrameNotify( SwViewShell* pVwSh, FlyMode eMode = FLY_DRAG );
44 
45 SW_DLLPUBLIC void StartProgress(const char* pMessId, tools::Long nStartVal, tools::Long nEndVal, SwDocShell *pDocSh = nullptr);
46 SW_DLLPUBLIC void EndProgress ( SwDocShell const *pDocSh );
47 SW_DLLPUBLIC void SetProgressState ( tools::Long nPosition, SwDocShell const *pDocShell );
48 void RescheduleProgress( SwDocShell const *pDocShell );
49 
50 void RepaintPagePreview( SwViewShell const * pVwSh, const SwRect& rRect );
51 
52 // Read ChgMode for tables from configuration.
54 
55 bool JumpToSwMark( SwViewShell const * pVwSh, const OUString& rMark );
56 
57 #endif
58 
59 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
TableChgMode GetTableChgDefaultMode()
Definition: edtwin3.cxx:104
FlyMode
Definition: mdiexp.hxx:42
void SizeNotify(SwViewShell const *pVwSh, const Size &)
Definition: edtwin3.cxx:56
void FrameNotify(SwViewShell *pVwSh, FlyMode eMode=FLY_DRAG)
Definition: edtwin3.cxx:79
void RescheduleProgress(SwDocShell const *pDocShell)
Definition: mainwn.cxx:123
long Long
Of course Writer needs its own rectangles.
Definition: swrect.hxx:35
void PageNumNotify(SwViewShell const *pVwSh, sal_uInt16 nPhyNum, sal_uInt16 nVirtNum, const OUString &rPg)
Definition: edtwin3.cxx:67
SW_DLLPUBLIC void StartProgress(const char *pMessId, tools::Long nStartVal, tools::Long nEndVal, SwDocShell *pDocSh=nullptr)
Definition: mainwn.cxx:52
void RepaintPagePreview(SwViewShell const *pVwSh, const SwRect &rRect)
Definition: edtwin3.cxx:110
bool JumpToSwMark(SwViewShell const *pVwSh, const OUString &rMark)
Definition: edtwin3.cxx:118
#define SW_DLLPUBLIC
Definition: swdllapi.h:28
void ScrollMDI(SwViewShell const *pVwSh, const SwRect &, sal_uInt16 nRangeX, sal_uInt16 nRangeY)
Definition: edtwin3.cxx:35
SW_DLLPUBLIC void SetProgressState(tools::Long nPosition, SwDocShell const *pDocShell)
Definition: mainwn.cxx:82
bool IsScrollMDI(SwViewShell const *pVwSh, const SwRect &)
Definition: edtwin3.cxx:45
TableChgMode
Definition: tblenum.hxx:46
SW_DLLPUBLIC void EndProgress(SwDocShell const *pDocSh)
Definition: mainwn.cxx:92