PDFsharp & MigraDoc Foundation

PDFsharp - A .NET library for processing PDF & MigraDoc Foundation - Creating documents on the fly
It is currently Thu Mar 28, 2024 1:58 pm

All times are UTC


Forum rules


Please read this before posting on this forum: Forum Rules



Post new topic Reply to topic  [ 5 posts ] 
Author Message
PostPosted: Thu Nov 07, 2019 9:18 am 
Offline

Joined: Thu Nov 07, 2019 9:09 am
Posts: 2
Hi

I'm using MigraDoc (1.50.5147 from NuGet) to generate a PDF report and have SpaceBefore set on some headers.
When a header is at the top of a new page it also sets this space though, and this just wastes some space.
It looks like that's being worked on (see this post), but is there any update on that?

Regards
Stan


Top
 Profile  
Reply with quote  
PostPosted: Thu Nov 07, 2019 7:31 pm 
Offline
PDFsharp Expert
User avatar

Joined: Sat Mar 14, 2015 10:15 am
Posts: 909
Location: CCAA
Hi!

I'm not absolutely sure, but I think this change is included with 1.51.

_________________
Best regards
Thomas
(Freelance Software Developer with several years of MigraDoc/PDFsharp experience)


Top
 Profile  
Reply with quote  
PostPosted: Wed Nov 20, 2019 8:15 am 
Offline

Joined: Thu Nov 07, 2019 9:09 am
Posts: 2
I tried with the latest beta that's on NuGet (1.51.5185-beta) and it still behaves the same.
And it looks like the repo on GitHub is at the same version too.


Top
 Profile  
Reply with quote  
PostPosted: Wed Nov 20, 2019 10:40 am 
Offline
PDFsharp Guru
User avatar

Joined: Mon Oct 16, 2006 8:16 am
Posts: 3095
Location: Cologne, Germany
My fault. We made this change internally and did not include it in 1.50 stable because we considered it a "breaking change".
I thought it was included in 1.51 beta, but it is not.

_________________
Regards
Thomas Hoevel
PDFsharp Team


Top
 Profile  
Reply with quote  
PostPosted: Mon Apr 03, 2023 3:46 pm 
Offline
PDFsharp Guru
User avatar

Joined: Mon Oct 16, 2006 8:16 am
Posts: 3095
Location: Cologne, Germany
As of MigraDoc 6.0.0, SpaceBefore is now ignored for the first paragraph on a page.
Version 6.0.0-preview-1 was released today.

_________________
Regards
Thomas Hoevel
PDFsharp Team


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: No registered users and 165 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