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 #ifndef INCLUDED_SVX_FMGLOB_HXX 21 #define INCLUDED_SVX_FMGLOB_HXX 22 23 #include <com/sun/star/form/FormComponentType.hpp> 24 25 const sal_uInt16 OBJ_FM_CONTROL = css::form::FormComponentType::CONTROL; 26 // for form components 27 const sal_uInt16 OBJ_FM_EDIT = css::form::FormComponentType::TEXTFIELD; 28 const sal_uInt16 OBJ_FM_BUTTON = css::form::FormComponentType::COMMANDBUTTON; 29 const sal_uInt16 OBJ_FM_FIXEDTEXT = css::form::FormComponentType::FIXEDTEXT; 30 const sal_uInt16 OBJ_FM_LISTBOX = css::form::FormComponentType::LISTBOX; 31 const sal_uInt16 OBJ_FM_CHECKBOX = css::form::FormComponentType::CHECKBOX; 32 const sal_uInt16 OBJ_FM_COMBOBOX = css::form::FormComponentType::COMBOBOX; 33 const sal_uInt16 OBJ_FM_RADIOBUTTON = css::form::FormComponentType::RADIOBUTTON; 34 const sal_uInt16 OBJ_FM_GROUPBOX = css::form::FormComponentType::GROUPBOX; 35 const sal_uInt16 OBJ_FM_GRID = css::form::FormComponentType::GRIDCONTROL; 36 const sal_uInt16 OBJ_FM_IMAGEBUTTON = css::form::FormComponentType::IMAGEBUTTON; 37 const sal_uInt16 OBJ_FM_FILECONTROL = css::form::FormComponentType::FILECONTROL; 38 const sal_uInt16 OBJ_FM_DATEFIELD = css::form::FormComponentType::DATEFIELD; 39 const sal_uInt16 OBJ_FM_TIMEFIELD = css::form::FormComponentType::TIMEFIELD; 40 const sal_uInt16 OBJ_FM_NUMERICFIELD = css::form::FormComponentType::NUMERICFIELD; 41 const sal_uInt16 OBJ_FM_CURRENCYFIELD = css::form::FormComponentType::CURRENCYFIELD; 42 const sal_uInt16 OBJ_FM_PATTERNFIELD = css::form::FormComponentType::PATTERNFIELD; 43 const sal_uInt16 OBJ_FM_HIDDEN = css::form::FormComponentType::HIDDENCONTROL; 44 const sal_uInt16 OBJ_FM_IMAGECONTROL = css::form::FormComponentType::IMAGECONTROL; 45 const sal_uInt16 OBJ_FM_FORMATTEDFIELD = css::form::FormComponentType::PATTERNFIELD + 1; 46 const sal_uInt16 OBJ_FM_SCROLLBAR = css::form::FormComponentType::PATTERNFIELD + 2; 47 const sal_uInt16 OBJ_FM_SPINBUTTON = css::form::FormComponentType::PATTERNFIELD + 3; 48 const sal_uInt16 OBJ_FM_NAVIGATIONBAR = css::form::FormComponentType::PATTERNFIELD + 4; 49 50 #endif // _FM_FMGLOB_HXX 51 52 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ 53