File: GNOME_Gnumeric.idl

package info (click to toggle)
gnumeric 1.10.8-1squeeze5
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 90,968 kB
  • ctags: 23,303
  • sloc: ansic: 248,235; xml: 51,894; sh: 10,491; makefile: 2,822; perl: 2,466; yacc: 1,272; python: 205
file content (40 lines) | stat: -rw-r--r-- 997 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
#ifndef __GNUMERIC_IDL__
#define __GNUMERIC_IDL__

#include <Bonobo.idl>

module GNOME {
	module Gnumeric {
		exception ErrorSystem  { string msg; };
		exception ErrorRead    { string msg; };
		exception ErrorSave    { string msg; };
		exception ErrorPlugin  { string msg; };
		exception ErrorInfo    { string msg; };
		exception ErrorInvalid { string msg; };
		exception ErrorSplitsArray { string msg; };

		interface Sheet : Bonobo::Unknown {
			attribute string name;
			attribute short  index;
		};
		typedef sequence<Sheet>	Sheets;

		interface Workbook {
			attribute string name;

			Sheet  sheet_by_index (in short i);
			Sheet  sheet_by_name  (in string name);
			Sheet  sheet_add      (in string name, in short pos);
			Sheets sheets         ();
		};
		typedef sequence<Workbook>	Workbooks;

		interface Application : Bonobo::Unknown {
			Workbook  workbook_open (in string file_name,
						 in boolean shared_view);
			Workbooks workbooks ();
		};
	};
};

#endif /* __GNUMERIC_IDL__ */