On 8/24/2013 6:53 AM, mike wrote:
>> Op vrijdag 23 augustus 2013 23:07:54 UTC+2 schreef mike:
>>> What I mean by standalone is without a browser as an independent
>>> application.
What an independent application will do? If it's just for e.g. text
extraction or search then it's possible since no UI elements is required.
> Now what I'm
> thinking is that a standalone app could be build with just the required
> mozilla libraries perhaps by using xul to define the UI.
A web browser control is a part of XUL, so yes, you can use XULRunner.
Or even better, install and run PDF.js as a web application locally --
it will not have browser controls.
Support environments other than HTML5 is out of scope of the PDF.js
project, but you can try to re-write display portion of the project
(viewer.html/.js/.css and canvas.js) to use any available to you
frameworks. Core pdf.js library (document structure parsing) will run
without or with minor changes on any modern JavaScript engine.
Thanks,
Yury Delendik