History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: ZF-449
Type: New Feature New Feature
Status: Open Open
Priority: Major Major
Assignee: Alexander Veremyev
Reporter: Lars Piepho
Votes: 13
Watchers: 14
Operations

If you were logged in you would be able to see more operations.
Google issue summary
Zend Framework

Copy Pages from one document into another

Created: 17/Oct/06 08:20 AM   Updated: 21/May/09 11:40 AM
Component/s: Zend_Pdf
Affects Version/s: 0.1.5
Fix Version/s: Next Minor Release

Time Tracking:
Original Estimate: 4 days
Original Estimate - 4 days
Remaining Estimate: 4 days
Remaining Estimate - 4 days
Time Spent: Not Specified
Remaining Estimate - 4 days

Issue Links:
Related
 

 Public Fields   Internal Project Management Fields   
Tags:
Participants: Alexander Veremyev, Ben Scholzen, Bill Karwin, clive darr, Jozef Hribik, Jozef Hribik, Lars Piepho, Tim Hawkins, Wil Sinclair and Willie Alberty
Fix Version Priority: Nice to Have


 Description  « Hide
When I try to render a page from one PDF into another, new PDF, I get the following exception: "Page is attached to one documen, but rendered in context of another."
The corresponding code in Page.php on line 427 tells me, that cloning has to be implemented instead of this exception. Is anyone actually working on this and if so is there a release date?
I need that function to build a new PDF from several pages of other PDFs.

 All   Comments   Work Log   Change History   FishEye   Crucible      Sort Order: Ascending order - Click to sort in descending order
Bill Karwin - 13/Nov/06 03:26 PM
Changing fix version to 0.6.0.

Alexander Veremyev - 25/May/07 02:26 AM
Need "deep copy" implementation for PDF objects

Alexander Veremyev - 25/May/07 02:27 AM
Postponed to post-1.0 period

Wil Sinclair - 18/Apr/08 01:11 PM
This doesn't appear to have been fixed in 1.5.0. Please update if this is not correct.

Ben Scholzen - 29/Sep/08 06:36 AM
Are you serious about this? As far as I could see, this shouldn't be a huge change, and now this is hanging around since 0.6?

Ben Scholzen - 29/Sep/08 07:30 AM
In my opinion it is not majo anymore, but a blocker. This is one thing among others which prevents me from using Zend_Pdf. Yet FPDF with FPDI are the only good open source option for creating more complex PDFs. If such simple things won't be fixed, you could kinda delete Zend_Pdf to make the Framework more lightweight without any loss. Just my two cents.

Jozef Hribik - 24/Oct/08 06:46 AM
Happy 2-nd birthday to this blocker. You should change the estimation from 4 days to 4 years.

Willie Alberty - 04/Dec/08 10:34 PM
Unassigning Zend_Pdf issues currently assigned to me pending decision on ZF 2.0 release timeframe and potential contribution of comprehensive changeset.

Wil Sinclair - 19/Dec/08 01:02 PM
@Ben Do you have a patch to submit?
@Alex Please evaluate. If this is an issue that we will not address before 1.8, please mark it 'postponed'. We should keep in mind that it has several votes, however, and prioritize it for post-1.8.

Tim Hawkins - 29/Apr/09 02:59 PM
This issue is a major pain in the butt, it makes dynamic pdf file generation beyond the simple cases difficult.

Im generating reports, a report is a document with lots of variable length sections, I need to be able to have a second pdf doc open with templates for the various page types we use in the report, and be able to create new pages in my report document from the templates as we move through the report generation.

The lack of either of the two following functions makes this a pain.

1) Clone a page from another doc into the current doc as a new page.

or

2) Create a new page in the current document from an existing PDF file (like the "Zend_Pdf:;Load()" function).

Either would sort out my issue.


clive darr - 20/May/09 07:21 AM
only workaround is to use TCPDF (http://fsse.info/TCPDF) and http://www.setasign.de/support/manuals/fpdi/ instead of Zend !

Jozef Hribik - 21/May/09 11:40 AM
I already use TCPDF for PDF generation. Hi ZF guys, you should really consider to abandon Zend_Pdf, because it's development stagnates in last 2 years.