Update ooo320-m1
[ooovba.git] / xmloff / source / transform / EventMap.cxx
blobd65c6cc0df3c42d36a16519329d8ea4fa6fab25a
1 /*************************************************************************
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 *
5 * Copyright 2008 by Sun Microsystems, Inc.
7 * OpenOffice.org - a multi-platform office productivity suite
9 * $RCSfile: EventMap.cxx,v $
10 * $Revision: 1.7 $
12 * This file is part of OpenOffice.org.
14 * OpenOffice.org is free software: you can redistribute it and/or modify
15 * it under the terms of the GNU Lesser General Public License version 3
16 * only, as published by the Free Software Foundation.
18 * OpenOffice.org is distributed in the hope that it will be useful,
19 * but WITHOUT ANY WARRANTY; without even the implied warranty of
20 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21 * GNU Lesser General Public License version 3 for more details
22 * (a copy is included in the LICENSE file that accompanied this code).
24 * You should have received a copy of the GNU Lesser General Public License
25 * version 3 along with OpenOffice.org. If not, see
26 * <http://www.openoffice.org/license.html>
27 * for a copy of the LGPLv3 License.
29 ************************************************************************/
31 // MARKER(update_precomp.py): autogen include statement, do not remove
32 #include "precompiled_xmloff.hxx"
33 #include "EventMap.hxx"
34 #include "xmlnmspe.hxx"
37 XMLTransformerEventMapEntry aTransformerEventMap[] =
39 { XML_NAMESPACE_DOM, "select", "on-select" },
40 { XML_NAMESPACE_OFFICE, "insert-start", "on-insert-start" },
41 { XML_NAMESPACE_OFFICE, "insert-done", "on-insert-done" },
42 { XML_NAMESPACE_OFFICE, "mail-merge", "on-mail-merge" },
43 { XML_NAMESPACE_OFFICE, "alpha-char-input", "on-alpha-char-input" },
44 { XML_NAMESPACE_OFFICE, "non-alpha-char-input", "on-non-alpha-char-input" },
45 { XML_NAMESPACE_DOM, "resize", "on-resize" },
46 { XML_NAMESPACE_OFFICE, "move", "on-move" },
47 { XML_NAMESPACE_OFFICE, "page-count-change", "on-page-count-change" },
48 { XML_NAMESPACE_DOM, "mouseover", "on-mouse-over" },
49 { XML_NAMESPACE_DOM, "click", "on-click" },
50 { XML_NAMESPACE_DOM, "mouseout", "on-mouse-out" },
51 { XML_NAMESPACE_OFFICE, "load-error", "on-load-error" },
52 { XML_NAMESPACE_OFFICE, "load-cancel", "on-load-cancel" },
53 { XML_NAMESPACE_OFFICE, "load-done", "on-load-done" },
54 { XML_NAMESPACE_DOM, "load", "on-load" },
55 { XML_NAMESPACE_DOM, "unload", "on-unload" },
56 { XML_NAMESPACE_OFFICE, "start-app", "on-start-app" },
57 { XML_NAMESPACE_OFFICE, "close-app", "on-close-app" },
58 { XML_NAMESPACE_OFFICE, "new", "on-new" },
59 { XML_NAMESPACE_OFFICE, "save", "on-save" },
60 { XML_NAMESPACE_OFFICE, "save-as", "on-save-as" },
61 { XML_NAMESPACE_DOM, "DOMFocusIn", "on-focus" },
62 { XML_NAMESPACE_DOM, "DOMFocusOut", "on-unfocus" },
63 { XML_NAMESPACE_OFFICE, "print", "on-print" },
64 { XML_NAMESPACE_DOM, "error", "on-error" },
65 { XML_NAMESPACE_OFFICE, "load-finished", "on-load-finished" },
66 { XML_NAMESPACE_OFFICE, "save-finished", "on-save-finished" },
67 { XML_NAMESPACE_OFFICE, "modify-changed", "on-modify-changed" },
68 { XML_NAMESPACE_OFFICE, "prepare-unload", "on-prepare-unload" },
69 { XML_NAMESPACE_OFFICE, "new-mail", "on-new-mail" },
70 { XML_NAMESPACE_OFFICE, "toggle-fullscreen", "on-toggle-fullscreen" },
71 { XML_NAMESPACE_OFFICE, "save-done", "on-save-done" },
72 { XML_NAMESPACE_OFFICE, "save-as-done", "on-save-as-done" },
73 { XML_NAMESPACE_OFFICE, "create", "on-create" },
74 { XML_NAMESPACE_OFFICE, "save-as-failed", "on-save-as-failed" },
75 { XML_NAMESPACE_OFFICE, "save-failed", "on-save-failed" },
76 { XML_NAMESPACE_OFFICE, "copy-to-failed", "on-copy-to-failed" },
77 { XML_NAMESPACE_OFFICE, "title-changed", "on-title-changed" },
79 { XML_NAMESPACE_FORM, "approveaction", "on-approveaction" },
80 { XML_NAMESPACE_FORM, "performaction", "on-performaction" },
81 { XML_NAMESPACE_DOM, "change", "on-change" },
82 { XML_NAMESPACE_FORM, "textchange", "on-textchange" },
83 { XML_NAMESPACE_FORM, "itemstatechange", "on-itemstatechange" },
84 { XML_NAMESPACE_DOM, "keydown", "on-keydown" },
85 { XML_NAMESPACE_DOM, "keyup", "on-keyup" },
86 { XML_NAMESPACE_FORM, "mousedrag", "on-mousedrag" },
87 { XML_NAMESPACE_DOM, "mousemove", "on-mousemove" },
88 { XML_NAMESPACE_DOM, "mousedown", "on-mousedown" },
89 { XML_NAMESPACE_DOM, "mouseup", "on-mouseup" },
90 { XML_NAMESPACE_FORM, "approvereset", "on-approvereset" },
91 { XML_NAMESPACE_DOM, "reset", "on-reset" },
92 { XML_NAMESPACE_DOM, "submit", "on-submit" },
93 { XML_NAMESPACE_FORM, "approveupdate", "on-approveupdate" },
94 { XML_NAMESPACE_FORM, "update", "on-update" },
95 { XML_NAMESPACE_FORM, "startreload", "on-startreload" },
96 { XML_NAMESPACE_FORM, "reload", "on-reload" },
97 { XML_NAMESPACE_FORM, "startunload", "on-startunload" },
98 { XML_NAMESPACE_FORM, "confirmdelete", "on-confirmdelete" },
99 { XML_NAMESPACE_FORM, "approverowchange", "on-approverowchange" },
100 { XML_NAMESPACE_FORM, "rowchange", "on-rowchange" },
101 { XML_NAMESPACE_FORM, "approvecursormove", "on-approvecursormove" },
102 { XML_NAMESPACE_FORM, "cursormove", "on-cursormove" },
103 { XML_NAMESPACE_FORM, "supplyparameter", "on-supplyparameter" },
104 { XML_NAMESPACE_FORM, "adjust", "on-adjust" },
105 { 0, 0, 0 }
108 XMLTransformerEventMapEntry aFormTransformerEventMap[] =
110 { XML_NAMESPACE_DOM, "mouseover", "on-mouseover" },
111 { XML_NAMESPACE_DOM, "mouseout", "on-mouseout" },
112 { XML_NAMESPACE_DOM, "DOMFocusOut", "on-blur" },
113 { 0, 0, 0 }