PDFsharp & MigraDoc Foundation

PDFsharp - A .NET library for processing PDF & MigraDoc Foundation - Creating documents on the fly
It is currently Fri Apr 19, 2024 6:25 pm

All times are UTC


Forum rules


Please read this before posting on this forum: Forum Rules



Post new topic Reply to topic  [ 4 posts ] 
Author Message
PostPosted: Thu May 03, 2012 12:52 pm 
Offline

Joined: Wed Apr 13, 2011 6:39 pm
Posts: 21
Hello,

I have a Table similar to this threads attachment:
viewtopic.php?f=2&t=1990

When this table is too large for one page I have the problem, that
- on the first page the first column hasn't got a bottom border and
- on the second page the first column hasn't got a top border.

Is there a possibility to get these borders set to black only if there is a pagebreak with migradoc?

Thanks in advance
Reiner


Top
 Profile  
Reply with quote  
PostPosted: Thu May 03, 2012 1:33 pm 
Offline
PDFsharp Guru
User avatar

Joined: Mon Oct 16, 2006 8:16 am
Posts: 3096
Location: Cologne, Germany
Hello, Reiner,

Do you set the borders for the table or did you set the borders for the cells only?

We always set a heading row in our tables. Heading rows will be repeated on every following page - with the borders at the top.

_________________
Regards
Thomas Hoevel
PDFsharp Team


Top
 Profile  
Reply with quote  
PostPosted: Thu May 03, 2012 3:00 pm 
Offline

Joined: Wed Apr 13, 2011 6:39 pm
Posts: 21
Hello Thomas,

I have the borders only defined for cells.
I tried quickly wether it makes a differenz to put something like
tbl.Borders.Top.Color = Colors.Black
after the table creation into the code, but the problem with the pagebreak isnt gone with that.

My tables are these once:
viewtopic.php?f=2&t=1619&p=4541&hilit=vertical#p4541

So there is no heading row.
I haven't tried to create a very small row for the pagebreak situation as a heading row, but it wouldn't solve the problem on the bottom side anyway.


Top
 Profile  
Reply with quote  
PostPosted: Thu May 10, 2012 7:15 pm 
Offline

Joined: Wed Apr 13, 2011 6:39 pm
Posts: 21
Should a table-top-border do the trick?
Any other ideas?


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

All times are UTC


Who is online

Users browsing this forum: Google [Bot] and 309 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