home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / opendc12.zip / od124os2.exe / od12osp1.exe / src / text / iodtext.txt < prev    next >
Text File  |  1997-04-02  |  1KB  |  32 lines

  1.  
  2. Description:
  3.  
  4.     The Text Import/Export part handler is a sample part which demonstrates
  5.     subclassing from the BaseContainer part handler without using the
  6.     ContentObject model.  It allows the user to import Ascii text files
  7.     and to export them back.
  8.  
  9.  
  10. Files:
  11.  
  12.     textpart.rme   --  This file.
  13.     textpart.idl   --  SOM IDL definitions for SOM class TextPart and
  14.                        meta class M_TextPart.
  15.     textpart.cpp   --  Class member functions
  16.     textutil.cpp   --  Platform specific utility functions
  17.     textpart.h     --  Header file
  18.     textpart.msg   --  English message file
  19.     textutil.ico   --  Icon file
  20.     textpart.def   --  Library definitions
  21.     makefile       --  NMAKE file (To build part run: nmake)
  22.  
  23. Usage:
  24.  
  25.     The Text Import/Export part handler has 2 menu items in addition to
  26.     those inherited from BaseContainer, Import and Export.  The Import item
  27.     will allow you to select a text file from disk and import it to the
  28.     docshell.  It will only allow one text file to be imported.  Once text
  29.     is imported, it can be saved to an OpenDoc document and restored from it.
  30.     The Export item will allow you to write the text file back out to disk.
  31.  
  32.