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

AlivePDF 0.1.4.4 release

Hi,

Ok, here is a minor update including a new drawing API method which has been requested.

New features :

public function drawComplexRoundRect ( rect:Rectangle, topLeftEllipseWidth:Number, bottomLeftEllipseWidth:Number, topRightEllipseWidth:Number, bottomRightEllipseWidth:Number ):void

As it was requested, here is a drawComplexRoundRect method for drawing complex rounded rectangles :

666shooter this one is for you :

myPDF.lineStyle( new RGBColor ( 0x990000 ), 1 );
myPDF.beginFill( new RGBColor ( 0x009900 ) );
myPDF.drawComplexRoundRect( new Rectangle ( 5, 5, 40, 40 ), 16, 16, 16, 0 );

The previous code will draw the following rectangle :

For the next release, I am working actively on improving character set support for all of you guys working with special characters. The next release should integrate a first version of the dynamic grid feature.

Download the latest release.

Comments 11

  1. Richard wrote:

    You have been showcased on RichardCastera.com!

    Posted 12 Jul 2008 at 2:03 am
  2. mike wrote:

    hi thibault,
    id appreciate it if you could tell me how to import the packages into flash cs3.

    iv’e tried and get errors saying that there are errors in your code!!!

    im getting a lot of these:

    “ActionScript 2.0 class scripts may only define class or interface constructs.”

    and:

    ” ) expected” / “; expected” / “syntax error”

    could you please give your email address so i can further clarify the problem ;-)

    Posted 14 Jul 2008 at 4:53 pm
  3. maru wrote:

    @mike : you may have made an AS2 file.
    Alivepdf is coded in AS3, so you have to create an AS3 file…

    Posted 16 Jul 2008 at 9:58 am
  4. Ankur wrote:

    I want to use a JSP and not a php file for creaing pdf through flex application.
    I have used the following code in my jsp:

    but it is not working. please tell me what can be done to use a jsp instead of php. thanks.

    Posted 16 Jul 2008 at 11:59 am
  5. Stefan wrote:

    Thx, Thibault, for the great work!

    Unfortunately, I’m still in search for a method, which advances the cursors from line to line, if the last line completely filled up or I printed a e.g. \n.

    E.g. if I need to print a tabular structure of text, can I call a method which emits each text in each line – without explicitly positioning the cursor to a new absolute position?

    Thx,

    Stefan

    Posted 06 Aug 2008 at 9:42 pm
  6. Stefan wrote:

    Oops, answered my question myself:

    myPDF.writeText ( 14, ‘ ‘ + aProject.name );
    myPDF.newLine( 14 );

    Posted 07 Aug 2008 at 1:52 am
  7. Jose L. wrote:

    Hello Thibault!
    Thank you for your brilliant work!
    I’m very pleased with this API, it saved me a lot of time and brain! :)

    I’m using AlivePDF in a ASP.NET App Server, and I didn’t want to install the PHP only for this API. So I did some code translation that might be useful for others.

    Here is the C# version of create.php:
    ###
    protected void Page_Load(object sender, EventArgs e)
    {
    string method = Request.QueryString["method"];
    string name = Request.QueryString["name"];

    byte[] data = Request.BinaryRead(Request.TotalBytes);

    Response.ContentType = “application/pdf”;
    Response.AddHeader(“Content-Length”, data.Length.ToString());
    Response.AddHeader(“Content-disposition”, method + “; filename=” + name);
    Response.BinaryWrite(data);
    Response.End();
    }
    }
    ###

    Posted 29 Aug 2008 at 3:01 pm
  8. Anupam wrote:

    Hello Thibault,
    Thanks for the wonderful library, I have filed an issue on google code issue number is 67. Can you please tell some work around for this issue. I am not able to crack this up some how.
    And I need it for one of my projects ..
    Thanks in advance,
    Anupam

    Posted 26 Sep 2008 at 11:19 am
  9. Thibault Imbert wrote:

    Hi Anupam,

    This will be fixed in the next release (0.1.4.6)

    For the moment, replace the getStringWidth in the PDF.as with the following version :

    protected function getStringWidth( content:String ):Number
    {
    charactersWidth = currentFont.charactersWidth;
    var w:Number = 0;
    var l:int = content.length;

    // TBO
    var cwAux:int = 0;

    while (l–)
    {
    cwAux += charactersWidth[content.charAt(l)] as int;
    if ( isNaN ( cwAux ) ) cwAux = 580;
    }

    w = cwAux;
    return w*fontSize/1000;
    }

    let me know,

    best,

    Thibault

    Posted 26 Sep 2008 at 12:14 pm
  10. mike wrote:

    i need to save the pdf directly to remote server without asking download prompt. is this possible?

    Posted 07 Oct 2008 at 12:08 pm
  11. Thibault Imbert wrote:

    Hi mike,

    Yes you can do that with the Flash Player 10 with the FileReference class and the save method :

    http://livedocs.adobe.com/flex/gumbo/langref/flash/net/FileReference.html#save()

    By the way, for security reasons you will still have the save-as dialog box.

    best,

    Thibault

    Posted 09 Oct 2008 at 5:30 pm

Post a Comment

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