Constructor and Description |
---|
SearchAction(IPdfObjectPredicate predicate)
Creates a new instance of searching action.
|
Modifier and Type | Method and Description |
---|---|
List<com.itextpdf.kernel.pdf.PdfObject> |
getFoundObjects()
Retrieves objects found in structure of some
PdfDocument with use of
DocumentStructureUtils.traverse(PdfDocument, IAction) . |
void |
processIndirectObjectDefinition(com.itextpdf.kernel.pdf.PdfObject object)
Evaluates this predicate on the given indirect
PdfObject definition and adds it
to search results if object matches the condition. |
com.itextpdf.kernel.pdf.PdfObject |
processObject(com.itextpdf.kernel.pdf.PdfObject object)
Evaluates this predicate on the given
PdfObject and adds it to search results
if object matches the condition. |
public SearchAction(IPdfObjectPredicate predicate)
predicate
- is a criteria for searchpublic List<com.itextpdf.kernel.pdf.PdfObject> getFoundObjects()
PdfDocument
with use of
DocumentStructureUtils.traverse(PdfDocument, IAction)
.public void processIndirectObjectDefinition(com.itextpdf.kernel.pdf.PdfObject object)
PdfObject
definition and adds it
to search results if object matches the condition.processIndirectObjectDefinition
in interface IAction
object
- is an indirect object to processpublic com.itextpdf.kernel.pdf.PdfObject processObject(com.itextpdf.kernel.pdf.PdfObject object)
PdfObject
and adds it to search results
if object matches the condition.processObject
in interface IAction
object
- is an direct object to processCopyright © 1998–2024 iText Group NV. All rights reserved.