|
Hi Alexandro, find your test document resaved with m80 in various formats here (~390kb) and my comments following inlined. Alexandro Colorado wrote: Ok here are some of the issues I came around today, I am working on OpenOffice.org 1.9.79 Is the text-indent as well wrong in the XML source? Have you checked the input document (blah_m80_with_indent.fsxi)?Hi how are you, well I found some temporary solutions to the error done by the CSS whenever handling list on the impress export. Is this set by the GUI on the document? Before fixing, the question arises can we remove the text-indent for all impress documents? Or are we just fixing the effect without fixing the reason for this issue? Please forgive me, that I ask you this and do not look into the documents myself, but I can only assist you, as my official schedule is packed with working on high priority tasks for the next major release. Hopefully we get along by this and that you are able to fix the problems by yourself only with my assistance. The specification of the text-indent is found under the style_mapping_css.xsl at line number 512. HTML error #1: Also the xslt seems to create an <ol> for each <li> which is obviously wrong. From a simple 3 element list showned here: <ol class="L4"> <li class="P5"> <p class="P5" style="margin-left: 0cm;">Blah</p> </li> <li class="P5"> <p class="P5" style="margin-left: 0cm;">Blah</p> </li> </ol> each list element is wrapped under an ordered list. <ol class="L4"> <li class="P5"> <p class="P5" style="margin-left: 0cm;">Blah</p> </li> </ol> <ol class="L4"> <li class="P5"> <p class="P5" style="margin-left: 0cm;">Blah</p> </li> </ol> As stated before it is unfortunately not enough to look at the output alone. We have to consider the input document (in our case blah_m80_with_indent.fsxi) as well.HTML error #2: Why do we have an ordered list when the default is unordered list it should been <ul> In it, we can see 'text:ordered-list' list elements, apparently the filter does nothing wrong on the first glance, but in the Office there are only unordered lists. The problem occurs due to a change of the XML format to OASIS Open document XML, where the distinction between ordered and unordered list items is not done by naming of XML elements, there is only a 'text:list' element in OASIS Open Document XML, but by it's style. From the list style the symbols (numbers, bullets, ..) are being taken. I must admit that the mapping back to 'OpenOffice.org XML', esp. to 'text:ordered-list' is not optimal, but due to the work-load of the writer team and the ease of workaround, I agreed not to file an issue for them, but for the XHTML filter, which currently does not depend on the styles, but the elements. Unfortunatly it has the 'OOo Later' target as XHTML has currently lower priority than my other tasks. If someone dare to volunteer for this issue, do not hestiate... ;-) The occurance of bad nestling in XHTML results due to a Impress XML issue mentioned earlier. Alexandro, maybe you can do some further investigations on the input format in relation to the result. Good luck! Kind Regards, Svante -- Alexandro Colorado Co-Leader of OpenOffice.org Spanish http://es.openoffice.org/ Mensaje citado por Svante Schubert <[EMAIL PROTECTED]>: -- Svante Schubert <[EMAIL PROTECTED]> Sun Microsystems Software Engineer - StarOffice Sachsenfeld 4 http://www.sun.com/staroffice 20097 Hamburg, Germany |
