LibreOffice Module xmloff (master)  1
EventMap.cxx
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 #include "EventMap.hxx"
21 #include <xmloff/xmlnamespace.hxx>
22 
23 
25 {
26  { XML_NAMESPACE_DOM, "select", "on-select" },
27  { XML_NAMESPACE_OFFICE, "insert-start", "on-insert-start" },
28  { XML_NAMESPACE_OFFICE, "insert-done", "on-insert-done" },
29  { XML_NAMESPACE_OFFICE, "mail-merge", "on-mail-merge" },
30  { XML_NAMESPACE_OFFICE, "alpha-char-input", "on-alpha-char-input" },
31  { XML_NAMESPACE_OFFICE, "non-alpha-char-input", "on-non-alpha-char-input" },
32  { XML_NAMESPACE_DOM, "resize", "on-resize" },
33  { XML_NAMESPACE_OFFICE, "move", "on-move" },
34  { XML_NAMESPACE_OFFICE, "page-count-change", "on-page-count-change" },
35  { XML_NAMESPACE_DOM, "mouseover", "on-mouse-over" },
36  { XML_NAMESPACE_DOM, "click", "on-click" },
37  { XML_NAMESPACE_DOM, "mouseout", "on-mouse-out" },
38  { XML_NAMESPACE_OFFICE, "load-error", "on-load-error" },
39  { XML_NAMESPACE_OFFICE, "load-cancel", "on-load-cancel" },
40  { XML_NAMESPACE_OFFICE, "load-done", "on-load-done" },
41  { XML_NAMESPACE_DOM, "load", "on-load" },
42  { XML_NAMESPACE_DOM, "unload", "on-unload" },
43  { XML_NAMESPACE_OFFICE, "start-app", "on-start-app" },
44  { XML_NAMESPACE_OFFICE, "close-app", "on-close-app" },
45  { XML_NAMESPACE_OFFICE, "new", "on-new" },
46  { XML_NAMESPACE_OFFICE, "save", "on-save" },
47  { XML_NAMESPACE_OFFICE, "save-as", "on-save-as" },
48  { XML_NAMESPACE_DOM, "DOMFocusIn", "on-focus" },
49  { XML_NAMESPACE_DOM, "DOMFocusOut", "on-unfocus" },
50  { XML_NAMESPACE_OFFICE, "print", "on-print" },
51  { XML_NAMESPACE_DOM, "error", "on-error" },
52  { XML_NAMESPACE_OFFICE, "load-finished", "on-load-finished" },
53  { XML_NAMESPACE_OFFICE, "save-finished", "on-save-finished" },
54  { XML_NAMESPACE_OFFICE, "modify-changed", "on-modify-changed" },
55  { XML_NAMESPACE_OFFICE, "prepare-unload", "on-prepare-unload" },
56  { XML_NAMESPACE_OFFICE, "new-mail", "on-new-mail" },
57  { XML_NAMESPACE_OFFICE, "toggle-fullscreen", "on-toggle-fullscreen" },
58  { XML_NAMESPACE_OFFICE, "save-done", "on-save-done" },
59  { XML_NAMESPACE_OFFICE, "save-as-done", "on-save-as-done" },
60  { XML_NAMESPACE_OFFICE, "create", "on-create" },
61  { XML_NAMESPACE_OFFICE, "save-as-failed", "on-save-as-failed" },
62  { XML_NAMESPACE_OFFICE, "save-failed", "on-save-failed" },
63  { XML_NAMESPACE_OFFICE, "copy-to-failed", "on-copy-to-failed" },
64  { XML_NAMESPACE_OFFICE, "title-changed", "on-title-changed" },
65 
66  { XML_NAMESPACE_FORM, "approveaction", "on-approveaction" },
67  { XML_NAMESPACE_FORM, "performaction", "on-performaction" },
68  { XML_NAMESPACE_DOM, "change", "on-change" },
69  { XML_NAMESPACE_FORM, "textchange", "on-textchange" },
70  { XML_NAMESPACE_FORM, "itemstatechange", "on-itemstatechange" },
71  { XML_NAMESPACE_DOM, "keydown", "on-keydown" },
72  { XML_NAMESPACE_DOM, "keyup", "on-keyup" },
73  { XML_NAMESPACE_FORM, "mousedrag", "on-mousedrag" },
74  { XML_NAMESPACE_DOM, "mousemove", "on-mousemove" },
75  { XML_NAMESPACE_DOM, "mousedown", "on-mousedown" },
76  { XML_NAMESPACE_DOM, "mouseup", "on-mouseup" },
77  { XML_NAMESPACE_FORM, "approvereset", "on-approvereset" },
78  { XML_NAMESPACE_DOM, "reset", "on-reset" },
79  { XML_NAMESPACE_DOM, "submit", "on-submit" },
80  { XML_NAMESPACE_FORM, "approveupdate", "on-approveupdate" },
81  { XML_NAMESPACE_FORM, "update", "on-update" },
82  { XML_NAMESPACE_FORM, "startreload", "on-startreload" },
83  { XML_NAMESPACE_FORM, "reload", "on-reload" },
84  { XML_NAMESPACE_FORM, "startunload", "on-startunload" },
85  { XML_NAMESPACE_FORM, "confirmdelete", "on-confirmdelete" },
86  { XML_NAMESPACE_FORM, "approverowchange", "on-approverowchange" },
87  { XML_NAMESPACE_FORM, "rowchange", "on-rowchange" },
88  { XML_NAMESPACE_FORM, "approvecursormove", "on-approvecursormove" },
89  { XML_NAMESPACE_FORM, "cursormove", "on-cursormove" },
90  { XML_NAMESPACE_FORM, "supplyparameter", "on-supplyparameter" },
91  { XML_NAMESPACE_FORM, "adjust", "on-adjust" },
92  { 0, nullptr, nullptr }
93 };
94 
96 {
97  { XML_NAMESPACE_DOM, "mouseover", "on-mouseover" },
98  { XML_NAMESPACE_DOM, "mouseout", "on-mouseout" },
99  { XML_NAMESPACE_DOM, "DOMFocusOut", "on-blur" },
100  { 0, nullptr, nullptr }
101 };
102 
103 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
constexpr sal_uInt16 XML_NAMESPACE_OFFICE
XMLTransformerEventMapEntry const aFormTransformerEventMap[]
Definition: EventMap.cxx:95
constexpr sal_uInt16 XML_NAMESPACE_DOM
constexpr sal_uInt16 XML_NAMESPACE_FORM
XMLTransformerEventMapEntry const aTransformerEventMap[]
Definition: EventMap.cxx:24