| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| protected void | checkLinearizedDictionary(PreflightContext
the preflight context. ctx, COSDictionary the linearization dictionary. linearizedDict)Check if mandatory keys of linearized dictionary are present. |
| protected void | checkMainTrailer(PreflightContext
the preflight context. ctx, COSDictionary the trailer dictionary. trailer)check if all keys are authorized in a trailer dictionary and if the type is valid. |
| protected void | checkTrailersForLinearizedPDF14(PreflightContext
the preflight context. ctx)Extracts and compares first and last trailers for PDF version between 1.1 and 1.4. |
| protected void | checkTrailersForLinearizedPDF15(PreflightContext
the preflight context. ctx)Accesses and compares First and Last trailers for a PDF version higher than 1.4. |
| protected boolean | Returns: true if the IDs of the first and last dictionary are the same.the first dictionary for comparison. first, COSDictionary the last dictionary for comparison. last)Return true if the ID of the first dictionary is the same as the id of the last dictionary Return false otherwise. |
| public void |
| TrailerValidationProcess | back to summary |
|---|---|
| public TrailerValidationProcess() | |
| checkLinearizedDictionary | back to summary |
|---|---|
| protected void checkLinearizedDictionary(PreflightContext ctx, COSDictionary linearizedDict) Check if mandatory keys of linearized dictionary are present.
| |
| checkMainTrailer | back to summary |
|---|---|
| protected void checkMainTrailer(PreflightContext ctx, COSDictionary trailer) check if all keys are authorized in a trailer dictionary and if the type is valid.
| |
| checkTrailersForLinearizedPDF14 | back to summary |
|---|---|
| protected void checkTrailersForLinearizedPDF14(PreflightContext ctx) Extracts and compares first and last trailers for PDF version between 1.1 and 1.4.
| |
| checkTrailersForLinearizedPDF15 | back to summary |
|---|---|
| protected void checkTrailersForLinearizedPDF15(PreflightContext ctx) Accesses and compares First and Last trailers for a PDF version higher than 1.4.
| |
| compareIds | back to summary |
|---|---|
| protected boolean compareIds(COSDictionary first, COSDictionary last) Return true if the ID of the first dictionary is the same as the id of the last dictionary Return false otherwise.
| |
| validate | back to summary |
|---|---|
| public void validate(PreflightContext ctx) throws ValidationException Implements org.
| |