SDK allows the doc to edit and add links and insert the javascript code?

Hello

I am a student using the SDK to perform the following tasks.  It supports doing so?

* Change a source PDF to insert hyperlinks to certain texts and change the formatting of text.

* Add a javascript such that I can release a dynamic http action REMAINS (with the appropriate confirmation dialog) when text is selected which provides the text selected the REST call.

Thanks in advance.  I could not determine that a scan of high-level documentation.

-martin

You can create a plugin for Adobe Acrobat without any authorization from Adobe.

Only the plugins for Adobe Reader must be approved.  But the player does not editing in any case, these features apply.

Tags: Acrobat

Similar Questions

  • Allow users to save, edit and print forms

    I have Adobe Professional 8.1 and cannot save a PDF file that will allow users to save, edit and print the forms without requiring a password.

    Even with a password, I am unable to open the PDF file to save the changes to the forms change.  How can I accomplish this?

    For example, I want someone to fill out a questionnaire.  This person could start the questionnaire and would then save and come back later.  But they are unable to save the document and would have to start all over again.

    How can I make this option available to them and avoid requiring them a password?  (That's my preference).

    The last time that I need a password and tested it out, I wasn't able to do anything in the document, much less to save a copy.

    It shouldn't be complicated. : (

    Help?

    You must enable Extended Reader rights. I think that this in the Advanced menu. This should be done on a copy. Do not forget that the Adobe Acrobat license restricted forms enabled to 500 users/uses. For more, you will need to use a life cycle which is a tad more expensive product (thing 5 numbers and then some).

  • Adding an event does not add the JavaScript code to the code automatically window

    I'm learning to animate Adobe classroom in a book (among others).  The lesson says to add an event to the timeline.  I click the icon "open stock" ({}) to the beginning of the row on the timeline for the item that I want to add an action.  The edit window appears.  I click on "mouseover", and only a comment is added to the window instead of the Javascript code.  I have to enter the code manually.  Animate is no longer does this in the code window actions?

    Note that the second stage ("choose a target") is required to automatically add the code.

    You must select an object, and then click Enter.

  • How to find and replace in the Javascript code?

    Hi all!

    I hope that this proves to be an easy question! We have recently updated several forms (about 50 of them) to change a set of names of fields by the requirements of the customer. However, it turns out that one of these fields is a key field and it is referenced in one or more places of JavaScript in the PDF.

    I would choose the option to edit all of the scripts that would give me a large document with all the Javascript code in the PDF in Acrobat 6. I could then do a find/replace on the code and save it. Now, using Acrobat 9 Pro, I don't know something like that. Please don't tell me that I have to search in all fields in different form and PDF objects to find all the pieces of script related to objects or events! I'm really, really hoping that there is an easier way to do it from right now, I'm ideas and really do not want to have to sift through all the objects in more than 50 PDF documents.

    Thanks in advance for pointing me in the right direction!

    Go to the Advanced section - Document Processing - Edit Document JavaScripts...

    (or something similar, don't have it in front of me at the moment)

  • Popup of console log in Chrome for the Javascript code for the Adf application

    Hello

    I use JDev 11.1.1.7.

    In our application, I used the same code as in the example (http://www.oracle.com/technetwork/testcontent/27-long-running-queries-169166.pdf) adf code corner next.

    I used this code to my command button on my page.

    The problem is, when you run the application in the browser Chrome, clicking this command button displays a warning for javascript popup (Please find below printscreen).js_error_popup.png

    The application is not break and continues to work even if this popup comes.

    I tried with other browsers, it is works well and do not show this javascript error.

    You can all help to suggest? Is there something wrong with the javascript code? Thank you.

    Best regards

    cmoster

    Hi Timo,

    The problem is now resolved.

    We have corrected by adding these params of context in the web.xml file to work around the problem.

        org.apache.myfaces.trinidad.DEBUG_JAVASCRIPT

        fake

     

     

        oracle.adf.view.rich.profiler.ENABLED

        fake

     

     

        oracle.adf.view.rich.LOGGER_LEVEL

        OFF

     

     

        oracle.adfinternal.view.faces.DISABLE_CONTENT_COMPRESSION

        fake

     

    Best regards

    cmoster

  • I have hope, I'm, in, the, right spot., boredom, allowing, my, Adobe Digital Editions, he, ke eps, saying, ' Activation, server, error code:, E_AUTHOR_NOT_READY.»

    Why can't I authorize my Adobe Digital Editions software?  It keeps saying error activation server, is not ready.

    Macintosh:

    1. exit the Adobe Digital Editions software.
    2. Navigate to / Users / / Library/Application Support/Adobe/Digital Editions and drag the activation.dat file to the trash.
      If you use 10.7, see library access hidden files. Mac OS 10.7 and later.
    3. Open Adobe Digital Editions and reauthorize.

    Windows:

    1. Close all applications.
    2. Click Start > run.
    3. Open, type regedit in the text box and press ENTER. The Registry Editor opens.
    4. In the left pane of the registry editor, locate the following registry key: HKEY_CURRENT_USER\Software\Adobe\Adept
    5. Select the key of the follower.
    6. Choose file > export.
    7. In the export registry file dialog box, select the branch selected under export range. Enter a name and location for the backup registry key, and then click Save.
    8. Right click on the key to the follower, and then choose Remove.
    9. In the dialog box confirm the key deletion, click OK.
    10. Close the registry editor.
    11. Open Adobe Digital Editions and reauthorize.
  • How to change and reload the JavaScript code without restart Acrobat?

    As a programmer, I wonder if there is a better way to do things that I don't yet understand.

    At the moment I write code in Notepad ++, save it in the folder of Acrobat Javascripts, open Acrobat, test the code and find it does not work (no surprise ).

    I then have to close Acrobat, change the code in Notepad ++, save, open Acrobat and still know that this does not work.

    Rinse and repeat for a lot of time, especially at the beginning of a new 'script project.

    The JavaScript debugger is great, but unless there is something I don't know, won't let me edit the code directly in its window.

    As you worked on already I am referring to the folder level scripts, so the JavaScripts 'Document', "The value of the Document Actions" and perhaps even the buttons "Edit all JavaScripts" are in fact unnecessary.

    Adobe Acrobat and Adobe Reader... is step by step Visual Studio and I don't want them, but please tell me there is a way to write a little more on-the-fly code

    Thank you!
    Roberto

    As a plugin developer I'm very used to this, there no way to make Acrobat plug-ins to recharge. I doubt there is a way to make Acrobat reset JavaScript either.

  • The JavaScript Code to print multiple Page ranges in Acrobat

    Hi all

    I am very new to Javascript (used for the first time this morning) and was looking for help.

    I built a pdf file in Acrobat that I need to print on a very regular basis.

    However, when I print, there are only some of the pages I need to print as opposed to the entire document.

    I put in a print button that executes code when you press on below:

    This.Print (true, 1, 25);

    This.Print (true, 27, 28);

    This allows me to print two different page ranges, but it separates into two different print jobs.

    Y at - it a code that will allow me to put them in the same print job, so that it selects the pages 1-25, 27 and 28, rather than have them separately?

    I am currently using Adobe Acrobat X Standard.

    Any input would be much appreciated.

    Thank you!

    Acrobat/Reader 11 allows you to use the printRange property of PrintParams object that is used with the print statement: http://livedocs.adobe.com/acrobat_sdk/11/Acrobat11_HTMLHelp/JS_API_AcroJS.89.1013.html

    See the sample code included in the link above.

  • Enter the JavaScript Code in JavaScript Action of link Annotation dictionary

    Hello

    It is for the plugin Dev with Acrobat SDK (XI) in C++

    having problem to get Javascript code into my cosdict of javascript action.

    (If you're wondering, yes I read the reference PDF and Acrobat SDK - livedocs, samples, and QAnywhere ^^ but I am new to Acrobat Dev and C++)

    I can't understand how to correctly create the dictionaries of the action (it was necessary for the subtypes "JavaScript" and "GoToE")

    and then re-branded to existing annotations (subtype 'link', old action is "URI").

    PDF reference, I would say I need to "S" and "JavaScript" key in my CosDict.

    If I just wrote: (myPDDoc is my open PDF Document)

    NewAction PDAction is PDActionNew (myPDDoc, ASAtomFromString ("JavaScript"));.

    PDLinkAnnotSetAction (annot, newAction);

    in Acrobat, can I get a link-JavaScript Annotation - but no code (this is why it is not included).

    If I try to build the dictionary I get a broken action or the same result without javascript code.

    NewAction PDAction is PDActionNew (myPDDoc, ASAtomFromString ("JavaScript"));.

    CosDoc myCosDoc = (myPDDoc) PDDocGetCosDoc;

    CosObj cosAction = CosNewDict (myCosDoc, false, 3);

    cosAction = PDActionGetCosObj (newAction);

    String jsText = "here comes my javascript code.   It comes to std::string

    CosDictPut (cosAction, ASAtomFromString ("S"), CosNewName (PDDocGetCosDoc (myPDDoc), false, ASAtomFromString ("JavaScript")));

    CosDictPut (cosAction, ASAtomFromString ("JS"), CosNewString (PDDocGetCosDoc (myPDDoc), false, jsText.c_str (), 0));

    newAction = PDActionFromCosObj (cosAction);

    PDLinkAnnotSetAction (annot, newAction);

    What is the correct way for the construction of the cosDicts action?

    Are there examples for these dicts. or linkAnnotations generally?

    Because the livedocs for textAnnotation example but not enough to linkAnnotation.

    OK Please forgive me, got the answer myself.

    CosDictPut (cosAction, ASAtomFromString ("JS"), CosNewString (PDDocGetCosDoc (myPDDoc), false, jsText.c_str (), 0));

    must be

    CosDictPut (cosAction, ASAtomFromString ("JS"), CosNewString (myCosDoc, false, jsText.c_str (), jsText.length ()));

    Feel a little stupid, had in mind that this number is optional and can be 0.

  • The JavaScript code does not work

    Thank you for this beautiful prduct comfortable, but when I try it in any site uses javascript code does not work.

    Open this link: http://view.jquerymobile.com/1.3.1/demos/widgets/panels/ and try clicking the buttons (nothing will happen).

    Yes. To be clear, you must click on the device to see work.

  • Opening an external file containing the javascript code

    I am trying to develop a PDF document in both languages. When you press a button, all the questions and possible answers list-of-values should be translated.

    I created and initialized variables with both sentences with javascript. Everything is inside my code.

    Is there anyway that when you press a button on an external file is read, which brings this code javascript questions and list-of-values? My concern is that, currently, I have a duplicated code, but if I want to set up three, four languages, it will grow without control.

    It is an example I wrote in my code:

    var TxtAuxL1ESP = new Array();

    var TxtAuxL1ING = new Array();

    «TxtAuxL1ESP [0] = ', como «;»

    "TxtAuxL1ING [0] = ', such as ';

    «TxtAuxL1ESP [1] = ': el ultimo ano ha obtained «;»

    "TxtAuxL1ING [1] =": last year he got ';

    TxtAuxL1ESP [2] = 'percent, in last years very;

    TxtAuxL1ING [2] = "%, over the past three years;

    TxtAuxL1ESP [3] = "% y in last five years;

    TxtAuxL1ING [3] = "% and in the last five years"; "

    //...

    If (P1. BtnIdioma.border.edge.stroke == 'high') {}

    var TxtAuxL1 = TxtAuxL1ESP;

    var TxtAuxL2 = TxtAuxL2ESP;

    var TxtAuxL3 = TxtAuxL3ESP;

    }

    else {}

    var TxtAuxL1 = TxtAuxL1ING;

    var TxtAuxL2 = TxtAuxL2ING;

    var TxtAuxL3 = TxtAuxL3ING;

    }

    I thought it is to store TxtAuxL1ING in a single file, TxtAuxL1ESP into another file and read them my javascript in the PDF code. Is this possible?

    Concerning

    JC

    Hello

    Maybe this solution is interesting for you.

    It populates the form fields with the data that is read from an XML file.

    http://thelivecycle.blogspot.de/2011/01/populate-data-from-attachment.html

  • The Cloud system will allow me to open, edit and print more old, very old, Adobe Illustrator, Photoshop files?

    It was not obvious to me FAQ

    If you start the https://forums.adobe.com/welcome Forums Index

    You will be able to select a forum for the specific Adobe products you use

    Click on the symbol "arrow down" on the right (where it says all communities) to open the drop-down list and scroll

    Once in a forum program, provide the DETAILS of what you mean by 'very old', and someone may be able to help

  • Calculations of edition and checkbox help (JavaScript novice needs help)

    Hey everyone, so I'm having a few problems with the implementation of my adobe calculation using the fields. I don't know a lot about the use of JavaScript so that any help would be appreciated.

    1. This is my first problem in simplest form:
      • I have a field (F1) and a field that uses F1 to calculate a result (F2).

    F1 = 18

    F2 = ((F1-10)/2) (which in this case, the answer is 4)

    Now where I will have questions, it's that I need a symbol of the addition to appear before the "F2" (the result here would be + 4)

    I took a picture of how I did it in Java where it would be useful to answer the question:

    t1.png

    2.

    My second problem is that I want a checkbox to change the values if it is pressed. I'm still lost on this part, but all this I want to do is the following:

    • If the checkbox is unchecked nothing happens. If the box IS checked, then I would add 2 to another field. If the box IS checked that the + 4 would become a + 6, so using the above problem.

    Now since this is my first time editing an adobe form and using the fields for calculations I'm quite lost on the boxes and what script would go inside my custom fields properties calculation script. I don't know much outside of what I learned today about JavaScript so that any help would be greatly appreciated.

    I thank in advance anyone who responds.

    The custom for the field F2 calculation script could be something like:

    (function () {}

    Get field values

    var v1 = getField("F1").value;

    var v2 = getField("CB1").value;  Check box value. "Off" otherwise we'll pick

    Add 0 or 2 depending on the value of the checkbox

    var v3 = v2 = "Off"? 0: 2;

    Perform the calculation

    var result = (v1 - 10) / 2 + v3;

    Add a '+' if positive

    If (result > = 0) {}

    result = '+' + result;

    }

    Set the value of this field

    Event.Value = result;

    })();

    This could be simplified, but it should help you get started. Replace "F1" and "CB1" with the actual names of the fields.

  • How to change the Javascript code to make an exception for a single read command?

    Hello


    I posted a question earlier in another sub-forum and found this script that makes the form read-only fields. Now, I have a particular coding question.


    First of all, here's the code:

    var r = app.alert("Are you ready to lock this document?",2,2);
    if (r == 4) { // 4 is Yes, 3 is No
      
    for (var i = 0; i < this.numFields; i++) {
      
    var fname = this.getNthFieldName(i);
      
    this.getField(fname).readonly = true; // makes all fields readonly
      
    }
    }

    On the bottom of my form, I have a button that allows you to set the read-only form, but I also have other keys such as "print". How do I change the code above to make an exception for the command of read-only for my buttons so that they are still functional at the bottom of my form? I don't know anything about Javascript then this is a foreign language for me.

    Any help is appreciated!

    If (f.name == "FieldNameToExclude") continue;

  • Need help to modify the Javascript code...

    Hello world

    We have the batch script to create InDesignCS2 PS files. We got this script from adobe only forums. And his works fine. Now, I am creating the batch script to create PDF files. Almost, I modified the script, but in the step-exporter script shows an error inside. I tried but unable to solve the problem. I have attached the cliché and find the script below.

    //--------------------------------
    #target indesign4-0
    var myFolder = Folder.selectDialog ("Please select the data in the entry InDesign files");
    var myFileIn = File (myFolder) .getFiles ("*.indd");
    var myFileOut = Folder.selectDialog ("Please select the Out put PDF file");
    var params = new Array();
    params = getData (myFolder, myFileIn);
    app.dialogs.everyItem () .destroy ();
    Opens();

    function getData (PDF)
    {
    var pdfPresets = app.pdfExportPresets.everyItem () .name;
    Dlg var = app.dialogs.add ({name: 'Choose the Style'});
    with (DLG)
    {
    with (dialogColumns.add ())
    {
    with (borderPanels.add ())
    {
    staticTexts.add ({staticLabel: "PDF presets:', minWidth: 93});
    dropDown = dropdowns.add ({stringList: pdfPresets, selectedIndex: 0});
    }
    }
    }
    If (dlg.show () == false) {}
    DLG. Destroy();
    Exit (0);
    }
    Return dropDown.selectedIndex;
    }

    function Opens()
    {
    for (var i = 0; i < myFileIn.length; i ++) {}
    var myDoc = app.open (myFileIn [i], true);
    var end = new Array();
    var myFileInPath = myDoc.filePath;
    var PDFs = new Folder (myFileOut);
    pdfUsing (params, PDFs, ".pdf");
    myDoc.close (SaveOptions.NO);
    }
    }

    function pdfUsing (presetName, folderPath, fileExt)
    {
    var targFolder = new Folder (folderPath);
    try {}
    .pdfExportFile app.pdfExportPresets.item (presetName) = new file (targFolder.fsName + "/" + app.activeDocument.name.split (".indd") [0] + fileExt);
    app.activeDocument.pdfExport (ExportFormat.pdfType, false, app.pdfExportPresets.item (presetName));
    } catch (e) {}
    Alert (' error in pdfUsing: "+ e)
    }
    }

    Alert ("completed");

    //--------------------------------

    Please see this and help for me. Thanks in advance

    Indana

    Hi John,.

    You want to use the method "exportFile", not "export" (that's a word reserved in JavaScript), and not "exportPDF" (which does not appear as a method of the document object - that you will notice if you look at the document object in the ExtendScript Toolkit object model viewer).

    Thank you

    OLE

Maybe you are looking for