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 >
Text File  |  2001-01-27  |  5KB  |  138 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/4.3.2">
  5. <title>
  6. 4.3.2 "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#4.3.2"><img src="/bookmgr/contents.gif" border=0 alt="[Contents]"></a>
  14. <img src="/bookmgr/drevs.gif" border=0 alt="[Revisions]">
  15. <a href="4.3.1"><img src="/bookmgr/prev.gif" border=0 alt="[Prev Topic]"></a>
  16. <a href="4.3.3"><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="HDRODSCOT"><H3> 4.3.2   Text Part</H3></a>
  28. </banner>
  29. <pre width="80">
  30. <p>
  31.    The Text Part is the base text-handling part delivered with OpenDoc for 
  32.    the OS/2 platform.  This part exists primarily for the authoring and 
  33.    rendering of text-type data.  As such, its primary content type is ASCII 
  34.    text.<a href="#FIG4610S1E">  Figure 125</a> shows the text in the Text Part which is a Root Part. 
  35.    The text was pasted via the clipboard in this example.  This Text Part 
  36.    supports the following four ways to fill text in its frame: 
  37. <p>
  38.    ░    Type in a text when its activated. 
  39. <p>
  40.    ░    Cut, copy, paste via the clipboard. 
  41. <p>
  42.    ░    Drag and drop a text file object. 
  43. <p>
  44.    ░    Import a text file. 
  45. <p>
  46. <p>
  47. <a name="FIG4610S1E"><hr>
  48.  </a>
  49. <p>
  50. <p>
  51.                                   <a href="picture-119?mode=zoom"><img src="/bookmgr/pictures/EZ30OZ00.P119.GIF" alt="PICTURE 119"></a>            
  52. <p>
  53. <p>
  54. <hr>
  55.  
  56.    Figure 125. Text Part 
  57. <p>
  58.    The <B>Import</B> function as you see in the Option submenu in <a href="#FIG4610S1E">Figure 125</a> gives 
  59.    you a window that allows you to select a file to import.<a href="#FIG4610S1E">  Figure 125</a>  also 
  60.    shows you other functions supported in this part, such as the <B>Export</B> 
  61.    function to export the text to a file in ASCII or RTF format and text 
  62.    formatting functions.  The text formatting falls into two areas, font 
  63.    details and layout details.  Regarding font handling, the Text Part 
  64.    supports the following: 
  65. <p>
  66.    ░   Default fonts for the entire part 
  67. <p>
  68.    ░   Default foreground and background colors 
  69. <p>
  70.    ░   Default font attributes (such as italic, bold, underline, strikeout 
  71.        and outline) 
  72. <p>
  73. <p>
  74.    To do text layout, the Text Part supports the following: 
  75. <p>
  76.    ░   Margin and indent specifications 
  77. <p>
  78.    ░   Line and paragraph spacing 
  79. <p>
  80.    ░   Text alignment (such as left, right and centered) 
  81. <p>
  82. <p>
  83. <a name="FIG4610S1F"><hr>
  84.  </a>
  85. <p>
  86. <p>
  87.                                   <a href="picture-120?mode=zoom"><img src="/bookmgr/pictures/EZ30OZ00.P120.GIF" alt="PICTURE 120"></a>            
  88. <p>
  89. <p>
  90. <hr>
  91.  
  92.    Figure 126. Drag and Drop between Two Different OpenDoc Documents 
  93. <p>
  94.    <a href="#FIG4610S1F">Figure 126</a> shows the marked area of text that was copied from one document 
  95.    (bottom window) to another document (top window) by the drag and drop 
  96.    operation.  Both windows are different documents and each has the Text 
  97.    Part as a Root Part.  You can also get the same result by using the copy 
  98.    and paste operation: 
  99. <p>
  100.    1.  Select a range of text by marking it using the mouse. 
  101. <p>
  102.    2.  Select <B>Copy</B> from the Edit submenu of the source window to copy the 
  103.        marked text to the clipboard. 
  104. <p>
  105.    3.  Select <B>Paste</B> from the Edit menu of the target window. 
  106. <p>
  107. <p>
  108.    If you click with the second mouse button inside a Text Part you will get 
  109.    a pop-up menu with the following functions: 
  110. <p>
  111.    ░   Export text 
  112. <p>
  113.    ░   Change font 
  114. <p>
  115.    ░   Change style 
  116. <p>
  117.    ░   Change color 
  118. <p>
  119.    ░   Cut 
  120. <p>
  121.    ░   Copy 
  122. <p>
  123.    ░   Paste 
  124. <p>
  125.    ░   Delete 
  126. <p>
  127. <p>
  128.    The Cut, Copy and Delete options will only be available when an area of 
  129.    text has been marked. 
  130. </pre>
  131. </pre>
  132. <hr>
  133. <br><a href="4.3.1"><img src="/bookmgr/prev.gif" border=0 alt="[Prev Topic]"></a>
  134. <a href="4.3.3"><img src="/bookmgr/next.gif" border=0 alt="[Next Topic]"></a>
  135. <cite>  ⌐ Copyright IBM Corp. 1996</cite>
  136. <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>
  137. </BODY></HTML>
  138.