From 592a3a939593b202ba9e2f8fe3e05464078b5000 Mon Sep 17 00:00:00 2001 From: ferbas Date: Thu, 19 Nov 2009 14:06:57 +0000 Subject: added non text oject info git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@424 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c --- .../egiz/pdfas/api/analyze/NonTextObjectInfo.java | 63 ++++++++++++++++++++++ 1 file changed, 63 insertions(+) create mode 100644 src/main/java/at/gv/egiz/pdfas/api/analyze/NonTextObjectInfo.java (limited to 'src/main/java/at/gv/egiz') 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 new file mode 100644 index 0000000..a20ae99 --- /dev/null +++ b/src/main/java/at/gv/egiz/pdfas/api/analyze/NonTextObjectInfo.java @@ -0,0 +1,63 @@ +package at.gv.egiz.pdfas.api.analyze; + +/** + * Encapsulates information about non textual objects in a pdf document. + * + * @author dferbas + * + */ +public class NonTextObjectInfo { + public static final String TYPE_IMAGE = "image"; + + private String objectType; + private String name; + private int pageNr; + private long width; + private long height; + + public String getObjectType() { + return this.objectType; + } + + public void setObjectType(String objectType) { + this.objectType = objectType; + } + + public String getName() { + return this.name; + } + + public void setName(String name) { + this.name = name; + } + + public int getPageNr() { + return this.pageNr; + } + + public void setPageNr(int pageNr) { + this.pageNr = pageNr; + } + + public long getWidth() { + return this.width; + } + + public void setWidth(long width) { + this.width = width; + } + + public long getHeight() { + return this.height; + } + + public void setHeight(long height) { + this.height = height; + } + + public String toString() { + return "NonTextObjectInfo [height=" + this.height + ", name=" + this.name + ", objectType=" + + this.objectType + ", pageNr=" + this.pageNr + ", width=" + this.width + "]"; + } + +} -- cgit v1.2.3