home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / opendc12.zip / SG244883.ZIP / 2_3.3 < prev    next >
Text File  |  2001-01-27  |  7KB  |  132 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.3">
  5. <title>
  6. 2.3.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.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.3.2.1"><img src="/bookmgr/prev.gif" border=0 alt="[Prev Topic]"></a>
  16. <a href="2.3.4"><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="HDR4610DPH"><H3> 2.3.3   OpenDoc Part Editors and Viewers</H3></a>
  28. </banner>
  29. <pre width="80">
  30.    Part editor and part handler are two terms that are used in the OpenDoc 
  31.    literature in a synonymous way, just as the words parts and components. 
  32. <p>
  33.    There's little difference between the appearance of the OpenDoc window in 
  34.    <a href="#FIG4610D64">Figure 13</a> and that of a similar window in a page-layout application of 
  35.    today; manipulation of the window contents, however, can be very 
  36.    different.  When users interact with OpenDoc parts, the resulting behavior 
  37.    is determined by part editors and part viewers.  A part editor is a 
  38.    full-featured OpenDoc software component that allows the creation, 
  39.    editing, and viewing of parts of a particular kind, just as a conventional 
  40.    application allows manipulation of documents now. 
  41. <p>
  42. <a name="FIG4610D64"><hr>
  43.  </a>
  44. <p>
  45. <p>
  46.                                    <a href="picture-13?mode=zoom"><img src="/bookmgr/pictures/EZ30OZ00.P13.GIF" alt="PICTURE 13"></a>           
  47. <p>
  48. <p>
  49. <hr>
  50.  
  51.    Figure 13. An OpenDoc Document with Different Parts 
  52. <p>
  53.    Like applications, part editors are sold or licensed and are legally 
  54.    protected from unauthorized copying and distribution.  You supply users 
  55.    with the part editor (which the user installs in the Editors folder in the 
  56.    System Folder) and also a stationery pad (which the user will double-click 
  57.    or drag to create an OpenDoc document or part). 
  58. <p>
  59.    A part viewer is a special, limited type of part editor that can display 
  60.    and print a particular kind of part but can't be used to create or edit 
  61.    such a part.  Often a part viewer will just be a part editor with its 
  62.    editing and part-creation capabilities removed.  It's important that part 
  63.    viewers be widely available, to allow portability of OpenDoc compound 
  64.    documents across machines and platforms.  Wide availability of a 
  65.    particular part viewer encourages purchase and use of its equivalent part 
  66.    editor, because users will know that other users will be able to view 
  67.    parts created with that editor. 
  68. <p>
  69.     ___ <B>Note:</B> ______________________________________________________________  
  70.    |                                                                        | 
  71.    | It may be possible to view a part even when neither its editor nor its | 
  72.    | viewer is present.  The application might have to translate the part   | 
  73.    | to be able to use another compatible editor.  For example, suppose a   | 
  74.    | user creates a document with a text editor named SurfWriter and sends  | 
  75.    | it to someone who doesn't have the SurfWriter editor; the document is  | 
  76.    | translated to a similar format supported by a text editor that the     | 
  77.    | receiving user does have (see <a href="2.4.1#HDR4610DBD">"Binding" in topic 2.4.1</a>).               | 
  78.    |                                                                        | 
  79.    |________________________________________________________________________| 
  80. <p>
  81.    Users don't work with icons for part editors and part viewers the way they 
  82.    work with application icons today.  Editors and viewers are not launched 
  83.    by double-clicking.  The icons for editors and viewers have a unique 
  84.    shape.  This shape provides maximum customizable space for your 
  85.    identifying elements, with no required badges or identifiers such as hands 
  86.    and pencils. 
  87. <p>
  88.    As a step toward becoming fully OpenDoc-compliant (that is, becoming part 
  89.    editors themselves), some applications will be converted to container 
  90.    applications, applications that allow parts to be embedded in their 
  91.    documents, much as some documents today allow the embedding of QuickTime 
  92.    format movies. 
  93. <p>
  94.    Many of today's applications have plug-in or extension APIs that may be 
  95.    used to add functionality to the application.  These will continue to be 
  96.    important to extending the capabilities of part editors. 
  97. <p>
  98.    OpenDoc part handlers are the <I>applications</I> in the OpenDoc architecture. 
  99.    When a part is being displayed or edited, a part handler is invoked to 
  100.    perform those tasks.  Just as an application performs basic editing, 
  101.    display, and printing tasks for a given document, part handlers perform 
  102.    these functions for parts. 
  103. <p>
  104.    Each part handler is responsible for the following basic functions: 
  105. <p>
  106.    ░   Rendering the part (both on-screen and printing).  The part handler 
  107.        may be asked to display the part on a dynamic medium such as a screen 
  108.        or a static medium such as the printed page. 
  109. <p>
  110.    ░   Editing the part.  The part handler must accept events and change the 
  111.        state of the part so that you can edit and script the part. 
  112. <p>
  113.    ░   Storage and memory management for the part.  The part handler is able 
  114.        to read the part from the storage medium into the memory, and manages 
  115.        its association with the part.  It is also able to write the part back 
  116.        out to storage medium. 
  117. <p>
  118. <p>
  119.    A part and its part handler together form the equivalent of a programmatic 
  120.    object, in the object-oriented programming sense of the word.  The OpenDoc 
  121.    part provides the data, while the part handler deals with the behavior of 
  122.    the data.  When bound together, they form an editable segment of a 
  123.    document. 
  124. </pre>
  125. </pre>
  126. <hr>
  127. <br><a href="2.3.2.1"><img src="/bookmgr/prev.gif" border=0 alt="[Prev Topic]"></a>
  128. <a href="2.3.4"><img src="/bookmgr/next.gif" border=0 alt="[Next Topic]"></a>
  129. <cite>  ⌐ Copyright IBM Corp. 1996</cite>
  130. <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>
  131. </BODY></HTML>
  132.