xref: /trunk/main/xmloff/source/forms/formenums.hxx (revision ecfe53c5)
1 /**************************************************************
2  *
3  * Licensed to the Apache Software Foundation (ASF) under one
4  * or more contributor license agreements.  See the NOTICE file
5  * distributed with this work for additional information
6  * regarding copyright ownership.  The ASF licenses this file
7  * to you under the Apache License, Version 2.0 (the
8  * "License"); you may not use this file except in compliance
9  * with the License.  You may obtain a copy of the License at
10  *
11  *   http://www.apache.org/licenses/LICENSE-2.0
12  *
13  * Unless required by applicable law or agreed to in writing,
14  * software distributed under the License is distributed on an
15  * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16  * KIND, either express or implied.  See the License for the
17  * specific language governing permissions and limitations
18  * under the License.
19  *
20  *************************************************************/
21 
22 
23 
24 #ifndef _XMLOFF_FORMENUMS_HXX_
25 #define _XMLOFF_FORMENUMS_HXX_
26 
27 #include <xmloff/xmlement.hxx>
28 
29 //.........................................................................
30 namespace xmloff
31 {
32 //.........................................................................
33 
34 	//=====================================================================
35 	//= OEnumMapper
36 	//=====================================================================
37 	class OEnumMapper
38 	{
39 	public:
40 		enum EnumProperties
41 		{
42 			epSubmitEncoding = 0,
43 			epSubmitMethod,
44 			epCommandType,
45 			epNavigationType,
46 			epTabCyle,
47 			epButtonType,
48 			epListSourceType,
49 			epCheckState,
50 			epTextAlign,
51 			epBorderWidth,
52 			epFontEmphasis,
53 			epFontRelief,
54             epListLinkageType,
55             epOrientation,
56             epVisualEffect,
57             epImagePosition,
58             epImageAlign,
59             epImageScaleMode,
60 
61 			KNOWN_ENUM_PROPERTIES
62 		};
63 
64 	private:
65 		static const SvXMLEnumMapEntry*	s_pEnumMap[KNOWN_ENUM_PROPERTIES];
66 
67 	public:
68 		static const SvXMLEnumMapEntry*	getEnumMap(EnumProperties _eProperty);
69 	};
70 
71 //.........................................................................
72 }	// namespace xmloff
73 //.........................................................................
74 
75 #endif // _XMLOFF_FORMENUMS_HXX_
76 
77