Rank: Member Groups: Member
Joined: 2/10/2014 Posts: 11
|
I'm looking at buying an updated version of your product or switching to another pdf provider as I have an issue I'm trying to solve.
I use the telerik controls and have a rad editor with user defined html (via the editor). My problem is, when I generate a pdf from the editors html, I'd like to be able to tell the user within the editor somehow, where one page would end and another would start. Can you think of any way to do this? Basically, I have a big chunk of html, and would like to be able to insert some additional html to say, page 1, page 2 etc. then, when the pdf is generated, remove the page information, and just put in the original html. The latter part I can handle, I just can't see a way to figure out where paging would start/stop.
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,229
|
Hi,
There is no easy way for you to do that. Our HTML to PDF converter can page correctly and tell you exactly where the page break occurs (for each element it can tell you exactly on which page this element is on). However this requires you to run the whole page through our converter, and obviously this is not a very efficient solution while user is still working and typing into the editor, especially you would have to run this as often as possible, which would make it unpractical if you have a lot of concurrent users.
Thanks
|