home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 10 Tools
/
10-Tools.zip
/
opendc12.zip
/
SG244883.ZIP
/
4_3.2
< prev
next >
Wrap
Text File
|
2001-01-27
|
5KB
|
138 lines
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
<HTML>
<HEAD>
<base href="http://publib.boulder.ibm.com:80/cgi-bin/bookmgr/BOOKS/EZ30OZ00/4.3.2">
<title>
4.3.2 "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#4.3.2"><img src="/bookmgr/contents.gif" border=0 alt="[Contents]"></a>
<img src="/bookmgr/drevs.gif" border=0 alt="[Revisions]">
<a href="4.3.1"><img src="/bookmgr/prev.gif" border=0 alt="[Prev Topic]"></a>
<a href="4.3.3"><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="HDRODSCOT"><H3> 4.3.2 Text Part</H3></a>
</banner>
<pre width="80">
<p>
The Text Part is the base text-handling part delivered with OpenDoc for
the OS/2 platform. This part exists primarily for the authoring and
rendering of text-type data. As such, its primary content type is ASCII
text.<a href="#FIG4610S1E"> Figure 125</a> shows the text in the Text Part which is a Root Part.
The text was pasted via the clipboard in this example. This Text Part
supports the following four ways to fill text in its frame:
<p>
░ Type in a text when its activated.
<p>
░ Cut, copy, paste via the clipboard.
<p>
░ Drag and drop a text file object.
<p>
░ Import a text file.
<p>
<p>
<a name="FIG4610S1E"><hr>
</a>
<p>
<p>
<a href="picture-119?mode=zoom"><img src="/bookmgr/pictures/EZ30OZ00.P119.GIF" alt="PICTURE 119"></a>
<p>
<p>
<hr>
Figure 125. Text Part
<p>
The <B>Import</B> function as you see in the Option submenu in <a href="#FIG4610S1E">Figure 125</a> gives
you a window that allows you to select a file to import.<a href="#FIG4610S1E"> Figure 125</a> also
shows you other functions supported in this part, such as the <B>Export</B>
function to export the text to a file in ASCII or RTF format and text
formatting functions. The text formatting falls into two areas, font
details and layout details. Regarding font handling, the Text Part
supports the following:
<p>
░ Default fonts for the entire part
<p>
░ Default foreground and background colors
<p>
░ Default font attributes (such as italic, bold, underline, strikeout
and outline)
<p>
<p>
To do text layout, the Text Part supports the following:
<p>
░ Margin and indent specifications
<p>
░ Line and paragraph spacing
<p>
░ Text alignment (such as left, right and centered)
<p>
<p>
<a name="FIG4610S1F"><hr>
</a>
<p>
<p>
<a href="picture-120?mode=zoom"><img src="/bookmgr/pictures/EZ30OZ00.P120.GIF" alt="PICTURE 120"></a>
<p>
<p>
<hr>
Figure 126. Drag and Drop between Two Different OpenDoc Documents
<p>
<a href="#FIG4610S1F">Figure 126</a> shows the marked area of text that was copied from one document
(bottom window) to another document (top window) by the drag and drop
operation. Both windows are different documents and each has the Text
Part as a Root Part. You can also get the same result by using the copy
and paste operation:
<p>
1. Select a range of text by marking it using the mouse.
<p>
2. Select <B>Copy</B> from the Edit submenu of the source window to copy the
marked text to the clipboard.
<p>
3. Select <B>Paste</B> from the Edit menu of the target window.
<p>
<p>
If you click with the second mouse button inside a Text Part you will get
a pop-up menu with the following functions:
<p>
░ Export text
<p>
░ Change font
<p>
░ Change style
<p>
░ Change color
<p>
░ Cut
<p>
░ Copy
<p>
░ Paste
<p>
░ Delete
<p>
<p>
The Cut, Copy and Delete options will only be available when an area of
text has been marked.
</pre>
</pre>
<hr>
<br><a href="4.3.1"><img src="/bookmgr/prev.gif" border=0 alt="[Prev Topic]"></a>
<a href="4.3.3"><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>