merge the formfield patch from ooo-build
[ooovba.git] / offapi / com / sun / star / document / VbaEventId.idl
blobeaeb877295e8228976535dfb7dc8a9b241a071b7
1 /*************************************************************************
3 * OpenOffice.org - a multi-platform office productivity suite
5 * $RCSfile$
7 * $Revision$
9 * last change: $Author$ $Date$
11 * The Contents of this file are made available subject to
12 * the terms of GNU Lesser General Public License Version 2.1.
15 * GNU Lesser General Public License Version 2.1
16 * =============================================
17 * Copyright 2005 by Sun Microsystems, Inc.
18 * 901 San Antonio Road, Palo Alto, CA 94303, USA
20 * This library is free software; you can redistribute it and/or
21 * modify it under the terms of the GNU Lesser General Public
22 * License version 2.1, as published by the Free Software Foundation.
24 * This library is distributed in the hope that it will be useful,
25 * but WITHOUT ANY WARRANTY; without even the implied warranty of
26 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
27 * Lesser General Public License for more details.
29 * You should have received a copy of the GNU Lesser General Public
30 * License along with this library; if not, write to the Free Software
31 * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
32 * MA 02111-1307 USA
34 ************************************************************************/
35 #ifndef __org_openoffice_vba_VbaEventId_idl__
36 #define __org_openoffice_vba_VbaEventId_idl__
38 //=============================================================================
40 module com { module sun { module star { module document {
41 //=============================================================================
43 /* VBA compatibility event id */
44 constants VbaEventId
46 // Worksheet
47 const long VBAEVENT_WORKSHEET_ACTIVATE = 1;
48 const long VBAEVENT_WORKSHEET_BEFOREDOUBLECLICK = 2;
49 const long VBAEVENT_WORKSHEET_BEFORERIGHTCLICK = 3;
50 const long VBAEVENT_WORKSHEET_CALCULATE = 4;
51 const long VBAEVENT_WORKSHEET_CHANGE = 5;
52 const long VBAEVENT_WORKSHEET_DEACTIVATE = 6;
53 const long VBAEVENT_WORKSHEET_FOLLOWHYPERLINK = 7;
54 const long VBAEVENT_WORKSHEET_PIVOTTABLEUPDATE = 8;
55 const long VBAEVENT_WORKSHEET_SELECTIONCHANGE = 9;
56 // Workbook
57 const long VBAEVENT_WORKBOOK_ACTIVATE = 20;
58 const long VBAEVENT_WORKBOOK_DEACTIVATE = 21;
59 const long VBAEVENT_WORKBOOK_OPEN = 22;
60 const long VBAEVENT_WORKBOOK_AUTOOPEN = 23;
61 const long VBAEVENT_WORKBOOK_BEFORECLOSE = 24;
62 const long VBAEVENT_WORKBOOK_BEFOREPRINT = 25;
63 const long VBAEVENT_WORKBOOK_BEFORESAVE = 26;
64 const long VBAEVENT_WORKBOOK_NEWSHEET = 27;
65 const long VBAEVENT_WORKBOOK_WINDOWACTIVATE = 28;
66 const long VBAEVENT_WORKBOOK_WINDOWDEACTIVATE = 29;
67 const long VBAEVENT_WORKBOOK_WINDOWRESIZE = 30;
68 // Workbook_sheet
69 const long VBAEVENT_WORKBOOK_SHEET_ACTIVATE = 51;
70 const long VBAEVENT_WORKBOOK_SHEET_BEFOREDOUBLECLICK = 52;
71 const long VBAEVENT_WORKBOOK_SHEET_BEFORERIGHTCLICK = 53;
72 const long VBAEVENT_WORKBOOK_SHEET_CALCULATE = 54;
73 const long VBAEVENT_WORKBOOK_SHEET_CHANGE = 55;
74 const long VBAEVENT_WORKBOOK_SHEET_DEACTIVATE = 56;
75 const long VBAEVENT_WORKBOOK_SHEET_FOLLOWHYPERLINK = 57;
76 const long VBAEVENT_WORKBOOK_SHEET_PIVOTTABLEUPDATE = 58;
77 const long VBAEVENT_WORKBOOK_SHEET_SELECTIONCHANGE = 59;
80 }; }; }; };
82 #endif