Class PdfaErrorCorrectionType
- java.lang.Object
-
- net.webpdf.wsclient.schema.operation.PdfaErrorCorrectionType
-
public class PdfaErrorCorrectionType extends Object
<?xml version="1.0" encoding="UTF-8"?><p xmlns:p120962_="https://jakarta.ee/xml/ns/jaxb" xmlns:p964117_="http://jaxb2-commons.dev.java.net/basic/inheritance" xmlns:tns="http://schema.webpdf.de/1.0/operation" xmlns:xs="http://www.w3.org/2001/XMLSchema">This parameter can be used to optionally activate automatic error correction. If a PDF/A conversion does not work, this may be due to defective PDF syntax structures in the source document. If error correction is enabled then an attempt will be made to correct these syntax errors automatically. </p><?xml version="1.0" encoding="UTF-8"?><p xmlns:p120962_="https://jakarta.ee/xml/ns/jaxb" xmlns:p964117_="http://jaxb2-commons.dev.java.net/basic/inheritance" xmlns:tns="http://schema.webpdf.de/1.0/operation" xmlns:xs="http://www.w3.org/2001/XMLSchema"><b>Important:</b> If the conversion of an existing PDF document to a certain level (e.g. PDF/A-1) does not work, then there must not always be syntax errors in the document. It may also be that the source document does not have all the necessary content (e.g. missing font embedding) that is mandatory for conversion to a certain level. In this case it may be sufficient to switch to a different PDF/A level. Therefore, the conversion report should always be checked first to see if there is really a defective source document before activating error correction. Error correction tries to correct syntax errors such as defective XREF tables or defective objects (defective data streams) in the PDF structure. First the PDF/conversion is performed normally. If errors are then detected so that a valid PDF/A is not created, an attempt is made to perform error correction. If the error correction works, a second pass of the PDF/A conversion is performed. If this run works, then the corresponding PDF/A document is delivered. If not, the corresponding error code and possibly the error report will be delivered. </p><?xml version="1.0" encoding="UTF-8"?><p xmlns:p120962_="https://jakarta.ee/xml/ns/jaxb" xmlns:p964117_="http://jaxb2-commons.dev.java.net/basic/inheritance" xmlns:tns="http://schema.webpdf.de/1.0/operation" xmlns:xs="http://www.w3.org/2001/XMLSchema"><b>Important:</b> If error correction is active, then visual and/or content deviations may occur in the converted PDF/A document. If you activate this option, then the resulting document should be checked in any case. It is recommended to perform the PDF/A conversion first without activating the error correction to be sure that the document is not visually and contentwise changed after the conversion. Only if the conversion was not possible (and the error report was checked) should the option be activated in a second call. The PDF/A document of the second call should be checked for visual and content problems.</p>Java class for PdfaErrorCorrectionType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="PdfaErrorCorrectionType"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <attribute name="enabled" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" /> </restriction> </complexContent> </complexType>
-
-
Constructor Summary
Constructors Constructor Description PdfaErrorCorrectionType()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanisEnabled()Gets the value of the enabled property.booleanisSetEnabled()voidsetEnabled(boolean value)Sets the value of the enabled property.voidunsetEnabled()
-
-
-
Field Detail
-
enabled
protected Boolean enabled
-
-
Method Detail
-
isEnabled
public boolean isEnabled()
Gets the value of the enabled property.- Returns:
- possible object is
Boolean
-
setEnabled
public void setEnabled(boolean value)
Sets the value of the enabled property.- Parameters:
value- allowed object isBoolean
-
isSetEnabled
public boolean isSetEnabled()
-
unsetEnabled
public void unsetEnabled()
-
-