1 /************************************************************************/ 2 /* */ 3 /* Read/Write plain text documents and selections (For Copy/Paste) */ 4 /* */ 5 /************************************************************************/ 6 7 # ifndef DOC_PLAIN_RW_H 8 # define DOC_PLAIN_RW_H 9 10 # include <docBuf.h> 11 # include <sioGeneral.h> 12 13 /************************************************************************/ 14 /* */ 15 /* Routine declarations. */ 16 /* */ 17 /************************************************************************/ 18 19 extern BufferDocument * docPlainReadFile( SimpleInputStream * sis, 20 int * pMxL, 21 const DocumentGeometry * dg ); 22 23 extern int docPlainSaveDocument(SimpleOutputStream * sos, 24 BufferDocument * bd, 25 const DocumentSelection * ds, 26 int fold ); 27 28 # endif /* DOC_PLAIN_RW_H */ 29