diff options
author | Alexander Marsalek <amarsalek@iaik.tugraz.at> | 2021-06-25 09:16:31 +0200 |
---|---|---|
committer | Alexander Marsalek <amarsalek@iaik.tugraz.at> | 2021-06-25 09:16:31 +0200 |
commit | 897664089ed6b3082d3dcca946533c83268a79bb (patch) | |
tree | b6a488bb01a368a0a9d5bd486fcd09f09a90e7e9 /pdf-as-lib/src/main/java/at/gv/egiz/pdfas/lib | |
parent | 252703c09a6ab591382d443cda5e7a910ff1d584 (diff) | |
download | pdf-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/gv/egiz/pdfas/lib')
-rw-r--r-- | pdf-as-lib/src/main/java/at/gv/egiz/pdfas/lib/impl/stamping/ValueResolver.java | 3 |
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; } |