LibreOffice Module svx (master)  1
gridcols.hxx
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 #ifndef INCLUDED_SVX_SOURCE_INC_GRIDCOLS_HXX
20 #define INCLUDED_SVX_SOURCE_INC_GRIDCOLS_HXX
21 
22 #include <sal/types.h>
23 #include <rtl/ustring.hxx>
24 
25 #define FM_COL_TEXTFIELD "TextField"
26 #define FM_COL_COMBOBOX "ComboBox"
27 #define FM_COL_CHECKBOX "CheckBox"
28 #define FM_COL_TIMEFIELD "TimeField"
29 #define FM_COL_DATEFIELD "DateField"
30 #define FM_COL_NUMERICFIELD "NumericField"
31 #define FM_COL_CURRENCYFIELD "CurrencyField"
32 #define FM_COL_PATTERNFIELD "PatternField"
33 #define FM_COL_LISTBOX "ListBox"
34 #define FM_COL_FORMATTEDFIELD "FormattedField"
35 
36 // column type ids
37 #define TYPE_CHECKBOX 0
38 #define TYPE_COMBOBOX 1
39 #define TYPE_CURRENCYFIELD 2
40 #define TYPE_DATEFIELD 3
41 #define TYPE_FORMATTEDFIELD 4
42 #define TYPE_LISTBOX 5
43 #define TYPE_NUMERICFIELD 6
44 #define TYPE_PATTERNFIELD 7
45 #define TYPE_TEXTFIELD 8
46 #define TYPE_TIMEFIELD 9
47 
48 
49 sal_Int32 getColumnTypeByModelName(const OUString& aModelName);
50 
51 
52 #endif // INCLUDED_SVX_SOURCE_INC_GRIDCOLS_HXX
53 
54 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
sal_Int32 getColumnTypeByModelName(const OUString &aModelName)
Definition: gridcols.cxx:76