KItinerary::PdfPage

Search for usage in LXR

KItinerary::PdfPage Class Reference

#include <pdfdocument.h>

Properties

int height
 
QVariantList images
 
QVariantList links
 
QString text
 
int width
 

Public Member Functions

 PdfPage (const PdfPage &)
 
int height () const
 
PdfImage image (int index) const
 
int imageCount () const
 
Q_INVOKABLE QVariantList imagesInRect (double left, double top, double right, double bottom) const
 
PdfLink link (int index) const
 
int linkCount () const
 
Q_INVOKABLE QVariantList linksInRect (double left, double top, double right, double bottom) const
 
PdfPageoperator= (const PdfPage &)
 
QString text () const
 
Q_INVOKABLE QString textInRect (double left, double top, double right, double bottom) const
 
int width () const
 

Detailed Description

A page in a PDF document.

Definition at line 28 of file pdfdocument.h.

Property Documentation

◆ height

int KItinerary::PdfPage::height
read

Definition at line 35 of file pdfdocument.h.

◆ images

QVariantList KItinerary::PdfPage::images
read

Definition at line 32 of file pdfdocument.h.

◆ links

QVariantList KItinerary::PdfPage::links
read

Definition at line 33 of file pdfdocument.h.

◆ text

QString KItinerary::PdfPage::text
read

Definition at line 31 of file pdfdocument.h.

◆ width

int KItinerary::PdfPage::width
read

Definition at line 34 of file pdfdocument.h.

Constructor & Destructor Documentation

◆ PdfPage()

PdfPage::PdfPage ( )

Definition at line 59 of file pdfdocument.cpp.

Member Function Documentation

◆ height()

int PdfPage::height ( ) const

Definition at line 213 of file pdfdocument.cpp.

◆ image()

PdfImage PdfPage::image ( int index) const

The n-th image found in this document.

Definition at line 120 of file pdfdocument.cpp.

◆ imageCount()

int PdfPage::imageCount ( ) const

The number of images found in this document.

Definition at line 114 of file pdfdocument.cpp.

◆ imagesInRect()

QVariantList PdfPage::imagesInRect ( double left,
double top,
double right,
double bottom ) const

Returns the images in the specified sub-rect of this page.

All parameters are relative values between 0 and 1 of the entire page size.

Definition at line 135 of file pdfdocument.cpp.

◆ link()

PdfLink PdfPage::link ( int index) const

The n-th link found in this document.

Definition at line 158 of file pdfdocument.cpp.

◆ linkCount()

int PdfPage::linkCount ( ) const

The number of links found in this document.

Definition at line 152 of file pdfdocument.cpp.

◆ linksInRect()

QVariantList PdfPage::linksInRect ( double left,
double top,
double right,
double bottom ) const

Returns all links in the specified sub-rect of this page.

All parameters are relative values between 0 and 1 of the entire page size. Links are sorted top to bottom / left to right based on their top left corner.

Definition at line 173 of file pdfdocument.cpp.

◆ text()

QString PdfPage::text ( ) const

The entire text on this page.

Definition at line 68 of file pdfdocument.cpp.

◆ textInRect()

QString PdfPage::textInRect ( double left,
double top,
double right,
double bottom ) const

Returns the text in the specified sub-rect of this page.

All parameters are relative values between 0 and 1 of the entire page size.

Definition at line 79 of file pdfdocument.cpp.

◆ width()

int PdfPage::width ( ) const

Page size in millimeters.

Definition at line 203 of file pdfdocument.cpp.


The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Jul 26 2024 11:50:18 by doxygen 1.11.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.