Page break CSS issue when converting HTML to RTF

Get technical support of HTML to RTF .Net in C# and VB.Net
praveennv
Posts: 1
Joined: Tue Jun 22, 2021 11:52 am
Contact:

Page break CSS issue when converting HTML to RTF

Post by praveennv »

Hi team,
I have tried converting HTML to RTF using the newly provided DLL.
It seems that the "page-break-inside: avoid" property is not working with the new DLL.
See the HTML file Screenshot below.
Image:
https://drive.google.com/file/d/1yRbide ... sp=sharing
Here the page-break-inside property is set to "avoid". So while converting the file to RTF this table should be moved to the starting of the next page if it breaks.
But I was unable to achieve the same using the provided DLL.
The current output is as shown in the below image
https://drive.google.com/file/d/1xYLLEV ... sp=sharing

Here question/answers to be broken up into two pages( even if applying the property "page-break-inside: avoid" to the table that contains the question and answer)
The expected output is:
https://drive.google.com/file/d/1Z1_mva ... sp=sharing

Attaching a Sample HTML file for further references.
File:https://drive.google.com/file/d/1OjRESu ... sp=sharing


Please suggest possible solutions.
Oliver
Posts: 45
Joined: Wed Aug 19, 2020 11:59 am
Contact:

Re: Page break CSS issue when converting HTML to RTF

Post by Oliver »

Hello.

I've passed this issue to our developers and I hope, that we can fix it.

I'll inform you later.
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest