Renard::Block::Format::PDF::Document - document that represents a PDF file
version 0.005
Renard::Incunabula::Document
Renard::Incunabula::Document::Role::Boundable
Renard::Incunabula::Document::Role::Cacheable
Renard::Incunabula::Document::Role::FromFile
Renard::Incunabula::Document::Role::Outlineable
Renard::Incunabula::Document::Role::Pageable
Renard::Incunabula::Document::Role::Renderable
method get_rendered_page( (PageNumber) :$page_number )
See Renard::Incunabula::Document::Role::Renderable.
method get_textual_page( (PageNumber) $page_number ) :ReturnType(InstanceOf['String::Tagged'])
Returns a String::Tagged representation of the PDF textual data for a given page. The return value contains tags that indicate the extent of each level as defined by Renard::API::MuPDF::mutool::get_mutool_text_stext_xml:
page,
page
block,
block
line,
line
span, and
span
char
The values associated with these tags can be used to find the bounding box for the symbols on the page.
Project Renard
This software is copyright (c) 2017 by Project Renard.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
To install Renard::Block::Format::PDF, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Renard::Block::Format::PDF
CPAN shell
perl -MCPAN -e shell install Renard::Block::Format::PDF
For more information on module installation, please visit the detailed CPAN module installation guide.