Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Split tables horizontally in split_elements if the column headers are big enough to make splitting hard #1104

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

HenryL27
Copy link
Collaborator

@HenryL27 HenryL27 commented Jan 9, 2025

If column headers are too big, splitting a table doesn't really work because we attach the col header to all the subtables anyway. Instead, in this case, split the table in half horizontally instead of vertically - which splits the col headers too.

Breaks a table like this:

image

Note that the col headers are attached to all elements, despite the bboxes not reflecting that.

I'm really not sure that this is the ideal behavior

Signed-off-by: Henry Lindeman <[email protected]>
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.

1 participant