Skip to content

Commit

Permalink
Merge branch 'develop' into devsecops
Browse files Browse the repository at this point in the history
  • Loading branch information
aleks-ivanov committed Oct 8, 2024
2 parents 20e65ce + 2ededc9 commit ec55baa
Show file tree
Hide file tree
Showing 27 changed files with 452 additions and 360 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,12 @@ You should have received a copy of the GNU Affero General Public License
using System.IO;
using iText.Commons.Utils;
using iText.IO.Source;
using iText.Kernel.Events;
using iText.Kernel.Font;
using iText.Kernel.Logs;
using iText.Kernel.Pdf.Canvas;
using iText.Kernel.Pdf.Canvas.Parser;
using iText.Kernel.Pdf.Canvas.Parser.Listener;
using iText.Kernel.Pdf.Event;
using iText.Kernel.Utils;
using iText.Test;
using iText.Test.Attributes;
Expand Down Expand Up @@ -1239,8 +1239,8 @@ internal static void VerifyPdfPagesCount(PdfObject root) {
//\endcond

//\cond DO_NOT_DOCUMENT
internal class WatermarkEventHandler : iText.Kernel.Events.IEventHandler {
public virtual void HandleEvent(Event @event) {
internal class WatermarkEventHandler : AbstractPdfDocumentEventHandler {
protected internal override void OnAcceptedEvent(AbstractPdfDocumentEvent @event) {
PdfDocumentEvent pdfEvent = (PdfDocumentEvent)@event;
PdfPage page = pdfEvent.GetPage();
PdfCanvas pdfCanvas = new PdfCanvas(page);
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,101 @@
/*
This file is part of the iText (R) project.
Copyright (c) 1998-2024 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 System.IO;
using iText.Commons.Actions;
using iText.Kernel.Pdf;
using iText.Test;

namespace iText.Kernel.Pdf.Event {
[NUnit.Framework.Category("UnitTest")]
public class PdfDocumentEventHandlingTest : ExtendedITextTest {
[NUnit.Framework.Test]
public virtual void SimplePdfDocumentEventTest() {
using (PdfDocument document = new PdfDocument(new PdfWriter(new MemoryStream()))) {
PdfDocumentEventHandlingTest.InsertPageHandler insertPageHandler = new PdfDocumentEventHandlingTest.InsertPageHandler
();
document.AddEventHandler(PdfDocumentEvent.INSERT_PAGE, insertPageHandler);
document.AddNewPage();
document.AddNewPage();
NUnit.Framework.Assert.AreEqual(2, insertPageHandler.GetInsertedPagesCounter());
}
}

[NUnit.Framework.Test]
public virtual void GloballyRegisteredAbstractPdfDocumentEventHandlerTest() {
PdfDocumentEventHandlingTest.InsertPageHandler insertPageHandler = new PdfDocumentEventHandlingTest.InsertPageHandler
();
insertPageHandler.AddType(PdfDocumentEvent.INSERT_PAGE);
EventManager.GetInstance().Register(insertPageHandler);
using (PdfDocument document = new PdfDocument(new PdfWriter(new MemoryStream()))) {
document.AddNewPage();
}
// Events with specified PDF document are ignored.
NUnit.Framework.Assert.AreEqual(0, insertPageHandler.GetInsertedPagesCounter());
EventManager.GetInstance().Unregister(insertPageHandler);
}

[NUnit.Framework.Test]
public virtual void EventHandlerPerSeveralDocumentsTest() {
using (PdfDocument document1 = new PdfDocument(new PdfWriter(new MemoryStream()))) {
using (PdfDocument document2 = new PdfDocument(new PdfWriter(new MemoryStream()))) {
using (PdfDocument document3 = new PdfDocument(new PdfWriter(new MemoryStream()))) {
PdfDocumentEventHandlingTest.InsertPageHandler insertPageHandler = new PdfDocumentEventHandlingTest.InsertPageHandler
();
document1.AddEventHandler(PdfDocumentEvent.INSERT_PAGE, insertPageHandler);
document2.AddEventHandler(PdfDocumentEvent.INSERT_PAGE, insertPageHandler);
document1.AddNewPage();
document2.AddNewPage();
document3.AddNewPage();
NUnit.Framework.Assert.AreEqual(2, insertPageHandler.GetInsertedPagesCounter());
document2.RemoveEventHandler(insertPageHandler);
document2.AddNewPage();
NUnit.Framework.Assert.AreEqual(2, insertPageHandler.GetInsertedPagesCounter());
}
}
}
}

[NUnit.Framework.Test]
public virtual void NoDocumentSpecifiedForEventButHandlerIsGloballyRegisteredTest() {
PdfDocumentEventHandlingTest.InsertPageHandler insertPageHandler = new PdfDocumentEventHandlingTest.InsertPageHandler
();
insertPageHandler.AddType(PdfDocumentEvent.INSERT_PAGE);
EventManager.GetInstance().Register(insertPageHandler);
EventManager.GetInstance().OnEvent(new PdfDocumentEvent(PdfDocumentEvent.INSERT_PAGE));
EventManager.GetInstance().Unregister(insertPageHandler);
NUnit.Framework.Assert.AreEqual(1, insertPageHandler.GetInsertedPagesCounter());
}

private class InsertPageHandler : AbstractPdfDocumentEventHandler {
private int insertedPagesCounter = 0;

public virtual int GetInsertedPagesCounter() {
return insertedPagesCounter;
}

protected internal override void OnAcceptedEvent(AbstractPdfDocumentEvent @event) {
insertedPagesCounter++;
}
}
}
}
14 changes: 7 additions & 7 deletions itext.tests/itext.layout.tests/itext/layout/DefaultLayoutTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,11 @@ You should have received a copy of the GNU Affero General Public License
using System.Collections.Generic;
using System.IO;
using iText.Kernel.Colors;
using iText.Kernel.Events;
using iText.Kernel.Font;
using iText.Kernel.Geom;
using iText.Kernel.Pdf;
using iText.Kernel.Pdf.Canvas;
using iText.Kernel.Pdf.Event;
using iText.Kernel.Pdf.Layer;
using iText.Kernel.Utils;
using iText.Layout.Borders;
Expand Down Expand Up @@ -241,8 +241,8 @@ public virtual void CloseEmptyDocumentWithRemovingPageEventOnAddingPageTest() {
, "diff"));
}

private class ParagraphAdderHandler : iText.Kernel.Events.IEventHandler {
public virtual void HandleEvent(Event @event) {
private class ParagraphAdderHandler : AbstractPdfDocumentEventHandler {
protected override void OnAcceptedEvent(AbstractPdfDocumentEvent @event) {
PdfDocumentEvent docEvent = (PdfDocumentEvent)@event;
PdfPage page = docEvent.GetPage();
PdfDocument pdfDoc = ((PdfDocumentEvent)@event).GetDocument();
Expand All @@ -257,12 +257,12 @@ public virtual void HandleEvent(Event @event) {
}
}

private class PageRemoverHandler : iText.Kernel.Events.IEventHandler {
public virtual void HandleEvent(Event @event) {
private class PageRemoverHandler : AbstractPdfDocumentEventHandler {
protected override void OnAcceptedEvent(AbstractPdfDocumentEvent @event) {
PdfDocumentEvent docEvent = (PdfDocumentEvent)@event;
PdfPage page = docEvent.GetPage();
PdfDocument pdfDoc = ((PdfDocumentEvent)@event).GetDocument();
pdfDoc.RemovePage(1);
PdfDocument pdfDoc = @event.GetDocument();
pdfDoc.RemovePage(page);
}
}
}
Expand Down
6 changes: 3 additions & 3 deletions itext.tests/itext.pdfa.tests/itext/pdfa/PdfAPageTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@ You should have received a copy of the GNU Affero General Public License
*/
using System;
using iText.Commons.Utils;
using iText.Kernel.Events;
using iText.Kernel.Geom;
using iText.Kernel.Pdf;
using iText.Kernel.Pdf.Event;
using iText.Layout;
using iText.Layout.Element;
using iText.Pdfa.Logs;
Expand Down Expand Up @@ -174,7 +174,7 @@ public virtual void CheckFlushingOfCheckedPage() {

//\cond DO_NOT_DOCUMENT
// Android-Conversion-Skip-Line (TODO DEVSIX-7377 introduce pdf\a validation on Android)
internal class EndPageEventHandler : iText.Kernel.Events.IEventHandler {
internal class EndPageEventHandler : AbstractPdfDocumentEventHandler {
private int counter = 0;

//\cond DO_NOT_DOCUMENT
Expand All @@ -186,7 +186,7 @@ public virtual int GetCounter() {
return counter;
}

public virtual void HandleEvent(Event @event) {
protected override void OnAcceptedEvent(AbstractPdfDocumentEvent @event) {
counter++;
}
}
Expand Down
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -1,51 +1,74 @@
-----BEGIN ENCRYPTED PRIVATE KEY-----
MIIFNTBfBgkqhkiG9w0B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cNAQEBBQADggEPADCCAQoCggEBAJ6ftTqEedqlfU8C
BluXWlNf2P3bn1dgV2/W/vBFlPfuEa1Cx/CrhlpXWr+aHFeTr0Q0LYgInJaUFvb2
p0VJy4q25D9t6zVuwrlJ9wo3CUKk9nC7FUykSBI9Rbwid8dpUznqjGeGoT7LIAt7
qyfRGbdSuA3qeNJkHVW6wZ7wKCduyfqrD8eYV8DAZEpeK0UWqkfm8biaupsu8znI
hdXW1pueDMA3Maotjm2PybvQNxwMLEaQ7MqiPje1p1pk4hvY1g+LD75n1p/9nyPe
l7eCMiAO2fcG15M/nI/riloQp7oeGPxkY562M9JpZvy5EgoUm9w39ZWUAbvFWPl1
pqkQgwsCAwEAAaOBtTCBsjAdBgNVHQ4EFgQU31+hp8yurVuCSb47mYffu69v3cow
HwYDVR0jBBgwFoAU31+hp8yurVuCSb47mYffu69v3cowDwYDVR0TAQH/BAUwAwEB
/zAOBgNVHQ8BAf8EBAMCAeYwTwYDVR0fBEgwRjBEoEKgQIY+aHR0cDovL3Rlc3Qu
ZXhhbXBsZS5jb20vZXhhbXBsZS1jYS9jcmxzL3Jvb3QtY2EtY3JsL2xhdGVzdC5j
cmwwDQYJKoZIhvcNAQELBQADggEBAADuDp8U0cVqTZLSPMZnCQK/0VjosgG+Mnrj
9MpOp/S8Htf+zvpDoyJkOVITNPX0rtzkqr2BF8JskEN65LyWiIlLGre7uojn07pf
dlNk44RHM/Jc692avM+3QHulgF92rtvF8Zw9kfi+MeT+/FDspKzEEcrEUUaA2Hll
7A4j7pInPG9VPZRAbu1kgDBzor/t23oreEIsnbpdM1iSbDTpIoz3oAD9ZlYPk9fk
3jrFpLIo9Hwn0iHxB0c/lB2M9kRRQhywhWnTEnhS2Eb6RYZwIvcCFTiv+OP0KCAO
+OhlFwKkLEGGR7Qn0X5JA0CVJ45vC/+u/XU1asYTR2J4zWQHvfs=
-----END CERTIFICATE-----
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,10 @@ You should have received a copy of the GNU Affero General Public License
using iText.Commons.Bouncycastle.Cert.Ocsp;

namespace iText.Bouncycastle.Cert.Ocsp {
/// <summary>
/// Wrapper class for
/// <see cref="Org.BouncyCastle.Asn1.Ocsp.ResponderID"/>.
/// </summary>
public class ResponderIDBC : IResponderID {
private readonly ResponderID responderID;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,10 @@ You should have received a copy of the GNU Affero General Public License
using iText.Commons.Bouncycastle.Cert.Ocsp;

namespace iText.Bouncycastlefips.Cert.Ocsp {
/// <summary>
/// Wrapper class for
/// <see cref="Org.BouncyCastle.Asn1.Ocsp.ResponderID"/>.
/// </summary>
public class ResponderIDBCFips : IResponderID {
private readonly ResponderID responderID;

Expand Down
2 changes: 1 addition & 1 deletion itext/itext.commons/itext/commons/actions/EventManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ private EventManager() {
handlers.Add(ProductEventHandler.INSTANCE);
}

/// <summary>Allows an access to the instance of EventManager.</summary>
/// <summary>Allows access to the instance of EventManager.</summary>
/// <returns>the instance of the class</returns>
public static iText.Commons.Actions.EventManager GetInstance() {
return INSTANCE;
Expand Down
43 changes: 0 additions & 43 deletions itext/itext.kernel/itext/kernel/events/Event.cs

This file was deleted.

Loading

0 comments on commit ec55baa

Please sign in to comment.