Click here to Skip to main content
15,891,431 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi Guys,

Just recently I posted a question (PDF to HTML conversion for ASP.Net VB) on how to convert pdf to html which was already solved.

Now, the new requirement is that the pdf should also be editable. whew! :(

Converting it from pdf to html, it does not make it editable for any text, image, etc.

Do you know some ASP.Net free 3rd-party component or control, or free source for this new requirement?

I already have an EssentialObjects and RadControl(RadEditor) controls, but none of them will be able to achieve this requirement or maybe you know something which I do not know. And my boss has no plan yet of buying another 3rd-party component because this is just only a small portion of the project where the pdf viewer/editor will be added as a new feature.

Please help.

Thanks,

Hifi
Posted
Comments
Sergey Alexandrovich Kryukov 27-Nov-14 4:02am    
Next time, please add reference to your past questions if you refer to them. In this case, this is PDF to HTML conversion for ASP.Net VB.
—SA

You got some answer on how to map PDF to HTML and convert to HTML. So, the remaining issue is to make this HTML editable and convert it back to PDF, eventually.

Fortunately, this problem is easier to solve. First of all, if you add the attribute contecteditable to some HTML element, it will become editable as in some primitive HTML editor. Please see:
http://www.w3schools.com/tags/att_global_contenteditable.asp[^].

In many cases, it would be enough. The only problem is: you will be able to edit existing text using the current HTML formatting, not change the formatting in an arbitrary way. Naturally, you would need to add some formatting controls, to make a decent editor. You can use one of the available editors. I would recommend, for example, this one:
http://en.wikipedia.org/wiki/TinyMCE[^],
http://www.tinymce.com/[^].

Alternatively, you can examine the code to see how it works and implement something on your own. You can try to find something else, if you want. First of all, you can check this list and comparison table:
http://en.wikipedia.org/wiki/List_of_HTML_editors[^],
http://en.wikipedia.org/wiki/Comparison_of_HTML_editors[^].

Good luck.
—SA
 
Share this answer
 
Hello,

You can try iTextSharp[^] or PDFApi[^].

Regards,
 
Share this answer
 
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900