Unlock the power of Acrobat SDK through our community.
Recently active
I am curious as to whether there is a way this is commonly done. the simple way would be for me to wrap my entry points in try/catch blocks and log errors in a text file stored in a older that my policy file gives me rights to. But before I do that, i wanted to ask if there ae reasons this may be problematic or other ways that are preferred.
Hi,I need to select text that is on several lines. I do not want to generate a PDTextSelect using the PDTextSelectCreateWordHilite method, as it turned out that the word numbers used in this method and the word numbers obtained using PDWordFinder are different. There is a PDDocCreateTextSelect method, which also allows you to generate a PDTextSelect. But there is one problem. I generate a PDTextSelect for one line:PDTextSelect textSelection;textSelection = PDDocCreateTextSelect (pdDoc, numPage, & fRect1);AVDocSetSelection (avDoc, ASAtomFromString ("Text"), (void *) textSelection, true);Then PDTextSelect for another line:textSelection = PDDocCreateTextSelect (pdDoc, numPage, & fRect2);AVDocSetSelection (avDoc, ASAtomFromString ("Text"), (void *) textSelection, true);When the statement is executedAVDocShowSelection (avDoc);Only one line is selected.Is there any way to solve this problem?
I'm just exploring if we could use this API for a project and have a question about the configuration. Because we'd only ever have one page to display at the time, we'd like to disable any navigation option - including the page control toolbar at the bottom. This currently pops up when the user hovers over the page. Is there a way to disable this?
初心者です。プラグイン開発をしていますが、下記のコードで ASFileSysOpenFile64 で ASFile file が NULL が返ってきます。またエラーコードで確認すると、errCode=1074397185となります。データが取得できていないようですが、どのように修正したらよいのでしょうか?わかる方お見えでしたらよろしくお願いします。 ASFileSys fileSys = ASGetDefaultFileSys();ASAtom pathFormat = ASAtomFromString("Cstring");char filePathName[256];AVDoc avDoc = AVAppGetActiveDoc();PDDoc pdDoc = AVDocGetPDDoc(avDoc);if (pdDoc == NULL) {return;}ASPathName filePath = ASFileSysCreatePathName(fileSys, pathFormat, filePathName, 0);if (filePath == NULL) {return;}ASErrorCode errCode;ASFile file; errCode = ASFileSysOpenFile64(fileSys, filePath, ASFILE_WRITE, &file);if (errCode != 0) {ASFileSysReleasePath(fileSys, filePath);return;}
I am trying to open a link on a website that i am using. haven't had any issues before but now whenever i select each link i get a pop up icon. i select the icon and i am told i need to contact HARMAN support team for assistance and inform them that this URL has been blocked. no number is provided or any other additional information. can someone please help me fix this or tell me who to call
プラグイン開発を初めてやります。なので、まずは基本となるBasicPluginをビルドして、BasicPlugin.apiを C:\Program Files (x86)\Adobe\Acrobat DC\Acrobat\plug_ins ここにいれてみましたが、読み込まれてないようです。なにが間違っているのでしょうか。教えてください。
I've just notice that toolbuttons created with JavaScript do no appear in the 64bit version of Reader. The folder level scripts are loaded and work. But the Add-ons tools folder and the JavaScript created toolbar buttons are not displayed. Does anyone know about this issue and have a solution?
I created a github link to demonstrated this:ibjduy/Adobe-PDF-Printer-Bug: Adobe PDF Printer Bug (github.com)To reporduce the bug, just look at the ConsoleApp1, in Program.cs.var path = @"AAA.ps"; var printerName = "Adobe PDF";//"CutePDF Writer"; //other printers work var printer = new Printer(); printer.PrintRawFile(printerName, path, false);
I just downloaded a 30-day trial of Adobe Acrobat Pro DC specifically to evaluate the geospatial registering functionality described here:Geospatial PDFs, Adobe AcrobatHowever, when I right click on the map, the "Mark Location" menu item in the contextual menu is grayed out. It is not clear how to create the geospatial PDF by "Georegistering a PDF map or scan of geospatial data" as this is not documented on that help page.Can someone explain how to add georegistration to a PDF map?Thanks.
HI, I was wondering if i am able to make custom shaped buttons on an Adobe form. i would like to make a checking in form that shows any damage done to panel work, i would like the user to click areas of an image (can be made of several images if required) that wil lthen highlight red to show where the damage is. i was hoping to use something like the image below:
Hi guys. Thanks for always helping me out. I am making a form and it have 6 packages for which i have added radio button so customer can select any one package. However I have 6 to 7 list of checboxes which i wanted to be limited based on radio. Example: Package 1 includes 2 fruits and 3 veggiesPackage 2: 5 fruits and 4 veggies I have 2 list. No. 1 fruits with more than 5 to 10 fruits to be selected and No.2 veggies. Now, when Package 1 is selected, list of fruits checboxes needs to be limited to 2 selections only and list of veggies checboxes needs to be limited to any 3 veggies selection. Similarly if package 2 is selected, fruits checboxe should limit the selection to 5 and veggies to any 4. I am a beginner to JavaScript, please help me. I don't know how to group checboxes as fruits and veggies either 😭
Can someone help with a working download link, please? The services page works fine: https://developer.adobe.com/console/servicesandapis and you can click on the adobe sdk to go to the download screen lightbox. However, none of the download links are working. They all return the following message, "This page can't be reached." Thanks
Or other similar AEC/engineering applications? Is it the same data layer that scale would be also set in? I'd like to create some tools similar to what's available in "Brand BB" for estimating/ takeoff data acquisition. does this make sense how I worded it? Ive been scouring the web trying to find information, have read most of the SDK docs here, including the latest PDF Reference (that one, I felt like I needed to reach out to that Steve DeGrassi guy,,,,lol )It seems like it's the OCL , optional content layer or something like that,,,
Hi Looking for some help. I found and copied a script to calculate the time spent on a task from 'on' to 'off'. I need this total on each row but I can't figure out why it is causing errors with certain time periods.I have adjusted the script for each cell, Time 3.0/3.1/3.2 etcIt doesn't matter which row I enter the times in question they always calculate wrong. Any ideas what I am doing wrong? Angie TIA var start = this.getField("Time 3.0").value;var startArr = start.split(":") ;var finish = this.getField("Time 4.0").value;var finishArr = finish.split(":");var hourDiff = Math.abs(finishArr[0] - startArr[0]);var minDiff = Math.floor((Math.abs(finishArr[1] - startArr[1]) / 60)*100);if (minDiff.toString().lenght == 1)minDiff = '0' + MinDiff;var output = hourDiff + "." + minDiff;event.value = output;
Below javascript not working for cTo address but does work for cCc address. Error is "undefined." I am a newbie to writing javascript but researched this one to death and used a billion variations. This script is the only one that had no syntax errors. Where might the trouble be? My goal is to have the submit button send to first email if fulltime faculty is selected and to second email if any other item in dropdown is selected. I tried and else only statement and it failed. So I went with multiple if else statements. I also tried inequality ( != ) operator which also was a syntax error. Please advise! Thanks! var DropdownPositionType = this.getField("DropdownPositionType").valueAsString;if (DropdownPositionType === "Fulltime Faculty") {event.value = "user@university.edu";} else if (DropdownPositionType === "Graduate Assistant") {event.value = "User2@university.edu";} else if (DropdownPositionType === "Fulltime Staff") {event.value = "User2@university.edu";} else if (Dro
I am adding a bookmark to a legend for some annotation marks used in the document. It works fine for interactive use. But i also need to ba able to find it programmatically, ideally by some other method than looking for text.The addition is very simple: PDBookmark bmRoot, bmNode;bmRoot = PDDocGetBookmarkRoot(pdDoc);bmNode = PDBookmarkAddNewChild(bmRoot, pOptions->LegendTickmarksHeader.c_str()); the string being something they can set in options, but it would be optimal if they could edit it. I don't see a way to add anything like a tag that wouldn't be visible but that I could use.
I have an iMac running OS 11.7.2 (Big Sur). Acrobat DC has been working fine until today, when it went into a "Wait while an update is installed" freeze. I used the Cleaner as recommended in another thread here and then tried the link to reinstall, and nothing happens. Doubleclick, the Acrobat Installer icon bounces a couple of times, and nothing happens. All of my work involves PDFs, none of which I can open except as Preview image files. Anybody know how to deal with this?Thanks.
I am trying to figure out how to clear fields via javascript if a checkbox is triggered. Anyone have a script? What exactly is the JS term to clear fields?
Hi all, I need some help in generating a serial code in a text field in acobat to increment when the following applies.When i open the pdf, i need to print 10 copies. I need a javascript function to generate a sequential number for each printed copy. Then the pdf should save the last serial printed upon closing of file. When the file is open next time and printed again , should advance the serial numbers and save the last upon closing.Sounds complex but i did not find a solution anywhere.
現在C++でPDFを操作するアプリを作っています。その作業の中でSKDの中にあるヘッダーをインクルードしたら、ヘッダーファイル内でエラーが起きてました。エラーは識別子エラーとか、関数の関数は返せないとか多数です。 作業として何がいけないのかわかりません。教えてください。。。
Is it possible to have header text be updated based on the contents of a PDF? I this case, there are some values in the document, e.g. DocNumber and revision, the requirment is to have headers and footers updated to reflect these values and show page numbers.
Using Acrobat 11.0.14.Using Windows 7.Using Interactive Objects to set-up a multiple page function button (go back to 1st page).Function button initially had text "go back to 1st page."Also clicked on set as default.After saving PDF and then opening this file, there is a color square which, when clicked, PDF goes back to first page.However, in all the applicable pages, there is no text displayed (in that colored box). Have tried different color combinations but still not able to display text.
I am pulling my hair out trying to get this to build for 64 bit. I change it to x64 in the configuration settings, remove the WIN32 preprocessor directive and it still builds in 32 bit, and therefore doesn't run in latest Acrobat. Anyone had success with this?
Hello, My requirement is to build the funtionality where user can add dynamic watermark to pdf which is generating from html/text. Does anyone have any idea how can I achieve this. Which adobe service or tool I can use.
I'm trying to create a pdf form where one field value is calculated by the other but I can't seem to figure out how to make it work. Can you please assist? For example:A person enters a number in Field 1 that is between 0 and 10Field 2 populates a number based off of that input.A person enters a number in Field 1 that is between 11 and 20Field 2 poputlates a different number based off of that input.
Remix with Firefly Community Gallery
Thousands of free creations to fall in love with and remix in Firefly.
Already have an account? Login
No account yet? Create an account
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.