You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@openoffice.apache.org by bu...@apache.org on 2016/08/23 14:38:09 UTC

[Issue 109775] Table border style not red from styles.xml

https://bz.apache.org/ooo/show_bug.cgi?id=109775

guiguilataupe <kp...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |kpomda.guillaume@gmail.com

--- Comment #3 from guiguilataupe <kp...@gmail.com> ---
I just had the same issue and don't quite understand the explanation.
The styles.xml file also has an <automatic-styles> section.
How do I know when a style should be in styles.xml <office:automatic-styles> or
in content.xml <office:automatic-styles> ?

Another weird thing is this: Here's the only way I got it to work:

File styles.xml:

  <office:styles>

    <style:default-style style:family="table">
      <style:table-properties table:border-model="collapsing"/>
    </style:default-style>

    <style:default-style style:family="table-row">
      <style:table-row-properties fo:keep-together="auto"/>
    </style:default-style>

  <office:styles>


File content.xml

  <office:automatic-styles>

    <style:style style:family="table-cell" style:name="Table.C2">
      <style:table-cell-properties fo:border="0.5pt solid #000000"
fo:padding="0.0382in"/>
    </style:style>

  </office:automatic-styles>


Why this separation? I'd like to be able to declare all my styles as default
styles.

-- 
You are receiving this mail because:
You are on the CC list for the issue.