diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
index 8ad2acb..3dbe63f 100644
--- a/CONTRIBUTING.md
+++ b/CONTRIBUTING.md
@@ -1,6 +1,6 @@
-# Contributing to iText 7 Community
+# Contributing to iText Community
-We'd love for you to contribute to our source code and to make **iText 7 Community** even better than it is
+We'd love for you to contribute to our source code and to make **iText Community** even better than it is
today! Here are the guidelines we'd like you to follow:
- [Question or Problem?](#question)
@@ -15,7 +15,7 @@ today! Here are the guidelines we'd like you to follow:
## Got a Question or Problem?
-If you have questions about how to use **iText 7 Community**, please direct these to [Stack Overflow][stackoverflow].
+If you have questions about how to use **iText Community**, please direct these to [Stack Overflow][stackoverflow].
If you are a customer with a [support agreement][support], you also have direct access to our JIRA and our developers.
@@ -79,7 +79,7 @@ Before you submit your pull request consider the following guidelines:
* Build your changes locally to ensure all the tests pass.
* Push your changes to your GitHub account.
* Create a pull request in GitHub.
-"Head fork" should be your repository, and the "base fork" should be the iText7 official repository.
+"Head fork" should be your repository, and the "base fork" should be the iText official repository.
* If we suggest changes then:
* Make the required updates.
* Fix up your commits if needed, with an interactive rebase.
@@ -111,7 +111,7 @@ To ensure consistency throughout the source code, keep these rules in mind as yo
We have guidelines on how our git commit messages should be formatted. This leads to **more
readable messages** that are easy to follow when looking through the **project history**. But also,
-we use the git commit messages to **generate the iText 7 Community change log**.
+we use the git commit messages to **generate the iText Community change log**.
These guidelines were taken from Chris Beams' blog post [How to Write a Git Commit Message][git-commit].
diff --git a/README.md b/README.md
index 94a2c63..cfdf75d 100644
--- a/README.md
+++ b/README.md
@@ -1,4 +1,4 @@
-**[pdfSweep][pdfSweep]** is an [iText 7][itext] add on.
+**[pdfSweep][pdfSweep]** is an [iText][itext] add on.
This add on will allow you to easily redact PDF files. Redaction is the process of removing sensitive or confidential information. pdfSweep will remove this data entirely so that it won't be extractable anymore.
diff --git a/pom.xml b/pom.xml
index aeec5ba..0a51609 100644
--- a/pom.xml
+++ b/pom.xml
@@ -5,12 +5,12 @@
com.itextpdf
root
- 7.2.5
+ 8.0.0
cleanup
- 3.0.2
+ 4.0.0
pdfSweep
Redact PDF documents. If you have to share PDFs with different departments or send them out of house, but they
diff --git a/src/main/java/com/itextpdf/pdfcleanup/CleanUpProperties.java b/src/main/java/com/itextpdf/pdfcleanup/CleanUpProperties.java
index f1f1bb8..f2b8b7f 100644
--- a/src/main/java/com/itextpdf/pdfcleanup/CleanUpProperties.java
+++ b/src/main/java/com/itextpdf/pdfcleanup/CleanUpProperties.java
@@ -1,44 +1,24 @@
/*
This file is part of the iText (R) project.
- Copyright (c) 1998-2023 iText Group NV
- Authors: iText Software.
+ Copyright (c) 1998-2023 Apryse Group NV
+ Authors: Apryse Software.
- This program is free software; you can redistribute it and/or modify
- it under the terms of the GNU Affero General Public License version 3
- as published by the Free Software Foundation with the addition of the
- following permission added to Section 15 as permitted in Section 7(a):
- FOR ANY PART OF THE COVERED WORK IN WHICH THE COPYRIGHT IS OWNED BY
- ITEXT GROUP. ITEXT GROUP DISCLAIMS THE WARRANTY OF NON INFRINGEMENT
- OF THIRD PARTY RIGHTS
+ 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.
- 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 http://www.gnu.org/licenses or write to
- the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- Boston, MA, 02110-1301 USA, or download the license from the following URL:
- http://itextpdf.com/terms-of-use/
-
- The interactive user interfaces in modified source and object code versions
- of this program must display Appropriate Legal Notices, as required under
- Section 5 of the GNU Affero General Public License.
+ 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.
- In accordance with Section 7(b) of the GNU Affero General Public License,
- a covered work must retain the producer line in every PDF that is created
- or manipulated using iText.
+ 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 can be released from the requirements of the license by purchasing
- a commercial license. Buying such a license is mandatory as soon as you
- develop commercial activities involving the iText software without
- disclosing the source code of your own applications.
- These activities include: offering paid services to customers as an ASP,
- serving PDFs on the fly in a web application, shipping iText with a closed
- source product.
-
- For more information, please contact iText Software Corp. at this
- address: sales@itextpdf.com
+ You should have received a copy of the GNU Affero General Public License
+ along with this program. If not, see .
*/
package com.itextpdf.pdfcleanup;
diff --git a/src/main/java/com/itextpdf/pdfcleanup/FilteredImagesCache.java b/src/main/java/com/itextpdf/pdfcleanup/FilteredImagesCache.java
index 234bde0..b0ed8f0 100644
--- a/src/main/java/com/itextpdf/pdfcleanup/FilteredImagesCache.java
+++ b/src/main/java/com/itextpdf/pdfcleanup/FilteredImagesCache.java
@@ -1,44 +1,24 @@
/*
This file is part of the iText (R) project.
- Copyright (c) 1998-2023 iText Group NV
- Authors: iText Software.
-
- This program is free software; you can redistribute it and/or modify
- it under the terms of the GNU Affero General Public License version 3
- as published by the Free Software Foundation with the addition of the
- following permission added to Section 15 as permitted in Section 7(a):
- FOR ANY PART OF THE COVERED WORK IN WHICH THE COPYRIGHT IS OWNED BY
- ITEXT GROUP. ITEXT GROUP DISCLAIMS THE WARRANTY OF NON INFRINGEMENT
- OF THIRD PARTY RIGHTS
-
- 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.
+ Copyright (c) 1998-2023 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 http://www.gnu.org/licenses or write to
- the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- Boston, MA, 02110-1301 USA, or download the license from the following URL:
- http://itextpdf.com/terms-of-use/
-
- The interactive user interfaces in modified source and object code versions
- of this program must display Appropriate Legal Notices, as required under
- Section 5 of the GNU Affero General Public License.
-
- In accordance with Section 7(b) of the GNU Affero General Public License,
- a covered work must retain the producer line in every PDF that is created
- or manipulated using iText.
-
- You can be released from the requirements of the license by purchasing
- a commercial license. Buying such a license is mandatory as soon as you
- develop commercial activities involving the iText software without
- disclosing the source code of your own applications.
- These activities include: offering paid services to customers as an ASP,
- serving PDFs on the fly in a web application, shipping iText with a closed
- source product.
-
- For more information, please contact iText Software Corp. at this
- address: sales@itextpdf.com
+ along with this program. If not, see .
*/
package com.itextpdf.pdfcleanup;
diff --git a/src/main/java/com/itextpdf/pdfcleanup/LineDashPattern.java b/src/main/java/com/itextpdf/pdfcleanup/LineDashPattern.java
index 7524bd2..ba075fe 100644
--- a/src/main/java/com/itextpdf/pdfcleanup/LineDashPattern.java
+++ b/src/main/java/com/itextpdf/pdfcleanup/LineDashPattern.java
@@ -1,44 +1,24 @@
/*
This file is part of the iText (R) project.
- Copyright (c) 1998-2023 iText Group NV
- Authors: iText Software.
-
- This program is free software; you can redistribute it and/or modify
- it under the terms of the GNU Affero General Public License version 3
- as published by the Free Software Foundation with the addition of the
- following permission added to Section 15 as permitted in Section 7(a):
- FOR ANY PART OF THE COVERED WORK IN WHICH THE COPYRIGHT IS OWNED BY
- ITEXT GROUP. ITEXT GROUP DISCLAIMS THE WARRANTY OF NON INFRINGEMENT
- OF THIRD PARTY RIGHTS
-
- 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.
+ Copyright (c) 1998-2023 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 http://www.gnu.org/licenses or write to
- the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- Boston, MA, 02110-1301 USA, or download the license from the following URL:
- http://itextpdf.com/terms-of-use/
-
- The interactive user interfaces in modified source and object code versions
- of this program must display Appropriate Legal Notices, as required under
- Section 5 of the GNU Affero General Public License.
-
- In accordance with Section 7(b) of the GNU Affero General Public License,
- a covered work must retain the producer line in every PDF that is created
- or manipulated using iText.
-
- You can be released from the requirements of the license by purchasing
- a commercial license. Buying such a license is mandatory as soon as you
- develop commercial activities involving the iText software without
- disclosing the source code of your own applications.
- These activities include: offering paid services to customers as an ASP,
- serving PDFs on the fly in a web application, shipping iText with a closed
- source product.
-
- For more information, please contact iText Software Corp. at this
- address: sales@itextpdf.com
+ along with this program. If not, see .
*/
package com.itextpdf.pdfcleanup;
diff --git a/src/main/java/com/itextpdf/pdfcleanup/PdfCleanUpEventListener.java b/src/main/java/com/itextpdf/pdfcleanup/PdfCleanUpEventListener.java
index dc0ed37..addaf02 100644
--- a/src/main/java/com/itextpdf/pdfcleanup/PdfCleanUpEventListener.java
+++ b/src/main/java/com/itextpdf/pdfcleanup/PdfCleanUpEventListener.java
@@ -1,44 +1,24 @@
/*
This file is part of the iText (R) project.
- Copyright (c) 1998-2023 iText Group NV
- Authors: iText Software.
-
- This program is free software; you can redistribute it and/or modify
- it under the terms of the GNU Affero General Public License version 3
- as published by the Free Software Foundation with the addition of the
- following permission added to Section 15 as permitted in Section 7(a):
- FOR ANY PART OF THE COVERED WORK IN WHICH THE COPYRIGHT IS OWNED BY
- ITEXT GROUP. ITEXT GROUP DISCLAIMS THE WARRANTY OF NON INFRINGEMENT
- OF THIRD PARTY RIGHTS
-
- 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.
+ Copyright (c) 1998-2023 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 http://www.gnu.org/licenses or write to
- the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- Boston, MA, 02110-1301 USA, or download the license from the following URL:
- http://itextpdf.com/terms-of-use/
-
- The interactive user interfaces in modified source and object code versions
- of this program must display Appropriate Legal Notices, as required under
- Section 5 of the GNU Affero General Public License.
-
- In accordance with Section 7(b) of the GNU Affero General Public License,
- a covered work must retain the producer line in every PDF that is created
- or manipulated using iText.
-
- You can be released from the requirements of the license by purchasing
- a commercial license. Buying such a license is mandatory as soon as you
- develop commercial activities involving the iText software without
- disclosing the source code of your own applications.
- These activities include: offering paid services to customers as an ASP,
- serving PDFs on the fly in a web application, shipping iText with a closed
- source product.
-
- For more information, please contact iText Software Corp. at this
- address: sales@itextpdf.com
+ along with this program. If not, see .
*/
package com.itextpdf.pdfcleanup;
diff --git a/src/main/java/com/itextpdf/pdfcleanup/PdfCleanUpFilter.java b/src/main/java/com/itextpdf/pdfcleanup/PdfCleanUpFilter.java
index 48bcc5c..adf6932 100644
--- a/src/main/java/com/itextpdf/pdfcleanup/PdfCleanUpFilter.java
+++ b/src/main/java/com/itextpdf/pdfcleanup/PdfCleanUpFilter.java
@@ -1,48 +1,29 @@
/*
This file is part of the iText (R) project.
- Copyright (c) 1998-2023 iText Group NV
- Authors: iText Software.
-
- This program is free software; you can redistribute it and/or modify
- it under the terms of the GNU Affero General Public License version 3
- as published by the Free Software Foundation with the addition of the
- following permission added to Section 15 as permitted in Section 7(a):
- FOR ANY PART OF THE COVERED WORK IN WHICH THE COPYRIGHT IS OWNED BY
- ITEXT GROUP. ITEXT GROUP DISCLAIMS THE WARRANTY OF NON INFRINGEMENT
- OF THIRD PARTY RIGHTS
-
- 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.
+ Copyright (c) 1998-2023 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 http://www.gnu.org/licenses or write to
- the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- Boston, MA, 02110-1301 USA, or download the license from the following URL:
- http://itextpdf.com/terms-of-use/
-
- The interactive user interfaces in modified source and object code versions
- of this program must display Appropriate Legal Notices, as required under
- Section 5 of the GNU Affero General Public License.
-
- In accordance with Section 7(b) of the GNU Affero General Public License,
- a covered work must retain the producer line in every PDF that is created
- or manipulated using iText.
-
- You can be released from the requirements of the license by purchasing
- a commercial license. Buying such a license is mandatory as soon as you
- develop commercial activities involving the iText software without
- disclosing the source code of your own applications.
- These activities include: offering paid services to customers as an ASP,
- serving PDFs on the fly in a web application, shipping iText with a closed
- source product.
-
- For more information, please contact iText Software Corp. at this
- address: sales@itextpdf.com
+ along with this program. If not, see .
*/
package com.itextpdf.pdfcleanup;
import com.itextpdf.commons.utils.MessageFormatUtil;
+import com.itextpdf.io.font.FontProgram;
import com.itextpdf.io.image.ImageData;
import com.itextpdf.io.image.ImageDataFactory;
import com.itextpdf.kernel.exceptions.PdfException;
@@ -231,8 +212,8 @@ FilterResult filterText(TextRenderInfo text) {
if (isTextNotToBeCleaned(ri)) {
textArray.add(ri.getPdfString());
} else {
- textArray.add(new PdfNumber(
- -ri.getUnscaledWidth() * 1000f / (text.getFontSize() * text.getHorizontalScaling() / 100)
+ textArray.add(new PdfNumber(FontProgram.convertGlyphSpaceToTextSpace(-ri.getUnscaledWidth()) /
+ (text.getFontSize() * text.getHorizontalScaling() / FontProgram.HORIZONTAL_SCALING_FACTOR)
));
}
}
diff --git a/src/main/java/com/itextpdf/pdfcleanup/PdfCleanUpLocation.java b/src/main/java/com/itextpdf/pdfcleanup/PdfCleanUpLocation.java
index ec01d06..81c684b 100644
--- a/src/main/java/com/itextpdf/pdfcleanup/PdfCleanUpLocation.java
+++ b/src/main/java/com/itextpdf/pdfcleanup/PdfCleanUpLocation.java
@@ -1,44 +1,24 @@
/*
This file is part of the iText (R) project.
- Copyright (c) 1998-2023 iText Group NV
- Authors: iText Software.
+ Copyright (c) 1998-2023 Apryse Group NV
+ Authors: Apryse Software.
- This program is free software; you can redistribute it and/or modify
- it under the terms of the GNU Affero General Public License version 3
- as published by the Free Software Foundation with the addition of the
- following permission added to Section 15 as permitted in Section 7(a):
- FOR ANY PART OF THE COVERED WORK IN WHICH THE COPYRIGHT IS OWNED BY
- ITEXT GROUP. ITEXT GROUP DISCLAIMS THE WARRANTY OF NON INFRINGEMENT
- OF THIRD PARTY RIGHTS
+ 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.
- 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 http://www.gnu.org/licenses or write to
- the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- Boston, MA, 02110-1301 USA, or download the license from the following URL:
- http://itextpdf.com/terms-of-use/
-
- The interactive user interfaces in modified source and object code versions
- of this program must display Appropriate Legal Notices, as required under
- Section 5 of the GNU Affero General Public License.
+ 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.
- In accordance with Section 7(b) of the GNU Affero General Public License,
- a covered work must retain the producer line in every PDF that is created
- or manipulated using iText.
+ 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 can be released from the requirements of the license by purchasing
- a commercial license. Buying such a license is mandatory as soon as you
- develop commercial activities involving the iText software without
- disclosing the source code of your own applications.
- These activities include: offering paid services to customers as an ASP,
- serving PDFs on the fly in a web application, shipping iText with a closed
- source product.
-
- For more information, please contact iText Software Corp. at this
- address: sales@itextpdf.com
+ You should have received a copy of the GNU Affero General Public License
+ along with this program. If not, see .
*/
package com.itextpdf.pdfcleanup;
diff --git a/src/main/java/com/itextpdf/pdfcleanup/PdfCleanUpProcessor.java b/src/main/java/com/itextpdf/pdfcleanup/PdfCleanUpProcessor.java
index f4a6b03..bd2c5b4 100644
--- a/src/main/java/com/itextpdf/pdfcleanup/PdfCleanUpProcessor.java
+++ b/src/main/java/com/itextpdf/pdfcleanup/PdfCleanUpProcessor.java
@@ -1,44 +1,24 @@
/*
This file is part of the iText (R) project.
- Copyright (c) 1998-2023 iText Group NV
- Authors: iText Software.
-
- This program is free software; you can redistribute it and/or modify
- it under the terms of the GNU Affero General Public License version 3
- as published by the Free Software Foundation with the addition of the
- following permission added to Section 15 as permitted in Section 7(a):
- FOR ANY PART OF THE COVERED WORK IN WHICH THE COPYRIGHT IS OWNED BY
- ITEXT GROUP. ITEXT GROUP DISCLAIMS THE WARRANTY OF NON INFRINGEMENT
- OF THIRD PARTY RIGHTS
-
- 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.
+ Copyright (c) 1998-2023 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 http://www.gnu.org/licenses or write to
- the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- Boston, MA, 02110-1301 USA, or download the license from the following URL:
- http://itextpdf.com/terms-of-use/
-
- The interactive user interfaces in modified source and object code versions
- of this program must display Appropriate Legal Notices, as required under
- Section 5 of the GNU Affero General Public License.
-
- In accordance with Section 7(b) of the GNU Affero General Public License,
- a covered work must retain the producer line in every PDF that is created
- or manipulated using iText.
-
- You can be released from the requirements of the license by purchasing
- a commercial license. Buying such a license is mandatory as soon as you
- develop commercial activities involving the iText software without
- disclosing the source code of your own applications.
- These activities include: offering paid services to customers as an ASP,
- serving PDFs on the fly in a web application, shipping iText with a closed
- source product.
-
- For more information, please contact iText Software Corp. at this
- address: sales@itextpdf.com
+ along with this program. If not, see .
*/
package com.itextpdf.pdfcleanup;
diff --git a/src/main/java/com/itextpdf/pdfcleanup/PdfCleanUpTool.java b/src/main/java/com/itextpdf/pdfcleanup/PdfCleanUpTool.java
index b3b329b..e67585f 100644
--- a/src/main/java/com/itextpdf/pdfcleanup/PdfCleanUpTool.java
+++ b/src/main/java/com/itextpdf/pdfcleanup/PdfCleanUpTool.java
@@ -1,44 +1,24 @@
/*
This file is part of the iText (R) project.
- Copyright (c) 1998-2023 iText Group NV
- Authors: iText Software.
-
- This program is free software; you can redistribute it and/or modify
- it under the terms of the GNU Affero General Public License version 3
- as published by the Free Software Foundation with the addition of the
- following permission added to Section 15 as permitted in Section 7(a):
- FOR ANY PART OF THE COVERED WORK IN WHICH THE COPYRIGHT IS OWNED BY
- ITEXT GROUP. ITEXT GROUP DISCLAIMS THE WARRANTY OF NON INFRINGEMENT
- OF THIRD PARTY RIGHTS
-
- 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.
+ Copyright (c) 1998-2023 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 http://www.gnu.org/licenses or write to
- the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- Boston, MA, 02110-1301 USA, or download the license from the following URL:
- http://itextpdf.com/terms-of-use/
-
- The interactive user interfaces in modified source and object code versions
- of this program must display Appropriate Legal Notices, as required under
- Section 5 of the GNU Affero General Public License.
-
- In accordance with Section 7(b) of the GNU Affero General Public License,
- a covered work must retain the producer line in every PDF that is created
- or manipulated using iText.
-
- You can be released from the requirements of the license by purchasing
- a commercial license. Buying such a license is mandatory as soon as you
- develop commercial activities involving the iText software without
- disclosing the source code of your own applications.
- These activities include: offering paid services to customers as an ASP,
- serving PDFs on the fly in a web application, shipping iText with a closed
- source product.
-
- For more information, please contact iText Software Corp. at this
- address: sales@itextpdf.com
+ along with this program. If not, see .
*/
package com.itextpdf.pdfcleanup;
diff --git a/src/main/java/com/itextpdf/pdfcleanup/PdfCleaner.java b/src/main/java/com/itextpdf/pdfcleanup/PdfCleaner.java
index 3891425..2e283a2 100644
--- a/src/main/java/com/itextpdf/pdfcleanup/PdfCleaner.java
+++ b/src/main/java/com/itextpdf/pdfcleanup/PdfCleaner.java
@@ -1,44 +1,24 @@
/*
This file is part of the iText (R) project.
- Copyright (c) 1998-2023 iText Group NV
- Authors: iText Software.
-
- This program is free software; you can redistribute it and/or modify
- it under the terms of the GNU Affero General Public License version 3
- as published by the Free Software Foundation with the addition of the
- following permission added to Section 15 as permitted in Section 7(a):
- FOR ANY PART OF THE COVERED WORK IN WHICH THE COPYRIGHT IS OWNED BY
- ITEXT GROUP. ITEXT GROUP DISCLAIMS THE WARRANTY OF NON INFRINGEMENT
- OF THIRD PARTY RIGHTS
-
- 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.
+ Copyright (c) 1998-2023 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 http://www.gnu.org/licenses or write to
- the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- Boston, MA, 02110-1301 USA, or download the license from the following URL:
- http://itextpdf.com/terms-of-use/
-
- The interactive user interfaces in modified source and object code versions
- of this program must display Appropriate Legal Notices, as required under
- Section 5 of the GNU Affero General Public License.
-
- In accordance with Section 7(b) of the GNU Affero General Public License,
- a covered work must retain the producer line in every PDF that is created
- or manipulated using iText.
-
- You can be released from the requirements of the license by purchasing
- a commercial license. Buying such a license is mandatory as soon as you
- develop commercial activities involving the iText software without
- disclosing the source code of your own applications.
- These activities include: offering paid services to customers as an ASP,
- serving PDFs on the fly in a web application, shipping iText with a closed
- source product.
-
- For more information, please contact iText Software Corp. at this
- address: sales@itextpdf.com
+ along with this program. If not, see .
*/
package com.itextpdf.pdfcleanup;
diff --git a/src/main/java/com/itextpdf/pdfcleanup/TextPositioning.java b/src/main/java/com/itextpdf/pdfcleanup/TextPositioning.java
index b5073ac..d98ac2e 100644
--- a/src/main/java/com/itextpdf/pdfcleanup/TextPositioning.java
+++ b/src/main/java/com/itextpdf/pdfcleanup/TextPositioning.java
@@ -1,47 +1,28 @@
/*
This file is part of the iText (R) project.
- Copyright (c) 1998-2023 iText Group NV
- Authors: iText Software.
-
- This program is free software; you can redistribute it and/or modify
- it under the terms of the GNU Affero General Public License version 3
- as published by the Free Software Foundation with the addition of the
- following permission added to Section 15 as permitted in Section 7(a):
- FOR ANY PART OF THE COVERED WORK IN WHICH THE COPYRIGHT IS OWNED BY
- ITEXT GROUP. ITEXT GROUP DISCLAIMS THE WARRANTY OF NON INFRINGEMENT
- OF THIRD PARTY RIGHTS
-
- 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.
+ Copyright (c) 1998-2023 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 http://www.gnu.org/licenses or write to
- the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- Boston, MA, 02110-1301 USA, or download the license from the following URL:
- http://itextpdf.com/terms-of-use/
-
- The interactive user interfaces in modified source and object code versions
- of this program must display Appropriate Legal Notices, as required under
- Section 5 of the GNU Affero General Public License.
-
- In accordance with Section 7(b) of the GNU Affero General Public License,
- a covered work must retain the producer line in every PDF that is created
- or manipulated using iText.
-
- You can be released from the requirements of the license by purchasing
- a commercial license. Buying such a license is mandatory as soon as you
- develop commercial activities involving the iText software without
- disclosing the source code of your own applications.
- These activities include: offering paid services to customers as an ASP,
- serving PDFs on the fly in a web application, shipping iText with a closed
- source product.
-
- For more information, please contact iText Software Corp. at this
- address: sales@itextpdf.com
+ along with this program. If not, see .
*/
package com.itextpdf.pdfcleanup;
+import com.itextpdf.io.font.FontProgram;
import com.itextpdf.kernel.geom.Matrix;
import com.itextpdf.kernel.pdf.PdfArray;
import com.itextpdf.kernel.pdf.PdfNumber;
@@ -139,7 +120,8 @@ void appendTjArrayWithSingleNumber(PdfArray tjArray, float fontSize, float scali
}
float shift = tjArray.getAsNumber(0).floatValue();
- removedTextShift += shift * fontSize * (scaling / 100) / 1000;
+ removedTextShift += FontProgram.convertTextSpaceToGlyphSpace(
+ shift * fontSize * (scaling / FontProgram.HORIZONTAL_SCALING_FACTOR));
}
/**
@@ -189,7 +171,8 @@ private void writeText(String operator, List operands, PdfArray clean
}
PdfTextArray tjShiftArray = null;
if (removedTextShift != null) {
- float tjShift = (float) removedTextShift * 1000 / (canvasGs.getFontSize() * canvasGs.getHorizontalScaling() / 100);
+ final float tjShift = (float) (FontProgram.convertGlyphSpaceToTextSpace((float)removedTextShift) / (
+ canvasGs.getFontSize() * canvasGs.getHorizontalScaling() / FontProgram.HORIZONTAL_SCALING_FACTOR));
tjShiftArray = new PdfTextArray();
tjShiftArray.add(new PdfNumber(tjShift));
}
diff --git a/src/main/java/com/itextpdf/pdfcleanup/actions/data/PdfSweepProductData.java b/src/main/java/com/itextpdf/pdfcleanup/actions/data/PdfSweepProductData.java
index 38cd729..2f6ab6b 100644
--- a/src/main/java/com/itextpdf/pdfcleanup/actions/data/PdfSweepProductData.java
+++ b/src/main/java/com/itextpdf/pdfcleanup/actions/data/PdfSweepProductData.java
@@ -1,44 +1,24 @@
/*
This file is part of the iText (R) project.
- Copyright (c) 1998-2023 iText Group NV
- Authors: iText Software.
+ Copyright (c) 1998-2023 Apryse Group NV
+ Authors: Apryse Software.
- This program is free software; you can redistribute it and/or modify
- it under the terms of the GNU Affero General Public License version 3
- as published by the Free Software Foundation with the addition of the
- following permission added to Section 15 as permitted in Section 7(a):
- FOR ANY PART OF THE COVERED WORK IN WHICH THE COPYRIGHT IS OWNED BY
- ITEXT GROUP. ITEXT GROUP DISCLAIMS THE WARRANTY OF NON INFRINGEMENT
- OF THIRD PARTY RIGHTS
+ 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.
- 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 http://www.gnu.org/licenses or write to
- the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- Boston, MA, 02110-1301 USA, or download the license from the following URL:
- http://itextpdf.com/terms-of-use/
-
- The interactive user interfaces in modified source and object code versions
- of this program must display Appropriate Legal Notices, as required under
- Section 5 of the GNU Affero General Public License.
+ 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.
- In accordance with Section 7(b) of the GNU Affero General Public License,
- a covered work must retain the producer line in every PDF that is created
- or manipulated using iText.
+ 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 can be released from the requirements of the license by purchasing
- a commercial license. Buying such a license is mandatory as soon as you
- develop commercial activities involving the iText software without
- disclosing the source code of your own applications.
- These activities include: offering paid services to customers as an ASP,
- serving PDFs on the fly in a web application, shipping iText with a closed
- source product.
-
- For more information, please contact iText Software Corp. at this
- address: sales@itextpdf.com
+ You should have received a copy of the GNU Affero General Public License
+ along with this program. If not, see .
*/
package com.itextpdf.pdfcleanup.actions.data;
@@ -51,7 +31,7 @@ public class PdfSweepProductData {
public static final String PDF_SWEEP_PRODUCT_NAME = "pdfSweep";
public static final String PDF_SWEEP_PUBLIC_PRODUCT_NAME = PDF_SWEEP_PRODUCT_NAME;
- private static final String PDF_SWEEP_VERSION = "3.0.2";
+ private static final String PDF_SWEEP_VERSION = "4.0.0";
private static final int PDF_SWEEP_COPYRIGHT_SINCE = 2000;
private static final int PDF_SWEEP_COPYRIGHT_TO = 2023;
diff --git a/src/main/java/com/itextpdf/pdfcleanup/actions/event/PdfSweepProductEvent.java b/src/main/java/com/itextpdf/pdfcleanup/actions/event/PdfSweepProductEvent.java
index 7c6885b..6f1ce3a 100644
--- a/src/main/java/com/itextpdf/pdfcleanup/actions/event/PdfSweepProductEvent.java
+++ b/src/main/java/com/itextpdf/pdfcleanup/actions/event/PdfSweepProductEvent.java
@@ -1,44 +1,24 @@
/*
This file is part of the iText (R) project.
- Copyright (c) 1998-2023 iText Group NV
- Authors: iText Software.
+ Copyright (c) 1998-2023 Apryse Group NV
+ Authors: Apryse Software.
- This program is free software; you can redistribute it and/or modify
- it under the terms of the GNU Affero General Public License version 3
- as published by the Free Software Foundation with the addition of the
- following permission added to Section 15 as permitted in Section 7(a):
- FOR ANY PART OF THE COVERED WORK IN WHICH THE COPYRIGHT IS OWNED BY
- ITEXT GROUP. ITEXT GROUP DISCLAIMS THE WARRANTY OF NON INFRINGEMENT
- OF THIRD PARTY RIGHTS
+ 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.
- 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 http://www.gnu.org/licenses or write to
- the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- Boston, MA, 02110-1301 USA, or download the license from the following URL:
- http://itextpdf.com/terms-of-use/
-
- The interactive user interfaces in modified source and object code versions
- of this program must display Appropriate Legal Notices, as required under
- Section 5 of the GNU Affero General Public License.
+ 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.
- In accordance with Section 7(b) of the GNU Affero General Public License,
- a covered work must retain the producer line in every PDF that is created
- or manipulated using iText.
+ 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 can be released from the requirements of the license by purchasing
- a commercial license. Buying such a license is mandatory as soon as you
- develop commercial activities involving the iText software without
- disclosing the source code of your own applications.
- These activities include: offering paid services to customers as an ASP,
- serving PDFs on the fly in a web application, shipping iText with a closed
- source product.
-
- For more information, please contact iText Software Corp. at this
- address: sales@itextpdf.com
+ You should have received a copy of the GNU Affero General Public License
+ along with this program. If not, see .
*/
package com.itextpdf.pdfcleanup.actions.event;
diff --git a/src/main/java/com/itextpdf/pdfcleanup/autosweep/CommonRegex.java b/src/main/java/com/itextpdf/pdfcleanup/autosweep/CommonRegex.java
index 1d3cbd7..6ba5576 100644
--- a/src/main/java/com/itextpdf/pdfcleanup/autosweep/CommonRegex.java
+++ b/src/main/java/com/itextpdf/pdfcleanup/autosweep/CommonRegex.java
@@ -1,44 +1,24 @@
/*
This file is part of the iText (R) project.
- Copyright (c) 1998-2023 iText Group NV
- Authors: iText Software.
-
- This program is free software; you can redistribute it and/or modify
- it under the terms of the GNU Affero General Public License version 3
- as published by the Free Software Foundation with the addition of the
- following permission added to Section 15 as permitted in Section 7(a):
- FOR ANY PART OF THE COVERED WORK IN WHICH THE COPYRIGHT IS OWNED BY
- ITEXT GROUP. ITEXT GROUP DISCLAIMS THE WARRANTY OF NON INFRINGEMENT
- OF THIRD PARTY RIGHTS
-
- 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.
+ Copyright (c) 1998-2023 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 http://www.gnu.org/licenses or write to
- the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- Boston, MA, 02110-1301 USA, or download the license from the following URL:
- http://itextpdf.com/terms-of-use/
-
- The interactive user interfaces in modified source and object code versions
- of this program must display Appropriate Legal Notices, as required under
- Section 5 of the GNU Affero General Public License.
-
- In accordance with Section 7(b) of the GNU Affero General Public License,
- a covered work must retain the producer line in every PDF that is created
- or manipulated using iText.
-
- You can be released from the requirements of the license by purchasing
- a commercial license. Buying such a license is mandatory as soon as you
- develop commercial activities involving the iText software without
- disclosing the source code of your own applications.
- These activities include: offering paid services to customers as an ASP,
- serving PDFs on the fly in a web application, shipping iText with a closed
- source product.
-
- For more information, please contact iText Software Corp. at this
- address: sales@itextpdf.com
+ along with this program. If not, see .
*/
package com.itextpdf.pdfcleanup.autosweep;
diff --git a/src/main/java/com/itextpdf/pdfcleanup/autosweep/CompositeCleanupStrategy.java b/src/main/java/com/itextpdf/pdfcleanup/autosweep/CompositeCleanupStrategy.java
index 74ddbf7..6af1ed4 100644
--- a/src/main/java/com/itextpdf/pdfcleanup/autosweep/CompositeCleanupStrategy.java
+++ b/src/main/java/com/itextpdf/pdfcleanup/autosweep/CompositeCleanupStrategy.java
@@ -1,44 +1,24 @@
/*
This file is part of the iText (R) project.
- Copyright (c) 1998-2023 iText Group NV
- Authors: iText Software.
-
- This program is free software; you can redistribute it and/or modify
- it under the terms of the GNU Affero General Public License version 3
- as published by the Free Software Foundation with the addition of the
- following permission added to Section 15 as permitted in Section 7(a):
- FOR ANY PART OF THE COVERED WORK IN WHICH THE COPYRIGHT IS OWNED BY
- ITEXT GROUP. ITEXT GROUP DISCLAIMS THE WARRANTY OF NON INFRINGEMENT
- OF THIRD PARTY RIGHTS
-
- 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.
+ Copyright (c) 1998-2023 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 http://www.gnu.org/licenses or write to
- the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- Boston, MA, 02110-1301 USA, or download the license from the following URL:
- http://itextpdf.com/terms-of-use/
-
- The interactive user interfaces in modified source and object code versions
- of this program must display Appropriate Legal Notices, as required under
- Section 5 of the GNU Affero General Public License.
-
- In accordance with Section 7(b) of the GNU Affero General Public License,
- a covered work must retain the producer line in every PDF that is created
- or manipulated using iText.
-
- You can be released from the requirements of the license by purchasing
- a commercial license. Buying such a license is mandatory as soon as you
- develop commercial activities involving the iText software without
- disclosing the source code of your own applications.
- These activities include: offering paid services to customers as an ASP,
- serving PDFs on the fly in a web application, shipping iText with a closed
- source product.
-
- For more information, please contact iText Software Corp. at this
- address: sales@itextpdf.com
+ along with this program. If not, see .
*/
package com.itextpdf.pdfcleanup.autosweep;
diff --git a/src/main/java/com/itextpdf/pdfcleanup/autosweep/ICleanupStrategy.java b/src/main/java/com/itextpdf/pdfcleanup/autosweep/ICleanupStrategy.java
index 26c2893..7917269 100644
--- a/src/main/java/com/itextpdf/pdfcleanup/autosweep/ICleanupStrategy.java
+++ b/src/main/java/com/itextpdf/pdfcleanup/autosweep/ICleanupStrategy.java
@@ -1,44 +1,24 @@
/*
This file is part of the iText (R) project.
- Copyright (c) 1998-2023 iText Group NV
- Authors: iText Software.
+ Copyright (c) 1998-2023 Apryse Group NV
+ Authors: Apryse Software.
- This program is free software; you can redistribute it and/or modify
- it under the terms of the GNU Affero General Public License version 3
- as published by the Free Software Foundation with the addition of the
- following permission added to Section 15 as permitted in Section 7(a):
- FOR ANY PART OF THE COVERED WORK IN WHICH THE COPYRIGHT IS OWNED BY
- ITEXT GROUP. ITEXT GROUP DISCLAIMS THE WARRANTY OF NON INFRINGEMENT
- OF THIRD PARTY RIGHTS
+ 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.
- 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 http://www.gnu.org/licenses or write to
- the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- Boston, MA, 02110-1301 USA, or download the license from the following URL:
- http://itextpdf.com/terms-of-use/
-
- The interactive user interfaces in modified source and object code versions
- of this program must display Appropriate Legal Notices, as required under
- Section 5 of the GNU Affero General Public License.
+ 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.
- In accordance with Section 7(b) of the GNU Affero General Public License,
- a covered work must retain the producer line in every PDF that is created
- or manipulated using iText.
+ 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 can be released from the requirements of the license by purchasing
- a commercial license. Buying such a license is mandatory as soon as you
- develop commercial activities involving the iText software without
- disclosing the source code of your own applications.
- These activities include: offering paid services to customers as an ASP,
- serving PDFs on the fly in a web application, shipping iText with a closed
- source product.
-
- For more information, please contact iText Software Corp. at this
- address: sales@itextpdf.com
+ You should have received a copy of the GNU Affero General Public License
+ along with this program. If not, see .
*/
package com.itextpdf.pdfcleanup.autosweep;
diff --git a/src/main/java/com/itextpdf/pdfcleanup/autosweep/PdfAutoSweepTools.java b/src/main/java/com/itextpdf/pdfcleanup/autosweep/PdfAutoSweepTools.java
index 263e8a3..0415892 100644
--- a/src/main/java/com/itextpdf/pdfcleanup/autosweep/PdfAutoSweepTools.java
+++ b/src/main/java/com/itextpdf/pdfcleanup/autosweep/PdfAutoSweepTools.java
@@ -1,44 +1,24 @@
/*
This file is part of the iText (R) project.
- Copyright (c) 1998-2023 iText Group NV
- Authors: iText Software.
-
- This program is free software; you can redistribute it and/or modify
- it under the terms of the GNU Affero General Public License version 3
- as published by the Free Software Foundation with the addition of the
- following permission added to Section 15 as permitted in Section 7(a):
- FOR ANY PART OF THE COVERED WORK IN WHICH THE COPYRIGHT IS OWNED BY
- ITEXT GROUP. ITEXT GROUP DISCLAIMS THE WARRANTY OF NON INFRINGEMENT
- OF THIRD PARTY RIGHTS
-
- 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.
+ Copyright (c) 1998-2023 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 http://www.gnu.org/licenses or write to
- the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- Boston, MA, 02110-1301 USA, or download the license from the following URL:
- http://itextpdf.com/terms-of-use/
-
- The interactive user interfaces in modified source and object code versions
- of this program must display Appropriate Legal Notices, as required under
- Section 5 of the GNU Affero General Public License.
-
- In accordance with Section 7(b) of the GNU Affero General Public License,
- a covered work must retain the producer line in every PDF that is created
- or manipulated using iText.
-
- You can be released from the requirements of the license by purchasing
- a commercial license. Buying such a license is mandatory as soon as you
- develop commercial activities involving the iText software without
- disclosing the source code of your own applications.
- These activities include: offering paid services to customers as an ASP,
- serving PDFs on the fly in a web application, shipping iText with a closed
- source product.
-
- For more information, please contact iText Software Corp. at this
- address: sales@itextpdf.com
+ along with this program. If not, see .
*/
package com.itextpdf.pdfcleanup.autosweep;
diff --git a/src/main/java/com/itextpdf/pdfcleanup/autosweep/RegexBasedCleanupStrategy.java b/src/main/java/com/itextpdf/pdfcleanup/autosweep/RegexBasedCleanupStrategy.java
index 40f10eb..bf4e973 100644
--- a/src/main/java/com/itextpdf/pdfcleanup/autosweep/RegexBasedCleanupStrategy.java
+++ b/src/main/java/com/itextpdf/pdfcleanup/autosweep/RegexBasedCleanupStrategy.java
@@ -1,44 +1,24 @@
/*
This file is part of the iText (R) project.
- Copyright (c) 1998-2023 iText Group NV
- Authors: iText Software.
+ Copyright (c) 1998-2023 Apryse Group NV
+ Authors: Apryse Software.
- This program is free software; you can redistribute it and/or modify
- it under the terms of the GNU Affero General Public License version 3
- as published by the Free Software Foundation with the addition of the
- following permission added to Section 15 as permitted in Section 7(a):
- FOR ANY PART OF THE COVERED WORK IN WHICH THE COPYRIGHT IS OWNED BY
- ITEXT GROUP. ITEXT GROUP DISCLAIMS THE WARRANTY OF NON INFRINGEMENT
- OF THIRD PARTY RIGHTS
+ 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.
- 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 http://www.gnu.org/licenses or write to
- the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- Boston, MA, 02110-1301 USA, or download the license from the following URL:
- http://itextpdf.com/terms-of-use/
-
- The interactive user interfaces in modified source and object code versions
- of this program must display Appropriate Legal Notices, as required under
- Section 5 of the GNU Affero General Public License.
+ 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.
- In accordance with Section 7(b) of the GNU Affero General Public License,
- a covered work must retain the producer line in every PDF that is created
- or manipulated using iText.
+ 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 can be released from the requirements of the license by purchasing
- a commercial license. Buying such a license is mandatory as soon as you
- develop commercial activities involving the iText software without
- disclosing the source code of your own applications.
- These activities include: offering paid services to customers as an ASP,
- serving PDFs on the fly in a web application, shipping iText with a closed
- source product.
-
- For more information, please contact iText Software Corp. at this
- address: sales@itextpdf.com
+ You should have received a copy of the GNU Affero General Public License
+ along with this program. If not, see .
*/
package com.itextpdf.pdfcleanup.autosweep;
diff --git a/src/main/java/com/itextpdf/pdfcleanup/exceptions/CleanupExceptionMessageConstant.java b/src/main/java/com/itextpdf/pdfcleanup/exceptions/CleanupExceptionMessageConstant.java
index f8d9147..cf24ee2 100644
--- a/src/main/java/com/itextpdf/pdfcleanup/exceptions/CleanupExceptionMessageConstant.java
+++ b/src/main/java/com/itextpdf/pdfcleanup/exceptions/CleanupExceptionMessageConstant.java
@@ -1,7 +1,7 @@
/*
This file is part of the iText (R) project.
- Copyright (c) 1998-2023 iText Group NV
- Authors: iText Software.
+ Copyright (c) 1998-2023 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.
diff --git a/src/main/java/com/itextpdf/pdfcleanup/logs/CleanUpLogMessageConstant.java b/src/main/java/com/itextpdf/pdfcleanup/logs/CleanUpLogMessageConstant.java
index b685b81..062916e 100644
--- a/src/main/java/com/itextpdf/pdfcleanup/logs/CleanUpLogMessageConstant.java
+++ b/src/main/java/com/itextpdf/pdfcleanup/logs/CleanUpLogMessageConstant.java
@@ -1,7 +1,7 @@
/*
This file is part of the iText (R) project.
- Copyright (c) 1998-2023 iText Group NV
- Authors: iText Software.
+ Copyright (c) 1998-2023 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.
diff --git a/src/main/java/com/itextpdf/pdfcleanup/util/CleanUpCsCompareUtil.java b/src/main/java/com/itextpdf/pdfcleanup/util/CleanUpCsCompareUtil.java
index ff0e656..cd52d85 100644
--- a/src/main/java/com/itextpdf/pdfcleanup/util/CleanUpCsCompareUtil.java
+++ b/src/main/java/com/itextpdf/pdfcleanup/util/CleanUpCsCompareUtil.java
@@ -1,7 +1,7 @@
/*
This file is part of the iText (R) project.
- Copyright (c) 1998-2023 iText Group NV
- Authors: iText Software.
+ Copyright (c) 1998-2023 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.
diff --git a/src/main/java/com/itextpdf/pdfcleanup/util/CleanUpHelperUtil.java b/src/main/java/com/itextpdf/pdfcleanup/util/CleanUpHelperUtil.java
index 194409e..d7dde05 100644
--- a/src/main/java/com/itextpdf/pdfcleanup/util/CleanUpHelperUtil.java
+++ b/src/main/java/com/itextpdf/pdfcleanup/util/CleanUpHelperUtil.java
@@ -1,7 +1,7 @@
/*
This file is part of the iText (R) project.
- Copyright (c) 1998-2023 iText Group NV
- Authors: iText Software.
+ Copyright (c) 1998-2023 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.
diff --git a/src/main/java/com/itextpdf/pdfcleanup/util/CleanUpImageUtil.java b/src/main/java/com/itextpdf/pdfcleanup/util/CleanUpImageUtil.java
index fdfe610..a58a7fc 100644
--- a/src/main/java/com/itextpdf/pdfcleanup/util/CleanUpImageUtil.java
+++ b/src/main/java/com/itextpdf/pdfcleanup/util/CleanUpImageUtil.java
@@ -1,7 +1,7 @@
/*
This file is part of the iText (R) project.
- Copyright (c) 1998-2023 iText Group NV
- Authors: iText Software.
+ Copyright (c) 1998-2023 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.
diff --git a/src/test/java/com/itextpdf/pdfcleanup/BigDocumentAutoCleanUpTest.java b/src/test/java/com/itextpdf/pdfcleanup/BigDocumentAutoCleanUpTest.java
index 840a85a..a27bc82 100644
--- a/src/test/java/com/itextpdf/pdfcleanup/BigDocumentAutoCleanUpTest.java
+++ b/src/test/java/com/itextpdf/pdfcleanup/BigDocumentAutoCleanUpTest.java
@@ -1,44 +1,24 @@
/*
This file is part of the iText (R) project.
- Copyright (c) 1998-2023 iText Group NV
- Authors: iText Software.
-
- This program is free software; you can redistribute it and/or modify
- it under the terms of the GNU Affero General Public License version 3
- as published by the Free Software Foundation with the addition of the
- following permission added to Section 15 as permitted in Section 7(a):
- FOR ANY PART OF THE COVERED WORK IN WHICH THE COPYRIGHT IS OWNED BY
- ITEXT GROUP. ITEXT GROUP DISCLAIMS THE WARRANTY OF NON INFRINGEMENT
- OF THIRD PARTY RIGHTS
-
- 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.
+ Copyright (c) 1998-2023 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 http://www.gnu.org/licenses or write to
- the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- Boston, MA, 02110-1301 USA, or download the license from the following URL:
- http://itextpdf.com/terms-of-use/
-
- The interactive user interfaces in modified source and object code versions
- of this program must display Appropriate Legal Notices, as required under
- Section 5 of the GNU Affero General Public License.
-
- In accordance with Section 7(b) of the GNU Affero General Public License,
- a covered work must retain the producer line in every PDF that is created
- or manipulated using iText.
-
- You can be released from the requirements of the license by purchasing
- a commercial license. Buying such a license is mandatory as soon as you
- develop commercial activities involving the iText software without
- disclosing the source code of your own applications.
- These activities include: offering paid services to customers as an ASP,
- serving PDFs on the fly in a web application, shipping iText with a closed
- source product.
-
- For more information, please contact iText Software Corp. at this
- address: sales@itextpdf.com
+ along with this program. If not, see .
*/
package com.itextpdf.pdfcleanup;
diff --git a/src/test/java/com/itextpdf/pdfcleanup/BigDocumentCleanUpTest.java b/src/test/java/com/itextpdf/pdfcleanup/BigDocumentCleanUpTest.java
index b9acf47..25560c0 100644
--- a/src/test/java/com/itextpdf/pdfcleanup/BigDocumentCleanUpTest.java
+++ b/src/test/java/com/itextpdf/pdfcleanup/BigDocumentCleanUpTest.java
@@ -1,44 +1,24 @@
/*
This file is part of the iText (R) project.
- Copyright (c) 1998-2023 iText Group NV
- Authors: iText Software.
-
- This program is free software; you can redistribute it and/or modify
- it under the terms of the GNU Affero General Public License version 3
- as published by the Free Software Foundation with the addition of the
- following permission added to Section 15 as permitted in Section 7(a):
- FOR ANY PART OF THE COVERED WORK IN WHICH THE COPYRIGHT IS OWNED BY
- ITEXT GROUP. ITEXT GROUP DISCLAIMS THE WARRANTY OF NON INFRINGEMENT
- OF THIRD PARTY RIGHTS
-
- 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.
+ Copyright (c) 1998-2023 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 http://www.gnu.org/licenses or write to
- the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- Boston, MA, 02110-1301 USA, or download the license from the following URL:
- http://itextpdf.com/terms-of-use/
-
- The interactive user interfaces in modified source and object code versions
- of this program must display Appropriate Legal Notices, as required under
- Section 5 of the GNU Affero General Public License.
-
- In accordance with Section 7(b) of the GNU Affero General Public License,
- a covered work must retain the producer line in every PDF that is created
- or manipulated using iText.
-
- You can be released from the requirements of the license by purchasing
- a commercial license. Buying such a license is mandatory as soon as you
- develop commercial activities involving the iText software without
- disclosing the source code of your own applications.
- These activities include: offering paid services to customers as an ASP,
- serving PDFs on the fly in a web application, shipping iText with a closed
- source product.
-
- For more information, please contact iText Software Corp. at this
- address: sales@itextpdf.com
+ along with this program. If not, see .
*/
package com.itextpdf.pdfcleanup;
diff --git a/src/test/java/com/itextpdf/pdfcleanup/CleanUpAnnotationTest.java b/src/test/java/com/itextpdf/pdfcleanup/CleanUpAnnotationTest.java
index 141057b..e007155 100644
--- a/src/test/java/com/itextpdf/pdfcleanup/CleanUpAnnotationTest.java
+++ b/src/test/java/com/itextpdf/pdfcleanup/CleanUpAnnotationTest.java
@@ -1,44 +1,24 @@
/*
This file is part of the iText (R) project.
- Copyright (c) 1998-2023 iText Group NV
- Authors: iText Software.
-
- This program is free software; you can redistribute it and/or modify
- it under the terms of the GNU Affero General Public License version 3
- as published by the Free Software Foundation with the addition of the
- following permission added to Section 15 as permitted in Section 7(a):
- FOR ANY PART OF THE COVERED WORK IN WHICH THE COPYRIGHT IS OWNED BY
- ITEXT GROUP. ITEXT GROUP DISCLAIMS THE WARRANTY OF NON INFRINGEMENT
- OF THIRD PARTY RIGHTS
-
- 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.
+ Copyright (c) 1998-2023 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 http://www.gnu.org/licenses or write to
- the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- Boston, MA, 02110-1301 USA, or download the license from the following URL:
- http://itextpdf.com/terms-of-use/
-
- The interactive user interfaces in modified source and object code versions
- of this program must display Appropriate Legal Notices, as required under
- Section 5 of the GNU Affero General Public License.
-
- In accordance with Section 7(b) of the GNU Affero General Public License,
- a covered work must retain the producer line in every PDF that is created
- or manipulated using iText.
-
- You can be released from the requirements of the license by purchasing
- a commercial license. Buying such a license is mandatory as soon as you
- develop commercial activities involving the iText software without
- disclosing the source code of your own applications.
- These activities include: offering paid services to customers as an ASP,
- serving PDFs on the fly in a web application, shipping iText with a closed
- source product.
-
- For more information, please contact iText Software Corp. at this
- address: sales@itextpdf.com
+ along with this program. If not, see .
*/
package com.itextpdf.pdfcleanup;
diff --git a/src/test/java/com/itextpdf/pdfcleanup/CleanUpCsCompareUtilTest.java b/src/test/java/com/itextpdf/pdfcleanup/CleanUpCsCompareUtilTest.java
index a241fb1..adacf9b 100644
--- a/src/test/java/com/itextpdf/pdfcleanup/CleanUpCsCompareUtilTest.java
+++ b/src/test/java/com/itextpdf/pdfcleanup/CleanUpCsCompareUtilTest.java
@@ -1,7 +1,7 @@
/*
This file is part of the iText (R) project.
- Copyright (c) 1998-2023 iText Group NV
- Authors: iText Software.
+ Copyright (c) 1998-2023 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.
diff --git a/src/test/java/com/itextpdf/pdfcleanup/CleanUpImageUtilTest.java b/src/test/java/com/itextpdf/pdfcleanup/CleanUpImageUtilTest.java
index e4d075c..da67f14 100644
--- a/src/test/java/com/itextpdf/pdfcleanup/CleanUpImageUtilTest.java
+++ b/src/test/java/com/itextpdf/pdfcleanup/CleanUpImageUtilTest.java
@@ -1,7 +1,7 @@
/*
This file is part of the iText (R) project.
- Copyright (c) 1998-2023 iText Group NV
- Authors: iText Software.
+ Copyright (c) 1998-2023 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.
diff --git a/src/test/java/com/itextpdf/pdfcleanup/CleanUpInvalidPdfTest.java b/src/test/java/com/itextpdf/pdfcleanup/CleanUpInvalidPdfTest.java
index d375c50..ddfeb83 100644
--- a/src/test/java/com/itextpdf/pdfcleanup/CleanUpInvalidPdfTest.java
+++ b/src/test/java/com/itextpdf/pdfcleanup/CleanUpInvalidPdfTest.java
@@ -1,7 +1,7 @@
/*
This file is part of the iText (R) project.
- Copyright (c) 1998-2023 iText Group NV
- Authors: iText Software.
+ Copyright (c) 1998-2023 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.
diff --git a/src/test/java/com/itextpdf/pdfcleanup/CleanUpTaggedPdfTest.java b/src/test/java/com/itextpdf/pdfcleanup/CleanUpTaggedPdfTest.java
index 3c0573d..45938cd 100644
--- a/src/test/java/com/itextpdf/pdfcleanup/CleanUpTaggedPdfTest.java
+++ b/src/test/java/com/itextpdf/pdfcleanup/CleanUpTaggedPdfTest.java
@@ -1,44 +1,24 @@
/*
This file is part of the iText (R) project.
- Copyright (c) 1998-2023 iText Group NV
- Authors: iText Software.
-
- This program is free software; you can redistribute it and/or modify
- it under the terms of the GNU Affero General Public License version 3
- as published by the Free Software Foundation with the addition of the
- following permission added to Section 15 as permitted in Section 7(a):
- FOR ANY PART OF THE COVERED WORK IN WHICH THE COPYRIGHT IS OWNED BY
- ITEXT GROUP. ITEXT GROUP DISCLAIMS THE WARRANTY OF NON INFRINGEMENT
- OF THIRD PARTY RIGHTS
-
- 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.
+ Copyright (c) 1998-2023 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 http://www.gnu.org/licenses or write to
- the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- Boston, MA, 02110-1301 USA, or download the license from the following URL:
- http://itextpdf.com/terms-of-use/
-
- The interactive user interfaces in modified source and object code versions
- of this program must display Appropriate Legal Notices, as required under
- Section 5 of the GNU Affero General Public License.
-
- In accordance with Section 7(b) of the GNU Affero General Public License,
- a covered work must retain the producer line in every PDF that is created
- or manipulated using iText.
-
- You can be released from the requirements of the license by purchasing
- a commercial license. Buying such a license is mandatory as soon as you
- develop commercial activities involving the iText software without
- disclosing the source code of your own applications.
- These activities include: offering paid services to customers as an ASP,
- serving PDFs on the fly in a web application, shipping iText with a closed
- source product.
-
- For more information, please contact iText Software Corp. at this
- address: sales@itextpdf.com
+ along with this program. If not, see .
*/
package com.itextpdf.pdfcleanup;
diff --git a/src/test/java/com/itextpdf/pdfcleanup/CleanupLicenseEventsTest.java b/src/test/java/com/itextpdf/pdfcleanup/CleanupLicenseEventsTest.java
index bb58012..bfae1bc 100644
--- a/src/test/java/com/itextpdf/pdfcleanup/CleanupLicenseEventsTest.java
+++ b/src/test/java/com/itextpdf/pdfcleanup/CleanupLicenseEventsTest.java
@@ -1,7 +1,7 @@
/*
This file is part of the iText (R) project.
- Copyright (c) 1998-2023 iText Group NV
- Authors: iText Software.
+ Copyright (c) 1998-2023 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.
diff --git a/src/test/java/com/itextpdf/pdfcleanup/FilteredImagesCacheTest.java b/src/test/java/com/itextpdf/pdfcleanup/FilteredImagesCacheTest.java
index 4b52577..bd5ebf9 100644
--- a/src/test/java/com/itextpdf/pdfcleanup/FilteredImagesCacheTest.java
+++ b/src/test/java/com/itextpdf/pdfcleanup/FilteredImagesCacheTest.java
@@ -1,44 +1,24 @@
/*
This file is part of the iText (R) project.
- Copyright (c) 1998-2023 iText Group NV
- Authors: iText Software.
-
- This program is free software; you can redistribute it and/or modify
- it under the terms of the GNU Affero General Public License version 3
- as published by the Free Software Foundation with the addition of the
- following permission added to Section 15 as permitted in Section 7(a):
- FOR ANY PART OF THE COVERED WORK IN WHICH THE COPYRIGHT IS OWNED BY
- ITEXT GROUP. ITEXT GROUP DISCLAIMS THE WARRANTY OF NON INFRINGEMENT
- OF THIRD PARTY RIGHTS
-
- 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.
+ Copyright (c) 1998-2023 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 http://www.gnu.org/licenses or write to
- the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- Boston, MA, 02110-1301 USA, or download the license from the following URL:
- http://itextpdf.com/terms-of-use/
-
- The interactive user interfaces in modified source and object code versions
- of this program must display Appropriate Legal Notices, as required under
- Section 5 of the GNU Affero General Public License.
-
- In accordance with Section 7(b) of the GNU Affero General Public License,
- a covered work must retain the producer line in every PDF that is created
- or manipulated using iText.
-
- You can be released from the requirements of the license by purchasing
- a commercial license. Buying such a license is mandatory as soon as you
- develop commercial activities involving the iText software without
- disclosing the source code of your own applications.
- These activities include: offering paid services to customers as an ASP,
- serving PDFs on the fly in a web application, shipping iText with a closed
- source product.
-
- For more information, please contact iText Software Corp. at this
- address: sales@itextpdf.com
+ along with this program. If not, see .
*/
package com.itextpdf.pdfcleanup;
diff --git a/src/test/java/com/itextpdf/pdfcleanup/PdfAutoSweepToolsTest.java b/src/test/java/com/itextpdf/pdfcleanup/PdfAutoSweepToolsTest.java
index 63a3eee..3ee12d3 100644
--- a/src/test/java/com/itextpdf/pdfcleanup/PdfAutoSweepToolsTest.java
+++ b/src/test/java/com/itextpdf/pdfcleanup/PdfAutoSweepToolsTest.java
@@ -1,44 +1,24 @@
/*
This file is part of the iText (R) project.
- Copyright (c) 1998-2023 iText Group NV
- Authors: iText Software.
-
- This program is free software; you can redistribute it and/or modify
- it under the terms of the GNU Affero General Public License version 3
- as published by the Free Software Foundation with the addition of the
- following permission added to Section 15 as permitted in Section 7(a):
- FOR ANY PART OF THE COVERED WORK IN WHICH THE COPYRIGHT IS OWNED BY
- ITEXT GROUP. ITEXT GROUP DISCLAIMS THE WARRANTY OF NON INFRINGEMENT
- OF THIRD PARTY RIGHTS
-
- 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.
+ Copyright (c) 1998-2023 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 http://www.gnu.org/licenses or write to
- the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- Boston, MA, 02110-1301 USA, or download the license from the following URL:
- http://itextpdf.com/terms-of-use/
-
- The interactive user interfaces in modified source and object code versions
- of this program must display Appropriate Legal Notices, as required under
- Section 5 of the GNU Affero General Public License.
-
- In accordance with Section 7(b) of the GNU Affero General Public License,
- a covered work must retain the producer line in every PDF that is created
- or manipulated using iText.
-
- You can be released from the requirements of the license by purchasing
- a commercial license. Buying such a license is mandatory as soon as you
- develop commercial activities involving the iText software without
- disclosing the source code of your own applications.
- These activities include: offering paid services to customers as an ASP,
- serving PDFs on the fly in a web application, shipping iText with a closed
- source product.
-
- For more information, please contact iText Software Corp. at this
- address: sales@itextpdf.com
+ along with this program. If not, see .
*/
package com.itextpdf.pdfcleanup;
diff --git a/src/test/java/com/itextpdf/pdfcleanup/PdfCleanUpFilterUnitTest.java b/src/test/java/com/itextpdf/pdfcleanup/PdfCleanUpFilterUnitTest.java
index 0a3ceb2..6713776 100644
--- a/src/test/java/com/itextpdf/pdfcleanup/PdfCleanUpFilterUnitTest.java
+++ b/src/test/java/com/itextpdf/pdfcleanup/PdfCleanUpFilterUnitTest.java
@@ -1,44 +1,24 @@
/*
This file is part of the iText (R) project.
- Copyright (c) 1998-2023 iText Group NV
- Authors: iText Software.
+ Copyright (c) 1998-2023 Apryse Group NV
+ Authors: Apryse Software.
- This program is free software; you can redistribute it and/or modify
- it under the terms of the GNU Affero General Public License version 3
- as published by the Free Software Foundation with the addition of the
- following permission added to Section 15 as permitted in Section 7(a):
- FOR ANY PART OF THE COVERED WORK IN WHICH THE COPYRIGHT IS OWNED BY
- ITEXT GROUP. ITEXT GROUP DISCLAIMS THE WARRANTY OF NON INFRINGEMENT
- OF THIRD PARTY RIGHTS
+ 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.
- 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 http://www.gnu.org/licenses or write to
- the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- Boston, MA, 02110-1301 USA, or download the license from the following URL:
- http://itextpdf.com/terms-of-use/
-
- The interactive user interfaces in modified source and object code versions
- of this program must display Appropriate Legal Notices, as required under
- Section 5 of the GNU Affero General Public License.
+ 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.
- In accordance with Section 7(b) of the GNU Affero General Public License,
- a covered work must retain the producer line in every PDF that is created
- or manipulated using iText.
+ 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 can be released from the requirements of the license by purchasing
- a commercial license. Buying such a license is mandatory as soon as you
- develop commercial activities involving the iText software without
- disclosing the source code of your own applications.
- These activities include: offering paid services to customers as an ASP,
- serving PDFs on the fly in a web application, shipping iText with a closed
- source product.
-
- For more information, please contact iText Software Corp. at this
- address: sales@itextpdf.com
+ You should have received a copy of the GNU Affero General Public License
+ along with this program. If not, see .
*/
package com.itextpdf.pdfcleanup;
diff --git a/src/test/java/com/itextpdf/pdfcleanup/PdfCleanUpProcessorUnitTest.java b/src/test/java/com/itextpdf/pdfcleanup/PdfCleanUpProcessorUnitTest.java
index 576b3e4..f93b16a 100644
--- a/src/test/java/com/itextpdf/pdfcleanup/PdfCleanUpProcessorUnitTest.java
+++ b/src/test/java/com/itextpdf/pdfcleanup/PdfCleanUpProcessorUnitTest.java
@@ -1,7 +1,7 @@
/*
This file is part of the iText (R) project.
- Copyright (c) 1998-2023 iText Group NV
- Authors: iText Software.
+ Copyright (c) 1998-2023 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.
diff --git a/src/test/java/com/itextpdf/pdfcleanup/PdfCleanUpToolTest.java b/src/test/java/com/itextpdf/pdfcleanup/PdfCleanUpToolTest.java
index dfcc933..dc5c1fe 100644
--- a/src/test/java/com/itextpdf/pdfcleanup/PdfCleanUpToolTest.java
+++ b/src/test/java/com/itextpdf/pdfcleanup/PdfCleanUpToolTest.java
@@ -1,44 +1,24 @@
/*
This file is part of the iText (R) project.
- Copyright (c) 1998-2023 iText Group NV
- Authors: iText Software.
-
- This program is free software; you can redistribute it and/or modify
- it under the terms of the GNU Affero General Public License version 3
- as published by the Free Software Foundation with the addition of the
- following permission added to Section 15 as permitted in Section 7(a):
- FOR ANY PART OF THE COVERED WORK IN WHICH THE COPYRIGHT IS OWNED BY
- ITEXT GROUP. ITEXT GROUP DISCLAIMS THE WARRANTY OF NON INFRINGEMENT
- OF THIRD PARTY RIGHTS
-
- 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.
+ Copyright (c) 1998-2023 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 http://www.gnu.org/licenses or write to
- the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- Boston, MA, 02110-1301 USA, or download the license from the following URL:
- http://itextpdf.com/terms-of-use/
-
- The interactive user interfaces in modified source and object code versions
- of this program must display Appropriate Legal Notices, as required under
- Section 5 of the GNU Affero General Public License.
-
- In accordance with Section 7(b) of the GNU Affero General Public License,
- a covered work must retain the producer line in every PDF that is created
- or manipulated using iText.
-
- You can be released from the requirements of the license by purchasing
- a commercial license. Buying such a license is mandatory as soon as you
- develop commercial activities involving the iText software without
- disclosing the source code of your own applications.
- These activities include: offering paid services to customers as an ASP,
- serving PDFs on the fly in a web application, shipping iText with a closed
- source product.
-
- For more information, please contact iText Software Corp. at this
- address: sales@itextpdf.com
+ along with this program. If not, see .
*/
package com.itextpdf.pdfcleanup;
diff --git a/src/test/java/com/itextpdf/pdfcleanup/PdfCleanUpToolWithInlineImagesTest.java b/src/test/java/com/itextpdf/pdfcleanup/PdfCleanUpToolWithInlineImagesTest.java
index 04e70bd..ee0c618 100644
--- a/src/test/java/com/itextpdf/pdfcleanup/PdfCleanUpToolWithInlineImagesTest.java
+++ b/src/test/java/com/itextpdf/pdfcleanup/PdfCleanUpToolWithInlineImagesTest.java
@@ -1,44 +1,24 @@
/*
This file is part of the iText (R) project.
- Copyright (c) 1998-2023 iText Group NV
- Authors: iText Software.
-
- This program is free software; you can redistribute it and/or modify
- it under the terms of the GNU Affero General Public License version 3
- as published by the Free Software Foundation with the addition of the
- following permission added to Section 15 as permitted in Section 7(a):
- FOR ANY PART OF THE COVERED WORK IN WHICH THE COPYRIGHT IS OWNED BY
- ITEXT GROUP. ITEXT GROUP DISCLAIMS THE WARRANTY OF NON INFRINGEMENT
- OF THIRD PARTY RIGHTS
-
- 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.
+ Copyright (c) 1998-2023 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 http://www.gnu.org/licenses or write to
- the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- Boston, MA, 02110-1301 USA, or download the license from the following URL:
- http://itextpdf.com/terms-of-use/
-
- The interactive user interfaces in modified source and object code versions
- of this program must display Appropriate Legal Notices, as required under
- Section 5 of the GNU Affero General Public License.
-
- In accordance with Section 7(b) of the GNU Affero General Public License,
- a covered work must retain the producer line in every PDF that is created
- or manipulated using iText.
-
- You can be released from the requirements of the license by purchasing
- a commercial license. Buying such a license is mandatory as soon as you
- develop commercial activities involving the iText software without
- disclosing the source code of your own applications.
- These activities include: offering paid services to customers as an ASP,
- serving PDFs on the fly in a web application, shipping iText with a closed
- source product.
-
- For more information, please contact iText Software Corp. at this
- address: sales@itextpdf.com
+ along with this program. If not, see .
*/
package com.itextpdf.pdfcleanup;
diff --git a/src/test/java/com/itextpdf/pdfcleanup/RectangleTest.java b/src/test/java/com/itextpdf/pdfcleanup/RectangleTest.java
index 4cfdf8a..e061f66 100644
--- a/src/test/java/com/itextpdf/pdfcleanup/RectangleTest.java
+++ b/src/test/java/com/itextpdf/pdfcleanup/RectangleTest.java
@@ -1,7 +1,7 @@
/*
This file is part of the iText (R) project.
- Copyright (c) 1998-2023 iText Group NV
- Authors: iText Software.
+ Copyright (c) 1998-2023 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.
diff --git a/src/test/java/com/itextpdf/pdfcleanup/TextPositioningTest.java b/src/test/java/com/itextpdf/pdfcleanup/TextPositioningTest.java
index 7b3745d..b87c9f1 100644
--- a/src/test/java/com/itextpdf/pdfcleanup/TextPositioningTest.java
+++ b/src/test/java/com/itextpdf/pdfcleanup/TextPositioningTest.java
@@ -1,7 +1,7 @@
/*
This file is part of the iText (R) project.
- Copyright (c) 1998-2023 iText Group NV
- Authors: iText Software.
+ Copyright (c) 1998-2023 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.
diff --git a/src/test/java/com/itextpdf/pdfcleanup/images/CleanUpImageIndexedColorSpaceTest.java b/src/test/java/com/itextpdf/pdfcleanup/images/CleanUpImageIndexedColorSpaceTest.java
index 921f8ad..1c3f0c3 100644
--- a/src/test/java/com/itextpdf/pdfcleanup/images/CleanUpImageIndexedColorSpaceTest.java
+++ b/src/test/java/com/itextpdf/pdfcleanup/images/CleanUpImageIndexedColorSpaceTest.java
@@ -1,7 +1,7 @@
/*
This file is part of the iText (R) project.
- Copyright (c) 1998-2023 iText Group NV
- Authors: iText Software.
+ Copyright (c) 1998-2023 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.
diff --git a/src/test/java/com/itextpdf/pdfcleanup/images/CleanUpTransformedImageTest.java b/src/test/java/com/itextpdf/pdfcleanup/images/CleanUpTransformedImageTest.java
index ecad990..26895e5 100644
--- a/src/test/java/com/itextpdf/pdfcleanup/images/CleanUpTransformedImageTest.java
+++ b/src/test/java/com/itextpdf/pdfcleanup/images/CleanUpTransformedImageTest.java
@@ -1,7 +1,7 @@
/*
This file is part of the iText (R) project.
- Copyright (c) 1998-2023 iText Group NV
- Authors: iText Software.
+ Copyright (c) 1998-2023 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.
diff --git a/src/test/java/com/itextpdf/pdfcleanup/images/CleanupImageWithColorSpaceTest.java b/src/test/java/com/itextpdf/pdfcleanup/images/CleanupImageWithColorSpaceTest.java
index ac44325..328e5c9 100644
--- a/src/test/java/com/itextpdf/pdfcleanup/images/CleanupImageWithColorSpaceTest.java
+++ b/src/test/java/com/itextpdf/pdfcleanup/images/CleanupImageWithColorSpaceTest.java
@@ -1,44 +1,24 @@
/*
This file is part of the iText (R) project.
- Copyright (c) 1998-2023 iText Group NV
- Authors: iText Software.
-
- This program is free software; you can redistribute it and/or modify
- it under the terms of the GNU Affero General Public License version 3
- as published by the Free Software Foundation with the addition of the
- following permission added to Section 15 as permitted in Section 7(a):
- FOR ANY PART OF THE COVERED WORK IN WHICH THE COPYRIGHT IS OWNED BY
- ITEXT GROUP. ITEXT GROUP DISCLAIMS THE WARRANTY OF NON INFRINGEMENT
- OF THIRD PARTY RIGHTS
-
- 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.
+ Copyright (c) 1998-2023 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 http://www.gnu.org/licenses or write to
- the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- Boston, MA, 02110-1301 USA, or download the license from the following URL:
- http://itextpdf.com/terms-of-use/
-
- The interactive user interfaces in modified source and object code versions
- of this program must display Appropriate Legal Notices, as required under
- Section 5 of the GNU Affero General Public License.
-
- In accordance with Section 7(b) of the GNU Affero General Public License,
- a covered work must retain the producer line in every PDF that is created
- or manipulated using iText.
-
- You can be released from the requirements of the license by purchasing
- a commercial license. Buying such a license is mandatory as soon as you
- develop commercial activities involving the iText software without
- disclosing the source code of your own applications.
- These activities include: offering paid services to customers as an ASP,
- serving PDFs on the fly in a web application, shipping iText with a closed
- source product.
-
- For more information, please contact iText Software Corp. at this
- address: sales@itextpdf.com
+ along with this program. If not, see .
*/
package com.itextpdf.pdfcleanup.images;
diff --git a/src/test/java/com/itextpdf/pdfcleanup/text/CleanUpTextTest.java b/src/test/java/com/itextpdf/pdfcleanup/text/CleanUpTextTest.java
index e8a6918..364dc65 100644
--- a/src/test/java/com/itextpdf/pdfcleanup/text/CleanUpTextTest.java
+++ b/src/test/java/com/itextpdf/pdfcleanup/text/CleanUpTextTest.java
@@ -1,44 +1,24 @@
/*
This file is part of the iText (R) project.
- Copyright (c) 1998-2023 iText Group NV
- Authors: iText Software.
+ Copyright (c) 1998-2023 Apryse Group NV
+ Authors: Apryse Software.
- This program is free software; you can redistribute it and/or modify
- it under the terms of the GNU Affero General Public License version 3
- as published by the Free Software Foundation with the addition of the
- following permission added to Section 15 as permitted in Section 7(a):
- FOR ANY PART OF THE COVERED WORK IN WHICH THE COPYRIGHT IS OWNED BY
- ITEXT GROUP. ITEXT GROUP DISCLAIMS THE WARRANTY OF NON INFRINGEMENT
- OF THIRD PARTY RIGHTS
+ 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.
- 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 http://www.gnu.org/licenses or write to
- the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- Boston, MA, 02110-1301 USA, or download the license from the following URL:
- http://itextpdf.com/terms-of-use/
-
- The interactive user interfaces in modified source and object code versions
- of this program must display Appropriate Legal Notices, as required under
- Section 5 of the GNU Affero General Public License.
+ 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.
- In accordance with Section 7(b) of the GNU Affero General Public License,
- a covered work must retain the producer line in every PDF that is created
- or manipulated using iText.
+ 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 can be released from the requirements of the license by purchasing
- a commercial license. Buying such a license is mandatory as soon as you
- develop commercial activities involving the iText software without
- disclosing the source code of your own applications.
- These activities include: offering paid services to customers as an ASP,
- serving PDFs on the fly in a web application, shipping iText with a closed
- source product.
-
- For more information, please contact iText Software Corp. at this
- address: sales@itextpdf.com
+ You should have received a copy of the GNU Affero General Public License
+ along with this program. If not, see .
*/
package com.itextpdf.pdfcleanup.text;
diff --git a/src/test/java/com/itextpdf/pdfcleanup/transparency/MaskedImagesTest.java b/src/test/java/com/itextpdf/pdfcleanup/transparency/MaskedImagesTest.java
index 57aa716..daada2e 100644
--- a/src/test/java/com/itextpdf/pdfcleanup/transparency/MaskedImagesTest.java
+++ b/src/test/java/com/itextpdf/pdfcleanup/transparency/MaskedImagesTest.java
@@ -1,44 +1,24 @@
/*
This file is part of the iText (R) project.
- Copyright (c) 1998-2023 iText Group NV
- Authors: iText Software.
-
- This program is free software; you can redistribute it and/or modify
- it under the terms of the GNU Affero General Public License version 3
- as published by the Free Software Foundation with the addition of the
- following permission added to Section 15 as permitted in Section 7(a):
- FOR ANY PART OF THE COVERED WORK IN WHICH THE COPYRIGHT IS OWNED BY
- ITEXT GROUP. ITEXT GROUP DISCLAIMS THE WARRANTY OF NON INFRINGEMENT
- OF THIRD PARTY RIGHTS
-
- 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.
+ Copyright (c) 1998-2023 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 http://www.gnu.org/licenses or write to
- the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- Boston, MA, 02110-1301 USA, or download the license from the following URL:
- http://itextpdf.com/terms-of-use/
-
- The interactive user interfaces in modified source and object code versions
- of this program must display Appropriate Legal Notices, as required under
- Section 5 of the GNU Affero General Public License.
-
- In accordance with Section 7(b) of the GNU Affero General Public License,
- a covered work must retain the producer line in every PDF that is created
- or manipulated using iText.
-
- You can be released from the requirements of the license by purchasing
- a commercial license. Buying such a license is mandatory as soon as you
- develop commercial activities involving the iText software without
- disclosing the source code of your own applications.
- These activities include: offering paid services to customers as an ASP,
- serving PDFs on the fly in a web application, shipping iText with a closed
- source product.
-
- For more information, please contact iText Software Corp. at this
- address: sales@itextpdf.com
+ along with this program. If not, see .
*/
package com.itextpdf.pdfcleanup.transparency;
diff --git a/src/test/java/com/itextpdf/pdfcleanup/util/CleanUpImagesCompareTool.java b/src/test/java/com/itextpdf/pdfcleanup/util/CleanUpImagesCompareTool.java
index 1f06504..27e44ec 100644
--- a/src/test/java/com/itextpdf/pdfcleanup/util/CleanUpImagesCompareTool.java
+++ b/src/test/java/com/itextpdf/pdfcleanup/util/CleanUpImagesCompareTool.java
@@ -1,45 +1,25 @@
/*
This file is part of the iText (R) project.
- Copyright (c) 1998-2023 iText Group NV
- Authors: iText Software.
-
- This program is free software; you can redistribute it and/or modify
- it under the terms of the GNU Affero General Public License version 3
- as published by the Free Software Foundation with the addition of the
- following permission added to Section 15 as permitted in Section 7(a):
- FOR ANY PART OF THE COVERED WORK IN WHICH THE COPYRIGHT IS OWNED BY
- ITEXT GROUP. ITEXT GROUP DISCLAIMS THE WARRANTY OF NON INFRINGEMENT
- OF THIRD PARTY RIGHTS
-
- 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.
+ Copyright (c) 1998-2023 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 http://www.gnu.org/licenses or write to
- the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- Boston, MA, 02110-1301 USA, or download the license from the following URL:
- http://itextpdf.com/terms-of-use/
-
- The interactive user interfaces in modified source and object code versions
- of this program must display Appropriate Legal Notices, as required under
- Section 5 of the GNU Affero General Public License.
-
- In accordance with Section 7(b) of the GNU Affero General Public License,
- a covered work must retain the producer line in every PDF that is created
- or manipulated using iText.
-
- You can be released from the requirements of the license by purchasing
- a commercial license. Buying such a license is mandatory as soon as you
- develop commercial activities involving the iText software without
- disclosing the source code of your own applications.
- These activities include: offering paid services to customers as an ASP,
- serving PDFs on the fly in a web application, shipping iText with a closed
- source product.
-
- For more information, please contact iText Software Corp. at this
- address: sales@itextpdf.com
-*/
+ along with this program. If not, see .
+ */
package com.itextpdf.pdfcleanup.util;
import com.itextpdf.commons.utils.FileUtil;