https://bugs.freedesktop.org/show_bug.cgi?id=54315

Owen Genat <owen.ge...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Hardware|Other                       |All
             Status|UNCONFIRMED                 |NEW
            Version|3.6.1.2 release             |Inherited From OOo
     Ever confirmed|0                           |1

--- Comment #1 from Owen Genat <owen.ge...@gmail.com> ---
Due to these findings I am confirming this bug, even if only to get a developer
to examine the styles in order to determine what should be getting set in the
CSS of the HTML for the two filters in question. Status set to NEW. Version set
to Inherited From OOo as v3304 through v4132 all exhibit the same problem with
the centred+orange list item text for the provided example. Platform set to
All/All. Test results to be attached in a following comment.

It is worth noting that the provided ODT in comment #0 has apparently been
converted from a Word document and so may not be the best test (or it may be a
very good one, depending on viewpoint). The embedded graphic is a Microsoft
Visio diagram. The ODT (content.xml) contains:

> <style:style style:name="P1" style:family="paragraph" 
> style:parent-style-name="Standard" style:list-style-name="WW8Num26"/>
> ...
> <text:list xml:id="list36587887" text:style-name="WW8Num26">
>    <text:list-item>
>       <text:p text:style-name="P1">Mobile A starts a new GPRS session</text:p>
>    </text:list-item>
> ...

... and (styles.xml):

> <style:style style:name="Text_20_body" style:display-name="Text body" 
> style:family="paragraph" style:parent-style-name="Standard" 
> style:class="text">
>    <style:paragraph-properties fo:margin="100%" fo:margin-left="0cm" 
> fo:margin-right="0cm" fo:line-height="119%" fo:text-align="center" 
> style:justify-single-word="false" fo:text-indent="0cm" 
> style:auto-text-indent="false" style:text-autospace="none"/>
>    <style:text-properties fo:color="#ff9900" style:font-name="Courier New" 
> fo:font-weight="bold" style:font-weight-asian="bold" 
> style:font-name-complex="Courier New" style:font-weight-complex="bold"/>
> </style:style>
...
> <text:list-style style:name="WW8Num26">
>    <text:list-level-style-number text:level="1" style:num-suffix="." 
> style:num-format="1">
>       <style:list-level-properties 
> text:list-level-position-and-space-mode="label-alignment">
>          <style:list-level-label-alignment text:label-followed-by="listtab" 
> fo:text-indent="-0.635cm" fo:margin-left="1.27cm"/>
>       </style:list-level-properties>
>    </text:list-level-style-number>
>    <text:list-level-style-number text:level="2" style:num-suffix="." 
> style:num-format="a" style:num-letter-sync="true">
>       <style:list-level-properties 
> text:list-level-position-and-space-mode="label-alignment">
>          <style:list-level-label-alignment text:label-followed-by="listtab" 
> fo:text-indent="-0.635cm" fo:margin-left="2.54cm"/>
>       </style:list-level-properties></text:list-level-style-number>
> ...

Note that the "Text body" style is set to use the #ff9900 colour. This could be
the reason for the orange list item text, which I can confirmed as being
converted in this manner under Ubuntu 10.04 x86_64 running:

- v3.3.0.4 OOO330m19 Build: 6
- v3.4.6.2 OOO340m1 Build: 602
- v3.5.7.2 Build ID: 3215f89-f603614-ab984f2-7348103-1225a5b
- v3.6.7.2 Build ID: e183d5b
- v4.0.6.2 Build ID: 2e2573268451a50806fcd60ae2d9fe01dd0ce24
- v4.1.3.2 Build ID: 70feb7d99726f064edab4605a8ab840c50ec57a

Examples of commands used for testing conversion (original ODT renamed to a.odt
for convenience):

$ soffice --headless --convert-to html:"HTML (StarWriter)" --outdir
HTML_StarWriter/v4132/ a.odt

... and:

$ soffice --headless --convert-to html:"XHTML Writer File" --outdir
XHTML/v4132/ a.odt

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to