Is it possible to get page title via iText
?
- The
PdfTextExtractor
returns all text from the page but I don't know what line is title. Also, title may contain more than one line - I don't know coordinates of title thus I can't use
RegionTextRenderFilter
- I can try to analyze the font size and take the line(s) with biggest font but TextRenderInfo doesn't provide public access to gs (
private final GraphicsState gs
) - Any other ideas?