summaryrefslogtreecommitdiff
path: root/scratch/offapi-vba/XWorkbook.idl
blob: 333f61227ece3ac4c99a9f13072e263e78c642e0 (plain)
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
#ifndef __org_openoffice_vba_XWorkbook_idl__
#define __org_openoffice_vba_XWorkbook_idl__

#ifndef __com_sun_star_uno_XInterface_idl__
#include <com/sun/star/uno/XInterface.idl>
#endif

//=============================================================================

module org {  module openoffice {  module vba { 

//=============================================================================

interface XWorksheet;
interface XWorksheets;

interface XWorkbook: com::sun::star::uno::XInterface
{
	[attribute, readonly] string  Name;
	[attribute, readonly] string  Path;
	[attribute, readonly] string  FullName;
	[attribute, readonly] boolean ProtectStructure; 
	[attribute, readonly] XWorksheet ActiveSheet;
	[attribute] boolean Saved;

	any  Worksheets([in] any sheet);
	void Close([in] any SaveChanges, [in] any FileName, [in] any RouteWorkBook);
	void Protect( [in] any Password );
	void Unprotect( [in] any Password );
	void Save();
	void Activate();
};

}; }; };

#endif