Adobe Air Application - air

Can anyone direct me to an Adobe Air tutorial or reference for building an Air application that lets the user view a Microsoft Word document?
In other words, can I read a Word document from an Adobe Air Application? Thanks for your help.

If you just want to display the contents of the Word document in your app, you can use
<input type="file" />
then get the data from that.

Related

Can form field data be saved in PDF?

I am learning the basics of form pdfs now. After entering the field values, I can save the pdf with data as a pdf file. With Acrobat pro, I am able to export data in FDF and XFDF files. we need to develop a website that will allow users to fill a few form pdfs in browser and download it preferably as pdf forms filled with data. The PDFTron is a good solution, but it looks like I can download FDF file or XFDF file or the flattened pdf from it. The user should be able to modify the downloaded forms. Is this possible with PDFTron?
If it is not PDFTron, Is there any other way I could do this?
Yes, PDFTron fully supports online form filling and the export/import of XFDF data. In particular the WebViewer technology sounds like the best fit for you. It comes with out of the box form field filling, and XFDF is uses as the data interchange. A simple call in javascript to AnnotationManager.exportAnnotations() will give you all the form field data that you can use with any XFDF compliant PDF SDK.
This is the online sample for form filling. It will work on any modern browser/device.
https://www.pdftron.com/webviewer/demo/samples/forms/index.html?doctype=xod
This presentation explains WebViewer technology at a high level.
https://prezi.com/view/Aug5ft1twZNNKfBXfTIQ/
Finally, this page shows the basics of form field data interchange.
https://www.pdftron.com/webviewer/demo/tutorials/getting-started-annotations.html
I really like PDFTK and the PHP library php-pdftk. It will do everything that you want and more, they are really powerful tools, and free if you open-source your code!
PDFTK: https://www.pdflabs.com/tools/pdftk-the-pdf-toolkit/
php-pdftk: https://github.com/mikehaertl/php-pdftk

SharePoint 2010 & Web Parts & PDF links does not open in Adobe client

Good Afternoon All,
I have a report that lists a series of pdf document from a document library in SharePoint. When I click on a one of the documents from this web part, then IE will try to download the pdf document. What I want is....a pdf document to open in the adobe reader client from the web part, without using OpenPDF.js or any third party client library. This works when I click on a link of a pdf document directly from a document library. In this case the document opens adobe reader client.
Any help would be awesome.
Thanks,
If your tag for the link looks like
<a href="DocLink" title="Tooltip">
Try
<a href="DocLink" title="Tooltip" target="_blank">
Also check out what someone else had to do
http://mssharepointtips.com/tip.asp?id=1187
Cheers
Truez

How to generate a PDF form that can be used in both Mac Preview and Adobe Reader?

I previously had an Elance contractor generate a PDF form for me to use for invoicing purposes.
I like the form, but I only can open it using Adobe Reader(Mac) and not Preview.
Recently, I came across a form that can be opened and filled in using Preview AND Adobe Reader.
See here
My question is, how do I generate a PDF form that can be opened in both Preview and Adobe Reader?
I am asking for both:
manual generation (using a software or an application like Word or
Adobe Professional PDF)
programatically (using code or library,
preferably open source)
There are two main types of PDF forms, AcroForms, and XFA forms. Although I have not tested this, I suspect that if you want a PDF form to work with the Preview application, it should be enough if you avoid using XFA forms (usually PDF forms generated by Adobe LiveCycle) and embedded javascript code inside your PDF files. PDF forms using action buttons like "Clear Form", "Print" and "Submit" for example will always involve some javascript code.
Recommendations for libraries that allow you to create these forms will depend on the OS that you want to use for creating them, the programming language, etc. This question seems to have an extensive list o such libraries.

Is there any open source library for rendering doc, xls, ppt and pdf to html code?

I would like to write a "quick look" feature for my web application, that allow user "view" these kind of document on the web page, how can I do so? Thank you.
You could use OpenOffice which can open all of those formats. OpenOffice can also be used to convert a document to HTML. All that can be done through a Java API on the server (no GUI required).
I do not know how good the generated HTML is though, but it might be worth trying.
For PDF you will need an OpenOffice plugin that enables OpenOffice to open PDFs (for editing).
Check out the Crocodoc API. Crocodoc provides an HTML5 viewer (no Flash!) which you can embed in your web pages. It's free for non-commercial use.

Disable Printing in a PDF Viewer ActiveX control?

I'm using the Adobe Acrobat PDF Viewer ActiveX (AxAcroPDFLib.AxAcroPDF) control in one of my forms to display Controlled Document PDFs and my customer would like end users to not be able to print these documents. Is there anyway to disable printing through this control?
The PDF format supports permissions and "allow printing" is one of the permissions. If you can control the PDF generation of these controlled PDFs your best bet is to disable the allow print permission for users. You can also even run existing PDFs through a conversion process to add the necessary permissions with iText, ghostscript or something similar.
Besides, even if you are able to to disable the print button on the ActiveX viewer, if the user is clever enough to realize it is merely a PDF, they could just download the PDF and print it normally.
There's a new PDF software that does this by default. You would have to save the document as .wwf rather than .pdf. If the document is already in PDF format you can re-save it in WWF format.
It's provided by the World Wildlife Foundation in an effort to reduce paper use. The end user does not need to have the software installed on their computer for it to work. You can download the software for both MAC or PC from the link below. Hope this helps!
http://www.saveaswwf.com/en/