Hi Team,
Please let me know how to extract image in the below mentioned scenario.
I have written code to extract image from the paragraph but due to bullet point in the beginning of paragraph I am not able to extract image
//mycode
if(paragraph.getText().equals("")) {
Iterable<DocumentObject> paraCollection = (Iterable<DocumentObject>) paragraph.getChildObjects();
for(DocumentObject childObj : paraCollection) {
//below condition is not matching because of bullet point
if(childObj.getDocumentObjectType().equals(DocumentObjectType.Picture)) {
}
}
How to avoid bullet points ,number list and hyphen symbols while extracting the image
I have attached screenshot for your reference
Thanks in advance