At 12:49 19/01/2015 -0600, Alan Mead wrote:
Why does adding a border to a table in Writer change the cell
margins? I paste RTF tables into Writer documents a lot. [...] How
do I prevent LO from changing the cell margin when I add borders?
FWIW, here are some things I've tried. I have no idea how to affect
the cell margins, because if I go Table -> Borders, the "Spacing to
contents" is all zero's. The style of a regular table is "Table
Contents" but changing the style to "Table Contents" has no effect.
Also, highlighting the text and selecting "Remove direct formatting"
has no effect.
At 15:44 19/01/2015 -0600, Alan Mead wrote:
[...]
Now you have a 3x3 table in Writer with no margins. Ensure the
left-most column is left-aligned. Add borders at the top and bottom
row (in fact, you can add no borders).
LO not only adds the borders but also changes the margin of the
cells of the rows to which you have added borders. The result looks
strange because the top and bottom row have a margin of about 0.04
while the middle row is flush left.
Bonus step:
Right-click and select Table > Border and observe that "Spacing to
contents" shows all zero's, even though non-zero margins are clearly
being used.
I think what happens (and what you see for the table properties)
depends on whether you set the borders by selecting individual rows
(when you see the problems you describe) or for the table generally
(when you don't). I'm guessing that you want to apply top and bottom
borders to the table - with no borders between rows. Note that to do
this you don't need to apply the two borders separately to the top
and bottom rows.
Instead, either:
o Select the entire table
o Use the Borders button in the Table toolbar. (I'm guessing that is
what you have been doing - but for the top and bottom rows separately.)
o Click the "top and bottom" button.
Or:
o Put the cursor somewhere in the table.
o Use Table | Table Properties ... | Borders (or right-click |
Table... | Borders).
o Select the top and bottom borders under User-defined.
I think you'll find only the first method adjusts the "Spacing to
contents". But both techniques act similarly on all rows, so avoiding
the problem you identify.
I trust this helps.
Brian Barker
--
To unsubscribe e-mail to: users+unsubscribe@global.libreoffice.org
Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette
List archive: http://listarchives.libreoffice.org/global/users/
All messages sent to this list will be publicly archived and cannot be deleted
Context
Privacy Policy |
Impressum (Legal Info) |
Copyright information: Unless otherwise specified, all text and images
on this website are licensed under the
Creative Commons Attribution-Share Alike 3.0 License.
This does not include the source code of LibreOffice, which is
licensed under the Mozilla Public License (
MPLv2).
"LibreOffice" and "The Document Foundation" are
registered trademarks of their corresponding registered owners or are
in actual use as trademarks in one or more countries. Their respective
logos and icons are also subject to international copyright laws. Use
thereof is explained in our
trademark policy.