• 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
annotations.h
Go to the documentation of this file.
1 /***************************************************************************
2  * Copyright (C) 2005 by Enrico Ros <eros.kde@email.it> *
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_ANNOTATIONS_H_
11 #define _OKULAR_ANNOTATIONS_H_
12 
13 #include <QtCore/QString>
14 #include <QtCore/QDateTime>
15 #include <QtCore/QLinkedList>
16 #include <QtCore/QRect>
17 #include <QtGui/QFont>
18 #include <QtXml/QDomDocument>
19 #include <QtXml/QDomElement>
20 
21 #include "okular_export.h"
22 #include "area.h"
23 
24 namespace Okular {
25 
26 class Action;
27 class Annotation;
28 class AnnotationObjectRect;
29 class AnnotationPrivate;
30 class Document;
31 class EmbeddedFile;
32 class Page;
33 class PagePrivate;
34 class Sound;
35 class Movie;
36 class TextAnnotationPrivate;
37 class LineAnnotationPrivate;
38 class GeomAnnotationPrivate;
39 class HighlightAnnotationPrivate;
40 class StampAnnotationPrivate;
41 class InkAnnotationPrivate;
42 class CaretAnnotationPrivate;
43 class FileAttachmentAnnotationPrivate;
44 class SoundAnnotationPrivate;
45 class MovieAnnotationPrivate;
46 class ScreenAnnotationPrivate;
47 class WidgetAnnotationPrivate;
48 
52 class OKULAR_EXPORT AnnotationUtils
53 {
54  public:
60  static Annotation * createAnnotation( const QDomElement & element );
61 
66  static void storeAnnotation( const Annotation * annotation,
67  QDomElement & element, QDomDocument & document );
68 
73  static QDomElement findChildElement( const QDomNode & parentNode,
74  const QString & name );
75 
80  static QRect annotationGeometry( const Annotation * annotation,
81  double scaleX, double scaleY );
82 };
83 
90 class OKULAR_EXPORT Annotation
91 {
93  friend class AnnotationObjectRect;
94  friend class Document;
95  friend class DocumentPrivate;
96  friend class ObjectRect;
97  friend class Page;
98  friend class PagePrivate;
100 
101  public:
105  enum SubType
106  {
107  AText = 1,
108  ALine = 2,
109  AGeom = 3,
110  AHighlight = 4,
111  AStamp = 5,
112  AInk = 6,
113  ACaret = 8,
114  AFileAttachment = 9,
115  ASound = 10,
116  AMovie = 11,
117  AScreen = 12,
118  AWidget = 13,
119  A_BASE = 0
120  };
121 
125  enum Flag
126  {
127  Hidden = 1,
128  FixedSize = 2,
129  FixedRotation = 4,
130  DenyPrint = 8,
131  DenyWrite = 16,
132  DenyDelete = 32,
133  ToggleHidingOnMouse = 64,
134  External = 128,
135  ExternallyDrawn = 256,
136  BeingMoved = 512
137  };
138 
142  enum LineStyle
143  {
144  Solid = 1,
145  Dashed = 2,
146  Beveled = 4,
147  Inset = 8,
148  Underline = 16
149  };
150 
154  enum LineEffect
155  {
156  NoEffect = 1,
157  Cloudy = 2
158  };
159 
163  enum RevisionScope
164  {
165  Reply = 1,
166  Group = 2,
167  Delete = 4
168  };
169 
173  enum RevisionType
174  {
175  None = 1,
176  Marked = 2,
177  Unmarked = 4,
178  Accepted = 8,
179  Rejected = 16,
180  Cancelled = 32,
181  Completed = 64
182  };
183 
189  enum AdditionalActionType
190  {
191  PageOpening,
192  PageClosing
193  };
194 
203  typedef void ( * DisposeDataFunction )( const Okular::Annotation * );
204 
208  virtual ~Annotation();
209 
213  void setAuthor( const QString &author );
214 
218  QString author() const;
219 
223  void setContents( const QString &contents );
224 
228  QString contents() const;
229 
233  void setUniqueName( const QString &name );
234 
238  QString uniqueName() const;
239 
245  void setModificationDate( const QDateTime &date );
246 
250  QDateTime modificationDate() const;
251 
257  void setCreationDate( const QDateTime &date );
258 
262  QDateTime creationDate() const;
263 
268  void setFlags( int flags );
269 
274  int flags() const;
275 
279  void setBoundingRectangle( const NormalizedRect &rectangle );
280 
284  NormalizedRect boundingRectangle() const;
285 
292  NormalizedRect transformedBoundingRectangle() const;
293 
299  void translate( const NormalizedPoint &coord );
300 
305  class OKULAR_EXPORT Style
306  {
307  public:
311  Style();
312 
316  ~Style();
317 
318  Style( const Style &other );
319  Style& operator=( const Style &other );
320 
324  void setColor( const QColor &color );
325 
329  QColor color() const;
330 
334  void setOpacity( double opacity );
335 
339  double opacity() const;
340 
344  void setWidth( double width );
345 
349  double width() const;
350 
354  void setLineStyle( LineStyle style );
355 
359  LineStyle lineStyle() const;
360 
364  void setXCorners( double xCorners );
365 
369  double xCorners() const;
370 
374  void setYCorners( double yCorners );
375 
379  double yCorners() const;
380 
384  void setMarks( int marks );
385 
389  int marks() const;
390 
394  void setSpaces( int spaces );
395 
399  int spaces() const;
400 
404  void setLineEffect( LineEffect effect );
405 
409  LineEffect lineEffect() const;
410 
414  void setEffectIntensity( double intensity );
415 
419  double effectIntensity() const;
420 
421  private:
422  class Private;
423  Private* const d;
424  };
425 
429  Style & style();
430 
434  const Style & style() const;
435 
440  class OKULAR_EXPORT Window
441  {
442  public:
446  Window();
447 
451  ~Window();
452 
453  Window( const Window &other );
454  Window& operator=( const Window &other );
455 
459  void setFlags( int flags );
460 
464  int flags() const;
465 
469  void setTopLeft( const NormalizedPoint &point );
470 
474  NormalizedPoint topLeft() const;
475 
479  void setWidth( int width );
480 
484  int width() const;
485 
489  void setHeight( int height );
490 
494  int height() const;
495 
499  void setTitle( const QString &title );
500 
504  QString title() const;
505 
509  void setSummary( const QString &summary );
510 
514  QString summary() const;
515 
516  private:
517  class Private;
518  Private* const d;
519  };
520 
524  Window & window();
525 
529  const Window & window() const;
530 
535  class Revision
536  {
537  public:
541  Revision();
542 
546  ~Revision();
547 
548  Revision( const Revision &other );
549  Revision& operator=( const Revision &other );
550 
554  void setAnnotation( Annotation *annotation );
555 
559  Annotation *annotation() const;
560 
565  void setScope( RevisionScope scope );
566 
570  RevisionScope scope() const;
571 
576  void setType( RevisionType type );
577 
581  RevisionType type() const;
582 
583  private:
584  class Private;
585  Private* const d;
586  };
587 
591  QLinkedList< Revision > & revisions();
592 
596  const QLinkedList< Revision > & revisions() const;
597 
609  void setNativeId( const QVariant &id );
610 
616  QVariant nativeId() const;
617 
626  void setDisposeDataFunction( DisposeDataFunction func );
627 
633  bool canBeMoved() const;
634 
640  bool openDialogAfterCreation() const;
641 
645  virtual SubType subType() const = 0;
646 
650  virtual void store( QDomNode & node, QDomDocument & document ) const;
651 
657  QDomNode getAnnotationPropertiesDomNode() const;
658 
664  void setAnnotationProperties( const QDomNode & node );
665 
666  protected:
668  Annotation( AnnotationPrivate &dd );
669  Annotation( AnnotationPrivate &dd, const QDomNode &description );
670  Q_DECLARE_PRIVATE( Annotation )
671  AnnotationPrivate *d_ptr;
673 
674  private:
675  Q_DISABLE_COPY( Annotation )
676 };
677 
686 class OKULAR_EXPORT AnnotationProxy
687 {
688  public:
689  enum Capability
690  {
691  Addition,
692  Modification,
693  Removal
694  };
695 
699  virtual ~AnnotationProxy();
700 
704  virtual bool supports( Capability capability ) const = 0;
705 
711  virtual void notifyAddition( Annotation *annotation, int page ) = 0;
712 
721  virtual void notifyModification( const Annotation *annotation, int page, bool appearanceChanged ) = 0;
722 
728  virtual void notifyRemoval( Annotation *annotation, int page ) = 0;
729 };
730 
731 class OKULAR_EXPORT TextAnnotation : public Annotation
732 {
733  public:
737  enum TextType
738  {
739  Linked,
740  InPlace
741  };
742 
746  enum InplaceIntent
747  {
748  Unknown,
749  Callout,
750  TypeWriter
751  };
752 
756  TextAnnotation();
757 
761  TextAnnotation( const QDomNode &description );
762 
766  ~TextAnnotation();
767 
772  void setTextType( TextType type );
773 
777  TextType textType() const;
778 
782  void setTextIcon( const QString &icon );
783 
787  QString textIcon() const;
788 
792  void setTextFont( const QFont &font );
793 
797  QFont textFont() const;
798 
802  void setInplaceAlignment( int alignment );
803 
807  int inplaceAlignment() const;
808 
814  void setInplaceCallout( const NormalizedPoint &point, int index );
815 
821  NormalizedPoint inplaceCallout( int index ) const;
822 
828  NormalizedPoint transformedInplaceCallout( int index ) const;
829 
834  void setInplaceIntent( InplaceIntent intent );
835 
839  InplaceIntent inplaceIntent() const;
840 
844  SubType subType() const;
845 
849  void store( QDomNode &node, QDomDocument &document ) const;
850 
851  private:
852  Q_DECLARE_PRIVATE( TextAnnotation )
853  Q_DISABLE_COPY( TextAnnotation )
854 };
855 
856 class OKULAR_EXPORT LineAnnotation : public Annotation
857 {
858  public:
862  enum TermStyle
863  {
864  Square,
865  Circle,
866  Diamond,
867  OpenArrow,
868  ClosedArrow,
869  None,
870  Butt,
871  ROpenArrow,
872  RClosedArrow,
873  Slash
874  };
875 
879  enum LineIntent
880  {
881  Unknown,
882  Arrow,
883  Dimension,
884  PolygonCloud
885  };
886 
890  LineAnnotation();
891 
895  explicit LineAnnotation( const QDomNode &description );
896 
900  ~LineAnnotation();
901 
905  void setLinePoints( const QLinkedList<NormalizedPoint> &points );
906 
910  QLinkedList<NormalizedPoint> linePoints() const;
911 
916  QLinkedList<NormalizedPoint> transformedLinePoints() const;
917 
922  void setLineStartStyle( TermStyle style );
923 
927  TermStyle lineStartStyle() const;
928 
933  void setLineEndStyle( TermStyle style );
934 
938  TermStyle lineEndStyle() const;
939 
943  void setLineClosed( bool closed );
944 
948  bool lineClosed() const;
949 
953  void setLineInnerColor( const QColor &color );
954 
958  QColor lineInnerColor() const;
959 
963  void setLineLeadingForwardPoint( double point );
964 
968  double lineLeadingForwardPoint() const;
969 
973  void setLineLeadingBackwardPoint( double point );
974 
978  double lineLeadingBackwardPoint() const;
979 
983  void setShowCaption( bool shown );
984 
988  bool showCaption() const;
989 
994  void setLineIntent( LineIntent intent );
995 
999  LineIntent lineIntent() const;
1000 
1004  SubType subType() const;
1005 
1009  void store( QDomNode &node, QDomDocument &document ) const;
1010 
1011  private:
1012  Q_DECLARE_PRIVATE( LineAnnotation )
1013  Q_DISABLE_COPY( LineAnnotation )
1014 };
1015 
1016 class OKULAR_EXPORT GeomAnnotation : public Annotation
1017 {
1018  public:
1019  // common enums
1020  enum GeomType
1021  {
1022  InscribedSquare,
1023  InscribedCircle
1024  };
1025 
1029  GeomAnnotation();
1030 
1034  GeomAnnotation( const QDomNode &description );
1035 
1039  ~GeomAnnotation();
1040 
1045  void setGeometricalType( GeomType type );
1046 
1050  GeomType geometricalType() const;
1051 
1055  void setGeometricalInnerColor( const QColor &color );
1056 
1060  QColor geometricalInnerColor() const;
1061 
1065  SubType subType() const;
1066 
1071  void store( QDomNode &node, QDomDocument &document ) const;
1072 
1073  private:
1074  Q_DECLARE_PRIVATE( GeomAnnotation )
1075  Q_DISABLE_COPY( GeomAnnotation )
1076 };
1077 
1078 class OKULAR_EXPORT HighlightAnnotation : public Annotation
1079 {
1080  public:
1084  enum HighlightType
1085  {
1086  Highlight,
1087  Squiggly,
1088  Underline,
1089  StrikeOut
1090  };
1091 
1095  HighlightAnnotation();
1096 
1100  explicit HighlightAnnotation( const QDomNode &description );
1101 
1105  ~HighlightAnnotation();
1106 
1111  void setHighlightType( HighlightType type );
1112 
1116  HighlightType highlightType() const;
1117 
1122  class OKULAR_EXPORT Quad
1123  {
1124  public:
1128  Quad();
1129 
1133  ~Quad();
1134 
1135  Quad( const Quad &other );
1136  Quad& operator=( const Quad &other );
1137 
1143  void setPoint( const NormalizedPoint &point, int index );
1144 
1150  NormalizedPoint point( int index ) const;
1151 
1157  NormalizedPoint transformedPoint( int index ) const;
1158 
1162  void setCapStart( bool value );
1163 
1167  bool capStart() const;
1168 
1172  void setCapEnd( bool value );
1173 
1177  bool capEnd() const;
1178 
1182  void setFeather( double width );
1183 
1187  double feather() const;
1188 
1193  void transform( const QTransform &matrix );
1194 
1195  private:
1196  class Private;
1197  Private* const d;
1198  };
1199 
1203  QList< Quad > & highlightQuads();
1204 
1208  SubType subType() const;
1209 
1214  void store( QDomNode &node, QDomDocument &document ) const;
1215 
1216  private:
1217  Q_DECLARE_PRIVATE( HighlightAnnotation )
1218  Q_DISABLE_COPY( HighlightAnnotation )
1219 };
1220 
1221 class OKULAR_EXPORT StampAnnotation : public Annotation
1222 {
1223  public:
1227  StampAnnotation();
1228 
1232  explicit StampAnnotation( const QDomNode &description );
1233 
1237  ~StampAnnotation();
1238 
1242  void setStampIconName( const QString &name );
1243 
1247  QString stampIconName() const;
1248 
1252  SubType subType() const;
1253 
1258  void store( QDomNode &node, QDomDocument &document ) const;
1259 
1260  private:
1261  Q_DECLARE_PRIVATE( StampAnnotation )
1262  Q_DISABLE_COPY( StampAnnotation )
1263 };
1264 
1265 class OKULAR_EXPORT InkAnnotation : public Annotation
1266 {
1267  public:
1271  InkAnnotation();
1272 
1276  InkAnnotation( const QDomNode &description );
1277 
1281  ~InkAnnotation();
1282 
1286  void setInkPaths( const QList< QLinkedList<NormalizedPoint> > &paths );
1287 
1291  QList< QLinkedList<NormalizedPoint> > inkPaths() const;
1292 
1297  QList< QLinkedList<NormalizedPoint> > transformedInkPaths() const;
1298 
1302  SubType subType() const;
1303 
1308  void store( QDomNode &node, QDomDocument &document ) const;
1309 
1310  private:
1311  Q_DECLARE_PRIVATE( InkAnnotation )
1312  Q_DISABLE_COPY( InkAnnotation )
1313 };
1314 
1315 class OKULAR_EXPORT CaretAnnotation : public Annotation
1316 {
1317  public:
1321  enum CaretSymbol
1322  {
1323  None,
1324  P
1325  };
1326 
1330  CaretAnnotation();
1331 
1335  explicit CaretAnnotation( const QDomNode &description );
1336 
1340  ~CaretAnnotation();
1341 
1345  void setCaretSymbol( CaretAnnotation::CaretSymbol symbol );
1346 
1350  CaretAnnotation::CaretSymbol caretSymbol() const;
1351 
1355  SubType subType() const;
1356 
1361  void store( QDomNode &node, QDomDocument &document ) const;
1362 
1363  private:
1364  Q_DECLARE_PRIVATE( CaretAnnotation )
1365  Q_DISABLE_COPY( CaretAnnotation )
1366 };
1367 
1368 class OKULAR_EXPORT FileAttachmentAnnotation : public Annotation
1369 {
1370  public:
1374  FileAttachmentAnnotation();
1378  explicit FileAttachmentAnnotation( const QDomNode &description );
1382  virtual ~FileAttachmentAnnotation();
1383 
1387  QString fileIconName() const;
1388 
1392  void setFileIconName( const QString &name );
1393 
1397  EmbeddedFile* embeddedFile() const;
1398 
1403  void setEmbeddedFile( EmbeddedFile *object );
1404 
1408  SubType subType() const;
1409 
1414  void store( QDomNode &node, QDomDocument &document ) const;
1415 
1416  private:
1417  Q_DECLARE_PRIVATE( FileAttachmentAnnotation )
1418  Q_DISABLE_COPY( FileAttachmentAnnotation )
1419 };
1420 
1428 class OKULAR_EXPORT SoundAnnotation : public Annotation
1429 {
1430  public:
1434  SoundAnnotation();
1438  SoundAnnotation( const QDomNode &description );
1442  virtual ~SoundAnnotation();
1443 
1447  QString soundIconName() const;
1448 
1452  void setSoundIconName( const QString &name );
1453 
1457  Sound* sound() const;
1458 
1463  void setSound( Sound *object );
1464 
1468  SubType subType() const;
1469 
1474  void store( QDomNode &node, QDomDocument &document ) const;
1475 
1476  private:
1477  Q_DECLARE_PRIVATE( SoundAnnotation )
1478  Q_DISABLE_COPY( SoundAnnotation )
1479 };
1480 
1488 class OKULAR_EXPORT MovieAnnotation : public Annotation
1489 {
1490  public:
1494  MovieAnnotation();
1498  MovieAnnotation( const QDomNode &description );
1502  virtual ~MovieAnnotation();
1506  Movie* movie() const;
1510  void setMovie( Movie *movie );
1514  SubType subType() const;
1519  void store( QDomNode &parentNode, QDomDocument &document ) const;
1520 
1521  private:
1522  Q_DECLARE_PRIVATE( MovieAnnotation )
1523  Q_DISABLE_COPY( MovieAnnotation )
1524 };
1525 
1534 class OKULAR_EXPORT ScreenAnnotation : public Annotation
1535 {
1536  public:
1540  ScreenAnnotation();
1541 
1545  ScreenAnnotation( const QDomNode &description );
1546 
1550  virtual ~ScreenAnnotation();
1551 
1555  SubType subType() const;
1556 
1561  void store( QDomNode &parentNode, QDomDocument &document ) const;
1562 
1568  void setAction( Action *action );
1569 
1575  Action* action() const;
1576 
1582  void setAdditionalAction( AdditionalActionType type, Action *action );
1583 
1589  Action* additionalAction( AdditionalActionType type ) const;
1590 
1591  private:
1592  Q_DECLARE_PRIVATE( ScreenAnnotation )
1593  Q_DISABLE_COPY( ScreenAnnotation )
1594 };
1595 
1603 class OKULAR_EXPORT WidgetAnnotation : public Annotation
1604 {
1605  public:
1609  WidgetAnnotation();
1610 
1614  WidgetAnnotation( const QDomNode &description );
1615 
1619  virtual ~WidgetAnnotation();
1620 
1624  SubType subType() const;
1625 
1630  void store( QDomNode &parentNode, QDomDocument &document ) const;
1631 
1637  void setAdditionalAction( AdditionalActionType type, Action *action );
1638 
1644  Action* additionalAction( AdditionalActionType type ) const;
1645 
1646  private:
1647  Q_DECLARE_PRIVATE( WidgetAnnotation )
1648  Q_DISABLE_COPY( WidgetAnnotation )
1649 };
1650 
1651 }
1652 
1653 #endif
Okular::NormalizedPoint
NormalizedPoint is a helper class which stores the coordinates of a normalized point.
Definition: area.h:47
Okular::HighlightAnnotation::HighlightType
HighlightType
Describes the highlighting style of the annotation.
Definition: annotations.h:1084
Okular::TextAnnotation::Unknown
Unknown style.
Definition: annotations.h:748
Okular::None
Definition: page_p.h:44
Okular::Annotation::Revision
The Revision class contains all information about the revision of the annotation. ...
Definition: annotations.h:535
Okular::CaretAnnotation
Definition: annotations.h:1315
Okular::LineAnnotation::Dimension
Dimension intent.
Definition: annotations.h:883
Okular::PagePrivate
Definition: page_p.h:55
Okular::CaretAnnotation::CaretSymbol
CaretSymbol
Describes the highlighting style of the annotation.
Definition: annotations.h:1321
Okular::TextAnnotation::InplaceIntent
InplaceIntent
Describes the style of the text.
Definition: annotations.h:746
Okular::GeomAnnotation::GeomType
GeomType
Definition: annotations.h:1020
Okular::FileAttachmentAnnotation
Definition: annotations.h:1368
Okular::NormalizedRect
NormalizedRect is a helper class which stores the coordinates of a normalized rect, which is a rectangle of.
Definition: area.h:105
Okular::LineAnnotation::ClosedArrow
Using a closed arrow.
Definition: annotations.h:868
area.h
Okular::HighlightAnnotation::Squiggly
Squiggles the text.
Definition: annotations.h:1087
Okular::LineAnnotation::OpenArrow
Using an open arrow.
Definition: annotations.h:867
Okular::LineAnnotation::None
No special ending style.
Definition: annotations.h:869
Okular::AnnotationProxy
Native annotation interface.
Definition: annotations.h:686
Okular::LineAnnotation::Circle
Using a circle.
Definition: annotations.h:865
Okular::EmbeddedFile
An embedded file into the document.
Definition: document.h:1178
okular_export.h
Okular::HighlightAnnotation
Definition: annotations.h:1078
Okular::AnnotationPrivate
Definition: annotations_p.h:28
Okular::LineAnnotation
Definition: annotations.h:856
Okular::Annotation::Window
The Window class contains all information about the popup window of the annotation that is used to ed...
Definition: annotations.h:440
Okular::StampAnnotation
Definition: annotations.h:1221
Okular::Annotation::RevisionType
RevisionType
Describes the type of revision information.
Definition: annotations.h:173
Okular::Annotation::SubType
SubType
Describes the type of annotation as defined in PDF standard.
Definition: annotations.h:105
Okular::LineAnnotation::TermStyle
TermStyle
Describes the line ending style.
Definition: annotations.h:862
Okular::AnnotationObjectRect
This class describes the object rectangle for an annotation.
Definition: area.h:431
Okular::Annotation::PageOpening
Performed when the page containing the annotation is opened.
Definition: annotations.h:191
Okular::SoundAnnotation
Sound annotation.
Definition: annotations.h:1428
Okular::GeomAnnotation
Definition: annotations.h:1016
Okular::AnnotationProxy::Modification
Generator can edit native annotations.
Definition: annotations.h:692
Okular::ObjectRect
NormalizedRect that contains a reference to an object.
Definition: area.h:337
Okular::TextAnnotation::Callout
Callout style.
Definition: annotations.h:749
Okular::GeomAnnotation::InscribedSquare
Draw a square.
Definition: annotations.h:1022
Okular::Document
The Document.
Definition: document.h:84
Okular::Page
Collector for all the data belonging to a page.
Definition: page.h:49
Okular::TextAnnotation::TextType
TextType
Describes the type of the text.
Definition: annotations.h:737
Okular::Annotation::RevisionScope
RevisionScope
Describes the scope of revision information.
Definition: annotations.h:163
Okular::Sound
Contains information about a sound object.
Definition: sound.h:26
Okular::InkAnnotation
Definition: annotations.h:1265
Okular::LineAnnotation::Square
Using a square.
Definition: annotations.h:864
Okular::LineAnnotation::ROpenArrow
Using an arrow opened at the right side.
Definition: annotations.h:871
Okular::TextAnnotation::Linked
The annotation is linked to a text.
Definition: annotations.h:739
Okular::LineAnnotation::Butt
Using a butt ending.
Definition: annotations.h:870
Okular::Annotation::AdditionalActionType
AdditionalActionType
Describes the type of additional actions.
Definition: annotations.h:189
Okular::DocumentPrivate
Definition: document_p.h:83
Okular::Action
Encapsulates data that describes an action.
Definition: action.h:43
Okular::LineAnnotation::LineIntent
LineIntent
Describes the line intent.
Definition: annotations.h:879
Okular::MovieAnnotation
Movie annotation.
Definition: annotations.h:1488
Okular::Annotation
Annotation struct holds properties shared by all annotations.
Definition: annotations.h:90
Okular::HighlightAnnotation::Highlight
Highlights the text.
Definition: annotations.h:1086
Okular::Annotation::LineStyle
LineStyle
Describes possible line styles for.
Definition: annotations.h:142
Okular::LineAnnotation::Unknown
Unknown intent.
Definition: annotations.h:881
Okular::AnnotationUtils
Helper class for (recursive) annotation retrieval/storage.
Definition: annotations.h:52
Okular::Annotation::Style
The Style class contains all information about style of the annotation.
Definition: annotations.h:305
description
static const char description[]
Definition: main.cpp:33
OKULAR_EXPORT
#define OKULAR_EXPORT
Definition: okular_export.h:30
Okular::AnnotationProxy::Addition
Generator can create native annotations.
Definition: annotations.h:691
Okular::AnnotationProxy::Capability
Capability
Definition: annotations.h:689
Okular::TextAnnotation
Definition: annotations.h:731
Okular::ScreenAnnotation
Screen annotation.
Definition: annotations.h:1534
Okular::Annotation::LineEffect
LineEffect
Describes possible line effects for.
Definition: annotations.h:154
Okular::CaretAnnotation::None
No symbol to be associated with the text.
Definition: annotations.h:1323
Okular::HighlightAnnotation::Underline
Underlines the text.
Definition: annotations.h:1088
Okular::LineAnnotation::RClosedArrow
Using an arrow closed at the right side.
Definition: annotations.h:872
Okular::Annotation::Flag
Flag
Describes additional properties of an annotation.
Definition: annotations.h:125
Okular::HighlightAnnotation::Quad
The Quad class contains 8 coordinates and style definitions which describe a line part of the whole h...
Definition: annotations.h:1122
Okular::WidgetAnnotation
Widget annotation.
Definition: annotations.h:1603
Okular::Movie
Contains information about a movie object.
Definition: movie.h:28
Okular::LineAnnotation::Arrow
Arrow intent.
Definition: annotations.h:882
Okular::LineAnnotation::Diamond
Using a diamond.
Definition: annotations.h:866
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