1 //========================================================================
5 // This file is licensed under the GPLv2 or later
7 // Copyright 2011 Pino Toscano <pino@kde.org>
9 //========================================================================
11 #ifndef VIEWERPREFERENCES_H
12 #define VIEWERPREFERENCES_H
14 #include "goo/gtypes.h"
18 //------------------------------------------------------------------------
20 //------------------------------------------------------------------------
22 class ViewerPreferences
{
25 enum NonFullScreenPageMode
{
37 printScalingAppDefault
42 duplexDuplexFlipShortEdge
,
43 duplexDuplexFlipLongEdge
46 ViewerPreferences(Dict
*prefDict
);
49 GBool
getHideToolbar() const { return hideToolbar
; }
50 GBool
getHideMenubar() const { return hideMenubar
; }
51 GBool
getHideWindowUI() const { return hideWindowUI
; }
52 GBool
getFitWindow() const { return fitWindow
; }
53 GBool
getCenterWindow() const { return centerWindow
; }
54 GBool
getDisplayDocTitle() const { return displayDocTitle
; }
55 NonFullScreenPageMode
getNonFullScreenPageMode() const { return nonFullScreenPageMode
; }
56 Direction
getDirection() const { return direction
; }
57 PrintScaling
getPrintScaling() const { return printScaling
; }
58 Duplex
getDuplex() const { return duplex
; }
69 GBool displayDocTitle
;
70 NonFullScreenPageMode nonFullScreenPageMode
;
72 PrintScaling printScaling
;