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.... setText ( "Paragraph." ); rootElement . appendChild..."Para" ); p4 . setTag ( "Paragraph" ); sect . appendChild ( p1...