LibreOffice Module xmloff (master)  1
xmlsdtypes.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_XMLOFF_INC_XMLSDTYPES_HXX
20 #define INCLUDED_XMLOFF_INC_XMLSDTYPES_HXX
21 
22 //#include <xmloff/xmlnume.hxx>
23 //#include <xmloff/maptype.hxx>
24 #include <xmloff/xmltypes.hxx>
25 //#include <xmloff/xmlement.hxx>
26 //#include <xmloff/prhdlfac.hxx>
27 //#include <xmloff/xmlprmap.hxx>
28 //#include "xmloff/XMLTextListAutoStylePool.hxx"
29 //#include <xmloff/xmlexppr.hxx>
30 
32 // types of own properties
33 
34 #define XML_SD_TYPE_STROKE (XML_SD_TYPES_START + 0)
35 #define XML_SD_TYPE_PRESPAGE_TYPE (XML_SD_TYPES_START + 1)
36 #define XML_SD_TYPE_PRESPAGE_STYLE (XML_SD_TYPES_START + 2)
37 #define XML_SD_TYPE_PRESPAGE_SPEED (XML_SD_TYPES_START + 3)
38 #define XML_SD_TYPE_PRESPAGE_DURATION (XML_SD_TYPES_START + 4)
39 #define XML_SD_TYPE_PRESPAGE_VISIBILITY (XML_SD_TYPES_START + 5)
40 #define XML_SD_TYPE_MARKER (XML_SD_TYPES_START + 6 )
41 #define XML_SD_TYPE_OPACITY (XML_SD_TYPES_START + 7 )
42 #define XML_SD_TYPE_LINEJOIN (XML_SD_TYPES_START + 8 )
43 #define XML_SD_TYPE_FILLSTYLE (XML_SD_TYPES_START + 9 )
44 #define XML_SD_TYPE_GRADIENT (XML_SD_TYPES_START + 10 )
45 #define XML_SD_TYPE_GRADIENT_STEPCOUNT (XML_SD_TYPES_START + 11 )
46 #define XML_SD_TYPE_VISIBLE_HIDDEN (XML_SD_TYPES_START + 12 )
47 #define XML_SD_TYPE_TEXT_CROSSEDOUT (XML_SD_TYPES_START + 13 )
48 #define XML_SD_TYPE_NUMBULLET (XML_SD_TYPES_START + 14 )
49 #define XML_SD_TYPE_WRITINGMODE (XML_SD_TYPES_START + 15 )
50 #define XML_SD_TYPE_BITMAP_MODE (XML_SD_TYPES_START + 16 )
51 #define XML_SD_TYPE_BITMAPREPOFFSETX (XML_SD_TYPES_START + 17 )
52 #define XML_SD_TYPE_BITMAPREPOFFSETY (XML_SD_TYPES_START + 18 )
53 #define XML_SD_TYPE_FILLBITMAPSIZE (XML_SD_TYPES_START + 19 )
54 #define XML_SD_TYPE_LOGICAL_SIZE (XML_SD_TYPES_START + 20 )
55 #define XML_SD_TYPE_BITMAP_REFPOINT (XML_SD_TYPES_START + 21 )
56 #define XML_SD_TYPE_PRESPAGE_BACKSIZE (XML_SD_TYPES_START + 22 )
57 #define XML_TYPE_TEXT_ANIMATION_BLINKING (XML_SD_TYPES_START + 23 )
58 #define XML_TYPE_TEXT_ANIMATION_STEPS (XML_SD_TYPES_START + 24 )
59 #define XML_SD_TYPE_TEXT_ALIGN (XML_SD_TYPES_START + 25 )
60 #define XML_SD_TYPE_VERTICAL_ALIGN (XML_SD_TYPES_START + 26 )
61 #define XML_SD_TYPE_FITTOSIZE (XML_SD_TYPES_START + 27 )
62 #define XML_SD_TYPE_MEASURE_HALIGN (XML_SD_TYPES_START + 28 )
63 #define XML_SD_TYPE_MEASURE_VALIGN (XML_SD_TYPES_START + 29 )
64 #define XML_SD_TYPE_MEASURE_UNIT (XML_SD_TYPES_START + 30 )
65 #define XML_SD_TYPE_MEASURE_PLACING (XML_SD_TYPES_START + 31 )
66 #define XML_SD_TYPE_CONTROL_BORDER (XML_SD_TYPES_START + 32 )
67 #define XML_SD_TYPE_CONTROL_BORDER_COLOR (XML_SD_TYPES_START + 33 )
68 #define XML_SD_TYPE_IMAGE_SCALE_MODE (XML_SD_TYPES_START + 34 )
69 #define XML_SD_TYPE_LINECAP (XML_SD_TYPES_START + 35 )
70 #define XML_SD_TYPE_FITTOSIZE_AUTOFIT (XML_SD_TYPES_START + 36 )
71 
73 // 3D property types
74 #define XML_SD_TYPE_BACKFACE_CULLING (XML_SD_TYPES_START + 40 )
75 #define XML_SD_TYPE_NORMALS_KIND (XML_SD_TYPES_START + 41 )
76 #define XML_SD_TYPE_NORMALS_DIRECTION (XML_SD_TYPES_START + 42 )
77 #define XML_SD_TYPE_TEX_GENERATION_MODE_X (XML_SD_TYPES_START + 43 )
78 #define XML_SD_TYPE_TEX_GENERATION_MODE_Y (XML_SD_TYPES_START + 44 )
79 #define XML_SD_TYPE_TEX_KIND (XML_SD_TYPES_START + 45 )
80 #define XML_SD_TYPE_TEX_MODE (XML_SD_TYPES_START + 46 )
81 
83 // #FontWork# types
84 #define XML_SD_TYPE_FONTWORK_STYLE (XML_SD_TYPES_START + 47 )
85 #define XML_SD_TYPE_FONTWORK_ADJUST (XML_SD_TYPES_START + 48 )
86 #define XML_SD_TYPE_FONTWORK_SHADOW (XML_SD_TYPES_START + 49 )
87 #define XML_SD_TYPE_FONTWORK_FORM (XML_SD_TYPES_START + 50 )
88 
90 // Caption types
91 #define XML_SD_TYPE_CAPTION_ANGLE_TYPE (XML_SD_TYPES_START + 60 )
92 #define XML_SD_TYPE_CAPTION_IS_ESC_REL (XML_SD_TYPES_START + 61 )
93 #define XML_SD_TYPE_CAPTION_ESC_REL (XML_SD_TYPES_START + 62 )
94 #define XML_SD_TYPE_CAPTION_ESC_ABS (XML_SD_TYPES_START + 63 )
95 #define XML_SD_TYPE_CAPTION_ESC_DIR (XML_SD_TYPES_START + 64 )
96 #define XML_SD_TYPE_CAPTION_TYPE (XML_SD_TYPES_START + 65 )
97 
99 // header & footer types
100 #define XML_SD_TYPE_DATETIMEUPDATE (XML_SD_TYPES_START + 70 )
101 #define XML_SD_TYPE_DATETIME_FORMAT (XML_SD_TYPES_START + 71 )
102 
104 // new types for merged style:protect attribute
105 #define XML_SD_TYPE_MOVE_PROTECT (XML_SD_TYPES_START + 72 )
106 #define XML_SD_TYPE_SIZE_PROTECT (XML_SD_TYPES_START + 73 )
107 
109 // new type for style:mirror attribute
110 #define XML_TYPE_SD_MIRROR (XML_SD_TYPES_START + 74 )
111 
113 // new smil transition types for pages
114 #define XML_SD_TYPE_TRANSITION_TYPE (XML_SD_TYPES_START + 75 )
115 #define XML_SD_TYPE_TRANSTIION_SUBTYPE (XML_SD_TYPES_START + 76 )
116 #define XML_SD_TYPE_TRANSTIION_DIRECTION (XML_SD_TYPES_START + 77 )
117 #define XML_SD_TYPE_HEADER_FOOTER_VISIBILITY_TYPE (XML_SD_TYPES_START + 78 )
118 
120 
121 #define XML_SD_TYPE_CELL_ROTATION_ANGLE (XML_SD_TYPES_START + 79 )
122 
123 #define CTF_NUMBERINGRULES 1000
124 #define CTF_CONTROLWRITINGMODE 1001
125 #define CTF_WRITINGMODE 1002
126 #define CTF_REPEAT_OFFSET_X 1003
127 #define CTF_REPEAT_OFFSET_Y 1004
128 #define CTF_PAGE_SOUND_URL 1005
129 #define CTF_PAGE_VISIBLE 1006
130 #define CTF_PAGE_TRANS_TYPE 1007
131 #define CTF_PAGE_TRANS_STYLE 1008
132 #define CTF_PAGE_TRANS_SPEED 1009
133 #define CTF_PAGE_TRANS_DURATION 1010
134 #define CTF_PAGE_BACKSIZE 1011
135 #define CTF_DASHNAME 1012
136 #define CTF_LINESTARTNAME 1013
137 #define CTF_LINEENDNAME 1014
138 #define CTF_FILLGRADIENTNAME 1015
139 #define CTF_FILLHATCHNAME 1016
140 #define CTF_FILLBITMAPNAME 1017
141 #define CTF_FILLTRANSNAME 1018
142 #define CTF_TEXTANIMATION_BLINKING 1019
143 #define CTF_TEXTANIMATION_KIND 1020
144 
145 #define CTF_PAGE_TRANSITION_TYPE 1021
146 #define CTF_PAGE_TRANSITION_SUBTYPE 1022
147 #define CTF_PAGE_TRANSITION_DIRECTION 1023
148 #define CTF_PAGE_TRANSITION_FADECOLOR 1024
149 
151 // #FontWork#
152 #define CTF_FONTWORK_STYLE 1021
153 #define CTF_FONTWORK_ADJUST 1022
154 #define CTF_FONTWORK_DISTANCE 1023
155 #define CTF_FONTWORK_START 1024
156 #define CTF_FONTWORK_MIRROR 1025
157 #define CTF_FONTWORK_OUTLINE 1026
158 #define CTF_FONTWORK_SHADOW 1027
159 #define CTF_FONTWORK_SHADOWCOLOR 1028
160 #define CTF_FONTWORK_SHADOWOFFSETX 1029
161 #define CTF_FONTWORK_SHADOWOFFSETY 1030
162 #define CTF_FONTWORK_FORM 1031
163 #define CTF_FONTWORK_HIDEFORM 1032
164 #define CTF_FONTWORK_SHADOWTRANSPARENCE 1033
165 
167 // OLE part 1
168 #define CTF_SD_OLE_VIS_AREA_IMPORT_LEFT 1040
169 #define CTF_SD_OLE_VIS_AREA_IMPORT_TOP 1041
170 #define CTF_SD_OLE_VIS_AREA_IMPORT_WIDTH 1042
171 #define CTF_SD_OLE_VIS_AREA_IMPORT_HEIGHT 1043
172 #define CTF_SD_OLE_ISINTERNAL 1044
173 
174 #define CTF_SD_MOVE_PROTECT 1045
175 #define CTF_SD_SIZE_PROTECT 1046
176 
178 // caption
179 #define CTF_CAPTION_ISESCREL 1047
180 #define CTF_CAPTION_ESCREL 1048
181 #define CTF_CAPTION_ESCABS 1049
182 
184 // header&footer
185 #define CTF_HEADER_VISIBLE 1050
186 #define CTF_FOOTER_VISIBLE 1051
187 #define CTF_PAGE_NUMBER_VISIBLE 1052
188 #define CTF_DATE_TIME_VISIBLE 1053
189 #define CTF_HEADER_TEXT 1054
190 #define CTF_FOOTER_TEXT 1055
191 #define CTF_DATE_TIME_TEXT 1056
192 #define CTF_DATE_TIME_FORMAT 1057
193 #define CTF_DATE_TIME_UPDATE 1058
194 
196 // OLE part 2
197 #define CTF_SD_OLE_ASPECT 1059
198 #define CTF_SD_OLE_VIS_AREA_EXPORT_LEFT 1060
199 #define CTF_SD_OLE_VIS_AREA_EXPORT_TOP 1061
200 #define CTF_SD_OLE_VIS_AREA_EXPORT_WIDTH 1062
201 #define CTF_SD_OLE_VIS_AREA_EXPORT_HEIGHT 1063
202 
204 
205 #endif // _XMLSDTYPES_HXX
206 
207 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */