Poppler::TextAnnotation Class Reference

Annotation containing text. More...

#include <poppler-annotation.h>

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

List of all members.

Public Types

enum  InplaceIntent { Unknown, Callout, TypeWriter }
enum  TextType { Linked, InPlace }

Public Member Functions

QPointF calloutPoint (int id) const
int inplaceAlign () const
InplaceIntent inplaceIntent () const
QString inplaceText () const
void setCalloutPoint (int id, const QPointF &point)
void setInplaceAlign (int align)
void setInplaceIntent (InplaceIntent intent)
void setInplaceText (const QString &text)
void setTextFont (const QFont &font)
void setTextIcon (const QString &icon)
void setTextType (TextType type)
virtual void store (QDomNode &parentNode, QDomDocument &document) const
virtual SubType subType () const
 TextAnnotation (const QDomNode &node)
QFont textFont () const
QString textIcon () const
TextType textType () const

Detailed Description

Annotation containing text.

A text annotation is an object showing some text directly on the page, or linked to the contents using an icon shown on a page.


Member Function Documentation

void Poppler::TextAnnotation::setTextIcon ( const QString &  icon  ) 

Set the name of the icon to use for this text annotation.

See also:
textIcon for the list of standard names
QString Poppler::TextAnnotation::textIcon (  )  const

The name of the icon for this text annotation.

Standard names for text annotation icons are:

  • Comment
  • Help
  • Insert
  • Key
  • NewParagraph
  • Note (this is the default icon to use)
  • Paragraph

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

Generated on Sun Oct 18 01:52:22 2009 for Poppler Qt4 by  doxygen 1.6.1