forked from pipeline-foundation/itext7-dotnet
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'develop' into devsecops
- Loading branch information
Showing
17 changed files
with
2,170 additions
and
1,278 deletions.
There are no files selected for viewing
39 changes: 39 additions & 0 deletions
39
itext.tests/itext.pdfua.tests/itext/pdfua/PdfUA2TestPdfDocument.cs
This file contains 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,39 @@ | ||
/* | ||
This file is part of the iText (R) project. | ||
Copyright (c) 1998-2025 Apryse Group NV | ||
Authors: Apryse Software. | ||
This program is offered under a commercial and under the AGPL license. | ||
For commercial licensing, contact us at https://itextpdf.com/sales. For AGPL licensing, see below. | ||
AGPL licensing: | ||
This program is free software: you can redistribute it and/or modify | ||
it under the terms of the GNU Affero General Public License as published by | ||
the Free Software Foundation, either version 3 of the License, or | ||
(at your option) any later version. | ||
This program is distributed in the hope that it will be useful, | ||
but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
GNU Affero General Public License for more details. | ||
You should have received a copy of the GNU Affero General Public License | ||
along with this program. If not, see <https://www.gnu.org/licenses/>. | ||
*/ | ||
using iText.Kernel.Pdf; | ||
|
||
namespace iText.Pdfua { | ||
public class PdfUA2TestPdfDocument : PdfUADocument { | ||
public PdfUA2TestPdfDocument(PdfWriter writer) | ||
: base(writer, CreateConfig()) { | ||
} | ||
|
||
public PdfUA2TestPdfDocument(PdfReader reader, PdfWriter writer) | ||
: base(reader, writer, CreateConfig()) { | ||
} | ||
|
||
private static PdfUAConfig CreateConfig() { | ||
return new PdfUAConfig(PdfUAConformance.PDF_UA_2, "English pangram", "en-US"); | ||
} | ||
} | ||
} |
399 changes: 262 additions & 137 deletions
399
itext.tests/itext.pdfua.tests/itext/pdfua/PdfUAAnnotationsTest.cs
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains 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 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 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.