You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@pdfbox.apache.org by Vinh Pham <vi...@vt.edu> on 2020/11/09 16:16:58 UTC
Line breaks in form textfields
Hey all,
Does anyone know how to use line breaks in form fields? I’ve tried using /r
and /n but it seems to be treated as a space. Also, I am sure multiline is
set as text wrapping appears to be on.
Thanks,
VINH
Re: Line breaks in form textfields
Posted by "enriquep smac-mca.com" <en...@smac-mca.com>.
I don't know what are you using c# youe can use enviroment.newline
> On November 9, 2020 11:16 AM Vinh Pham <vi...@vt.edu> wrote:
>
>
> Hey all,
> Does anyone know how to use line breaks in form fields? I’ve tried using /r
> and /n but it seems to be treated as a space. Also, I am sure multiline is
> set as text wrapping appears to be on.
>
> Thanks,
> VINH
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@pdfbox.apache.org
For additional commands, e-mail: users-help@pdfbox.apache.org
Re: Line breaks in form textfields
Posted by Maruan Sahyoun <sa...@fileaffairs.de>.
which version of PDFBox are you using?
> Hey all,
> Does anyone know how to use line breaks in form fields? I’ve tried using /r
> and /n but it seems to be treated as a space. Also, I am sure multiline is
> set as text wrapping appears to be on.
Text is split into paragraphs using
"\\r\\n|\\n|\\r|\\u2028|\\u2029"
and then paragraphs should be handled individually. At least in later versions of 2.0 and 3.0 (not released yet)
What also plays a role is if the field is set for multiline.
Would be good if you could upload the form to a shared location (attachments are not allowed in the mailing list).
>
> Thanks,
> VINH
BR
Maruan Sahyoun
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@pdfbox.apache.org
For additional commands, e-mail: users-help@pdfbox.apache.org