pdfbox

How to remove nested structure of containers inside content panel


nested structure

Hi everyone! Please look into above image, inside content panel there are four paragraph containers which coming like nested way i.e one inside another. So , Is there any way to convert into like this expecting output

So please anyone can help. Thanks in advance.


Solution

  • Hi all after a lot of efforts I fixed above issue. Actually above nested containers are coming because of I was not properly closing BEGIN_MARKED_CONTENT_SEQ(BDC) and BEGIN_MARKED_CONTENT (BMC) operators. so keep in mind before starting another operator(like BDC or BMC) first close current operator. Thanks