Logo Search packages:      
Sourcecode: inkscape version File versions  Download package

rdf.h File Reference


Detailed Description

headers for RDF types

Definition in file rdf.h.

#include <glib.h>
#include <glibmm/i18n.h>
#include "document.h"

Go to the source code of this file.

Classes

struct  rdf_double_t
 Holds license name/resource doubles for rdf_license_t entries. More...
struct  rdf_license_t
 Holds license name and RDF information. More...
struct  rdf_t
 Generic collection of RDF information for the RDF debug function. More...
struct  rdf_work_entity_t
 Holds known RDF/Work tags. More...

Enumerations

enum  RDF_Editable { RDF_EDIT_GENERIC, RDF_EDIT_SPECIAL, RDF_EDIT_HARDCODED }
enum  RDF_Format { RDF_FORMAT_LINE, RDF_FORMAT_MULTILINE, RDF_FORMAT_SPECIAL }
 Describes how a given RDF entity should be edited.
enum  RDFType {
  RDF_CONTENT, RDF_AGENT, RDF_RESOURCE, RDF_XML,
  RDF_BAG
}
 Describes how a given RDF entity is stored in XML.

Functions

struct rdf_work_entity_trdf_find_entity (gchar const *name)
 Retrieves a known RDF/Work entity by name.
struct rdf_license_trdf_get_license (SPDocument *doc)
 Attempts to match and retrieve a known RDF/License from the document XML.
const gchar * rdf_get_work_entity (SPDocument *doc, struct rdf_work_entity_t *entity)
 Retrieves a known RDF/Work entity's contents from the document XML by name.
void rdf_set_defaults (SPDocument *doc)
void rdf_set_license (SPDocument *doc, struct rdf_license_t const *license)
 Stores an RDF/License XML in the document XML.
unsigned int rdf_set_work_entity (SPDocument *doc, struct rdf_work_entity_t *entity, const gchar *text)
 Stores a string into a named RDF/Work entity in the document XML.

Variables

rdf_license_t rdf_licenses []
rdf_work_entity_t rdf_work_entities []


Generated by  Doxygen 1.6.0   Back to index