aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at/gv/egiz/pdfas
diff options
context:
space:
mode:
authorferbas <ferbas@7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c>2009-11-26 16:10:11 +0000
committerferbas <ferbas@7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c>2009-11-26 16:10:11 +0000
commitbc1fa618cf1497b6dd1b6f4cf14f9b58291338dd (patch)
tree24a074ea6b855a4abf821ac455552af17707c932 /src/main/java/at/gv/egiz/pdfas
parent0f3ea4c6a974c3ca8907d43d3353ef39ca21ecb1 (diff)
downloadpdf-as-3-bc1fa618cf1497b6dd1b6f4cf14f9b58291338dd.tar.gz
pdf-as-3-bc1fa618cf1497b6dd1b6f4cf14f9b58291338dd.tar.bz2
pdf-as-3-bc1fa618cf1497b6dd1b6f4cf14f9b58291338dd.zip
added annotationtype
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@465 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
Diffstat (limited to 'src/main/java/at/gv/egiz/pdfas')
-rw-r--r--src/main/java/at/gv/egiz/pdfas/api/analyze/NonTextObjectInfo.java27
1 files changed, 20 insertions, 7 deletions
diff --git a/src/main/java/at/gv/egiz/pdfas/api/analyze/NonTextObjectInfo.java b/src/main/java/at/gv/egiz/pdfas/api/analyze/NonTextObjectInfo.java
index a20ae99..78020c2 100644
--- a/src/main/java/at/gv/egiz/pdfas/api/analyze/NonTextObjectInfo.java
+++ b/src/main/java/at/gv/egiz/pdfas/api/analyze/NonTextObjectInfo.java
@@ -8,12 +8,14 @@ package at.gv.egiz.pdfas.api.analyze;
*/
public class NonTextObjectInfo {
public static final String TYPE_IMAGE = "image";
+ public static final String TYPE_ANNOTATION = "annotation";
private String objectType;
+ private String subType;
private String name;
private int pageNr;
- private long width;
- private long height;
+ private double width;
+ private double height;
public String getObjectType() {
return this.objectType;
@@ -39,25 +41,36 @@ public class NonTextObjectInfo {
this.pageNr = pageNr;
}
- public long getWidth() {
+ public double getWidth() {
return this.width;
}
- public void setWidth(long width) {
+ public void setWidth(double width) {
this.width = width;
}
- public long getHeight() {
+ public double getHeight() {
return this.height;
}
- public void setHeight(long height) {
+ public void setHeight(double height) {
this.height = height;
}
+
+ public String getSubType() {
+ return this.subType;
+ }
+
+ public void setSubType(String subType) {
+ this.subType = subType;
+ }
+
+
public String toString() {
return "NonTextObjectInfo [height=" + this.height + ", name=" + this.name + ", objectType="
- + this.objectType + ", pageNr=" + this.pageNr + ", width=" + this.width + "]";
+ + this.objectType + ", pageNr=" + this.pageNr + ", subType=" + this.subType
+ + ", width=" + this.width + "]";
}
}