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

okular

Okular::HighlightAnnotation

Okular::HighlightAnnotation Class Reference

#include <annotations.h>

Inheritance diagram for Okular::HighlightAnnotation:

Inheritance graph
[legend]

List of all members.


Detailed Description

Definition at line 1017 of file annotations.h.


Public Types

enum  HighlightType { Highlight, Squiggly, Underline, StrikeOut }

Public Member Functions

 HighlightAnnotation (const QDomNode &description)
 HighlightAnnotation ()
QList< Quad > & highlightQuads ()
HighlightType highlightType () const
void setHighlightType (HighlightType type)
void store (QDomNode &node, QDomDocument &document) const
SubType subType () const
 ~HighlightAnnotation ()

Classes

class  Quad
 The Quad class contains 8 coordinates and style definitions which describe a line part of the whole highlight annotation. More...

Member Enumeration Documentation

enum Okular::HighlightAnnotation::HighlightType

Describes the highlighting style of the annotation.

Enumerator:
Highlight  Highlights the text.
Squiggly  Squiggles the text.
Underline  Underlines the text.
StrikeOut  Strikes out the text.

Definition at line 1023 of file annotations.h.


Constructor & Destructor Documentation

HighlightAnnotation::HighlightAnnotation (  ) 

Creates a new highlight annotation.

Definition at line 1680 of file annotations.cpp.

HighlightAnnotation::HighlightAnnotation ( const QDomNode &  description  )  [explicit]

Creates a new highlight annotation from the xml description.

Definition at line 1685 of file annotations.cpp.

HighlightAnnotation::~HighlightAnnotation (  ) 

Destroys the highlight annotation.

Definition at line 1729 of file annotations.cpp.


Member Function Documentation

QList< HighlightAnnotation::Quad > & HighlightAnnotation::highlightQuads (  ) 

Returns a reference to the quad list of the highlight annotation.

Definition at line 1745 of file annotations.cpp.

HighlightAnnotation::HighlightType HighlightAnnotation::highlightType (  )  const

Returns the type of the highlight annotation.

Definition at line 1739 of file annotations.cpp.

void HighlightAnnotation::setHighlightType ( HighlightType  type  ) 

Sets the type of the highlight annotation.

See also:
HighlightType

Definition at line 1733 of file annotations.cpp.

void HighlightAnnotation::store ( QDomNode &  node,
QDomDocument &  document 
) const [virtual]

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

Reimplemented from Okular::Annotation.

Definition at line 1751 of file annotations.cpp.

Annotation::SubType HighlightAnnotation::subType (  )  const [virtual]

Returns the sub type of the highlight annotation.

Implements Okular::Annotation.

Definition at line 1789 of file annotations.cpp.


The documentation for this class was generated from the following files:
  • annotations.h
  • annotations.cpp

okular

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

kdegraphics

Skip menu "kdegraphics"
  • okular
Generated for kdegraphics by doxygen 1.5.4
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal