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"; public static final String TYPE_ANNOTATION = "annotation"; private String objectType; private String subType; private String name; private int pageNr; private double width; private double 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 double getWidth() { return this.width; } public void setWidth(double width) { this.width = width; } public double getHeight() { return this.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 + ", subType=" + this.subType + ", width=" + this.width + "]"; } }