LibreOffice
LibreOffice 5.0 SDK API Reference
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Pages
com
sun
star
script
vba
VBAEventId.idl
Go to the documentation of this file.
1
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2
/*
3
* This file is part of the LibreOffice project.
4
*
5
* This Source Code Form is subject to the terms of the Mozilla Public
6
* License, v. 2.0. If a copy of the MPL was not distributed with this
7
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
8
*
9
* This file incorporates work covered by the following license notice:
10
*
11
* Licensed to the Apache Software Foundation (ASF) under one or more
12
* contributor license agreements. See the NOTICE file distributed
13
* with this work for additional information regarding copyright
14
* ownership. The ASF licenses this file to you under the Apache
15
* License, Version 2.0 (the "License"); you may not use this file
16
* except in compliance with the License. You may obtain a copy of
17
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
18
*/
19
20
#ifndef __com_sun_star_script_vba_VBAEventId_idl__
21
#define __com_sun_star_script_vba_VBAEventId_idl__
22
23
24
module com { module sun { module star { module script { module vba {
25
26
37
constants VBAEventId
38
{
39
41
const
long
NO_EVENT
= -1;
42
43
// Global events (identifiers from 1 to 999)
44
46
const
long
AUTO_NEW
= 1;
48
const
long
AUTO_OPEN
= 2;
50
const
long
AUTO_CLOSE
= 3;
52
const
long
AUTO_EXEC
= 4;
54
const
long
AUTO_EXIT
= 5;
55
56
// MS Word (identifiers from 1001 to 1999)
57
59
const
long
DOCUMENT_NEW
= 1001;
61
const
long
DOCUMENT_OPEN
= 1002;
63
const
long
DOCUMENT_CLOSE
= 1003;
64
65
// MS Excel (identifiers from 2001 to 2999)
66
67
// document events (2001-2099)
68
70
const
long
WORKBOOK_ACTIVATE
= 2001;
72
const
long
WORKBOOK_DEACTIVATE
= 2002;
74
const
long
WORKBOOK_OPEN
= 2003;
76
const
long
WORKBOOK_BEFORECLOSE
= 2004;
78
const
long
WORKBOOK_BEFOREPRINT
= 2005;
80
const
long
WORKBOOK_BEFORESAVE
= 2006;
82
const
long
WORKBOOK_AFTERSAVE
= 2007;
84
const
long
WORKBOOK_NEWSHEET
= 2008;
86
const
long
WORKBOOK_WINDOWACTIVATE
= 2009;
88
const
long
WORKBOOK_WINDOWDEACTIVATE
= 2010;
90
const
long
WORKBOOK_WINDOWRESIZE
= 2011;
91
92
// sheet events (2101-2199)
93
95
const
long
WORKSHEET_ACTIVATE
= 2101;
97
const
long
WORKSHEET_DEACTIVATE
= 2102;
99
const
long
WORKSHEET_BEFOREDOUBLECLICK
= 2103;
101
const
long
WORKSHEET_BEFORERIGHTCLICK
= 2104;
103
const
long
WORKSHEET_CALCULATE
= 2105;
105
const
long
WORKSHEET_CHANGE
= 2106;
107
const
long
WORKSHEET_SELECTIONCHANGE
= 2107;
109
const
long
WORKSHEET_FOLLOWHYPERLINK
= 2108;
110
111
114
const
long
USERDEFINED_START
= 1000000;
115
};
116
117
118
}; }; }; }; };
119
120
121
#endif
122
123
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
Generated by
1.8.4