madsmao
madsmao

Reputation: 165

How to merge multiple PDF's in native ActionScript?

I am looking for a solution to this issue but I have not yet found anything conclusive. I would love to get some input. What I need to do is basically to take two or more individual PDF-files and merge them into one. Nothing fancy just sticking one after the other and ending up with one file.

I have found AlivePDF and purePDF but those libs both seem to be focused towards generating PDF's from scratch.

I would greatly appreciate any input on this. Thx.

Upvotes: 2

Views: 719

Answers (2)

Brandon Cook
Brandon Cook

Reputation: 1362

You can't merge PDFs in AS3.

The best you can do is load PDF files and do minor javascript scripting of the HTMLLoader (AIR only) instance into which the PDF is loaded. See Known limitations for PDF content in AIR for more.

Upvotes: 0

splash
splash

Reputation: 13327

I don't know how you can merge PDF files on the client side, but if nothing is left over (and the files aren't too large) you could send them to the server. There you have the choice between your favorite PDF merge tool or library (e.g. PDFBox).

Upvotes: 1

Related Questions