fix baseline build (old cairo) - 'cairo_rectangle_int_t' does not name a type
[LibreOffice.git] / framework / inc / acceleratorconst.h
blob8d7bce53f6a5ecfbf3cd4ca955b239d444f636c9
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 #ifndef INCLUDED_FRAMEWORK_INC_ACCELERATORCONST_H
21 #define INCLUDED_FRAMEWORK_INC_ACCELERATORCONST_H
23 #include "general.h"
25 namespace framework{
27 #define DOCTYPE_ACCELERATORS DECLARE_ASCII("<!DOCTYPE accel:acceleratorlist PUBLIC \"-//OpenOffice.org//DTD OfficeDocument 1.0//EN\" \"accelerator.dtd\">")
29 #define ATTRIBUTE_TYPE_CDATA DECLARE_ASCII("CDATA")
31 #define XMLNS_XLINK DECLARE_ASCII("xlink")
33 // same items with a name space alias
34 #define AL_ELEMENT_ACCELERATORLIST DECLARE_ASCII("accel:acceleratorlist")
35 #define AL_ELEMENT_ITEM DECLARE_ASCII("accel:item" )
37 #define AL_XMLNS_ACCEL DECLARE_ASCII("xmlns:accel")
38 #define AL_XMLNS_XLINK DECLARE_ASCII("xmlns:xlink")
40 #define AL_ATTRIBUTE_URL DECLARE_ASCII("xlink:href" )
41 #define AL_ATTRIBUTE_KEYCODE DECLARE_ASCII("accel:code" )
42 #define AL_ATTRIBUTE_MOD_SHIFT DECLARE_ASCII("accel:shift")
43 #define AL_ATTRIBUTE_MOD_MOD1 DECLARE_ASCII("accel:mod1" )
44 #define AL_ATTRIBUTE_MOD_MOD2 DECLARE_ASCII("accel:mod2" )
45 #define AL_ATTRIBUTE_MOD_MOD3 DECLARE_ASCII("accel:mod3" )
47 // same items with full qualified name space
48 #define NS_XMLNS_ACCEL DECLARE_ASCII("http://openoffice.org/2001/accel")
49 #define NS_XMLNS_XLINK DECLARE_ASCII("http://www.w3.org/1999/xlink" )
51 } // namespace framework
53 #endif // INCLUDED_FRAMEWORK_INC_ACCELERATORCONST_H
55 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */