diff options
author | ferbas <ferbas@7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c> | 2009-11-19 14:06:57 +0000 |
---|---|---|
committer | ferbas <ferbas@7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c> | 2009-11-19 14:06:57 +0000 |
commit | 592a3a939593b202ba9e2f8fe3e05464078b5000 (patch) | |
tree | 361d4724131921d90a88e6162571559e261f37ae /src/main/java/at/gv/egiz/pdfas/api/analyze | |
parent | 37980e122bb9c3607c07fdf238e2cf717cdce4ac (diff) | |
download | pdf-as-3-592a3a939593b202ba9e2f8fe3e05464078b5000.tar.gz pdf-as-3-592a3a939593b202ba9e2f8fe3e05464078b5000.tar.bz2 pdf-as-3-592a3a939593b202ba9e2f8fe3e05464078b5000.zip |
added non text oject info
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@424 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
Diffstat (limited to 'src/main/java/at/gv/egiz/pdfas/api/analyze')
-rw-r--r-- | src/main/java/at/gv/egiz/pdfas/api/analyze/NonTextObjectInfo.java | 63 |
1 files changed, 63 insertions, 0 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 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 + "]";
+ }
+
+}
|