1 /************************************************************** 2 * 3 * Licensed to the Apache Software Foundation (ASF) under one 4 * or more contributor license agreements. See the NOTICE file 5 * distributed with this work for additional information 6 * regarding copyright ownership. The ASF licenses this file 7 * to you under the Apache License, Version 2.0 (the 8 * "License"); you may not use this file except in compliance 9 * with the License. You may obtain a copy of the License at 10 * 11 * http://www.apache.org/licenses/LICENSE-2.0 12 * 13 * Unless required by applicable law or agreed to in writing, 14 * software distributed under the License is distributed on an 15 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 16 * KIND, either express or implied. See the License for the 17 * specific language governing permissions and limitations 18 * under the License. 19 * 20 *************************************************************/ 21 22 #ifndef _VIEWFUNC_HXX 23 #define _VIEWFUNC_HXX 24 #include <tools/solar.h> 25 26 class ImageButton; 27 class Point; 28 class SfxItemSet; 29 class SfxPrinter; 30 class SfxTabPage; 31 class Size; 32 class SvxRuler; 33 class SwScrollbar; 34 class ViewShell; 35 class Window; 36 class SwWrtShell; 37 38 // folgende Funktionen stehen im viewprt.cxx 39 void SetPrinter( IDocumentDeviceAccess*, SfxPrinter*, sal_Bool bWeb ); 40 SfxTabPage* CreatePrintOptionsPage( Window*, const SfxItemSet& ); 41 void SetAppPrintOptions( ViewShell* pSh, sal_Bool bWeb ); 42 43 // folgende Funktionen stehen im viewport.cxx 44 void ViewResizePixel( const Window &rRef, 45 const Point &rOfst, 46 const Size &rSize, 47 const Size &rEditSz, 48 const sal_Bool bInner, 49 SwScrollbar& rVScrollbar, 50 SwScrollbar& rHScrollbar, 51 ImageButton* pPageUpBtn, 52 ImageButton* pPageDownBtn, 53 ImageButton* pNaviBtn, 54 Window& rScrollBarBox, 55 SvxRuler* pVRuler = 0, 56 SvxRuler* pHRuler = 0, 57 sal_Bool bWebView = sal_False, 58 sal_Bool bVRulerRight = sal_False ); 59 60 #endif 61 62 /* vim: set noet sw=4 ts=4: */ 63