CCIMXDesktop
 
Loading...
Searching...
No Matches
ccpdf_tools Namespace Reference

Functions

CCPdfMetaInfo request_meta (const CCPdfDocument *document)
 request_meta Request all metadata from a PDF document.
 
QVariant request_target_meta (const CCPdfDocument *document, const CCPdfMetaInfo::Field field)
 request_target_meta Request a specific metadata field from the PDF document.
 
QImage request_target_page (CCPdfImageRequest *simpleRequest)
 request_target_page Request a rendered image of a specific page.
 
QList< CCPdfChapterNoderequest_chapter_tree (const CCPdfDocument *document)
 request_chapter_tree Request the chapter/bookmark tree of the PDF document.
 

Detailed Description

Provides tools for extracting metadata and rendering content from PDF documents.

Function Documentation

◆ request_chapter_tree()

QList< CCPdfChapterNode > ccpdf_tools::request_chapter_tree ( const CCPdfDocument document)

request_chapter_tree Request the chapter/bookmark tree of the PDF document.

Parameters
documentPointer to the PDF document.
Returns
List of CCPdfChapterNode representing the chapter hierarchy.

◆ request_meta()

CCPdfMetaInfo ccpdf_tools::request_meta ( const CCPdfDocument document)

request_meta Request all metadata from a PDF document.

Parameters
documentPointer to the PDF document.
Returns
CCPdfMetaInfo structure with extracted metadata.

◆ request_target_meta()

QVariant ccpdf_tools::request_target_meta ( const CCPdfDocument document,
const CCPdfMetaInfo::Field  field 
)

request_target_meta Request a specific metadata field from the PDF document.

Parameters
documentPointer to the PDF document.
fieldMetadata field to retrieve.
Returns
QVariant containing the requested metadata.

◆ request_target_page()

QImage ccpdf_tools::request_target_page ( CCPdfImageRequest simpleRequest)

request_target_page Request a rendered image of a specific page.

Parameters
simpleRequestPointer to CCPdfImageRequest with render parameters.
Returns
QImage of the rendered page.