GXPSCoreProperties

GXPSCoreProperties — XPS Core Properties

Synopsis

#include <libgxps/gxps.h>

struct              GXPSCoreProperties;
const gchar *       gxps_core_properties_get_title      (GXPSCoreProperties *core_props);
const gchar *       gxps_core_properties_get_creator    (GXPSCoreProperties *core_props);
const gchar *       gxps_core_properties_get_description
                                                        (GXPSCoreProperties *core_props);
const gchar *       gxps_core_properties_get_subject    (GXPSCoreProperties *core_props);
const gchar *       gxps_core_properties_get_keywords   (GXPSCoreProperties *core_props);
const gchar *       gxps_core_properties_get_version    (GXPSCoreProperties *core_props);
const gchar *       gxps_core_properties_get_revision   (GXPSCoreProperties *core_props);
const gchar *       gxps_core_properties_get_identifier (GXPSCoreProperties *core_props);
const gchar *       gxps_core_properties_get_language   (GXPSCoreProperties *core_props);
const gchar *       gxps_core_properties_get_category   (GXPSCoreProperties *core_props);
const gchar *       gxps_core_properties_get_content_status
                                                        (GXPSCoreProperties *core_props);
const gchar *       gxps_core_properties_get_content_type
                                                        (GXPSCoreProperties *core_props);
time_t              gxps_core_properties_get_created    (GXPSCoreProperties *core_props);
const gchar *       gxps_core_properties_get_last_modified_by
                                                        (GXPSCoreProperties *core_props);
time_t              gxps_core_properties_get_modified   (GXPSCoreProperties *core_props);
time_t              gxps_core_properties_get_last_printed
                                                        (GXPSCoreProperties *core_props);

Object Hierarchy

  GObject
   +----GXPSCoreProperties

Implemented Interfaces

GXPSCoreProperties implements GInitable.

Properties

  "archive"                  GXPSArchive*          : Write / Construct Only
  "source"                   gchar*                : Write / Construct Only

Description

GXPSCoreProperties represents the metadata of a GXPSFile. GXPSCoreProperties objects can not be created directly, they are retrieved from a GXPSFile with gxps_file_get_core_properties().

Details

struct GXPSCoreProperties

struct GXPSCoreProperties;

The GXPSCoreProperties struct contains only private fields and should not be directly accessed.


gxps_core_properties_get_title ()

const gchar *       gxps_core_properties_get_title      (GXPSCoreProperties *core_props);

Get the title.

core_props :

a GXPSCoreProperties

Returns :

a string containing the title or NULL

Since 0.2.3


gxps_core_properties_get_creator ()

const gchar *       gxps_core_properties_get_creator    (GXPSCoreProperties *core_props);

Get the creator.

core_props :

a GXPSCoreProperties

Returns :

a string containing the creator or NULL

Since 0.2.3


gxps_core_properties_get_description ()

const gchar *       gxps_core_properties_get_description
                                                        (GXPSCoreProperties *core_props);

Get the description.

core_props :

a GXPSCoreProperties

Returns :

a string containing the description or NULL

Since 0.2.3


gxps_core_properties_get_subject ()

const gchar *       gxps_core_properties_get_subject    (GXPSCoreProperties *core_props);

Get the subject.

core_props :

a GXPSCoreProperties

Returns :

a string containing the subject or NULL

Since 0.2.3


gxps_core_properties_get_keywords ()

const gchar *       gxps_core_properties_get_keywords   (GXPSCoreProperties *core_props);

Get the keywords.

core_props :

a GXPSCoreProperties

Returns :

a string containing the keywords or NULL

Since 0.2.3


gxps_core_properties_get_version ()

const gchar *       gxps_core_properties_get_version    (GXPSCoreProperties *core_props);

Get the version number.

core_props :

a GXPSCoreProperties

Returns :

a string containing the version number or NULL

Since 0.2.3


gxps_core_properties_get_revision ()

const gchar *       gxps_core_properties_get_revision   (GXPSCoreProperties *core_props);

Get the revision number.

core_props :

a GXPSCoreProperties

Returns :

a string containing the revision number or NULL

Since 0.2.3


gxps_core_properties_get_identifier ()

const gchar *       gxps_core_properties_get_identifier (GXPSCoreProperties *core_props);

Get the unique identifier.

core_props :

a GXPSCoreProperties

Returns :

a string containing the identifier or NULL

Since 0.2.3


gxps_core_properties_get_language ()

const gchar *       gxps_core_properties_get_language   (GXPSCoreProperties *core_props);

Get the language.

core_props :

a GXPSCoreProperties

Returns :

a string containing the language or NULL

Since 0.2.3


gxps_core_properties_get_category ()

const gchar *       gxps_core_properties_get_category   (GXPSCoreProperties *core_props);

Get the category.

core_props :

a GXPSCoreProperties

Returns :

a string containing the category or NULL

Since 0.2.3


gxps_core_properties_get_content_status ()

const gchar *       gxps_core_properties_get_content_status
                                                        (GXPSCoreProperties *core_props);

Get the status of the content (e.g. Draft, Reviewed, Final)

core_props :

a GXPSCoreProperties

Returns :

a string containing the status of the content or NULL

Since 0.2.3


gxps_core_properties_get_content_type ()

const gchar *       gxps_core_properties_get_content_type
                                                        (GXPSCoreProperties *core_props);

Get the type of content represented, generally defined by a specific use and intended audience. This is not the MIME-Type.

core_props :

a GXPSCoreProperties

Returns :

a string containing the type of content or NULL

Since 0.2.3


gxps_core_properties_get_created ()

time_t              gxps_core_properties_get_created    (GXPSCoreProperties *core_props);

Get the creating date.

core_props :

a GXPSCoreProperties

Returns :

the creating date as a time_t or -1.

Since 0.2.3


gxps_core_properties_get_last_modified_by ()

const gchar *       gxps_core_properties_get_last_modified_by
                                                        (GXPSCoreProperties *core_props);

Get the user who performed the last modification.

core_props :

a GXPSCoreProperties

Returns :

a string containing the user who performed the last modification or NULL

Since 0.2.3


gxps_core_properties_get_modified ()

time_t              gxps_core_properties_get_modified   (GXPSCoreProperties *core_props);

Get the last modification date.

core_props :

a GXPSCoreProperties

Returns :

the modification date as a time_t or -1.

Since 0.2.3


gxps_core_properties_get_last_printed ()

time_t              gxps_core_properties_get_last_printed
                                                        (GXPSCoreProperties *core_props);

Get the date of the last printing.

core_props :

a GXPSCoreProperties

Returns :

the date of the last printing as a time_t or -1.

Since 0.2.3

Property Details

The "archive" property

  "archive"                  GXPSArchive*          : Write / Construct Only

The archive.


The "source" property

  "source"                   gchar*                : Write / Construct Only

The Core Properties Source File.

Default value: NULL

See Also

GXPSFile