aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/at')
-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 + "]";
}
}