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