public class OcrPdfCreatorMetaInfo extends Object implements com.itextpdf.kernel.counter.event.IMetaInfo, IMetaInfoWrapper
| Modifier and Type | Class and Description |
|---|---|
static class |
OcrPdfCreatorMetaInfo.PdfDocumentType
The enum which represents types of documents, for which pdfOcr sends different events
|
| Constructor and Description |
|---|
OcrPdfCreatorMetaInfo(com.itextpdf.kernel.counter.event.IMetaInfo wrappedMetaInfo, UUID uuid, OcrPdfCreatorMetaInfo.PdfDocumentType pdfDocumentType)
Creates an inner meta info wrapper
|
| Modifier and Type | Method and Description |
|---|---|
UUID |
getDocumentId()
Gets the unique String which corresponds to the ocr event for which this meta info is passed
|
OcrPdfCreatorMetaInfo.PdfDocumentType |
getPdfDocumentType()
Gets the type of the document which is created during the corresponding ocr event
|
com.itextpdf.kernel.counter.event.IMetaInfo |
getWrappedMetaInfo()
Gets the wrapped meta info
|
public OcrPdfCreatorMetaInfo(com.itextpdf.kernel.counter.event.IMetaInfo wrappedMetaInfo,
UUID uuid,
OcrPdfCreatorMetaInfo.PdfDocumentType pdfDocumentType)
wrappedMetaInfo - the meta info to be wrapped
uuid - a unique String which corresponds to the ocr event for which this meta info is passed
pdfDocumentType - a type of the document which is created during the corresponding ocr event
public UUID getDocumentId()
public OcrPdfCreatorMetaInfo.PdfDocumentType getPdfDocumentType()
public com.itextpdf.kernel.counter.event.IMetaInfo getWrappedMetaInfo()
IMetaInfoWrapper
getWrappedMetaInfo in interface IMetaInfoWrapper
Copyright © 1998–2020 iText Group NV. All rights reserved.