How to add a link embedded in an image

My need is to add a link to the image to my frame and then incorporate him (on chassis or document). I won't show the image.

what I've done until now is,

  1. I selected the image using the application of the "SDKFileHelper.h" in the sdk.
  2. then I converted this file to a URI.

That's all.

There are few classes for links that I discovered. ILinkManager, ILInksManaget, ILink, ILinkReosource... etc.
But there is not any good sample to see the use of those.

Can you please tell me how I can integrate the image link in the frame of the document.

First place the image file in a frame.

You now once the frameRef do what suite:

LinkUID UID is Utils()-> FindLink (frameUIDRef);.

If (linkUID! = kInvalidUID)

{

ResourceUID UID is Utils()-> FindLinkResource (frameUIDRef);.

InterfacePtr linkRes (pageItemUIDRef.GetDataBase (), resourceUID, UseDefaultIID());

{If (linkRes & {linkRes-> CanEmbed())}

linkRes-> Embed();

}

}

Tags: InDesign

Similar Questions

  • How to add my link (folder) to the side RIGHT of the Start Menu?

    How to add my link (folder) to the side RIGHT of the Start Menu? I mean under my documents my music.

    Do I need a registry change or easy way?

    See my post here.

    Replace "Set Program Access and Defaults" Start Menu XP with trash:
    http://groups.Google.com/group/Microsoft.public.WindowsXP.customize/browse_thread/thread/1479ca45f5598b84/91bef4c26cd81c6b?q=replace+%7B2559A1F7-21D7-11D4-BDAF-00C04F60B9F0%7d
    Ramesh Srinivasan, Microsoft MVP [Windows Desktop Experience]

  • How to add a link to the html area to launch a dynamic action?

    Hey, guys:

    I need to add a link to a region of html hyper (I wish it could be a button :(), the value of the items in this region is loaded by a process of pl/sql before loading the header. And this link must trigger a dynamic action to update the database. I know how to add a link Super in this region, but how to define this link if I can launch a dynamic action by clicking on this link, could someone give me a hint?

    Thank you very much in advance.

    Sam

    Published by: lxiscas on April 11, 2013 17:04

    When I said updateRec I was just a name. Using the class alias_ncic will produce exactly the same result.
    Learn more about what you're trying to do, I wouldn't do that with DA at all. I would probably do the link send page and launch a process that call your PL/SQL. But if you must do a DA I'll try to explain a technique below.

    When you say

    Then, I pass two values of two hidden variables:

    P216_H_NCIC_APPROVE_TABLE_NAME---> "SOR_ALIAS".
    P216_H_NCIC_APPROVE_KEY_VALUE---> #ALIAS_ID #.

    Your link not pass anything because you never actually call the link, you have a DA of the substitution of the link action.

    So... try something like that. Use it for your link attributes:

    onclick="return false;" class="alias_ncic" title="NCIC Approve" id="#ALIAS_ID#" rel="SOR_ALIAS"
    

    This defines two attributes more to enter the values you need to.

    In yourself DA action on a.alias_ncic add two actions to "set the value.
    1.
    Action: Set
    Set Type: Javascript
    JavaScript expression: this.triggeringElement.getAttribute ("id")
    Assigned items: P216_H_NCIC_APPROVE_KEY_VALUE

    2.
    Action: Set
    Set Type: Javascript
    JavaScript expression: this.triggeringElement.getAttribute ("rel")
    Assigned items: P216_H_NCIC_APPROVE_TABLE_NAME

    Now you have your values defined.
    Make sure that in your PL/SQL Execute Code action you both of these elements in the field "Page to go" so that they values are actually passed.

    That should do it.
    Thank you
    -Jorge

    Published by: jrimblas on April 29, 2013 16:49

  • I need help for my gradual removal, in the animation: how to add a link to your animation?

    I really want to know how to add the link to your animation.

    Well when I pass the mouse on my animation film, it stops and when I leave the animation continues... but what I want when the mouse over the animation, I want to click on the animation and get me a link.

    Here is my code and I'd really appreciate any help... Thank you very much in advance.

    function stopFade(event:MouseEvent)
    {
    Container.Stop ();
    }
    function resumeFade(event:MouseEvent)
    {
    Container.Play ();
    }
    function aller(event:MouseEvent)
    {
    getURL (www.google.com);
    }

    container.addEventListener (MouseEvent.MOUSE_OVER, stopFade);
    container.addEventListener (MouseEvent.CLICK, go);
    container.addEventListener (MouseEvent.MOUSE_OUT, resumeFade);

    You should learn how to use the Flash help documents.  If you are looking for the function that I said to use the answer for you (I'm not complaining, but try to help you to learn how to help yourself)

    navigateToURL (new URLRequest ("http://www.google.com"), '_self');

  • Three computers all accounts for every child now dealt with separately in the family, how to add a link to them?

    I have three computers in the House where my kids at school at home make their school work.  In the past, I have their accounts linked to a single identity within the family safety and can enable and disable applications or web sites for each child for all the computers in the House from one place.  For some reason any now each account for each child on each computer is listed separately so that if I want to add a web site to a particular child, I need to do it in three different places.  In addition, there was once a button to allow the Web site on all children so if I want to allow for each child, I need to go to every child on each computer that is a lot more work.  How to re - link the so that each computer is connected to the same family safety account?  Thank you.

    Hi Troy,

    I'll be happy to help you with the problem you have with parental control. I understand the frustration when things do not work as it should.

    I suggest you to connect to http://familysafety.microsoft.com/ and delete the child's account and re - add.

    Please follow the link below to find out how to add accounts of child safe family.

    http://Windows.Microsoft.com/en-us/Windows/set-up-family-safety#set-up-family-safety=Windows-8

    Hope this information is useful. Just reply in case you need additional information. I'll be happy to help you.

  • How to add a link in your page layout of Adobe Comp CC like button «read more»

    Hi, I am trying to add a link to my layout designed in Comp CC - someone has an idea how achieve? Thank you

    A model is a rough layout. There no be functional, so it's not possible. That's what you add in InDesign, Illustrator or Photoshop.

  • How to add buttons/links in video

    Hello

    I'm new to video editing. I'm looking to add a link to replay and a go at the URL once my movie plays through. I use Flash CS3 pro. If someone could give me specific instructions or direct me to a tutorial asking me how to do this I would appreciate it a lot.

    Thank you.

    Paul

    affect their visible to false property until the full video game:

    replayBtn.visible = false;

    urlBtn.visible = false;

    flv.addEventListener (VideoEvent.COMPLETE, videoCompleteF);

    function videoCompleteF(e:Event) {}

    replayBtn.visible = true;

    urlBtn.visible = true;

    }

  • How to add a link to the page complete multi-page PDF.

    Is it possible to add a link to the full page in multi-page PDF. So anywhere, I click on the page, it will take me to a specific hyperlink.

    I know there is a link to feature, but I can not create an action on its behalf and therefore cannot automate to easily update all the pages and many docs with it. I also looked in invisible buttons, then right clicking on it and the replication of all pages. This will be my last resort if there is no other options but its still not easy to do what I have to re-create the link for each document layer and must reproduce all individually on a page-by-page. Even if not for several files, it would always be very happy to be able to clone an element to link to all pages in a document.

    Else I've tried creating a layer in InDesign with a link and then using the Action to import layers, but that also doesn't seem to work.

    Any ideas?

    Thank you!

    You can use the Javascript method addLink the doc object.

  • How to add a link to a search engine?

    Hi, I would like to add a link to a search engine for here: www.pracuj.pl - it would be perfect if I could have the same research framework, since the top of the page - on my site too, is this possible? I'm really looking forward to hear from you, I'm doing a site for tomorrow

    Hello

    You can include Google custom search in your site page and then design the presentation of research by using custom code, or if your hosting company provides search you for modules to add on your site then you can go with that.

    This must be done end of accommodation, you can copy the code and use it in the pages of Muse.

    If you use Adobe servers to host your site, you can use the search module and place it on the page.

    Let me know if you have any additional questions.

    Thank you

    Sanjit

  • How to add URL links in the XML file?

    Hello

    I have a problem with adding the URL links to the power of lightning. I use the XML file to call images, then the corrsponding links. Images are called correctly but when I try to add a link I do not receive the links, but rather to get the anchor HTML text tags. I use escape XML characters to escape HTML tags, but the results are not what I need.

    I use the following code:

    < preview = "miniature large.jpg" thumb = "thumb.jpg" > "
    < title > <! [CDATA [Financial Services]] > < / title >
    < discription > <! [CDATA [& lt; a href = & quot; ]] http://www.google.ca "> Google < / a > " [[ ]] > < / discription >
    < / thumbnails >

    ---------------------------

    Output:

    Images are displayed correctly, but instead get the links, I get following message:

    " < a href =" http://www.Google.ca "> < /a > Google .

    I need to know what I'm doing wrong. I use the proper way to add links or not?

    Thanks for your time.

    Use tags html directly inside CDATA - after all, what CDATA is for.

  • How to add a jpg file. watermark to images in bridge?

    I'm working on adding a jpg file. watermark my images in bridge and also how batch add watermark.

    Add a jpg file. watermark my images in bridge and also how batch add watermark.

    You can do so in bridge's only option for an inherent watermark via the output Module on a contact in PDF sheet.

    Better try this question in the forum of Photoshop, they might have better answers because you need to create an action in PS to get what you want.

  • How to add a link to a Web page directly on my firefox home page

    Safari has a function which, on their homepage, are small boxes that are links to Web sites, you go often to which is so useful. Can I do this with Firefox? I don't want to type in my goto sites every time, especially if I go to them every day.
    Thank you!!

    Fred mentioned using the bookmarks toolbar. See this article on this subject.
    https://support.Mozilla.org/en-us/KB/bookmarks-toolbar-display-favorite-websites

    I don't use Safari in a good number of years, so I don't know what functions it has. The default Firefox Start Page / Home Page is incorporated into the code of Firefox and has no configurable element of the user where the user can add anything; However, it loads information from a secure server of Mozilla that changes from time to time.

    But you can define what you want to be "your" home page that appears whenever you open Firefox relatively easily.
    See - How to set the home page

  • I've just upgraded to Version 8 and want to know how to add a link to Google Maps om the toolbar at the top of the home page.

    I just submitted a question... opened an account... received an e-mail that says there is an answer to my question, all I had to do was go to the link in the email. The window where I thought that the response closed. Where is the answer to my question?

    Hi ja171,

    Not sure where is your answer, but I think I can help you with your problem. All you have to do is:

    1. Go to maps.google.com
    2. Click on bookmarks-> Bookmark this Page. You can also use CTRL + D as a keyboard shortcut. This will open a dialog box asking where you want to save your bookmark.
    3. In the drop-down file menu, choose Bookmarks Toolbar and select done.

    There are lots of good information in the article How do I use bookmarks. You should check it out for some other tips.

    Hope this helps!

  • How to add the link change in the detail view of the interactive report?

    Hello

    I use APEX 5.0 on 11g XE.

    I have an interactive report displaying multiple records with a column of link which is one of to an edition for the registration page. All the standard stuff 'wizard generated. I have also created a layout of the detail view. It all works very well.

    However. I want IR to show detail discovers all the time and hide all Toolbar IR. How can I show the link change in the detail for each record view?

    Y at - it an easy way to do this by adding a column reference (something like: #LINKCOLUMN #?) or do I need to create it manually with an < a href... > tag. I guess that this method would require me to generate a checksum with apex_util.prepare_url?

    Nick

    Nick4 wrote:

    Good point. I agree, however, I want to keep it as an interactive report that I must keep my options open as showing the data... every customer is different, I can change my mind.

    Other options are available for this. Compilation options to be exact... create IR and parts of standard report and determine who gets deployed by setting the build on the export options.

    I was hoping there was an easy way to display the IR link column in the detail view, but looks like I need to create one manually in the HTML "for each line" in the detail view section.

    It works, but no checksum complains...

    EDIT

    So have added as a column in the query:

    APEX_UTIL. URL PREPARE_URL('f?p=&APP_ID.:14:&session.::no::P14_CONTACT_ID:#CONTACT_ID#:', NULL, 'SESSION')

    and this for the HTML:

    But the URL is always wrong... #CONTACT_ID # always ends after the checksum...?

    You are mixing HTML/model and SQL syntax. #CONTACT_ID # does not substitute for CONTACT_ID value in the query. The column value should be included in the URL before calculating the checksum:

    ...
    apex_util.prepare_url('f?p=' || :app_id || ':14:' || :app_session || '::NO::P14_CONTACT_ID:' || contact_id, NULL, 'SESSION') url
    ...
    

    Note that substitution integrated always strings need to be referenced as bind variables in SQL to avoid unnecessary analysis.

  • How to add a link to a piece of bubble

    Hi all

    I'm new with OFA and I have 4 requirements with OFA page. I need help of the gurus of the OFA. I'm trying iProcurement Checkout: requisition information page.

    Here are the requirements:

    1 > on this page he have a drop-down list and the drop-down list with 3 values 'No opinion', 'yes' and 'no' and which place having also an icon of the long point.

    Now, when the user clicks on this window of IE icon then a long piece is open with some advice... Now the requirement is I want to replace the information edge with a link like "http:/ /xxxx/yyy/zzz/test.aspx.

    When the user click on this link to new browser that should be open.

    2 > on the same page and with the same (taxable field) drop-down list, this taxable field having 3 options, I said 'No opinion', 'yes' and 'no '... Now, I want to remove the "Don't KNOW" option under Taxable.

    3 >'Yes' or 'No' is not by default in the taxable field; this should requires the user to make a selection. If the user does not have a choice, an error message is displayed and the user cannot move to the next step.

    4 > on the same page, there is a region where some two paragraph are there now I want to add a third paragraph with a link like "http:/ /xxxx/yyy/zzz/test.aspx.

    and that the paragraph font color should be red and when the user clicks on the link of the same paragraph, then the link should be opened in a new window.

    Kindly give an idea to me to resolve the issues...

    Thank you...

    For my 2nd and 3rd, I tried these solutions:

    for the 2nd:

    OAMessageChoiceBean oamessagechoicebean = (OAMessageChoiceBean) webBean.findChildRecursive ("Taxable");

    If (oamessagechoicebean! = null)

    {

    oamessagechoicebean.setDefaultValue ("SYSTEM");

    }

    for 3rd:

    OAMessageChoiceBean oamessagechoicebean = (OAMessageChoiceBean) webBean.findChildRecursive ("Taxable");

    If (oamessagechoicebean! = null)

    {

    String TaxableValue = (String) oamessagechoicebean.getAttributeValue ("Taxable");

    If (TaxableValue is 'SYSTEM')

    {

    throw new OAException ("select Yes OR No.", OAException.ERROR);

    }

    }

    But things change...

Maybe you are looking for

  • How do you prevent bookmarks (library) to appear on each page of the Web site I visit?

    The library takes the 'focus' and blocks the view of what I'm watching on the web page. I use Windows 7, Firefox 25.0 "up-to-date".

  • HARD on my Tecra 8000 P11 drive failure

    Hello I hope someone can help,I have an old tecra 8000 P11 and the HARD drive failed, I tried re starting from the cd but says disc hard is not recognized or does not. any ideas?Can someone point me in the direction of a compatible HARD drive replace

  • Blue screen of death driver_irql_not_less_or_equal

    Lennovo x 230 Windows 7 I get the bsod in the attached photo, whenever I try to start. Start in safe mode without network works, but system restore on the above does not work. Any help is incredibly appreciated, even though I don't have access to a c

  • Cannon create new folders

    When I right click, I get the menu. I select 'New', and I get a second menu with options. The second menu is not the folder option. How can I restore folder in the menu "click/New right? Sonny ;)

  • Windows 7 custom sound system plays not

    I tried to substitute other sounds .wav for standard system sounds in System 7, but they do not play. These same soundsdo play if I select and play in a window of Windows Explorer. Standard system sounds (I use Raga) play as expected. Any thoughts on