Questions tagged [alivepdf]

Questions related to AlivePDF, an open source ActionScript 3 PDF generation library.

AlivePDF is an open-source ActionScript 3 (Flash, Flex, AIR) PDF generation library ported from the FPDF PHP project. It allows you to generate PDF's 100% client-side.

More details at http://alivepdf.bytearray.org/

65 questions
1
vote
1 answer

Creating large pdf file with Adobe Air

I'm trying to create a pdf file using alivepdf lib with about 4000 pages and each page contains an image added by the alivepdf method addImage(). the problem is that the data takes a lot of memory because alivepdf creates the whole file in the…
1
vote
2 answers

AlivePDF, can't set font

I have AlivePDF with Flex, making a webapp. I've got version 1.5 of AlivePDF but can't seem to set the font: myPDF.setFont( FontFamily.ARIAL, Style.BOLD ); this gives an error of "1067: Implicit coercion of a value of type String to an unrelated…
kristen
  • 478
  • 2
  • 10
  • 34
1
vote
3 answers

PDF export to local using AlivePDF with flex

I need to export charts and data tables to pdf file in flex application. For this we can user AlivePDF but i need to export to local not server. Can we export to local system prompting user to select the location to export? Thanks in advance.
Raghu
  • 45
  • 1
  • 8
1
vote
0 answers

flex alivepdf add base64 encoded image

Spending hours to add base64 encoded string as image to PDF by addImageStream with no success: var decoder:Base64Decoder = new Base64Decoder(); decoder.decode(imgdata); var ba:ByteArray = decoder.toByteArray(); pdf.addImageStream(ba,…
defme
  • 11
  • 3
1
vote
1 answer

Wordwrap in AlivePDF

when i am showing some text it is going in 1 line only thats why whole text is not visible in pdf. if txt are more it should take automatically next line. please see code below
flex guy
  • 11
  • 2
1
vote
0 answers

Actionscript 3.0 form wiith user inputs and calculated fields saves empty as a PDF using AlivePDF

I've created a form that has lines, static text, and textFields in Flash Professional CS5.5, and using Actionscript 3.0 created fields that accepts a user's inputs and then calculates those user inputs and stores them in fields the user cannot edit.…
user3152018
1
vote
2 answers

How can I prevent an XSS vulnerability when using Flex and ASP.NET to save a file?

I've implemented a PDF generation function in my flex app using alivePDF, and I'm wondering if the process I've used to get the file to the user creates an XSS vulnerability. This is the process I'm currently using: Create the PDF in the flex…
Dan Monego
  • 9,637
  • 6
  • 37
  • 72
1
vote
2 answers

Why Alivepdf generate double table header?

I'm attempting to create a pdf table on my flex application using AlivePdf:
Tropicalista
  • 3,097
  • 12
  • 44
  • 72
1
vote
0 answers

Could not print special symbols/characters using alivePdf in flex

I am using alivePdf for generating pdf in flex. How can we print Delta (Δ) symbol using alive pdf in flex? I could print °C, but Δ symbol is not working...
loknath
  • 738
  • 2
  • 8
  • 20
1
vote
1 answer

AS3, AlivePDF and open generated PDF in browser

Is it possible to generate a PDF with alivePDF and open it in a browser without using PHP? Now I am using filereference class to popup a save dialog and then save to PDF, but I need to open the generated PDF in a browser. Is this possible? Throw…
user1734029
1
vote
1 answer

AIR / Flex - AlivePDF print whole canvas

Is there a possibility to print a whole canvas UI element (and all its children) using AlivePDF? I know that the normal way would be to add each element separately, but if there is whole bunch of elements (text, image..) that is a problem...
enloz
  • 5,704
  • 9
  • 37
  • 56
0
votes
3 answers

AS3 with alivePDF Embedding Fonts - Unable to transcode .afm

I've tried adding the / at the front like many other forums and blogs suggested and that didnt work. I'm hoping I missed something, and you guys can help me catch it. I'm using the AlivePDF library its working fine so far until now, I am trying to…
Uri
  • 1
  • 2
0
votes
1 answer

Issue serving PDF files to Google Chrome

I wrote a webservice using ASMX style calls to serve PDF files. The service processes data sent to it as a POST operation, writes the data to the response, and sends the data back after adding a new mime type to the headers. The PDF files are…
Dan Monego
  • 9,637
  • 6
  • 37
  • 72
0
votes
1 answer

Adding HTML content to Alive pdf not working

How to add HTML content to Alive pdf page through 'writeFlashHTML' function? var markup:String = "Z R [kN]"; rt1.textFlow…
Shebin
  • 3,310
  • 2
  • 24
  • 27
0
votes
1 answer

Determine current position when writing long text using AlivePDF

I need to create a layout with an image on the left and text to the right of it. While the image width is known, the text length is not. I want to be able to write the text and be able to determine where on the Y axis I need to addImage for the next…
Francisc
  • 77,430
  • 63
  • 180
  • 276