『アドビコミュニティフォーラム』に質問/トピックを投稿する方法
Unlock the power of Acrobat SDK through our community.
新着順
Hello,I am writing a C++ Acrobat plug-in and I am new to the Acrobat SDK.What my plug-in currently does: Recursively iterates through all bookmarks, starting at the root, and gets the title for each bookmark.My goal: Determine the page number associated with each bookmark (if there is one) and then re-order all the pages in the document according to the order of the bookmarks.My problem: After reading through the Acrobat SDK, I cannot find a way to determine the page number for a given bookmark. So far I have tried:// get the action for the current bookmarkPDAction bookmarkAction = PDBookmarkGetAction(aBookmark);// get the view destination for the current bookmark's actionPDViewDestination bookmarkViewDestination = PDActionGetDest(bookmarkAction);Am I headed down the right path? Does the PDViewDestination contain some other object that will give me the page number for this bookmark? Or at least let me determine if there is a page number for the bookmark?Or maybe I need to actually "go
I'm experiencing and issue in the sample project "ExternalWIndow".http://download.macromedia.com/pub/developer/acrobat/sdk/dc/sdkDC_v1_win.zip I've slightly modified the code in a way that I could have two documents open at once. But when i close one of the documents acrobat dc crashes.I added the following code to IACWndProc()if(openInExt){ASFileSys fileSystem = ASGetDefaultUnicodeFileSys();ASPathName pathName = ASFileSysCreatePathFromCString(ASGetDefaultUnicodeFileSys(), path);AVDocOpenFromFile(path, fileSystem, ASTextFromPDText("sometext"));openInExt = false;return DefWindowProc (hwnd, msg, wParam, lParam);}openInExt = true;I also commented out the WM_Close code so that the previously opened document would stay open but after closing the document opened via AVDocOpenFromFile all other documents close and DC crashes. This only happens with Acrobat DC and not Reader.What am i doing wrong?
Hi allI've created an interactive pdf that activates/shows different layers when you press the different buttons. The content works fine on the computer but doesn't work on either Apple or Android devices. When touching the screen it simply brings out the normal phone menu, or zooms in when double-tapping.Can somebody please let me know if it's possible to change this as everyone here uses Apple office phones (except me, I prefer Android) and sometimes they want to read this thing on their mobile device and I'd like to make it possible.Cheers all.
We have a webdav server.I can start Acrobat DC (or Acrobat Reader), go to File -> Open, and where it says "File Name:" I can enter the URL of a file on my webdav server, e.g. http://webdav.mycompany.com/docs/myfile.pdfIt opens perfectly, I can edit the file, and I CAN SAVE IT BACK TO THE SERVER - because this is webdav (something that apparently a lot of people don't know exists... see for example the final reply here: https://acrobatusers.com/forum/collaboration-commenting/open-pdf-file-http-url-through-command-line-option/ ) All well and good.The problem is that if I try to do the same thing by opening acrobat from the command line, with the URL as a parameter, like so:> acrord32 http://webdav.mycompany.com/docs/myfile.pdf or> acrord32 "http://webdav.mycompany.com/docs/myfile.pdf"I get:There was an error opening this document. The filename, directory name, or volume label syntax is incorrect.Am I missing a command line argument or something?If not, doesn't that seem li
when OCR pdf page, only ocr partial images, not all. How do you OCR completely? I have a pdf page as example. Using Windows 7 pro, Acrobat 10 Pro
I'm trying to create a PDF file from an excel file and get error "Adobe PDF printer failed to create the PDF file." I have been using this tool for many years with no problem. I've tried this several times and get same error.
I am trying to find a formula that will extract from page 3 up to the last but two pages of a pdf. I then want to save the eo xtracted file and save it to a specific file on the C drive using the original file name with a prefix of INNER. All I have so far is the formula for extracting the pages -this.extractPages(2, this.numPages-3 );
How do I add the function for my form to self calculate cells? I have several that I want to add together but can't figure it out. When I'm in "prepare form" I right click on the cell and select properties, but there is not "calculate" option like I see in all the tutorials. Should I be in "prepare form" for this, or where should I go?Also, why don't I see all the tabs that I can see in the tutorials? I only have General, Appearance, Position and Options, but in the tutorial I see: General, Appearance, Position, Options, Actions, Format, Validate and Calculate.
We have fillable forms, I want to be able to add a row if the previous one is used. Is this possible with Acrobat or do I need Livecycle. Also, the forms need to be filled in on an Ipad.
I need to set/replace some values into a richText field, and I'm having a problem with the line endings.I am able to set the text, looping through the span objects, but I end up with a single paragraph, all of the line endings are gone.Even just setting the value to itself, without the code to do the text replacements, doesn't work:var spans = event.richValue;event.richValue = spans;orevent.richValue = event.richValue;I end up with the correct content, but all of the line endings are missing. And this is code that I modified from the javascript reference documentation. The code is in the Custom Format Script for the field.Can someone help me with an example of how to replace text (i.e replace '[NAME]' with 'John') in a richtext field and retain the line endings?
Hello,I have a document level javascript that is looking for character strings to determine a result.Why would it throw this error?function webaddress() { var one = this.getField("CompanyName"); var two = this.getField("WebAddress"); var three = this.getField("dealerCSZ"); var n = three.indexOf("MN,"); var n1 = three.indexOf("IN,"); var n2 = three.indexOf("OH,"); // evaluate address for proper name if (n.value>=1) { one.value='
Hi All,Right now, I am creating a quiz form where I have a start button.The user has to complete the form within 30 mins. if it exceeds more than 30 mins all the fields should automatically become readonly and the form should save and close.So, I need the proper timing functions for this form. Can anyone help me with this????.Thanks in advance.
Hi,Trying to create a preflight check, where named Spot colour has to hold certain values for CMYK (C=0 M=53 Y=100 K=0). Other than that should result in fail.So far I have this but it doesn't seem to work:Tried to use "Color values for fill" but it also doesn't work for me... Any ideas?
I'm trying figure out the scripting for a pet project I'm doing. I have five fields 4 are text and 1 is a drop down menu. I want to add 3 text fields together in the fourth field but I also want part of the calculation to be: if I select a certain thing from the drop down menu to add 10 any help would be awesome. I'm very new to this so take it easy lol.
Hello,I have written a plugin to search text from the PDF document using search plugin HFT functions.I can very well search the plain text without any special characters in it.But when search text contains special characters then It could not search the whole search text.Here is my code snippet:ASText searchKey = ASTextFromScriptText(searchText, kASEUnicodeScript);SearchQueryDataRec srcQuery;memset(&srcQuery, 0, sizeof (SearchQueryDataRec));srcQuery.size = sizeof(SearchQueryDataRec);srcQuery.query = searchKey;srcQuery.type = kSearchActiveDoc;srcQuery.match = kMatchAllWords;srcQuery.options = kWordOptionWholeWord | kSearchEveryWhere;srcQuery.scope = kSearchDocumentText;srcQuery.path = NULL;srcQuery.fs = NULL;srcQuery.maxDocs = 1;ASBool ret = SearchExecuteQueryEx(&srcQuery);ASTextDestroy(searchKey);For example:If I want to search the below highlighted text then It does not search.However I can very well search the below text:Please let me know where I am going wrong.Thanks.
I have an application that creates PDF documents with pages containing both a TIFF document and headers and footers rendered with vector text. Normally when you open a PDF and try to edit it, Acrobat DC Pro will automatically scan and OCR the current page so that you can copy from or edit the page. However, it refuses to do this on the PDFs generated by my application because of the vector text that exists on the pages. Is there a way to add the headers and footers in a way that will not prevent DC from auto-OCRing or is there a setting in DC that can change this behavior?
Hi, I am trying to create a Adobe Form which automatically add 36 hours to the previous date and time entered in the dd/mm/yy HH:MM format. I was wondering if there is any advice on how to do that on Adobe acrobat DC?
I am working with a VB .net application which actually saves selected PDF to PS and then using distiller it saves the PS file back to PDF which is "optimized" and smaller in size. Following is the code I am using [running in a loop for all files in a directory]: ''Kill Acrobat Process ''Kill Distiller Process Dim pdfFilePath As String = "E:/TestPDF/abcd.pdf" Dim convSplitedPage As Acrobat.AcroPDDoc = New Acrobat.AcroPDDoc convSplitedPage.Open(pdfFilePath) Dim Converter As New Object Converter = convSplitedPage.GetJSObjec
Hello,I have a document with a lot of different checkboxes and they all have their own specific category.I have the document so that when a user clicks on a checkbox under that specific category, a button displays a value of the number of checkmarks that are clicked under that specific category. The program will only display a value, if the checkbox string value is in the array which I DEFINE.I have had to manually type in the specific checkbox name into array to get this done, but I am looking to see if I can iterate through and select a specific set of checkboxes to then PUSH to an array, so I don't have to manually type the string names of 100+ checkboxes.Here is the code that I put in my custom calculation script of the text field which displays the number of checkboxes typed in:var checkboxes = ["holter-48hr", "holter-72hr", "holter-1wk", "holter-2wk", "cardio-ecgharmonic", "cardio-loop", "cardio-restingecg", "cardio-gxt" ]; var counter = 0; for (var i in checkbo
I need some java script help creating a PDF form/field named "Sales Tax" that does the following:Calculates the amount of tax from the "Search Fee" field based on "Zip" and "State" fields.Conditions are that if the "State" field is not "NY" the sales tax rate would be zero and thus the "Sales Tax" field would read $0.00. i.e. State: CA, Search Fee: $150.00, Sales Tax: $0.00IF the "State" field is "NY" then it would calculate the rate based off of the "Zip" field. i.e. State: NY, Zip: 10005, Search Fee: $150.00, Sales Tax: $13.31 (8.875% of $150)i.e. State: NY, Zip: 10005, Search Fee: $150.00, Sales Tax: $12.94 (8.625% of $150)Ideally the calculation would read an excel sheet with 2 columns (one for zip and for tax rate) but I would also be interested in the code that 'manually' covers the 11 sales tax rates of NY. Any help would be great.Thanks!
I am working on project where we have PDF files containing controls like text fields, check box etc. These controls are added using Adobe Acrobat 9.0 Professional. Here this file is passed as input to to C# application and it fills data to the controls added on PDF file. Output is file containing PDF template containing data from Database fields. We are currently performing manual testing for Output file. My questions are,1. Is there any utility/ feature using which we can check for alignment of text added in control?2. Is there any way using which we can test data in the merged file?
Recently, when adding a page to an acrobat XI form using "tools - insert from file" I have been getting a Geomark editor popup?I don't know why, it never used to happen, did I somehow change a setting?How do I remove it?
Hi,I am attempting to create an if statement in Adobe Pro (JavaScript).Below is an example of what I am trying to achieve. G150G210G330G410Text110Text1= G1-G2-G3At G4: If Text1>0 then Text1, if not greater then 0 then 0.Thank you for all the help!
I've looked over the forums, but can't see where this is answered. I'm combining anywhere from 4 - 6 separate .pdf files, then adding bookmarks, linking each .pdf to a master web page, then moving those files to a web server for our customers to view. I'm using Acrobat XI Pro.When I combine the .pdfs and view them on my computer, everything is fine. When I move the combined .pdf to our web server, text goes missing. See below. Is there anything that can be done? Combined files range in size from 24 MB to 59 MB.
Hello,I want to open a input box to receive some text after clicking on my custom menu item.Is there any API methods to do it?With normal C++, I am not able to achieve it.Thanks in advance!
Remix with Firefly Community Gallery
Thousands of free creations to fall in love with and remix in Firefly.
すでにアカウントをお持ちですか?ログイン
アカウントをお持ちではありませんか? アカウントを作成
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.