CAM::PDF::Content

CAM::PDF::Content is a PDF page layout parser.
Download

CAM::PDF::Content Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Perl Artistic License
  • Price:
  • FREE
  • Publisher Name:
  • Clotho Advanced Media Inc.
  • Publisher web site:
  • http://search.cpan.org/~clotho/

CAM::PDF::Content Tags


CAM::PDF::Content Description

CAM::PDF::Content is a PDF page layout parser. CAM::PDF::Content is a PDF page layout parser.SYNOPSIS use CAM::PDF; my $pdf = CAM::PDF->new($filename); my $contentTree = $pdf->getPageContentTree(4); $contentTree->validate() || die 'Syntax error'; print $contentTree->render('CAM::PDF::Render::Text'); $pdf->setPageContent(5, $contentTree->toString());This class is used to manipulate the layout commands for a single page of PDF. The page content is passed as a scalar and parsed according to Adobe's PDF Reference 3rd edition (for PDF v1.4). All of the commands from Appendix A of that document are parsed and understood.Much of the content object's functionality is wrapped up in renderers that can be applied to it. See the canonical renderer, CAM::PDF::GS, and the render() method below for more details.What's New in This Release:· Perl


CAM::PDF::Content Related Software