public class OcrType extends Object implements ParameterInterface
Java class for OcrType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="OcrType">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<all>
<element name="page" type="{http://schema.webpdf.de/1.0/operation}OcrPageType" minOccurs="0"/>
<element name="pdfa" type="{http://schema.webpdf.de/1.0/operation}PdfaType" minOccurs="0"/>
<element name="optimization" type="{http://schema.webpdf.de/1.0/operation}ImageOptimizationType" minOccurs="0"/>
</all>
<attribute name="language" type="{http://schema.webpdf.de/1.0/operation}OcrLanguageType" default="eng" />
<attribute name="outputFormat" default="pdf">
<simpleType>
<restriction base="{http://schema.webpdf.de/1.0/operation}OcrOutputType">
</restriction>
</simpleType>
</attribute>
<attribute name="checkResolution" type="{http://www.w3.org/2001/XMLSchema}boolean" default="true" />
<attribute name="imageDpi" default="200">
<simpleType>
<restriction base="{http://schema.webpdf.de/1.0/operation}DpiType">
</restriction>
</simpleType>
</attribute>
<attribute name="forceEachPage" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
<attribute name="normalizePageRotation" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
<attribute name="failOnWarning" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
<attribute name="jpegQuality" default="75">
<simpleType>
<restriction base="{http://www.w3.org/2001/XMLSchema}int">
<minInclusive value="0"/>
<maxInclusive value="100"/>
</restriction>
</simpleType>
</attribute>
<attribute name="ocrMode" type="{http://schema.webpdf.de/1.0/operation}OcrModeType" default="pageSegments" />
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected Boolean |
checkResolution |
protected Boolean |
failOnWarning |
protected Boolean |
forceEachPage |
protected Integer |
imageDpi |
protected Integer |
jpegQuality |
protected OcrLanguageType |
language |
protected Boolean |
normalizePageRotation |
protected OcrModeType |
ocrMode |
protected ImageOptimizationType |
optimization |
protected OcrOutputType |
outputFormat |
protected OcrPageType |
page |
protected PdfaType |
pdfa |
| Constructor and Description |
|---|
OcrType() |
| Modifier and Type | Method and Description |
|---|---|
int |
getImageDpi()
Gets the value of the imageDpi property.
|
int |
getJpegQuality()
Gets the value of the jpegQuality property.
|
OcrLanguageType |
getLanguage()
Gets the value of the language property.
|
OcrModeType |
getOcrMode()
Gets the value of the ocrMode property.
|
ImageOptimizationType |
getOptimization()
Gets the value of the optimization property.
|
OcrOutputType |
getOutputFormat()
Gets the value of the outputFormat property.
|
OcrPageType |
getPage()
Gets the value of the page property.
|
PdfaType |
getPdfa()
Gets the value of the pdfa property.
|
boolean |
isCheckResolution()
Gets the value of the checkResolution property.
|
boolean |
isFailOnWarning()
Gets the value of the failOnWarning property.
|
boolean |
isForceEachPage()
Gets the value of the forceEachPage property.
|
boolean |
isNormalizePageRotation()
Gets the value of the normalizePageRotation property.
|
boolean |
isSetCheckResolution() |
boolean |
isSetFailOnWarning() |
boolean |
isSetForceEachPage() |
boolean |
isSetImageDpi() |
boolean |
isSetJpegQuality() |
boolean |
isSetLanguage() |
boolean |
isSetNormalizePageRotation() |
boolean |
isSetOcrMode() |
boolean |
isSetOptimization() |
boolean |
isSetOutputFormat() |
boolean |
isSetPage() |
boolean |
isSetPdfa() |
void |
setCheckResolution(boolean value)
Sets the value of the checkResolution property.
|
void |
setFailOnWarning(boolean value)
Sets the value of the failOnWarning property.
|
void |
setForceEachPage(boolean value)
Sets the value of the forceEachPage property.
|
void |
setImageDpi(int value)
Sets the value of the imageDpi property.
|
void |
setJpegQuality(int value)
Sets the value of the jpegQuality property.
|
void |
setLanguage(OcrLanguageType value)
Sets the value of the language property.
|
void |
setNormalizePageRotation(boolean value)
Sets the value of the normalizePageRotation property.
|
void |
setOcrMode(OcrModeType value)
Sets the value of the ocrMode property.
|
void |
setOptimization(ImageOptimizationType value)
Sets the value of the optimization property.
|
void |
setOutputFormat(OcrOutputType value)
Sets the value of the outputFormat property.
|
void |
setPage(OcrPageType value)
Sets the value of the page property.
|
void |
setPdfa(PdfaType value)
Sets the value of the pdfa property.
|
void |
unsetCheckResolution() |
void |
unsetFailOnWarning() |
void |
unsetForceEachPage() |
void |
unsetImageDpi() |
void |
unsetJpegQuality() |
void |
unsetNormalizePageRotation() |
protected OcrPageType page
protected PdfaType pdfa
protected ImageOptimizationType optimization
protected OcrLanguageType language
protected OcrOutputType outputFormat
protected Boolean checkResolution
protected Integer imageDpi
protected Boolean forceEachPage
protected Boolean normalizePageRotation
protected Boolean failOnWarning
protected Integer jpegQuality
protected OcrModeType ocrMode
public OcrPageType getPage()
OcrPageTypepublic void setPage(OcrPageType value)
value - allowed object is
OcrPageTypepublic boolean isSetPage()
public PdfaType getPdfa()
PdfaTypepublic void setPdfa(PdfaType value)
value - allowed object is
PdfaTypepublic boolean isSetPdfa()
public ImageOptimizationType getOptimization()
ImageOptimizationTypepublic void setOptimization(ImageOptimizationType value)
value - allowed object is
ImageOptimizationTypepublic boolean isSetOptimization()
public OcrLanguageType getLanguage()
OcrLanguageTypepublic void setLanguage(OcrLanguageType value)
value - allowed object is
OcrLanguageTypepublic boolean isSetLanguage()
public OcrOutputType getOutputFormat()
OcrOutputTypepublic void setOutputFormat(OcrOutputType value)
value - allowed object is
OcrOutputTypepublic boolean isSetOutputFormat()
public boolean isCheckResolution()
Booleanpublic void setCheckResolution(boolean value)
value - allowed object is
Booleanpublic boolean isSetCheckResolution()
public void unsetCheckResolution()
public int getImageDpi()
Integerpublic void setImageDpi(int value)
value - allowed object is
Integerpublic boolean isSetImageDpi()
public void unsetImageDpi()
public boolean isForceEachPage()
Booleanpublic void setForceEachPage(boolean value)
value - allowed object is
Booleanpublic boolean isSetForceEachPage()
public void unsetForceEachPage()
public boolean isNormalizePageRotation()
Booleanpublic void setNormalizePageRotation(boolean value)
value - allowed object is
Booleanpublic boolean isSetNormalizePageRotation()
public void unsetNormalizePageRotation()
public boolean isFailOnWarning()
Booleanpublic void setFailOnWarning(boolean value)
value - allowed object is
Booleanpublic boolean isSetFailOnWarning()
public void unsetFailOnWarning()
public int getJpegQuality()
Integerpublic void setJpegQuality(int value)
value - allowed object is
Integerpublic boolean isSetJpegQuality()
public void unsetJpegQuality()
public OcrModeType getOcrMode()
OcrModeTypepublic void setOcrMode(OcrModeType value)
value - allowed object is
OcrModeTypepublic boolean isSetOcrMode()
Copyright © 2017–2022 SoftVision Development GmbH, Fulda, Germany. All rights reserved.