Closed GoogleCodeExporter closed 8 years ago
Hi,
I suppose you have tried that with docx (not managed because I don't know which
XML I must generate). If you test with odt it works.
But for manage your case, I suggest you to do that with text styling
http://code.google.com/p/xdocreport/wiki/DocxReportingJavaMainTextStyling
Regards Angelo
Original comment by angelo.z...@gmail.com
on 20 Jun 2012 at 4:29
yeah, that's an alternative :).
how about break pages ? i mean start in a new page is it possible??
best regards
Original comment by Nhoud...@gmail.com
on 21 Jun 2012 at 12:01
> how about break pages ? i mean start in a new page is it possible??
No it's not possible today. Could you tell me what you wish to write as value
for manage page break (which html?).
But I don't know if it's possible. To do that I must study the docx and odt XML
content.
Regards Angelo
Original comment by angelo.z...@gmail.com
on 21 Jun 2012 at 12:06
I don't think their's something in html that allows to break page, the entire
web page is just one page.
Original comment by Nhoud...@gmail.com
on 22 Jun 2012 at 10:12
Hi,
I think it's possible to manage page break with docx and odt (I have studied
which XML we must generate). So my idea is to use style attribute HTML to
manage page break like this :
--------------------------------------------------
<p style="page-break-before: always">blah blah</p>
--------------------------------------------------
like explained at http://www.cybertext.com.au/tips_HTML_pagebreak.htm
What do you think about this idea?
Regards Angelo
Original comment by angelo.z...@gmail.com
on 23 Jun 2012 at 1:04
Hi,
I have implemented the page break before/after for docx =>
http://code.google.com/p/xdocreport/wiki/DocxReportingJavaMainHTMLTextStyling#At
tributes and for odt =>
http://code.google.com/p/xdocreport/wiki/ODTReportingJavaMainHTMLTextStyling#Att
ributes
It works with only p element (is it interesting to manage other element like
h1, h2?).
with HTML Text styling. By waiting the release of 0.9.8 you can test it by
getting the source of Git or use Maven.
Regards Angelo
Original comment by angelo.z...@gmail.com
on 25 Jun 2012 at 12:56
Original comment by angelo.z...@gmail.com
on 19 Sep 2012 at 4:16
Original issue reported on code.google.com by
Nhoud...@gmail.com
on 20 Jun 2012 at 2:58