Ask Your Question
0

Borders with double thin lines convert to single thin lines.

asked 2020-12-10 00:30:12 +0100

floris v gravatar image

This question was first asked on the Dutch language section, see here.

Problem is: the document contains a table with double thin lines as borders in some of the cells. When you export to PDF, print to PDF or really print, the double lines are reduced to single ones.

This is the offending file: C:\fakepath\16075151007995721.odt

Is this a bug, a feature or what?

edit retag flag offensive close merge delete

1 Answer

Sort by » oldest newest most voted
2

answered 2020-12-10 01:29:55 +0100

LeroyG gravatar image

updated 2020-12-14 23:43:56 +0100

If you export to PDF and put zoom to 1600% the space between the double lines can be seen.

The file content.xml said: style:border-line-width-left="0.02mm 0.04mm 0.02mm, that is 0.08 mm, or nearly 0.23 pt.

Printing 0.08 mm at 300 dpi will leave a 0.94 dot for both lines (and space).

EDIT: Setting line width to 9pt (the maximum) these are the values in content.xml.

image description

EDIT 2: Setting the line width to 6pt and 3pt bring some surprises: the proportions of double and thin-thick medium gap remains the same.

image description

See edited source file (border line styles.odt).

Tested with LibreOffice 6.4.7.2 (x86); OS: Windows 6.1.


Add Answer is reserved for solutions. If you think the answer is not satisfactory, add a comment below, or click edit (below your question) to add more information. Thanks.

If the answer helped you, you can mark the up arrow (Upvote mark) that is on the left (to vote, you need to have karma of at least 5).

edit flag offensive delete link more

Comments

Right, I should have made more work of the math. :) Thanks a lot.

floris v gravatar imagefloris v ( 2020-12-10 12:17:02 +0100 )edit

Where can I find content.xml of styles.odt? I only did find a content.xml in /usr/share/pandoc-2.9.2.1/data/odt but that file does not have a field "style:border-line-width-left".

BenEngbers gravatar imageBenEngbers ( 2020-12-15 15:16:49 +0100 )edit

@BenEngbers, Make a copy, and add an extra .zip extension to your file (e.g. document.odt.zip). Open this renamed file. There is the content.xml file.

LeroyG gravatar imageLeroyG ( 2020-12-15 15:44:09 +0100 )edit
Login/Signup to Answer

Question Tools

1 follower

Stats

Asked: 2020-12-10 00:30:12 +0100

Seen: 36 times

Last updated: Dec 14 '20