| Top |
| #define | GO_DOC() |
| #define | GO_IS_DOC() |
| GType | go_doc_get_type () |
| GODoc * | go_doc_new_from_input () |
| GODoc * | go_doc_new_from_uri () |
| gboolean | go_doc_save () |
| gboolean | go_doc_save_as () |
| gboolean | go_doc_sendto () |
| GsfDocMetaData * | go_doc_get_meta_data () |
| char const * | go_doc_get_uri () |
| gboolean | go_doc_is_dirty () |
| gboolean | go_doc_is_pristine () |
| void | go_doc_set_dirty () |
| void | go_doc_set_meta_data () |
| void | go_doc_set_pristine () |
| gboolean | go_doc_set_uri () |
| void | go_doc_update_meta_data () |
| GOImage * | go_doc_get_image () |
| GOImage * | go_doc_add_image () |
| GHashTable * | go_doc_get_images () |
| void | go_doc_init_write () |
| void | go_doc_write () |
| void | go_doc_save_image () |
| void | go_doc_init_read () |
| void | go_doc_read () |
| void | go_doc_end_read () |
| GOImage * | go_doc_image_fetch () |
GODoc * go_doc_new_from_input (GsfInput *input,GODocImporter const *fmt,XXXGOIOContext *context,gchar const *encoding);
GODoc * go_doc_new_from_uri (char const *uri,GnmFileOpener const *fmt,XXXGOIOContext *context,gchar const *encoding);
gboolean go_doc_save_as (GODoc *doc,GODocExporter *fmt,char const *uri,XXXGOIOContext *cc);
gboolean
go_doc_is_pristine (GODoc const *doc);
This checks to see if the doc has ever been used ( approximately )
void go_doc_set_dirty (GODoc *doc,gboolean is_dirty);
Changes the dirty state of doc
to is_dirty
and clears the pristine state
no matter what.
void go_doc_set_meta_data (GODoc *doc,GsfDocMetaData *data);
Adds a ref to data
.
void go_doc_set_pristine (GODoc *doc,gboolean pristine);
Sets the indication of whether this document is unchanged since it was created. Note: if both "dirty" and "pristine" are being set, set "pristine" last.
void
go_doc_update_meta_data (GODoc *doc);
Signal that doc
's metadata should be updated
- statistics (sheet count, word count)
- content (sheet names, bookmarks)
- reloading linked items
“dirty” property“dirty” gboolean
Whether the document has been changed.
Flags: Read / Write
Default value: FALSE
“pristine” property“pristine” gboolean
Whether the document is unchanged since it was created.
Flags: Read / Write
Default value: FALSE
“uri” property“uri” gchar *
The URI associated with this document.
Flags: Read / Write
Default value: NULL