PDF可查看和可编辑的免费资源 [英] PDF Viewable and Editable free source

查看:67
本文介绍了PDF可查看和可编辑的免费资源的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,



最近我发布了一个关于如何将pdf转换为已经解决的html的问题(PDF转换为ASP.Net VB的HTML转换) 。



现在,新要求是pdf也应该是可编辑的。噢! :(



将它从pdf转换为html,它不会使任何文本,图像等可编辑。



你知道一些ASP.Net免费的第三方组件或控件,或者这个新要求的免费源吗?



我已经有了一个EssentialObjects和RadControl(RadEditor)控制,但没有一个能够达到这个要求,或者你知道一些我不知道的东西。而且我的老板还没有购买另一个第三方组件的计划,因为这只是一小部分将pdf查看器/编辑器添加为新功能的项目。



请帮忙。



谢谢,



Hifi

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

推荐答案

您对如何将PDF映射到HTML和转换为HTML。所以,剩下的问题是让这个HTML可以编辑并最终将其转换回PDF。



幸运的是,这个问题更容易解决。首先,如果将属性 contecteditable 添加到某个HTML元素,它将变得像在某些原始HTML编辑器中一样可编辑。请参阅:

http://www.w3schools.com/tags/att_global_contenteditable.asp [ ^ ]。



在很多情况下,这就足够了。唯一的问题是:您将能够使用当前的HTML格式编辑现有文本,而不是以任意方式更改格式。当然,您需要添加一些格式控件,以制作一个体面的编辑器。您可以使用其中一个可用的编辑器。我建议,例如,这个:

http://en.wikipedia.org/wiki/ TinyMCE [ ^ ],

http://www.tinymce.com/ [ ^ ]。



或者,您可以检查代码以查看其工作原理并实现某些功能靠自己。如果你愿意,你可以尝试寻找别的东西。首先,您可以查看此列表和比较表:

http://en.wikipedia.org / wiki / List_of_HTML_editors [ ^ ],
http://en.wikipedia.org/wiki/Comparison_of_HTML_editors [ ^ ]。



祝你好运。

-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


你好,



你可以尝试< a href =http://sourceforge.net/projects/itextsharp/> iTextSharp [ ^ ]或 PDFApi [ ^ ]。



问候,
Hello,

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

Regards,


这篇关于PDF可查看和可编辑的免费资源的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆