Class OcrPageType
- java.lang.Object
-
- net.webpdf.wsclient.schema.operation.OcrPageType
-
public class OcrPageType extends Object
<?xml version="1.0" encoding="UTF-8"?><p xmlns:p740872_="https://jakarta.ee/xml/ns/jaxb" xmlns:p755783_="urn:jaxb.jvnet.org:plugin:inheritance" xmlns:tns="http://schema.webpdf.de/1.0/operation" xmlns:xs="http://www.w3.org/2001/XMLSchema">If images are converted to PDF documents during the character recognition process, the size of the page will be computed based on the size of the image and the DPI resolution. This element can be used to specify a custom page size instead.</p>
Java class for OcrPageType complex type
.The following schema fragment specifies the expected content contained within this class.
<complexType name="OcrPageType"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <attribute name="width" default="210"> <simpleType> <restriction base="{http://www.w3.org/2001/XMLSchema}int"> <minInclusive value="0"/> </restriction> </simpleType> </attribute> <attribute name="height" default="297"> <simpleType> <restriction base="{http://www.w3.org/2001/XMLSchema}int"> <minInclusive value="0"/> </restriction> </simpleType> </attribute> <attribute name="metrics" type="{http://schema.webpdf.de/1.0/operation}MetricsType" default="mm" /> </restriction> </complexContent> </complexType>
-
-
Constructor Summary
Constructors Constructor Description OcrPageType()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetHeight()<?MetricsTypegetMetrics()<?intgetWidth()<?booleanisSetHeight()booleanisSetMetrics()booleanisSetWidth()voidsetHeight(int value)Sets the value of the height property.voidsetMetrics(MetricsType value)Sets the value of the metrics property.voidsetWidth(int value)Sets the value of the width property.voidunsetHeight()voidunsetWidth()
-
-
-
Field Detail
-
width
protected Integer width
<?xml version="1.0" encoding="UTF-8"?><p xmlns:p740872_="https://jakarta.ee/xml/ns/jaxb" xmlns:p755783_="urn:jaxb.jvnet.org:plugin:inheritance" xmlns:tns="http://schema.webpdf.de/1.0/operation" xmlns:xs="http://www.w3.org/2001/XMLSchema">Width of the page in the PDF document.</p>
-
height
protected Integer height
<?xml version="1.0" encoding="UTF-8"?><p xmlns:p740872_="https://jakarta.ee/xml/ns/jaxb" xmlns:p755783_="urn:jaxb.jvnet.org:plugin:inheritance" xmlns:tns="http://schema.webpdf.de/1.0/operation" xmlns:xs="http://www.w3.org/2001/XMLSchema">Height of the page in the PDF document.</p>
-
metrics
protected MetricsType metrics
<?xml version="1.0" encoding="UTF-8"?><p xmlns:p740872_="https://jakarta.ee/xml/ns/jaxb" xmlns:p755783_="urn:jaxb.jvnet.org:plugin:inheritance" xmlns:tns="http://schema.webpdf.de/1.0/operation" xmlns:xs="http://www.w3.org/2001/XMLSchema"> Unit for the page size arguments. <ul><li>pt = Points(1/72 inch)</li><li>pc = Picas(12 points)</li><li>px = Pixels(1/96 inch)</li><li>mm = Millimeters</li><li>in = Inches</li></ul></p>
-
-
Method Detail
-
getWidth
public int getWidth()
<?xml version="1.0" encoding="UTF-8"?><p xmlns:p740872_="https://jakarta.ee/xml/ns/jaxb" xmlns:p755783_="urn:jaxb.jvnet.org:plugin:inheritance" xmlns:tns="http://schema.webpdf.de/1.0/operation" xmlns:xs="http://www.w3.org/2001/XMLSchema">Width of the page in the PDF document.</p>
- Returns:
- possible object is
Integer
-
setWidth
public void setWidth(int value)
Sets the value of the width property.- Parameters:
value- allowed object isInteger- See Also:
getWidth()
-
isSetWidth
public boolean isSetWidth()
-
unsetWidth
public void unsetWidth()
-
getHeight
public int getHeight()
<?xml version="1.0" encoding="UTF-8"?><p xmlns:p740872_="https://jakarta.ee/xml/ns/jaxb" xmlns:p755783_="urn:jaxb.jvnet.org:plugin:inheritance" xmlns:tns="http://schema.webpdf.de/1.0/operation" xmlns:xs="http://www.w3.org/2001/XMLSchema">Height of the page in the PDF document.</p>
- Returns:
- possible object is
Integer
-
setHeight
public void setHeight(int value)
Sets the value of the height property.- Parameters:
value- allowed object isInteger- See Also:
getHeight()
-
isSetHeight
public boolean isSetHeight()
-
unsetHeight
public void unsetHeight()
-
getMetrics
public MetricsType getMetrics()
<?xml version="1.0" encoding="UTF-8"?><p xmlns:p740872_="https://jakarta.ee/xml/ns/jaxb" xmlns:p755783_="urn:jaxb.jvnet.org:plugin:inheritance" xmlns:tns="http://schema.webpdf.de/1.0/operation" xmlns:xs="http://www.w3.org/2001/XMLSchema"> Unit for the page size arguments. <ul><li>pt = Points(1/72 inch)</li><li>pc = Picas(12 points)</li><li>px = Pixels(1/96 inch)</li><li>mm = Millimeters</li><li>in = Inches</li></ul></p>- Returns:
- possible object is
MetricsType
-
setMetrics
public void setMetrics(MetricsType value)
Sets the value of the metrics property.- Parameters:
value- allowed object isMetricsType- See Also:
getMetrics()
-
isSetMetrics
public boolean isSetMetrics()
-
-