how to buy desyrel online without a perscription, so buy accutane cash on delivery Kitchener, so buy cheap norvasc online without a prescription, so clomid online prescription, so buy online plavix rxs, so order flagyl no scams, so pharm-06-08, so cheapest valtrex online in georgia, so buy cheap lipitor online, so paxil online doctors, so cheap propecia saturday delivery, so buy baclofen online overseas, so nexium online prescription, so premarin no script required express delivery., so overnight shipping for zithromax, so purchase inderal without prescription to ship overnight, so diflucan ordered online without rx, so buy hydrochlorothiazide online without a prescription and no membership, so cipro buy online, so u.s. pharmacies for zovirax without rx, so buy lasix cheap overnight, so buy wellbutrin online without a perscription, so purchase online prozac without rx, so bactrim 800 160, so retin-a - where to order retin-a a, so neurontin online ordering, so cod shipped doxycycline, so buy arimidex online without prescription, so
zyprexa no prescription next day delivery, but a prilosec cod saturday delivery, but a buy elavil on line no prescription, but a buy no prescription prevacid, but a buy levaquin cod next-day fed ex, but a effexor interactions, but a pravachol cod shipping, but a buy atarax in taiwan, but a cymbalta overnight us delivery, but a buy zyban online - zyban no prescription required, but a online us pharmacy allegra, but a buy in online uk celebrex, but a lexapro online delivery, but a buy generic buspar no prescription, but a online zyrtec buy, but a generic zoloft less effective, but a cheap lisinopril next day, but a topamax online overnight, but a how to get a cephalexin online now, but a zocor without a prescription canadian, but a fosamax online cash on delivery, but a celexa free overnight fedex delivery, but a purchase prednisone without rx needed, but a purchase zyloprim meds, but a get online accupril with no rx, but a aciphex online consultant, but a augmentin overnight with no rx fedex shipping visa mastercard accepted, but a cheap flomax for sale with no prescription required, but a order seroquel online no membership overnight, but a buy glucophage cheap lloydminster, but a zanaflex in vanuatu, but a
accepted cod tenormin, as purchase prednisone same day, as online trazodone, as , as buy glucophage online discount louisiana, as buy online rx naprosyn without, as protonix k, as low price deltasone without prescription, as ampicillin doctor consult, as cheap lopressor for sale with no prescription required, as , as brand robaxin generic best price albuquerque, as nolvadex with codeine, as buy effexor xr online overnight, as , as buy aciphex online no membership, as inderal free overnight fedex delivery, as pravachol saturday delivery cod, as , as buy microzide cod next day fed ex, as purchase online prescription proscar, as zantac without prescription mexico, as cod only nizoral, as purchase crestor, as , as claritin no rx fed ex, as elavil online without a prescription, as no prescription biaxin saturday shipping, as , as buy atarax cod delivery, as overnight abilify without a prescription, as uk order erythromycin, as

AlivePDF 0.1.5 [RC] new API’s

AlivePDF 0.1.5 RC is finally there and has a lot of new features. As you may have seen, font embedding is now supported and a lot of new things, as a result a lot of new API's have been introduced. Hopefully the documentation is now updated. To get started with those API's here is a brief introduction :

Font Embedding support :

You can embed TTF or PFM fonts now and use them through your PDF document. To use an embedded font, just use the EmbeddedFont class and pass the TTF stream to the EmbeddedFont class constructor, then pass it to the setFont method which will automatically call the addFont method if needed :

var msg:String = "Lorem ipsum dolor sit amet, consectetur adipiscing elit."

var myEmbeddedFont:EmbeddedFont = new EmbeddedFont( new fontStream(), new afmStream(), CodePage.CP1252 );
myPDF.addPage();
myPDF.setFont( myEmbeddedFont, 20 );
myPDF.writeText(12, msg);

As you can see, three parameters are required, the first one is the font stream as a ByteArray, the second one is the AFM file which describes the font, that you can get easily for a font or generate it through a tool like TTF2PT1 or even online here. The third parameter is the codepage to use for your font, which defines the character code mapping between 0 and 255. Note that, only CodePage.1252 is supported for now, but this will be fixed in the final release.

If you want to use standard fonts, known as non-embedded fonts, just use the CoreFont class :

var msg:String = "Lorem ipsum dolor sit amet, consectetur adipiscing elit."

var myCoreFont:IFont = new CoreFont ( FontFamily.HELVETICA_BOLD );
myPDF.addPage();
myPDF.setFont( myCoreFont, 20 );
myPDF.writeText(12, msg);

Cell API additions

New Cell API's have been introduced allowing you to force its content to fit in a cell :

var shortText:String = 'This text is short enough.';
var longText:String = 'This text is way too long.';

p.addCellFitScale(0, 10,shortText,1,1);
p.addCellFitScale(0, 10,longText,1,1,'',1);

p.addCellFitScaleForce(0,10,shortText,1,1,'',1);
p.addCellFitScaleForce(0,10,longText,1,1,'',1);

p.addCellFitSpace(80,10,shortText,1,1);
p.addCellFitSpace(80,10,longText,1,1,'',1);

p.addCellFitSpaceForce(0,10,shortText,1,1,'',1);
p.addCellFitSpaceForce(0,10,longText,1,1,'',1);

EPS Support :

You can now draw EPS or AI files (8.0 version or below required) into your PDF, by using the addEPSImage method, more infos here : http://alivepdf.bytearray.org/?p=358

A drawSector() API has been added to allow you to create dynamic charts very easily, the following code creates a simple pie chart :

var xCenter:int = 105;
var yCenter:int = 60;
var radius:int = 40;

p.lineStyle( new RGBColor ( 0x000000 ), .1 );
p.beginFill( new RGBColor ( 0x0099CC ) );
p.drawSector(xCenter, yCenter, radius, 20, 120);
p.beginFill( new RGBColor ( 0x336699 ) );
p.drawSector(xCenter, yCenter, radius, 120, 250);
p.beginFill( new RGBColor ( 0x6598FF ) );
p.drawSector(xCenter, yCenter, radius, 250, 20);

BeginBitmapFill Drawing API

Just like in Flash Player, a beginBitmapFill API has been added, more infos here : http://alivepdf.bytearray.org/?p=324

Spot Color Support

As requested, Spot color support has been introduced, more infos here : http://alivepdf.bytearray.org/?p=296

Document-level navigation

As requested, document-level navigation has been added, more infos here : http://alivepdf.bytearray.org/?p=279

CSV Grid Export

As requested, the Grid class allows you to export its data as a CSV file: http://alivepdf.bytearray.org/?p=259

So, what's next ? Some final fixes in the UnicodePDF class for other characters like (greek, russian) and a new Invoice API to make invoice generation smooth. I have to finalize the integration of the AlivePDF extension for templates created by Gonzalo. But I may have some interesting news concerning exporting drawn vectors to the PDF, without having to rasterize stuff ;)

Comments 62

  1. David wrote:

    Sounds awesome !! Well done Thibault

    Posted 18 Feb 2010 at 9:12 pm
  2. Bram wrote:

    Hi Thibault, Can you enlighten me already a bit about the Invoice API. I’m currently trying to get such thing to work. Thanks, Bram

    Posted 18 Feb 2010 at 11:19 pm
  3. Tannoy wrote:

    Salut Thibault,

    Merci pour cette librairie devenue incontournable dans mes développements.

    Juste quelques remarques concernant la documentation :
    Le titre des pages est resté sur AlivePDF 0.15 Beta Documentation
    Concernant les exemples de la classe PDF, je ne visualise que les légendes, pas le code.

    ;-)

    Tannoy

    Posted 19 Feb 2010 at 7:47 am
  4. mozaratus wrote:

    Hello,

    I ant to use : p.setPagination()

    But i’ve an error, that this method is not defined ?
    I see in the asDoc that this method exist.. but i see the PDF.as class, and i don’t see this method ?

    ———————————————–

    Bonjour,

    Je souhaiterai utilisé la methode setPagination. Je l’ai vu dans la doc, mais elle n’a pas l’air d’existé et ne se trouve pas dans la class PDF.as.

    J’ai du louper un truc… mais j’vois pas.
    Si y a moyen d’avoir un peu d’aide ce serait gentil.

    Moza

    Posted 19 Feb 2010 at 2:25 pm
  5. mozaratus wrote:

    … Dans la foulée, un aut’truc que je ne comprend pas.

    An another schmurtz that i don’t understand.

    If ‘i wrote :
    p.setMargins(0,0,0,0);
    p.addPage();

    p.setXY(0,0);
    p.writeText(12,”A”);

    p.setXY(205,0);
    p.writeText(12,”B”);

    p.setXY(0,285);
    p.writeText(12,”C”);

    p.setXY(205,285);
    p.writeText(12,”D”);

    A, B , C are in the corner but D is on the NExt page ?
    Why ? it’s normal ?

    Thank you.

    Merci, Thibault pour tous vos travaux que vous partagé généreusement. C’est grâce à vous que j’ai pu me mettre à AS3. MERCI

    Posted 19 Feb 2010 at 2:45 pm
  6. Hans wrote:

    Hi Thibault,

    Thanks again for your great work (especially with UnicodePDF !). Will writeFlashHtmlText also be supported in the final 0.1.5 ?

    Thanks again,
    Hans

    Posted 20 Feb 2010 at 11:54 am
  7. Chris wrote:

    Did the use of high-res images get added in this release?

    Posted 22 Feb 2010 at 1:47 am
  8. Ari Ugwu wrote:

    I’d like to use AlivePDF with AdobeAir + HTML + JS. Can you point me in the right direction?

    Posted 25 Feb 2010 at 3:52 pm
  9. Andrew wrote:

    Hi,
    Awesome work on 0.1.5. I wanted to use Embedded fonts with writeFlashHtmlText, so below are the additions I got to work. By the way, I never did understand why writeFlashHtmlText adds a new page after it has been called…
    Keep up the great code!

    FontColection.as:

    package
    {
    import org.alivepdf.fonts.IFont;

    public class FontCollection
    {
    private var _name:String;
    private var styles:Array;

    public function FontCollection(name:String)
    {
    _name = name;
    styles = [];
    }

    public function add(style:String, font:IFont):void
    {
    styles[style] = font;
    }

    public function getFont(style:String):IFont
    {
    return styles[style];
    }

    public function hasStyle(style:String):Boolean
    {
    return styles[style] != null;
    }

    public function contains(fontName:String):Boolean
    {
    var found:Boolean = false;
    for each(var f:IFont in styles)
    {
    if(f.name == fontName)
    {
    found = true;
    break;
    }
    }
    return found;
    }

    public function get name():String
    {
    return _name;
    }

    }
    }

    FontCollections.as:

    package
    {
    import org.alivepdf.fonts.IFont;
    import org.alivepdf.fonts.Style;

    public class FontCollections
    {
    private static var collections:Array = new Array();

    public static function add(reg:IFont, b:IFont = null, i:IFont = null, bi:IFont = null):void
    {
    var collection:FontCollection = new FontCollection(reg.name);
    collection.add(Style.NORMAL, reg);
    if(b != null) collection.add(Style.BOLD, b);
    if(i != null) collection.add(Style.ITALIC, i);
    if(bi != null) collection.add(Style.BOLD_ITALIC, bi);
    collections.push(collection);
    }

    public static function lookup(name:String, style:String):IFont
    {
    var font:IFont = null;
    for each(var collection:FontCollection in collections)
    {
    if(collection.contains(name))
    {
    font = collection.getFont(style);
    }
    }
    if(font == null) throw new Error(“FontCollections: Font not found”);
    return font;
    }
    }
    }

    override function writeFlashHtmlText

    …….

    //For now, embedded fonts cannot be used with writeFlashHtmlText
    var newFont:IFont;
    if ( currentFont is EmbeddedFont )
    {
    var style:String = Style.NORMAL;

    if(fontBold && fontItalic)
    {
    style = Style.BOLD_ITALIC;
    }
    else if(fontBold)
    {
    style = Style.BOLD;
    }
    else if(fontItalic)
    {
    style = Style.ITALIC;
    }

    newFont = FontCollections.lookup(currentFont.name, style);
    }
    else// throw new Error (“Sorry, writeFlashHtmlText does not work for now with embedded fonts.”);
    {
    //Set the font for calculation of character widths
    newFont = new CoreFont ( getFontStyleString(fontBold, fontItalic, fontFamily) );
    }

    …….
    if(shouldWriteFlashAddPageBreak) currentY += currentPage.h;
    }

    Then to use, something like:

    var vN:EmbeddedFont = new EmbeddedFont( new ttfVerdana(), new afmVerdana(), CodePage.CP1252 );
    var vB:EmbeddedFont = new EmbeddedFont( new ttfVerdanaBold(), new afmVerdanaBold(), CodePage.CP1252 );
    var vI:EmbeddedFont = new EmbeddedFont( new ttfVerdanaItalic(), new afmVerdanaItalic(), CodePage.CP1252 );
    var vZ:EmbeddedFont = new EmbeddedFont( new ttfVerdanaBoldItalic(), new afmVerdanaBoldItalic(), CodePage.CP1252 );

    FontCollections.add(vN, vB, vI, vZ);

    p.setFont( verdana, 14 );
    p.writeFlashHtmlText(3,”The quick brown fox jumps over the lazy dog”);

    Posted 26 Feb 2010 at 9:17 pm
  10. Ari Ugwu wrote:

    I went ahead and threw together a demo on how to use AlivePDF with AdobeAir and only HTML/CSS/JS.

    Might like good in your tutorial section. ;)

    http://www.drybydesign.com/2010/02/26/adobe-air-alivepdf-without-flex/

    Posted 26 Feb 2010 at 11:28 pm
  11. Thibault Imbert wrote:

    Hi Andrew,

    Thanks for the feature improvement. Nice idea about a font collection for handling HTML text, I will definitely include that in the next drop.

    Hi Ari,

    Thanks for the tutorial, I will post it in the tutorials section for sure :)

    best

    Thibault

    Posted 27 Feb 2010 at 4:02 pm
  12. Rohan wrote:

    Hi Thibault,

    I tried using font selection in Flash CS3 and got an error relating to the use of [Embed] in CodePage.as. Is this feature compatible with Flash CS3, or only with Flex?

    Cheers,
    Rohan

    Posted 10 Mar 2010 at 10:20 am
  13. Igor D. wrote:

    Your extension has helped me put some nice reports for my desktop application!
    Do you know when will UTF-8 support be complete? I tried many things but cannot get UTF to work so I am currently using generated bitmaps which look ugly :)
    I am praying for the day when you release version with full UTF support.
    Thank you!!

    Posted 11 Mar 2010 at 2:39 am
  14. macEdler wrote:

    When I embed a font, it is compressed using deflate, but the rest of the vector graphics I have is not compressed. Can I compress that part also using AlivePDF?

    I found a boolean variable called compress in org.alivepdf.pdf.PDF in the documentation, but not in the source code. Thanks for any help. Great works by the way, works perfect for my vector graphics!

    Best,
    Daniel

    Posted 15 Mar 2010 at 8:25 pm
  15. Etienne wrote:

    Salut Thibault,
    Depuis la mise à jour d’AlivePDF, je ne trouve plus la syntaxe correcte pour mettre un texte en gras.
    Pourrai-tu m’indiquer comment mettre la police Arial en gras please?
    Merci.

    Posted 17 Mar 2010 at 3:26 pm
  16. Matt wrote:

    Hey Thibault,

    Any ETA when we can expect the new PDF “template” integration? I’m bidding on a very large project that requires the use of existing PDFs and it’d help me to know when I can expect it included in the API. Thanks!

    Posted 17 Mar 2010 at 8:03 pm
  17. Tom Gonazlez wrote:

    First, thank you so much for all your time and effort thus far in creating and supporting the AlivePDF project. It definitely fills a HUGE hole in the Adobe API’s.

    I was wondering how you might approach creating custom ItemRenderers for the Grid class, we have relatively complex grids that use both Axiis and Degrafa in the ItemRenderers, and I was hoping to export those to PDF. I am okay if we even just rasterize the content (versus trying to get true vector output.)

    In experimenting with this myself though, I have run into issues with trying to invalidate the ItemRenderers while looping through the data. Some brute-force hacking yielded some initial results, but before I went further I thought I would ask how you might approach this challenge.

    Posted 25 Mar 2010 at 12:17 am
  18. nico wrote:

    Bonjour,
    Tout d’abord merci pour AlivePDF !
    Toutefois je rencontre des difficultés pour utiliser la fonction addImage. L’image (png) est bien ajouté mais est de mauvaise qualité dans le document PDF généré.

    je met en pratique de cette façon :
    [Embed( source="/assets/indigo_petit.png", mimeType="application/octet-stream" )]
    var pngBytes:Class;
    myPDF.addImageStream(new pngBytes() as ByteArray,ColorSpace.DEVICE_RGB);

    Merci d’avance…

    Posted 29 Mar 2010 at 4:28 pm
  19. Piotr Jankowski wrote:

    Thibault,

    alivePDF works great, just implemented it, however, as others pointed out there is a big problem concerning ENCODING, it is extremely important to add UTF-8 page encoding to this library, as for instance none of polish characters can be resolved, as writing: ‘ąęśżźćłó’ results in:’aeszzcló’, where ‘ó’ is not polish ó but o with accent… Any clue how to improve this for UTF-8 encoding?

    Apart from that great job, works perfect!
    Best regards,

    PJ

    Posted 13 Apr 2010 at 12:10 pm
  20. Paraoan wrote:

    Hi,

    When I use addTextNote(…, text) method and the text parameter contains left parenthesis, the pdf file is not generated.
    If the left parenthesis have their correspondent right parenthesis the addTextNote works well.

    Hope this problem will be fixed in a next upgrade.

    Regards,
    Paraoan Sergiu.

    Posted 19 Apr 2010 at 9:59 am
  21. shiva wrote:

    I am using code below it does not have any compilation issues but still not
    woking. flow fails in addGrid(). Do any one know what is the reason. arr is
    Array, and swc used is 1.5 RC

    myPDF = new PDF(Orientation.LANDSCAPE,Unit.MM,Size.A4);
    var newPage:Page = new Page(Orientation.LANDSCAPE,Unit.MM,Size.A4);
    var columns:Array = new
    Array(?appName?,?serviceName?,?accessIntf?,?version?,?totalRequest?,?successCount?,?failureCount?);
    Alert.show(?3?);
    myPDF.addPage(newPage);
    Alert.show(?4?);
    // create a Grid object as usual
    var gridSol:Grid = new Grid(arr,200,120,new RGBColor(0×666666),new
    RGBColor(0xCCCCCC),false,new RGBColor(0),1,Joint.MITER,columns);
    // pass the grid
    Alert.show(?5?);
    myPDF.addGrid(gridSol);
    Alert.show(?6?);

    Posted 21 Apr 2010 at 5:18 am
  22. corey wrote:

    first off THANK YOU! this saves me so much time on my latest project.
    question: in the documentation there are no examples even though it says “this example shows how to….”"

    are the documentation examples coming along in the future or am i missing something?

    Posted 28 Apr 2010 at 10:29 pm
  23. Michael wrote:

    Something that was frustrating me for awhile with the EPS feature that might help some people… You must CLEAR ALL GUIDES before importing into AlivePDF. Otherwise, it will actually print the guides in the pdf as black lines.

    Other than that, this is working great. Thanks.

    Posted 29 Apr 2010 at 6:08 pm
  24. Liv Gjertsen wrote:

    Are you planning to import/display existing PDF’s in the Flash runtime at any point? Using first swftools (for someone on a Mac anyway) and then a viewer like FlexPaper to display them is very tedious and makes it unusable for certain applications. Thanks.

    Posted 04 May 2010 at 2:47 pm
  25. PA Belle-Isle wrote:

    Salut Thibault Imbert ,

    Est t’il possible d’embed une font qui est en SWF ??

    Est t’il possible de reproduire parfaitement en TextField en vectoriel text et non en le convertisant en bitmap?

    Si possible de me contacter ca serais vraiment super ,

    Merci,

    Paul-André Belle-Isle

    Posted 04 May 2010 at 5:13 pm
  26. PA Belle-Isle wrote:

    Autre question, a quand le PNG transparent? :D

    Posted 04 May 2010 at 7:24 pm
  27. Wade wrote:

    A little off topic, but I really need datagrid columns to be represented in the pdf by query string order instead of sorted by header. If anyone can point me in the correct direction that would be great. Excellent effort here.

    Posted 13 May 2010 at 3:53 pm
  28. Gaggo wrote:

    Hi Thibault,

    Wow, what a great library! I want to use it for a photographer I’m making a website for at the moment.

    One question, though: I want to use a font, but I just have it as .otf file. The afm-converter you linked just takes ttf files… Could you point me to a solution on that? I’m on a MAC.

    Thanks, Rasso

    P.s.: If you answer me, I won’t be notivied, will I? There is a great wp-plugin called subscribe to comments, maybe worth installing ;)

    Posted 16 May 2010 at 7:07 pm
  29. mediamuis wrote:

    Hi,
    I notice that there hasn’t been any post since feb.
    Is development on Alivepdf still alive?

    Thanks

    Mark

    Posted 26 May 2010 at 4:03 pm
  30. Thibault Imbert wrote:

    Hi mediamuis,

    Yep, sorry about that. I was freaking busy lately and I did not work on new features, and AlivePDF was more into maintenance mode cause a lot of stuff has been added lately. I committed yesterday some new drop and fixed a few bugs.

    http://code.google.com/p/alivepdf/source/list

    I am right now back on it and working for some new stuff :)

    best,

    Thibault

    Posted 26 May 2010 at 4:46 pm
  31. benji wrote:

    I have been trying to install alivePDF 0.1.5 in my Flash CS3 components folder with out luck. I extracted the archive into my components folder but it does not show up when I open he Flash components panel. Any pointers appreciated. Thanks!

    Posted 27 May 2010 at 3:10 pm
  32. Mark van Beek wrote:

    Thanks Thibault,
    I do know what you mean, to much work, to less time. Good to hear there is still active devolpment. A while ago we choosed alivepdf to include in oure new invoice and payment system which we are currently developing for ourselve and oure customers. Thats why I asked about the development progress.
    Anyway thanks for this great piece of software which is making oure development-life much easyer.

    Regards,

    Mark

    Posted 30 May 2010 at 6:33 pm
  33. Pedro wrote:

    Hi all.. thanks for this awesome lib.. but I’m wondering why working with EPS doesn’t work.. I’m using AI CS3 and saving ym file as EPS but when using addEPSImage I get the regular expression result to null and doesn´t work, any idea?

    public function addEPSImage( stream:ByteArray, x:Number=0, y:Number=0, w:Number=0, h:Number=0, useBoundingBox:Boolean=true ):void
    {
    stream.position = 0;
    var source:String = stream.readUTFBytes(stream.bytesAvailable);

    var regs:Array = source.match(/%%Creator:([^\r\n]+)/);

    if (regs.length > 1)

    tha if always return

    Posted 21 Jun 2010 at 3:22 pm
  34. Le wrote:

    Hi,

    It seems that 0.1.5 is not backward compatible with 0.1.4? I tried to replace the old with the new release but get a lot of compile errors due to functions that changed? Is there a way to get around this?

    Posted 23 Jun 2010 at 3:24 pm
  35. AlexG wrote:

    Bonjour bonjour,

    Would you consider implementing a green thread like system for the pdf generation ? ( toggable for people who want raw speed or UI performance ) Big PDF generation can take a few seconds during which the UI is frozen. I usually would generate a PDF on the server but AlivePDF makes it easier; With no UI freeze I’d definetely use it :)

    Merci !

    Posted 28 Jun 2010 at 8:53 am
  36. mahesh wrote:

    var _pdf:PDF = new PDF();
    var bytes:ByteArray = new ByteArray();
    var displayObject:DisplayObject = Application.application.img;
    /* this is Application.application.img */

    var bitmapDataBuffer:BitmapData = new BitmapData (displayObject.width, displayObject.height, false,0 );

    bitmapDataBuffer.draw (displayObject, displayObject.transform.matrix );

    bytes = PNGEncoder.encode ( bitmapDataBuffer, true );

    var resize:Resize = new Resize( Mode.NONE, Position.RIGHT );
    _pdf.addImageStream(bytes,ColorSpace.DEVICE_CMYK,resize,-3,10,0,0,0);

    please provide me solution. addImaageStream is throwing Image format not supported for now this error

    Posted 18 Jul 2010 at 4:11 pm
  37. Marcin wrote:

    Hi, has someone used rotation function ? In previous version it works fine, but now… in dont know how to use it, there is no stat-stopTransform function, and after first use of rotation you are not able to work with horizontal text again. Is someone who can explain me how it works now ?

    Posted 22 Jul 2010 at 9:30 am
  38. Kimi wrote:

    Hi Thibault,
    what an awesome Library! Can’t wait using UTF-8 Fonts. Any idea, when you have a version supporting other codepages than CodePage.1252?

    Posted 26 Jul 2010 at 1:27 pm
  39. Zyganitidis Christos wrote:

    Ηι, I was wondering when the final fixes in the UnicodePDF class for greek gonna be ready.. I am realy sitting on hot coals here, I wish I could implement it myself and share it with you..

    Posted 28 Jul 2010 at 11:04 am
  40. Sebboon wrote:

    A very useful library !!!

    How about uploading this library to maven repository like flexmojos of sonatype ??

    And why don’t add a xml export, it could be useful for generate java parser like with jaxb for enhanced ETS processes.

    Posted 10 Aug 2010 at 2:44 pm
  41. Rich wrote:

    Is there a way to automatically optimize the PDF once it is rendered? Just like the way you can do it in Acrobat with reduce File Size?

    Posted 18 Aug 2010 at 4:41 pm
  42. usman wrote:

    Anybody , who have any solution to add advance data Grid with grouping in PDF file. i got its solution but it use addImage() method and it can only for one page not for multiple pages. if anyone have any solution, inform me at following ID. m.usmanaharaf@yahoo.com.
    Thanks.

    Regard:
    M.Usman Ashraf.

    Posted 19 Aug 2010 at 9:41 am
  43. Reddy wrote:

    Hey Thibault,

    I am developing an application where am loading the data from XML file and generating PDF document using the writeFlashHtmlText method of PDF class. Is there any way to get the html list items and anchor tag into the PDF document from the xml file. Plesae Its very urgent…..

    Thanks in advance.

    Posted 01 Sep 2010 at 7:19 pm
  44. Zarai jamel wrote:

    hi,
    This is awesome work. But is there any way to support ARABIC language. Please help it’s really urgent

    Posted 14 Oct 2010 at 2:24 pm
  45. Alberto wrote:

    Hi there,

    I’ve just downloaded the latest release and I got an error saying:

    “Alpha channel is not supported yet” when trying to add a PNG picture in my PDF.

    Posted 20 Oct 2010 at 12:42 pm
  46. jgondek wrote:

    Hi,

    on my upcoming project apart from generating pdfs from user drawn shapes i need to display pdfs from users’ hard disk (pointed using Open file dialog). I was wondering if it is possible with AlivePDF.

    Posted 08 Nov 2010 at 11:29 am
  47. Thaylin wrote:

    Hey, wasn’t sure where else to post this. Was going to post on FCNY but wasn’t sure how often you read. A current project I’m working on requires me to generate pdfs and while the library is pretty sweet there’s a few things I was wondering about.
    First, is there a way to cut down on the file size? Currently, just generating a 2 page pdf with an image on each page (not taking up the whole page) gives me a file size of about 600K!
    Secondly, how could I go about implementing an otf file for embedding within the pdf. Can I access the font to use if it’s embedded within the swf?

    Thanks in advance for any info!

    Posted 05 Jan 2011 at 2:13 am
  48. Cong wrote:

    There is a fault in the documentation. In the explanation of class PDF in package org.alivepdf.pdf, the parameters of addCell function is messed up.

    When I used addMultiCell, I got

    error #1006: value is not a function. at org.alivepdf.pdf::PDF/addMultiCell() [D:\Flash Library\AlivePDF\org\alivepdf\pdf\PDF.as:2474]

    Posted 06 Jan 2011 at 1:23 pm
  49. leo wrote:

    so for now there’s no way of using greek characters?thanx

    Posted 14 Jan 2011 at 11:38 pm
  50. karthikeyan M wrote:

    Hey ,
    I was working with addGrid() methos, where i am supposed to add a grid of 5000 records. It takes 20 secs to generate the pdf.
    Also the pdf hangs a lot while reading .

    Is there any solution to reduce the time and to make the pdf readable by adobe reader

    Posted 10 Feb 2011 at 7:21 am
  51. Haitham wrote:

    Great Work! Alive PDF is really good. But I have the problem of UTF-8 too which is really frustrating. Any ideas?

    Posted 14 Mar 2011 at 11:20 am
  52. Keith J wrote:

    Hi Thibault,
    Excellent library, i have been using it with Flash CS4 only and not Flex/Air, I have been able to use most of the features including illustrator templates, hires JPG images and ttf fonts etc.. in my current project) My only question is: is there anyway to embed fonts, illustrator 8 ai files at runtime instead of at compile time?

    Posted 26 Apr 2011 at 4:04 pm
  53. Rolf wrote:

    just checked out the 0.1.5 RC and the functions:
    addCellFitScale
    addCellFitScaleForce
    addCellFitSpace
    addCellFitSpaceForce

    are not included in this release. But here it says the are. whats up?
    i did some searching and found this:
    http://alivepdf.googlecode.com/svn-history/r273/trunk/AlivePDFBeta/src/org/alivepdf/pdf/PDF.as

    in this beta from the history the are included. why are the removed? i really need to use them :P

    Posted 08 May 2011 at 3:32 pm
  54. Stefan wrote:

    Here is a example for implementation.

    http://code.google.com/p/alivepdf/issues/detail?id=263

    greetings from sunny Austria :)

    Posted 18 May 2011 at 9:42 am
  55. Rui Cruz wrote:

    Hi Thibault,

    On release 1.4.2 you said that transparency png’s would be supported on next release. Is this supported on 1.5.0?

    Best regards,
    Rui Cruz

    Posted 28 Jun 2011 at 3:48 pm
  56. rahatjaan wrote:

    I have an online Editor built in Flex I use Alive PDF to save the work in PDF. I have the canvas which contains flex components like text and images then I take the snapshot of the canvas and give these bytes to alive pdf like

    printPDF.addImageStream(image.data, ColorSpace.DEVICE_GRAY, resize,0,0,p.width,p.height);

    I need only Gray Channel in my Image. But it outputs an image with RGB Channel. If I use embed image and give the path to the image then it outputs correctly with gray channel. but In memory image does not support gray channel.

    Can you help me?

    Posted 18 Jul 2011 at 8:53 am
  57. fred wrote:

    Thibault

    AlivePDF is awesome – thank you for making it all happen. One quick question for you: can we add vector graphics without rasterizing them? It looked like you were heading that way but I can’t tell if this was ever released.

    thank you!

    f

    Posted 22 Aug 2011 at 6:42 pm
  58. webman wrote:

    Hi,
    WHERE i can download AlivePDF 0.1.5 [RC] new API?s ?? I have downloaded AlivePDF 0.1.5 but i don’t see many methods, such as addCellFitScale,addCellFitSpace and others.

    Thanks.

    Posted 13 Sep 2011 at 3:35 pm
  59. Don Blaylock wrote:

    Is there any way to get the grid lines and borders to disappear? I tried setting their color to white, no worky. Tried setting the borderAlpha to 0 or .1, no worky.
    The result I am trying to achieve is alternating background color on a page with no gridlines.

    Thanks!

    Posted 02 Nov 2011 at 10:47 pm
  60. Erdem Demir wrote:

    Hi,

    I need to set GridColumn formatter (NumberFormatter) but it does not exist in the current alivepdf.Could you please help on this issue?

    Posted 13 Mar 2012 at 3:16 pm
  61. Farhan wrote:

    Hi
    I am using flex 4 with AlivePDF in web application project. I am using fieReference.save method to save the file locally. But my problem is i want to open it with default pdf viewer after the save file download completes. Is alivePDf gives an option to view the saved PDF immediately. I am not using any server side.
    Regards
    Farhan

    Posted 25 May 2012 at 6:53 am
  62. Angelo wrote:

    Hi Thibault,
    i have a big issue with my Apache Flex Mobiel project with use of alivePDF. If i use the sample.jpg image i found in your RC 1.5 e use example all works fine, but if i use a my jpg file the resulting file give an adobe reader errore: memory full. I use distriqt ANE to send the pdf file by email….could be problem between distriqt and alivepdf? Thx Angelo

    Posted 30 Apr 2013 at 5:12 pm

Post a Comment

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