JDAPI value identifies real with real pixel unit


Dear,
I am writing a generic module for the migration of Oracle 6 forms to forms of 10g using JDAPI.

I have install problem of the coordinate system to 'real' & real unit "pixel".

I use the following code:
Form FormModule = (FormModule) obj;
form.setIntegerProperty (JdapiTypes.COORDINATE_SYSTEM_PTID, JdapiTypes.COSY_REAL_CTID);
form.setIntegerProperty (JdapiTypes.REAL_UNIT_PTID, JdapiTypes.REUN_PIXEL_CTID);


I find that it is not bringing in form after saving to file.

While the following code works:
Form FormModule = (FormModule) obj;
Coordinates coordinates = new Coordinate (form);
coordinate.setCoordinateSystem (JdapiTypes.COSY_REAL_CTID);
coordinate.setRealUnit (JdapiTypes.REUN_PIXEL_CTID);
Coordinate.Apply (Form);

The problem, I write generic code, and I don't want to not deal with special situations, simply write once with multipurpose.
Can you please help.

The questionm main, why it doesn't work?

Sorry, can't tell you that. I'd go with the workaround if possible.

Tags: Oracle Development

Similar Questions

  • change the values of 'choiseListe' with javascript

    Dear Sir

    Is it possible to change the values of 'choiseListe' with javascript.

    Example they have a choseListe:

    Country / / / values

    United States us

    France fr

    Sp Spain

    When he clicks in a botton I whant to change this choceListe:

    Country / / / values

    My Morocco

    PT Portugal

    ............

    Thank you

    Hello

    Drop-down lists and drop-down menus can be scripted against without much to safely.

    You would need something like that in the click event of the button:

    listbox1.rawValue = null; //clear previous choice
    listbox1.clearItems(); //clear the list items
    listbox1.addItem("Moocco", "ma"); //add new list items
    listbox1.additem("Portugal", "pt");
    

    Hope that helps,

    Niall

  • is there a difference between 38 and 42mm with their pixel density?

    is there a difference between 38 and 42mm with their pixel density? the 38mm and 42mm watches have same interns?

    You can see the technical details of the Apple Watch here. Apple - Support - technical specifications

  • The photos in photo looks blurry, with large pixels. Recorded images were of high resolution, why what is happening?

    I used the migration assistant to transfer all the data from my old macbook pro to my new iMac, now the images in the Photos seem to be blurred, with large pixels. Recorded images were of high resolution, why what is happening? Is it possible to fix it. In the old macbook pro, the image looks ok.

    Migration assistant has a really bad experience with iPhoto and Photos

    If you still your old MB of available space, connect it to your new Mac (network, mode target firewire or use an external to the Mac OS extended (journaled) format hard drive and drag the iPhoto library folder images on the new Mac and heck the iPhoto library to icon in the Dock to migrate Photos)

    I hope this will work better

    LN

  • is it possible to tell me how I can make program in labview that take black and with image pixels and give the coordinates of black or white pixels again to me.

    Hello everyone

    is it possible to tell me how I can make program in labview that take black and with image pixels and give the coordinates of black or white pixels again to me.

    It depends on the image and the module LabVIEW available to you. LabVIEW can open bitmap and png files and convert them into tables: if it's really a monochromatic (depth of 1 bit) you get a table 2D boolean, T for white, F for black. Just look at the index of the item to its details (don't forget that LabVIEW does not use the order of rows and columns, so you must transpose and reflect the table). If you have a 24 bit bitmap, the table will contain the color in hexadecimal synthesis (000000 for black, FFFFFF is white and so on); Yet once, you simply check if the element of the array correspond to your requirements and get its index.

    With the vision that you module con open other pictures and perform advanced on them without convert them into tables. Anyway, you can just type the extension of your image using LabVIEW and see what you get.

    Here is a code snippet to open a monochromatic image

  • I run a network of Windows 2008 Server r2 with a storage unit attached to the network that we put on our shared files.

    I run a network of Windows 2008 Server r2 with a storage unit attached to the network that we put on our shared files.

    I can access the shared files of most of my computers on the domain, but there are a few that have WINXP Pro can't do. Some of the XP computers can access it, but the only people who can't are XP. I think it might be something with the local security settings, but I'm not sure. The error I get is: \\server name \sharing folder is not accessible. You might not have permission to use this network resource. Contact the administrator of this server to find out if you have permissions.  The request is not supported.   All users have permissions and can view the files from other computers just these few who have been able to do actions. Any help would be useful.
    The procedure below: the problem: give perminiant solution pls
    1. delete the field and add the domain
    2 delete the user profile, and create user profile.
    Error:
    An error occurred during connection network Y:to\\server\common Microsoft windows folder: the local device name is already in use. This connection has not been rerun.

    Hello

    I suggest you according to the question in this forum and check if that helps:

    http://social.technet.Microsoft.com/forums/en-us/winservergen/threads

    It will be useful.

  • Can we define a field value of contact with the CRM campaign settings ID campaign?

    Hello

    Can we define a field value of contact with the ID of CRM campaign?

    For example: LAST campaign SFDC ID (field of contact) = CRM campaign (campaign) No.

    The Eloqua campaign canvas has the possibility to update CRM directly with the status of the campaign on things like email send or clicks. IF you set these shares to be among the rules of the answer, then as they happen, they will create/update records of campaign in CRM directly responses. However, this will have an impact on information in Eloqua.

  • How can I install my CS5 to my old iMac to my new iMac with no drive unit?

    I am the owner of a new iMag G5, and I need to install all my Creative Suite 5 in my new computer. I guess I

    I have to disable my old Mac CS5, but how can I install it in my new with no drive unit? I need to download it from any part of this page or can I "drag" of my old HD?

    Thank you!

    properly install it using the installation files.  (although there may be some compatibility issues with some programs.)

    Available downloadable Setup files:

    Download and installation help links Adobe

    Help download and installation to Prodesigntools links can be found on the most linked pages.  They are essential; especially steps 1, 2 and 3.  If you click on a link that does not have these listed steps, open a second window by using the link to Lightroom 3 to see these "important Instructions".

  • I work in psd, I want to send an email to pdf, with the pixel format, how can I do?

    I work in psd, I want to send an email to pdf, with the pixel format, how can I do?

    I work in psd, I want to send an email to pdf, with the pixel format, how can I do?

  • Cannot start program with vmware-the unit - helper.exe

    Hello community,

    First of all, I have an Internet Explorer with the vmware-the unit - helper.exe

    I can run mode of the unit and can also start Internet Explorer of the UnityStartMenu.

    My config is:

    HostOS: Windows 7 64-bit Enterprise

    AntiVirus: Sophos 9.0.0

    VMware: WS 7 build-203739

    VM: Windows XP SP2 with IE 6

    Startup of IE command:

    "c:\Program Files (x 86) \VMware\VMware Workstation\vmware - unity - helper.exe"-run "h:\VM\VMware_VM\Win XP_SP2_unitymode\vm.vmx" "" C:\Programme\Internet Explorer\IEXPLORE. "." EXE ".

    The next test that I did.

    Start the VM - & gt; View - & gt; activate the Mode Unity - & gt; launch IE using the menu start VMware / work

    Start the VM - & gt; View - & gt; activate the Mode Unity - & gt; Startup of IE using the above command / didn't work

    Start the VM - & gt; View - & gt; disable the Mode Unity - & gt; startup of IE using the above command / didn't work

    Shutdown VM - & gt;  startup of IE using the above command / didn't work

    I don't get the error message when I run the command. I found some clues that this "tool" does not work with Windows and can only be used on Linux hosts.

    You also have a similar experience?

    Thanks a lot for the effort you

    I wish you merry Christmas and happy new year.

    concerning

    Nico

    Kiss = Keep it simple and stupid

    Running a program with vmware-the unit-helper is only a function on Linux hosts. We have had a few requests to add it to Windows hosts, but this isn't a feature on Windows now.

  • Illustrator aligns with the pixel & changes the path?

    I work with paths are for some reason strange and annoying, snaps to the pixel grid. I have even the 'Snap to Pixel' off and the traces are changed by the Illustrator so they dynamic enters the pixel grid. I've never experienced this before where illustrator actuall moving anchor points where he wants. Here is an example of what is going on (this happens in the raster preview and normal preview):

    Here is a vector path on a grid created to show where the pixels are:

    preview_02469.png

    I select the object swap FILLING in the RACE and immediately you can see that illustrator changed the location of the paths:

    preview_02470.png

    I share the RACE to FILL and it alters the paths still more!

    preview_02471.png

    Here's another example:

    The paths are not clearly aligned with the pixel grid, but illustrator is trying everything possible to make the line of pixels to the top. (This image has "Quick align inside" and is previewing rasterized).

    preview_02467.png

    Same thing but pixel not preview. Super weird behavior:

    preview_02466.png

    Will there be some sort of setting in the preferences of masters that is causing this behavior? I did this wink on the grid and snap to pixel is turned off and rest nothing will do. Anyone encountered this?

    Thank you!

    I'm assuming that CS5 because you are talking to match the pixel grid. Is this correct?

    Possible bug, but...

    I can easily reproduce this problem with a small graphic and align on grid of pixels. If I disable snap to grid of pixels (in the transformation Panel) the problem disappears.

    Note there must be a very small chart for the question to stand.

    Are you sure you want to align the grid of pixels off?

    If so, you might try trashing your file.

  • How to compare, present value: block.text_item with the value of data

    Hello
    Could you please tell me
    How to compare the current value: block.text_item with the corresponding database column value.
    I use form 10g

    It has block and there is a text element in this block.
    When I run the form and query the block (in a table), the: block.text_item show me any value it in the database.
    Now I add value in the: block.text_item to the existing value.

    now
    the: block.text_item contains the old + new added value
    While
    the database table contains the value 'old '.

    Now, with a click of button, I want to know what value I added

    Please can you me, is it possible without writing a select query?

    Hello

    Now, with a click of button, I want to know what value I added

    So you're saying always user will bring added value to the existing value. Because it will fail in a case. Let's say that
    Database value is = ABCD
    The user opens the form and he took the D and write E and now value is ABCE and length is always the same 4. There is therefore no need to add.

    In any case, you can know that the value of database at run time, there is a property for the element called DATABASE_VALUE. She gives the value that is in the database while you run the form before save. and you can use it like that...

    Trigger = WHEN-MOUSE-DOUBLE-CLICK on item level
    DECLARE
      vItemValue DATATYPE; -- Set the data type according to your desired field.
      vValueAdded DATATYPE; -- Set the data type according to your desired field.
    BEGIN
      vItemValue:=GET_ITEM_PROPERTY('ITEM_NAME',DATABASE_VALUE);  -- It will return you the database value in vItemValue variable.
      IF LENGTH(vItemValue)>LENGTH(:FORM_ITEM_NAME) THEN  -- It mean something change or added
        vValueAdded:=SUBSTR(:FORM_ITEM_NAME,LENGTH(vItemValue)+1);
        MESSAGE('Added value is : '||vValueAdded);  -- It will show you the added value.
      END IF;
      -- now suppose you want to show the old and new value in message not the added one
      -- Then no need of IF condition. You can just use message like this
      -- And i would prefer to use like this way
      MESSAGE('Old Value : '||vItemValue||'  New Value - '||:FORM_ITEM_NAME);
      MESSAGE('Old Value : '||vItemValue||'  New Value - '||:FORM_ITEM_NAME);
    END;
    

    Hope that's clear.

    -Clément

  • How to measure and mark the value of real-time data?

    Hello

    I need to measure and trace in time real RMS value of EMG power. I did a VI. But I don't know why it didn't work. Can someone help me please? My VI is set in 2013 and 2011 both version. An example of data is also attached. Thanks in advance.

    Taslim. Reza says:

    I tried RMS PtByPt VI. But it has not been wired because the source was table 1 d of double and double sink.

    Well, ptbypt tools affect only one value at a time, so you must place them in a loop FOR. Here's how.

  • Real pixels on a 9900 and 9790?

    I was working on app ww and I put a picture on 640 x 480 (which is the pixel of the camera) to test and it took out the size. I know that the camera has pixels, is possible to know what the actual pixel size?

    Sorry Im a missed, I found the solution http://supportforums.blackberry.com/t5/Web-and-WebWorks-Development/9900-9930-display-issues/td-p/12...

  • changing value of text with the cursor

    Hi you all

    I need a help from your side

    I have created a slider and change the size of the listview text with the cursor

    Here is my code

     Slider {
                           id: slider
                            fromValue: 8.0
                            toValue: 16.0
                            value: 8.0
                            layoutProperties: StackLayoutProperties {
                                spaceQuota: 0.1
                            }
                            preferredWidth: 200.0
                            maxWidth: 250.0
                            preferredHeight: 20.0
                            visible: true
                            enabled: false
                            horizontalAlignment: HorizontalAlignment.Center
                   onImmediateValueChanged: {
    
    // descriptionText is the id of label
              descriptionText.textStyle.fontSize = FontSize.PointValue
               descriptionText.textStyle.fontSizeValue = immediateValue
                            }
    
                        }
    
    /***********************************************************************//
    i am adding data to listview using remote source
    
      Container {
                id: listviewContainer
    
                layout: StackLayout {
    
                }
                ListView {
                    id: myListView1
                    dataModel: dataModel1
                    //{
                    //  source: "asset:///models/xmldata.xml"
                    //      }
    
                    // Use a ListItemComponent to determine which property in the
                    // data model is displayed for each list item
                    listItemComponents: [
                        ListItemComponent {
                            type: "item"
                            Container {
                                rightPadding: 20
                                leftPadding: 20
                                horizontalAlignment: HorizontalAlignment.Center
                                verticalAlignment: VerticalAlignment.Center
                                layout: StackLayout {
                                    orientation: LayoutOrientation.TopToBottom
    
                                }
    
                                Container {
                                    topPadding: 40
    
                                    horizontalAlignment: HorizontalAlignment.Fill
    
                                    layout: DockLayout {
    
                                    }
                                    // The Item content container
                                    Container {
    
                                        verticalAlignment: VerticalAlignment.Top
                                        horizontalAlignment: HorizontalAlignment.Right
                                        layout: StackLayout {
                                            orientation: LayoutOrientation.RightToLeft
    
                                        }
    
                                    }
    
                                }
    
                                // Description text label
                                Label {
                                    id: descriptionText
                                 //
                               //     objectName: descriptionText
                                    //  leftMargin: 20
                                    horizontalAlignment: HorizontalAlignment.Right
                                    verticalAlignment: VerticalAlignment.Top
                                    text : ListItemData.des
                                    textStyle.color: Color.create("#868686")
                                    textStyle.textAlign: TextAlign.Justify
                                    multiline: true
                                    textFormat: TextFormat.Plain
                                    textStyle.fontSizeValue: 8.0
                                }
    
                        }
    
                    }
            ]
    
        }
    
        attachedObjects: [
            GroupDataModel {
                id: dataModel1
    
                // Sort the data in the data model by the "pubDate" field, in
                // descending order, without any automatic grouping
                sortingKeys: [ "date" ] //[ "pubDate" ]
                sortedAscending: false
                grouping: ItemGrouping.None
            },
            DataSource {
                id: dataSource1
                objectName: ""
                // Load the XML data from a remote data source, specifying that the
                // "item" data items should be loaded
                source:"http://10.121.10.139/simplehtmldom/getdescnews.php?newsid="+dataSource1.objectName
    
                query: "/news/property/"
                type: DataSourceType.Xml
    
                onDataLoaded: {
                    // After the data is loaded, clear any existing items in the data
                    // model and populate it with the new data
                    dataModel1.clear();
                    dataModel1.insert(data)
                    myIndicator12321.setRunning(false);
                    myIndicator12321.setVisible(false);
                    //      dataModel.insert(data)
    
                }
    
                    }
        ]
    }
    
    // in the end i am calling on creating complete
    
    onCreationCompleted: {
            // When the top-level Page is created, direct the data source to start
            // loading data
            dataSource1.load();
        }
    

    problem I am facing is, it does not find the descriptionText variable, which is the id of the label

    can someone help?

    OK, the problem is that listItemComponents attached to a control, such as ListView have their own context. ListItemComponent documentation refers to what I think. If you must do the following:

    1. do you have a property that is defined as an attribute of the ListView

    2 bind your fontSizeValue to listItemComponent tag to the ListView. Note, however, to do this, you need to get a reference to the ListView using your label ListItem.view is found in the container. Not obvious, I know.

    3. do you have your cursor to update the property you have defined for the ListView.

    Cursor---> p_font_size ListView property<---------->

    Like this:

    {To ListView
    ID: myListView1
    property real p_font_size: 10

     

    listItemComponents:]
    {ListItemComponent}
    type: 'point '.
    ID: sample

    {Of container
    ID: mainListViewContainer

    {Label
    ID: descriptionText

    ..........
    textStyle.fontSize: FontSize.PointValue
    textStyle.fontSizeValue: mainListViewContainer.ListItem.view.p_font_size

    }

    and elsewhere on your page

    Slider {}
    ID: slider

    fromValue: 8.0
    toValue: 16.0
    value: 8.0
    layoutProperties: {StackLayoutProperties}
    spaceQuota: 0.1
    }
    preferredWidth: 200.0
    maxWidth: 250,0
    preferredHeight: 20.0
    visible: true
    enabled: true
    horizontalAlignment: P

    onImmediateValueChanged: {}
    myListView1.p_font_size = immediateValue
    }
    }

    I test it and it works. Please make this response as the solution if it works for you too :-)

Maybe you are looking for