PDF find out if text is underlined or a table cell
问题 I have been playing around with PdfBox and PDFTextStripperByArea method. I was able to extract information if the text is bold or italic , but I'm unable to get the underline information. As far as I understand it in PDF, underline is done by drawing lines. So in theory I should be able to get some sort of information about lines somewhere around the text. Giving this information I could then find out if either text is underlined or in a table. Here is my code so far: List<TextPosition>