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

okular

  • Okular
  • PagePrivate
Classes | Public Member Functions | Public Attributes | List of all members
Okular::PagePrivate Class Reference

#include <page_p.h>

Classes

class  PixmapObject
 

Public Member Functions

 PagePrivate (Page *page, uint n, double w, double h, Rotation o)
 
 ~PagePrivate ()
 
void changeSize (const PageSize &size)
 
void deleteHighlights (int id=-1)
 
void deleteTextSelections ()
 
void imageRotationDone (RotationJob *job)
 
void restoreLocalContents (const QDomNode &pageNode)
 
void rotateAt (Rotation orientation)
 
QTransform rotationMatrix () const
 
void saveLocalContents (QDomNode &parentNode, QDomDocument &document, PageItems what=AllPageItems) const
 
void setHighlight (int id, RegularAreaRect *area, const QColor &color)
 
void setTextSelections (RegularAreaRect *areas, const QColor &color)
 
void setTilesManager (TilesManager *tm)
 
TilesManager * tilesManager () const
 

Public Attributes

QLinkedList< FormField * > formfields
 
NormalizedRect m_boundingBox
 
Action * m_closingAction
 
DocumentPrivate * m_doc
 
double m_duration
 
double m_height
 
bool m_isBoundingBoxKnown: 1
 
QString m_label
 
int m_number
 
Action * m_openingAction
 
Rotation m_orientation
 
Page * m_page
 
QMap< DocumentObserver
*, PixmapObject > 
m_pixmaps
 
Rotation m_rotation
 
TextPage * m_text
 
HighlightAreaRect * m_textSelections
 
TilesManager * m_tilesManager
 
PageTransition * m_transition
 
double m_width
 
QDomDocument restoredLocalAnnotationList
 

Detailed Description

Definition at line 55 of file page_p.h.

Constructor & Destructor Documentation

PagePrivate::PagePrivate ( Page *  page,
uint  n,
double  w,
double  h,
Rotation  o 
)

Definition at line 67 of file page.cpp.

PagePrivate::~PagePrivate ( )

Definition at line 83 of file page.cpp.

Member Function Documentation

void PagePrivate::changeSize ( const PageSize &  size)

Changes the size of the page to the given size.

The size is meant to be referred to the page not rotated.

Definition at line 416 of file page.cpp.

void PagePrivate::deleteHighlights ( int  id = -1)

Deletes all highlight objects for the observer with the given id.

Definition at line 757 of file page.cpp.

void PagePrivate::deleteTextSelections ( )

Deletes all text selection objects of the page.

Definition at line 774 of file page.cpp.

void PagePrivate::imageRotationDone ( RotationJob *  job)

Definition at line 93 of file page.cpp.

void PagePrivate::restoreLocalContents ( const QDomNode &  pageNode)

Loads the local contents (e.g.

annotations) of the page.

Definition at line 796 of file page.cpp.

void PagePrivate::rotateAt ( Rotation  orientation)

Rotates the image and object rects of the page to the given orientation.

Rotate the images of the page.

Rotate tiles manager

Rotate the object rects on the page.

Definition at line 367 of file page.cpp.

QTransform PagePrivate::rotationMatrix ( ) const

Definition at line 119 of file page.cpp.

void PagePrivate::saveLocalContents ( QDomNode &  parentNode,
QDomDocument &  document,
PageItems  what = AllPageItems 
) const

Saves the local contents (e.g.

annotations) of the page.

Definition at line 880 of file page.cpp.

void PagePrivate::setHighlight ( int  id,
RegularAreaRect *  area,
const QColor &  color 
)

Sets the color and area of the highlight for the observer with the given id.

Definition at line 582 of file page.cpp.

void PagePrivate::setTextSelections ( RegularAreaRect *  areas,
const QColor &  color 
)

Sets the color and areas of text selections.

Definition at line 591 of file page.cpp.

void PagePrivate::setTilesManager ( TilesManager *  tm)

Definition at line 1019 of file page.cpp.

TilesManager * PagePrivate::tilesManager ( ) const

Get/set the tiles manager for the tiled observer.

Definition at line 1014 of file page.cpp.

Member Data Documentation

QLinkedList< FormField * > Okular::PagePrivate::formfields

Definition at line 133 of file page_p.h.

NormalizedRect Okular::PagePrivate::m_boundingBox

Definition at line 127 of file page_p.h.

Action* Okular::PagePrivate::m_closingAction

Definition at line 135 of file page_p.h.

DocumentPrivate* Okular::PagePrivate::m_doc

Definition at line 126 of file page_p.h.

double Okular::PagePrivate::m_duration

Definition at line 136 of file page_p.h.

double Okular::PagePrivate::m_height

Definition at line 125 of file page_p.h.

bool Okular::PagePrivate::m_isBoundingBoxKnown

Definition at line 139 of file page_p.h.

QString Okular::PagePrivate::m_label

Definition at line 137 of file page_p.h.

int Okular::PagePrivate::m_number

Definition at line 123 of file page_p.h.

Action* Okular::PagePrivate::m_openingAction

Definition at line 134 of file page_p.h.

Rotation Okular::PagePrivate::m_orientation

Definition at line 124 of file page_p.h.

Page* Okular::PagePrivate::m_page

Definition at line 122 of file page_p.h.

QMap< DocumentObserver*, PixmapObject > Okular::PagePrivate::m_pixmaps

Definition at line 119 of file page_p.h.

Rotation Okular::PagePrivate::m_rotation

Definition at line 128 of file page_p.h.

TextPage* Okular::PagePrivate::m_text

Definition at line 130 of file page_p.h.

HighlightAreaRect* Okular::PagePrivate::m_textSelections

Definition at line 132 of file page_p.h.

TilesManager* Okular::PagePrivate::m_tilesManager

Definition at line 120 of file page_p.h.

PageTransition* Okular::PagePrivate::m_transition

Definition at line 131 of file page_p.h.

double Okular::PagePrivate::m_width

Definition at line 125 of file page_p.h.

QDomDocument Okular::PagePrivate::restoredLocalAnnotationList

Definition at line 140 of file page_p.h.


The documentation for this class was generated from the following files:
  • page_p.h
  • page.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