I'm trying to get the font size or format (bold etc.) of a specific text or line from a pdf file, but without any success until now.
Using the PDFTextStripper like below will only get the plain text
Can you, please, help me with this?
thanks.
Using the PDFTextStripper like below will only get the plain text
Code:
PDFTextStripper stripper = new PDFTextStripper();
String actualText = stripper.getText(actualDoc);
thanks.