From bf3beb28c1ec92ca6110f8de0bf9eeb0b598a6de Mon Sep 17 00:00:00 2001 From: Andreas Fitzek Date: Fri, 6 Jun 2014 11:04:24 +0200 Subject: Signature Position merge, Table Borders offset fix --- .../at/knowcenter/wag/egov/egiz/pdf/TablePos.java | 271 ++++++++++++--------- 1 file changed, 159 insertions(+), 112 deletions(-) (limited to 'pdf-as-lib/src/main/java/at/knowcenter/wag/egov') diff --git a/pdf-as-lib/src/main/java/at/knowcenter/wag/egov/egiz/pdf/TablePos.java b/pdf-as-lib/src/main/java/at/knowcenter/wag/egov/egiz/pdf/TablePos.java index 2eb3b341..420a8f0a 100644 --- a/pdf-as-lib/src/main/java/at/knowcenter/wag/egov/egiz/pdf/TablePos.java +++ b/pdf-as-lib/src/main/java/at/knowcenter/wag/egov/egiz/pdf/TablePos.java @@ -158,6 +158,138 @@ public class TablePos implements Serializable //nothing to do --> default } + private void parsePosString(String pos_string) throws PdfAsException { + //parse posstring and throw exception + //[x:x_algo];[y:y_algo];[w:w_algo][p:p_algo];[f:f_algo] + + String[] strs = pos_string.split(";"); + try + { + for (int cmds = 0;cmds