Skip Menu |

This queue is for tickets about the CAM-PDF CPAN distribution.

Report information
The Basics
Id: 88906
Status: new
Priority: 0/
Queue: CAM-PDF

People
Owner: Nobody in particular
Requestors: dario.santini [...] gmail.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: PATCH for append page content on array of reference of stream obj
Date: Mon, 23 Sep 2013 14:56:38 +0200
To: bug-CAM-PDF [...] rt.cpan.org
From: Dario Santini <dario.santini [...] gmail.com>
if u get a pdf like dadbdcdd.pdf (attached) where page 1 content is disttributed over more than 1 objects strams under 1 array object reference and u need to append content to page 1.. I prepared the patch cahange line CAM/PDF.pm:3144 whit this short code. Show quoted text
>>>
my $contents = $self->getValue($page->{Contents}); if ( ref $contents eq 'ARRAY' ) { push @{$contents}, $streamref; } else { $page->{Contents} = CAM::PDF::Node->new('array', [ $page->{Contents}, $streamref ], $objnum, $gennum); } <<< regards D.
Download dadbdcdd.pdf
application/pdf 272.2k

Message body not shown because it is not plain text.