https://bugs.freedesktop.org/show_bug.cgi?id=69672

          Priority: medium
            Bug ID: 69672
          Assignee: libreoffice-bugs@lists.freedesktop.org
           Summary: TABLE: Incorrect cell padding (Space to Content) in
                    saved HTML Documents
          Severity: normal
    Classification: Unclassified
                OS: All
          Reporter: calin.dumitre...@gmail.com
          Hardware: Other
        Whiteboard: BSA
            Status: UNCONFIRMED
           Version: unspecified
         Component: Writer
           Product: LibreOffice

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

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to