PDFsharp & MigraDoc Forum

PDFsharp - A .NET library for processing PDF & MigraDoc - Creating documents on the fly
It is currently Wed Nov 05, 2025 1:44 pm

All times are UTC


Forum rules


Please read this before posting on this forum: Forum Rules

Also see our new Tailored Support & Services site.



Post new topic Reply to topic  [ 5 posts ] 
Author Message
PostPosted: Thu Jul 04, 2013 6:31 pm 
Offline

Joined: Thu Jul 04, 2013 6:27 pm
Posts: 3
Hello,

Let's say I have a long table in which the first row is the header (HeadingFormat = true). In MigraDoc, would it be possible to display different text on the first page and on subsequent pages?

E.g.

Title row text: "Table 1"

<page break>

Title row text: "Table 1 (Continued)"

Thanks in advance.

igor


Top
 Profile  
Reply with quote  
PostPosted: Mon Jul 08, 2013 9:22 am 
Offline
PDFsharp Guru
User avatar

Joined: Mon Oct 16, 2006 8:16 am
Posts: 3136
Location: Cologne, Germany
Hi!

This is not yet possible.
Page headers could be an option - they support a different first page header.

_________________
Regards
Thomas Hoevel
PDFsharp Team


Top
 Profile  
Reply with quote  
PostPosted: Mon Jul 08, 2013 11:25 am 
Offline

Joined: Thu Jul 04, 2013 6:27 pm
Posts: 3
Thanks, Thomas.

Unfortunately, header approach would not work as there are multiple tables in the document, any of which could go to next page(s).

No problem, I got it implemented it by hacking the code a little bit (keeping track of starting pages of all tables in the document, title rows, etc.)

Thanks for the excellent library!

igor


Top
 Profile  
Reply with quote  
PostPosted: Mon Jul 08, 2013 12:09 pm 
Offline
PDFsharp Guru
User avatar

Joined: Mon Oct 16, 2006 8:16 am
Posts: 3136
Location: Cologne, Germany
logycon wrote:
Unfortunately, header approach would not work as there are multiple tables in the document, any of which could go to next page(s).
The Headers are a property of the section and you can start a new section for every new table (I may be wrong, but I think that every new section has to start on a new page).
Headers are designed for chapter titles, not table headers - but they can also be used for multiple tables in a document.

_________________
Regards
Thomas Hoevel
PDFsharp Team


Top
 Profile  
Reply with quote  
PostPosted: Mon Jul 08, 2013 12:15 pm 
Offline

Joined: Thu Jul 04, 2013 6:27 pm
Posts: 3
Understood. The layout I need must have a single section - no new page starts :\


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 

All times are UTC


Who is online

Users browsing this forum: Google [Bot] and 197 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Privacy Policy, Data Protection Declaration, Impressum
Powered by phpBB® Forum Software © phpBB Group