- public const string META_NAME_BYTE_COUNT
(Integer) Count of bytes in the document.
- public const string META_NAME_CASE_SENSITIVE
(Unsigned Integer) Identifier representing the case-sensitiveness.
- public const string META_NAME_CATEGORY
(String) Category of the document.
- public const string META_NAME_CELL_COUNT
(Integer) Count of cells in the spread-sheet document, if
appropriate.
- public const string META_NAME_CHARACTER_COUNT
(Integer) Count of characters in the document.
- public const string META_NAME_CODEPAGE
(UnsignedShort) The MS codepage to encode strings for metadata
1.14.0 Clarified that this is unique from _NAME_CODEPAGE in msole
- public const string META_NAME_COMPANY
(String) Name of the company/organization that the "CREATOR" entity
is associated with.
- public const string META_NAME_CREATOR
(String) An entity primarily responsible for making the content of
the resource typically a person, organization, or service.
- public const string META_NAME_DATE_CREATED
(Date as ISO String) A date associated with an event in the life
cycle of the resource (creation/publication date).
- public const string META_NAME_DATE_MODIFIED
(GsfTimestamp) The last time this document was saved.
- public const string META_NAME_DESCRIPTION
(String) An account of the content of the resource.
- public const string META_NAME_DICTIONARY
(None) Reserved name (PID) for Dictionary
- public const string META_NAME_DOCUMENT_PARTS
(Vector of strings) Names of the 'interesting' parts of the
document.
- public const string META_NAME_EDITING_DURATION
(Date as ISO String) The total-time taken until the last
modification.
- public const string META_NAME_GENERATOR
(String) The application that generated this document.
- public const string META_NAME_HEADING_PAIRS
(Vector of string value pairs stored in alternating elements) Store
the counts of objects in the document as names 'worksheet' and count '4' From MSOLE
- public const string META_NAME_HIDDEN_SLIDE_COUNT
(Integer) Count of hidden-slides in the presentation document.
- public const string META_NAME_IMAGE_COUNT
(Integer) Count of images in the document, if appropriate.
- public const string META_NAME_INITIAL_CREATOR
(String) Specifies the name of the person who created the document
initially.
- public const string META_NAME_KEYWORD
(String) Searchable, indexable keywords.
- public const string META_NAME_KEYWORDS
(GsfDocPropVector of String) Searchable, indexable keywords.
- public const string META_NAME_LANGUAGE
(String) The locale language of the intellectual content of the
resource (basically xx_YY form for us).
- public const string META_NAME_LAST_PRINTED
(GSF_META_NAME_HEADING_PAIRS) The last time this document was
printed.
- public const string META_NAME_LAST_SAVED_BY
(String) The entity that made the last change to the document,
typically a person, organization, or service.
- public const string META_NAME_LINE_COUNT
(Integer) Count of liness in the document.
- public const string META_NAME_LINKS_DIRTY
(Boolean) ???????
- public const string META_NAME_LOCALE_SYSTEM_DEFAULT
(Unsigned Integer) Identifier representing the default system
locale.
- public const string META_NAME_MANAGER
(String) Name of the manager of "CREATOR" entity.
- public const string META_NAME_MM_CLIP_COUNT
(Integer) Count of "multi-media" clips in the document.
- public const string META_NAME_MSOLE_UNKNOWN_17
(Unknown) User-defined name
- public const string META_NAME_MSOLE_UNKNOWN_18
(Unknown) User-defined name
- public const string META_NAME_MSOLE_UNKNOWN_19
(Boolean) User-defined name
- public const string META_NAME_MSOLE_UNKNOWN_20
(Unknown) User-defined name
- public const string META_NAME_MSOLE_UNKNOWN_21
(Unknown) User-defined name
- public const string META_NAME_MSOLE_UNKNOWN_22
(Boolean) User-defined name
- public const string META_NAME_MSOLE_UNKNOWN_23
(i4) User-defined name
- public const string META_NAME_NOTE_COUNT
(Integer) Count of "notes" in the document.
- public const string META_NAME_OBJECT_COUNT
(Integer) Count of objects (OLE and other graphics) in the document,
if appropriate.
- public const string META_NAME_PAGE_COUNT
(Integer) Count of pages in the document, if appropriate.
- public const string META_NAME_PARAGRAPH_COUNT
(Integer) Count of paragraphs in the document, if appropriate.
- public const string META_NAME_PRESENTATION_FORMAT
(String) Type of presentation, like "On-screen Show", "SlideView"
etc.
- public const string META_NAME_PRINTED_BY
(String) Specifies the name of the last person who printed the
document.
- public const string META_NAME_PRINT_DATE
(GsfTimestamp) Specifies the date and time when the document was
last printed.
- public const string META_NAME_REVISION_COUNT
(Integer) Count of revision on the document, if appropriate.
- public const string META_NAME_SCALE
(Boolean) ?????
- public const string META_NAME_SECURITY
(Integer) Level of security.
- public const string META_NAME_SLIDE_COUNT
(Integer) Count of slides in the presentation document.
- public const string META_NAME_SPREADSHEET_COUNT
(Integer) Count of pages in the document, if appropriate.
- public const string META_NAME_SUBJECT
(String) The topic of the content of the resource, <emphasis>
typically</emphasis> including keywords.
- public const string META_NAME_TABLE_COUNT
(Integer) Count of tables in the document, if appropriate.
- public const string META_NAME_TEMPLATE
(String) The template file that is been used to generate this
document.
- public const string META_NAME_THUMBNAIL
(GsfClipData) Thumbnail data of the document, typically a preview
image of the document.
- public const string META_NAME_TITLE
(String) A formal name given to the resource.
- public const string META_NAME_WORD_COUNT
(Integer) Count of words in the document.
- public size_t base64_decode_simple (uint8[] data, size_t len)
Decodes a chunk of base64 encoded data from data back
into data.
- public size_t base64_decode_step (uint8[] @in, size_t len, uint8[] @out, ref int state, ref uint save)
Decodes a chunk of base64 encoded data
- public size_t base64_encode_close (uint8[] @in, bool break_lines, uint8[] @out, ref int state, ref uint save)
This funcion should be called to when finished encoding everything,
to flush off the last little bit.
- public uint8 base64_encode_simple (uint8[] data, size_t len)
Encodes data from data back into data
using base64 encoding.
- public size_t base64_encode_step (uint8[] @in, size_t len, bool break_lines, uint8[] @out, ref int state, ref uint save)
Performs an 'encode step', only encodes blocks of 3 characters from
in into the output out at a time, saves left-over state in state and save (
initialise to 0 on first invocation).
- public bool debug_flag (string flag)
- public void doc_meta_dump (DocMetaData meta)
A debugging utility to dump the content of meta via
g_print
- public unowned string extension_pointer (string path)
Extracts the extension from the end of a filename (the part after
the final '.
- public string filename_to_utf8 (string filename, bool quoted)
A utility wrapper to make sure filenames are valid utf8.
- public void init ()
Initializes the GSF library
- public void init_dynamic (TypeModule module)
Initializes the GSF library and associates it with a type module
module.
- public double le_get_double (void* p)
Interpret binary data as a double in little endian order.
- public float le_get_float (void* p)
Interpret binary data as a float in little endian order.
- public uint64 le_get_guint64 (void* p)
Interpret binary data as a guint64 (8 byte unsigned integer type) in
little endian order.
- public void le_set_double (void* p, double d)
Store a value of type double in memory in little endian order
- public void le_set_float (void* p, float f)
Store a value of type float in memory in little endian order.
- public void mem_dump (uint8[] ptr)
Dump ptr.length bytes from the memory location given by
ptr.
- public uint msole_codepage_to_lid (int codepage)
- public int msole_iconv_win_codepage ()
- public ByteArray msole_inflate (Input input, off_t offset)
Decompresses an LZ compressed stream.
- public unowned string msole_language_for_lid (uint lid)
- public uint msole_lid_for_language (string? lang)
- public int msole_lid_to_codepage (uint lid)
- public string msole_lid_to_codepage_str (uint lid)
- public unowned XMLInNS odf_get_ns ()
- public short odf_get_version ()
Gives the ODF version used by libgsf when writing Open Document
files.
- public unowned string odf_get_version_string ()
Gives the ODF version used by libgsf when writing Open Document
files.
- public int open_pkg_error_id ()
- public void open_pkg_foreach_rel (Input opkg, OpenPkgIter func)
New in 1.14.9
- public Input open_pkg_open_rel (Input opkg, OpenPkgRel rel) throws Error
- public Input open_pkg_open_rel_by_id (Input opkg, string id) throws Error
New in 1.14.7
- public Input open_pkg_open_rel_by_type (Input opkg, string type) throws Error
New in 1.14.9
- public Error open_pkg_parse_rel_by_id (XMLIn xin, string id, XMLInNode dtd, XMLInNS ns)
Convenience function to parse a related part.
- public unowned Parameter? property_settings_find (string name, Parameter[] @params)
- public void property_settings_free (owned Parameter[] @params)
- public void shutdown ()
De-intializes the GSF library Currently does nothing.
- public void shutdown_dynamic (TypeModule module)
De-intializes the GSF library from a type module.
- public unowned Array<Value?>? value_get_docprop_array (Value value)
- public ValueArray value_get_docprop_varray (Value value)
- public unowned DocPropVector value_get_docprop_vector (Value value)
This function returns a pointer to the GsfDocPropVector structure in
value.
- public uint8[] vba_inflate (Input input, off_t offset, bool add_null_terminator)
Decompresses VBA stream.
- public int xmlDocFormatDump (Output output, Doc cur, string? encoding, bool format)
Dumps the document cur into output.
- public bool xml_gvalue_from_str (Value res, Type t, string str)
Try to parse str as a value of type t into
res.
- public bool xml_probe (Input input, XMLProbeFunc func)