aboutsummaryrefslogtreecommitdiff
path: root/pdf-as-lib/src/main/java/at
diff options
context:
space:
mode:
authorAlexander Marsalek <amarsalek@iaik.tugraz.at>2021-06-25 09:16:31 +0200
committerAlexander Marsalek <amarsalek@iaik.tugraz.at>2021-06-25 09:16:31 +0200
commit897664089ed6b3082d3dcca946533c83268a79bb (patch)
treeb6a488bb01a368a0a9d5bd486fcd09f09a90e7e9 /pdf-as-lib/src/main/java/at
parent252703c09a6ab591382d443cda5e7a910ff1d584 (diff)
downloadpdf-as-4-897664089ed6b3082d3dcca946533c83268a79bb.tar.gz
pdf-as-4-897664089ed6b3082d3dcca946533c83268a79bb.tar.bz2
pdf-as-4-897664089ed6b3082d3dcca946533c83268a79bb.zip
fix for issue #47
Diffstat (limited to 'pdf-as-lib/src/main/java/at')
-rw-r--r--pdf-as-lib/src/main/java/at/gv/egiz/pdfas/lib/impl/stamping/ValueResolver.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/pdf-as-lib/src/main/java/at/gv/egiz/pdfas/lib/impl/stamping/ValueResolver.java b/pdf-as-lib/src/main/java/at/gv/egiz/pdfas/lib/impl/stamping/ValueResolver.java
index ab118857..f71b639a 100644
--- a/pdf-as-lib/src/main/java/at/gv/egiz/pdfas/lib/impl/stamping/ValueResolver.java
+++ b/pdf-as-lib/src/main/java/at/gv/egiz/pdfas/lib/impl/stamping/ValueResolver.java
@@ -113,6 +113,9 @@ public class ValueResolver implements IProfileConstants, IResolver {
String tmp2 = internalResolver.resolve(key, tmpValue, settings);
result += tmp2;
} while (matcher.find());
+ if(value.length() > curidx){
+ result += value.substring(curidx);
+ }
} else {
result = value;
}