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

Repeat as header row at the top on each page #230

Closed
BorisVolkan opened this issue Jun 17, 2024 · 6 comments
Closed

Repeat as header row at the top on each page #230

BorisVolkan opened this issue Jun 17, 2024 · 6 comments
Labels
enhancement New feature or request

Comments

@BorisVolkan
Copy link

Hi,

Does WordTable supports Repeat as header row at the top on each page feature?

@PrzemyslawKlys
Copy link
Member

No, but it seems to be pretty easy to add:

image

Basically one needs to add TableHeaderr() to TableRowProperties, for every row to enable it, and remove it to disable.

@PrzemyslawKlys PrzemyslawKlys added the enhancement New feature or request label Jun 17, 2024
@BorisVolkan
Copy link
Author

But how do I know when page break occurs to enable it?

@PrzemyslawKlys
Copy link
Member

PrzemyslawKlys commented Jun 17, 2024

I mean you can just enable it on all tables? The Word will take care of it. If there's page break, it will use it, if there isn't - nothing will happen. In Word there's no way to tell on which page you are unless you basically implement what Word does as far as I am aware.

This feature should be very simple to add with minimal effort. We just need a PR.

@BorisVolkan
Copy link
Author

Thank you

@BorisVolkan
Copy link
Author

RepeatHeaderRowAtTheTopOfEachPage should be applied on FirstRow. (the header) not on a table level. Now it creates page break before table.

@BorisVolkan
Copy link
Author

Now it is OK. Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants