Okular

global.h
1 /***************************************************************************
2  * Copyright (C) 2007 by Tobias Koenig <[email protected]> *
3  * *
4  * This program is free software; you can redistribute it and/or modify *
5  * it under the terms of the GNU General Public License as published by *
6  * the Free Software Foundation; either version 2 of the License, or *
7  * (at your option) any later version. *
8  ***************************************************************************/
9 
10 #ifndef OKULAR_GLOBAL_H
11 #define OKULAR_GLOBAL_H
12 
13 #include <QGlobalStatic>
14 
21 namespace Okular
22 {
26 enum Permission {
28  AllowCopy = 2,
29  AllowPrint = 4,
30  AllowNotes = 8,
32 };
33 Q_DECLARE_FLAGS(Permissions, Permission)
34 
35 
43 };
44 
48 enum Rotation {
49  Rotation0 = 0,
50  Rotation90 = 1,
53 };
54 
61 };
62 
66 enum MergeSide {
67  MergeRight = 0,
69  MergeLeft = 2,
70  MergeTop = 3,
71  MergeAll = 4
72 };
73 
77 enum ScriptType {
79 };
80 
81 }
82 
83 #endif
SearchDirection
Describes the direction of searching.
Definition: global.h:38
Rotation
A rotation.
Definition: global.h:48
Searching for the next result on the page, earlier result should be located so we search from the las...
Definition: global.h:41
Will create the object in a synchronous way.
Definition: global.h:59
GenerationType
Describes the type of generation of objects.
Definition: global.h:58
Merge only if the bottom side of the first area intersect.
Definition: global.h:68
Merge only if the left side of the first area intersect.
Definition: global.h:69
MergeSide
The side(s) to be considered when merging areas.
Definition: global.h:66
Allows to copy the document.
Definition: global.h:28
Merge only if the top side of the first area intersect.
Definition: global.h:70
Merge only if the right side of the first area intersect.
Definition: global.h:67
Rotated 180 degrees clockwise.
Definition: global.h:51
Allows to add annotations to the document.
Definition: global.h:30
global.h
Definition: action.h:19
Not rotated.
Definition: global.h:49
JavaScript code.
Definition: global.h:78
Searching from top of the page, next result is to be found, there was no earlier search result...
Definition: global.h:39
Searching from bottom of the page, next result is to be found, there was no earlier search result...
Definition: global.h:40
Searching for the previous result on the page, earlier result should be located so we search from the...
Definition: global.h:42
Allows to modify the document.
Definition: global.h:27
ScriptType
Describes the possible script types.
Definition: global.h:77
Rotated 2700 degrees clockwise.
Definition: global.h:52
Will create the object in an asynchronous way.
Definition: global.h:60
Merge if the areas intersects, no matter which side(s).
Definition: global.h:71
Allows to print the document.
Definition: global.h:29
Rotated 90 degrees clockwise.
Definition: global.h:50
Allows to fill the forms in the document.
Definition: global.h:31
Permission
Describes the DRM capabilities.
Definition: global.h:26
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Sat Jul 11 2020 22:35:14 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.