What steps will reproduce the problem?
======================================
1. Having a (dynamically created) panel with multiple panels on it (also
dynamically created), where on every panel is one graph.
2. Adding the page with: printPDF.addPage();
3. Adding the image with:
printPDF.addImage(this.parent.parent.parent.getChildAt(i), 0, 0, 0, 0,
'PNG', 100, 1, ResizeMode.RESIZE_PAGE );
What is the expected output?
============================
I expect to get an PDF with a number of pages containing the images of the
corresponding graph.
What do you see instead?
========================
I get a PDF with the correct number of pages, but only the first page shows
the expected image. All other pages are blank.
But, the sizes of the blank pages are correct.
What version of the product are you using?
==========================================
I am using Version 0.1.5
On what operating system?
=========================
We are using a Linux Coldfusion Server CF8
Please provide any additional information below.
================================================
private function doPrint():void {
var printPDF:PDF = new PDF( Orientation.LANDSCAPE, Unit.MM, Size.A4 );
printPDF.setDisplayMode( Display.FULL_PAGE, Layout.SINGLE_PAGE );
for (var i:uint = 0; i< this.parent.parent.parent.numChildren; i++) {
if (this.parent.parent.parent.getChildAt(i) is Panel) {
printPDF.addPage();
printPDF.addImage(this.parent.parent.parent.getChildAt(i), 0, 0, 0,
0, 'PNG', 100, 1, ResizeMode.RESIZE_PAGE );
}
}
printPDF.save( Method.REMOTE, "http://qmsim/pdfCreator.cfm",
Download.INLINE, "pdfCreatorTest.pdf" );
}
=============================================================
What do I have to do, to make this working ?
Please let me know if you need any further details.
Thanks a lot for your Help !!!
Norbert
Original issue reported on code.google.com by nori...@googlemail.com on 26 Apr 2010 at 9:17
Original issue reported on code.google.com by
nori...@googlemail.com
on 26 Apr 2010 at 9:17