Skip to content

Feature Request: Add support for repeating table headers and footers across pages #43

@dnenadd

Description

@dnenadd

Description:
I would like to suggest adding two new optional properties to control repeating table headers and footers when a table spans multiple pages during PDF generation.

Proposed Properties
public bool EnableRepeatTableHeader { get; set; } = false;
public bool EnableRepeatTableFooter { get; set; } = false;

Behavior

EnableRepeatTableHeader = true
When set, the content of the <thead> element should be reprinted automatically on each new page if the table is split across multiple pages.

EnableRepeatTableFooter = true
When set, the content of the <tfoot> element should be reprinted automatically on each page that contains part of the table.

Default Values
Both properties default to false, preserving current behavior for backward compatibility.

Motivation
Repeating headers and footers are common requirements in professional reports and long tabular documents. Supporting this feature would make PeachPDF more convenient for generating multi-page tables without the need for manual workarounds.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions