Unlock the power of Acrobat SDK through our community.
Recently active
Hi, all. I'm trying to put together an automated process that takes PDF files, performs OCR on each one to create PDFs with searchable text, and then runs an advanced search on the resulting files. It looks like Adobe's cloud-based APIs would work for this, but part of the goal is to do this locally, i.e. not an API call to an external web site to run the process. Preferably, this would be done with an actual Adobe SDK, not third party. C# would be the preference, if possible. All of my searches lead me back to the new web-based functionality. Is there an SDK available for offline processing that can handle this? Thanks!
How can I stop auto-rotate when using OCR
I'm using Pro DC Version 2021.001.20135.20135 on my Windows 10 desktop. My application is sturctured in C# Win Forms and has been able to open PDF documents without error for at least a year using the following code to open a pdf file without any problems: acroAVDoc.OpenInWindowEx(OFDMain.FileName, PANPdf.Handle.ToInt32(), AV_DOC_VIEW, 1, 0, PDUseThumbs, AVZoomFitPage, 0, 0, 0); Yesterday morning, there were no problems. However, after lunch, I started getting the following exception when trying to open a document after no changes to the code which was functional before lunch: The server threw an exception. (Exception from HRESULT: 0x80010105 (RPC_E_SERVERFAULT)) I contacted Adobe Support and after about two hours of chatting with a service rep. and a reinstallation of Pro on my desktop, the problem still exists. I have tested the same code on my Windows 10 laptop and the code works fine with DC Pro Version 2021.001.20145. My secondary Windows 10 desktop
Hi, Our company is looking for a library/component/SDK that allows reducing PDF file size. The goal is to take a PDF generated by a 3-rd party component and use the library/component/SDK to modify the PDF in a way that its size is decreased. We used a 11MB PDF with big images (like 2200x1700 pixels) and tried:1. In Adobe Acrobat Pro ver. 9.0 (very old version) - Main Menu->Document->Reduce File Size... - and this indeed reduced file size from 11MB to 1MB. Image sizes were chaned to 1104x853 pixels.2. In Acrobat Pro DC (32-bit) version 2021.001.20138 - Main Menu->File->Save As, and changing the Save as type to "Adobe PDF Files, Optimized" - and this indeed reduced the file size down to 1,7MB. Our preference would be to buy a library/component/SDK written in C#/Java or C/C++. Our preference would be to buy it directly from Adobe. Can you recommend some library/component/SDK or provide the directions where/who to ask? 
Using APDFL SDK C++ I am trying to enumerate all the indirect regular and compressed object in cross-reference table/stream.I am using COSDOCEnumIndirect to fetch XRef object and then I use ASStmRead to decode the XRef object's CosStream. But not sure how to individually enumerate each object in Cross-reference stream.Any leads would be really helpful.Thanks.
Please can someone help me.I'm trying to add several checkboxes to a page.All the checkboxes should have the same name but have different export values.Is this possible as so far I've not succeeded.Here's the code so far...thisField = this.getField('dupethis'); var cRtn = app.response("How many checkboxes would you like?"); var prevRect = thisField.rect; var prevName = thisField.name; //this.removeField(theFieldName); var offset = 30; for (var i = 0; i < cRtn; i++) { var newRect = [prevRect[0]+offset, prevRect[1], prevRect[2]+offset, prevRect[3]] var fn = this.addField({ cName: "p1f1" + "_CB", cFieldType: "checkbox", nPageNum: 0, oCoords: newRect }); offset = offset + 30; var thisExpVal = "sammy" + offset; fn.exportValues=[thisExpVal]; } I'm having problems because I'm trying to give all the checkboxes the same name.I need this so the checkboxes then behave like radio buttons, i.e. only one option can be selected, however with set up the user can uncheck
I would like to display the page number of the current document in a dialog box. However, in the dialog box the page number always appears with a decimal point and six zeros. For a 64-page document I get the indication: 64.000000. Why is that? Since I want to continue calculating with this specification, I need the number without the decimal point and without the zeros.// Dialog Definition var oDlg = { strName1: "", initialize: function (dialog) { dialog.load({ "page": this.strName1, }); }, commit: function (dialog) { var data = dialog.store(); this.strName1 = data["page"]; }, description: { name: "Window titel", elements: [{ type: "view", elements: [{ type: "cluster", name: "Page count", align_children: "align_left", elements: [{ type: "view", elements: [{ type: "static_text", name: "Pages in this document: ", }, { item_id: "page", type: "edit_text"
Is it possible to change the width of the alert box display on the JavaScript side? app.alert ("(1) aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa \ n (2) bbbbbbbbbbbbbbbbbbbb \ n (3) cccccccccccccccccccccc", 3); For example, if I write as above, the sentence (1) will be displayed in two lines. This is difficult to read and looks ugly, so I want to display it in one line.
HiI have aline of code that works no problem on desktop. In custom keystroke script:this.getField("Supply_App.3").display = (event.value=="None") ? display.hidden : display.visible; This doens't work on a mobile device -I'm testing on an iPad with Acrobate Reader for iOS. I've read I shoudl replace the ? with an if statement but I'm struggling to get it to work correctly without adding an additoanl vaidation field - which I'd rather not do. Any advice?TIA
Hi My pdf keeps crashing as I tab out of the last field on the same page over and over. I've deleted the field, replaced it with another but it just keep crashing. I've swithed on & off security settings. All to no avail. Ive sent to the file to another machine & opened in Reader & it experiences the same issue in the same place. I have the crash log (attached ) but no idea how to read/interpret it. Can anyone help?TIA
Hello,I have a problem with digital signature. I use Windows 10 (64 bit) and Adobe Acrobat DC. I have an intelligent card that contains my digital certificate. (Other softwares work fine.) When I use the certificate menu in DC I can choose my certificate. The program fills the visible box with my name etc. When I click the signature button DC says 'windows cryptographic service error: access denied. Code: 2147942405'.DC does not ask for my PIN code for the intelligent card.My certificate was imported into windows certificate store. All the necessary programs run and all devices work fine.The Microsoft Community says it is not MS's responsibility try to ask Adobe.Please help me.Thanks
I'm creating a PDF form that has a checkbox "Other" with two lines underneath. I want to require the fields be filled in, but only if they check "other." I need help! Thanks in advance,Linda
Hi, please, i need to delete all child bookmarks, can you share a working javascript script that can do that please?thanks
I have created the following code and the result is NaN. I would expect it to be the sum of all values in total1 multiplied by 1 or 1.5 based on the results of IF statements above it. What am I missing? //Get all the values neededvar Pole1p = +getField("SP_Pole_Quantity").value;var Secondary1p = +getField("SP_SecondaryUG_Quantity").value;var Primary1p = +getField("SP_PrimaryUG_Quantity").value;var Pole3p = +getField("3P_Pole_Quantity").value;var Secondary3p = +getField("3P_SecondaryUG_Quantity").value;var Primary3p = +getField("3P_PrimaryUG_Quantity").value;var term = +getField("ContractLength").value;var PoleCost1p = +getField("SP_Pole_Ext_Cost").value;var MeterCost1p = +getField("SP_MeterLoop_Ext_Cost").value;var ServiceCost1p = +getField("SP_ServiceDrop_Ext_Cost").value;var XfmerCost1p = +getField("SP_OH_Xfmer_Ext_Cost").value;var SecondaryCost1p = +getField("SP_Secondary_UG_Ext_Cost").value;var PrimaryCost1p = +getField("SP_PrimaryUG_Ext_Cost").value;var PadCost1p = +getField(
I was trying to compare two PDFs in Acrobat DC which just didn't work (said it could not be completed, which googling confirmed just doesn't work in DC) so I found an old PC which luckily we had not upgraded and still had Acrobat X. That compared the documents. What I really want is a Word-style strikethrough/insert view, but Acrobat only gives me pop-up comments or a comment summary.Right, I'l work with that, but the actual changes to the text are buried within a whole lot of useless formatting comments, stating "text size changed" etc which are irrelevant. Don't care. Is there a way in Acrobat X to ignore formatting changes when comparing? More Googling brought up an Amazon book search result referencing Acrobat 8 which refers to a dialog where you can set all sorts of options like this, which seems to have disappeared from X.So can I do it in X, or is the Compare Documents feature just slowly being destroyed version by version, as it appears to be getting worse?
HiI have a calculated field "Calc_Example". I want another field "Calc_Example_Override", where the default value is the same as the value of "Calc_Example" but where the user can override the value (and bring the suffix with it). I've got the default bit working but not the override functionality. On searching this forum it looks like I may need to adjust the script to check the source of the event but to be completely honest, I don't even understand what that means. Can anyone give me an idea of what code I need to add & where? I've attached a basic example. TIA
I need to inject an XML file into a PDF using MS Access VBA.I don't want to do it through web but directly on my PC.What I have to use, PDF Libraries?I tryied to use them but VBA gives me an error using object. Do I need a licence?Do I need an Acrobat product installed? What kind of Acrobat: PRO, XI ?Thanks
Hello, I would like to transform the data return by PDEPathGetData to the page co-ordinates. The documentation said ...."Note that it returns raw path data. If you want the points in page coordinates, concatenate the path data points with the PDEElement matrix obtained from PDEElementGetMatrix()." I am not sure how to do this. Thanks you. P.
I am building a form for a small medical office. The provider wants a dialog box where he can check one or more of a few very common items. The form is being built on top of an existing document that has space limitations and cannot be modified. I have found tutorials for dialog boxes that ask for some user input, but nothing with multiple check boxes that allow me to pass the data back to my main form. I know this will involve some scripting, and I'm not afraid of that, but I am still learning javascript. I also have a budget of....nothing additional except my time, so joining a website isn't an option. I'm not asking for anyone to do this for me, just nudge me in the right direction that I can figure it out.Thank you,CalisMoonelf
Hi all!I have unburied a script from old days of Acrobat 8. It have a custom GUI, with elements that shows in rows forming groups, and all the groups in a column.But now, in Acrobat XI, all of them are showed in a single row of 3 screens wide.Here's the GUI's code (I have deleted a big portion, the elements are repetitive): // descricion de los elementos del GUI description: { name: 'REPrinter', //width: 180, //height: 200, type: 'cluster', align_children: 'align_offscreen', elements: [{ type: 'view', align_children: 'align_row', elements: [ { type: 'static_text', name: 'Combinaciones:', bold: true, font: 'dialog' }, { type: 'edit_text', item_id: 'ncom', SpinEdit: true, font: 'dialog', char_width: 3, height: 20 }, { type
Hello, Is it possible to itterate over all the containers using a script. Also, once I have a container, can I get its name / lable? See pic for my contianers. Thank you. P,
Using the format of the attached form. I would like to make it to where the unused fields are not visible unless needed. Is there a way to create a row of fields that the user could unhide or copy and insert under the previous section if additinoal info is needed? As you see, currently there are 10 Dependent fields, that most will not use. Can I create a button that will insert a new "row" when needed? I tried the hide option, but then it just left a big open space. I would prefer it to not look like that. I hope this makes sense. Thank you for any assistance.I am currently using Adobe DC.
We are Using the ActiveX Interface in LabVIEW (IAcroAXDocShim) in Order the View PDFs. The Software operates on Testbench and shows Test Reports at the End of the Test Procedure. The Acces of a user on the Device is Restricted to our Test Software only unfortionatly in the PDF View there is alwas the Adobe Menue Bar (either on top or the hovering one if you direct the mouse to the lower end of the PDF). This allows a user to open the Save Dialogue and therby get acces to the Windows Explorer and the Rest of the Computer. Ist there a Possibility to Show a PDF with no Acces to the Toolbar at all (also not by Pressing F8). Or at least without a save option gaining acces to the Explorer.
i found a problem when convert from pdf to excel in Arabic or Hebrew it gives me the right to left sentences flipped left to right . . . do you have a solution for this issue?
I have a javascript to search text on PDF and then highlight it.When it works over, an alert message box will be shown that it is over.My script works well on Acrobat XI, but on Acrobat DC, when clicking the OK button on the alert message box,Acrobat DC will be falled into a state of not responding,and this state lasts for about 10 minutes and then the alert message box is closed.In my script code, no code is executed after the app.alert(). The 10 minutes is too long, what should I check about this?My PDF file is created from some html files using "Get entire site" setting,and there are some kangxi radicals in it.Could these character be affecting the problem? Thanks.
Remix with Firefly Community Gallery
Thousands of free creations to fall in love with and remix in Firefly.
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.