• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • kdegraphics API Reference
  • KDE Home
  • Contact Us
 

okular

  • sources
  • kde-4.12
  • kdegraphics
  • okular
  • core
global.h
Go to the documentation of this file.
1 /***************************************************************************
2  * Copyright (C) 2007 by Tobias Koenig <tokoe@kde.org> *
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 <QtCore/QGlobalStatic>
14 
15 namespace Okular {
16 
20 enum Permission
21 {
22  AllowModify = 1,
23  AllowCopy = 2,
24  AllowPrint = 4,
25  AllowNotes = 8,
26  AllowFillForms = 16
27 };
28 Q_DECLARE_FLAGS( Permissions, Permission )
29 
30 
33 enum SearchDirection
34 {
35  FromTop,
36  FromBottom,
37  NextResult,
38  PreviousResult
39 };
40 
44 enum Rotation
45 {
46  Rotation0 = 0,
47  Rotation90 = 1,
48  Rotation180 = 2,
49  Rotation270 = 3
50 };
51 
55 enum GenerationType
56 {
57  Synchronous,
58  Asynchronous
59 };
60 
64 enum MergeSide
65 {
66  MergeRight = 0,
67  MergeBottom = 1,
68  MergeLeft = 2,
69  MergeTop = 3,
70  MergeAll = 4
71 };
72 
76 enum ScriptType
77 {
78  JavaScript = 0
79 };
80 
81 }
82 
83 #endif
Okular::SearchDirection
SearchDirection
Describes the direction of searching.
Definition: global.h:33
Okular::Rotation
Rotation
A rotation.
Definition: global.h:44
Okular::NextResult
Searching for the next result on the page, earlier result should be located so we search from the las...
Definition: global.h:37
Okular::Synchronous
Will create the object in a synchronous way.
Definition: global.h:57
Okular::GenerationType
GenerationType
Describes the type of generation of objects.
Definition: global.h:55
Okular::MergeBottom
Merge only if the bottom side of the first area intersect.
Definition: global.h:67
Okular::MergeLeft
Merge only if the left side of the first area intersect.
Definition: global.h:68
Okular::MergeSide
MergeSide
The side(s) to be considered when merging areas.
Definition: global.h:64
Okular::AllowCopy
Allows to copy the document.
Definition: global.h:23
Okular::MergeTop
Merge only if the top side of the first area intersect.
Definition: global.h:69
Okular::MergeRight
Merge only if the right side of the first area intersect.
Definition: global.h:66
Okular::Rotation180
Rotated 180 degrees clockwise.
Definition: global.h:48
Okular::AllowNotes
Allows to add annotations to the document.
Definition: global.h:25
Okular::Rotation0
Not rotated.
Definition: global.h:46
Okular::JavaScript
JavaScript code.
Definition: global.h:78
Okular::FromTop
Searching from top of the page, next result is to be found, there was no earlier search result...
Definition: global.h:35
Okular::FromBottom
Searching from bottom of the page, next result is to be found, there was no earlier search result...
Definition: global.h:36
Okular::PreviousResult
Searching for the previous result on the page, earlier result should be located so we search from the...
Definition: global.h:38
Okular::AllowModify
Allows to modify the document.
Definition: global.h:22
Okular::ScriptType
ScriptType
Describes the possible script types.
Definition: global.h:76
Okular::Rotation270
Rotated 2700 degrees clockwise.
Definition: global.h:49
Okular::Asynchronous
Will create the object in an asynchronous way.
Definition: global.h:58
Okular::MergeAll
Merge if the areas intersects, no matter which side(s).
Definition: global.h:70
Okular::AllowPrint
Allows to print the document.
Definition: global.h:24
Okular::Rotation90
Rotated 90 degrees clockwise.
Definition: global.h:47
Okular::AllowFillForms
Allows to fill the forms in the document.
Definition: global.h:26
Okular::Permission
Permission
Describes the DRM capabilities.
Definition: global.h:20
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:45:02 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

okular

Skip menu "okular"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members
  • Related Pages

kdegraphics API Reference

Skip menu "kdegraphics API Reference"
  •     libkdcraw
  •     libkexiv2
  •     libkipi
  •     libksane
  • okular

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal