I´d like to generate a PDF / client-side on the fly with actionscript. The generated PDF should contain a header and footer and various hight quality images (no problem).
However - a html text (generated by the server, served via PHP and prepared by removing the unwanted html tags with strip_tags) should be displayed in a box on the left side of the PDF (orientation: landscape) The required HTML tags are: b,i,u,p and (important) unordered lists (ul, li). The Box containing the html text must have specific dimensions (so wordwrap is a necessity)
I have so far found no actionscript lib capable of doing what I want to achieve (various implementations of a few html tags but e.g. list tags are missing everywhere - and: displaying the html in a box with specified dimensions seems to be missing as well)
My approach at the moment would be like this:
this seems to work only in purePDF (alivePDF gives my a warning, that the image type is not supported yet)
however - even in purePDF the quality of the generated text / bitmap is horrible (naturally - as we have lost all scalability of the vector graphic / fonts)
I´d rather like the approach with generating the textfield / htmltext in actionscript (as I have lost faith in the ability of the libs to do the HTML formating alone)
But this all seems very strange to me (PDF is adobe, as is flash) - I think I might have overlooked something very simple and essential here.
Does anyone know how to handle my problems (html in constrains and positioning in one of the libs with the giben html tags, creating a smooth, vector like graphic from the textfield to be included in the PDF or some other approach ?
Thanks in advance, Matthias
ps: client side generation is a necessity...