acrobat

How reliable is iText's signatureCoversWholeDocument() vs Acrobat Reader?

丶灬走出姿态 提交于 2019-12-13 02:18:42
问题 I'd like to double check how reliable is iText's signatureCoversWholeDocument() . I have a document with one signature, which returns false for signatureCoversWholeDocument() , but Adobe Acrobat Reader doesn't report anything wrong with the document. iText's method seems to be to sum up the byte range it gets in getSignatureNames() : public ArrayList<String> getSignatureNames() { ..... PdfArray ro = v.getAsArray(PdfName.BYTERANGE); if (ro == null) continue; int rangeSize = ro.size(); if

AppleScript to save pdf as pdf-x in Acrobat

吃可爱长大的小学妹 提交于 2019-12-13 00:09:25
问题 I am currently using Adobe Acrobat Pro DC 2015.23 on macOS Sierra. My goal is to create AppleScript that do such things: Open PDF File Save this file to pdf-x format Close file I create AppleScript, that do all steps, but i can't find any documentation how to choose with PDF standard to use while saving. If I want to do this manually I do following steps: Open PDF in Adobe Acrobat Choose PDF Standards Menu Click (Save as PDF/X) Press save The question is how to set PDF/X standard while saving

Export data from Excel to pdf form without saving it as .csv or other file first

馋奶兔 提交于 2019-12-12 23:21:20
问题 I have a very complicated Excel workbook, and on one of the worksheets my boss would like some values placed in an Acrobat form. I was able to find and edit a macro (I found here) that would open a blank version of the form. I've been asked to find a way to then have form fields in the Acrobat template auto fill from matching headers in the Excel worksheet (provided one field was filled out as a starting point) but without saving the Excel sheet to .csv to tab-delineated or whatever as an

Embedded fonts in PDF: copy and paste problems

天大地大妈咪最大 提交于 2019-12-12 09:28:06
问题 When trying to copy and paste into a MS word document from a PDF document which has some sets of fonts embedded, the result is illegible. Several symbols are changed or even disappear. Using Adobe Acrobat I can check which specific fonts are embedded. Would installing such fonts in Microsoft Word work it out? If so, where can I get or even create those subsets of the fonts I need? If not, how could I solve this problem? 回答1: You should check your PDF document's fonts first with the help of

Ghostscript - using a font in a form makes it unavailable

我与影子孤独终老i 提交于 2019-12-12 01:28:19
问题 I'm seeing some weird behaviour in Ghostscript 9.06 and am wondering whether it's to do with my PS structure or something else. We have an embedded font defined and then attempt to setup a form and use it as below. Underneath I also have some lines to put text directly on the page without using a form. globaldict begin true setglobal /frm_test << /FormType 1 /BBox [-842 -842 596 596] /Matrix [1 0 0 1 0 0] /PaintProc { pop /ArialMT 7.0 selectfont 0 0 moveto (Test text form) show }

PDF form field in a text editor

半城伤御伤魂 提交于 2019-12-11 20:35:06
问题 To make the long story short; I would like to edit a read-only field from a pdf form using a text editor ONLY. I've succeeded but I would like to understand why in some cases it doesn't work... I've noticed that if I have a version PDF 1.5 of my original document (without fields, saved by word 2010 as pdf) and add the field with Acrobat Pro XI, save it using Save as other... -> Optimized PDF and make it compatible with Acrobat 6.0. My field will look like this in a text editor (notepad++): <<

(VBA) Late Binding (avaoid reference) of Acrobat Type Library

这一生的挚爱 提交于 2019-12-11 17:44:18
问题 Is it possible to avoid the reference to the Adobe Acrobat Type Library somehow? I cannot figure it out how...I receive an ActiveX error message. I only paste an extract of my code as the rest is not that important. Here is the code with early binding (set up reference): Dim Fol_Path As String Dim Each_Page As Boolean Dim AC_PD As Acrobat.AcroPDDoc Dim AC_Hi As Acrobat.AcroHiliteList Dim AC_PG As Acrobat.AcroPDPage Dim AC_PGTxt As Acrobat.AcroPDTextSelect Dim OS_FSO As Object Dim OS_TxtFile

Not able to Save the POST data contents of an XFDF form

允我心安 提交于 2019-12-11 13:22:59
问题 We are Not able to Save the POST data contents from an XFDF form. The POST event is triggered using a button inside the PDF. We are using Java + SPRING on server side. EXCEPTION: java.io.IOException: Expected > for tag: <{1}/> near line 1, column 13 Observed the same error in itext demo page too! Here it is: http://itextpdf.com:8180/book/xfdf Please help us finding the solution. [ MORE DETAILS ] The error is reproducible in the iText demo page itself. Url:http://itextpdf.com:8180/book/xfdf We

postMessage to PDF in an iFrame

血红的双手。 提交于 2019-12-11 12:13:06
问题 Here's my situation. I had a webpage with an embedded PDF form. We used a basic object tag (embed in FF) to load the PDF file like this: <object id="pdfForm" height="100%" width="100%" type="application/pdf" data="..url"></object> On this webpage was an Html Save button that would trigger some Javascript which used the postMessage API of the embedded object to execute javascript embedded in the PDF. Basically, that code looked like this: function save() { sendMessage(["submitForm"]); }

VB.Net / Acrobat - Acrobat hangs after user manually exits program

一笑奈何 提交于 2019-12-11 10:25:49
问题 I'm currently having an issue with VB.Net and Adobe Acrobat. The issue comes from exiting Acrobat but the Windows Taskbar still states that there is an Acrobat.exe process open. I have tried using Marshal.ReleaseComObject() , but it still hangs there. I do not want to have to rely on the "End Process" option on the Task bar in order to remove it. Below is a snippet of the code that I am try to using: Try 'Tries To Close Acrobat Application acrobatApp.Exit() System.Runtime.InteropServices