Bug 69672 - FILESAVE: Incorrect cell padding (Space to Content) in saved HTML Documents
Summary: FILESAVE: Incorrect cell padding (Space to Content) in saved HTML Documents
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version: unspecified
Hardware: All All
: medium normal
Assignee: Not Assigned
QA Contact:
URL:
Whiteboard: BSA
Keywords:
Depends on:
Blocks:
 
Reported: 2013-09-22 11:36 UTC by Calin Dumitrescu
Modified: 2013-10-24 16:48 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description Calin Dumitrescu 2013-09-22 11:36:58 UTC
Saving documents will not preserve cell padding (Spacing to Content) in HTML Documents. This bug applies only to HTML Documents. Normal Text Documents (.odt) are handled correctly AFAICT.

Steps to reproduce:

1. Create new "HTML Document".

2. Insert 2x2 cells table.

3. Go to "Table Properties" ("Table Format") -> "Borders"

4. Set inner and outer borders, width 1, solid black (so they should be visible).

5. Set "Spacing to Content", all four values to 2 cm / 1 inch or similar.

6. Press OK and exit the format dialog.

7. Insert sample content in all four cells, for example "1", "2", "3", "4".

8. Select all four cells and center text from the toolbar. All sample content must be now dead center inside the cells, both horizontally and vertically, showing that padding is correct.

9. Save the document to disk and close LibreOffice.

10. Open the document with a web browser. The padding is off, specifically : right padding missing in the two left cells, top padding missing in the two bottom cells.

11. Re-open the document in LibreOffice. Same error as in web browser. If you go to "Table Properties" -> "Borders", "Spacing to content" shows 0 in all directions.


Current behavior: Explained in steps 10 and 11.

Expected behavior: Correct padding must be applied to the saved document.

              
Operating System: All
Version: unspecified
Comment 1 Thomas van der Meulen 2013-10-24 16:48:06 UTC
Thank you for your bug report, I can reproduce this bug running 
Version: 4.1.3.1
Build ID: b42498da0e3f91b17e51b55c8295ec4f8f22087
OS: Mac osx 10.9.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.