a7mdfm / alivepdf

Automatically exported from code.google.com/p/alivepdf
1 stars 0 forks source link

datagrid not displaying properly when it spans multiple pages #310

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. create new Grid Object that is 2-3 pages long
2. use the addGrid method and add it to the pdf
3.

What is the expected output? What do you see instead?
the grid displayed on the pages does not start at the top of the page when it 
continues on to the next page

What version of the product are you using? On what operating system?
0.1.5 - win xp

Please provide any additional information below.

Original issue reported on code.google.com by phillip....@gmail.com on 19 Apr 2011 at 2:23

GoogleCodeExporter commented 9 years ago
Fix Found - Please implement

change below... in the addGrid function (around line 70)

--------------------------------------------
if ( checkPageBreak(rect.height) ){
    addPage();
    //made change to support multi page data grids
        //############################################
    //setXY ( x+getX(), y+getY() );
    setX ( x + getX() );
    //###########################################

Original comment by phillip....@gmail.com on 19 Apr 2011 at 2:27

GoogleCodeExporter commented 9 years ago
How to Add Multiple pages in pdf  using flash as 3

Original comment by solank...@gmail.com on 2 Apr 2013 at 5:30