HtmlSaveOptions PartsEmbeddingModes.EmbedAllIntoHtml leaves external css file link in header

HtmlSaveOptions saveOptions = new HtmlSaveOptions();

then save the PDF as html…
check the html content of that file

there is still a css link tag in the head of the html file

This is obviously a bug because we’ve used EmbedAllIntoHtml.

The styles file is also never created on disk, but a browser tries to load that styles file and outputs an error because the file s not there.


Would you please share your sample PDF with us for our reference? We will test the scenario in our environment and address it accordingly.

license_German.pdf (46.7 KB)

This is my sample document


We were able to reproduce the issue in our environment while using 22.7 version of the API. Therefore, it has been logged as PDFNET-52178 in our issue tracking system. We will further look into its details and inform you as soon as it is resolved. Please be patient and spare us some time.

We are sorry for the inconvenience.

Thank you. Please also add functionality to monitor conversion progress in SvgSaveOptions. Current there is no function to do that. Other options like HtmlSaveOptions have that function so that user can monitor conversion progress.

SvgSaveOptions.setCustomProgressHandler(UnifiedSaveOptions.ConversionProgressEventHandler customProgressHandler)


We have logged a feature request as PDFNET-52183 in our issue tracking system to implement the functionality of monitoring conversion progress during PDF to SVG Conversion. The ticket is linked with this forum thread and you will be notified as soon as it is resolved. Please be patient and spare us some time.