home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / opendc12.zip / SG244883.ZIP / 2_5_2.3 < prev    next >
Text File  |  2001-01-27  |  4KB  |  84 lines

  1. <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
  2. <HTML>
  3. <HEAD>
  4. <base href="http://publib.boulder.ibm.com:80/cgi-bin/bookmgr/BOOKS/EZ30OZ00/2.5.2.3">
  5. <title>
  6. 2.5.2.3 "OS/2 WARP and OpenDoc" 
  7.   via IBM BookManager BookServer
  8. </title>
  9. </head>
  10. <body background="/bookmgr/backdrop.gif">
  11. <banner><br>
  12. <a href="../../library"><img src="/bookmgr/libicon2.gif" border=0 alt="[Library]"></a>
  13. <a  href="CONTENTS#2.5.2.3"><img src="/bookmgr/contents.gif" border=0 alt="[Contents]"></a>
  14. <img src="/bookmgr/drevs.gif" border=0 alt="[Revisions]">
  15. <a href="2.5.2.2"><img src="/bookmgr/prev.gif" border=0 alt="[Prev Topic]"></a>
  16. <a href="2.6"><img src="/bookmgr/next.gif" border=0 alt="[Next Topic]"></a>
  17. <a href="../../search?book=EZ30OZ00"><img src="/bookmgr/search.gif" border=0 alt="[Search]" ></a>
  18. <img src="/bookmgr/dslist.gif" border=0 alt="[Search Results]">
  19. <img src="/bookmgr/dsprev.gif" border=0 alt="[Prev Topic Match]">
  20. <img src="/bookmgr/dsnext.gif" border=0 alt="[Next Topic Match]">
  21. <img src="/bookmgr/dnotes.gif" border=0 alt="[Notes]">
  22. <img src="/bookmgr/dlnotes.gif" border=0 alt="[List Notes]">
  23. <a  href="../../print?book=EZ30OZ00"><img src="/bookmgr/print.gif" border=0 alt="[Print]"></a>
  24. <a href="../../download/EZ30OZ00.boo"><img src="/bookmgr/download.gif" border=0 alt="[Download]" ></a>
  25. <a  href="../../help/book"><img src="/bookmgr/help.gif" border=0 alt="[Help]"></a>
  26. <hr>
  27. <a name="HDR4610DOL"><H4> 2.5.2.3   Linking</H4></a>
  28. </banner>
  29. <pre width="80">
  30.    In addition to drag and drop, linking is maintaining a link to the source 
  31.    data. One source can be linked to different target components publishing 
  32.    to these components when its data changes, as shown in<a href="#FIG4610D49"> Figure 30</a>.  The 
  33.    target components can subscribe to the source to be informed automatically 
  34.    or on request when the data changes.  The following are two ways to update 
  35.    a link (as seen in<a href="#FIG4610D50"> Figure 31</a>): 
  36. <p>
  37.    1.  Automatically 
  38.    2.  Manually 
  39. <p>
  40.    If the link is updated automatically, which is the default, then each 
  41.    change of the source data is propagated.  If the link is to be updated 
  42.    manually, then the destination component must initiate the update with the 
  43.    Update now menu option. 
  44. <p>
  45. <a name="FIG4610D49"><hr>
  46.  </a>
  47. <p>
  48. <p>
  49.                                    <a href="picture-30?mode=zoom"><img src="/bookmgr/pictures/EZ30OZ00.P30.GIF" alt="PICTURE 30"></a>           
  50. <p>
  51. <p>
  52. <hr>
  53.  
  54.    Figure 30. OpenDoc Linking 
  55. <p>
  56.    OpenDoc implements a robust object linking mechanism with persistent IDs 
  57.    assigned to objects in order to achieve more reliable linking for both 
  58.    local and remote objects. 
  59. <p>
  60. <a name="FIG4610D50"><hr>
  61.  </a>
  62. <p>
  63. <p>
  64.                                    <a href="picture-31?mode=zoom"><img src="/bookmgr/pictures/EZ30OZ00.P31.GIF" alt="PICTURE 31"></a>           
  65. <p>
  66. <p>
  67. <hr>
  68.  
  69.    Figure 31. OpenDoc Paste As a Function 
  70. <p>
  71.    OLE 2.0 has proven to have fragile links that can break when moving 
  72.    objects, even within the same document.  For instance, OLE references an 
  73.    object via a moniker, which, typically, is a file name (path name) 
  74.    concatenated with a series of item name parts.  If  the file is deleted, 
  75.    renamed or moved, then the link breaks. 
  76. </pre>
  77. </pre>
  78. <hr>
  79. <br><a href="2.5.2.2"><img src="/bookmgr/prev.gif" border=0 alt="[Prev Topic]"></a>
  80. <a href="2.6"><img src="/bookmgr/next.gif" border=0 alt="[Next Topic]"></a>
  81. <cite>  ⌐ Copyright IBM Corp. 1996</cite>
  82. <HR><p><h6><a href="/cgi-bin/bookmgr/library">IBM BookManager« BookServer</a> Copyright 1989, 1999<a href="http://www.ibm.com/"> IBM</a> Corporation.  All rights reserved.</h6><p>
  83. </BODY></HTML>
  84.