From 980eed2c3ffe3784747abd5dc6a6fdebbbe2caff Mon Sep 17 00:00:00 2001 From: Alexander Marsalek Date: Thu, 22 Jul 2021 13:21:06 +0200 Subject: added getNextUnusedSignaturePlaceHolder => pdf over needs next unused placeholder issue #54 --- .../lib/impl/placeholder/SignaturePlaceholderData.java | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) (limited to 'pdf-as-lib/src/main/java/at') diff --git a/pdf-as-lib/src/main/java/at/gv/egiz/pdfas/lib/impl/placeholder/SignaturePlaceholderData.java b/pdf-as-lib/src/main/java/at/gv/egiz/pdfas/lib/impl/placeholder/SignaturePlaceholderData.java index cf0ad149..1ad96657 100644 --- a/pdf-as-lib/src/main/java/at/gv/egiz/pdfas/lib/impl/placeholder/SignaturePlaceholderData.java +++ b/pdf-as-lib/src/main/java/at/gv/egiz/pdfas/lib/impl/placeholder/SignaturePlaceholderData.java @@ -142,9 +142,20 @@ public class SignaturePlaceholderData { this.key = key; } + @Override public String toString() { - return getClass().toString() + ": profile=" + profile + "; type=" + type + "; sigKey=" + key + "; table pos=" + tablePos; + return "SignaturePlaceholderData{" + + "profile='" + profile + '\'' + + ", type='" + type + '\'' + + ", key='" + key + '\'' + + ", id='" + id + '\'' + + ", tablePos=" + tablePos + + ", placeholderName='" + placeholderName + '\'' + + '}'; } +// public String toString() { +// return getClass().toString() + ": profile=" + profile + "; type=" + type + "; sigKey=" + key + "; table pos=" + tablePos; +// } public void setPlaceholderName(String name) { this.placeholderName = name; -- cgit v1.2.3