This is a migrated thread and some comments may be shown as answers.

Table Headers & Page numbers

1 Answer 566 Views
PdfProcessing
This is a migrated thread and some comments may be shown as answers.
Alanm
Top achievements
Rank 2
Alanm asked on 21 Jan 2016, 03:48 PM

I really like the Telerik DPL and I'm using RadFlowDocument with PdfFormatProvider to produce some much need PDFs, but I've got 2 major issues:

 

1). The tables (Table table = section.Blocks.AddTable();) don't seem to support any sort of Table Headers, I want it to simply repeat the table headers when it flows onto another page. Much like itextsharp's setHeaderRows(). Is this possible?

 

2) There doesn't seem to be any support for pages numbers in the footer?

 

Thanks,

1 Answer, 1 is accepted

Sort by
0
Boby
Telerik team
answered on 22 Jan 2016, 06:59 AM
Hello Alan,

You are right, both of the issues are still not natively implemented in the PdfFormatProvider. Here are the corresponding items in our feedback portal, where you can vote and subscribe to track eventual progress.

Respect RepeatOnEveryPage property for TableRow in PDF export (this is the item for RadWordsProcessing)
Implement API for repeating table rows on every page (this is the item for RadPdfProcessing, which would be corresponding to iTextSharp's PdfTable.HeaderRows)

Page Numbering Fields - PAGE, NUMPAGES

A more "manual" workarounds exist for both of your points.
- For the 1) you can try the project attached to the first item
- For 2) you can check the attached files, which demonstrate different approaches depending on your scenario - whether you are generating the RadFlowDocument from scratch, or are using some kind of docx template containing NUMPAGES field.


Regards,
Boby
Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Tags
PdfProcessing
Asked by
Alanm
Top achievements
Rank 2
Answers by
Boby
Telerik team
Share this question
or