aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authortknall <tknall@7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c>2007-03-06 10:09:08 +0000
committertknall <tknall@7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c>2007-03-06 10:09:08 +0000
commit17eeb2bf7176ba96c09ba9dc81c27f4729c9fb19 (patch)
tree4cb0bc5400ed837c4d91da9ad42aef79c0440356 /src
parent420e7b2ac7adfb4c89c9c76e9e3f9c84a8c516be (diff)
downloadpdf-as-3-17eeb2bf7176ba96c09ba9dc81c27f4729c9fb19.tar.gz
pdf-as-3-17eeb2bf7176ba96c09ba9dc81c27f4729c9fb19.tar.bz2
pdf-as-3-17eeb2bf7176ba96c09ba9dc81c27f4729c9fb19.zip
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@49 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
Diffstat (limited to 'src')
-rw-r--r--src/main/java/at/knowcenter/wag/egov/egiz/pdf/AbsoluteTextSignature.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main/java/at/knowcenter/wag/egov/egiz/pdf/AbsoluteTextSignature.java b/src/main/java/at/knowcenter/wag/egov/egiz/pdf/AbsoluteTextSignature.java
index 85673b5..b9f4773 100644
--- a/src/main/java/at/knowcenter/wag/egov/egiz/pdf/AbsoluteTextSignature.java
+++ b/src/main/java/at/knowcenter/wag/egov/egiz/pdf/AbsoluteTextSignature.java
@@ -489,6 +489,8 @@ public class AbsoluteTextSignature
*/
public static int findEndOfValue(String text, int start_index)
{
+ // FIXME[tknall]: this method does not work properly for landscape documents because <text> always starts with "\n". Look for errors in PdfAS.java, method findBlockInText(...) to set the start_index accordingly.
+ // Hint: Captions and values of landscape documents are separated with " \n" and not only with " ".
int newline_index = text.indexOf('\n', start_index);
if (newline_index < 0)
{