Hello,
I have problem with conversion from PDF file containing lings to HTML format (using Aspose PDF for Java). URL that the link points to is shown and it mixes with other text. I attach both original PDF and screenshot of html result.
The code that is used for conversion is as follows:
Document document = new Document(in);
HtmlSaveOptions saveOptions = new HtmlSaveOptions();
saveOptions.RasterImagesSavingMode = HtmlSaveOptions.RasterImagesSavingModes.AsEmbeddedPartsOfPngPageBackground;
saveOptions.PartsEmbeddingMode = HtmlSaveOptions.PartsEmbeddingModes.EmbedAllIntoHtml;
saveOptions.LettersPositioningMethod = LettersPositioningMethods.UseEmUnitsAndCompensationOfRoundingErrorsInCss;
saveOptions.setUseZOrder(true);
document.save(file.getAbsolutePath(), saveOptions);
Best Regards!
example.pdf (598.5 KB)
screenshot_of_conversion_to_html.png (139.2 KB)