diff --git a/bin/pdf-concat.py b/bin/pdf-concat.py index 09861ac979..4ce5eb14b3 100755 --- a/bin/pdf-concat.py +++ b/bin/pdf-concat.py @@ -1,8 +1,8 @@ #!/bin/sh ''''exec "$(dirname "$0")"/../fiji --jython "$0" "$@" # (call again with fiji)''' -from com.lowagie.text import Document -from com.lowagie.text.pdf import PdfReader, PdfCopy, SimpleBookmark +from com.itextpdf.text import Document +from com.itextpdf.text.pdf import PdfReader, PdfCopy, SimpleBookmark from java.io import FileOutputStream from java.util import ArrayList import sys diff --git a/bin/pdf-recompress.bsh b/bin/pdf-recompress.bsh index 833433ce34..d4d1a53bc0 100755 --- a/bin/pdf-recompress.bsh +++ b/bin/pdf-recompress.bsh @@ -1,8 +1,8 @@ #!/bin/sh // 2>&1 | :; exec "$(dirname "$0")"/../fiji "$0" "$@" # exec with fiji */ -import com.lowagie.text.*; -import com.lowagie.text.pdf.*; +import com.itextpdf.text.*; +import com.itextpdf.text.pdf.*; import java.io.FileOutputStream; if (bsh.args.length != 2) { diff --git a/bin/pdf-reverse-pages.bsh b/bin/pdf-reverse-pages.bsh index db67431b61..23aa19a06e 100755 --- a/bin/pdf-reverse-pages.bsh +++ b/bin/pdf-reverse-pages.bsh @@ -1,11 +1,11 @@ #!/bin/sh // 2>&1 | :; exec "$(dirname "$0")"/../fiji "$0" "$@" # exec with fiji -import com.lowagie.text.Document; +import com.itextpdf.text.Document; -import com.lowagie.text.pdf.PdfReader; -import com.lowagie.text.pdf.PdfCopy; -import com.lowagie.text.pdf.SimpleBookmark; +import com.itextpdf.text.pdf.PdfReader; +import com.itextpdf.text.pdf.PdfCopy; +import com.itextpdf.text.pdf.SimpleBookmark; import java.io.FileOutputStream; diff --git a/bin/pdf-rotate.py b/bin/pdf-rotate.py index 2c1a56c75c..739b04a976 100755 --- a/bin/pdf-rotate.py +++ b/bin/pdf-rotate.py @@ -1,7 +1,7 @@ #!/bin/sh ''''exec "$(dirname "$0")"/../fiji --jython "$0" "$@" # (call again with fiji)''' -from com.lowagie.text.pdf import PdfReader, PdfName, PdfNumber, PdfStamper +from com.itextpdf.text.pdf import PdfReader, PdfName, PdfNumber, PdfStamper from java.io import FileOutputStream import sys