ASPOSE Word conversion from HTML to PDF Styles display flex/grid not supporting

Hi @alexey.noskov, we already tried with Aspose.HTML Java library, but we didn’t get expected results, mean while we are tried to convert our source html to HTML document, but we didn’t get anything styles in between tags, can you look into the attachments for our source and converted HTML files once

We are thinking because of those styles missing not getting expected PDF conversion results

converted_HTML.pdf (58.4 KB)
Source_HTML.7z (1.9 KB)
converted_HTML.7z (1.3 KB)

@BhaskarKammaTR I have moved your question into Aspose.HTML forum. My colleagues will help you shortly.

Hi,

We are trying to convert HTML to PDF with Aspose.HTML Java library, but we didn’t get expected results, mean while we are tried to convert our source html to HTML document, but we didn’t get anything styles in between style tags, can you look into the attachments for our source and converted HTML files once

We are assuming because of those styles missing we are not getting expected PDF conversion results

Source_HTML.7z (1.9 KB)
converted_HTML.7z (1.3 KB)
converted_HTML.pdf (58.4 KB)

@BhaskarKammaTR

Can you please share the sample code snippet as well that you are using to convert HTML into PDF? We will test the scenario in our environment and address it accordingly.

Hi @asad.ali,

Please find attachment for our one of the approaches to convert HTML to PDF and HTML saving

we are tried with passing string HTML content to conversion also, we are not getting expected results

Thanks,
Bhaskar

HTMLConversionAsposeTest.7z (552 Bytes)

Hi @asad.ali,

Can you please look into our HTML to PDF conversion issue, we are looking forward for your response

Thanks

@BhaskarKammaTR

Sure, we are checking it and will back to you shortly.

@BhaskarKammaTR

We were able to reproduce the issue in our environment. Therefore, it has been logged as HTMLJAVA-1368 in our issue tracking for the sake of correction. We will look into its details and keep you posted with the status of its correction. Please be patient and spare us some time.

We are sorry for the inconvenience.

Hi @asad.ali,

HTMLJAVA-1368 issue related status still open, when should we expect the resolution, because based on the issue fix, we are looking forward with ASPOSE.HTML library

we are waiting for the issue resolution; we hope in short time it’s fixed

Thanks,
Bhaskar

@BhaskarKammaTR

The ticket has just been logged in our issue tracking system and we are currently investigating it. As soon as make some progress towards its resolution, we will share updates with you via this forum thread. Please spare us some time.

We are sorry for the inconvenience.

Hi @asad.ali,

HTMLJAVA-1368 issue related status is postponed, we are waiting for the issue fix, but now it is showing postponed, based on the issue fix, we are looking forward with ASPOSE.HTML library

Can you please update on this why it’s postponed, could you please follow up with your team and request them to take up this issue

Thanks,
Bhaskar

@BhaskarKammaTR

At the moment Aspose.HTML for Java is behind the .NET version in terms of conversion engine and other useful features. We are in process of porting all .NET feature into it and as soon as porting is done, we will fix this issue. There is a high possibility that these issues will be resolved once the porting is complete. This is the main reason to postpone the ticket.

@asad.ali,

HTML to PDF conversion we have already tried with ASPOSE.HTML .NET library same issue we are facing with CSS styles are not converting properly

Could you please update on this.

Thanks,
Bhaskar

@BhaskarKammaTR

Can you please share if you already have create any other topic in our forum related to the issue with Aspose.HTML for .NET? Also, have you used same files and approach in .NET also?

@asad.ali,

we don’t have any other topics related to Aspose.HTML for .NET issue, Same way of java we tried to implement in .NET with Aspose.HTML but styles are not converting as expected.

@BhaskarKammaTR

The status of this task is “postponed” because in the next release we will add support for “flex” layout. And for the full-fledged work of this document, it is also necessary to add support for “grid” layout for which there is currently no ETA. We will share updates with you once we have more in this regard.

@asad.ali

flex layout css supporting related Aspose releasing specific to any library (HTML, Word, PDF …) or platform (Java, .NET …) ?

any tentative dates for flex layout support related release, we are eagerly waiting for those issue fixes, if you can provide any expected release dates that will help for us

@BhaskarKammaTR

The support is anticipated to be added in the next upcoming version of Aspose.HTML for Java. However, we will surely share a reliable ETA for the API publish soon with you.

@asad.ali

Any expected dates or timelines for new version release of Aspose.HTML Java library

@BhaskarKammaTR

The release is planned for the first quarter of next year.