Step1:
I have created a pdf which have Subscript ,superscript ,underline ,strikethrough
Code for creating a pdf:
public void createNewDocument(){
Document document = new Document();
//Add page
Page page =…...underline ,strikethrough, subscript, superscript from the pdf...created a pdf which have subscript ,superscript ,underline ,strikethrough...