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

okular

  • Okular
  • InkAnnotation
Public Member Functions | List of all members
Okular::InkAnnotation Class Reference

#include <annotations.h>

Inheritance diagram for Okular::InkAnnotation:
Inheritance graph
[legend]

Public Member Functions

 InkAnnotation ()
 
 InkAnnotation (const QDomNode &description)
 
 ~InkAnnotation ()
 
QList< QLinkedList
< NormalizedPoint > > 
inkPaths () const
 
void setInkPaths (const QList< QLinkedList< NormalizedPoint > > &paths)
 
void store (QDomNode &node, QDomDocument &document) const
 
SubType subType () const
 
QList< QLinkedList
< NormalizedPoint > > 
transformedInkPaths () const
 
- Public Member Functions inherited from Okular::Annotation
virtual ~Annotation ()
 
QString author () const
 
NormalizedRect boundingRectangle () const
 
bool canBeMoved () const
 
QString contents () const
 
QDateTime creationDate () const
 
int flags () const
 
QDomNode getAnnotationPropertiesDomNode () const
 
QDateTime modificationDate () const
 
QVariant nativeId () const
 
bool openDialogAfterCreation () const
 
QLinkedList< Revision > & revisions ()
 
const QLinkedList< Revision > & revisions () const
 
void setAnnotationProperties (const QDomNode &node)
 
void setAuthor (const QString &author)
 
void setBoundingRectangle (const NormalizedRect &rectangle)
 
void setContents (const QString &contents)
 
void setCreationDate (const QDateTime &date)
 
void setDisposeDataFunction (DisposeDataFunction func)
 
void setFlags (int flags)
 
void setModificationDate (const QDateTime &date)
 
void setNativeId (const QVariant &id)
 
void setUniqueName (const QString &name)
 
Style & style ()
 
const Style & style () const
 
NormalizedRect transformedBoundingRectangle () const
 
void translate (const NormalizedPoint &coord)
 
QString uniqueName () const
 
Window & window ()
 
const Window & window () const
 

Additional Inherited Members

- Public Types inherited from Okular::Annotation
enum  AdditionalActionType { PageOpening, PageClosing }
 
typedef void(* DisposeDataFunction )(const Okular::Annotation *)
 
enum  Flag {
  Hidden = 1, FixedSize = 2, FixedRotation = 4, DenyPrint = 8,
  DenyWrite = 16, DenyDelete = 32, ToggleHidingOnMouse = 64, External = 128,
  ExternallyDrawn = 256, BeingMoved = 512
}
 
enum  LineEffect { NoEffect = 1, Cloudy = 2 }
 
enum  LineStyle {
  Solid = 1, Dashed = 2, Beveled = 4, Inset = 8,
  Underline = 16
}
 
enum  RevisionScope { Reply = 1, Group = 2, Delete = 4 }
 
enum  RevisionType {
  None = 1, Marked = 2, Unmarked = 4, Accepted = 8,
  Rejected = 16, Cancelled = 32, Completed = 64
}
 
enum  SubType {
  AText = 1, ALine = 2, AGeom = 3, AHighlight = 4,
  AStamp = 5, AInk = 6, ACaret = 8, AFileAttachment = 9,
  ASound = 10, AMovie = 11, AScreen = 12, AWidget = 13,
  A_BASE = 0
}
 

Detailed Description

Definition at line 1265 of file annotations.h.

Constructor & Destructor Documentation

InkAnnotation::InkAnnotation ( )

Creates a new ink annotation.

Definition at line 2164 of file annotations.cpp.

InkAnnotation::InkAnnotation ( const QDomNode &  description)

Creates a new ink annotation from the xml description.

Definition at line 2169 of file annotations.cpp.

InkAnnotation::~InkAnnotation ( )

Destroys the ink annotation.

Definition at line 2174 of file annotations.cpp.

Member Function Documentation

QList< QLinkedList< NormalizedPoint > > InkAnnotation::inkPaths ( ) const

Returns the paths of points of the ink annotation.

Definition at line 2184 of file annotations.cpp.

void InkAnnotation::setInkPaths ( const QList< QLinkedList< NormalizedPoint > > &  paths)

Sets the paths of points for the ink annotation.

Definition at line 2178 of file annotations.cpp.

void InkAnnotation::store ( QDomNode &  node,
QDomDocument &  document 
) const
virtual

Stores the ink annotation as xml in document under the given parent node.

Reimplemented from Okular::Annotation.

Definition at line 2201 of file annotations.cpp.

Annotation::SubType InkAnnotation::subType ( ) const
virtual

Returns the sub type of the ink annotation.

Implements Okular::Annotation.

Definition at line 2196 of file annotations.cpp.

QList< QLinkedList< NormalizedPoint > > InkAnnotation::transformedInkPaths ( ) const

Returns the paths of transformed (e.g.

rotated) points of the ink annotation.

Definition at line 2190 of file annotations.cpp.


The documentation for this class was generated from the following files:
  • annotations.h
  • annotations.cpp
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:45:03 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