I do not remember which of the two it was, but 'poppler' or 'pdfbox' (they may use the same backend) created great HTML output, with absolute positions. They also have an XML mode, which is easily transformed.
Of course, there is absolutely no semantics, just display.
Of course, there is absolutely no semantics, just display.