『アドビコミュニティフォーラム』に質問/トピックを投稿する方法
Questions
新着順
I am trying to do one operation during pdf close and trying to persist it Using PDDocSave. The problem is all other unsaved things also gets saved due to this which I don't want. So is there a way to save only a particular change while closing? Or should I avoid save operation during the pdClose call back all togehter
Chciałbym dowiedzieć się co mam w tym zdjęciu poprawić, żeby jakość była lepsza?
I had a legitimate copy of CS 5.5 installed on my old iMac, which I use sporadically. Not frequent enough to justify an upgrade to a paid subscription anyway.After I had to re-install this iMacs OS (High Sierra, 10.13.6, last available for this iMac), I had to re-install the applications as well.Adobe site, after log in, gives me my software key as well as an option to download the installation files. Nice!After download, clicking on install.dmg opens the installation wizzard, but clicking install returns a message: “install” can not be opened. You need to remove the disk image. Same message after open with/contents/MacOS/Install.Is there a way to open the installation file and get installation going? Obviously all files are present.Thanks!
I'm developing an Acrobat plugin (C++) that needs to automatically remove specific custom stamp annotations (calculator tape annotations) when the document is closed, based on a user preference setting.The requirement: When the preference "Clear Calculator Tape on Save" is enabled, any calculator tape annotations should be removed from the document when it is closed, so that upon reopening, the tapes are no longer present.I’ve tried few things like:1. AVDocWillCloseNSEL with PDDocSave: I registered for AVDocWillCloseNSEL, removed the annotations in the callback, and called PDDocSave(doc, PDSaveIncremental, ...) to persist the removal. This works when the document is clean (no unsaved changes). However, when the document has unsaved non-tape changes (e.g., an unsaved symbol annotation) and the user clicks "Don't Save" on Acrobat's prompt, my PDDocSave call still writes to disk — effectively overriding the user's "Don't Save" intent for the other changes2.PDDocWillSaveNSEL (no explicit s
I have a sub that opens a PDF, adds a couple signature fields to it, and then saves the file. All works well if I save the file to a different name, but I need to save the file using the same file name, but it's not working like it used to. Thank you.Code:Sub AddSigFields(docName As String, SignLeft As Boolean, SignRight As Boolean) Dim AcroApp As Acrobat.CAcroApp Dim pdDoc As Acrobat.CAcroPDDoc Dim avDoc As Acrobat.CAcroAVDoc Dim JSO As Object Dim SignField As Object 'I omitted the code that defines the SigCoord arrays. Not the problem. Set AcroApp = CreateObject("AcroExch.App") Set avDoc = CreateObject("AcroExch.AVDoc") If avDoc.Open(docName, "") Then Set pdDoc = avDoc.GetPDDoc Set JSO = pdDoc.GetJSObject If SignLeft Then Set SignField = JSO.AddField("SigFieldLeft", "signature", 0, SigCoordsLeft) End If If SignRight Then
I am implementing one feauters which is performed when the pdf is closed. But it should only happen if the document has all its changes saved. Suppose if the user closes the pdf without saving the changes, the feauters will not trigger.So I am looking for a way to see if the pdf is saved or not? I found one method PDDocIsModified. But it is not working
I have made a PDB document with Acrobat Pro 2025 , containing a text field entry and a QR Code visualization (barcode component). The QR Code does well refresh when the text field is entered.However when I open the same document with Acrobat Reader 2025 . The QR Code stay a gray rectangle ,How can I avoid that issue ?I noticed the message when I inserted the barcode component : “A Barcode field encodes data that end-users type into a fillable PDF Form. Use of this type of field for paper forms processing requires Adobe’s Barcoded Paper Forms solution(Separate license required)”I notice the similar point I an previous post :What is the process to obtain that license today? Is it still “LiveCycle”?I use the 26 mouths Acobate Pro licence.Thanks in advance .BRArnaud
I’m trying to use Javascript to extract and save the first two pages of a document, and save that new document in the same folder as the main file. But I’m having trouble whenever the folder name contains a comma. Is there any workaround? Unfortunately removing the commas in the folder name isn’t an option. Script I’m using below: try { var doc = this; var srcPath = doc.path; var folderPath = srcPath.substring(0, srcPath.lastIndexOf("/")); var baseName = "Document.pdf"; var newPath = folderPath + "/" + baseName; var newDoc = doc.extractPages({ nStart: 0, nEnd: 1 }); newDoc.saveAs({ cPath: newPath }); newDoc.closeDoc();}
With my JavaScript, I invert the page order and simultaneously write the new page order to the console.To avoid the hassle of manually copying the sequence of numbers from the console, the new page order should also be immediately added to the clipboard so that it can be inserted into another program using STR+V.To do this, I create a temporary text field, insert the sequence of numbers, and copy it, hoping to then have it in the clipboard.Unfortunately, this only works sporadically and is more unreliable than reliable.I would be grateful for any tips on how I can improve this!var order = [];for (var i = this.numPages - 1; i >= 0; i--) { order.push(i + 1);}var orderStr = order.join(" ");console.println(orderStr);var f = this.addField("tempCopyField", "text", 0, [0, 0, 300, 20]);f.value = orderStr;f.setFocus();app.execMenuItem("SelectAll");app.execMenuItem("Copy");this.removeField("tempCopyField");Regardsyosimo
Hello everyone,We are currently analyzing a behavior in SAP Adobe Forms when generating PDF outputs (Purchase Order printouts). We have noticed that when the PO country is Switzerland (CH) and the language is German (DE), Italian (IT), or French (FR), the amounts are printed using apostrophes (’) as the thousands separator.However, when the language is English (EN) for the same country, the amounts are printed using a comma (,) instead.In the Adobe Forms layout (Patterns → Numeric Field), we can see that the thousands separator depends on the locale configuration, and that for the Swiss locales (de-CH, fr-CH, it-CH), the apostrophe appears as the default grouping separator.My question for the Adobe community is:Is this behavior the standard and expected formatting for Switzerland in Adobe Forms according to the locale definitions?More specifically, should the apostrophe (’) be used as the official thousands separator for the Switzerland-German, Switzerland-French, and Switzerland-Itali
I am familiar with using VBA to add data to fields of PDF Forms and to combine two PDF Files together.I am looking to work with PDF Portfolios - specifically, I need to be able to tell if a file is a portfolio, create a portfolio from separate PDF files, and add additional files to an existing portfolio.For determining if the file is a portfolio, the code I found online suggested this (after getting to the jso object): ' The key is the Doc.collection property in the Acrobat JavaScript API ' For a standard PDF, it returns a null object; for a portfolio, it returns a collection object If Not jso.Doc.collection Is Nothing Then IsPDFPortfolio = True End IfThe code is failing on the If statement for me with Error 438: Object does not support this property or method.After a lot of searching I found:https://opensource.adobe.com/dc-acrobat-sdk-docs/library/jsdevguide/JS_Dev_PDFCreation.html?highlight=collectionThat made me think I should be using:If Not D
I am looking for an efficient way to merge two PDFs: one with all odd pages scanned from a book, one with all even pages. This question has been posted many times in many different forums. I am unable to get the Javascript given in the following forum to work. https://forums.adobe.com/thread/286654. Generally, answers to this question are not helpful to me because 1) they provide instructions that apply to an earlier version of Adobe (I’m using Adobe Acrobat Pro DC), or 2) they involve purchasing software that I have found to be ineffective. A step by step post to complete code that can do the job and be pasted and saved as a custom command through the command Wizard (see the Jan 13, 2016 11:27 AM post at https://forums.adobe.com/thread/2063936, for an example of a good answer to a different question) would be much appreciated. Thanks, Carl
Hi all ,i am new to this community ,I am encountering an issue when attempting to save a PDF document using the PDDocSave function with the PDSaveCopy flag. The save operation fails with an "error opening the specified document" error for older PDFs (e.g., those beginning with %PDF-1.3), but works without issue for newer PDFs (e.g., %PDF-1.6).Observations:When I use other flags such as "PDSaveFull or PDSaveForceIncremental" operation on the problematic document using Adobe Acrobat Sdk, a new copy is created that works correctly with PDDocSave .This suggests that the "PDDocSave" process updates the document's internal structure to a newer version, effectively resolving the incompatibility.The call causing the issue is: PDDocSave(doc, PDSaveCopy, asPath, ASGetDefaultFileSys(), NULL, NULL);Core Question:What is the recommended method to programmatically upgrade or adapt an opened document's internal PDF version to a more recent, compatible version before performing operations like P
I am using the Adobe XMP Toolkit to add or modify XMP metadata in supported file formats. Currently, when XMP data is written and CloseFile() is called, the toolkit creates a temporary file and then replaces the original file with this temp file. From my understanding, this replacement is handled internally (possibly via the DeriveTemp API). Functionally, this works as expected. However, this approach is not ideal for my use case because when the original file is replaced the file attributes and permission are not same as previous. What I am looking for is a method or recommended approach to update or replace XMP metadata directly in the same file And also i found a method in TXMPFiles.incl_cpp. the method is: #if XMP_StaticBuild // ! Client XMP_IO objects can only be used in static builds. XMP_MethodIntro(TXMPFiles,bool):: OpenFile ( XMP_IO * clientIO, XMP_FileFormat format /*
We have a plugin and we have a custom toolbar where buttons are attached to the toolbar. When we are in old acrobat mode the buttons are aligned vertically but when we switch to new acrobat mode the buttons are aligned horizontally. Is it a new feature from acrobat side or there is an issue and I have to handle for new acrobat mode. Can anyone guide me why this difference is seen in button positioning?
Hello, I’m facing an issue with Adobe Acrobat Reader 25.1.20997.0 when doing automated printing.Issue Scenario:I have:One physical printerOne virtual printer driverI print PDFs in two ways:Manually from Acrobat UIProgrammatically from my Virtual printer driver using :ShellExecute with verb = "printto"ProblemWhile printing a file from Adobe Acrobat Reader I select the physical printer and the file is printed successfully.In the next instance, when I use "printto" verb programmatically from my Virtual printer driver, Adobe Acrobat Reader does not use the printer(my Virtual printer driver) passed via "printto", instead the file is printed to the physical printer selected in the previous instance. This issue occurs in PC with below configuration:OS: Microsoft Windows 11 Home 24H2Version: 10.0.26100 Build 26100I have tried Changing default printer to my virtual printer driver, adding delays, and retries which do not fix this issue. It
We are working on automating interactive PDFs created using Adobe Acrobat that rely on XFA for dynamic behavior, such as adding repeating rows using an Add button.Using backend processing with iText 7 in .NET, we are able to inspect and modify static AcroForm/XFA XML content and populate fixed fields successfully.However, we are unable to programmatically trigger the dynamic row creation behavior that works when the PDF is opened in Adobe Acrobat and the Add button is clicked. Our understanding is that this behavior depends on Adobe’s internal XFA runtime, which executes only within the Acrobat client and is not accessible via backend code or APIs.Can you please confirm the following:1. Is there any Adobe supported API or SDK that allows execution of XFA dynamic form logic outside Adobe Acrobat?2. Is the XFA runtime strictly limited to the Acrobat client environment?3. Is generating a static PDF with pre-rendered rows the recommended approach when the number of rows is known in advance
Hi everyone, We're excited to announce that a new Adobe Community experience is coming this January. A little bit about the update: The new experience will be simpler to navigate, make it easier to connect with other creatives and Adobe experts, and is designed so you have a say in the evolution of the Adobe apps you use each day. In the meantime: Adobe Community will remain active. Keep using it as usual—there will be no interruption in access. In fact, you’ll notice even more Adobe Experts on deck to provide faster responses before, during, and after the update. No existing content will be lost in the update. Every single post, reply, solution, feature request, and bug report you’ve made will be transferred to the new experience. You won't need to recreate anything. Existing content will reappear in two phases. At launch, posts created on or before November 16th will be available immediately. A few weeks later, you’ll see posts created between Novem
We are launching the adobe acrobat progrqamatically in Mac and When i launch Adobe Acrobat in Mac, the Acrobat helper is getting launched in some machines. We found a Prefernce which takes care of it. Acrobat->Preferences->Security(Enhanced)->Enable Protected Mode at Startup(Preview). When we disable it the acrobat is getting launched as expected but in few machines this settings is working vice versa, Meaning, when this setting is enabled the Acrobat is getting launched and when it is disabled the Acrobat Helper is getting launched. Is there a way to make it consistent in all the machines. Thanks.
Hello,I have been on the lookout for an Adobe DC plugin that has a calculator with tape. I can't seem to find one online. I was considering writing the plugin myself (I have a degree in Computer Science) but somewhere I read that I needed to purchase a license from Adobe to write and distribute plugins. Is this true? If so, what is the cost?Also, has anyone seen a plugin that does what I'm looking for?Best,--R
I work on pdf editor plugin for adobe acrobat pro. So my issue is whenever i open a window(lets say tool window of the plugin) and i click on the other adobe tools the plugin window gets closed. I was wondering if there is a way to keep the plugin window open unless u explicitly close it. but u have to be able to work with other adobe tools.i am thinking of ways to work with handle returned by the window
I need to create a menu item that creates a custom "Highlight Annotation" when selected. The user should be able to select some text and then press the menu item and a pop-up note should be displayed that has some static text in it plus the words that were highlighted. I have code that gets the text from the highlighted area, but I cannot create a proper highlight annotation. An annotation gets created but the text is not highlighted.Here is my code snippet:AVDoc avDoc = AVAppGetActiveDoc();// if a PDF is open, get its number of pagesPDDoc pdDoc = AVDocGetPDDoc (avDoc);ASFixedRect boundingRect;char data[512] = "NEW NOTE";int numPages = PDDocGetNumPages (pdDoc);PDPage page = NULL;PDAnnot annot,textannot;// Get the selected text as a text selectPDTextSelect pdtext =static_cast<PDTextSelect>(AVDocGetSelection(avDoc));// Get the bounding box for the selectionPDTextSelectGetBoundingRect(pdtext, &boundingRect);//Create a PDPage objectpage = PDDocAcquirePage(pdDoc,
Hello,After lot of trial and errors, now I am able to create a plugin to create a highlight annotation, get annotation, delete the annotation etc.Now, I want to do this DYNAMICALLY.What I mean is that, there will be our Windows desktop application which tries to communicate to the Acrobat using this plugin.So, Is there any way to communicate to acrobat plugin from external program?Is there any such kind event driven mechanism available in Acrobat SDK?What will be the possible solutions for this? I want to skip IAC in between because I want to make the solution very optimal.Thank you in advance!
Hi, I wanted to create a UI panel in acrobat Pro.I want it to appear when my plugin is loaded and I want to host a react app within the panel. User should be able to select contents within the panel and the panel should be able to interact with the pdf document. How can I go about creating such a thing using acrobat SDK and are there any samples avaialable which I can refer?
Hi,I was building a plugin for acrobat pro that adds a button to the edit toolbar and the button calls a function to add annotation to the selected text. I am using the Basic Plugin as my base and making changes to the BasicPluginInit.cpp file. I tried to replicate what I saw in the documentation here-https://opensource.adobe.com/dc-acrobat-sdk-docs/library/plugin/Plugins_Toolbutton.htmlUnfortunately, even though my plugin builds and I place the .api file at the correct address I am not able to see any additional items on the edit toolbar.Here is the code for my init.cpp file-/********************************************************************* ADOBE SYSTEMS INCORPORATED Copyright (C) 1998-2006 Adobe Systems Incorporated All rights reserved. NOTICE: Adobe permits you to use, modify, and distribute this file in accordance with the terms of the Adobe license agreement accompanying it. If you have received this file from a source other than Adobe, then your use, modification, or
すでにアカウントをお持ちですか?ログイン
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.
申し訳ございません。このファイルは、ダウンロードしても安全かどうか、内容を確認中です。数分後にもう一度お試しください。
申し訳ございませんが、当社のウイルススキャナは、このファイルをダウンロードすることは安全ではないと検出しました。