update credits
[LibreOffice.git] / sw / source / ui / uiview / viewfunc.hxx
blobcfef646ca3d3a56105bc087e3a2d0be14bdfc0fb
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 _VIEWFUNC_HXX
20 #define _VIEWFUNC_HXX
21 #include <tools/solar.h>
23 class ImageButton;
24 class Point;
25 class SfxItemSet;
26 class SfxPrinter;
27 class SfxTabPage;
28 class Size;
29 class SvxRuler;
30 class SwScrollbar;
31 class ViewShell;
32 class Window;
34 // folgende Funktionen stehen im viewprt.cxx
35 void SetPrinter( IDocumentDeviceAccess*, SfxPrinter*, sal_Bool bWeb );
36 SfxTabPage* CreatePrintOptionsPage( Window*, const SfxItemSet& );
37 void SetAppPrintOptions( ViewShell* pSh, sal_Bool bWeb );
39 // folgende Funktionen stehen im viewport.cxx
40 void ViewResizePixel( const Window &rRef,
41 const Point &rOfst,
42 const Size &rSize,
43 const Size &rEditSz,
44 const sal_Bool bInner,
45 SwScrollbar& rVScrollbar,
46 SwScrollbar& rHScrollbar,
47 ImageButton* pPageUpBtn,
48 ImageButton* pPageDownBtn,
49 ImageButton* pNaviBtn,
50 Window& rScrollBarBox,
51 SvxRuler* pVRuler = 0,
52 SvxRuler* pHRuler = 0,
53 sal_Bool bWebView = sal_False,
54 sal_Bool bVRulerRight = sal_False );
57 #endif
59 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */