I agree. A translator that would parse the preview from FlexReport into alivePDF would be perfect. I am deep in the middle of a project that launches next month so I can't do anything until then, but i look forward to contributing to the cause come March. I actually have thought about a way to do it and may try to do a proof of concept sooner.
Is the FlexReport hosted on an SVN yet? - Kevin --- In flexcoders@yahoogroups.com, "fmotagarcia" <[EMAIL PROTECTED]> wrote: > > Hi, > > FlexReport is not meant to be a replacement for alivePDF (in fact the > built-in pdf generation is alivePDF). FlexReport main intent is to > ease the creation of templates, reducing the amount of code needed to > a minimum, and address all the issues concerning printing in flash. > > I could have extended the code base from alivePDF to enable the > creation of templates, but another VERY IMPORTANT issue I wanted to > address was the print preview. And previewing pdf's in flash is > something not to expect soon. > > I still believe the best way is to preview the printings BEFORE > creating the pdf. I'd love to combine FlexReport and alivePDF. If > someone has the time and skills to make a parser which converted the > reports from FlexReport to alivePDF I'd highly appreciate the > contribution :) > > Regards, > > Frederico Garcia > --- In flexcoders@yahoogroups.com, "Kevin" <lists@> wrote: > > > > For anyone using alivePDF, I think this is a bug in the source. > After checking with FPDF > > source, I think line 2001 in PDF.as should read: > > > > } else this.x += pWidth; > > > > instead of: > > > > } else this.x += currentPage.w; > > > > currently this.x is being set to the page width which pushes any > second cell you try to add > > (on the same line) off the page. > > > > I have posted the issue on the google code page, but I wanted to > post this as well for > > anyone else, hitting their head against a wall with this one. > > > > This class is great. I am just digging in, but I definitely see the > potential. It doesn't have > > the visual 'ease' of FlexReport (from what I can tell glancing at it > today), BUT it allows for a > > very flexible PDF with annotations, etc. > > > > What we BADLY need in flex is a way to view PDF's natively. How > about an Acrobat Flex > > component? Adobe? It truly boggles my mind that the company that > created the PDF > > doesn't have a way to display it in Flex (without iFrame or PDF-SWF > hacks)... I would love > > to understand what the challenge is? > > > > - Kevin > > > > > > > > --- In flexcoders@yahoogroups.com, "Kevin" <lists@> wrote: > > > > > > I am trying to figure out AlivePDF and having some problems which > I don't know if they > > are > > > bugs or user ignorance! Any help would be appreciated from anyone > who has more > > > experience than I. > > > > > > I am just trying to lay out cell horizontally. This is how I > understand it should be done. > > > > > > This does NOT work (for me): > > > > > > var myPDF : PDF = new PDF(Orientation.PORTRAIT,Unit.MM,Size.LETTER); > > > myPDF.addPage(Orientation.PORTRAIT); > > > myPDF.setFont(FontFamily.HELVETICA, 'B', 12); > > > myPDF.textStyle ( new RGBColor ( 255, 0, 0 ) ); > > > myPDF.addCell(50,10,'Some text into a cell !',1,0); > > > myPDF.addCell(50,10,'More text into a cell !',1,0); > > > myPDF.addCell(50,10,'Last text into a cell !',1,0); > > > > > > However this works to lay them out vertically: > > > > > > var myPDF : PDF = new PDF(Orientation.PORTRAIT,Unit.MM,Size.LETTER); > > > myPDF.addPage(Orientation.PORTRAIT); > > > myPDF.setFont(FontFamily.HELVETICA, 'B', 12); > > > myPDF.textStyle ( new RGBColor ( 255, 0, 0 ) ); > > > myPDF.addCell(50,10,'Some text into a cell !',1,1); > > > myPDF.addCell(50,10,'More text into a cell !',1,1); > > > myPDF.addCell(50,10,'Last text into a cell !',1,1); > > > > > > What am I doing wrong to create horizontal cells? > > > > > > - Kevin > > > > > >