Skip to content

Fix rowSpan header verticalAlignment on repeated tables - #2940

Open
NadeemShadan wants to merge 1 commit into
bpampuch:masterfrom
NadeemShadan:issue-2925-rowspan-vertical-alignment-header-repeat
Open

Fix rowSpan header verticalAlignment on repeated tables#2940
NadeemShadan wants to merge 1 commit into
bpampuch:masterfrom
NadeemShadan:issue-2925-rowspan-vertical-alignment-header-repeat

Conversation

@NadeemShadan

Copy link
Copy Markdown
Contributor

Fixes #2925

Summary

When a repeated table/header contains a row-spanned header cell with verticalAlignment: 'middle', the rowSpan view-height calculation could compare the cell text position page against row-span ending metadata from the original table layout. On repeated pages this made the computed view height negtive, causing the header text to shift outside the cell.

Changes

  • Use the table cell page metadata (_lastPageNumber) when comparing the rowSpan start/end pages.
  • Add an integration regression test for repeated report tables with:
    • headerRows: 2
    • rowSpan: 2
    • verticalAlignment: 'middle'
    • page breaks between repeated tables

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

The "verticalAlignment" property cannot be correctly applied to the second page.

1 participant