~ubuntu-branches/debian/lenny/libgsf/lenny

« back to all changes in this revision

Viewing changes to gsf/gsf-opendoc-utils.h

  • Committer: Bazaar Package Importer
  • Author(s): J.H.M. Dassen (Ray)
  • Date: 2006-11-06 22:45:03 UTC
  • mfrom: (1.2.1 upstream) (2.1.1 dapper)
  • Revision ID: james.westby@ubuntu.com-20061106224503-g6pmv1m82zy8jya9
Tags: 1.14.3-1
New upstream release.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/* vim: set sw=8: -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
 
2
/*
 
3
 * gsf-opendoc-utils.h:  Handle the application neutral portions of OpenDocument
 
4
 *
 
5
 * Author:  Luciano Wolf (luciano.wolf@indt.org.br)
 
6
 *
 
7
 * Copyright (C) 2005 INdT - Instituto Nokia de Tecnologia
 
8
 * http://www.indt.org.br
 
9
 *
 
10
 * This program is free software; you can redistribute it and/or
 
11
 * modify it under the terms of version 2.1 of the GNU Lesser General Public
 
12
 * License as published by the Free Software Foundation.
 
13
 *
 
14
 * This program is distributed in the hope that it will be useful,
 
15
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 
16
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
17
 * GNU General Public License for more details.
 
18
 *
 
19
 * You should have received a copy of the GNU Lesser General Public License
 
20
 * along with this program; if not, write to the Free Software
 
21
 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301
 
22
 * USA
 
23
 */
 
24
 
 
25
#ifndef GSF_OPENDOC_UTILS_H
 
26
#define GSF_OPENDOC_UTILS_H
 
27
 
 
28
#include <gsf/gsf.h>
 
29
#include <gsf/gsf-libxml.h>
 
30
 
 
31
G_BEGIN_DECLS
 
32
 
 
33
enum {
 
34
        OO_NS_OFFICE,
 
35
        OO_NS_STYLE,
 
36
        OO_NS_TEXT,
 
37
        OO_NS_TABLE,
 
38
        OO_NS_DRAW,
 
39
        OO_NS_NUMBER,
 
40
        OO_NS_CHART,
 
41
        OO_NS_DR3D,
 
42
        OO_NS_FORM,
 
43
        OO_NS_SCRIPT,
 
44
        OO_NS_CONFIG,
 
45
        OO_NS_MATH,
 
46
        OO_NS_FO,
 
47
        OO_NS_DC,
 
48
        OO_NS_META,
 
49
        OO_NS_XLINK,
 
50
        OO_NS_SVG,
 
51
 
 
52
        /* new in 2.0 */
 
53
        OO_NS_OOO,
 
54
        OO_NS_OOOW,
 
55
        OO_NS_OOOC,
 
56
        OO_NS_DOM,
 
57
        OO_NS_XFORMS,
 
58
        OO_NS_XSD,
 
59
        OO_NS_XSI
 
60
};
 
61
 
 
62
extern GsfXMLInNS gsf_ooo_ns[];
 
63
 
 
64
GError  *gsf_opendoc_metadata_read    (GsfInput *input,  GsfDocMetaData *md);
 
65
void     gsf_opendoc_metadata_subtree (GsfXMLIn *doc,    GsfDocMetaData *md);
 
66
gboolean gsf_opendoc_metadata_write   (GsfXMLOut *output, GsfDocMetaData const *md);
 
67
 
 
68
G_END_DECLS
 
69
 
 
70
#endif /* GSF_OPENDOC_UTILS_H */