Free Support Forum - aspose.com

Questions on HTML to PDF conversion using Aspose.PDF

Hi,

We are using aspose html to pdf conversion.

Below are our few requirements, need assistance and way to achieve them.

1. If grid in the body has more records and if data spans across next page, the grid header should repeat on each new page. (Ex: A table has 400 rows spanning 3 pages, then the header row should be repeated on all pages even though it is there in html only once)
2. There is a requirement that first page of headers is in portrait mode and then 2nd page onwards the data is in landscape mode. Is this achievable throgh HTML attributes and/or C# coding.
3. Its not supporting html5 round corners. Is there a way tp indicated to the library that whatever the HTML we are using is HTML 5 to get the round corners and other features to work?
4. Its not supporting div with float, inline-block properties. We don't want to use tables, is their a way?

Thanks,
Kartheek N

Hi Kartheek,


Thanks for you inquiry. We are looking into your inquiry and will get back to you shortly.

Best Regards,
Hi Kartheek,

We are sorry for the delayed response.

kartheekn:
1. If grid in the body has more records and if data spans across next page, the grid header should repeat on each new page. (Ex: A table has 400 rows spanning 3 pages, then the header row should be repeated on all pages even though it is there in html only once)

I am afraid the requested feature is not available at the moment. We have logged an enhancement ticket PDFNEWNET-37232 in our issue tracking system for the requirement.

kartheekn:
2. There is a requirement that first page of headers is in portrait mode and then 2nd page onwards the data is in landscape mode. Is this achievable throgh HTML attributes and/or C# coding.

You may change diminensions in existing PDF document. Please check documentation link for the purpose.

kartheekn:
3. Its not supporting html5 round corners. Is there a way tp indicated to the library that whatever the HTML we are using is HTML 5 to get the round corners and other features to work?
4. Its not supporting div with float, inline-block properties. We don't want to use tables, is their a way?

Please use new approach for HTML to PDF conversion, it supports HTML5 features. Please try it and let us know if you face any issue. We will be more than happy to extend our support.

Best Regards,

Hi Kartheek,


Thanks for your patience. We are sorry to update you after investigation we conclude that we can not implement your requirement feature, repeat table header row in table data on repeating pages in HTML to PDF conversion.

We are sorry for the inconvenience caused.

Best Regards,