## Files

Files

## Synopsis

    enum                GOFileFormatLevel;
    enum                GOFileProbeLevel;
    enum                GOFileSaveScope;
    GList *             go_get_file_openers                 (void);
    GList *             go_get_file_savers                  (void);

## Object Hierarchy

      GEnum
       +----GOFileFormatLevel

      GEnum
       +----GOFileSaveScope

## Description

## Details

### enum GOFileFormatLevel

    typedef enum {
    	GO_FILE_FL_NONE,            /* No name assigned, won't happen */
    	GO_FILE_FL_WRITE_ONLY,      /* PostScript etc, won't be remembered */
    	GO_FILE_FL_NEW,             /* Wb just created */
    	GO_FILE_FL_MANUAL,          /* Save gets punted to save as */
    	GO_FILE_FL_MANUAL_REMEMBER, /* Ditto, but remember in history */
    	GO_FILE_FL_AUTO,            /* Save will save to this filename */
    	GO_FILE_FL_LAST
    } GOFileFormatLevel;

`GO_FILE_FL_NONE` | no name assigned, won't happen.
`GO_FILE_FL_WRITE_ONLY` | PostScript etc, won't be remembered.
`GO_FILE_FL_NEW` | Wb just created.
`GO_FILE_FL_MANUAL` | Save gets punted to save as.
`GO_FILE_FL_MANUAL_REMEMBER` | Ditto, but remember in history.
`GO_FILE_FL_AUTO` | Save will save to this filename.
`GO_FILE_FL_LAST` | last value, won't happen.

### enum GOFileProbeLevel

    typedef enum {
    	GO_FILE_PROBE_FILE_NAME, /* Test only file name, don't read file contents */
    	GO_FILE_PROBE_CONTENT, /* Read the whole file if it's necessary */
    	GO_FILE_PROBE_LAST
    } GOFileProbeLevel;

`GO_FILE_PROBE_FILE_NAME` | test only file name, don't read file contents.
`GO_FILE_PROBE_CONTENT` | read the whole file if it's necessary.
`GO_FILE_PROBE_LAST` | last value, won't happen.

### enum GOFileSaveScope

    typedef enum {
    	GO_FILE_SAVE_WORKBOOK,
    	GO_FILE_SAVE_SHEET,
    	GO_FILE_SAVE_RANGE,
    	GO_FILE_SAVE_LAST
    } GOFileSaveScope;

`GO_FILE_SAVE_WORKBOOK` | save the whole file.
`GO_FILE_SAVE_SHEET` | save only current page.
`GO_FILE_SAVE_RANGE` | save only a selected range.
`GO_FILE_SAVE_LAST` | last value, won't happen.

### go_get_file_openers ()

    GList *             go_get_file_openers                 (void);

Returns : | list of known GOFileOpener types (do not modify list). [element-type GOFileSaver][transfer none]

### go_get_file_savers ()

    GList *             go_get_file_savers                  (void);

Returns : | list of known GOFileSaver types (do not modify list). [element-type GOFileSaver][transfer none]