acrobat

How to embed PDF in a web page using Acrobat Reader instead of Acrobat

人盡茶涼 提交于 2019-12-11 09:48:53
问题 I have a pdf form that uses Acrobat 8 features. The form contains Javascript that interacts with the hosting web page. Some of my Windows users have both Adobe Acrobat and Acrobat Reader installed, and need Adobe Acrobat to be the default handler for pdf files. The users with Adobe Acrobat 7 are unable to use the form, even though they might have Acrobat Reader 8 or 9 installed. Currently, the PDF is embedded like this: <object id="host" data="/path/to/document.pdf" type="application/pdf"

How do I get Acrobat Reader Imported into Delphi 2007?

戏子无情 提交于 2019-12-11 08:35:54
问题 I have imported Acrobat Reader using Components | Import Components. The AcroPdf_TLB unit is created in the Imports directory. When I try to use the AcrobatReader component, as follows ... AcroDoc := TAcroPDF.Create(nil); ... I get an 'Unspecified Error' exception (EOleSysError). Any ideas? Thanks, Pieter. 回答1: We use the Adobe Reader plug-in and face this issue often. It particularly surfaces after a user performs a web-update on the Adobe Reader. Try un-installing (via the Control Panel),

How do you create PDF Form Fields that will expand to contain their content?

 ̄綄美尐妖づ 提交于 2019-12-11 06:33:11
问题 I have a field on a PDF form that could be too small for the contents it needs to hold. Since it is already nearly the size of the page, I need a way to tell adobe to let that field grow to cover more than a page. I haven't found any way to do this. LiveCycle seems to act like you can do it, but everything tried so far, does not do anything more than add a scroll bar in the online view, and the fails to print all the content. Acrobat doesn't even act like it is possible. Any ideas? 回答1: If

PDF generated with itext becomes 'corrupted' when using SetSimpleColumn()

不打扰是莪最后的温柔 提交于 2019-12-11 05:59:22
问题 First I would like to point out that stackowerflow helped me with many problems in the past, so thank you all. But now I have come to problem that I haven't fount a solution for yet and it's driving me crazy. I'm not native english speaker, so sorry for any language mistakes. So here it is: I'm generating pdf with itextsharp library(great library by the way). I'm starting with some kind of pdf form/template, to which i'm adding 'fill-out' data. I'm using PdfReader to read template pdf and by

Invoking the print/save/email function of Adobe Reader plugin in browser

ⅰ亾dé卋堺 提交于 2019-12-11 05:21:10
问题 I am looking for a way to invoke the print/save/email functions from the Adobe Reader plugin in the browser. To better explain, please open the following image in your browser: http://stylephp.com/demo/pdf.png In the image, you'll see a sample PDF is loaded in the browser in the Adobe Reader plugin. And the plugin has the save/email/print buttons on it. Also, there are four similar html buttons on top of it. When clicked on the html buttons on top, I would like to invoke the button within the

PDFBox - convert image to PDF, PDF resolution

爷,独闯天下 提交于 2019-12-11 05:06:02
问题 I am using PDFBox v2 to convert jpg images to PDF. JPG image is already on the filesystem, so I just pick it up and convert it to PDF. Below is my code public void convertImgToPDF(String imagePath, String fileName, String destDir) throws IOException { PDDocument document = new PDDocument(); InputStream in = new FileInputStream(imagePath); BufferedImage bimg = ImageIO.read(in); float width = bimg.getWidth(); float height = bimg.getHeight(); PDPage page = new PDPage(new PDRectangle(width,

Trying to flatten PDF using flattenPages() but nothing happens

≯℡__Kan透↙ 提交于 2019-12-11 04:47:44
问题 I'm trying to call the Acrobat Javascript API from VBA to flatten all annotations in a document, using the following code: Sub flattenPDF() Dim AcroApp As Acrobat.AcroApp Dim AcroDoc As Acrobat.AcroPDDoc Dim jso As Object Dim path As String path = "C:\Users\userID\Desktop\thisfile.pdf" Set AcroApp = CreateObject("AcroExch.App") Set AcroDoc = CreateObject("AcroExch.PDDoc") AcroDoc.Open path Set jso = AcroDoc.GetJSObject jso.flattenPages AcroDoc.Save PDSaveFull, path AcroDoc.Close AcroApp.Exit

.net, Itextsharp, how to flatten comments (specifically stamps)?

十年热恋 提交于 2019-12-11 03:43:55
问题 In short, I'm having issues specifically "flattening" stamp comments in PDF's while using Itextsharp. The effect I'm looking for is identical to what you get when you "print to PDF" from Acrobat (the stamp can no longer be moved/edited/etc. but you can still select any text it might have). Using some very simple Javascript code also seems to work just fine (this.flattenPages). This problems seems to specifically pertain to stamps, which is the real trick of it. I've successfully used the

PDF document is modified by another revision?

南楼画角 提交于 2019-12-11 01:52:11
问题 I use PDFbox in order to sign PDF. It works very well. I can add several signature to one document, and everything works well. Now, someone sign me a document(she sign by another software), this signature was working too. but when I add another revision (by pdfbox) to his document now Adobe reader tells me that PDF was modified. that is original document: this this is signed document which was done by another software: link when I add another revision to the signed pdf, I get this document,

Editing javascript in a pdf with .net

ⅰ亾dé卋堺 提交于 2019-12-10 16:41:41
问题 Is it possible to edit the javascript of a pdf document with .net? I've looked at the Acrobat SDK, but without much luck. It looks like you can retrieve values from forms etc. but not edit the document. Am I way off track? Is this even possible? I've tried iTextSharp, but since the pdf contains form fields, the fields are lost when I save the pdf. Any suggestions? 回答1: Well, apparently you can with iTextSharp: Document document = new Document(PageSize.A4, 50, 50, 50, 50); PdfReader reader =