home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / opendc12.zip / SG244883.ZIP / 2.3 < prev    next >
Text File  |  2001-01-27  |  5KB  |  101 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.3">
  5. <title>
  6. 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.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.2"><img src="/bookmgr/prev.gif" border=0 alt="[Prev Topic]"></a>
  16. <a href="2.3.1"><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="HDR4610DPT"><H2> 2.3   All About Parts</H2></a>
  28. </banner>
  29. <pre width="80">
  30. <p>
  31.    OpenDoc provides an object-oriented user model, where documents are 
  32.    objects that contain other objects, and where each object may have 
  33.    distinct behaviors.  However, object isn't a term that typical users 
  34.    understand in a document context, so we use part instead (for "part of the 
  35.    document").  Parts enable all kinds of content to be combined into a 
  36.    single document.  The user sees each part as a self-contained entity with 
  37.    its own content, behavior, and set of properties.  Each part contains one 
  38.    kind of data that's intrinsic to it, and may contain other parts as well. 
  39. <p>
  40.    A component is the fundamental building block of a compound document.  It 
  41.    consists, as shown in <a href="#FIG4610D41">Figure 9</a>, of the component data and the part 
  42.    handler, which is the code to change and display the data.  OpenDoc also 
  43.    has the concept of component viewers, which are a subsets of the part 
  44.    handler.  They can display and print the data of a part but not change the 
  45.    content. 
  46. <p>
  47. <a name="FIG4610D41"><hr>
  48.  </a>
  49. <p>
  50. <p>
  51.                                    <a href="picture-9?mode=zoom"><img src="/bookmgr/pictures/EZ30OZ00.P9.GIF" alt="PICTURE 9"></a>          
  52. <p>
  53. <p>
  54. <hr>
  55.  
  56.    Figure 9. OpenDoc Parts 
  57. <p>
  58. <p>
  59.    Compnents are independently functional units, similar to am executable 
  60.    program with following differences: 
  61. <p>
  62.    ░   Components are compiled as DLLs note EXE. 
  63.    ░   Components are loaded dynamically. 
  64. <p>
  65.    Components are task-specific and specific for a certain data type.  The 
  66.    kind of data may be text, graphics, a spreadsheet, sound, video, image or 
  67.    even a button with a function.  Each kind of data is handled by a specific 
  68.    part handler.  Components are designed to work cooperatively with other 
  69.    components and are replacing today's monolithic applications. 
  70.    Applications have become a configured set of components. 
  71. <p>
  72. <p>
  73.    The following describes the differences between a document, consisting of 
  74.    parts versus the document, created by conventional applications: 
  75. <p>
  76.    ░   An OpenDoc document is built and manipulated in the way that you 
  77.        assemble your document out of parts of any graphics part handler of 
  78.        your choice.  For example, you may select a text component to write a 
  79.        letter.  If you wish to embed illustrations in that text, you simply 
  80.        select and embed a graphics component in your text component. 
  81. <p>
  82.    ░   While editing, copying, or pasting a part, you do not need to be aware 
  83.        of which part handler is being executed.  You directly manipulate the 
  84.        component within the context of the document. 
  85. <p>
  86. <p>Subtopics:
  87. <ul>
  88. <li>  <a href="2.3.1"> 2.3.1 Parts and Documents</a>
  89. <li>  <a href="2.3.2"> 2.3.2 Intrinsic and Embedded Part Contents</a>
  90. <li>  <a href="2.3.3"> 2.3.3 OpenDoc Part Editors and Viewers</a>
  91. <li>  <a href="2.3.4"> 2.3.4 Properties of Parts</a>
  92. <li>  <a href="2.3.5"> 2.3.5 Working with Parts</a>
  93. </pre>
  94. </ul>
  95. <hr>
  96. <br><a href="2.2"><img src="/bookmgr/prev.gif" border=0 alt="[Prev Topic]"></a>
  97. <a href="2.3.1"><img src="/bookmgr/next.gif" border=0 alt="[Next Topic]"></a>
  98. <cite>  ⌐ Copyright IBM Corp. 1996</cite>
  99. <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>
  100. </BODY></HTML>
  101.