diff options
author | Andreas Fitzek <andreas.fitzek@iaik.tugraz.at> | 2016-03-14 15:47:01 +0100 |
---|---|---|
committer | Andreas Fitzek <andreas.fitzek@iaik.tugraz.at> | 2016-03-14 15:47:01 +0100 |
commit | 9537f58b454a0ebe965bfde666f700c79ed3ab05 (patch) | |
tree | 5d296e8f50ce0ef437adb5fe5af2661872ffe32b /pdf-as-lib/src/main/java/at/knowcenter | |
parent | 9cd7ee31b8073e90e63ebd18bc431537ea1724fc (diff) | |
download | pdf-as-4-9537f58b454a0ebe965bfde666f700c79ed3ab05.tar.gz pdf-as-4-9537f58b454a0ebe965bfde666f700c79ed3ab05.tar.bz2 pdf-as-4-9537f58b454a0ebe965bfde666f700c79ed3ab05.zip |
Allow positioningparamter auto values to overwrite more specific profile values
Diffstat (limited to 'pdf-as-lib/src/main/java/at/knowcenter')
-rw-r--r-- | pdf-as-lib/src/main/java/at/knowcenter/wag/egov/egiz/pdf/TablePos.java | 21 |
1 files changed, 17 insertions, 4 deletions
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 ce32e467..86e270d0 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 @@ -193,7 +193,10 @@ public class TablePos implements Serializable } this.pos_x = xval; this.autoX = false; - } + } else { + this.pos_x = 0.0f; + this.autoX = true; + } break; } case 'y': { @@ -206,7 +209,10 @@ public class TablePos implements Serializable } this.pos_y = yval; this.autoY = false; - } + } else { + this.pos_y = 0.0f; + this.autoY = true; + } break; } case 'w': { @@ -219,7 +225,10 @@ public class TablePos implements Serializable } this.width = wval; this.autoW = false; - } + } else { + this.width = 0.0f; + this.autoW = true; + } break; } case 'p': { @@ -239,7 +248,11 @@ public class TablePos implements Serializable this.page = pval; this.autoP = false; } - } + } else { + this.page = 0; + this.autoP = true; + this.newpage = false; + } break; } case 'f': { |