To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=43293
                  Issue #:|43293
                  Summary:|Move all styling to the header for XHTML export
                Component:|Word processor
                  Version:|OOo 2.0
                 Platform:|PC
                      URL:|
               OS/Version:|Windows XP
                   Status:|UNCONFIRMED
        Status whiteboard:|
                 Keywords:|
               Resolution:|
               Issue type:|ENHANCEMENT
                 Priority:|P3
             Subcomponent:|save-export
              Assigned to:|mru
              Reported by:|tomw99





------- Additional comments from [EMAIL PROTECTED] Mon Feb 21 20:26:40 -0800 
2005 -------
It would be a lot neater if there were no formatting commands in the body of the
exported XHTML. All the formatting could be in the style statement in header of
the document.

As an example when the document <http://www.tomw.net.au/2003/cbs.doc> is
exported as XHTML, each list element starts with:

<ol class="WW8Num1">
  <li class="P9"><p class="P9" style="margin-left: 0cm;">...</p></li>
  <li class="P9"><p class="P9" style="margin-left: 0cm;">...</p></li>
  <li class="P9"><p class="P9" style="margin-left: 0cm;">...</p></li>
</ol>

To avoid repeating the margin style (style="margin-left: 0cm;") in each
paragraph, and to separate the formatting from content, it could be included in
the class for the paragraph:


<style type="text/css">
  ...
  *.P10 { ... margin-left: 0cm; }
  ...
</style>

...

<ol class="WW8Num1">
  <li class="P9"><p class="P10">...</p></li>
  <li class="P9"><p class="P10">...</p></li>
  <li class="P9"><p class="P10">...</p></li>
</ol>


ps: That said, you did an excellent job with the XHTML export.

---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to