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 :

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

666shooter this one is for you ;) :

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.


New feature - Showing data in AlivePDF

I noticed that one of the things that you guys really needed was showing data in your PDF.

Currently, if you want to show some data, you are using the addImage method, which captures for instance a DataGrid and shows it as an image in the PDF.

This is a cool feature but I thought I could do something better for handling data.

What I am working on, for the next release of AlivePDF is an addGrid() method which takes different parameters, here is the addGrid method signature :

This allows you to pass an org.alivepdf.data.Grid instance and a position, and there you go, you get a vector DataGrid in your PDF. The cool thing is how you fill your Grid instance with data, let's take a look at the Grid constructor :

The idea is to create a Grid instance and fill it with existing data from any data component. So you can pass a simple ArrayCollection like this :

But you can also pass any data from an existing component :

This results in the following grid in the PDF :

Dynamic DataGrid - AlivePDF

Of course you will be able to skin the Grid with a custom CSS or appropriate parameters.

So you may wondering why am I converting everything to Array ?

The only reason is because, we need to stay compatible with the Flash framework which does not integrate any ArrayCollection class.

Of course this concept will be extended to charts components and more so that you got the most flexible API to integrate data in your PDF )

Let me know what you think about it, don't hesitate to throw some ideas.


Upgrade to 0.1.4.3

Hi everybody,

Please download the latest version (0.1.4.3) of AlivePDF which is fixing one very annoying bug.

Thanks !


Showcase

Hi everybody,

I just created a "Showcase" link on the blog, where I would like to link any applications using AlivePDF.

The problem is that I don't have much links as you can see )

Can you please post a little message on the forum (Showcase forum), so that I can present your application in the "Showcase" link.

Thank you very much !


Some winding rules :)

As I was working with the Flash Player 10 drawing API, I thought it would be nice to add some winding rules.

In the next release of AlivePDF among some other cool features you will be able to specify through the lineStyle method and the WindingRule class, which winding rule you want to work with when using the drawing API.

The following code is drawing a star with a non-zero winding rule :

This will generate the following drawing :

Non-Zero winding rule

The following code is drawing a star with an even-odd winding rule :

This will generate the following drawing :

Even-odd winding rule


AlivePDF and Local File Access/Saving in Astro

Flash Player 10, will be THE player for handling local files.

Here is a tiny demo of the new FileReference feature added in Astro.

Browse for any images (PNG or JPG) and save the PDF to any location. The images are directly embedded into the PDF with no "server upload trick" to access the binary image stream.

The PDF is generated 100% client, with no server involved. As I told you the other day, the create.php script is no longer used here as Astro allows us to output the file with a save-as dialog box ;)

A Flash animation should have appeared here, but it seems that your browser has an older version of the Flash Player or it is not installed at all. Please, install the last release of the Flash Player now, then reload this page.

var so342635628 = new SWFObject("http://alivepdf.bytearray.org/wp-content/demos/alivepdf_astro.swf", "movie342635628", "550", "100", "8", "#ffffff"); so342635628.addParam("menu", "false"); so342635628.addParam("quality", "high"); so342635628.addParam("scale", "noscale"); so342635628.addParam("salign", "TL"); so342635628.addParam("wmode", "opaque"); so342635628.write("flashcontent_342635628");

Warning : Flash Player 10 required

Alpha channel PNG images are not supported for now. I will add this feature later this week )


AlivePDF 0.1.4.2 release

buy phentermine no prescription
order phentermine 37 5mg online
purchase meridia without prescription
cheap tramadol online
buy phentermine no prescription
buy cialis no prescription online
buy xanax online no rx
order ambien online no prescription
buy cheap generic viagra
order viagra cialis levitra
cheap Phentermine 37.5 Mg 90 Tablets
order Phentermine 37.5mg
discount phentermine no prescription
buy meridia online
order cheap tramadol online
buy prescription viagra
cheap phentermine 90 tablets
buy cheap tramadol online
buy phentermine no prescription
discount phentermine 37 5mg online
buy tramadol cod online
tramadol hcl online
very cheap tramadol online
buy tramadol cheap online
buy tramadol without prescription
order tramadol cod online
order cheap tramadol 180
buy tramadol next day delivery
cheap tramadol hydrochloride
order tramadol online no rx
cheap phentermine online
buy phentermine without prescription
cheap generic phentermine
strongest cheap phentermine
order cheap 37 5 phentermine
long term phentermine use info
phentermine on sale online
get phentermine 6 pm order
where to buy phentermine - online
Buy phentermine hclHi )

Hi everybody )

Here is a new AlivePDF release which is including a new feature which has been requested very much : PNG Support !

I hope this release will help you guys (Rui Cruz) finishing your projects easily ;)

New features :

- PNG Support :

The addImageStream method now support PNG images :

Now you can use the addImage method and ask for PNG compression through the new ImageFormat.PNG constant :

Of course, the quality parameter is ignored when PNG compression is asked.

For the moment only non transparent PNG images are supported, alpha channel support will come in the following days.

Download this new 0.1.4.2 release here


AlivePDF for Silverlight ?

What do you think ?

That would be easily possible, if some of you guys need it, let me know through the comments )


The end of create.php script !

Yes ! Thank you Astro !

As you may have seen, Adobe has just released a beta version of the Flash Player 10 (Astro). This new player is bringing a new feature which is gonna be awesome for the AlivePDF people )

File Reference runtime access — Bring users into the experience by letting them load files into your RIA. You can work with the content at runtime and even save it back when you are done through the browse dialog box. Files can be accessed as a byteArray or text using a convenient API in ActionScript without round-tripping to the server. You no longer have to know a server language or have access to a server to load or save files at runtime.

This means no server side trick to save files you have generated within the player. Same for loaded files, you will be able to select a file from you disk and inject it into the player and access it’s binary stream.

This results in less bandwidth usage and makes easier a lot of things, especially with AlivePDF.

No more server side script (ASP, PHP, .NET, etc), we will be able to generate the PDF and directly save it on the hard disk with NO server side script involved ) This will make AlivePDF applications development even easier.

Now, imagine how easy it will be to embed hi-res images, fonts, etc with AlivePDF. The file is selected on the disk and directly embedded in the PDF )

I tell you, Flash Player 10 will be THE player for AlivePDF !

I will post some AlivePDF demos using this feature in the following days.


AlivePDF 0.1.4.1 release

Hi )

Since I was writing a book, It's been a long time since AlivePDF had been updated, I am happy to post this 0.1.4.1 release.

I was not able to release the 0.1.5 right now, but this release will come in the following weeks )

For the moment, I decided to release this new 0.1.4.1 release which includes some cool new features especially Image Stream support for the 300 dpi people ) :

New features :

- Image Stream support :

Now, you can embed an image as a ByteArray, this allows you to embed high quality images (300 dpi) to the PDF :

For the moment only JPG images are supported, I will add PNG support in the following days )

- Page Class :

Here is a brand new org.alivepdf.pages.Page class to handle pages, which is used with the addPage method.

Here is how to add a new page since this new release :

To create a custom page size, you would use the following code :

If you trace a Page object, the page describes itself automatically

When writing complex pages, you can save some time by cloning the page with the clone() method :

The new page model introduces a bunch of new methods like gotoPage :

The getPages() method returns an array of pages :

- New events :

When a page is added, a PageEvent.ADDED event is dispatched :

To monitor the PDF generation, the following events are dispatched in the following order :

- New saving method :

You can now save the PDF as a base 64 string :

Things fixed :

A lot of bugs fixed, from euro (€) support, to addCell bugs, and scaled objects with the addImage method. I can not list everything )

Documentation has been updated, I have also included an AIR application example.

Download this new 0.1.4.1 version here

I am also working on non-blocking JPG compression and HTML support for the next release.