From: Vincent Vanwaelscappel Date: Tue, 17 Feb 2026 16:46:07 +0000 (+0100) Subject: wip #8012 @1 X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=2b2396a4970f774058a8f075776bd3d0f42aac5a;p=cubist_pdf.git wip #8012 @1 --- diff --git a/resources/tools/fwstk/.idea/workspace.xml b/resources/tools/fwstk/.idea/workspace.xml index 50ebceb..82c1042 100644 --- a/resources/tools/fwstk/.idea/workspace.xml +++ b/resources/tools/fwstk/.idea/workspace.xml @@ -530,6 +530,8 @@ + + 1487172253077 diff --git a/resources/tools/fwstk/bin/com/fluidbook/fwstk/Main.class b/resources/tools/fwstk/bin/com/fluidbook/fwstk/Main.class index 3a364a1..752ba7d 100644 Binary files a/resources/tools/fwstk/bin/com/fluidbook/fwstk/Main.class and b/resources/tools/fwstk/bin/com/fluidbook/fwstk/Main.class differ diff --git a/resources/tools/fwstk/out/artifacts/fwstk_jar/fwstk.jar b/resources/tools/fwstk/out/artifacts/fwstk_jar/fwstk.jar index 63db784..a210ac5 100644 Binary files a/resources/tools/fwstk/out/artifacts/fwstk_jar/fwstk.jar and b/resources/tools/fwstk/out/artifacts/fwstk_jar/fwstk.jar differ diff --git a/resources/tools/fwstk/src/com/fluidbook/fwstk/Main.java b/resources/tools/fwstk/src/com/fluidbook/fwstk/Main.java index 560c4ad..cd8ada4 100644 --- a/resources/tools/fwstk/src/com/fluidbook/fwstk/Main.java +++ b/resources/tools/fwstk/src/com/fluidbook/fwstk/Main.java @@ -46,8 +46,8 @@ import org.apache.pdfbox.util.PDFImageWriter; public class Main { - private static String version = "0.94"; - private static String date = "20220823"; + private static String version = "0.95"; + private static String date = "20261702"; static int threads = 1; static String input = ""; static Float linkOffsetX = 0.0f; @@ -76,6 +76,8 @@ public class Main { PDDocument doc = null; Integer[] pages = null; + System.out.println("fwstk version " + version + " (" + date + ")"); + try { for (int i = 0; i < args.length; i++) { if (args[i].trim().compareTo("--box") == 0) { @@ -627,8 +629,7 @@ public class Main { } public static void saveLinks(String file, ArrayList listLinks) throws IOException { - BufferedWriter out = new BufferedWriter(new OutputStreamWriter( - Files.newOutputStream(Paths.get(file)), StandardCharsets.UTF_8)); + BufferedWriter out = new BufferedWriter(new OutputStreamWriter(Files.newOutputStream(Paths.get(file)), StandardCharsets.UTF_8)); out.write(Link.header()); for (Link l : listLinks) { out.write(l.toFile());