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
  
Hi how are you, well I found some temporary solutions to the error done by the
CSS whenever handling list on the impress export.

NOTE: Body text is marked as P5 and titles as P4

So under P5 we have it as a class that affects the <li> and the <p> element. The
CSS specification is like this:

.P5 { margin-left: 1.2cm; margin-right: 0cm; text-indent: -0.9cm; }

The xhtml the text overpose the list number (why number?) so moving on, I found
that by eliminating the text-indent: to or decreasing it to zero we could fix
this overpose.
  
Is the text-indent as well wrong in the XML source? Have you checked the input document (blah_m80_with_indent.fsxi)?
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>
  
HTML error #2: Why do we have an ordered list when the default is unordered list
it should been <ul>
  
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.
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]>:

  
Hi Alexandro,

good to hear that you still motivated.
I will be waiting for your new insights.

Regards,
Svante

Alexandro Colorado wrote:

    
Hi Svante, sorry today I couldnt reply you. I did had a look and I was able
      
to
    
talk to some xml guys at work, but still today was just too much going on to
talk to you. I havent given up even thought the marketing leaders are taking
      
a
    
toll on my motivation on the community :S
--
Alexandro Colorado
Co-Leader of OpenOffice.org Spanish
http://es.openoffice.org/


Mensaje citado por Svante Schubert <[EMAIL PROTECTED]>:



      
Hello Alexandro,

I filed an issue
<http://www.openoffice.org/issues/show_bug.cgi?id=43259> concerning the
nesting problems, we found on friday.
Could you figure out a reason for the styling problems?

PS: In the m80 the XML have changed, find the new document attached.

Regards,
Svante

--
Svante Schubert <[EMAIL PROTECTED]>             Sun Microsystems
Software Engineer - StarOffice                           Sachsenfeld 4
http://www.sun.com/staroffice                   20097 Hamburg, Germany




        

      
--
Svante Schubert <[EMAIL PROTECTED]>             Sun Microsystems
Software Engineer - StarOffice                           Sachsenfeld 4
http://www.sun.com/staroffice                   20097 Hamburg, Germany


    

  

-- 
Svante Schubert <[EMAIL PROTECTED]>             Sun Microsystems
Software Engineer - StarOffice                           Sachsenfeld 4
http://www.sun.com/staroffice                   20097 Hamburg, Germany

Reply via email to