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

« back to all changes in this revision

Viewing changes to gsf/gsf-outfile-msole.h

  • Committer: Bazaar Package Importer
  • Author(s): J.H.M. Dassen (Ray)
  • Date: 2004-06-13 13:57:29 UTC
  • Revision ID: james.westby@ubuntu.com-20040613135729-3rn08f4l9in3kfzw
Tags: upstream-1.9.1
ImportĀ upstreamĀ versionĀ 1.9.1

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-outfile-msole.h: interface for creating OLE files
 
4
 *
 
5
 * Copyright (C) 2002-2004 Jody Goldberg (jody@gnome.org)
 
6
 *
 
7
 * This program is free software; you can redistribute it and/or
 
8
 * modify it under the terms of version 2.1 of the GNU Lesser General Public
 
9
 * License as published by the Free Software Foundation.
 
10
 *
 
11
 * This program is distributed in the hope that it will be useful,
 
12
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 
13
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
14
 * GNU General Public License for more details.
 
15
 *
 
16
 * You should have received a copy of the GNU Lesser General Public License
 
17
 * along with this program; if not, write to the Free Software
 
18
 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
 
19
 * USA
 
20
 */
 
21
 
 
22
#ifndef GSF_OUTFILE_MSOLE_H
 
23
#define GSF_OUTFILE_MSOLE_H
 
24
 
 
25
#include <gsf/gsf.h>
 
26
#include <glib-object.h>
 
27
 
 
28
G_BEGIN_DECLS
 
29
 
 
30
typedef struct _GsfOutfileMSOle GsfOutfileMSOle;
 
31
 
 
32
#define GSF_OUTFILE_MSOLE_TYPE  (gsf_outfile_msole_get_type ())
 
33
#define GSF_OUTFILE_MSOLE(o)    (G_TYPE_CHECK_INSTANCE_CAST ((o), GSF_OUTFILE_MSOLE_TYPE, GsfOutfileMSOle))
 
34
#define GSF_IS_OUTFILE_MSOLE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), GSF_OUTFILE_MSOLE_TYPE))
 
35
 
 
36
#define OLE_DEFAULT_SB_SHIFT     6
 
37
#define OLE_DEFAULT_BB_SHIFT     9
 
38
 
 
39
GType            gsf_outfile_msole_get_type (void);
 
40
GsfOutfileMSOle *gsf_outfile_msole_new (GsfOutput *sink);
 
41
gboolean         gsf_outfile_msole_set_class_id (GsfOutfileMSOle *ole,
 
42
                                                 guint8 const *clsid);
 
43
 
 
44
G_END_DECLS
 
45
 
 
46
#endif /* GSF_OUTFILE_H */