How to get the location of a pageitem when there are pageitems with same UID?

There are two text frames with same UID but on different pages( also defferent spreads ). What I want to know is how I can get the location of them both.
The following code can only get the location of the first frame because the second frame has the same UIDRef with the first one(because they are in one document with same UID) .
    InterfacePtr<IGeometry> splineGeo(ItemRef, IID_IGEOMETRY);
    PMMatrix itemPMMatrix = ::InnerToPasteboardMatrix( splineGeo );
    PMRect  itemPMRect = itemGeo->GetStrokeBoundingBox( itemPMMatrix );
Is there any way I can get the second frame location?
Thanks a lot.

No.
Just copy the pageitems from master page to document page.

Similar Messages

  • How to get the location of the browser?(pt_BR, en_US, es_ES...)

    How to get the location of the browser?
    example: pt_BR, en_US, es_ES...

    Hi Eduardo Cordeiro,
    Sorry in reaching you late...I was out on a trip...
    You need to put the javascript in your Flex application html wrapper file ...in which your  Flex application SWF is embedded.
    Write the Javascript function in your html file as below :
    function getBrowserLanguage()
      var browserLanguage = navigator.browserLanguage;
      return browserLanguage;
    //In your mxml File you can access the JavaScript function in your MXML as below:
    var browserLang:String  = ExternalInterface.call('getBrowserType');
    If this post answers your question or helps, please kindly mark it as such.
    Thanks,
    Bhasker Chari

  • How can find the location of my iPad when location services is off?

    How can find the location of my iPad when location services is off?

    If you're wanting to know if you can locate your iPad though iCloud, without Find my device enabled and without power, you won't be able to locate it.

  • I tried playing a you tube video, but received a message prompt to download the latest version of Adobe Flash Player. The link to Adobe stated that there are issues with MAC OS X 10.7 and Flash Player 10.3. The new version did not download. Any Suggestion

    I tried playing a you tube video, but received a message prompt to download the latest version of Adobe Flash Player. The link to Adobe stated that there are issues with MAC OS X 10.7 and Flash Player 10.3. The new version did not download. Any Suggestion

    Hi Seattle
    From Adobe site only!
    flashplayer11_b1_install_mac_071311.dmg
    Works fine.
    Cheers Tomi

  • How to backup a rootenv when there are subfolders with DBs?

    Hello,
    Is there any way to hotbackup a rootenv with databases when there are subfolders with databases?
    When I run a hotbackup (with db_hotbackup) on my rootenv, it only backups databases from the root of my rootenv. But, in that root directory, I have some subdirectories with databases too.
    Thank you.

    Hi,
    If you have root directory as : */your/root/dir*
    and within that you have folders like : */your/root/dir/sub1* and */your/root/dir/sub2* and would want to backup the db files in */your/backup/dir* then, you should invoke db_hotbackup as
    db_hotbackup -cv -b /your/backup/dir -h /your/root/dir -d ../dir/sub1 -d ../dir/sub2
    Regards,
    Debsubhra Roy

  • How to get the location of a jarfile in the java 1.6 cache

    In 1.5 i am using getResource() to get the location of the jarfile i need, but in 1.6 this does not work anymore. I found a webpage with a workaround for this, but unfortunately i did not bookmark it and i can't find it again. Does anybody know how to get a file url instead of an http url to the jar file?
    I need the location to this jarfile. There is no other workaround and please DO NOT respond and tell me, that i don't need the location in the cache! I read all threads on the java forums to this issue and i didn't find a good answer.

    java.io.File class can be used.
    File f = new File("filename");
    S.O.P(f.canRead());
    S.O.P(f.canWrite());You can set the attribute using Runtime class.
    Runtime r = Runtime.getRuntime();
    Process p =r.exec("attrib -r file");If you are working with unix,
    r.exec("chmod -permissionoptions file");

  • How to get the location of the last click.

    What I can't seem to figure out how to do is get the location of the last click. I'm not setting anything by using the click im using the click to test boundaries. Basically if I click within this area this happens if i click within this other area something
    happens, etc. Thanks for your help! Also feel free to say an easier way to do this if you know one.

    Your description about your issue is very vague but you could for example handle the MouseLeftButtonDown event for the "area" and then use the MouseEventArgs.GetPosition method to determine the coordinates of the mouse click relative to some element,
    e.g.:
    private void Canvas_MouseLeftButtonDown(object sender, MouseButtonEventArgs e)
    Canvas canvas = sender as Canvas;
    Point p = e.GetPosition(canvas);
    double x = p.X;
    double y = p.Y;
    <Canvas Height="100" Width="100" Background="Red" MouseLeftButtonDown="Canvas_MouseLeftButtonDown">
    </Canvas>
    Please remember to close your threads by marking helpful posts as answer and please start a new thread if you have a new question.

  • How to get the location of the JMenuItem on the screen in actionPerformed

    How can I get the location of the JMenuItem on the screen in actionPerformed.
    When I use the function getLocationOnScreen() on JMenuItem or the object retruned by getComponent() I get IllegalComponentStateException.
    I have figured out that inside actionPerformed the parent of the JMenuItem which is JPopupMenu (that contains the JMenuItem) is not visible anymore (its isVisble() function returns false).
    Then how can I get the location on the screen of the JMenuItem or it�s popup menu such that I can use it in subsequent call to SwingUtilities.convertPoint(JMenuItem, int x, int y,frame), as I need to display a modal dialog box relative to the position of the popup menu in it�s frame.
    Regards,
    Janusz

    Thanks for reply.
    Unfortunately I have to figure out the location of the menu from within actionPerformed handler. At that point of time it is too late to overwrite JMenuItem. I probably could do some severe surgery in the code to implement my own JMenuItem derived class & overwrite processMouseEvent and pass the location attribute somehow to actionPerformed handler � but I am looking for some solution that would not require changes to the code outside actionPerformed handler.

  • How to get the location of the caret?

    Hello
    I want to get the location of the caret. Not the offset of the document.
    I have tried the Caret.getMagicCaretPosition(), but I think it gives me a point in viewport.
    How can I get the absoult location of the caret(the location on screen ,not in viewport)?
    Thank you very much.
    Best wishes

    Thankyou ,You reply seems to help me ,but I am still confused that this method returns void ,how can I get the result of the point on screen?
    When I want the caret location (the caret belongs to a JTextPane) on screen, I invoke :
    SwingUtilities.convertPointToScreen(textPane.getCaret().getMagicCaretPositon(),textPane);
    but how can I get the result of the convertion?
    Thank you!

  • How to get the Location of the Device

    hi all,
    I want to find out the Location of the MObile device.
    I am trying to find out with the help of the Location API which was available in the CLDC 1.1.I am using the following code to get the Location
    try{
         Criteria cr = new Criteria();
         cr.setHorizontalAccuracy(500);
         LocationProvider lp = LocationProvider.getInstance(cr);
         Location l = lp.getLocation(60);
         Coordinates c = l.getQualifiedCoordinates();
         if(c!=null)
         double lat = c.getLatitude();
         double alt = c.getAltitude();
         double lon = c.getLongitude();
         locate = c.convert(alt,1);
    }catch(Exception e){System.out.println(e);}
    I used a seperate thread to get the Location.The thread was running it was not diaplying any value(in the Emulator).Can anybody tell me the possible output when we use the Emulator.
    Please help me,Thanks in advance
    Lakshman

    hi,
    Even though the Nokia was the leaders of the JSR 179.but the Specification were developed by the sun.So to my knowledge the device which will support CLDC 1.1 will support my code.
    at present i had a Blackberry 7100t,I have to check whether the device support the CLDC 1.1
    can anybody please tell me what are the mobile devices that support the CLDC1.1?
    lakshman

  • How to get the last received notification timestamp when app in background

    Hi All,
    We are developing the app in windows phone Silverlight 8.1.
    We need to show the last received notification time stamp even when the app is in background.
    When the app in foreground, I can get the timestamp.
    Since we cant write the background task for the Silverlight phone 8.1 app, I don't know how to get the time stamp of the last
    notification(toast/livetile/badge) in the app for display.
    Can anyone help on this.
    Thanks,
    Meena

    Yes, continuous background execution is not supported but you can use background tasks. 
    (Continuous background execution in this context refers to the special run state permitted for GPS Navigation apps.)
    For information regarding Background Tasks see: Supporting your app with background tasks -
    http://msdn.microsoft.com/library/windows/apps/hh977046.aspx
    Additional information is available in these topics:
    Guidelines for background tasks
    PushNotificationTrigger
    How to receive raw notifications
    Eric Fleck, Windows Store and Windows Phone Developer Support. If you would like to provide feedback or suggestions for future improvements to the Windows Phone SDK please go to http://wpdev.uservoice.com/ where you can post your suggestions and/or cast
    your votes for existing suggestions.

  • Help! How do i make a button state maintain when there are other buttons on the page?

    I need to have the down state of pressed buttons stay in that state when there are multiple buttons being pressed on the same html page...

    Hello and welcome to the forum,
    Not sure if I understand well, but think you are bumping into the Quiz scope... I have been trying to explain this in a blog post, with other functionalities of Question and Score slide:
    Question Question Slides
    Lilybiri

  • Red artifact blob shows up in the middle of my screen when there are dark colours showing

    Does anyone know what this is? Or why it is happening? There is a red blob-ish artifact that is on the middle of my screen and you can notice it when there are dark colours on the screen. It's really annoying when I'm trying to watch movies or play games that have dark scenes. (The picture quality isn't that great, but you can kinda see the red blob I'm talking about.)
    Any thoughts?

    I'm having the same problem. Only noticed it after installing OS X Lion.

  • How to get the values of a selectManyCheckBox when that is in h:dataTable

    Hello,
    I have a jsp page. in that user can choose multile checkboxes and these checkboxes labled as Current, Mailing, PosibleMailing, length is 3 fixed.
    And i am displaying this in a <h:dataTable> this datatable length depends upon the users there may be more than 1 user, for every user there is multiplecheckbox with length 3(fixed).
    code is look like this
    <h:dataTable value="#{InvestigationDefendantView.investDefsFindingsModel}" var="def" border="0" >
    <h:column>
    <h:selectManyCheckbox value="#{InvestigationDefendantView.addtype1}" disabled="false">
    <f:selectItem itemValue="Current" itemLabel="Current"/>
    <f:selectItem itemValue="Mailing" itemLabel="Mailing"/>
    <f:selectItem itemValue="Posible" itemLabel="Posible"/>
    <j4j:idProxy id="DefAddTypeProxy"/>
    </h:selectManyCheckbox>
    </h:column>
    </h:dataTable>
    here abovevalue="#{InvestigationDefendantView.investDefsFindingsModel}" suppose 3(we can assume) then there are 3 pairs of selectManyCheckBoxes are there in my jsp page.
    So u can assume in my jsp page checkboxes are look like 3*3 Matrix
    from my backing bean i am fetching the values of this checkboxes with the below code
    java code:
    InvestDefAddressTypeGetter inv = new InvestDefAddressTypeGetter();
    InvestDefAddressTypeBean[] inb = inv.get(pID);
    this.fMap = new HashMap<String, ArrayList<String>>();
    for(int i=0; i<inb.length; i++)
    String str1 = inb.getGivenDefID().toString();
    this.fdefid.add(str1);
    this.fGivenDefID.add(inb[i].getGivenDefID());
    String addType = inb[i].getAddType();
    Logger.info(this, "adding type value", addType);
    this.fdefid.add(str1);
    this.faddType.add(addType);
    Logger.info(this, "length of strings", this.faddType);
    this.fMap.put(str1, this.faddType);
    i am fetching the checkboxes value through my get method
    public String[] getAddtype1() throws SQLException, SearchException
    Logger.info(this, "addtype testing", this.faddType.size());
    if (this.faddType.size() > 0 )
    ArrayList<String> alcb = new ArrayList<String>();
    for (int i = 0; i < this.faddType.size(); i++)
    alcb.add(this.faddType.get(i));
    String[] tempArr = new String[alcb.size()];
    for (int i = 0; i < alcb.size(); i++)
    tempArr[i] = alcb.get(i).intern();
    return tempArr;
    return new String[0];
    from the above code if i have clicked (you can assume 3*3 matrix here) 1*1, 1*2 and 2*1 and 2*2and saving the value in database records are saved as per requirement but when i am editing the records with the above code i am getting 1*1, 1*2 and 2*1, 2*2 and 3*1, 3*2 checked but i did not checked the 3*1 and 3*2 ckeck boxes.
    Because the same get method will be called in the multipleckeck boxes. how can i prevent does not display the unchecked value from my backing bean.
    Please anybody help me in this issue.

    Is this you? [http://forums.sun.com/thread.jspa?threadID=5335038].

  • How to get the addition DML Error information when using PL/SQL?

    Given the following statements:
    drop table bob;
    create table bob
    col1 number(6,2),
    col2 number(6,2) not null
    insert into bob(col1, col2) values (123.12, null);
    insert into bob(col1, col2) values (123.12, 12345.12);
    commit;
    I get different behavior from Oracle error messages.
    Here is the sample output:
    Table dropped.
    Table created.
    insert into bob(col1, col2) values (123.12, null)
    ERROR at line 1:
    ORA-01400: cannot insert NULL into ("BOB"."COL2")
    insert into bob(col1, col2) values (123.12, 12345.12)
    ERROR at line 1:
    ORA-01438: value larger than specified precision allows for this column
    Commit complete.
    Note that in the first error (1400) the generated error message contains the name of the problematic column ("BOB"."COL2"). Also note that in the regurgitated statement the error pointer (*) is at the far left. In this case, the regurgitated statement is of no use to me because the error message identifies the culprit column.
    However, in the second error (1438) the generated error message is very generic and does NOT indicate the problematic column. In addition, in this case the error pointer (*) of the regurgitated statement has moved to point to the troublesome column. In this case, I must use BOTH the error message and the regurgitated statement to completely understand the problem.
    This difference in how error messages are constructed causes difficulty within PL/SQL. If PL/SQL happens to generate a 1400 error message, then simply capturing the error message and giving it to the user provides enough information for him/her to solve the problem. However, if a 1438 error is generated then the resulting error message has insufficient information for the user to pursue the problem.
    So my question is, within PL/SQL do you know how to get your hands on Oracle's regurgitated statements so that they can be presented to the user to assisted him/her in problem resolution?
    Thanks.

    I don't think it's that easy. Notice that if you put the insert into an actual pl/sql block, you don't get the correct column pointer anymore.
    BEGIN insert into bob(col1, col2) values (123.12, 12345.12); END;
    ERROR at line 1:
    ORA-01438: value larger than specified precision allows for this column
    ORA-06512: at line 1
    Richard

Maybe you are looking for

  • Help please.  My newish Ipod won't charge and won't connect to itunes

    Hello, I have had a 20 gb ipod for a month or two and just the other day I put it to charge (not for the first time) and it didn't connect. I have a docker and that didn't work either. I tried to connect to itunes on both laptop and home computer and

  • Autofit JTable column headers

    I have a problem. I am using eclipse. What i want to do is that in a Jtable, i want such a mechanism that no matter what the table headers are(any font, size), the jtable adjusts the column width to show the whole table header. The headers and the fo

  • Premiere Pro verus Premiere Elements

    I am going to be copying in and editing a large amount of old VHS tapes.  I mainly want to delete out blanks, merge clips together and especially try to improve brightness, contrast etc. like I do in Photoshop for stills.  I wanted to know if Premier

  • SAP Book  for IS-H Module

    Could you please inform me about the SAP Book  for IS-H Module. I want to start my job experience in SAP Healthcare. Thank you very much, Evguenia.

  • Adobe Crashes on Startup

    Hi, I am having an issue with Adobe - many of the users that we support are getting the error below: Event Id: 1000 Description: Faulting application acrord32.exe, version 10.1.2.45, faulting module acrord32.dll, version 10.1.2.45, fault address 0x00