3

I’m working on AIR application,

my problem is I have to extract text, images or any other objects from the PDF file and convert in to text or image controls respectively in my application, and

then I have to add the controls to a container at the same positions (same x, y, width, height) like in PDF file.

Also I have to display the PDF page thumbnail images on a list.

Is there any better option for parsing PDF files and generating thumbnail from PDF pages without using any server side scripting?

Is there any opensource lib available other than Alive PDF?. In Alive PDF hard to parse my requirement.

your bit help also welcome.

4

3 回答 3

1

您应该尝试 PurePdf:http ://code.google.com/p/purepdf/

您还可以使用外部应用程序并通过 Air NativeProcess 类启动它

于 2013-01-30T16:15:16.373 回答
0

http://avinashkaza.com/blog/?p=1

应用程序类 SamplePDFLoader.mxml 调用 IFrame 组件并在创建完成时加载 PDF 文件。当用户单击按钮时,该类还通过外部接口类调用 JavaScript 函数来打印 PDF。IFrame.mxml 组件,该组件调用包装器 html 的 javascript 函数以将 PDF 加载到 div 标签中,使用 IFrame 组件容器移动 PDF 等。

http://www.devaldi.com/?p=212

于 2013-01-31T07:05:08.643 回答
0

如果您有一些预算,我可以强烈推荐http://bfo.com的 Java PDF 库。 我们在一个大型项目中使用它,结果非常好。

于 2013-05-06T07:33:35.087 回答