1*63bba73cSAndrew Rist /**************************************************************
2cdf0e10cSrcweir  *
3*63bba73cSAndrew Rist  * Licensed to the Apache Software Foundation (ASF) under one
4*63bba73cSAndrew Rist  * or more contributor license agreements.  See the NOTICE file
5*63bba73cSAndrew Rist  * distributed with this work for additional information
6*63bba73cSAndrew Rist  * regarding copyright ownership.  The ASF licenses this file
7*63bba73cSAndrew Rist  * to you under the Apache License, Version 2.0 (the
8*63bba73cSAndrew Rist  * "License"); you may not use this file except in compliance
9*63bba73cSAndrew Rist  * with the License.  You may obtain a copy of the License at
10*63bba73cSAndrew Rist  *
11*63bba73cSAndrew Rist  *   http://www.apache.org/licenses/LICENSE-2.0
12*63bba73cSAndrew Rist  *
13*63bba73cSAndrew Rist  * Unless required by applicable law or agreed to in writing,
14*63bba73cSAndrew Rist  * software distributed under the License is distributed on an
15*63bba73cSAndrew Rist  * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16*63bba73cSAndrew Rist  * KIND, either express or implied.  See the License for the
17*63bba73cSAndrew Rist  * specific language governing permissions and limitations
18*63bba73cSAndrew Rist  * under the License.
19*63bba73cSAndrew Rist  *
20*63bba73cSAndrew Rist  *************************************************************/
21*63bba73cSAndrew Rist 
22*63bba73cSAndrew Rist 
23cdf0e10cSrcweir 
24cdf0e10cSrcweir // MARKER(update_precomp.py): autogen include statement, do not remove
25cdf0e10cSrcweir #include "precompiled_xmloff.hxx"
26cdf0e10cSrcweir #include "EventMap.hxx"
27cdf0e10cSrcweir #include "xmloff/xmlnmspe.hxx"
28cdf0e10cSrcweir 
29cdf0e10cSrcweir 
30cdf0e10cSrcweir XMLTransformerEventMapEntry aTransformerEventMap[] =
31cdf0e10cSrcweir {
32cdf0e10cSrcweir 	{ XML_NAMESPACE_DOM,	"select",	"on-select" },
33cdf0e10cSrcweir 	{ XML_NAMESPACE_OFFICE,	"insert-start",	"on-insert-start" },
34cdf0e10cSrcweir 	{ XML_NAMESPACE_OFFICE,	"insert-done",	"on-insert-done" },
35cdf0e10cSrcweir 	{ XML_NAMESPACE_OFFICE,	"mail-merge",	"on-mail-merge" },
36cdf0e10cSrcweir 	{ XML_NAMESPACE_OFFICE,	"alpha-char-input",	"on-alpha-char-input" },
37cdf0e10cSrcweir 	{ XML_NAMESPACE_OFFICE,	"non-alpha-char-input",	"on-non-alpha-char-input" },
38cdf0e10cSrcweir 	{ XML_NAMESPACE_DOM,	"resize",	"on-resize" },
39cdf0e10cSrcweir 	{ XML_NAMESPACE_OFFICE,	"move",	"on-move" },
40cdf0e10cSrcweir 	{ XML_NAMESPACE_OFFICE, "page-count-change", "on-page-count-change" },
41cdf0e10cSrcweir 	{ XML_NAMESPACE_DOM,	"mouseover",	"on-mouse-over" },
42cdf0e10cSrcweir 	{ XML_NAMESPACE_DOM,	"click",	"on-click" },
43cdf0e10cSrcweir 	{ XML_NAMESPACE_DOM,	"mouseout",	"on-mouse-out" },
44cdf0e10cSrcweir 	{ XML_NAMESPACE_OFFICE,	"load-error",	"on-load-error" },
45cdf0e10cSrcweir 	{ XML_NAMESPACE_OFFICE,	"load-cancel",	"on-load-cancel" },
46cdf0e10cSrcweir 	{ XML_NAMESPACE_OFFICE,	"load-done",	"on-load-done" },
47cdf0e10cSrcweir 	{ XML_NAMESPACE_DOM,	"load",	"on-load" },
48cdf0e10cSrcweir 	{ XML_NAMESPACE_DOM,	"unload",	"on-unload" },
49cdf0e10cSrcweir 	{ XML_NAMESPACE_OFFICE,	"start-app",	"on-start-app" },
50cdf0e10cSrcweir 	{ XML_NAMESPACE_OFFICE,	"close-app",	"on-close-app" },
51cdf0e10cSrcweir 	{ XML_NAMESPACE_OFFICE,	"new",	"on-new" },
52cdf0e10cSrcweir 	{ XML_NAMESPACE_OFFICE,	"save",	"on-save" },
53cdf0e10cSrcweir 	{ XML_NAMESPACE_OFFICE,	"save-as",	"on-save-as" },
54cdf0e10cSrcweir 	{ XML_NAMESPACE_DOM,	"DOMFocusIn",	"on-focus" },
55cdf0e10cSrcweir 	{ XML_NAMESPACE_DOM,	"DOMFocusOut",	"on-unfocus" },
56cdf0e10cSrcweir 	{ XML_NAMESPACE_OFFICE,	"print",	"on-print" },
57cdf0e10cSrcweir 	{ XML_NAMESPACE_DOM,	"error",	"on-error" },
58cdf0e10cSrcweir 	{ XML_NAMESPACE_OFFICE,	"load-finished",	"on-load-finished" },
59cdf0e10cSrcweir 	{ XML_NAMESPACE_OFFICE,	"save-finished",	"on-save-finished" },
60cdf0e10cSrcweir 	{ XML_NAMESPACE_OFFICE,	"modify-changed",	"on-modify-changed" },
61cdf0e10cSrcweir 	{ XML_NAMESPACE_OFFICE,	"prepare-unload",	"on-prepare-unload" },
62cdf0e10cSrcweir 	{ XML_NAMESPACE_OFFICE,	"new-mail",	"on-new-mail" },
63cdf0e10cSrcweir 	{ XML_NAMESPACE_OFFICE,	"toggle-fullscreen",	"on-toggle-fullscreen" },
64cdf0e10cSrcweir 	{ XML_NAMESPACE_OFFICE,	"save-done",	"on-save-done" },
65cdf0e10cSrcweir 	{ XML_NAMESPACE_OFFICE,	"save-as-done",	"on-save-as-done" },
66cdf0e10cSrcweir     { XML_NAMESPACE_OFFICE, "create",    "on-create" },
67cdf0e10cSrcweir     { XML_NAMESPACE_OFFICE, "save-as-failed",    "on-save-as-failed" },
68cdf0e10cSrcweir     { XML_NAMESPACE_OFFICE, "save-failed",    "on-save-failed" },
69cdf0e10cSrcweir     { XML_NAMESPACE_OFFICE, "copy-to-failed",    "on-copy-to-failed" },
70cdf0e10cSrcweir     { XML_NAMESPACE_OFFICE, "title-changed",    "on-title-changed" },
71cdf0e10cSrcweir 
72cdf0e10cSrcweir 	{ XML_NAMESPACE_FORM,	"approveaction",	"on-approveaction" },
73cdf0e10cSrcweir 	{ XML_NAMESPACE_FORM,	"performaction",	"on-performaction" },
74cdf0e10cSrcweir 	{ XML_NAMESPACE_DOM,	"change",	"on-change" },
75cdf0e10cSrcweir 	{ XML_NAMESPACE_FORM,	"textchange",	"on-textchange" },
76cdf0e10cSrcweir 	{ XML_NAMESPACE_FORM,	"itemstatechange",	"on-itemstatechange" },
77cdf0e10cSrcweir 	{ XML_NAMESPACE_DOM,	"keydown",	"on-keydown" },
78cdf0e10cSrcweir 	{ XML_NAMESPACE_DOM,	"keyup",	"on-keyup" },
79cdf0e10cSrcweir 	{ XML_NAMESPACE_FORM,	"mousedrag",	"on-mousedrag" },
80cdf0e10cSrcweir 	{ XML_NAMESPACE_DOM,	"mousemove",	"on-mousemove" },
81cdf0e10cSrcweir 	{ XML_NAMESPACE_DOM,	"mousedown",	"on-mousedown" },
82cdf0e10cSrcweir 	{ XML_NAMESPACE_DOM,	"mouseup",	"on-mouseup" },
83cdf0e10cSrcweir 	{ XML_NAMESPACE_FORM,	"approvereset",	"on-approvereset" },
84cdf0e10cSrcweir 	{ XML_NAMESPACE_DOM,	"reset",	"on-reset" },
85cdf0e10cSrcweir 	{ XML_NAMESPACE_DOM,	"submit",	"on-submit" },
86cdf0e10cSrcweir 	{ XML_NAMESPACE_FORM,	"approveupdate",	"on-approveupdate" },
87cdf0e10cSrcweir 	{ XML_NAMESPACE_FORM,	"update",	"on-update" },
88cdf0e10cSrcweir 	{ XML_NAMESPACE_FORM,	"startreload",	"on-startreload" },
89cdf0e10cSrcweir 	{ XML_NAMESPACE_FORM,	"reload",	"on-reload" },
90cdf0e10cSrcweir 	{ XML_NAMESPACE_FORM,	"startunload",	"on-startunload" },
91cdf0e10cSrcweir 	{ XML_NAMESPACE_FORM,	"confirmdelete",	"on-confirmdelete" },
92cdf0e10cSrcweir 	{ XML_NAMESPACE_FORM,	"approverowchange",	"on-approverowchange" },
93cdf0e10cSrcweir 	{ XML_NAMESPACE_FORM,	"rowchange",	"on-rowchange" },
94cdf0e10cSrcweir 	{ XML_NAMESPACE_FORM,	"approvecursormove",	"on-approvecursormove" },
95cdf0e10cSrcweir 	{ XML_NAMESPACE_FORM,	"cursormove",	"on-cursormove" },
96cdf0e10cSrcweir 	{ XML_NAMESPACE_FORM,	"supplyparameter",	"on-supplyparameter" },
97cdf0e10cSrcweir 	{ XML_NAMESPACE_FORM,	"adjust",	"on-adjust" },
98cdf0e10cSrcweir 	{ 0, 0, 0 }
99cdf0e10cSrcweir };
100cdf0e10cSrcweir 
101cdf0e10cSrcweir XMLTransformerEventMapEntry aFormTransformerEventMap[] =
102cdf0e10cSrcweir {
103cdf0e10cSrcweir 	{ XML_NAMESPACE_DOM,	"mouseover",	"on-mouseover" },
104cdf0e10cSrcweir 	{ XML_NAMESPACE_DOM,	"mouseout",	"on-mouseout" },
105cdf0e10cSrcweir 	{ XML_NAMESPACE_DOM,	"DOMFocusOut",	"on-blur" },
106cdf0e10cSrcweir 	{ 0, 0, 0 }
107cdf0e10cSrcweir };
108