Dear Aspose Support Team,
Conversion from PDF to text is not supported for superscript and subscript formats using the following code snippet for version 23.1:
public String convertToText(Document pdfDocument, int page…...a TextFragmentAbsorber to extract text with formatting TextFragmentAbsorber...accept(textFragmentAbsorber); } // Get the extracted text with formatting StringBuilder...