Hi! [Ricardo Rodriguez] Your EPEC Network ICT Team wrote:
Hi all,
I am working with a XE 1.3.8295 installation where RTF export works fine. But it will be great programmatically control the output layout (namely, pictures printed size, space before and after paragraphs or headings, space before and after pictures, footnotes,...
Please, could you point me in the right direction to face this requirement?
Thanks indeed for your help.
Ricardo
After a looooong monolog from Sergiu in XWiki IRC channel (thanks Sergiu!, I've started to draw a general schema for rtf exporting, but I am far from being able to understand it. Time is running out and I do need to solve an apparently simple problem. Let me show you an example: Here a simple dummy-document... http://tinyurl.com/6n348s Here the document exported as PDF... http://tinyurl.com/6auum6 Here the document exported as RTF... http://tinyurl.com/6npxe4 Here the content of pdf.css h1 { font-size: 30px; } h2 { font-size: 25px; } h3 { font-size: 20px; } h4 { font-size: 15px; } h5 { font-size: 10px; } h6 { font-size: 10px; } The first problem: I am not able to control the separation between paragraphs. I've tried a bunch of different margin flavors, but no one affects the apparently "default" settings. But font-size does work fine: it is possible to control it by modifying pdf.css The "default" settings could be acceptable for the PDF version, but never for the RTF one (the one I need now). Please, see the examples. So, please, if margins can not be set by modifying pdf.css, where must I look for the right place to control it? And, why the pdf export does set a given paragraph separation and rtf works in a different way? Thanks!!! Cheers, Ricardo -- Ricardo RodrÃguez Your EPEC Network ICT Team