Poppler Qt4 0.18.1
Classes | Public Types | Public Member Functions | Public Attributes
Poppler::Annotation Class Reference

Annotation class holding properties shared by all annotations. More...

#include <poppler-annotation.h>

Inheritance diagram for Poppler::Annotation:
Inheritance graph
[legend]
Collaboration diagram for Poppler::Annotation:
Collaboration graph
[legend]

List of all members.

Classes

struct  Revision
struct  Style
struct  Window

Public Types

enum  Flag {
  Hidden = 1, FixedSize = 2, FixedRotation = 4, DenyPrint = 8,
  DenyWrite = 16, DenyDelete = 32, ToggleHidingOnMouse = 64, External = 128
}
enum  LineEffect { NoEffect = 1, Cloudy = 2 }
enum  LineStyle {
  Solid = 1, Dashed = 2, Beveled = 4, Inset = 8,
  Underline = 16
}
enum  RevScope { Reply = 1, Group = 2, Delete = 4 }
enum  RevType {
  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, ALink = 7, ACaret = 8,
  AFileAttachment = 9, ASound = 10, AMovie = 11, A_BASE = 0
}

Public Member Functions

QString author () const
QRectF boundary () const
QString contents () const
QDateTime creationDate () const
int flags () const
QDateTime modificationDate () const
const QLinkedList< Revision > & revisions () const
QLinkedList< Revision > & revisions ()
void setAuthor (const QString &author)
void setBoundary (const QRectF &boundary)
void setContents (const QString &contents)
void setCreationDate (const QDateTime &date)
void setFlags (int flags)
void setModificationDate (const QDateTime &date)
void setUniqueName (const QString &uniqueName)
virtual void store (QDomNode &parentNode, QDomDocument &document) const
virtual SubType subType () const =0
QString uniqueName () const
virtual ~Annotation ()

Public Attributes

struct Poppler::Annotation::Style style
struct Poppler::Annotation::Window window

Detailed Description

Annotation class holding properties shared by all annotations.

An Annotation is an object (text note, highlight, sound, popup window, ..) contained by a Page in the document.


Member Function Documentation

void Poppler::Annotation::setUniqueName ( const QString &  uniqueName)

Sets a new unique name for the annotation.

Note:
no check of the new uniqueName is done

The documentation for this class was generated from the following file: