Issue 73500 - border lines inside cell area get double thickness when saving as HTML
Summary: border lines inside cell area get double thickness when saving as HTML
Status: CONFIRMED
Alias: None
Product: Calc
Classification: Application
Component: save-export (show other issues)
Version: OOo 2.1
Hardware: All All
: P4 Trivial (vote)
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-01-16 02:08 UTC by kvistbo1
Modified: 2013-08-07 15:12 UTC (History)
3 users (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments
Export this StarOffice Calc file to see the problem with border thickness that doubles (6.34 KB, text/plain)
2007-01-16 02:13 UTC, kvistbo1
no flags Details
the resulting HTML-file (2.39 KB, text/html)
2007-01-16 02:13 UTC, kvistbo1
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description kvistbo1 2007-01-16 02:08:33 UTC
Define a cellrange 3*3 in the middle of the sheet.
Apply "border" and "internal" lines (horisontally and vertically).

When exporting the document to HTML all internal lines get double thickness.
Seems that all cells are given an individual border thickness. When the cells
are adjacent to each other the total thickness of each line will be the sum of
the border lines of each cell.

If two cells have a common border the resulting thickness should be max
thickness of the border lines - not the sum.

Found this issue in Star Office 8 patch 5. But as the code is developed by Oo i
guess this is the right place to report the bug.?
Comment 1 kvistbo1 2007-01-16 02:13:01 UTC
Created attachment 42184 [details]
Export this StarOffice Calc file to see the problem with border thickness that doubles
Comment 2 kvistbo1 2007-01-16 02:13:48 UTC
Created attachment 42185 [details]
the resulting HTML-file
Comment 3 kpalagin 2007-01-16 08:04:13 UTC
Confirming with m197 on WinXP.
Comment 4 frank 2007-01-23 11:07:18 UTC
Hi Eike,

according to the source code of the HTML file, all four borders for each cell
get a 1 Pixel border. Please proceed as needed.

Frank
Comment 5 ooo 2007-01-25 13:39:53 UTC
Jan, this is an outcome of issue 66439, using CSS for cell borders. What we'd
probably need here is the same handling as in the spreadsheet view, only write
one border after compareing adjacent cell borders and taking the thicker one.
Ugly to do in CSS, I guess.

Thanks for taking over.

  Eike