With Aspose.PDF for Java, you may set different Structure Elements Properties. There are setting Text Block Structure Elements, setting Inline Structure Elements, adding Structure Element into Elements and etc....Content from PDF Working with Table in Tagged PDFs...