https://bugs.documentfoundation.org/show_bug.cgi?id=167865

            Bug ID: 167865
           Summary: sw floattable: Virtual outer borders are not rendered
                    as outer borders when horizontal inner lines are
                    styled in floating tables that span multiple pages
           Product: LibreOffice
           Version: 25.2.5.2 release
          Hardware: x86-64 (AMD64)
                OS: Linux (All)
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Writer
          Assignee: [email protected]
          Reporter: [email protected]

Description:
When both outer border and horizontal inner lines are styled in the Borders tab
of the Table Properties dialog of a floating table that spans at least two
pages, the inter-page virtual outer borders are not rendered as outer borders
but instead as inner line styles.

This problem is not reproduced if only vertical inner lines are styled.

Steps to Reproduce:

1. Create a new text document.
2. Select Table > Insert Table... menu option to open the Insert Table dialog.
3. In the Insert Table dialog:
    + In the General section:
        - Fill in `2` in the Columns text field
        - Fill in `60` in the Rows text field. (Increase the number if the
resulting table does not span 2 pages)
4. Click the Insert button at the bottom of the window to insert the table and
close the Insert Table dialog, this should create a big table that spans 2
pages(if not, adding new rows to the table until it do).
5. Select any cell in the table, then select the Table Properties... option in
its contextual(right-click) menu.
6. In the Table Properties dialog, select the "Outer Border Only" preset(check
the tooltip of each option) in the Line Arrangement > Presets field of the
Borders tab, then set the Thickness field in the Line section to Thick (2.25pt)
for better observation of the outer borders.  Then click the horizontal inner
line in the Line Arrangement > User-defined graph then set the Thickness field
in the Line section to Very thin (0.5pt).
7. Click the OK button at the bottom to apply the settings and close the Table
Properties dialog.
8. Observe the _bottom_ virtual table border of page 1 and the _top_ virtual
table border of page 2.


Actual Results:

The _bottom_ virtual table border of page 1 and the _top_ virtual table border
of page 2 are not rendered in the outer border style but instead similar to the
horizontal inner lines.


Expected Results:

The _bottom_ virtual table border of page 1 and the _top_ virtual table border
of page 2 are rendered in the outer border style.



Reproducible: Always


User Profile Reset: Yes

Additional Info:
Version: 25.2.5.2 (X86_64) / LibreOffice Community
Build ID: 03d19516eb2e1dd5d4ccd751a0d6f35f35e08022
CPU threads: 16; OS: Linux 6.14; UI render: default; VCL: gtk3
Locale: zh-TW (zh_TW.UTF-8); UI: zh-TW
Calc: threaded

Also reproduced in the following development revision:

Version: 26.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: e03da71738c72bbaecb824b4ba356a0a9923a0ff
CPU threads: 16; OS: Linux 6.14; UI render: default; VCL: gtk3
Locale: zh-TW (zh_TW.UTF-8); UI: en-US
Calc: threaded

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to