Visio update
[dia.git] / plug-ins / vdx / vdx-export.c
blob1f9f36808513ad9072038ec097a3a640585ee5d8
1 /* -*- Mode: C; c-basic-offset: 4 -*- */
2 /* Dia -- an diagram creation/manipulation program
3 * Copyright (C) 1998 Alexander Larsson
5 * vdx-export.c: Visio XML export filter for dia
6 * Copyright (C) 2006 Ian Redfern
7 * based on the xfig filter code
8 * Copyright (C) 2001 Lars Clausen
9 * based on the dxf filter code
10 * Copyright (C) 2000 James Henstridge, Steffen Macke
12 * This program is free software; you can redistribute it and/or modify
13 * it under the terms of the GNU General Public License as published by
14 * the Free Software Foundation; either version 2 of the License, or
15 * (at your option) any later version.
17 * This program is distributed in the hope that it will be useful,
18 * but WITHOUT ANY WARRANTY; without even the implied warranty of
19 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20 * GNU General Public License for more details.
22 * You should have received a copy of the GNU General Public License
23 * along with this program; if not, write to the Free Software
24 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
27 #ifdef HAVE_CONFIG_H
28 #include <config.h>
29 #endif
31 #include <stdio.h>
33 #include <string.h>
34 #include <math.h>
35 #include <glib.h>
36 #include <stdlib.h>
37 #include <errno.h>
38 #include <locale.h>
40 #include "intl.h"
41 #include "message.h"
42 #include "geometry.h"
43 #include "diarenderer.h"
44 #include "filter.h"
45 #include "object.h"
46 #include "properties.h"
47 #include "dia_image.h"
48 #include "group.h"
50 #include "vdx.h"
52 gboolean
53 export_vdx(DiagramData *data, const gchar *filename,
54 const gchar *diafilename, void* user_data);
56 gboolean
57 export_vdx(DiagramData *data, const gchar *filename,
58 const gchar *diafilename, void* user_data)
60 message_warning("Visio export not yet supported");
61 return FALSE;
64 static const gchar *extensions[] = { "vdx", NULL };
65 DiaExportFilter vdx_export_filter = {
66 N_("Visio XML format"),
67 extensions,
68 export_vdx