riadvice / AlivePDF

[Official AlivePDF] - AlivePDF is a client side AS3 PDF generation library for Adobe Flash, Flex and AIR
https://riadvice.github.io/AlivePDF/
32 stars 6 forks source link

textarea multiline #257

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
---------------------------------------
1. create a Textarea
2. place Textarea.text on page
3.

What is the expected output? 
----------------------------
this is some text
this is text on a new line

this is a new paragraph of text

What do you see instead?
-------------------------
this is some textthis is text on a new linethis is a new paragraph of text

how do i get the multiline textarea to display in the PDF the same way it does 
in the Air program preserving new lines etc?

no matter how many new line i create it will still display as one line

Original issue reported on code.google.com by isy.ph...@gmail.com on 6 Jul 2010 at 1:14

GoogleCodeExporter commented 9 years ago
You should use Textarea.htmlText and the writeFlashHtmlText function.

Original comment by felix.ge...@gmail.com on 8 Oct 2011 at 5:30