home *** CD-ROM | disk | FTP | other *** search
/ Nebula 2 / Nebula Two.iso / Apps / DevTools / eText5 / Source / eTLiteral.subproj / eTLiteral.h < prev    next >
Encoding:
Text File  |  1994-10-29  |  1.9 KB  |  53 lines

  1. ///////////////////////////////////////////////////////////////////////////////
  2. //    FILENAME:    eTLiteral.h 
  3. //    SUMMARY:    Interfacefor escaped sequence specific for different formats
  4. //    SUPERCLASS:    eTImage
  5. //    INTERFACE:    None
  6. //    PROTOCOLS:    <Annotation,HTMDSupport,ASCIISupport,LaTeXSupport,Tool,
  7. //                InspectableTarget>
  8. //    AUTHOR:        Rohit Khare
  9. //    COPYRIGHT:    (c) 1994 California Institure of Technology, eText Project
  10. ///////////////////////////////////////////////////////////////////////////////
  11. //  DESCRIPTION
  12. //        Container of rtf comment, owner, and last-modified date strings.
  13. ///////////////////////////////////////////////////////////////////////////////
  14. //    HISTORY
  15. //    10/30/94:    Modified to support <InspectableTarget>
  16. //    07/25/94:    Added ISINDEX subclass as an investigation into "shortcut"s
  17. //  07/24/94:    Birth
  18. ///////////////////////////////////////////////////////////////////////////////
  19.  
  20. #import "../eTextKernel.h"
  21. #import "../eTImage.subproj/eTImage.h"
  22. #import "../eTImage.subproj/eTImageUI.h"
  23. #import "eTLiteralUI.h"
  24.  
  25. @interface eTLiteral:eTImage <Tool,Annotation,ASCIISupport,CSupport,HTMDSupport,LaTeXSupport> 
  26. {
  27.     char     *theReps[NUM_FMTS_WRITTEN];
  28. }
  29.  
  30. -(int) numReps;
  31. -(const char **) theReps;
  32. -(const char *)    theRepForFormat: (int) theformat;
  33. -setTheRep: (const char *) newRep forFormat: (int) newFormat;
  34. -setRep: (int) forFormat fromStream: (NXStream *)stream length:(int)length;
  35.  
  36. + toolAwake:theApp;
  37. - init;
  38. - free;
  39. - initFromPboard:thePB inDoc:theDoc linked:(BOOL) linked;
  40. - writeComponentToPath:(NXAtom)path inFormat:(int) theFormat;
  41. - readRichText:(NXStream *)stream forView:view;
  42. - writeRichText:(NXStream *)stream forView:view;
  43. - writeASCIIRef:(NXStream *)stream forView:view;
  44. - writeLaTeX:(NXStream*)stream forView:view;
  45. - writeHTML:(NXStream *)stream forView:view;
  46. - inspect:(NXEvent *) e;
  47. - drag: (Pasteboard *)draggingPboard image:(NXImage **)proxyImage;
  48.  
  49. @end
  50.  
  51. @interface eTISINDEXLiteral:eTLiteral
  52. - initFromPboard:thePB inDoc:theDoc linked:(BOOL) linked;
  53. @end