home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 10 Tools
/
10-Tools.zip
/
opendc12.zip
/
SG244883.ZIP
/
2.3
< prev
next >
Wrap
Text File
|
2001-01-27
|
5KB
|
101 lines
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
<HTML>
<HEAD>
<base href="http://publib.boulder.ibm.com:80/cgi-bin/bookmgr/BOOKS/EZ30OZ00/2.3">
<title>
2.3 "OS/2 WARP and OpenDoc"
via IBM BookManager BookServer
</title>
</head>
<body background="/bookmgr/backdrop.gif">
<banner><br>
<a href="../../library"><img src="/bookmgr/libicon2.gif" border=0 alt="[Library]"></a>
<a href="CONTENTS#2.3"><img src="/bookmgr/contents.gif" border=0 alt="[Contents]"></a>
<img src="/bookmgr/drevs.gif" border=0 alt="[Revisions]">
<a href="2.2"><img src="/bookmgr/prev.gif" border=0 alt="[Prev Topic]"></a>
<a href="2.3.1"><img src="/bookmgr/next.gif" border=0 alt="[Next Topic]"></a>
<a href="../../search?book=EZ30OZ00"><img src="/bookmgr/search.gif" border=0 alt="[Search]" ></a>
<img src="/bookmgr/dslist.gif" border=0 alt="[Search Results]">
<img src="/bookmgr/dsprev.gif" border=0 alt="[Prev Topic Match]">
<img src="/bookmgr/dsnext.gif" border=0 alt="[Next Topic Match]">
<img src="/bookmgr/dnotes.gif" border=0 alt="[Notes]">
<img src="/bookmgr/dlnotes.gif" border=0 alt="[List Notes]">
<a href="../../print?book=EZ30OZ00"><img src="/bookmgr/print.gif" border=0 alt="[Print]"></a>
<a href="../../download/EZ30OZ00.boo"><img src="/bookmgr/download.gif" border=0 alt="[Download]" ></a>
<a href="../../help/book"><img src="/bookmgr/help.gif" border=0 alt="[Help]"></a>
<hr>
<a name="HDR4610DPT"><H2> 2.3 All About Parts</H2></a>
</banner>
<pre width="80">
<p>
OpenDoc provides an object-oriented user model, where documents are
objects that contain other objects, and where each object may have
distinct behaviors. However, object isn't a term that typical users
understand in a document context, so we use part instead (for "part of the
document"). Parts enable all kinds of content to be combined into a
single document. The user sees each part as a self-contained entity with
its own content, behavior, and set of properties. Each part contains one
kind of data that's intrinsic to it, and may contain other parts as well.
<p>
A component is the fundamental building block of a compound document. It
consists, as shown in <a href="#FIG4610D41">Figure 9</a>, of the component data and the part
handler, which is the code to change and display the data. OpenDoc also
has the concept of component viewers, which are a subsets of the part
handler. They can display and print the data of a part but not change the
content.
<p>
<a name="FIG4610D41"><hr>
</a>
<p>
<p>
<a href="picture-9?mode=zoom"><img src="/bookmgr/pictures/EZ30OZ00.P9.GIF" alt="PICTURE 9"></a>
<p>
<p>
<hr>
Figure 9. OpenDoc Parts
<p>
<p>
Compnents are independently functional units, similar to am executable
program with following differences:
<p>
░ Components are compiled as DLLs note EXE.
░ Components are loaded dynamically.
<p>
Components are task-specific and specific for a certain data type. The
kind of data may be text, graphics, a spreadsheet, sound, video, image or
even a button with a function. Each kind of data is handled by a specific
part handler. Components are designed to work cooperatively with other
components and are replacing today's monolithic applications.
Applications have become a configured set of components.
<p>
<p>
The following describes the differences between a document, consisting of
parts versus the document, created by conventional applications:
<p>
░ An OpenDoc document is built and manipulated in the way that you
assemble your document out of parts of any graphics part handler of
your choice. For example, you may select a text component to write a
letter. If you wish to embed illustrations in that text, you simply
select and embed a graphics component in your text component.
<p>
░ While editing, copying, or pasting a part, you do not need to be aware
of which part handler is being executed. You directly manipulate the
component within the context of the document.
<p>
<p>Subtopics:
<ul>
<li> <a href="2.3.1"> 2.3.1 Parts and Documents</a>
<li> <a href="2.3.2"> 2.3.2 Intrinsic and Embedded Part Contents</a>
<li> <a href="2.3.3"> 2.3.3 OpenDoc Part Editors and Viewers</a>
<li> <a href="2.3.4"> 2.3.4 Properties of Parts</a>
<li> <a href="2.3.5"> 2.3.5 Working with Parts</a>
</pre>
</ul>
<hr>
<br><a href="2.2"><img src="/bookmgr/prev.gif" border=0 alt="[Prev Topic]"></a>
<a href="2.3.1"><img src="/bookmgr/next.gif" border=0 alt="[Next Topic]"></a>
<cite> ⌐ Copyright IBM Corp. 1996</cite>
<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>
</BODY></HTML>