Repository navigation
Added support for scaling with content & align with page margins for header and footer #2576
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
Merged
Merged
Changes from all commits
Commits
Show all changes
21 commits
Select commit
Hold shift + click to select a range
83ec240
started work in scaling pdf with percentage
AdrianEPPlus 76ec058
Merge branch 'develop9' into feature/pdf_scaling
AdrianEPPlus 246d6c6
Progress
AdrianEPPlus b1593ac
Scaling header and footer
AdrianEPPlus 4e1303d
Added fit to page test.
AdrianEPPlus b65aa60
scaling progress
AdrianEPPlus 40117fe
Added more tests for scaling
AdrianEPPlus 9036253
Merge branch 'develop9' into feature/pdf_scaling
AdrianEPPlus 9fdbd4d
Fixed layout order and renamed PdfCatalog to EPPlusToPdfWriter
AdrianEPPlus e02c710
Merge branch 'develop9' into fix/_pdf_minior_issues
AdrianEPPlus a9e363d
removed debug comments
AdrianEPPlus 912d439
removed more comments from pdf.
AdrianEPPlus 5dd4d79
Added additional info to info object.
AdrianEPPlus a930c16
Merge branch 'develop9' into feature/pdf_info_object_update
swmal 7a7a324
Merge branch 'develop9' into feature/pdf_info_object_update
swmal d7cac71
fixed null error when reading File from package.
AdrianEPPlus cc62230
header footer scaling.
AdrianEPPlus 2ed20f9
align with page margins progress
AdrianEPPlus 34386a3
Align with page margins done
AdrianEPPlus 84e91a5
Merge branch 'develop9' into fix/pdf_hf_fixes
AdrianEPPlus fa91931
removed commented code.
AdrianEPPlus File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,24 @@ | ||
| /************************************************************************************************* | ||
| Required Notice: Copyright (C) EPPlus Software AB. | ||
| This software is licensed under PolyForm Noncommercial License 1.0.0 | ||
| and may only be used for noncommercial purposes | ||
| https://polyformproject.org/licenses/noncommercial/1.0.0/ | ||
|
|
||
| A commercial license to use this software can be purchased at https://epplussoftware.com | ||
| ************************************************************************************************* | ||
| Date Author Change | ||
| ************************************************************************************************* | ||
| 27/11/2025 EPPlus Software AB EPPlus 9 | ||
| *************************************************************************************************/ | ||
| using EPPlus.Graphics; | ||
| using EPPlus.Graphics.Geometry; | ||
| using System.Collections.Generic; | ||
|
|
||
| namespace EPPlus.Export.Pdf.Layout | ||
| { | ||
| internal sealed class PdfHeaderFooterPart | ||
| { | ||
| public Vector2 ScalePivot; | ||
| public readonly List<Transform> Items = new List<Transform>(); | ||
| } | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.