GSF Reference Manual | ||||
---|---|---|---|---|
Top | Description |
Synopsis
GsfXMLInNS const * gsf_odf_get_ns (void
); short gsf_odf_get_version (void
); char const * gsf_odf_get_version_string (void
); GError * gsf_opendoc_metadata_read (GsfInput *input
,GsfDocMetaData *md
); void gsf_opendoc_metadata_subtree (GsfXMLIn *doc
,GsfDocMetaData *md
); gboolean gsf_opendoc_metadata_write (gpointer output
,GsfDocMetaData const *md
); GType gsf_doc_prop_get_type (void
); int gsf_odf_out_get_version (GsfODFOut *oout
); char * gsf_odf_out_get_version_string (GsfODFOut *oout
); short get_gsf_odf_version (void
); char const * get_gsf_odf_version_string (void
); GsfXMLInNS * get_gsf_ooo_ns (void
);
Details
gsf_odf_get_ns ()
GsfXMLInNS const * gsf_odf_get_ns (void
);
Returns : |
the used ODF namespace |
Since 1.14.24
gsf_odf_get_version ()
short gsf_odf_get_version (void
);
Gives the ODF version used by libgsf when writing Open Document files.
Returns : |
the ODF version: 102. |
Since 1.14.24
gsf_odf_get_version_string ()
char const * gsf_odf_get_version_string (void
);
Gives the ODF version used by libgsf when writing Open Document files.
Returns : |
the ODF version as a string: "1.2". |
Since 1.14.24
gsf_opendoc_metadata_read ()
GError * gsf_opendoc_metadata_read (GsfInput *input
,GsfDocMetaData *md
);
Warning
gsf_opendoc_metadata_read
is deprecated and should not be used in newly-written code. 1.14.24, use gsf_doc_meta_data_read_from_odf
Read an OpenDocument metadata stream from input
and store the properties
into md
. Overwrite any existing properties with the same id.
|
GsfInput |
|
GsfDocMetaData |
Returns : |
a GError if there is a problem. [transfer full] |
gsf_opendoc_metadata_subtree ()
void gsf_opendoc_metadata_subtree (GsfXMLIn *doc
,GsfDocMetaData *md
);
Warning
gsf_opendoc_metadata_subtree
is deprecated and should not be used in newly-written code. 1.14.24, use gsf_doc_meta_data_odf_subtree
Extend xin
so that it can parse a subtree in OpenDoc metadata format
|
GsfXMLInDoc |
|
GsfDocMetaData |
gsf_opendoc_metadata_write ()
gboolean gsf_opendoc_metadata_write (gpointer output
,GsfDocMetaData const *md
);
Warning
gsf_opendoc_metadata_write
is deprecated and should not be used in newly-written code. 1.14.24, use gsf_doc_meta_data_write_to_odf
|
a pointer to a GsfOutput. |
|
GsfDocMetaData |
Returns : |
TRUE if no error occured. |
get_gsf_odf_version ()
short get_gsf_odf_version (void
);
Warning
get_gsf_odf_version
is deprecated and should not be used in newly-written code. 1.14.24, use gsf_odf_get_version
Gives the ODF version used by libgsf when writing Open Document files.
Returns : |
the ODF version: 102. |
get_gsf_odf_version_string ()
char const * get_gsf_odf_version_string (void
);
Warning
get_gsf_odf_version_string
is deprecated and should not be used in newly-written code. 1.14.24, use gsf_odf_get_version_string
Gives the ODF version used by libgsf when writing Open Document files.
Returns : |
the ODF version as a string: "1.2". |
get_gsf_ooo_ns ()
GsfXMLInNS * get_gsf_ooo_ns (void
);
Warning
get_gsf_ooo_ns
is deprecated and should not be used in newly-written code. 1.14.24, use gsf_odf_get_ns
Returns : |
the used ODF namespace |