summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTomaž Vajngerl <tomaz.vajngerl@collabora.com>2014-03-15 18:02:04 +0100
committerTomaž Vajngerl <tomaz.vajngerl@collabora.com>2014-04-06 22:02:09 +0200
commit4b22b7fbba14fdbbac7bf7552e81dfc2bdcd06c5 (patch)
treef8d92ca650acdae23646674cae4d6856cd40c352
parent4487e268ffac149cdd28d90a848813bf0bb04e4a (diff)
sw html: also change commented constants in css1kywd + translate
Change-Id: Ief05af37729929bb51a72ee17b941a7370c52728
-rw-r--r--sw/source/filter/html/css1kywd.cxx22
-rw-r--r--sw/source/filter/html/css1kywd.hxx31
2 files changed, 19 insertions, 34 deletions
diff --git a/sw/source/filter/html/css1kywd.cxx b/sw/source/filter/html/css1kywd.cxx
index e5bc4c5e3082..cd10449776e4 100644
--- a/sw/source/filter/html/css1kywd.cxx
+++ b/sw/source/filter/html/css1kywd.cxx
@@ -21,14 +21,10 @@
const sal_Char* sCSS_mimetype = "text/css";
-// ein par allgemeine Strings
-
const sal_Char* sCSS1_import = "import";
-// Feature: PrintExt
const sal_Char* sCSS1_page = "page";
//const sal_Char* sCSS1_media = "media";
-// /Feature: PrintExt
const sal_Char* sCSS1_important = "important";
@@ -36,11 +32,9 @@ const sal_Char* sCSS1_link = "link";
const sal_Char* sCSS1_visited = "visited";
const sal_Char* sCSS1_first_letter = "first-letter";
-// Feature: PrintExt
const sal_Char* sCSS1_left = "left";
const sal_Char* sCSS1_right = "right";
const sal_Char* sCSS1_first = "first";
-// /Feature: PrintExt
const sal_Char* sCSS1_url = "url";
const sal_Char* sCSS1_rgb = "rgb";
@@ -54,7 +48,7 @@ const sal_Char* sCSS1_UNIT_px = "px";
const sal_Char* sCSS1_UNIT_em = "em";
const sal_Char* sCSS1_UNIT_ex = "ex";
-// Strings fuer Font-Properties
+// Strings for font properties
const sal_Char* sCSS1_P_font_family = "font-family";
@@ -108,7 +102,7 @@ const sal_Char* sCSS1_PV_smaller = "smaller";
const sal_Char* sCSS1_P_font = "font";
-// Strings fuer Farb- und Hintergrund-Properties
+// Strings for color and background properties
const sal_Char* sCSS1_P_color = "color";
@@ -128,7 +122,7 @@ const sal_Char* sCSS1_PV_bottom = "bottom";
const sal_Char* sCSS1_PV_scroll = "scroll";
-// Strings fuer Text-Properties
+// Strings for text properties
const sal_Char* sCSS1_P_letter_spacing = "letter-spacing";
@@ -151,7 +145,7 @@ const sal_Char* sCSS1_P_text_indent = "text-indent";
const sal_Char* sCSS1_P_line_height = "line-height";
-// Strings fuer Box-Properties
+// Strings for box properties
const sal_Char* sCSS1_P_margin_left = "margin-left";
const sal_Char* sCSS1_P_margin_right = "margin-right";
@@ -202,7 +196,7 @@ const sal_Char* sCSS1_P_float = "float";
const sal_Char* sCSS1_P_column_count = "column-count";
-// Strings fuer Positioning
+// Strings for positioning
const sal_Char* sCSS1_P_position = "position";
@@ -214,9 +208,7 @@ const sal_Char* sCSS1_P_left = "left";
const sal_Char* sCSS1_P_top = "top";
-// Feature: PrintExt
-
-// Strings fuer Printing Extensions
+// Strings for printing extensions
const sal_Char* sCSS1_P_page_break_before = "page-break-before";
const sal_Char* sCSS1_P_page_break_after = "page-break-after";
@@ -235,8 +227,6 @@ const sal_Char* sCSS1_PV_landscape = "landscape";
//const sal_Char* sCSS1_PV_crop = "crop";
//const sal_Char* sCSS1_PV_cross = "cross";
-// /Feature: PrintExt
-
const sal_Char* sCSS1_class_abs_pos = "sd-abs-pos";
const sal_Char* sCSS1_P_so_language = "so-language";
diff --git a/sw/source/filter/html/css1kywd.hxx b/sw/source/filter/html/css1kywd.hxx
index aed4b38f7cc7..38a96fc13a9c 100644
--- a/sw/source/filter/html/css1kywd.hxx
+++ b/sw/source/filter/html/css1kywd.hxx
@@ -24,8 +24,6 @@
extern const sal_Char* sCSS_mimetype;
-// ein par allgemeine Strings
-
extern const sal_Char* sCSS1_import;
extern const sal_Char* sCSS1_page;
@@ -52,7 +50,7 @@ extern const sal_Char* sCSS1_UNIT_px;
extern const sal_Char* sCSS1_UNIT_em;
extern const sal_Char* sCSS1_UNIT_ex;
-// Strings fuer Font-Properties
+// Strings for font properties
extern const sal_Char* sCSS1_P_font_family;
@@ -70,7 +68,7 @@ extern const sal_Char* sCSS1_PV_oblique;
extern const sal_Char* sCSS1_P_font_variant;
-//sal_Char CSS1_CONSTASCII_DECL( sCSS1_PV_normal, "normal" );
+//extern const sal_Char* sCSS1_PV_normal;
extern const sal_Char* sCSS1_PV_small_caps;
extern const sal_Char* sCSS1_P_text_transform;
@@ -84,7 +82,7 @@ extern const sal_Char* sCSS1_P_font_weight;
extern const sal_Char* sCSS1_PV_extra_light;
extern const sal_Char* sCSS1_PV_light;
extern const sal_Char* sCSS1_PV_demi_light;
-//sal_Char CSS1_CONSTASCII_DECL( sCSS1_PV_medium, "medium" );
+//extern const sal_Char* sCSS1_PV_medium;
extern const sal_Char* sCSS1_PV_demi_bold;
extern const sal_Char* sCSS1_PV_bold;
extern const sal_Char* sCSS1_PV_extra_bold;
@@ -106,7 +104,7 @@ extern const sal_Char* sCSS1_PV_smaller;
extern const sal_Char* sCSS1_P_font;
-// Strings fuer Farb- und Hintergrund-Properties
+// Strings for color and background properties
extern const sal_Char* sCSS1_P_color;
@@ -126,7 +124,7 @@ extern const sal_Char* sCSS1_PV_bottom;
extern const sal_Char* sCSS1_PV_scroll;
-// Strings fuer Text-Properties
+// Strings for text properties
extern const sal_Char* sCSS1_P_letter_spacing;
@@ -149,7 +147,7 @@ extern const sal_Char* sCSS1_P_text_indent;
extern const sal_Char* sCSS1_P_line_height;
-// Strings fuer Box-Properties
+// Strings for box properties
extern const sal_Char* sCSS1_P_margin_left;
extern const sal_Char* sCSS1_P_margin_right;
@@ -179,10 +177,10 @@ extern const sal_Char* sCSS1_P_border_bottom;
extern const sal_Char* sCSS1_P_border;
extern const sal_Char* sCSS1_PV_thin;
-//sal_Char CSS1_CONSTASCII_DECL( sCSS1_PV_medium, "medium" );
+//extern const sal_Char* sCSS1_PV_medium;
extern const sal_Char* sCSS1_PV_thick;
-//sal_Char CSS1_CONSTASCII_DECL( sCSS1_PV_none, "none" );
+//extern const sal_Char* sCSS1_PV_none;
extern const sal_Char* sCSS1_PV_dotted;
extern const sal_Char* sCSS1_PV_dashed;
extern const sal_Char* sCSS1_PV_solid;
@@ -200,7 +198,7 @@ extern const sal_Char* sCSS1_P_float;
extern const sal_Char* sCSS1_P_column_count;
-// Strings fuer Positioning
+// Strings for positioning
extern const sal_Char* sCSS1_P_position;
@@ -212,9 +210,7 @@ extern const sal_Char* sCSS1_P_left;
extern const sal_Char* sCSS1_P_top;
-// Feature: PrintExt
-
-// Strings fuer Printing Extensions
+// Strings for printing extensions
extern const sal_Char* sCSS1_P_page_break_before;
extern const sal_Char* sCSS1_P_page_break_after;
@@ -222,7 +218,7 @@ extern const sal_Char* sCSS1_P_page_break_inside;
extern const sal_Char* sCSS1_P_size;
extern const sal_Char* sCSS1_P_widows;
extern const sal_Char* sCSS1_P_orphans;
-//sal_Char CSS1_CONSTASCII_DECL( sCSS1_P_marks, "marks" );
+//extern const sal_Char* sCSS1_P_marks;
extern const sal_Char* sCSS1_PV_always;
extern const sal_Char* sCSS1_PV_avoid;
@@ -230,10 +226,9 @@ extern const sal_Char* sCSS1_PV_avoid;
extern const sal_Char* sCSS1_PV_portrait;
extern const sal_Char* sCSS1_PV_landscape;
-//sal_Char CSS1_CONSTASCII_DECL( sCSS1_PV_crop, "crop" );
-//sal_Char CSS1_CONSTASCII_DECL( sCSS1_PV_cross, "cross" );
+//extern const sal_Char* sCSS1_PV_crop;
+//extern const sal_Char* sCSS1_PV_cross;
-// /Feature: PrintExt
extern const sal_Char* sCSS1_class_abs_pos;