-
Notifications
You must be signed in to change notification settings - Fork 121
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Overflowing paragraph text in TextFrame is not fully visible in end of page #36
Comments
Textframes do not break to the next page, this is by design. |
MigraDoc should add page break before such textframe. |
The software architect of MigraDoc decides what MigraDoc should do. I'll ask him about it. |
PDFs are created from report template which contains text fields having left, height, width and top properties: Paragraph does not have position and size. So text is added to paragraph inside TextFrame. Paragraph contains variable number of lines and has variable height. Page break should inserted if top position + height is greater that printable area in page. If textFrame is not used, it is not possible to specify paragraph width. There are no method to get stretched paragraph height. If paragraph height is known, TextFrame height can set to this value and non-floating TextFrames are probably paged correctly. |
Expected Behavior
Last line in page should be fully visible (see attached pdf file).
Actual Behavior
Half of last line in end of first page is visible.
Steps to Reproduce the Behavior
Run attached solution
Code:
texttruncatedinendofpage.zip
actual behaviour.pdf
Using PDFsharp-MigraDoc 6.0.0-preview-3
The text was updated successfully, but these errors were encountered: