Subject: | CAM::PDF |
Date: | Fri, 23 Oct 2009 17:19:51 +0000 |
To: | <bug-cam-pdf [...] rt.cpan.org> |
From: | Gary B <glb51 [...] hotmail.com> |
Issue:
------
Cam::PDF method "getPageText" apparently does not render tagged PDF documents. It always fails to render tagged documents, but always renders non-tagged documents. I *really* neeed this feature, especially since tagged documents seem to be becoming the latest trend.
Otherwise, a great product, thanks very much for the code.
Regards,
Gary Brooks
Dallas, TX.
perl -v yields:
---------------
This is perl, v5.10.0 built for MSWin32-x86-multi-thread
uname -a results:
-----------------
WindowsNT <computer name> 1 5 x86
CAM Version:
------------
package CAM::PDF;
use 5.006;
use warnings;
use strict;
use Carp qw(croak cluck);
use English qw(-no_match_vars);
use CAM::PDF::Node;
use CAM::PDF::Decrypt;
our $VERSION = '1.52';
To re-create issue (no warnings/errors, just a blank string):
-------------------------------------------------------------
#!/usr/bin/perl
use CAM::PDF;
#- The following file is a "tagged" PDF
$PDF_file='Z:\5.0 XA SP2 Hotfixes_Rollups\SXA50SP2-HotFix502090618\ReadMe_SXA50SP2_HotFix502090618.pdf';
my $doc = CAM::PDF->new($PDF_file) || die "$CAM::PDF::errstr\n";
my $page1 = $doc->getPageText(1);
print "Page=$page1\n";
exit;
Show quoted text
_________________________________________________________________
New Windows 7: Find the right PC for you. Learn more.
http://www.microsoft.com/windows/pc-scout/default.aspx?CBID=wl&ocid=PID24727::T:WLMTAGL:ON:WL:en-US:WWL_WIN_pcscout:102009