Gtk-WARNING gtktreestore.c:1047: Invalid column number 1 added to iter
[LibreOffice.git] / xmloff / source / forms / formevents.cxx
blob800553d9458cbb78902f4fc11d29b4656b5feb34
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
3 * This file is part of the LibreOffice project.
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/.
9 * This file incorporates work covered by the following license notice:
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 .
20 #include "formevents.hxx"
21 #include <xmloff/xmlnamespace.hxx>
22 #include <xmloff/xmlevent.hxx>
24 namespace xmloff
27 //= event translation table
28 constexpr XMLEventNameTranslation aEventTranslations[] =
30 { u"XApproveActionListener::approveAction"_ustr, XML_NAMESPACE_FORM, u"approveaction"_ustr }, // "on-approveaction"
31 { u"XActionListener::actionPerformed"_ustr, XML_NAMESPACE_FORM, u"performaction"_ustr }, // "on-performaction"
32 { u"XChangeListener::changed"_ustr, XML_NAMESPACE_DOM, u"change"_ustr }, // "on-change"
33 { u"XTextListener::textChanged"_ustr, XML_NAMESPACE_FORM, u"textchange"_ustr }, // "on-textchange"
34 { u"XItemListener::itemStateChanged"_ustr, XML_NAMESPACE_FORM, u"itemstatechange"_ustr }, // "on-itemstatechange"
35 { u"XFocusListener::focusGained"_ustr, XML_NAMESPACE_DOM, u"DOMFocusIn"_ustr }, // "on-focus"
36 { u"XFocusListener::focusLost"_ustr, XML_NAMESPACE_DOM, u"DOMFocusOut"_ustr }, // "on-blur"
37 { u"XKeyListener::keyPressed"_ustr, XML_NAMESPACE_DOM, u"keydown"_ustr }, // "on-keydown"
38 { u"XKeyListener::keyReleased"_ustr, XML_NAMESPACE_DOM, u"keyup"_ustr }, // "on-keyup"
39 { u"XMouseListener::mouseEntered"_ustr, XML_NAMESPACE_DOM, u"mouseover"_ustr }, // "on-mouseover"
40 { u"XMouseMotionListener::mouseDragged"_ustr, XML_NAMESPACE_FORM, u"mousedrag"_ustr }, // "on-mousedrag"
41 { u"XMouseMotionListener::mouseMoved"_ustr, XML_NAMESPACE_DOM, u"mousemove"_ustr }, // "on-mousemove"
42 { u"XMouseListener::mousePressed"_ustr, XML_NAMESPACE_DOM, u"mousedown"_ustr }, // "on-mousedown"
43 { u"XMouseListener::mouseReleased"_ustr, XML_NAMESPACE_DOM, u"mouseup"_ustr }, // "on-mouseup"
44 { u"XMouseListener::mouseExited"_ustr, XML_NAMESPACE_DOM, u"mouseout"_ustr }, // "on-mouseout"
45 { u"XResetListener::approveReset"_ustr, XML_NAMESPACE_FORM, u"approvereset"_ustr }, // "on-approvereset"
46 { u"XResetListener::resetted"_ustr, XML_NAMESPACE_DOM, u"reset"_ustr }, // "on-reset"
47 { u"XSubmitListener::approveSubmit"_ustr, XML_NAMESPACE_DOM, u"submit"_ustr }, // "on-submit"
48 { u"XUpdateListener::approveUpdate"_ustr, XML_NAMESPACE_FORM, u"approveupdate"_ustr }, // "on-approveupdate"
49 { u"XUpdateListener::updated"_ustr, XML_NAMESPACE_FORM, u"update"_ustr }, // "on-update"
50 { u"XLoadListener::loaded"_ustr, XML_NAMESPACE_DOM, u"load"_ustr }, // "on-load"
51 { u"XLoadListener::reloading"_ustr, XML_NAMESPACE_FORM, u"startreload"_ustr }, // "on-startreload"
52 { u"XLoadListener::reloaded"_ustr, XML_NAMESPACE_FORM, u"reload"_ustr }, // "on-reload"
53 { u"XLoadListener::unloading"_ustr, XML_NAMESPACE_FORM, u"startunload"_ustr }, // "on-startunload"
54 { u"XLoadListener::unloaded"_ustr, XML_NAMESPACE_DOM, u"unload"_ustr }, // "on-unload"
55 { u"XConfirmDeleteListener::confirmDelete"_ustr, XML_NAMESPACE_FORM, u"confirmdelete"_ustr }, // "on-confirmdelete"
56 { u"XRowSetApproveListener::approveRowChange"_ustr, XML_NAMESPACE_FORM, u"approverowchange"_ustr }, // "on-approverowchange"
57 { u"XRowSetListener::rowChanged"_ustr, XML_NAMESPACE_FORM, u"rowchange"_ustr }, // "on-rowchange"
58 { u"XRowSetApproveListener::approveCursorMove"_ustr, XML_NAMESPACE_FORM, u"approvecursormove"_ustr }, // "on-approvecursormove"
59 { u"XRowSetListener::cursorMoved"_ustr, XML_NAMESPACE_FORM, u"cursormove"_ustr }, // "on-cursormove"
60 { u"XDatabaseParameterListener::approveParameter"_ustr,XML_NAMESPACE_FORM, u"supplyparameter"_ustr }, // "on-supplyparameter"
61 { u"XSQLErrorListener::errorOccured"_ustr, XML_NAMESPACE_DOM, u"error"_ustr }, // "on-error"
62 { u"XAdjustmentListener::adjustmentValueChanged"_ustr,XML_NAMESPACE_FORM, u"adjust"_ustr }, // "on-adjust"
63 { u""_ustr, 0, u""_ustr }
66 const XMLEventNameTranslation* g_pFormsEventTranslation = aEventTranslations;
68 } // namespace xmloff
70 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */