1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
3 * This file is part of the LibreOffice project.
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/.
9 * This file incorporates work covered by the following license notice:
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 .
20 #ifndef INCLUDED_SW_SOURCE_FILTER_HTML_CSS1KYWD_HXX
21 #define INCLUDED_SW_SOURCE_FILTER_HTML_CSS1KYWD_HXX
23 #include <sal/config.h>
25 #include <string_view>
27 constexpr inline std::string_view sCSS_mimetype
= "text/css";
29 constexpr inline std::string_view sCSS1_page
= "page";
30 //constexpr inline std::string_view sCSS1_media = "media";
32 constexpr inline std::string_view sCSS1_link
= "link";
33 constexpr inline std::string_view sCSS1_visited
= "visited";
34 constexpr inline std::string_view sCSS1_first_letter
= "first-letter";
36 constexpr inline std::string_view sCSS1_left
= "left";
37 constexpr inline std::string_view sCSS1_right
= "right";
38 constexpr inline std::string_view sCSS1_first
= "first";
40 constexpr inline std::string_view sCSS1_url
= "url";
42 constexpr inline std::string_view sCSS1_UNIT_pt
= "pt";
43 constexpr inline std::string_view sCSS1_UNIT_mm
= "mm";
44 constexpr inline std::string_view sCSS1_UNIT_cm
= "cm";
45 constexpr inline std::string_view sCSS1_UNIT_pc
= "pc";
46 constexpr inline std::string_view sCSS1_UNIT_inch
= "in";
47 constexpr inline std::string_view sCSS1_UNIT_px
= "px";
49 // Strings for font properties
51 constexpr inline std::string_view sCSS1_P_font_family
= "font-family";
53 constexpr inline std::string_view sCSS1_PV_serif
= "serif";
54 constexpr inline std::string_view sCSS1_PV_sans_serif
= "sans-serif";
55 constexpr inline std::string_view sCSS1_PV_cursive
= "cursive";
56 constexpr inline std::string_view sCSS1_PV_fantasy
= "fantasy";
57 constexpr inline std::string_view sCSS1_PV_monospace
= "monospace";
59 constexpr inline std::string_view sCSS1_P_font_style
= "font-style";
61 constexpr inline std::string_view sCSS1_PV_normal
= "normal";
62 constexpr inline std::string_view sCSS1_PV_italic
= "italic";
63 constexpr inline std::string_view sCSS1_PV_oblique
= "oblique";
65 constexpr inline std::string_view sCSS1_P_font_variant
= "font-variant";
67 //constexpr inline std::string_view sCSS1_PV_normal = "normal";
68 constexpr inline std::string_view sCSS1_PV_small_caps
= "small-caps";
70 constexpr inline std::string_view sCSS1_P_text_transform
= "text-transform";
72 constexpr inline std::string_view sCSS1_PV_capitalize
= "capitalize";
73 constexpr inline std::string_view sCSS1_PV_uppercase
= "uppercase";
74 constexpr inline std::string_view sCSS1_PV_lowercase
= "lowercase";
76 constexpr inline std::string_view sCSS1_P_font_weight
= "font-weight";
78 constexpr inline std::string_view sCSS1_PV_extra_light
= "extra-light";
79 constexpr inline std::string_view sCSS1_PV_light
= "light";
80 constexpr inline std::string_view sCSS1_PV_demi_light
= "demi-light";
81 //constexpr inline std::string_view sCSS1_PV_medium = "medium";
82 constexpr inline std::string_view sCSS1_PV_demi_bold
= "demi-bold";
83 constexpr inline std::string_view sCSS1_PV_bold
= "bold";
84 constexpr inline std::string_view sCSS1_PV_extra_bold
= "extra-bold";
86 constexpr inline std::string_view sCSS1_P_font_size
= "font-size";
88 constexpr inline std::string_view sCSS1_P_font
= "font";
90 // Strings for color and background properties
92 constexpr inline std::string_view sCSS1_P_color
= "color";
94 constexpr inline std::string_view sCSS1_P_background
= "background";
95 constexpr inline std::string_view sCSS1_P_background_color
= "background-color";
97 constexpr inline std::string_view sCSS1_PV_transparent
= "transparent";
99 constexpr inline std::string_view sCSS1_PV_repeat
= "repeat";
100 constexpr inline std::string_view sCSS1_PV_no_repeat
= "no-repeat";
102 constexpr inline std::string_view sCSS1_PV_top
= "top";
103 constexpr inline std::string_view sCSS1_PV_middle
= "middle";
104 constexpr inline std::string_view sCSS1_PV_bottom
= "bottom";
106 constexpr inline std::string_view sCSS1_PV_scroll
= "scroll";
108 // Strings for text properties
110 constexpr inline std::string_view sCSS1_P_letter_spacing
= "letter-spacing";
112 constexpr inline std::string_view sCSS1_P_text_decoration
= "text-decoration";
114 constexpr inline std::string_view sCSS1_PV_none
= "none";
115 constexpr inline std::string_view sCSS1_PV_underline
= "underline";
116 constexpr inline std::string_view sCSS1_PV_overline
= "overline";
117 constexpr inline std::string_view sCSS1_PV_line_through
= "line-through";
118 constexpr inline std::string_view sCSS1_PV_blink
= "blink";
120 constexpr inline std::string_view sCSS1_P_text_align
= "text-align";
122 constexpr inline std::string_view sCSS1_PV_left
= "left";
123 constexpr inline std::string_view sCSS1_PV_center
= "center";
124 constexpr inline std::string_view sCSS1_PV_right
= "right";
125 constexpr inline std::string_view sCSS1_PV_justify
= "justify";
127 constexpr inline std::string_view sCSS1_P_text_indent
= "text-indent";
129 constexpr inline std::string_view sCSS1_P_line_height
= "line-height";
131 constexpr inline std::string_view sCSS1_P_list_style_type
= "list-style-type";
133 // Strings for box properties
135 constexpr inline std::string_view sCSS1_P_margin_left
= "margin-left";
136 constexpr inline std::string_view sCSS1_P_margin_right
= "margin-right";
137 constexpr inline std::string_view sCSS1_P_margin_top
= "margin-top";
138 constexpr inline std::string_view sCSS1_P_margin_bottom
= "margin-bottom";
139 constexpr inline std::string_view sCSS1_P_margin
= "margin";
141 constexpr inline std::string_view sCSS1_P_padding_top
= "padding-top";
142 constexpr inline std::string_view sCSS1_P_padding_bottom
= "padding-bottom";
143 constexpr inline std::string_view sCSS1_P_padding_left
= "padding-left";
144 constexpr inline std::string_view sCSS1_P_padding_right
= "padding-right";
145 constexpr inline std::string_view sCSS1_P_padding
= "padding";
147 constexpr inline std::string_view sCSS1_PV_auto
= "auto";
149 constexpr inline std::string_view sCSS1_P_border_left_width
= "border-left-width";
150 constexpr inline std::string_view sCSS1_P_border_right_width
= "border-right-width";
151 constexpr inline std::string_view sCSS1_P_border_top_width
= "border-top-width";
152 constexpr inline std::string_view sCSS1_P_border_bottom_width
= "border-bottom-width";
153 constexpr inline std::string_view sCSS1_P_border_width
= "border-width";
154 constexpr inline std::string_view sCSS1_P_border_color
= "border-color";
155 constexpr inline std::string_view sCSS1_P_border_style
= "border-style";
156 constexpr inline std::string_view sCSS1_P_border_left
= "border-left";
157 constexpr inline std::string_view sCSS1_P_border_right
= "border-right";
158 constexpr inline std::string_view sCSS1_P_border_top
= "border-top";
159 constexpr inline std::string_view sCSS1_P_border_bottom
= "border-bottom";
160 constexpr inline std::string_view sCSS1_P_border
= "border";
162 //constexpr inline std::string_view sCSS1_PV_none = "none";
163 constexpr inline std::string_view sCSS1_PV_dotted
= "dotted";
164 constexpr inline std::string_view sCSS1_PV_dashed
= "dashed";
165 constexpr inline std::string_view sCSS1_PV_solid
= "solid";
166 constexpr inline std::string_view sCSS1_PV_double
= "double";
167 constexpr inline std::string_view sCSS1_PV_groove
= "groove";
168 constexpr inline std::string_view sCSS1_PV_ridge
= "ridge";
169 constexpr inline std::string_view sCSS1_PV_inset
= "inset";
170 constexpr inline std::string_view sCSS1_PV_outset
= "outset";
172 constexpr inline std::string_view sCSS1_P_width
= "width";
173 constexpr inline std::string_view sCSS1_P_max_width
= "max-width";
175 constexpr inline std::string_view sCSS1_P_height
= "height";
177 constexpr inline std::string_view sCSS1_P_float
= "float";
179 constexpr inline std::string_view sCSS1_P_column_count
= "column-count";
180 constexpr inline std::string_view sCSS1_P_dir
= "dir";
182 // Strings for positioning
184 constexpr inline std::string_view sCSS1_P_position
= "position";
186 constexpr inline std::string_view sCSS1_PV_absolute
= "absolute";
188 constexpr inline std::string_view sCSS1_P_left
= "left";
190 constexpr inline std::string_view sCSS1_P_top
= "top";
192 // Strings for printing extensions
194 constexpr inline std::string_view sCSS1_P_page_break_before
= "page-break-before";
195 constexpr inline std::string_view sCSS1_P_page_break_after
= "page-break-after";
196 constexpr inline std::string_view sCSS1_P_page_break_inside
= "page-break-inside";
197 constexpr inline std::string_view sCSS1_P_size
= "size";
198 constexpr inline std::string_view sCSS1_P_widows
= "widows";
199 constexpr inline std::string_view sCSS1_P_visibility
= "visibility";
200 constexpr inline std::string_view sCSS1_P_orphans
= "orphans";
201 //constexpr inline std::string_view sCSS1_P_marks = "marks";
203 constexpr inline std::string_view sCSS1_PV_always
= "always";
204 constexpr inline std::string_view sCSS1_PV_avoid
= "avoid";
206 constexpr inline std::string_view sCSS1_PV_portrait
= "portrait";
207 constexpr inline std::string_view sCSS1_PV_landscape
= "landscape";
209 //constexpr inline std::string_view sCSS1_PV_crop = "crop";
210 //constexpr inline std::string_view sCSS1_PV_cross = "cross";
212 constexpr inline std::string_view sCSS1_P_so_language
= "so-language";
213 constexpr inline std::string_view sCSS1_P_direction
= "direction";
214 constexpr inline std::string_view sCSS1_PV_ltr
= "ltr";
215 constexpr inline std::string_view sCSS1_PV_rtl
= "rtl";
216 constexpr inline std::string_view sCSS1_PV_inherit
= "inherit";
218 constexpr inline std::string_view sCSS1_P_display
= "display";
222 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */