online cheap medications order generic bactrim price, and buy cheap online buy cheap discount lasix, and cheap pharmacy lipitor without rx, and online ordering accutane review, and order cheap how much acyclovir to kill, and buy cheapest synthroid order online, and pharmacy cheapest cheap baclofen pill, and order online directions for taking clomid, and online cheap medications cheap hydrochlorothiazide without rx, and cheap pharmacy purchase amoxil cod overnight delivery, and cheap pharmacy arimidex online overnight, and buy cheap online buy buy zithromax pill online, and order online online valtrex prescription in utah, and buy cheapest buy cheap discount online flagyl, and buy online zovirax (acyclovir) cheapest, and buy cheap how to buy prozac online without a rx, and cheap pharmacy cash on delivery paxil, and cheap pharmacy diflucan cod delivery next day, and purchase no prescription propecia cancer prevention, and generic medications neurontin and online overnight delivery, and purchase no prescription norvasc fedex shipping, and online ordering purchase doxycycline next day cod, and ordering online feminizing effects of premarin, and buy cheap online buspar and wellbutrin, and online cheap medications order overnight retin-a, and

Early AlivePDF release

Hi everybody :) . It's been a long time since version was released !

Some cool things are happening for AlivePDF. Two new contributors joined AlivePDF development, I am happy to welcome Mark Lynch and Alexandre Pires who already did a great job implementing a new method called writeFlashHTMLText to handle basic HTML tags. We are still doing some tests with the current beta and it is still under heavy development ;)

You can download an early early beta version of AlivePDF on the SVN available here. (Yes !, AlivePDF SVN is finally up !)

For now here is the new stuff in this version :

  • Fixing European character issues
    Thank you Fabien for telling me about issues with european characters, this was fixed in earlier versions and came back because of a typo in the source code !)
  • Added a frame parameter to the save() method to open the PDF in a specific frame
    This was asked in the issues list and added.
  • Switched from private to protected to allow PDF class subclassing
    We think that it will be easier to all of you to extend the PDF core class by allowing to extend it. PDF class is not is not set to final anymore
    This will allow us to develop a PDF subclass handling advanced HTML tags. PDF core class will therefore handle only classic HTML tags.
  • Added a writeFlashHTMLText() to handle basic HTML tag
    This method will handle classic HTML tags (you can see that by its name).
  • Added a header() and footer() to be overriden to implement easy pagination and automatic title on each page
    Now that the PDF class can be subclassed, two new methods have been added. They are called automatically when a page is created. If you override those, you will be able to implement easily custom page titling and pagination.

Now, you may be asking, where is this great method called addGrid he told us about a few months ago !!?
It's definitely coming for this version, I spent a LOT of time working on font embedding (which is not yet finished) and did not focus on the addGrid method. But from what I can see in your comments, you really need this one. So I am going to stick to this one right now :)

A lot of new stuff is coming up for AlivePDF, I think one of the next big features coming in AlivePDF is XSL-FO support !

Comments 46

  1. Cody Ahlquist wrote:

    Wow this is awesome, thanks for all the hard work. I am very happy to hear that addGrid function is still going to be implemented. I basically wrote my on functions for doing it, and it would be nice to just use a built in one.

    Posted 13 Jan 2009 at 2:03 am
  2. Maurice wrote:

    Ditto on the awesome progress. Finding this site has made my week. XSL-FO support would be great as well as just XML.

    Thanks again.

    Posted 14 Jan 2009 at 2:49 am
  3. Pete Appleby wrote:

    This is cool stuff! Very nice!

    By the way, I have tried to register a couple of times and have not received an email confirmation.

    My wish list item is to be able to open an existing PDF file and access form fields read/write. This way we can merge form letters, proposals, and contracts in write mode. In read mode, we can use AIR and SQLite to retain info from the proposals, contracts, etc. in a database for future use. The data could then be uploaded and synched to a web service. This would be my ideal occasionally connected application.


    Posted 15 Jan 2009 at 4:49 am
  4. tmm wrote:

    Thank you very much for your work!

    I couldn’t find where I could ask a question; so I hope if I ask it here, someone will help me.

    I’m in a project where flex+tomcat+blazeDS is used. I think is for this case. Could anyone please tell me what I do with this file and where I place it so I can call it in save() method from my Flex application?

    Posted 16 Jan 2009 at 2:00 am
  5. John H wrote:

    Great work. Curious as to when the function to write pdf to the Flex app will happen. I think I saw this in one of your earlier posts. We need to create the pdf internal and then save to an internal folder, not inline or to the users.


    Posted 20 Jan 2009 at 12:18 am
  6. Charles C wrote:

    Great work! I’m using the last release now and addFooter() is exactly what I’m looking for!

    Also, “Of course this concept (addGrid()) will be extended to charts components and more” — this will be so great! Looking forward to it.

    Posted 22 Jan 2009 at 2:25 am
  7. Dal Mon wrote:

    Anyone notice that for the new version of Adobe Reader, the default display is 110 pixels per inch?

    The images don’t render as clearly for some reason. If I change it back in

    Edit -> Preferences -> Page Display -> ‘Use System Settings (96 pixels)’

    Then it becomes clear again… Anyone know of a way to work around this?

    Posted 26 Jan 2009 at 7:05 pm
  8. Andrew Odri wrote:

    Awesome Theo, your the man. I haven’t played around with yet, but the ability to use the PDF class as a superclass will be awesome for creating custom PDF forms.

    Thanks for the new features, and keep up the good work – I cannot wait until the font embedding becomes available :)

    Posted 27 Jan 2009 at 11:08 pm
  9. Jeff Battershall wrote:


    The image rendering issue is something I’m very interested in. In my Flex app I’m taking an image snapshot of a report and then creating a PDF of it. Works fine with a roundtrip to CF (using CF to generate the PDF) using PNG as the image type, but I can’t get those kind of results using alivepdf Has this been addressed in

    Thanks, Jeff

    Posted 28 Jan 2009 at 2:47 pm
  10. Fabien wrote:

    Hi Thibault,
    I spend a lot of time searching for a solution, but I wasn’t to far … it is nothing great, but useful
    I had to edit your class and replace the sending data method to a URL loader to send the bite array as a post but self, to get the pdf generation in a silent mode, then send it by email.
    by remplacing in the :
    navigateToURL ( myRequest, “_blank” );
    var urlLoader:URLLoader = new URLLoader;
    urlLoader.load (myRequest);
    Hope it can useful for other people, might be include in the doc.
    Regards, Fab

    Posted 28 Jan 2009 at 3:06 pm
  11. Dave Spaar wrote:

    Hi, I think this work is awesome too, but I’m having trouble getting it to work. I signed up for an account yesterday, but haven’t received any email about it, so I can’t log in. PLEASE check this out, I’d really like to be involved here but it’s basically impossible if I can’t get any aid whatsoever to get started… :)

    thanks in advance for any help.

    Posted 30 Jan 2009 at 6:20 pm
  12. Thibault Imbert wrote:

    Hi Dave,

    How can I help you ?



    Posted 30 Jan 2009 at 6:22 pm
  13. Dave Spaar wrote:

    Hi Thibault, thanks so much for the response. I signed up for an account under the username of SolitonMan, but I never received a password in my email. If you could check on this and let me know if the account was in fact created, maybe you can send me the email that provides password instructions?

    On a technical note, when I try to run the sample for Flash, I find that the $GLOBALS["HTTP_RAW_POST_DATA"] parameter is not being set for the create.php to read. I can’t figure out what might be wrong that is causing this. Any insight you could provide would be welcome. Thanks in advance for your help! :)

    Posted 30 Jan 2009 at 6:47 pm
  14. Mark DiCamillo wrote:

    When do you expect to add in support for Font Face? Next release?

    Posted 31 Jan 2009 at 11:50 pm
  15. Lauren wrote:

    Hi Thibault,

    When using .writeFlashHTMLText, I have text like this:

    There is a sentence with parentheses (and text inside the parentheses).

    If a line break happens inside the parentheses, the sentence cuts off and does something like this:

    There is a sentence with parentheses (and text) Tj ET BT 74.83

    Any idea how to fix this?

    Posted 03 Feb 2009 at 12:58 am
  16. Thibault Imbert wrote:

    Hi Lauren,

    I see what is happening, I will fix that and update the current release in the SVN trunk.

    I will let you know when it’s available :)



    Posted 03 Feb 2009 at 3:09 am
  17. Thomas wrote:

    Thank you very much for your work!

    I have a project for a firm that produce stamps. the tool that im programming in ac3 use over 700 fonts. my question is now when is font embedding posible in alive pdf?

    Thank you for your help…


    Posted 04 Feb 2009 at 1:05 am
  18. Phil wrote:

    Hi Thibault,
    I do not understand how to implement the function writeFlashHTML in my flex’s project. I use version and I can not find the swc for Thank you and Good day

    Posted 04 Feb 2009 at 2:10 pm
  19. Lauren wrote:

    I am having some problems implementing bookmarks as well – I see that there was an issue posted back in 2007, and am wondering if it was ever resolved:

    pdf.setDisplayMode(Display.FULL_PAGE, Layout.SINGLE_PAGE, PageMode.USE_OUTLINES);
    var newPage:Page = new Page (Orientation.PORTRAIT, Unit.POINT, Size.LETTER);
    pdf.addBookmark(entry.entryName, 0, 0, myColor);

    This does not give an “Outline” view when I open the PDF.
    Am I doing something wrong? Could you post an example of how this is actually
    supposed to work?

    Posted 04 Feb 2009 at 10:59 pm
  20. Amrit wrote:

    This is really cool!!! I have two questions:
    1. How do I call to a javascript function for downloading the file instead of a php script. (I am not allowed any server side scripting for this project :( )
    2. If I add a vbox to the pdf file which in turn contains labels, pictures and datagrids, will all of it be successfully added to pdf file or do I need to add them individually?
    Thanks for writing this lib.. you rock!

    Posted 06 Feb 2009 at 1:55 am
  21. Justin wrote:

    Hey, has there been any progress with adding transparent PNG images after? I have the latest alivePDF and still cannot send transparent pngs to the PDF. Thought this issue was solved already.

    Anyways, thanks for this api, i love it!

    Posted 09 Feb 2009 at 5:28 pm
  22. David Hinkle wrote:


    We need the addgrid method very bad. Can you give us what you’ve completed so far so that I can finish it?

    Please contact me at my email:

    Posted 09 Feb 2009 at 11:29 pm
  23. Charles C wrote:

    Hello Thibault,

    I’m generating PDF with a few charts in it. They are children of a viewstack. I found if the chart is not the current selected child of the viewstack, then the image on PDF is not correctly displayed. I have made the viewstack to have creationPolicy=”all” and it still does not help…am I doing anything wrong?


    Posted 10 Feb 2009 at 9:38 pm
  24. lexx wrote:

    Thibault Imbert, what about server-side .NET ?

    Posted 11 Feb 2009 at 1:00 pm
  25. lexx wrote:

    sorry, looked sources Core/create.cs =)
    waiting for version

    Posted 11 Feb 2009 at 5:54 pm
  26. Phiphou wrote:

    Hi Thibault,

    As you may know, I’m french (We briefly met at MaX) but I write in english so that everyone can read me.

    I use your awesome lib AlivePDF for some my projects, and I’ve got some questions :

    - do you plan to implement SVG support ?
    - I know PDF in version 9 and earlier can embed Flash Movies. Do you plan to add this ?
    - do you plan to implement PNG with alpha support ?

    Thanks for your quick and accurate reply.

    Posted 11 Feb 2009 at 5:59 pm
  27. Dan wrote:

    Hi Thibault,

    Just getting into the lib, but it looks absolutely awesome, and has been really easy to use thus far.

    Like many, I’m very keen on the .ttf & .otf support. I’m also new to Flex, and thought I understood that it wasn’t very friendly with FP10. So, I saw your ttf/otf to afm parser sample, and I’m wondering: Will 0.1.5′s usage of ttf/otf require compiling for FP10, and wouldn’t this cause some issues?

    It seems that the FP10-specific feature in your sample is the client-side injection, yes? So, if embed was on the server-side, could the same principal work in FP9?


    Posted 12 Feb 2009 at 1:04 am
  28. Julien wrote:

    Bonjour Thibault,
    Je crée des tableaux à la main et une ligne sur deux je remplis le fond de la cellule avec une couleur différente. Le problème que j’ai est qu’à partir de la 2eme page la 1ere cellule de ma première page se remplit automatique de noir.

    merci d’avance


    Posted 17 Feb 2009 at 2:10 pm
  29. Pushpendra wrote:

    Hi All,
    We have a requirment of exporting all the data of advanced grid into PDF, excel. I explored a lot but couldn’t find the solution. for PDF conversion, it seems alive PDF would be useful. Could anybody please post a sample code which retrives the data from advanced grid and export/save it into PDF and excel format.That would be great help from all of you:)
    Thanks in advance to all of you..


    Posted 17 Feb 2009 at 6:15 pm
  30. Christophe wrote:

    I tested multiple platforms and found that AlivePDF does not work on Linux.

    Apparently the Linux Flash Player has a bug in ByteArray.writeMultiByte(), which is used in

    Posted 20 Feb 2009 at 11:21 pm
  31. Dustin Tauer wrote:

    Hi Thibault -

    Great library. I’m really enjoying working with it. Do you have a Classic ASP version of the create.php? I can’t use the .NET version and would love a create.asp file to use. Thanks!

    Posted 16 Mar 2009 at 12:39 am
  32. venkat wrote:

    I would like to know how to add header and footer for all pages. Can you please suggest some how?.

    Posted 18 Mar 2009 at 8:24 am
  33. Thibault Imbert wrote:

    Hi venkat,

    If you extend the PDF class and override the header and footer methods, you will be able to implement an automatic header and footer creation.

    let me know,



    Posted 18 Mar 2009 at 10:44 am
  34. Julien wrote:

    Bonjour Thibault,
    J’ai un soucis avec la methode writeFlashHtmlText(….). En effet je lui injecte le htmlText d’un RichTextEditor et en lui spécifiant des positions X et Y

    Par exemple je setXY(150, 150). la 1ere ligne se positionne corectement mais le reste ne prend pas en compte la position X précisé, le texte se position a partir des marges

    Aurez-tu une idée sur ce soucis ?

    merci d’avance

    Posted 20 Mar 2009 at 5:41 pm
  35. wayne_crede wrote:

    Hi Thibault,

    Can you throw us a line for the usage of .writeFlashHTMLText() as I’m struggling with it here! I’ve downlaoded the 1.4.8 and can see the implementation on the file but I only get errors saying flash can’t access a null object?

    Any help would greatly appreciated.

    Looking forward (and checking daily) to 1.5!

    Keep up the excellent work,


    Posted 08 Apr 2009 at 9:49 am
  36. Brand Gamblin wrote:

    Thank you very much for this helpful tool!

    Where can I find an example of the header/footer overrides? Looking through the Google Code project, I don’t see it ever being called or used.

    Posted 08 Apr 2009 at 11:53 pm
  37. Brand Gamblin wrote:

    As a follow-up, I’ve found that overridden headers can have objects added to them just like other page areas. However, I notice that the headers never show up unless the data from one page spans a second. I mean, if I have all my data on each addPage call, I never see a header. Is that how it’s supposed to be?

    Posted 09 Apr 2009 at 11:47 pm
  38. Andreas Dormann wrote:

    Hi Thibault,

    I checked out the Beta (0.1.5) and might have found a bug in on line 2214: if ( align==Align.CENTER ) should be if ( align==Align.RIGHT ), right?

    Sorry, there’s one thing to say: great work and great library!

    Posted 28 Jul 2009 at 9:08 pm
  39. Thibault Imbert wrote:

    Hi Andreas,

    Hehe you discovered the early surprise :) Please consider it as really alpha, but a LOT of stuff has been improved, new features I will document and some bugs are fixed. As you may have noticed the API has changed a little so this gives you a sneak peak of it.

    You are right, it should be Align.RIGHT. Bad refactoring here ;) Please test this new alpha release, it should not break anything else but well :)

    Thanks again ;)


    Posted 28 Jul 2009 at 9:23 pm
  40. ren wrote:

    How to added and footer. can anyone send me sample code plz?

    Posted 29 Mar 2010 at 6:43 pm
  41. Raj wrote:

    Thibault Imbert-

    I have the same question as Charles. I’m tyring to generate pdf of charts and datagrids which exist in child views of a viewstack. I set the creationPolicy of the viewstack to “all”. only the selected child chart image is good, rest of the charts are not captured fully and the image quality is poor.


    Posted 04 May 2010 at 2:42 pm
  42. Flexer wrote:

    Does anyone have experience with using AlivePDF and BlazeDS together? Setup/Examples/Thoughts? Wondering about wear to put

    Perhaps a subject for another video?


    Posted 10 Jun 2010 at 11:25 pm
  43. Scott wrote:

    Hi Thibault,

    I was looking into adding custom header & footer methods via extending the PDF class, as you suggest above. I did this (created a test ‘PDFExtended’ class), overriding the header() and footer() methods. I started with just re-using your “demo” code (thanks for those examples!). I am extending version 0.1.5 R.

    Then I noticed something odd about the footer’s presence on pages. The footer doesn’t get placed on the first page in my generated PDF, and it gets placed two times on the last page of the PDF (I could visible see the darkened footer text on the last page, from two stacked text blocks).

    Tracing out totalPages shows me the same value for, the last page, twice – this seemed to confirm the redundant placement on the last page.

    Any thoughts or ideas? A fix, or maybe something else I should do in my extended class?

    Posted 22 Jul 2010 at 4:23 am
  44. Dejan wrote:

    This code solves Scott’s problem …

    public function addPage ( page:Page=null ):Page
    if ( page == null )
    page = new Page ( defaultOrientation, defaultUnit, defaultSize, defaultRotation );

    if( nbPages > 0 )
    inFooter = true;
    inFooter = false;

    pagesReferences.push ( (3+(arrayPages.length< 0 )

    Posted 17 Feb 2011 at 5:17 pm
  45. Dejan wrote:

    Ups :)

    public function addPage ( page:Page=null ):Page
    if ( page == null )
    page = new Page ( defaultOrientation, defaultUnit, defaultSize, defaultRotation );

    if( nbPages > 0 )
    inFooter = true;
    inFooter = false;

    pagesReferences.push ( (3+(arrayPages.length<<1))+\’ 0 R\’ );

    arrayPages.push ( currentPage = page );

    page.number = pagesReferences.length;

    if ( state == PDF.STATE_0 )

    if( nbPages > 0 )

    Posted 17 Feb 2011 at 5:22 pm
  46. Cyril wrote:

    thanks Thibalut for your amazing work!
    and thanks to Dejan for fixing this one!!

    Posted 07 Mar 2011 at 12:21 pm

Post a Comment

Your email is never published nor shared. Required fields are marked *