1 /*************************************************************************
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5 * Copyright 2008 by Sun Microsystems, Inc.
7 * OpenOffice.org - a multi-platform office productivity suite
9 * $RCSfile: css1kywd.hxx,v $
10 * $Revision: 1.5.210.1 $
12 * This file is part of OpenOffice.org.
14 * OpenOffice.org is free software: you can redistribute it and/or modify
15 * it under the terms of the GNU Lesser General Public License version 3
16 * only, as published by the Free Software Foundation.
18 * OpenOffice.org is distributed in the hope that it will be useful,
19 * but WITHOUT ANY WARRANTY; without even the implied warranty of
20 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21 * GNU Lesser General Public License version 3 for more details
22 * (a copy is included in the LICENSE file that accompanied this code).
24 * You should have received a copy of the GNU Lesser General Public License
25 * version 3 along with OpenOffice.org. If not, see
26 * <http://www.openoffice.org/license.html>
27 * for a copy of the LGPLv3 License.
29 ************************************************************************/
34 #include <tools/string.hxx>
36 #ifndef CSS1_CONSTASCII_DECL
37 #define CSS1_CONSTASCII_DECL( n, s ) n[sizeof(s)]
39 #ifndef CSS1_CONSTASCII_DEF
40 #define CSS1_CONSTASCII_DEF( n, s ) n[sizeof(s)] = s
45 extern sal_Char __FAR_DATA
CSS1_CONSTASCII_DECL( sCSS_mimetype
, "text/css" );
49 // ein par allgemeine Strings
51 extern sal_Char __FAR_DATA
CSS1_CONSTASCII_DECL( sCSS1_import
, "import" );
54 extern sal_Char __FAR_DATA
CSS1_CONSTASCII_DECL( sCSS1_page
, "page" );
55 //sal_Char __FAR_DATA CSS1_CONSTASCII_DECL( sCSS1_media, "media" );
58 extern sal_Char __FAR_DATA
CSS1_CONSTASCII_DECL( sCSS1_important
, "important" );
60 extern sal_Char __FAR_DATA
CSS1_CONSTASCII_DECL( sCSS1_link
, "link" );
61 extern sal_Char __FAR_DATA
CSS1_CONSTASCII_DECL( sCSS1_visited
, "visited" );
62 extern sal_Char __FAR_DATA
CSS1_CONSTASCII_DECL( sCSS1_first_letter
, "first-letter" );
65 extern sal_Char __FAR_DATA
CSS1_CONSTASCII_DECL( sCSS1_left
, "left" );
66 extern sal_Char __FAR_DATA
CSS1_CONSTASCII_DECL( sCSS1_right
, "right" );
67 extern sal_Char __FAR_DATA
CSS1_CONSTASCII_DECL( sCSS1_first
, "first" );
70 extern sal_Char __FAR_DATA
CSS1_CONSTASCII_DECL( sCSS1_url
, "url" );
71 extern sal_Char __FAR_DATA
CSS1_CONSTASCII_DECL( sCSS1_rgb
, "rgb" );
73 extern sal_Char __FAR_DATA
CSS1_CONSTASCII_DECL( sCSS1_UNIT_pt
, "pt" );
74 extern sal_Char __FAR_DATA
CSS1_CONSTASCII_DECL( sCSS1_UNIT_mm
, "mm" );
75 extern sal_Char __FAR_DATA
CSS1_CONSTASCII_DECL( sCSS1_UNIT_cm
, "cm" );
76 extern sal_Char __FAR_DATA
CSS1_CONSTASCII_DECL( sCSS1_UNIT_pc
, "pc" );
77 extern sal_Char __FAR_DATA
CSS1_CONSTASCII_DECL( sCSS1_UNIT_inch
, "in" );
78 extern sal_Char __FAR_DATA
CSS1_CONSTASCII_DECL( sCSS1_UNIT_px
, "px" );
79 extern sal_Char __FAR_DATA
CSS1_CONSTASCII_DECL( sCSS1_UNIT_em
, "em" );
80 extern sal_Char __FAR_DATA
CSS1_CONSTASCII_DECL( sCSS1_UNIT_ex
, "ex" );
84 // Strings fuer Font-Properties
86 extern sal_Char __FAR_DATA
CSS1_CONSTASCII_DECL( sCSS1_P_font_family
, "font-family" );
88 extern sal_Char __FAR_DATA
CSS1_CONSTASCII_DECL( sCSS1_PV_serif
, "serif" );
89 extern sal_Char __FAR_DATA
CSS1_CONSTASCII_DECL( sCSS1_PV_sans_serif
, "sans-serif" );
90 extern sal_Char __FAR_DATA
CSS1_CONSTASCII_DECL( sCSS1_PV_cursive
, "cursive" );
91 extern sal_Char __FAR_DATA
CSS1_CONSTASCII_DECL( sCSS1_PV_fantasy
, "fantasy" );
92 extern sal_Char __FAR_DATA
CSS1_CONSTASCII_DECL( sCSS1_PV_monospace
, "monospace" );
95 extern sal_Char __FAR_DATA
CSS1_CONSTASCII_DECL( sCSS1_P_font_style
, "font-style" );
97 extern sal_Char __FAR_DATA
CSS1_CONSTASCII_DECL( sCSS1_PV_normal
, "normal" );
98 extern sal_Char __FAR_DATA
CSS1_CONSTASCII_DECL( sCSS1_PV_italic
, "italic" );
99 extern sal_Char __FAR_DATA
CSS1_CONSTASCII_DECL( sCSS1_PV_oblique
, "oblique" );
102 extern sal_Char __FAR_DATA
CSS1_CONSTASCII_DECL( sCSS1_P_font_variant
, "font-variant" );
104 //sal_Char __FAR_DATA CSS1_CONSTASCII_DECL( sCSS1_PV_normal, "normal" );
105 extern sal_Char __FAR_DATA
CSS1_CONSTASCII_DECL( sCSS1_PV_small_caps
, "small-caps" );
108 extern sal_Char __FAR_DATA
CSS1_CONSTASCII_DECL( sCSS1_P_font_weight
, "font-weight" );
110 extern sal_Char __FAR_DATA
CSS1_CONSTASCII_DECL( sCSS1_PV_extra_light
, "extra-light" );
111 extern sal_Char __FAR_DATA
CSS1_CONSTASCII_DECL( sCSS1_PV_light
, "light" );
112 extern sal_Char __FAR_DATA
CSS1_CONSTASCII_DECL( sCSS1_PV_demi_light
, "demi-light" );
113 //sal_Char __FAR_DATA CSS1_CONSTASCII_DECL( sCSS1_PV_medium, "medium" );
114 extern sal_Char __FAR_DATA
CSS1_CONSTASCII_DECL( sCSS1_PV_demi_bold
, "demi-bold" );
115 extern sal_Char __FAR_DATA
CSS1_CONSTASCII_DECL( sCSS1_PV_bold
, "bold" );
116 extern sal_Char __FAR_DATA
CSS1_CONSTASCII_DECL( sCSS1_PV_extra_bold
, "extra-bold" );
117 extern sal_Char __FAR_DATA
CSS1_CONSTASCII_DECL( sCSS1_PV_lighter
, "lighter" );
118 extern sal_Char __FAR_DATA
CSS1_CONSTASCII_DECL( sCSS1_PV_bolder
, "bolder" );
121 extern sal_Char __FAR_DATA
CSS1_CONSTASCII_DECL( sCSS1_P_font_size
, "font-size" );
123 extern sal_Char __FAR_DATA
CSS1_CONSTASCII_DECL( sCSS1_PV_xx_small
, "xx-small" );
124 extern sal_Char __FAR_DATA
CSS1_CONSTASCII_DECL( sCSS1_PV_x_small
, "x-small" );
125 extern sal_Char __FAR_DATA
CSS1_CONSTASCII_DECL( sCSS1_PV_small
, "small" );
126 extern sal_Char __FAR_DATA
CSS1_CONSTASCII_DECL( sCSS1_PV_medium
, "medium" );
127 extern sal_Char __FAR_DATA
CSS1_CONSTASCII_DECL( sCSS1_PV_large
, "large" );
128 extern sal_Char __FAR_DATA
CSS1_CONSTASCII_DECL( sCSS1_PV_x_large
, "x-large" );
129 extern sal_Char __FAR_DATA
CSS1_CONSTASCII_DECL( sCSS1_PV_xx_large
, "xx-large" );
131 extern sal_Char __FAR_DATA
CSS1_CONSTASCII_DECL( sCSS1_PV_larger
, "larger" );
132 extern sal_Char __FAR_DATA
CSS1_CONSTASCII_DECL( sCSS1_PV_smaller
, "smaller" );
135 extern sal_Char __FAR_DATA
CSS1_CONSTASCII_DECL( sCSS1_P_font
, "font" );
141 // Strings fuer Farb- und Hintergrund-Properties
143 extern sal_Char __FAR_DATA
CSS1_CONSTASCII_DECL( sCSS1_P_color
, "color" );
146 extern sal_Char __FAR_DATA
CSS1_CONSTASCII_DECL( sCSS1_P_background
, "background" );
147 extern sal_Char __FAR_DATA
CSS1_CONSTASCII_DECL( sCSS1_P_background_color
, "background-color" );
149 extern sal_Char __FAR_DATA
CSS1_CONSTASCII_DECL( sCSS1_PV_transparent
, "transparent" );
151 extern sal_Char __FAR_DATA
CSS1_CONSTASCII_DECL( sCSS1_PV_repeat
, "repeat" );
152 extern sal_Char __FAR_DATA
CSS1_CONSTASCII_DECL( sCSS1_PV_repeat_x
, "repeat-x" );
153 extern sal_Char __FAR_DATA
CSS1_CONSTASCII_DECL( sCSS1_PV_repeat_y
, "repeat-y" );
154 extern sal_Char __FAR_DATA
CSS1_CONSTASCII_DECL( sCSS1_PV_no_repeat
, "no-repeat" );
156 extern sal_Char __FAR_DATA
CSS1_CONSTASCII_DECL( sCSS1_PV_top
, "top" );
157 extern sal_Char __FAR_DATA
CSS1_CONSTASCII_DECL( sCSS1_PV_middle
, "middle" );
158 extern sal_Char __FAR_DATA
CSS1_CONSTASCII_DECL( sCSS1_PV_bottom
, "bottom" );
160 extern sal_Char __FAR_DATA
CSS1_CONSTASCII_DECL( sCSS1_PV_scroll
, "scroll" );
165 // Strings fuer Text-Properties
167 extern sal_Char __FAR_DATA
CSS1_CONSTASCII_DECL( sCSS1_P_letter_spacing
, "letter-spacing" );
170 extern sal_Char __FAR_DATA
CSS1_CONSTASCII_DECL( sCSS1_P_text_decoration
, "text-decoration" );
172 extern sal_Char __FAR_DATA
CSS1_CONSTASCII_DECL( sCSS1_PV_none
, "none" );
173 extern sal_Char __FAR_DATA
CSS1_CONSTASCII_DECL( sCSS1_PV_underline
, "underline" );
174 extern sal_Char __FAR_DATA
CSS1_CONSTASCII_DECL( sCSS1_PV_overline
, "overline" );
175 extern sal_Char __FAR_DATA
CSS1_CONSTASCII_DECL( sCSS1_PV_line_through
, "line-through" );
176 extern sal_Char __FAR_DATA
CSS1_CONSTASCII_DECL( sCSS1_PV_blink
, "blink" );
179 extern sal_Char __FAR_DATA
CSS1_CONSTASCII_DECL( sCSS1_P_text_align
, "text-align" );
181 extern sal_Char __FAR_DATA
CSS1_CONSTASCII_DECL( sCSS1_PV_left
, "left" );
182 extern sal_Char __FAR_DATA
CSS1_CONSTASCII_DECL( sCSS1_PV_center
, "center" );
183 extern sal_Char __FAR_DATA
CSS1_CONSTASCII_DECL( sCSS1_PV_right
, "right" );
184 extern sal_Char __FAR_DATA
CSS1_CONSTASCII_DECL( sCSS1_PV_justify
, "justify" );
187 extern sal_Char __FAR_DATA
CSS1_CONSTASCII_DECL( sCSS1_P_text_indent
, "text-indent" );
190 extern sal_Char __FAR_DATA
CSS1_CONSTASCII_DECL( sCSS1_P_line_height
, "line-height" );
195 // Strings fuer Box-Properties
197 extern sal_Char __FAR_DATA
CSS1_CONSTASCII_DECL( sCSS1_P_margin_left
, "margin-left" );
198 extern sal_Char __FAR_DATA
CSS1_CONSTASCII_DECL( sCSS1_P_margin_right
, "margin-right" );
199 extern sal_Char __FAR_DATA
CSS1_CONSTASCII_DECL( sCSS1_P_margin_top
, "margin-top" );
200 extern sal_Char __FAR_DATA
CSS1_CONSTASCII_DECL( sCSS1_P_margin_bottom
, "margin-bottom" );
201 extern sal_Char __FAR_DATA
CSS1_CONSTASCII_DECL( sCSS1_P_margin
, "margin" );
203 extern sal_Char __FAR_DATA
CSS1_CONSTASCII_DECL( sCSS1_P_padding_top
, "padding-top" );
204 extern sal_Char __FAR_DATA
CSS1_CONSTASCII_DECL( sCSS1_P_padding_bottom
, "padding-bottom" );
205 extern sal_Char __FAR_DATA
CSS1_CONSTASCII_DECL( sCSS1_P_padding_left
, "padding-left" );
206 extern sal_Char __FAR_DATA
CSS1_CONSTASCII_DECL( sCSS1_P_padding_right
, "padding-right" );
207 extern sal_Char __FAR_DATA
CSS1_CONSTASCII_DECL( sCSS1_P_padding
, "padding" );
209 extern sal_Char __FAR_DATA
CSS1_CONSTASCII_DECL( sCSS1_PV_auto
, "auto" );
211 extern sal_Char __FAR_DATA
CSS1_CONSTASCII_DECL( sCSS1_P_border_left_width
, "border-left-width" );
212 extern sal_Char __FAR_DATA
CSS1_CONSTASCII_DECL( sCSS1_P_border_right_width
, "border-right-width" );
213 extern sal_Char __FAR_DATA
CSS1_CONSTASCII_DECL( sCSS1_P_border_top_width
, "border-top-width" );
214 extern sal_Char __FAR_DATA
CSS1_CONSTASCII_DECL( sCSS1_P_border_bottom_width
, "border-bottom-width" );
215 extern sal_Char __FAR_DATA
CSS1_CONSTASCII_DECL( sCSS1_P_border_width
, "border-width" );
216 extern sal_Char __FAR_DATA
CSS1_CONSTASCII_DECL( sCSS1_P_border_color
, "border-color" );
217 extern sal_Char __FAR_DATA
CSS1_CONSTASCII_DECL( sCSS1_P_border_style
, "border-style" );
218 extern sal_Char __FAR_DATA
CSS1_CONSTASCII_DECL( sCSS1_P_border_left
, "border-left" );
219 extern sal_Char __FAR_DATA
CSS1_CONSTASCII_DECL( sCSS1_P_border_right
, "border-right" );
220 extern sal_Char __FAR_DATA
CSS1_CONSTASCII_DECL( sCSS1_P_border_top
, "border-top" );
221 extern sal_Char __FAR_DATA
CSS1_CONSTASCII_DECL( sCSS1_P_border_bottom
, "border-bottom" );
222 extern sal_Char __FAR_DATA
CSS1_CONSTASCII_DECL( sCSS1_P_border
, "border" );
224 extern sal_Char __FAR_DATA
CSS1_CONSTASCII_DECL( sCSS1_PV_thin
, "thin" );
225 //sal_Char __FAR_DATA CSS1_CONSTASCII_DECL( sCSS1_PV_medium, "medium" );
226 extern sal_Char __FAR_DATA
CSS1_CONSTASCII_DECL( sCSS1_PV_thick
, "thick" );
228 //sal_Char __FAR_DATA CSS1_CONSTASCII_DECL( sCSS1_PV_none, "none" );
229 extern sal_Char __FAR_DATA
CSS1_CONSTASCII_DECL( sCSS1_PV_dotted
, "dotted" );
230 extern sal_Char __FAR_DATA
CSS1_CONSTASCII_DECL( sCSS1_PV_dashed
, "dashed" );
231 extern sal_Char __FAR_DATA
CSS1_CONSTASCII_DECL( sCSS1_PV_solid
, "solid" );
232 extern sal_Char __FAR_DATA
CSS1_CONSTASCII_DECL( sCSS1_PV_double
, "double" );
233 extern sal_Char __FAR_DATA
CSS1_CONSTASCII_DECL( sCSS1_PV_groove
, "groove" );
234 extern sal_Char __FAR_DATA
CSS1_CONSTASCII_DECL( sCSS1_PV_ridge
, "ridge" );
235 extern sal_Char __FAR_DATA
CSS1_CONSTASCII_DECL( sCSS1_PV_inset
, "inset" );
236 extern sal_Char __FAR_DATA
CSS1_CONSTASCII_DECL( sCSS1_PV_outset
, "outset" );
238 extern sal_Char __FAR_DATA
CSS1_CONSTASCII_DECL( sCSS1_P_width
, "width" );
240 extern sal_Char __FAR_DATA
CSS1_CONSTASCII_DECL( sCSS1_P_height
, "height" );
242 extern sal_Char __FAR_DATA
CSS1_CONSTASCII_DECL( sCSS1_P_float
, "float" );
246 // Strings fuer Positioning
248 extern sal_Char __FAR_DATA
CSS1_CONSTASCII_DECL( sCSS1_P_position
, "position" );
250 extern sal_Char __FAR_DATA
CSS1_CONSTASCII_DECL( sCSS1_PV_absolute
, "absolute" );
251 extern sal_Char __FAR_DATA
CSS1_CONSTASCII_DECL( sCSS1_PV_relative
, "relative" );
252 extern sal_Char __FAR_DATA
CSS1_CONSTASCII_DECL( sCSS1_PV_static
, "static" );
254 extern sal_Char __FAR_DATA
CSS1_CONSTASCII_DECL( sCSS1_P_left
, "left" );
256 extern sal_Char __FAR_DATA
CSS1_CONSTASCII_DECL( sCSS1_P_top
, "top" );
262 // Strings fuer Printing Extensions
264 extern sal_Char __FAR_DATA
CSS1_CONSTASCII_DECL( sCSS1_P_page_break_before
, "page-break-before" );
265 extern sal_Char __FAR_DATA
CSS1_CONSTASCII_DECL( sCSS1_P_page_break_after
, "page-break-after" );
266 extern sal_Char __FAR_DATA
CSS1_CONSTASCII_DECL( sCSS1_P_page_break_inside
, "page-break-inside" );
267 extern sal_Char __FAR_DATA
CSS1_CONSTASCII_DECL( sCSS1_P_size
, "size" );
268 extern sal_Char __FAR_DATA
CSS1_CONSTASCII_DECL( sCSS1_P_widows
, "widows" );
269 extern sal_Char __FAR_DATA
CSS1_CONSTASCII_DECL( sCSS1_P_orphans
, "orphans" );
270 //sal_Char __FAR_DATA CSS1_CONSTASCII_DECL( sCSS1_P_marks, "marks" );
272 extern sal_Char __FAR_DATA
CSS1_CONSTASCII_DECL( sCSS1_PV_always
, "always" );
273 extern sal_Char __FAR_DATA
CSS1_CONSTASCII_DECL( sCSS1_PV_avoid
, "avoid" );
275 extern sal_Char __FAR_DATA
CSS1_CONSTASCII_DECL( sCSS1_PV_portrait
, "portrait" );
276 extern sal_Char __FAR_DATA
CSS1_CONSTASCII_DECL( sCSS1_PV_landscape
, "landscape" );
278 //sal_Char __FAR_DATA CSS1_CONSTASCII_DECL( sCSS1_PV_crop, "crop" );
279 //sal_Char __FAR_DATA CSS1_CONSTASCII_DECL( sCSS1_PV_cross, "cross" );
281 // /Feature: PrintExt
283 extern sal_Char __FAR_DATA
CSS1_CONSTASCII_DECL( sCSS1_class_abs_pos
, "sd-abs-pos" );
286 extern sal_Char __FAR_DATA
CSS1_CONSTASCII_DECL( sCSS1_P_so_language
, "so-language" );
287 extern sal_Char __FAR_DATA
CSS1_CONSTASCII_DECL( sCSS1_P_direction
, "direction" );
288 extern sal_Char __FAR_DATA
CSS1_CONSTASCII_DECL( sCSS1_PV_ltr
, "ltr" );
289 extern sal_Char __FAR_DATA
CSS1_CONSTASCII_DECL( sCSS1_PV_rtl
, "rtl" );
290 extern sal_Char __FAR_DATA
CSS1_CONSTASCII_DECL( sCSS1_PV_inherit
, "inherit" );