show or hide the watermarks in the doucument pdf

Hi all

How to show or hide the watermark of the digitally signed pdf document using java script.

Use something like this:

function toggleWM (vis) {}

o = this.getOCGs ();

for (var i = 0; i)

}

Then, you can call toggleWM (true); etc. According to the needs.

Tags: Acrobat

Similar Questions

  • How to show or hide the region of the shuttle during the click on the radio buttons?

    Hello

    I'm new to JDeveloper. Here is my requirement.

    1. create 2 radio buttons: Yes and no and default displays "" selected radio button.

    2. create a region of shuttle with select query in VO.

    Query is:

    Select 'No group' for_user, for_pkg double null

    Union

    Select "Company" for_user, for_pkg "SEGMENT1" double

    Union

    Select 'Rental' for_user, for_pkg 'SEGMENT2"double

    Union

    Select 'Cost center' for_user, 'SEGMENT4' double for_pkg

    Union

    Select 'Project' for_user, 'SEGMENT5' double for_pkg

    Union

    Select "Intercompany" for_user, "SEGMENT8" for_pkg of the double

    order by nulls first for_pkg

    3. initially hide the region of the shuttle during the loading of the page.

    4. click on the radio button 'yes', display area of the shuttle with values at the head of list of query VO and empty list leak.

    5. new click on the 'no' radio button, he must hide region and so screen shuttle shuttle dynamically according to the selected option button.

    But my problem is I am able to hide area shuttle when the page loads at the beginning and after that, when I'm clicking 'Yes' radio button, is just to display area shuttle empty without value in the main list and once when I'm clicking 'No' radio button, it should hide area shuttle but he's not hiding. I used the RPP to show or hide the area Shuttle under certain conditions. I use JDev 10.1.3.3.0 version as we Oracle EBS version 12.1.2 in our society.

    Please find the attached draft and suggest me proper with examples of sample approach.

    Monika,

    I tried to get this working in the lower version of Jdeveloper and looks like it works.

    Can you make the change below and see what happens.

    1. modify your query to VO as below: (I replaced null with SEGMENT0)

    select 'No Grouping' for_user, 'SEGMENT0' for_pkg from dual
    union
    select 'Company' for_user, 'SEGMENT1' for_pkg from dual
    union
    select 'Location' for_user, 'SEGMENT2' for_pkg from dual
    union
    select 'Cost Center' for_user, 'SEGMENT4' for_pkg from dual
    union
    select 'Project' for_user, 'SEGMENT5' for_pkg from dual
    union
    select 'Intercompany' for_user,'SEGMENT8' for_pkg from dual
    order by for_pkg
    

    2. place VO execution to the processFormRequest:

        public void processFormRequest(OAPageContext pageContext,
                                       OAWebBean webBean) {
            System.out.println("In process Form Request");
            super.processFormRequest(pageContext, webBean);
            OAApplicationModuleImpl appModule =
                (OAApplicationModuleImpl)pageContext.getApplicationModule(webBean);
            String eventParam = pageContext.getParameter(EVENT_PARAM);
            System.out.println("eventParam: " + eventParam);
            if ("showHideShuttle".equals(eventParam)) {
                //  appModule.invokeMethod("deletetrailing");
                System.out.println("Inside If");
                OAMessageCheckBoxBean messageCheckBoxBean = (OAMessageCheckBoxBean)webBean.findChildRecursive("checkBoxBean");
                System.out.println("messageCheckBoxBean : " + messageCheckBoxBean);
                String messageCheckBoxBeanVal = (String)messageCheckBoxBean.getValue(pageContext);
                System.out.println("messageCheckBoxBeanVal: " + messageCheckBoxBeanVal);
    
                if ("Y".equals(messageCheckBoxBeanVal)) {
                    OAViewObjectImpl shuttleVO1 =
                        (OAViewObjectImpl)appModule.findViewObject("ShuttleVO1");
                    if (shuttleVO1 != null) {
                        shuttleVO1.setWhereClause(null);
                        shuttleVO1.setWhereClauseParams(null);
                        shuttleVO1.executeQuery();
                        System.out.println("Executed Query : " + shuttleVO1.getQuery());
                    }
                    OAViewObjectImpl shuttleVO2 =
                        (OAViewObjectImpl)appModule.findViewObject("ShuttleVO2");
                    if (shuttleVO2 != null) {
                        shuttleVO2.setWhereClause("1=2");
                        shuttleVO2.setWhereClauseParams(null);
                        shuttleVO2.executeQuery();
                        System.out.println("Executed Query1 : " + shuttleVO2.getQuery());
                    }
                }
                String[] name = { "RenderAttr1" };
                String[] val = { messageCheckBoxBeanVal };
    
                Serializable[] params = { name, val };
                Class[] paramTypes = { String[].class, String[].class };
                appModule.invokeMethod("setXXCustomPVOValues", params, paramTypes);
    
            }
    
        }
    

    3. move Spel link shuttle Bean for the region of header above.

    Some useful links for the shuttle Bean:

    Technology blog based in Java of Sushant: 13. Area of application OFA shuttle

    Framework OA Blog: control of the shuttle as part of OSTEOARTHRITIS

    See you soon

    AJ

  • Show and hide the scroll bar

    Hello!

    How could I show and hide the scroll bar attached to a dynamic text field depending on the size of the text?
    I tried different solutions based on bottomScroll and maxcroll, but nothing works...

    Thank you very much in advance for your help.

    Best regards
    Gerry

    If you use a text field, you can do a simple test:

    If (textInstance.textHeight > textInstance._height) {}
    show the ScrollBar
    }

    --
    Dave-
    Developer leader
    http://www.blurredistinction.com
    Adobe Community Expert
    http://www.Adobe.com/communities/experts/

  • Show or hide the buttons of the model using JavaScript

    Can someone tell me to know to disable, show and hide the buttons of the model using JavaScript? In my case, I use AJAX for validation and the validation failed, I want to deprive the person's ability to submit the form. I did successfully using the HTML buttons but they seem ugly and do not correspond to the theme of the application. I really want to do using the model based buttons. Anyone know the answer to that?

    You can find that here:

    http://Apex.Oracle.com/pls/OTN/f?p=31517:143

    The only problem you have to solve is to assign an id to each template button. Rather than use an id string coded hard = "buttonHide1" as in my example, you could use id = "" #LABEL # "If there are a lot of different buttons you need to display / hide on a single page." However, at the same time make sure that the processes are also conditional and follow the logic. To hide a button, this isn't a guarantee that a process can not be executed.

    Denes Kubicek
    -------------------------------------------------------------------
    http://deneskubicek.blogspot.com/
    http://www.Opal-consulting.de/training
    http://Apex.Oracle.com/pls/OTN/f?p=31517:1
    -------------------------------------------------------------------

  • Show or hide the rows of the datagrid

    Gidday

    I have color of the lines of code in a DataGrid as a status property in the dataprovider for each line.

    I would also like to have the option to tick a checkbox to show or hide State 3 lines.

    This would be possible with a dataprovider, or I have to keep two dataproviders - the one with the 3 State and the other without the swap the dataproviders depending on the State of the checkbox?

    Thank you guys

    It is possible, but you would probably have a custom cellrenderer class.

    It would be easier to use dataproviders filtered to show/hide some rows.

  • Show and hide the text in a page of questions / answers

    I need to create a FAQ page in Flex3. The page initially lists all questions with a "Show" button after each question.

    A click of a button 'Show', the answer to this specific question is inserted and displayed below

    the question and the button becomes "hide the answer.

    A click on the button "Hide the answer," despairs the answer to this question, the questions (and answers if there is)

    below moves upward to support the space and the button becomes «See the answer»

    Suggestions or examples? DataGrid with masking of rows? Directly using state transitions?

    I would use visible and includeInLayout properties

    Alex Harui

    Flex SDK Developer

    Adobe Systems Inc..

    Blog: http://blogs.adobe.com/aharui

  • One button - show and hide the function

    Hi I want to use it to be able to click the button once to show a subfield and click again to hide

    I hide the code to the click event and click to show works of stage, but the second click does nothing

    my code is:

    If (help1vidlist.presence = "hidden") {}

    help1vidlist. Presence = "visible";

    } else if (help1vidlist.presence = 'visible') {}

    help1vidlist. Presence = "hidden";

    }

    any ideas?

    Thank you

    I think that you should use the operator 'is' under the conditions, it is;

    If (help1vidlist.presence == 'hidden') {}

    help1vidlist. Presence = "visible";

    } Else if (help1vidlist.presence == 'visible') {}

    help1vidlist. Presence = "hidden";

    }

    Concerning

    Bruce

  • Responsive Design - Show and hide the div tags

    Hello

    I am building a website using sensitive design. I want a certain div tag to be read on a desktop and a tablet but then to disappear and a different div be made visible on the mobile device.

    I realized the above with the code below, but I found a problem. The problem I found is that the div is hidden here still an empty space remains there then it creates a large empty space. Anyway is to hide this great space?

    (mobile)

    {#tab-container}

    display: none;

    visibility: hidden;

    Clear: both;

    float: none;

    left margin: 0;

    Width: 96%;

    display: block;

    margin-right: auto;

    left margin: auto;

    padding-top: 10px;

    padding-bottom: 10px;

    text-align: center;

    border-top-width: 1px;

    border-bottom-width: 1px;

    border-top-style: solid;

    border-bottom-style: solid;

    border-bottom-color: #000;

    border-bottom-color: #000;

    }

    {#phone-tabs}

    display: block;

    visibility: visible;

    Clear: both;

    float: none;

    left margin: 0;

    Width: 96%;

    display: block;

    margin-right: auto;

    left margin: auto;

    padding-top: 10px;

    padding-bottom: 10px;

    text-align: center;

    border-top-width: 1px;

    border-bottom-width: 1px;

    border-top-style: solid;

    border-bottom-style: solid;

    border-bottom-color: #000;

    border-bottom-color: #000;

    line-height: 30px;

    }

    (Tablet)

    {#tab-container}

    display: block;

    visibility: visible;

    Clear: both;

    float: none;

    left margin: 0;

    Width: 96%;

    display: block;

    margin-right: auto;

    left margin: auto;

    padding-top: 10px;

    padding-bottom: 10px;

    text-align: center;

    border-top-width: 1px;

    border-bottom-width: 1px;

    border-top-style: solid;

    border-bottom-style: solid;

    border-bottom-color: #000;

    border-bottom-color: #000;

    }

    {#phone-tabs}

    display: none;

    visibility: hidden;

    Clear: both;

    float: none;

    left margin: 0;

    Width: 96%;

    display: block;

    margin-right: auto;

    left margin: auto;

    padding-top: 10px;

    padding-bottom: 10px;

    text-align: center;

    border-top-width: 1px;

    border-bottom-width: 1px;

    border-top-style: solid;

    border-bottom-style: solid;

    border-bottom-color: #000;

    border-bottom-color: #000;

    }

    (office)

    {#tab-container}

    display: block;

    visibility: visible;

    Clear: both;

    float: none;

    left margin: 0;

    Width: 70%;

    display: block;

    margin-right: auto;

    left margin: auto;

    padding-top: 10px;

    padding-bottom: 10px;

    text-align: center;

    border-top-width: 1px;

    border-bottom-width: 1px;

    border-top-style: solid;

    border-bottom-style: solid;

    border-bottom-color: #000;

    border-bottom-color: #000;

    }

    {#phone-tabs}

    display: none;

    visibility: hidden;

    Clear: both;

    float: none;

    left margin: 0;

    Width: 70%;

    display: block;

    margin-right: auto;

    left margin: auto;

    padding-top: 0px;

    padding-bottom: 0px;

    text-align: center;

    border-top-width: 0px;

    border-bottom-width: 0px;

    border-top-style: solid;

    border-bottom-style: solid;

    border-bottom-color: #000;

    border-bottom-color: #000;

    }

    Thanks for your help!

    Alex

    Try to delete the two lines, as shown below.

    Display: block overrides display: no because it is further down in the code.

    For this reason, visibility: hidden comes into play. This statement is exactly intended to hide the contents, while leaving the blank space.

    Edit: I think that really is all you need:

    {#tab-container}

    display: none;

    }

    (mobile)

    {#tab-container}

    display: none;

    visibility: hidden;

    Clear: both;

    float: none;

    left margin: 0;

    Width: 96%;

    display: block;

    margin-right: auto;

    left margin: auto;

    padding-top: 10px;

    padding-bottom: 10px;

    text-align: center;

    border-top-width: 1px;

    border-bottom-width: 1px;

    border-top-style: solid;

    border-bottom-style: solid;

    border-bottom-color: #000;

    border-bottom-color: #000;

  • fields to show or hide the function of radio button

    Hi, in my form there are two radio buttons available. one is for 'Yes' and other is for the 'no '. There is also another 6 available and that all fields 6 fields are hidden by default.  If I click on 'Yes' below 3 fields should visible.

    text-1

    text-2

    text-3

    If I click on "no" above 3 fields must hide & 3 fields should visible below.

    text-4

    text-5

    text-6

    then u can pls give me JavaScript to manage my requirement. Thanks in advance.

    Hiding and showing form fields by Thom Parker

    Disabling (graying-out) form fields by Thom Parker

  • Show and hide the symbols on the click event

    Hello

    I have 4 text overlays. Each of them can be clicked and opened individually. Any combination of them could be opened at any time. It can also be closed individually buttons within the same window.

    In the assets Panel, I have a set of buttons that sit on the text overlays. What I want to do is to start with the visible buttons. Once all 4 text overlays is open the buttons are hidden. Once all 4 text collections are closed the buttons must be visible again.

    I would be grateful for anyone's help.

    You can set your buttons to display off the coast in the interface user, then show(); in your case.

    Example:

    SYM.$('elementName'). Show();

    You can use an indicator of close all when the flag is true:

    Insert a variable in each symbol example

    A = 1;

    B = 1;

    C = 1;

    D = 1;

    then have a conditional in each event which will check the variable

    If (A == 1 & B == 1 & C == 1 & D == 1) {}

    code to display your buttons

    } else {}

    code to hide your buttons

    }

  • Show and hide the problem of groups (topics) of Param

    My plugin brought fairly complex has quite a few settings, I've grouped using topics to keep things neat. The user can choose which limits to start or stop using a checkbox for each. Turn on a checkbox displays the settings group; turn off, cover the group settings. I use the following code in a function called from PF_Cmd_USER_CHANGED_PARAM and PF_Cmd_UPDATE_PARAMS_UI:

    AEGP_StreamRefH wfm_streamH = NULL;

    A_Boolean hide_wfmB =! params [QPGA_SCOPE_OPTION_WFM]->u. bd. value ;     The value hide_wfmB to the inverse of the value of the checkbox

    AEGP_EffectRefH                    meH                                                  = NULL;

    AEGP_SuiteHandler suites (in_data->pica_basicP);

    ERR (suites. PFInterfaceSuite1 ()->AEGP_GetNewEffectForEffect(NULL, ->effect_ref, & meH in_data));

    Example - waveform monitor only, but in the code for real there is one of these for each of the groups of five range

    ERR (suites. StreamSuite2 ()->AEGP_GetNewEffectStreamByIndex(NULL, meH, QPGA_WFM_TOPIC_START, & wfm_streamH));

    etc...

    Visibility Toggle of the parameters

    ERR (suites. DynamicStreamSuite2 ()->AEGP_SetDynamicStreamFlag(wfm_streamH, AEGP_DynStreamFlag_HIDDEN, FALSE, hide_wfmB));

    etc...

    if (meH) {

    Err2 (suites. EffectSuite2 ()->AEGP_DisposeEffect(meH));

    }

    if (wfm_streamH) {

    Err2 (suites. StreamSuite2 ()->AEGP_DisposeStream(wfm_streamH));

    }

    etc...

    It works fine when the check box is selected, but the problem is if I save my instance effect as a preset of effects. When I apply the preset to a new layer, I get for example, all parameters in the hidden groups appear less their group themes, when they should be hidden. These two images show what controls should look like, and what they look like:

    Expected result:

    qpga_params_correct.jpg

    Actual result if the application via an effect preset:

    qpga_params_incorrect.jpg

    Settings between the red lines are those of the four other groups that should not be displayed.

    I hope this makes sense. My hunch is that I have to disable sur-ou * every * parameter within a group. This will require a lot of flow Ref handles well and seems a little inelegant/inefficient!

    One thing I do not use sequence data - I tried this because he was part of the sample project (master of work, I think), but it did not affect the result. I thought that the sequences were a red herring here anyway.

    Thanks in advance!

    Christian

    Unfortunately, you can't hide/show each param within a group, or such bugs happen. (for example, which appears in the timeline panel is touch-ups)

    However, as the coding of the problems come, is not a problem. only a nuisance.

    (and you're right, the sequences have nothing to do with this problem)

  • Show and hide the drop-down menus on the page of the product, based on selected values

    Hello.

    I wish that my product page to view different drop-down lists following, based on the values of individual drop-down list.


    I managed to achieve this through JavaScript, but I don't like how it works.

    As far as I know, there is no identifier for each individual drop-down list to determine who it is, so I can't for the moment is to rely on their order in the DOM, which is bad and it is difficult for me to create a solution that might work for all products.

    For example, if the following is a single attribute:

    < div class = "catProductAttributeGroup" style = "" display: none; "> < div class ="catProdAttributeTitle"> metal Foiling < / div > < div class ="catProdAttributeItem"> < select > < option value =" ">--please select--< / option > < option value ="6051720"> not necessary < / option > < option value ="6051721"> sheet ONE side + £45 < / option > < option value ="6051722"> Foiling BOTH sides + £75 < / option > < / select > < / div > < / div >"

    I would like to than the div outermost having some sort of html attribute that contains the product id attribute. Something like: data-attribute id = "XXXXXXX". Is this possible?

    Here's what I have so far:

    I use {tag_attributes_json}, {tag_product_json} and {tag_currency} to get these values in javascript on the page loading, so I can use them later.


    Then, I hang on to change the events of the drodpowns I have and then toggle their visibility based on those who are selected. I rely on the jequery ': eq (n)' selector to achieve, I don't like. Is there an option with {tag_attributes} which to add additional information (such as the ID attribute on the menu drop-down) on the generated HTML code?

    All works in the beginning, but if I can 'Add to Cart', the product element get ajax-reloaded and events are suddenly off the hook, so it no longer works. For this one, there are two options:

    1. I could hang on to an event that triggers once the product added to the shopping cart and the page is ready. Is there such an event?

    2. I could set up my own add to cart using bcInternals.shop.addToCart. I tried to do this, but I have two problems with it.

    a. addToCart seems add my selection twice, for some reason any. Any ideas what I could do wrong?

    b. the news of cart in the upper right corner don't refresh. Apparently, he's trying to refresh, but there is a kind of access error in the script. This part is not yet fully added to the page, but there is a function which would add it to the basket at the bottom of the largest block of script. Am I using the function addToCart incorrectly?

    It's the page, sure I have the feature added partial implementation:

    Matt Laminated business cards

    The scripts are currently embedded in the HTML code. Once I put it in place correctly, I would like to extract in a separate file. Search for "'$productAttributesElement ' to find the block with the features and for 'productInfo' to find the part where I store the product with tags. _json data "

    Hello

    No worries, na not know if you have solved or that the answer was not helpful

    You need trigger the script you in the presentation of product details model, or you can add a listener for the container of the product and to trigger the script if changes are detected.

    Concerning

  • How to hide the information PDF/A sign and display the signature information panel? (plugin)

    Hello

    When you open a PDF/A compliant document and also has a signature digital then PDF/a information panel is always displayed with the text:

    You have opened the file conforms to the PDF/A standard and was opened in read-only to prevent the change.

    Instead, I would like that my plugin to display the Panel of usual signature information:

    Signed and all signatures are valid.

    It is possible to get this behavior by setting preferences-> Documents-> PDF/A-> Mode of display/a 'never '.

    What I would do is to programmatically set the information bar to display the status of the signature (for documents that are checked by my plugin, probably inside the dsGetValidState). For all other documents open it in PDF/A, by default, that's fine.

    No idea how to do the plugin with the SDK from the inside?

    There is no control over the 'Message of Document bar' from a plugin.

    Mode display PDF/A disable is a REALLY BAD IDEA!

  • Script to show/hide the menu bar in the preferences

    Hi all

    First of all, my knowledge of script is fairly limited, so bear with me, okay?

    So, I was wondering if you could write a script that activates / deactivates the system preferences to show or hide the menu bar? I found this article http://goo.gl/Q8udo , but like I said, I have very limited knowledge about scripts, hilarious is actually what I want is beyond what I can do.

    Anyone with the knowledge and patience to share the line of code necessary to do this?

    Thank you very much!

    Rui

    Why would you not just select the system of general preferences setting to automatically hide and show the menu bar? Move the pointer of your mouse at the top of the screen and the menu bar appears until the mouse retired. Application launch does not cause the bar menu to reappear and once revealed, shows the elements of the application menu. OS X 10.11.3.

  • Show/hide the paging previous or next link from the remaining pages

    Please, I have a list of webapp. I want to show or hide the previous and next pagination url based on the number of pages on the left and click on the url of paging:

    Please, this is my code:

    < div class = "paging" >

    < div class = "paginationtextblock" > < a href = "{{testimonialWinners.pagination.previousPageUrl}}" > back < /a > < / div >

    < div class = "paginationtextblock" > Page {{testimonialWinners.pagination.currentPage}} < / div >

    < div class = "paginationtextblock" style = "hidden" > < a href = "{{testimonialWinners.pagination.nextPageUrl}}" > Next < /a > < / div >

    < / div >

    < / div >

    Thank you in anticipation

    Hello Stephen, thanks again for the contribution. But after watching your implementation code and what is returned through json. I have cut my own solution, I've found directly found and requires so much affect. See below:

    See it in action here: support in schools Astymin schools program

    I think that the latest update of BC present further options for pagination, which allows us to make more based on the available json tags. Thank you once again for inspiration.

Maybe you are looking for

  • Is it possible to hotkey / F key password?

    I'm on a few forums car, due to a breach of the security of the owner forums (totally independent security password, it turns!) the forums now require a password to 10 characters (at least 1 uppercase, 1 lowercase, 1 digital and 1 special character).

  • Toshiba virtual Store account Reset - 33653

    Please reset account 33653.Thanx.Robert

  • How to disable the product on computer crashed

    My Photoshop recently lost computer crash. Try to reinstall on another computer with the CD, product code and serial number does not work.I tried to contact Adobe to see if they can disable the software that was installed on the computer has crashed

  • How to create the book of the child at the time of the creation of master file.

    HelloI have MasterVO and ChildVO. And the association between the two are 1 to *. I have a requirement like, I need to create the line in ChildVO at the time of the creation of line MasterVO.I used the association based on the entities to create the

  • Failed task

    Hi friends, One of my DAC_TASK_GROUP_Load_PositionDimension_BIAPPS_BIAPPS a failed job translates the error in the log at the following location as below D:\orahome\10gR3_1\bifoundation\dac\log All Task Batches      Group Pause Batch           ------