add return carriage when fill odt template

27 views
Skip to first unread message

Michel Bamouni

unread,
May 30, 2017, 4:04:09 PM5/30/17
to jOpenDocument
Hello,

I use jopendocument to read odt template and fill its content from java application.
This works fine but carriage return are ommitted when values are inserted in the document.

Can some one helps me please?

Best regards

Michel

Manfred Hanke

unread,
Jun 5, 2017, 2:30:13 PM6/5/17
to jopend...@googlegroups.com, Michel Bamouni
Hi Michel,

line breaks are probably represented by
<text:line-break/>
within odt-files.

If you want to insert content with line breaks, can you use this tag?

Cheers,

Manfred
--
Dr. Manfred Hanke * manfre...@tngtech.com * +49-176-17654618
TNG Technology Consulting GmbH, Betastr. 13a, 85774 Unterföhring
Geschäftsführer: Henrik Klagges, Christoph Stock, Dr. Robert Dahlke
Sitz: Unterföhring * Amtsgericht München * HRB 135082

Guillaume Maillard

unread,
Jun 6, 2017, 4:40:37 AM6/6/17
to jopend...@googlegroups.com
Hi,

Just prefix in LibreOffice/OpenOffice your field annotation with :  %enc:

Regards,


--

---
You received this message because you are subscribed to the Google Groups "jOpenDocument" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jopendocument+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages