diff --git a/.github/workflows/test-java-samples.yml b/.github/workflows/test-java-samples.yml new file mode 100644 index 00000000..ad737327 --- /dev/null +++ b/.github/workflows/test-java-samples.yml @@ -0,0 +1,112 @@ +name: test-samples + +on: + pull_request: + push: + branches: [ develop, main ] + +env: + JAVA_VERSION: '11' + +jobs: + run-samples: + runs-on: ${{ matrix.os }} + defaults: + run: + shell: bash + strategy: + fail-fast: false + matrix: + os: [windows-latest, ubuntu-latest, macos-14] + dir: [ + 'Annotations/Annotations/', + 'Annotations/InkAnnotations/', + 'Annotations/LinkAnnotations/', + 'Annotations/PolygonAnnotations/', + 'Annotations/PolyLineAnnotations/', + 'ContentCreation/AddElements/', + 'ContentCreation/AddHeaderFooter/', + 'ContentCreation/Clips/', + 'ContentCreation/CreateBookmarks/', + 'ContentCreation/GradientShade/', + 'ContentCreation/MakeDocWithCalGrayColorSpace/', + 'ContentCreation/MakeDocWithCalRGBColorSpace/', + 'ContentCreation/MakeDocWithDeviceNColorSpace/', + 'ContentCreation/MakeDocWithICCBasedColorSpace/', + 'ContentCreation/MakeDocWithIndexedColorSpace/', + 'ContentCreation/MakeDocWithLabColorSpace/', + 'ContentCreation/MakeDocWithSeparationColorSpace/', + 'ContentCreation/NameTrees/', + 'ContentCreation/NumberTrees/', + 'ContentCreation/RemoteGoToActions/', + 'ContentCreation/WriteNChannelTiff/', + 'ContentModification/Actions/', + 'ContentModification/AddCollection/', + 'ContentModification/AddQRCode/', + 'ContentModification/ChangeLayerConfiguration/', + 'ContentModification/ChangeLinkColors/', + 'ContentModification/CreateLayer/', + 'ContentModification/ExtendedGraphicStates/', + 'ContentModification/FlattenTransparency/', + 'ContentModification/LaunchActions/', + 'ContentModification/MergePDF/', + 'ContentModification/PageLabels/', + 'ContentModification/PDFObject/', + 'ContentModification/UnderlinesAndHighlights/', + 'ContentModification/Watermark/', + 'Display/DisplayPDF/', + 'Display/ImageDisplay/', + 'Display/JavaViewer/', + 'Display/PDFObjectExplorer/', + 'DocumentConversion/ColorConvertDocument/', + 'DocumentConversion/ConvertToOffice/', + 'DocumentConversion/CreateDocFromXPS/', + 'DocumentConversion/Factur-XConverter/', + 'DocumentConversion/PDFAConverter/', + 'DocumentConversion/PDFXConverter/', + 'DocumentConversion/ZUGFeRDConverter/', + 'DocumentOptimization/PDFOptimize/', + 'Images/DocToImages/', + 'Images/DrawSeparations/', + 'Images/EPSSeparations/', + 'Images/GetSeparatedImages/', + 'Images/ImageDisplayByteArray/', + 'Images/ImageEmbedICCProfile/', + 'Images/ImageExport/', + 'Images/ImageExtraction/', + 'Images/ImageFromBufferedImage/', + 'Images/ImageFromByteArray/', + 'Images/ImageImport/', + 'Images/ImageResampling/', + 'Images/OutputPreview/', + 'Images/RasterizePage/', + 'InformationExtraction/ListBookmarks/', + 'InformationExtraction/ListFonts/', + 'InformationExtraction/ListInfo/', + 'InformationExtraction/ListLayers/', + 'InformationExtraction/ListPaths/', + 'InformationExtraction/Metadata/', + 'OpticalCharacterRecognition/AddTextToDocument/', + 'OpticalCharacterRecognition/AddTextToImage/', + 'Other/MemoryFileSystem/', + 'Other/StreamIO/', + 'Printing/PrintPDF/', + 'Printing/PrintPDFGUI/', + 'Security/AddRegexRedaction/', + 'Security/Redactions/', + 'Text/AddGlyphs/', + 'Text/AddUnicodeText/', + 'Text/AddVerticalText/', + 'Text/ListWords/', + 'Text/RegexExtractText/', + 'Text/RegexTextSearch/', + 'Text/TextExtract/' + ] + steps: + - name: Checkout + uses: actions/checkout@v4 + - name: Setup Java + uses: actions/setup-java@v4 + with: + java-version: ${{ env.JAVA_VERSION }} + distribution: 'adopt' diff --git a/.gitignore b/.gitignore index 3ef29020..2cda16c9 100644 --- a/.gitignore +++ b/.gitignore @@ -363,5 +363,4 @@ $RECYCLE.BIN/ /*_debug /*_debug_lm /icons -test-*.* activate* \ No newline at end of file diff --git a/Annotations/Annotations/pom.xml b/Annotations/Annotations/pom.xml index c902a52a..91e7bc37 100644 --- a/Annotations/Annotations/pom.xml +++ b/Annotations/Annotations/pom.xml @@ -51,32 +51,32 @@ com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 pom com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 zip ${jni.classifier} com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 zip resources com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 javadoc diff --git a/Annotations/InkAnnotations/pom.xml b/Annotations/InkAnnotations/pom.xml index 7ba90de3..dbd018c0 100644 --- a/Annotations/InkAnnotations/pom.xml +++ b/Annotations/InkAnnotations/pom.xml @@ -51,32 +51,32 @@ com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 pom com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 zip ${jni.classifier} com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 zip resources com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 javadoc diff --git a/Annotations/LinkAnnotations/pom.xml b/Annotations/LinkAnnotations/pom.xml index 329aea37..bb37ee17 100644 --- a/Annotations/LinkAnnotations/pom.xml +++ b/Annotations/LinkAnnotations/pom.xml @@ -51,32 +51,32 @@ com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 pom com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 zip ${jni.classifier} com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 zip resources com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 javadoc diff --git a/Annotations/PolyLineAnnotations/pom.xml b/Annotations/PolyLineAnnotations/pom.xml index 9dcf47d4..fde1557a 100644 --- a/Annotations/PolyLineAnnotations/pom.xml +++ b/Annotations/PolyLineAnnotations/pom.xml @@ -51,32 +51,32 @@ com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 pom com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 zip ${jni.classifier} com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 zip resources com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 javadoc diff --git a/Annotations/PolygonAnnotations/pom.xml b/Annotations/PolygonAnnotations/pom.xml index 104b568e..3afa7f2d 100644 --- a/Annotations/PolygonAnnotations/pom.xml +++ b/Annotations/PolygonAnnotations/pom.xml @@ -51,32 +51,32 @@ com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 pom com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 zip ${jni.classifier} com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 zip resources com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 javadoc diff --git a/ContentCreation/AddElements/pom.xml b/ContentCreation/AddElements/pom.xml index 541bd57a..a86d55b5 100644 --- a/ContentCreation/AddElements/pom.xml +++ b/ContentCreation/AddElements/pom.xml @@ -51,32 +51,32 @@ com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 pom com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 zip ${jni.classifier} com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 zip resources com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 javadoc diff --git a/ContentCreation/AddHeaderFooter/pom.xml b/ContentCreation/AddHeaderFooter/pom.xml index ad6cc134..92780b95 100644 --- a/ContentCreation/AddHeaderFooter/pom.xml +++ b/ContentCreation/AddHeaderFooter/pom.xml @@ -51,32 +51,32 @@ com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 pom com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 zip ${jni.classifier} com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 zip resources com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 javadoc diff --git a/ContentCreation/Clips/pom.xml b/ContentCreation/Clips/pom.xml index deb57a05..c395ab43 100644 --- a/ContentCreation/Clips/pom.xml +++ b/ContentCreation/Clips/pom.xml @@ -51,32 +51,32 @@ com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 pom com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 zip ${jni.classifier} com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 zip resources com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 javadoc diff --git a/ContentCreation/CreateBookmarks/pom.xml b/ContentCreation/CreateBookmarks/pom.xml index 60fa5c12..d9e5c99c 100644 --- a/ContentCreation/CreateBookmarks/pom.xml +++ b/ContentCreation/CreateBookmarks/pom.xml @@ -51,32 +51,32 @@ com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 pom com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 zip ${jni.classifier} com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 zip resources com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 javadoc diff --git a/ContentCreation/GradientShade/pom.xml b/ContentCreation/GradientShade/pom.xml index 3bd61dd8..1bd96a64 100644 --- a/ContentCreation/GradientShade/pom.xml +++ b/ContentCreation/GradientShade/pom.xml @@ -51,32 +51,32 @@ com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 pom com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 zip ${jni.classifier} com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 zip resources com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 javadoc diff --git a/ContentCreation/MakeDocWithCalGrayColorSpace/pom.xml b/ContentCreation/MakeDocWithCalGrayColorSpace/pom.xml index e08cd848..43ada9fa 100644 --- a/ContentCreation/MakeDocWithCalGrayColorSpace/pom.xml +++ b/ContentCreation/MakeDocWithCalGrayColorSpace/pom.xml @@ -51,32 +51,32 @@ com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 pom com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 zip ${jni.classifier} com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 zip resources com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 javadoc diff --git a/ContentCreation/MakeDocWithCalRGBColorSpace/pom.xml b/ContentCreation/MakeDocWithCalRGBColorSpace/pom.xml index 1c1ae9ad..c6acc6d2 100644 --- a/ContentCreation/MakeDocWithCalRGBColorSpace/pom.xml +++ b/ContentCreation/MakeDocWithCalRGBColorSpace/pom.xml @@ -51,32 +51,32 @@ com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 pom com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 zip ${jni.classifier} com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 zip resources com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 javadoc diff --git a/ContentCreation/MakeDocWithDeviceNColorSpace/pom.xml b/ContentCreation/MakeDocWithDeviceNColorSpace/pom.xml index ab834a83..b0d36a39 100644 --- a/ContentCreation/MakeDocWithDeviceNColorSpace/pom.xml +++ b/ContentCreation/MakeDocWithDeviceNColorSpace/pom.xml @@ -51,32 +51,32 @@ com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 pom com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 zip ${jni.classifier} com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 zip resources com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 javadoc diff --git a/ContentCreation/MakeDocWithICCBasedColorSpace/pom.xml b/ContentCreation/MakeDocWithICCBasedColorSpace/pom.xml index ca5bcf32..305c927f 100644 --- a/ContentCreation/MakeDocWithICCBasedColorSpace/pom.xml +++ b/ContentCreation/MakeDocWithICCBasedColorSpace/pom.xml @@ -51,32 +51,32 @@ com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 pom com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 zip ${jni.classifier} com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 zip resources com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 javadoc diff --git a/ContentCreation/MakeDocWithIndexedColorSpace/pom.xml b/ContentCreation/MakeDocWithIndexedColorSpace/pom.xml index ea6f41ae..5317b44c 100644 --- a/ContentCreation/MakeDocWithIndexedColorSpace/pom.xml +++ b/ContentCreation/MakeDocWithIndexedColorSpace/pom.xml @@ -51,32 +51,32 @@ com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 pom com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 zip ${jni.classifier} com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 zip resources com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 javadoc diff --git a/ContentCreation/MakeDocWithLabColorSpace/pom.xml b/ContentCreation/MakeDocWithLabColorSpace/pom.xml index e90b4ee4..ad16d755 100644 --- a/ContentCreation/MakeDocWithLabColorSpace/pom.xml +++ b/ContentCreation/MakeDocWithLabColorSpace/pom.xml @@ -51,32 +51,32 @@ com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 pom com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 zip ${jni.classifier} com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 zip resources com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 javadoc diff --git a/ContentCreation/MakeDocWithSeparationColorSpace/pom.xml b/ContentCreation/MakeDocWithSeparationColorSpace/pom.xml index 8c623440..63700c9b 100644 --- a/ContentCreation/MakeDocWithSeparationColorSpace/pom.xml +++ b/ContentCreation/MakeDocWithSeparationColorSpace/pom.xml @@ -51,32 +51,32 @@ com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 pom com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 zip ${jni.classifier} com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 zip resources com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 javadoc diff --git a/ContentCreation/NameTrees/pom.xml b/ContentCreation/NameTrees/pom.xml index f88656d5..86ae4459 100644 --- a/ContentCreation/NameTrees/pom.xml +++ b/ContentCreation/NameTrees/pom.xml @@ -51,32 +51,32 @@ com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 pom com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 zip ${jni.classifier} com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 zip resources com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 javadoc diff --git a/ContentCreation/NumberTrees/pom.xml b/ContentCreation/NumberTrees/pom.xml index 78c86c8d..f40fce55 100644 --- a/ContentCreation/NumberTrees/pom.xml +++ b/ContentCreation/NumberTrees/pom.xml @@ -51,32 +51,32 @@ com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 pom com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 zip ${jni.classifier} com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 zip resources com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 javadoc diff --git a/ContentCreation/RemoteGoToActions/pom.xml b/ContentCreation/RemoteGoToActions/pom.xml index 0fa7251f..c398d89d 100644 --- a/ContentCreation/RemoteGoToActions/pom.xml +++ b/ContentCreation/RemoteGoToActions/pom.xml @@ -51,32 +51,32 @@ com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 pom com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 zip ${jni.classifier} com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 zip resources com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 javadoc diff --git a/ContentCreation/WriteNChannelTiff/pom.xml b/ContentCreation/WriteNChannelTiff/pom.xml index 5d8445c0..7a5a2638 100644 --- a/ContentCreation/WriteNChannelTiff/pom.xml +++ b/ContentCreation/WriteNChannelTiff/pom.xml @@ -51,32 +51,32 @@ com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 pom com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 zip ${jni.classifier} com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 zip resources com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 javadoc diff --git a/ContentModification/Actions/pom.xml b/ContentModification/Actions/pom.xml index 48bb0a95..4be971ed 100644 --- a/ContentModification/Actions/pom.xml +++ b/ContentModification/Actions/pom.xml @@ -51,32 +51,32 @@ com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 pom com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 zip ${jni.classifier} com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 zip resources com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 javadoc diff --git a/ContentModification/AddCollection/pom.xml b/ContentModification/AddCollection/pom.xml index d7d5b872..3adb123a 100644 --- a/ContentModification/AddCollection/pom.xml +++ b/ContentModification/AddCollection/pom.xml @@ -51,32 +51,32 @@ com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 pom com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 zip ${jni.classifier} com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 zip resources com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 javadoc diff --git a/ContentModification/AddQRCode/.idea/runConfigurations/AddQRCode.xml b/ContentModification/AddQRCode/.idea/runConfigurations/AddQRCode.xml new file mode 100644 index 00000000..dd87737e --- /dev/null +++ b/ContentModification/AddQRCode/.idea/runConfigurations/AddQRCode.xml @@ -0,0 +1,14 @@ + + + + + + + \ No newline at end of file diff --git a/ContentModification/AddQRCode/pom.xml b/ContentModification/AddQRCode/pom.xml new file mode 100644 index 00000000..c057b44e --- /dev/null +++ b/ContentModification/AddQRCode/pom.xml @@ -0,0 +1,156 @@ + + + 4.0.0 + com.datalogics.pdfl.samples + AddQRCode + 1.0-SNAPSHOT + + 1.8 + 1.8 + + + + Windows64 + + + windows + amd64 + + + + win-x86-64-jni + + + + MacArm + + + mac + aarch64 + + + + mac-arm-64-jni + + + + Linux64 + + + + Linux + amd64 + + + + linux-x86-64-jni + + + + + + com.datalogics.pdfl + pdfl + 18.34.0 + pom + + + com.datalogics.pdfl + pdfl + 18.34.0 + + + com.datalogics.pdfl + pdfl + 18.34.0 + zip + ${jni.classifier} + + + com.datalogics.pdfl + pdfl + 18.34.0 + zip + resources + + + com.datalogics.pdfl + pdfl + 18.34.0 + javadoc + + + + + + + org.apache.maven.plugins + maven-dependency-plugin + 3.0.2 + + + + + + org.apache.maven.plugins + maven-dependency-plugin + + + unpack-resources + generate-resources + + unpack + + + + + com.datalogics.pdfl + pdfl + resources + zip + ${project.build.directory}/lib/Resources + + + + + + unpack-jni + generate-resources + + unpack + + + + + com.datalogics.pdfl + pdfl + ${jni.classifier} + zip + ${project.build.directory}/lib + + + + + + unpack-license + generate-resources + + unpack + + + + + com.datalogics.pdfl + pdfl + license + zip + ${project.build.directory}/lib + + + + + + + + + diff --git a/ContentModification/AddQRCode/src/main/java/com/datalogics/pdfl/samples/AddQRCode.java b/ContentModification/AddQRCode/src/main/java/com/datalogics/pdfl/samples/AddQRCode.java new file mode 100644 index 00000000..37429257 --- /dev/null +++ b/ContentModification/AddQRCode/src/main/java/com/datalogics/pdfl/samples/AddQRCode.java @@ -0,0 +1,50 @@ +package com.datalogics.pdfl.samples; + + +import java.util.ArrayList; +import java.util.EnumSet; +import java.util.List; + +import com.datalogics.PDFL.Document; +import com.datalogics.PDFL.Library; +import com.datalogics.PDFL.Page; +import com.datalogics.PDFL.SaveFlags; + +/* + * + * This sample shows how to add a QR barcode to a PDF page + * + * Copyright (c) 2024, Datalogics, Inc. All rights reserved. + * + */ + +public class AddQRCode { + + /** + * @param args + */ + public static void main(String[] args) throws Throwable { + System.out.println("AddQRCode sample:"); + + String sInput = Library.getResourceDirectory() + "Sample_Input/sample_links.pdf"; + String sOutput = "AddQRCode-out.pdf"; + + Library lib = new Library(); + + try { + if (args.length != 0) + sInput = args[0]; + + Document doc = new Document(sInput); + + Page page = doc.getPage(0); + + page.addQRBarcode("Datalogics", 72.0, page.getCropBox().getTop() - 1.5 * 72.0, 72.0, 72.0); + + doc.save(EnumSet.of(SaveFlags.FULL), sOutput); + } + finally { + lib.delete(); + } + } +} diff --git a/ContentModification/ChangeLayerConfiguration/pom.xml b/ContentModification/ChangeLayerConfiguration/pom.xml index 598cef1b..84a4fbba 100644 --- a/ContentModification/ChangeLayerConfiguration/pom.xml +++ b/ContentModification/ChangeLayerConfiguration/pom.xml @@ -51,32 +51,32 @@ com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 pom com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 zip ${jni.classifier} com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 zip resources com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 javadoc diff --git a/ContentModification/ChangeLinkColors/pom.xml b/ContentModification/ChangeLinkColors/pom.xml index ef485e0b..5b0e6b00 100644 --- a/ContentModification/ChangeLinkColors/pom.xml +++ b/ContentModification/ChangeLinkColors/pom.xml @@ -51,32 +51,32 @@ com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 pom com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 zip ${jni.classifier} com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 zip resources com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 javadoc diff --git a/ContentModification/CreateLayer/pom.xml b/ContentModification/CreateLayer/pom.xml index 6d3da8bc..31637b6d 100644 --- a/ContentModification/CreateLayer/pom.xml +++ b/ContentModification/CreateLayer/pom.xml @@ -51,32 +51,32 @@ com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 pom com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 zip ${jni.classifier} com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 zip resources com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 javadoc diff --git a/ContentModification/ExtendedGraphicStates/pom.xml b/ContentModification/ExtendedGraphicStates/pom.xml index 116c0898..b18d8487 100644 --- a/ContentModification/ExtendedGraphicStates/pom.xml +++ b/ContentModification/ExtendedGraphicStates/pom.xml @@ -51,32 +51,32 @@ com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 pom com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 zip ${jni.classifier} com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 zip resources com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 javadoc diff --git a/ContentModification/FlattenTransparency/pom.xml b/ContentModification/FlattenTransparency/pom.xml index ccc4ba3e..df378965 100644 --- a/ContentModification/FlattenTransparency/pom.xml +++ b/ContentModification/FlattenTransparency/pom.xml @@ -51,32 +51,32 @@ com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 pom com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 zip ${jni.classifier} com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 zip resources com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 javadoc diff --git a/ContentModification/LaunchActions/pom.xml b/ContentModification/LaunchActions/pom.xml index 9ba48522..2e558512 100644 --- a/ContentModification/LaunchActions/pom.xml +++ b/ContentModification/LaunchActions/pom.xml @@ -51,32 +51,32 @@ com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 pom com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 zip ${jni.classifier} com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 zip resources com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 javadoc diff --git a/ContentModification/MergePDF/pom.xml b/ContentModification/MergePDF/pom.xml index 02a7d43d..78fbbc45 100644 --- a/ContentModification/MergePDF/pom.xml +++ b/ContentModification/MergePDF/pom.xml @@ -51,32 +51,32 @@ com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 pom com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 zip ${jni.classifier} com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 zip resources com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 javadoc diff --git a/ContentModification/PDFObject/pom.xml b/ContentModification/PDFObject/pom.xml index 15486279..6be78bc6 100644 --- a/ContentModification/PDFObject/pom.xml +++ b/ContentModification/PDFObject/pom.xml @@ -51,32 +51,32 @@ com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 pom com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 zip ${jni.classifier} com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 zip resources com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 javadoc diff --git a/ContentModification/PageLabels/pom.xml b/ContentModification/PageLabels/pom.xml index c2936244..4bfa78f0 100644 --- a/ContentModification/PageLabels/pom.xml +++ b/ContentModification/PageLabels/pom.xml @@ -51,32 +51,32 @@ com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 pom com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 zip ${jni.classifier} com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 zip resources com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 javadoc diff --git a/ContentModification/README.md b/ContentModification/README.md index 60982c03..48c2cb51 100644 --- a/ContentModification/README.md +++ b/ContentModification/README.md @@ -4,6 +4,9 @@ Creates an action associated with a link annotation on a PDF page. ## ***AddCollection*** Adds a collection to a PDF document to turn that document into a PDF Portfolio. +## ***AddQRCode*** +Adds a QR barcode to the Page of a PDF document. + ## ***ChangeLayerConfiguration*** Sets the on/off states for Optional Content Groups (Layers) within a PDF document. diff --git a/ContentModification/UnderlinesAndHighlights/pom.xml b/ContentModification/UnderlinesAndHighlights/pom.xml index 4b1bda8c..6539ad7e 100644 --- a/ContentModification/UnderlinesAndHighlights/pom.xml +++ b/ContentModification/UnderlinesAndHighlights/pom.xml @@ -51,32 +51,32 @@ com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 pom com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 zip ${jni.classifier} com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 zip resources com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 javadoc diff --git a/ContentModification/Watermark/pom.xml b/ContentModification/Watermark/pom.xml index ff07d663..d6187ca0 100644 --- a/ContentModification/Watermark/pom.xml +++ b/ContentModification/Watermark/pom.xml @@ -51,32 +51,32 @@ com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 pom com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 zip ${jni.classifier} com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 zip resources com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 javadoc diff --git a/Display/DisplayPDF/pom.xml b/Display/DisplayPDF/pom.xml index 9b98bdf1..141e2331 100644 --- a/Display/DisplayPDF/pom.xml +++ b/Display/DisplayPDF/pom.xml @@ -51,32 +51,32 @@ com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 pom com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 zip ${jni.classifier} com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 zip resources com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 javadoc diff --git a/Display/ImageDisplay/pom.xml b/Display/ImageDisplay/pom.xml index 89d8888d..99898968 100644 --- a/Display/ImageDisplay/pom.xml +++ b/Display/ImageDisplay/pom.xml @@ -51,32 +51,32 @@ com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 pom com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 zip ${jni.classifier} com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 zip resources com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 javadoc diff --git a/Display/JavaViewer/pom.xml b/Display/JavaViewer/pom.xml index 57c7da1b..5f011aba 100644 --- a/Display/JavaViewer/pom.xml +++ b/Display/JavaViewer/pom.xml @@ -51,32 +51,32 @@ com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 pom com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 zip ${jni.classifier} com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 zip resources com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 javadoc diff --git a/Display/PDFObjectExplorer/pom.xml b/Display/PDFObjectExplorer/pom.xml index b82995bd..c9b8aaec 100644 --- a/Display/PDFObjectExplorer/pom.xml +++ b/Display/PDFObjectExplorer/pom.xml @@ -51,32 +51,32 @@ com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 pom com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 zip ${jni.classifier} com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 zip resources com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 javadoc diff --git a/DocumentConversion/ColorConvertDocument/pom.xml b/DocumentConversion/ColorConvertDocument/pom.xml index 70ce9ae3..9402d79c 100644 --- a/DocumentConversion/ColorConvertDocument/pom.xml +++ b/DocumentConversion/ColorConvertDocument/pom.xml @@ -51,32 +51,32 @@ com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 pom com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 zip ${jni.classifier} com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 zip resources com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 javadoc diff --git a/DocumentConversion/ConvertToOffice/pom.xml b/DocumentConversion/ConvertToOffice/pom.xml index 1221ad68..e8a9e459 100644 --- a/DocumentConversion/ConvertToOffice/pom.xml +++ b/DocumentConversion/ConvertToOffice/pom.xml @@ -39,32 +39,32 @@ com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 pom com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 zip ${jni.classifier} com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 zip resources com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 javadoc diff --git a/DocumentConversion/CreateDocFromXPS/pom.xml b/DocumentConversion/CreateDocFromXPS/pom.xml index 6d2c09be..6aa01e8e 100644 --- a/DocumentConversion/CreateDocFromXPS/pom.xml +++ b/DocumentConversion/CreateDocFromXPS/pom.xml @@ -39,32 +39,32 @@ com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 pom com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 zip ${jni.classifier} com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 zip resources com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 javadoc diff --git a/DocumentConversion/FacturXConverter/pom.xml b/DocumentConversion/FacturXConverter/pom.xml index 53f0c353..d661f185 100644 --- a/DocumentConversion/FacturXConverter/pom.xml +++ b/DocumentConversion/FacturXConverter/pom.xml @@ -51,32 +51,32 @@ com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 pom com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 zip ${jni.classifier} com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 zip resources com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 javadoc diff --git a/DocumentConversion/PDFAConverter/pom.xml b/DocumentConversion/PDFAConverter/pom.xml index fcab56f0..edf0a17b 100644 --- a/DocumentConversion/PDFAConverter/pom.xml +++ b/DocumentConversion/PDFAConverter/pom.xml @@ -51,32 +51,32 @@ com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 pom com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 zip ${jni.classifier} com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 zip resources com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 javadoc diff --git a/DocumentConversion/PDFXConverter/pom.xml b/DocumentConversion/PDFXConverter/pom.xml index bb474f01..fc0df693 100644 --- a/DocumentConversion/PDFXConverter/pom.xml +++ b/DocumentConversion/PDFXConverter/pom.xml @@ -51,32 +51,32 @@ com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 pom com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 zip ${jni.classifier} com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 zip resources com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 javadoc diff --git a/DocumentConversion/ZUGFeRDConverter/pom.xml b/DocumentConversion/ZUGFeRDConverter/pom.xml index 1950c148..29dfd0e5 100644 --- a/DocumentConversion/ZUGFeRDConverter/pom.xml +++ b/DocumentConversion/ZUGFeRDConverter/pom.xml @@ -51,32 +51,32 @@ com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 pom com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 zip ${jni.classifier} com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 zip resources com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 javadoc diff --git a/DocumentOptimization/PDFOptimize/pom.xml b/DocumentOptimization/PDFOptimize/pom.xml index b478a795..14486fed 100644 --- a/DocumentOptimization/PDFOptimize/pom.xml +++ b/DocumentOptimization/PDFOptimize/pom.xml @@ -51,32 +51,32 @@ com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 pom com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 zip ${jni.classifier} com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 zip resources com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 javadoc diff --git a/Images/DocToImages/pom.xml b/Images/DocToImages/pom.xml index a40a1bab..d055a324 100644 --- a/Images/DocToImages/pom.xml +++ b/Images/DocToImages/pom.xml @@ -51,32 +51,32 @@ com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 pom com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 zip ${jni.classifier} com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 zip resources com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 javadoc diff --git a/Images/DrawSeparations/pom.xml b/Images/DrawSeparations/pom.xml index 95a3110d..2b2bf5be 100644 --- a/Images/DrawSeparations/pom.xml +++ b/Images/DrawSeparations/pom.xml @@ -51,32 +51,32 @@ com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 pom com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 zip ${jni.classifier} com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 zip resources com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 javadoc diff --git a/Images/EPSSeparations/pom.xml b/Images/EPSSeparations/pom.xml index f53e63ca..f0953c9c 100644 --- a/Images/EPSSeparations/pom.xml +++ b/Images/EPSSeparations/pom.xml @@ -51,32 +51,32 @@ com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 pom com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 zip ${jni.classifier} com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 zip resources com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 javadoc diff --git a/Images/GetSeparatedImages/pom.xml b/Images/GetSeparatedImages/pom.xml index 4374fe49..7d4310dc 100644 --- a/Images/GetSeparatedImages/pom.xml +++ b/Images/GetSeparatedImages/pom.xml @@ -51,32 +51,32 @@ com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 pom com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 zip ${jni.classifier} com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 zip resources com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 javadoc diff --git a/Images/GetSeparatedImages/src/main/java/com/datalogics/pdfl/samples/GetSeparatedImages.java b/Images/GetSeparatedImages/src/main/java/com/datalogics/pdfl/samples/GetSeparatedImages.java index 44620318..018dade2 100644 --- a/Images/GetSeparatedImages/src/main/java/com/datalogics/pdfl/samples/GetSeparatedImages.java +++ b/Images/GetSeparatedImages/src/main/java/com/datalogics/pdfl/samples/GetSeparatedImages.java @@ -1,9 +1,11 @@ package com.datalogics.pdfl.samples; import java.util.ArrayList; +import java.util.EnumSet; import java.util.List; import com.datalogics.PDFL.Document; +import com.datalogics.PDFL.DrawFlags; import com.datalogics.PDFL.ImageCollection; import com.datalogics.PDFL.ImageType; import com.datalogics.PDFL.Ink; @@ -15,7 +17,7 @@ /* * This sample demonstrates drawing a list of grayscale separations from a PDF file to multi-paged TIFF file. * - * Copyright (c) 2007-2023, Datalogics, Inc. All rights reserved. + * Copyright (c) 2007-2024, Datalogics, Inc. All rights reserved. * */ public class GetSeparatedImages { @@ -49,6 +51,7 @@ public static void main(String[] args) { } PageImageParams pip = new PageImageParams(); + pip.setPageDrawFlags(EnumSet.of(DrawFlags.USE_ANNOT_FACES)); pip.setHorizontalResolution(300.0); pip.setVerticalResolution(300.0); diff --git a/Images/ImageDisplayByteArray/pom.xml b/Images/ImageDisplayByteArray/pom.xml index db8e14a2..af1c490f 100644 --- a/Images/ImageDisplayByteArray/pom.xml +++ b/Images/ImageDisplayByteArray/pom.xml @@ -51,32 +51,32 @@ com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 pom com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 zip ${jni.classifier} com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 zip resources com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 javadoc diff --git a/Images/ImageEmbedICCProfile/pom.xml b/Images/ImageEmbedICCProfile/pom.xml index be95afda..7136897c 100644 --- a/Images/ImageEmbedICCProfile/pom.xml +++ b/Images/ImageEmbedICCProfile/pom.xml @@ -51,32 +51,32 @@ com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 pom com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 zip ${jni.classifier} com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 zip resources com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 javadoc diff --git a/Images/ImageExport/pom.xml b/Images/ImageExport/pom.xml index 0de1b888..8ed2a462 100644 --- a/Images/ImageExport/pom.xml +++ b/Images/ImageExport/pom.xml @@ -51,32 +51,32 @@ com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 pom com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 zip ${jni.classifier} com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 zip resources com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 javadoc diff --git a/Images/ImageExtraction/pom.xml b/Images/ImageExtraction/pom.xml index 831b2ea0..b6619c7b 100644 --- a/Images/ImageExtraction/pom.xml +++ b/Images/ImageExtraction/pom.xml @@ -51,32 +51,32 @@ com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 pom com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 zip ${jni.classifier} com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 zip resources com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 javadoc diff --git a/Images/ImageFromBufferedImage/pom.xml b/Images/ImageFromBufferedImage/pom.xml index a980c07d..03609976 100644 --- a/Images/ImageFromBufferedImage/pom.xml +++ b/Images/ImageFromBufferedImage/pom.xml @@ -51,32 +51,32 @@ com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 pom com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 zip ${jni.classifier} com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 zip resources com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 javadoc diff --git a/Images/ImageFromByteArray/pom.xml b/Images/ImageFromByteArray/pom.xml index 9ed6f1f0..7303eb7f 100644 --- a/Images/ImageFromByteArray/pom.xml +++ b/Images/ImageFromByteArray/pom.xml @@ -51,32 +51,32 @@ com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 pom com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 zip ${jni.classifier} com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 zip resources com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 javadoc diff --git a/Images/ImageImport/pom.xml b/Images/ImageImport/pom.xml index 5711ecac..76244b12 100644 --- a/Images/ImageImport/pom.xml +++ b/Images/ImageImport/pom.xml @@ -51,32 +51,32 @@ com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 pom com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 zip ${jni.classifier} com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 zip resources com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 javadoc diff --git a/Images/ImageResampling/pom.xml b/Images/ImageResampling/pom.xml index b636d0f0..39040f91 100644 --- a/Images/ImageResampling/pom.xml +++ b/Images/ImageResampling/pom.xml @@ -51,32 +51,32 @@ com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 pom com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 zip ${jni.classifier} com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 zip resources com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 javadoc diff --git a/Images/OutputPreview/pom.xml b/Images/OutputPreview/pom.xml index a391a838..f4095e14 100644 --- a/Images/OutputPreview/pom.xml +++ b/Images/OutputPreview/pom.xml @@ -51,32 +51,32 @@ com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 pom com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 zip ${jni.classifier} com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 zip resources com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 javadoc diff --git a/Images/OutputPreview/src/main/java/com/datalogics/pdfl/samples/OutputPreview.java b/Images/OutputPreview/src/main/java/com/datalogics/pdfl/samples/OutputPreview.java index 55c3dec7..ae156268 100644 --- a/Images/OutputPreview/src/main/java/com/datalogics/pdfl/samples/OutputPreview.java +++ b/Images/OutputPreview/src/main/java/com/datalogics/pdfl/samples/OutputPreview.java @@ -1,9 +1,11 @@ package com.datalogics.pdfl.samples; import java.util.ArrayList; +import java.util.EnumSet; import java.util.List; import com.datalogics.PDFL.Document; +import com.datalogics.PDFL.DrawFlags; import com.datalogics.PDFL.Image; import com.datalogics.PDFL.ImageType; import com.datalogics.PDFL.Ink; @@ -16,7 +18,7 @@ * This sample demonstrates creating an Output Preview Image which is used during Soft Proofing prior to printing to visualize combining different Colorants. * * - * Copyright (c)2023, Datalogics, Inc. All rights reserved. + * Copyright (c)2023-2024, Datalogics, Inc. All rights reserved. * */ @@ -83,6 +85,7 @@ public static void main(String[] args) { } PageImageParams pip = new PageImageParams(); + pip.setPageDrawFlags(EnumSet.of(DrawFlags.USE_ANNOT_FACES)); pip.setHorizontalResolution(300.0); pip.setVerticalResolution(300.0); diff --git a/Images/RasterizePage/pom.xml b/Images/RasterizePage/pom.xml index ca8a353e..ca1cec9c 100644 --- a/Images/RasterizePage/pom.xml +++ b/Images/RasterizePage/pom.xml @@ -51,32 +51,32 @@ com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 pom com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 zip ${jni.classifier} com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 zip resources com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 javadoc diff --git a/InformationExtraction/ListBookmarks/pom.xml b/InformationExtraction/ListBookmarks/pom.xml index 5e633798..01325fdf 100644 --- a/InformationExtraction/ListBookmarks/pom.xml +++ b/InformationExtraction/ListBookmarks/pom.xml @@ -51,32 +51,32 @@ com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 pom com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 zip ${jni.classifier} com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 zip resources com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 javadoc diff --git a/InformationExtraction/ListFonts/pom.xml b/InformationExtraction/ListFonts/pom.xml index 6e0d9fad..0ff826d7 100644 --- a/InformationExtraction/ListFonts/pom.xml +++ b/InformationExtraction/ListFonts/pom.xml @@ -51,32 +51,32 @@ com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 pom com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 zip ${jni.classifier} com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 zip resources com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 javadoc diff --git a/InformationExtraction/ListInfo/pom.xml b/InformationExtraction/ListInfo/pom.xml index 6458d8f7..dda3f790 100644 --- a/InformationExtraction/ListInfo/pom.xml +++ b/InformationExtraction/ListInfo/pom.xml @@ -51,32 +51,32 @@ com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 pom com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 zip ${jni.classifier} com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 zip resources com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 javadoc diff --git a/InformationExtraction/ListLayers/pom.xml b/InformationExtraction/ListLayers/pom.xml index b6ee2aa0..d8e3e5e0 100644 --- a/InformationExtraction/ListLayers/pom.xml +++ b/InformationExtraction/ListLayers/pom.xml @@ -51,32 +51,32 @@ com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 pom com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 zip ${jni.classifier} com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 zip resources com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 javadoc diff --git a/InformationExtraction/ListPaths/pom.xml b/InformationExtraction/ListPaths/pom.xml index 61fff09c..e455af73 100644 --- a/InformationExtraction/ListPaths/pom.xml +++ b/InformationExtraction/ListPaths/pom.xml @@ -51,32 +51,32 @@ com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 pom com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 zip ${jni.classifier} com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 zip resources com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 javadoc diff --git a/InformationExtraction/Metadata/pom.xml b/InformationExtraction/Metadata/pom.xml index 4053c8ea..e7e03bc3 100644 --- a/InformationExtraction/Metadata/pom.xml +++ b/InformationExtraction/Metadata/pom.xml @@ -51,32 +51,32 @@ com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 pom com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 zip ${jni.classifier} com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 zip resources com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 javadoc diff --git a/OpticalCharacterRecognition/AddTextToDocument/pom.xml b/OpticalCharacterRecognition/AddTextToDocument/pom.xml index b3dfcb45..b06f73d9 100644 --- a/OpticalCharacterRecognition/AddTextToDocument/pom.xml +++ b/OpticalCharacterRecognition/AddTextToDocument/pom.xml @@ -51,32 +51,32 @@ com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 pom com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 zip ${jni.classifier} com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 zip resources com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 javadoc diff --git a/OpticalCharacterRecognition/AddTextToImage/pom.xml b/OpticalCharacterRecognition/AddTextToImage/pom.xml index 0ade47fd..503f0663 100644 --- a/OpticalCharacterRecognition/AddTextToImage/pom.xml +++ b/OpticalCharacterRecognition/AddTextToImage/pom.xml @@ -51,32 +51,32 @@ com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 pom com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 zip ${jni.classifier} com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 zip resources com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 javadoc diff --git a/Other/MemoryFileSystem/pom.xml b/Other/MemoryFileSystem/pom.xml index fa04cbe4..9257b82a 100644 --- a/Other/MemoryFileSystem/pom.xml +++ b/Other/MemoryFileSystem/pom.xml @@ -51,32 +51,32 @@ com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 pom com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 zip ${jni.classifier} com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 zip resources com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 javadoc diff --git a/Other/StreamIO/pom.xml b/Other/StreamIO/pom.xml index 12de0695..a784bf2c 100644 --- a/Other/StreamIO/pom.xml +++ b/Other/StreamIO/pom.xml @@ -51,32 +51,32 @@ com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 pom com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 zip ${jni.classifier} com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 zip resources com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 javadoc diff --git a/Printing/PrintPDF/pom.xml b/Printing/PrintPDF/pom.xml index 68cf3211..7b45ce73 100644 --- a/Printing/PrintPDF/pom.xml +++ b/Printing/PrintPDF/pom.xml @@ -51,32 +51,32 @@ com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 pom com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 zip ${jni.classifier} com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 zip resources com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 javadoc diff --git a/Printing/PrintPDFGUI/pom.xml b/Printing/PrintPDFGUI/pom.xml index 4e032851..c1c5852f 100644 --- a/Printing/PrintPDFGUI/pom.xml +++ b/Printing/PrintPDFGUI/pom.xml @@ -51,32 +51,32 @@ com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 pom com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 zip ${jni.classifier} com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 zip resources com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 javadoc diff --git a/Security/AddRegexRedaction/pom.xml b/Security/AddRegexRedaction/pom.xml index a5237077..5daba7ec 100644 --- a/Security/AddRegexRedaction/pom.xml +++ b/Security/AddRegexRedaction/pom.xml @@ -51,32 +51,32 @@ com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 pom com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 zip ${jni.classifier} com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 zip resources com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 javadoc diff --git a/Security/Redactions/pom.xml b/Security/Redactions/pom.xml index 0750218c..1a0e049d 100644 --- a/Security/Redactions/pom.xml +++ b/Security/Redactions/pom.xml @@ -51,32 +51,32 @@ com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 pom com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 zip ${jni.classifier} com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 zip resources com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 javadoc diff --git a/Text/AddGlyphs/pom.xml b/Text/AddGlyphs/pom.xml index 2e03ea02..c40d2ad7 100644 --- a/Text/AddGlyphs/pom.xml +++ b/Text/AddGlyphs/pom.xml @@ -51,32 +51,32 @@ com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 pom com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 zip ${jni.classifier} com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 zip resources com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 javadoc diff --git a/Text/AddUnicodeText/pom.xml b/Text/AddUnicodeText/pom.xml index 5832be4e..ff45b57c 100644 --- a/Text/AddUnicodeText/pom.xml +++ b/Text/AddUnicodeText/pom.xml @@ -51,32 +51,32 @@ com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 pom com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 zip ${jni.classifier} com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 zip resources com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 javadoc diff --git a/Text/AddVerticalText/pom.xml b/Text/AddVerticalText/pom.xml index 3981e977..85a60e53 100644 --- a/Text/AddVerticalText/pom.xml +++ b/Text/AddVerticalText/pom.xml @@ -51,32 +51,32 @@ com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 pom com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 zip ${jni.classifier} com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 zip resources com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 javadoc diff --git a/Text/ListWords/pom.xml b/Text/ListWords/pom.xml index e71d9826..41c9b3c5 100644 --- a/Text/ListWords/pom.xml +++ b/Text/ListWords/pom.xml @@ -51,32 +51,32 @@ com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 pom com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 zip ${jni.classifier} com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 zip resources com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 javadoc diff --git a/Text/RegexExtractText/pom.xml b/Text/RegexExtractText/pom.xml index 3628780c..821f185e 100644 --- a/Text/RegexExtractText/pom.xml +++ b/Text/RegexExtractText/pom.xml @@ -56,32 +56,32 @@ com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 pom com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 zip ${jni.classifier} com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 zip resources com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 javadoc diff --git a/Text/RegexTextSearch/pom.xml b/Text/RegexTextSearch/pom.xml index bac7f068..5b7515d3 100644 --- a/Text/RegexTextSearch/pom.xml +++ b/Text/RegexTextSearch/pom.xml @@ -51,32 +51,32 @@ com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 pom com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 zip ${jni.classifier} com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 zip resources com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 javadoc diff --git a/Text/TextExtract/pom.xml b/Text/TextExtract/pom.xml index 7eb053be..cf89acca 100644 --- a/Text/TextExtract/pom.xml +++ b/Text/TextExtract/pom.xml @@ -51,32 +51,32 @@ com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 pom com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 zip ${jni.classifier} com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 zip resources com.datalogics.pdfl pdfl - 18.32.0 + 18.34.0 javadoc