How do I check if the associated PageItem is there/exists from a XMLElement ?

Hi,
I have the following structure:
Extension Builder 1.5;
InDesign 5.0;
Image (Rectangule Frame);
XML tag associated with the Image.
The following scenario:
I do have an application that checks if this strucuture is available and intact, that is, the user has not deleted the tag (XMLElement) and/or the Rectangule Frame(PageItem);
I do not want loop through allPageItems (the page should have many of them - more than 1000) and get the XMLElement;
So, I loop over the XMLElements and get the associated PageItem through xmlElement.xmlContent property;
The document images properties (image, epss, etc) never are populated (document.epss.length = 0);
I can validate if the tag was deleted or untaged easy.
The problem:
User deletes the Image/Rectangule Frame (PageItem) and keep the xml tag (untag the XMLElement);
The isValid property (xmlElement.isValid = true) is true;
The associated PageItem becomes a Text and is valid as well;
The question:
How do I check if the associated PageItem is there/exists from a XMLElement ?
Regards
Marcos

Found it, I think
    e.isControlDown()

Similar Messages

  • How do I change the color of font in a fillable form in Adobe Reader? How can I check if the writer of the document has given permission to edit color and not just add text?

    How do I change the color of font in a fillable form in Adobe Reader? How can I check if the writer of the document has given permission to edit color and not just add text? Please help! I'm technologically challenged.

    Most forms (99% or more) are created for simple text input, where you cannot change anything.
    The creator of the form could allow Rich Text input (which allows you to change font, text size, color, etc.), but frankly I have never seen such a form, and I wouldn't know how they look.  But I'm sure they would show some kind of controls to alter the text appearance.

  • How can I check on the delivery of an photo but that I created and sent to a friend.  I have the order number but I can't find the tracking information.

    How can I check on the delivery of a photo book that I created and sent to a friend.  I have the order number but I can't find the tracking information.

  • I had bought a Mac PRE 13 in,  in 7th Sep,but it is 15th Sep today,how doesn't my computer come to me? So,how can I check where the computer is at this moment?

    I had bought a Mac PRE 13 in,  in 7th Sep in the online Apple Store,
    but it is 15th Sep today,how doesn't my computer come to me yet?
    So,how can I check where the computer is at this moment?

    Call the online Apple Store.  You should have received an email with a FedEx tracking # if you are in the US.
    There is nothing anyone can do for you on a message board!  We are all end users just like yourself.

  • HT1766 I have manually back up my iphone few days back, and my contact got missing the next day. i restored my back up from iTunes, however, my contact did not get restored. How do i check if the manual back up did actually back up my contact or not?

    I have manually back up my iphone few days back, and my contact got missing the next day. i restored my back up from iTunes, however, my contact did not get restored. How do i check if the manual back up did actually back up my contact or not? How do i get back my old contact in my phone?

    Your entire second paragraph is so confusing I am going to ignore it.
    But I may be able to answer your first and third paragraphs, which seem to address the same question.
    I wonder where your iPhone states it was backed up yesterday.  I am going to assume that you see this under Settings > iCloud > Storage & Backup.
    If that is true, then the backup from yesterday is in iCloud.  The one and only way to restore an iCloud backup is to do this on your iPhone:
    Settings > General > Reset > Erase All Content and Settings
    That will cause your iPhone to begin a setup process.  As part of that process, assuming you enter the same Apple ID you used when you created the iCloud backup, you will be offered the opportunity to restore from it.

  • Using PL/SQL Block how do you check if the character string value is aA-zZ

    I have a pl/sql block that I prompt the user for password and I load the string into an array and interrogate each index(entry) to see if it is "aA-zZ".
    How can I check if the value entered is Alpha.
    I need to do the same for number and Special character. Please advise. Thanks

    Thanks to All of you. The desired solution to verify complex password that enforces desired security policies. An example that I am using is the following:
    IF NOT (regexp_like(sz_complex_pw,'[[:digit:]]') AND regexp_like(sz_complex_pw,'[[:alpha:]]') AND regexp_like(sz_complex_pw,'[[:punct:]]') AND regexp_like(sz_complex_pw,'[[:upper:]]'))
    THEN
    --dbms_output.put_line('Password is not complex...');
    RAISE sz_err_pw_complex; -- Complex Password is not compliant
    END IF;
    DBMS_OUTPUT.PUT_LINE('Complex Password is in Compliance...');
    EXCEPTION
    This was helpful to me and I trust others will find helpful.
    Edited by: yakub21 on Oct 16, 2010 9:05 PM

  • How do I check if the ctrl key is pressed from within a mouseReleased actio

    How do I check if the ctrl key is pressed from within a mouseReleased action?
          addMouseListener( new MouseAdapter() {
             public void mouseReleased( final MouseEvent e ) {
               // If ctrl button is held down and mouse is clicked, do something
             }};

    Found it, I think
        e.isControlDown()

  • How do you check if the input is empty?

    Hello,
    I am asked to write a program which gets as input in the command line a number of strings, and is to print out the first of these string.
    but if the input is empty it must print our an error message.
    how do i check if the input is empty?
    i guessed
    public static void main (String[] args){
         if (args == null)
         ........but thats wrong.
    Thanks,
    iris

    If no arguments were passed, it means that there are zero arguments entered. So the args array will have a length of zero.

  • How to do CHECK IN the files for the document?

    Hi ,
    By using BAPI_DOCUMENT_CHECKIN2 Function module I am uploading the Files for the Document number.
    My problem is - After uploading the files to the document number the files are not in check in status.
    I want the files to be checked in after uploading the from the FM.
    Can anyone tell me what I am missing ? How to do check in the files.
    I am passing the following values to FM.
          ls_files-SOURCEDATACARRIER = ls_file-DATA_CARRIER.
          ls_files-WSAPPLICATION     = ls_file-application.
          ls_files-DESCRIPTION       = ls_file-file_desc.
          ls_files-STORAGECATEGORY   = ls_file-category.
          ls_files-DOCFILE           = ls_file-doc_path.
          ls_files-CHECKEDIN         = 'X'.
        CALL FUNCTION 'BAPI_DOCUMENT_CHECKIN2'
          EXPORTING
            DOCUMENTTYPE            = ls_file_data-dokar
            DOCUMENTNUMBER          = ls_file_data-doknr
            DOCUMENTPART            = ls_file_data-doktl
            DOCUMENTVERSION         = ls_file_data-dokvr
          IMPORTING
            RETURN                  =  ls_return
          TABLES
            DOCUMENTFILES           =  lt_files
        COMPONENTS              =
        DOCUMENTSTRUCTURE       =
    I appriciate you response on this.
    Thanks in advance.

    Hi,
    Check the values you are passing into ls_files .
    you dont need to pass checkedin = 'X'.
    and check the storagecategory field - this should not be blnak.
    files-SOURCEDATACARRIER = lsfile-DATA_CARRIER.
    ls_files-WSAPPLICATION = ls_file-application.
    ls_files-DESCRIPTION = ls_file-file_desc.
    ls_files-STORAGECATEGORY = ls_file-category.
    ls_files-DOCFILE = ls_file-doc_path.
    ls_files-CHECKEDIN = 'X'.
    This FM will work. No issues just check the values you are psssing into this LS_FILES structure.
    Rest of the fields are corect.
    Thanks,
    Murali.

  • How to do Check in the files for the document number?

    Hi ,
    By using BAPI_DOCUMENT_CHECKIN2 Function module I am uploading the Files for the Document number.
    My problem is - After uploading the files to the document number the files are not in check in status.
    I want the files to be checked in after uploading the from the FM.
    Can anyone tell me what I am missing ? How to do check in the files.
    I am passing the following values to FM.
          ls_files-SOURCEDATACARRIER = ls_file-DATA_CARRIER.
          ls_files-WSAPPLICATION     = ls_file-application.
          ls_files-DESCRIPTION       = ls_file-file_desc.
          ls_files-STORAGECATEGORY   = ls_file-category.
          ls_files-DOCFILE           = ls_file-doc_path.
          ls_files-CHECKEDIN         = 'X'.
        CALL FUNCTION 'BAPI_DOCUMENT_CHECKIN2'
          EXPORTING
            DOCUMENTTYPE            = ls_file_data-dokar
            DOCUMENTNUMBER          = ls_file_data-doknr
            DOCUMENTPART            = ls_file_data-doktl
            DOCUMENTVERSION         = ls_file_data-dokvr
          IMPORTING
            RETURN                  =  ls_return
          TABLES
            DOCUMENTFILES           =  lt_files
        COMPONENTS              =
        DOCUMENTSTRUCTURE       =
    I appriciate you response on this.
    Thanks in advance.

    Any answers for this?
    Thanks.

  • Accidentally exited out of the loading screen after making my purchase, should I retry or how do I check if the payment went through?

    Accidentally exited out of the loading screen after making my purchase, should I retry or how do I check if the payment went through?

    check your account, https://www.adobe.com/account.html

  • How to check if the Oracle e-business suite upgraded from 11 to 12 ?

    Hi All,
    Could you please advise how we can check if the Oracle e-business suite application upgraded from 11 to 12 ?
    Regards,
    Mohammed Mostafa

    It is needed as some steps will be applied if it is upgraded from 11 to 12..
    here is the output :
    $
    $ grep -i "s_rapidwizloc" /xxxxx/inst/apps/XXXXX_host/appl/admin/XXXXX_host.xml
                <rapidwizloc oa_var="s_rapidwizloc">/autofs/cclibrary/CCrepos/linux_x86-64/EBizCC/1213/startCD/Disk1/rapidwiz</rapidwizloc>
    $
    $
    $ grep -i "s_installloc" /xxxxx/inst/apps/XXXXX_host/appl/admin/XXXXX_host.xml
                <installloc oa_var="s_installloc">/autofs/cclibrary/CCrepos/linux_x86-64/EBizCC/1213/startCD/Disk1</installloc>
    $
    How we can check then please if it is a fresh R12 installation or an upgraded from 11i? ?
    Regards,
    Mohammed

  • How I can check on the existence of a client ActiveX, so that if there is no download begins?

           
    How
    I can check on
    the existence of a client
    ActiveX, so that
    if there is no download begins?
    example:
    I want tocheck for:
    EditDocumentButton = new ActiveXObject "SharePoint.OpenDocuments.2");
    if (EditDocumentButton) {
    EditDocumentButton.EditDocument (strDocument);
    and ifthere is nowarning andlaunch aURLto startthe
    download
    as is?
    thanks

    Hello,
    This control is defined in the OWSSUPP.dll file, a dynamic-link library (DLL) that is installed in the %ProgramFiles%\Microsoft Office\Office14\ directory on the client computer during Microsoft Office Setup. (Read
    full article on MSDN)
    Based on my understanding this below link can help you to open file if activex is not found.
    http://blog.scosby.com/post/2011/08/22/Remotely-Opening-Office-Files-From-SharePoint-2010.aspx
    Now to detect the activex please look this code:
    http://www.andrewshough.com/sharepoint/multiple-office-version-support-in-sharepoint-services-3-0/
    Hope it could help
    Hemendra:Yesterday is just a memory,Tomorrow we may never see
    Please remember to mark the replies as answers if they help and unmark them if they provide no help

  • How to check if the app is preloaded or installed from Windows Phone marketplace

    I have an application which microsoft is preloading in some devices. I want to give offers to those users who are using these preloaded apps. But how can i distinguish if the app is preloaded or installed from marketplace on that device?

    Try IsApplicationPreInstalled property in DeviceExtendProperties
    https://msdn.microsoft.com/library/windows/apps/microsoft.phone.info.deviceextendedproperties(v=vs.105).aspx
    Dim isPreinstalled As Boolean = DirectCast(DeviceExtendedProperties.GetValue("IsApplicationPreinstalled"), Boolean)
    Gaurav Khanna | Microsoft .NET MVP | Microsoft Community Contributor

  • Check if the SFP is 1G or 10G from UCSM?

    Hi
    how to check if the SFP is 1G or 10G from  UCSM?
    Anandraj

    From the Equipment tab, expand the Fabric Interconnect, Expand the associated module then click on the port in question.  On the right side the SFP Model and Type will display.  From there, do a search for the model type if you don't know it offhand.
    Robert

Maybe you are looking for

  • Using DBMS_LOCK  in function gives error

    Dear Guru's I need to use the DBMS_LOCK.sleep. Hence to get more info i searched the forum and I found this code from the forum CREATE OR REPLACE FUNCTION sleep (secs_in IN INTEGER) RETURN NUMBER is BEGIN DBMS_LOCK.sleep(secs_in); RETURN secs_in; END

  • Cover flow only to preview my current playlist?

    My music on my iPhone 4 previews as lists on portrait mode based on a playlist fine. It shows all my albums perfectly within that specific playlist folder. However when I switch over to landscape cover flow mode to view the album covers, it lists out

  • Unable to open acsm files in ADE. "Error! Check activation." Any idea?

    Unable to open acsm files in ADE (e-books I have recently bought and borrowed, too). I get the message "Error! Check activation." The ADE programme is authorized on both PCs in use. Any idea?

  • I am having problem with calls.Please help.

    When I get a call from someone I can't hear him,If I call him still I can't hear him clearly but he can hear me clearly.The call drops very often.What should I do and why is this problem causing? Solved! Go to Solution.

  • BAPI  STRUCTRE

    HI, I am samba, new for bapi consept; please help me on bapi. what is line structure. why we are not use line structure in bapi, and why bapi does not taken the same structures used in existing applications.     And explain about key field and event