CS3/CS4 - painting of page element inside another view

Hello

I want to display the images in a document in a tree. Guess I have in the tree node can I I replace the function of the draw in the CControlView and paint the picture here. However, I would like to paint the picture exactly as it is rendered on the document so that, for example, cropping is taken into account, with the exception that is must be put on the scale to adapt to the tree view.

Is this possible?

Cordially Toke

Hey Toke,

There is an example of the sdk on the snapshots.

Markus

Tags: InDesign

Similar Questions

  • How to retrieve a value of page element in another page?

    Hello

    How to retrieve a value of page element in another page?

    say P55_COURSES_TO_EVALUATE is my name of the page element, and it is a selection list. Based on the value selected in the next page I see the details of the selected value shd and for that I need P55_COURSES_TO_EVALUATE value in the following page. How to do it? When I try to retrieve the values it simply returns nothing.
    Pointers would be really useful.

    Thanks in advance.

    Hello

    Could you please how you try to use it?

    If you set the value to the P55_COURSES_TO_EVALUATE element and submit the page, the value is stored in session state.
    Then you can use this element in any page as

    :P55_COURSES_TO_EVALUATE
    

    You cannot access page value in javascript/jQuery to other pages like

    $v('P55_COURSES_TO_EVALUATE')
    document.getElementbyID('P55_COURSES_TO_EVALUATE')
    $(#P55_COURSES_TO_EVALUATE)
    

    Because the item is not on the other pages. In javascript from other pages, you can use

    var a = '&P55_COURSES_TO_EVALUATE.';
    

    Kind regards
    Jari

  • Trigger the chronology of a symbol by clicking on an element inside another symbol

    I've set up a "button within a symbol. I want this button to trigger the chronology of another symbol (which is also on the stage) I tried this code:

    sym.getComposition () .getStage ().getsymbol("Invent_Anim").play ("begin");  It is an action of 'click '.

    but it does not work.

    Any ideas?

    Ok. I've just updated the file.

    https://www.box.com/s/dcpe4xvdu6h9391gy5yd

  • Deactivating a page element based on the value of another element on the page

    Hello
    I have a page element I want to turn off if the value of another article (drop-down list item) is set to a specific value. I followed the example in the book 'Pro Oracle APEX"(p.320) in this regard. He ordered me to do this in the HTML form element attributes for the element section:
    OnChange = "htmldb_item_change (this); html_DisableOnValue (This, 'Closed', 'P3_PRIORITY', 'P3_ASSIGNED_TO'); »

    It works very well. It disables the element I want to disable. HOWEVER, it does not neutralize the article unless the element with the onchange attribute is changed.

    How can I add features to disable the second element, even if the first element does not change, but contains the value 'Closed' when the user of the first load of the page?

    Thanks for your help and your insight!
    -Reid

    Hello Reid,

    The easiest way would be to (also) a Condition only read the item that you want to disable.

    Greetings,
    Roel

    http://roelhartman.blogspot.com/

  • How to disable a page based on the value of another element on the Page element?

    Hello

    How can I turn a page element using javascript based on the value of another element on the page?

    Eg: P1_TEXT want to be disabled if the value in P1_LCOK = "LOCK".

    How can I do this using javascript. I want this implemt on loading the page.

    Kind regards
    Benz

    Put this function in the page header:

    
    

    and call it in the footer:

    f_disable_item;
    

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

  • CS4: Get all the UIDS of pages containing a page element

    Hello

    How can I get all the UIDS of page, which contains a page with a specified UID element?

    For example: I have two UIDS of pages if a page item is placed on two pages.

    Thank you

    Hans

    Jongware probably confuses the problem with page elements spread master.

    I think you talk page possibly items on several pages in a spread.

    ILayoutUtils::GetOwnerPageUID is a good start.

    If you want more details, browse the pages of your broadcast and match covering them for the bounding box of the element on the page.

    Dirk

  • CS3: Remove the deletion of a page element

    Hello

    Is it possible to remove the deletion of a page element?

    I get the kDeletePageItemBoss in my observer if the user deletes one or more page elements. But I don't know if I can remove the deletion.

    Thank you

    Hans

    Hans,

    One way to do this would be to create a custom implementation of ICommandInterceptor. You can search 'ICommandInterceptor' of this forum and you will encounter an example you could get going in the right direction. Unfortunately, the example is a bit blurred due to the conversion of forum, but it's a start!

    I hope this helps!

    -Jim

  • CS3, CS4 and CS5 Crash when clicking on.

    Hey, can't find anywhere better ask this question.

    2.8gz 4 GB ram imac running intel latest snow leopard.

    have all 3 installed indesign cs3.cs4.c5 tests.

    However as soon as the start screen has authorized, we arrive at the new document window.

    We can choose document settings, then the page is displayed in white as standard.

    then you click ANYWHERE in indesign and Flash freeze and have to force quit.

    all n software drivers are up to date and have erased the prefrences.

    any guy more ideas?

    see you soon

    x

    Well.

    Sometimes it's obvious what's going on, but usually it is not. In this case it isn't. But.

    I guess we can say that he is waiting for the system to grant him a lock to do something, but this isn't all that clear what who or why. Although it seems to be stuck inside the TIN_Disposefont in calls to SING. I don't know anything about TIN, other than a look of 5 seconds on his web page.

    But it seems that the problem has to do with fonts and Japanese who. I think that Peter above suggests that a font may be a problem.

    So, try to remove all of your Japanese fonts. And if that does not do it, try to delete all your rules policies. See if that fixes it. If so, then add their return in half until what refine you the one who kills. Don't forget, it's only log-base 2 number of fonts, so even if you have 1024 fonts on your system, it is only 10 demi-retrecissements.

  • Using JavaScript - hide/show a page element

    Environment:

    APEX 3.1.00.09 on AIX 5.3

    Sample application on apex.oracle.com:

    Workspace: GALWAY
    Username: gwicke
    Password: gwicke

    To see where my questions are:

    1 - Start on page 3
    2. in the Agency drop-down select 'J & B Marketing'
    3. in the contract drop down select the only contract that appears
    4 - Click "modify existing contract.
    5-note the "LY closures" page element has the value 261
    6 - click on the link (really a tab in my theme) at the top labeled 'full cost '.
    7 - the "Justification for estimate" is the page element to be displayed/hidden which is noted below.
    8 - "houses by year" under the column "Year1" is of the order of the day of the user entry page
    9 - the P2_BUILDER_CLOSINGS (261 above value) is the page element that you want to use in the comparison

    I need to do a few things with a potentially hidden page element:

    1 - everytime the page loads, I need to check if the page element (P8_ESTIMATE_JUSTIFICATION) is not null, and if it is indeed not null, make displayed.

    2. when the user enters a value in another element of the page (P8_HOMES_PER_YEAR1), call a function to see if the value is greater than 120% of another element on the page (P2_BUILDER_CLOSINGS) and if yes do this question page (P8_ESTIMATE_JUSTIFICATION).

    I have the function created javascript (showHideEstimateJustification) and in the HTML of the page header. Currently, the function is called with a cheque for onChange on the item page entered by the user as described above (P8_HOMES_PER_YEAR1).

    Questions:

    1. I need to force a SHIPMENT once the user enters the value of P8_HOMES_PER_YEAR1 is available in session state and so the function javascript (other ideas welcome!)

    2. I am currently using the x.style.display = 'inline' versus 'none' to hide and show the page element, where x is derived from var x = document.getElementById (P8_ESTIMATE_JUSTIFICATION) y at - there a better way?


    Any help is greatly appreciated.

    -gary (aka Javascript newbie)

    Hello

    Ok.

    An HTML tag is an object - TABLE, TR, DIV, SPAN, INPUT are all objects. Identify us these objects giving them IDs. An object consists of many different properties. Any time we want information on an object we call javascript by saying it the object, we want to know something and the property we want to know. Thus, if var g you, g.name would be "Gary" and so on.

    No matter when you need information about an object, you can point a variable to it by referencing its ID - var g = document.getElementById("GARY"). var g then lets get all the information I need and, in many cases, update information on the object. var gh = g.style.height var g.value = gValue GOLD and so on.

    Sometimes, however, all you really need is the 'value' of this object, so you can just do - var g = document.getElementById("GARY").value

    So, if you need a bit of information, to set a variable to object.property, but if you need more than one, set the variable to the object itself. Setting the variable to the object is something unique, so is generally faster than the reference to each property using document.getElementById("GARY").value inside and so on - as javascript should start at the top of the document, search for the specific object and then find the property.

    The confusing thing, I think that, coming from a programming, is that each variable is defined using "var" instead of an object type explicit

    OK, back to your page...

    Earlier, we have changed the javascript code to use:

    var closings = &P2_BUILDER_CLOSINGS.;
    

    and Apex would replace & P2_BUILDER_CLOSINGS. with a value, for example, 261, so when the page is rendered, the script actually shows:

    var closings = 261;
    

    Thus, it is digital already. If this part is ok.

    The element "homes" but must be converted to a number by the parseInt() function. The fact that you see "NaN" (which is, as you say, a shortened version of 'Not a number'), means that the value it is to see is not numeric. If the first test would be to add an alert message () to display the value of document.getElementById('P8_HOMES_PER_YEAR1').value. It is likely that non-numeric characters are entered? There may be problems with commas or currency symbols

    Andy

  • How to make transparent cluster keeping only the elements inside the visible cluster?

    Hello

    Can anyone suggest me how to make transparent cluster keeping only the elements inside the cluster visible in the front panel.

    Thanks in advance,

    Vinciane

    As I said, use the space bar for what is paint. This works. Trust me.

    PS You cannot link to pictures stored on your hard drive. We don't see them. You must add them as attachments and then submit the post they get uploaded to the servers of NOR.

  • Result passage of PL/SQL code for the page element

    Hello

    I have created a process in after the header to fill data to the page of the form elements.  The pl/sql code is like bellows.  Then I got the error message:

    ORA-06502: PL/SQL: digital or value error: character number conversion

    My question is that I do not see the difference in format between the page element and block pl/sql variables (e.g. : P31_STUDY_ID vs v_P31_STUDY_ID), they are either numeric or text field (in fact I have hidden field, but don't see conversion back to the digital field solved the problem).  And don't see needs to set the format mask.  Is there another way to detect the column that causes the problem, or if there is a syntax error with my assignment (from the variable element on the page)?  Thank you very much!

    ============================

    Declare

    number of v_P31_STUDY_ID;

    number of v_P31_STUDY_SITE_ID;

    v_P31_STUDY_SITE_NAME VARCHAR2 (255);

    v_P31_STUDY_SITE_NUM varchar2 (10);

    number of v_P31_STUDY_SITE_NAME_NUM_ID;

    number of v_P31_STUDY_SITE_OPEN_STATUS;

    v_p31_comments VARCHAR2 (255);

    Start

    Select

    tbl_study_site.study_id,

    tbl_study_site.study_site_id,

    study_site_name,

    study_site_num,

    STUDY_SITE_NAME_NUM_ID,

    STUDY_SITE_OPEN_STATUS,

    Comments

    in

    v_P31_STUDY_ID,

    v_P31_STUDY_SITE_ID,

    v_P31_STUDY_SITE_NAME,

    v_P31_STUDY_SITE_NUM,

    v_P31_STUDY_SITE_NAME_NUM_ID,

    v_P31_STUDY_SITE_OPEN_STATUS,

    v_p31_comments

    of tbl_study_site, tbl_study_site_attrib

    where tbl_study_site.study_id =: p30_study_name

    and tbl_study_site.study_site_id = tbl_study_site_attrib. STUDY_SITE_ID

    and tbl_study_site_attrib. STUDY_SITE_ATTRIB_ID =: P31_STUDY_SITE_ATTRIB_ID;

    : P31_STUDY_ID: = v_P31_STUDY_ID;

    : P31_STUDY_SITE_ID: = v_P31_STUDY_SITE_ID;

    : P31_STUDY_SITE_NAME: = v_P31_STUDY_SITE_NAME;

    : P31_STUDY_SITE_NUM: = v_P31_STUDY_SITE_NUM;

    : P31_STUDY_SITE_NAME_NUM_ID: = v_P31_STUDY_SITE_NAME_NUM_ID;

    : P31_STUDY_SITE_OPEN_STATUS: = v_P31_STUDY_SITE_OPEN_STATUS;

    : P31_COMMENTS: = v_p31_comments;

    end;

    =============================

    Identify the root cause. He's always on the format of the column, there is an error.  Thanks for your help.

  • Interactive report with display of the icon to set the page element

    Hi all

    I am currently using Apex 4.2.4, I have an interactive report using icons, each icon has a link to another page but a few I want to set a value in a page hidden in the same page element which is then used as a variable for a classic report.

    I have this work via link href in the icon as f? p ='|| FA.page |': 1 :'|| : app_session |': P10_ID_ITEM :'|| FA.link_name without error.

    My problem is that I wanted to put the value of the element without using a link href that I could handle the clicked icon to change the background color so that the user can have a Visual representation, where it was clicked, then using the value of the page item appears the classic report in another region with a partial refresh.

    Any help is appreciated, thanks.

    Can you provide a detailed explanation of the purpose of this report and the logic used in the report query? What are the rules to control which icons appear in the IR, what icons link to the second report on the page of IR, and icons to link to separate pages?

    For me, the report query seems too complicated and inefficient by returning the data it does, and if another level of data is added to the hierarchy or more data is added to the second level, it fails with:

    ORA-01427: einreihig subquery returns multiple rows

    I'm guessing that the intent is that the IR displays only the icons at the top level of the hierarchy and icons for posting a link to a different page when they have no descendants, or to display the related lines in the secondary report below the IR when they do. I created a new page with the report query modified to a route of tree and keep the upper level lines. It is much more effective than the original query and simplifies the logic necessary for the verification of end-nodes. Instead of generating a URL link (which violates the separation of concerns), the query returns of the discrete values that can be used to implement the HTML link in the Icon View link Custom property:

    with icon_tree as (
          select
              ic.id_icon
            , ic.icon_name
            , ic.link_name
            , nullif(connect_by_isleaf, 1) is_parent
            , level depth
          from
              icons ic
                connect by
                    prior ic.link_name = ic.id_parent
                start with
                    ic.id_parent is null)
    select
        id_icon
      , icon_name
      , link_name
      , apex_util.get_blob_file_src('P10_ICON_IMAGE', id_icon) img_src
      , nvl2(is_parent, '586', link_name) target
      , nvl2(is_parent, 'P586_ID_PARENT', null) parent_item
      , nvl2(is_parent, link_name, null) parent_id
      , :app_id app_id
      , :app_session app_session
      , :debug debug
    from
        icon_tree
    where
        depth = 1
    

    In the interactive report, Use Custom Icon Link is set to Yes, and the custom link is:

    
      
      
    #ICON_NAME#

    Public static ID icons and results are applied to the IR and the regions second report respectively for use as selectors in action dynamics and CSS. The protected value property for the page P586_ID_PARENT element must be set to No for the value can be defined by a dynamic action.

    Dynamic action with several real actions is needed to bind alternatives click behavior to the links on the icons that have descendants (i.e. where the data-parent-id attribute has a value):

    Event: Click

    Selection type: jQuery Selector

    jQuery Selector:.apexir_WORKSHEET_ICONS a:not([data-parent-id=""])

    Real Actions

    Seq: 10

    Action: Delete the class

    Class:selected

    Selection type: jQuery Selector

    jQuery Selector:.apexir_WORKSHEET_ICONS a

    Seq: 20

    Action: Add the class

    Class:selected

    Selection type: trigger element

    Seq: 30

    Action: Set value

    Wait for result: Yes

    Type of value: Expression of JavaScript

    JavaScript expression:$(this.triggeringElement).attr('data-parent-id')

    Selection type: Agenda

    Point: P586_ID_PARENT

    Seq: 40

    Action: Discount

    Selection type: Region

    Region: results

    Seq:50

    Action: Show

    Selection type: Region

    Region: results

    Seq: 60

    Action: Cancel event

    Finally, add a style sheet to the Inline CSS property page. Initially, this hides the secondary report and select the parent clicked icon:

    #results {
      display: none;
    }
    #icons .apexir_WORKSHEET_ICONS a {
      border: 1px solid transparent;
      border-radius: 3px;
      padding: 0.8em 0 0.5em;
    }
      #icons .apexir_WORKSHEET_ICONS a.selected {
        border-color: #6a9cda;
        background-color: #bbd1ec;
        transition: 0.6s;
      }
    

    However, after all it is the question of why you use an interactive report here if you turned off all the features of the IR? A dynamic list with a custom template box seems to be more applicable?

  • Can not set a value by the executed dynamic action on the page element "selection list."

    I created an agenda of the page 'list of selection' and I want to when I change a value in another element of the page set only 'screen '.

    I created a dynamic action on the page element "selection list" for this.

    These are the dynamic action attribute:

    When:

    ======

    Event: change

    Selection type: point

    Article: P29_PURCHASE_ORDER

    Condition: No strings attached

    Advanced:

    ========

    Scope of the event: static

    Identification:

    ==========

    Action: Set

    The ' Action Page when the changed value "attribute of the element of 'list of selection' = 'None', and when I run form the dynamic action run and set the value for once and do not update the value according to the change in the article"list of selection. "

    Note: when I change the previous attribute of 'Redirect and set', dynamic action run and properly value, but the value was hidden soon

    I want to value when the value of change of select list according to this change successfully.

    Please, advice me,

    Best regards

    Mustafa Ezzat

    Hello

    you set the value of the 'Page elements to submit' to P29_PURCHASE_ORDER?

    Then, the SQL statement would use the current selected value.

    This is the help text says: "specify a list separated by commas of the elements of the page that will be submitted to the server and therefore available for use in your"SQL statement"," PL/SQL Expression"or"Body of the PL/SQL function".»

    Kind regards

    Erik-jan

  • How can I set a value of page element to a column of tabular form field when add line button clicked?

    Hello

    I'm new in APEX. I work with APEX 4.2.

    I have a simple form in a page (page no. 3) and I have another region containing a tabular form on the same page.

    P3_EMP_ID is a part of the area of simple form.

    And there is a column field named 'emp_id' tabular.

    If it is possible that

    When I click on the button "add row", field in the column named 'emp_id' in a table will be filled with the value that is available in P3_EMP_ID?

    Pls someone help me.

    Thnks

    Magali

    Yes, it is possible

    simply to > edit in > attribute report > change empno field tabular > attribute in the form >select and set up according to

    default type: point (the name of the application or page element)

    default: P3_EMP_ID

    I hope this helps...

  • Transfer data from a page element

    Hello community,

    I hope you can help me. My English is not as good as my first language. I want to dispay data in a report to the Summit of the use of a function table. The function expects certain parameters and they are expected to be incurred by the user of the application of the apex in page elements.

    How can I transfer the value of an element of page in the table of functions without storing in session state? Is this possible? The are many users, who use the same page (without authentication). So they are all the same user and I cannot store all the data in session state, because another user will see, at the opening of the application.

    This is my select statement: select * from table (TABLE_FUNCTION (parameter1, parameter 2...))

    When I use: the POINT, after the redirection, the value is null and the report does not show any data.

    Many thanks! Kind regards

    SSE

    I'll put it to you that your humble opinion is incorrect.

    As indicated in the documentation, visitors to a page of the APEX will be will see a session ID, regardless of if they are connected.

    : APP_USER is the same thing, but: SESSION will be different.

    Have you tried that?

Maybe you are looking for