diff --git a/include/svtools/htmltokn.h b/include/svtools/htmltokn.h
index 37ca30e5f61d..62c560a247c2 100644
--- a/include/svtools/htmltokn.h
+++ b/include/svtools/htmltokn.h
@@ -27,19 +27,19 @@ namespace rtl {
class OUString;
};
-// suche das Char zu dem CharNamen
+// search the char for the CharName
sal_Unicode GetHTMLCharName( const rtl::OUString& rName );
-// suche die TokenID zu dem Token
+// search the TokenID for the token
SVT_DLLPUBLIC int GetHTMLToken( const rtl::OUString& rName );
-// suche die TokenId zu einemm Attribut-Token
+// search the TokenId for an attribute token
int GetHTMLOption( const rtl::OUString& rName );
-// suche die 24-bit-Farbe zu einem Farbnamen (nicht gefunden = ULONG_MAX)
+// search the 24-bit color for a color name (not found = ULONG_MAX)
SVT_DLLPUBLIC sal_uInt32 GetHTMLColor( const rtl::OUString& rName );
-// beginnen immer ab 256, groesser als ein char
+// always beninning from 256 on, greater than a char
const int HTML_TOKEN_START = 0x100;
const int HTML_TOKEN_ONOFF = 0x200;
const int HTML_TOKEN_MICROSOFT = 0x1000;
@@ -53,28 +53,28 @@ enum HTML_TOKEN_IDS
HTML_RAWDATA,
HTML_LINEFEEDCHAR,
- // diese werden nur eingeschaltet
+ // these will only be turned on
HTML_AREA, // Netscape 2.0
HTML_BASE, // HTML 3.0
HTML_COMMENT,
HTML_DOCTYPE,
- HTML_EMBED, // Netscape 2.0 ignorieren
- HTML_HORZRULE, // ignorieren
- HTML_IMAGE, // ignorieren
- HTML_INPUT, // ignorieren
+ HTML_EMBED, // Netscape 2.0 ignore
+ HTML_HORZRULE, // ignore
+ HTML_IMAGE, // ignore
+ HTML_INPUT, // ignore
HTML_LINEBREAK, // ->
HTML_LINK, // HTML 3.0
- HTML_META, // HTML 3.0 ignorieren
- HTML_OPTION, // ignorieren
+ HTML_META, // HTML 3.0 ignore
+ HTML_OPTION, // ignore
HTML_PARAM, // HotJava
- HTML_SPACER, // Netscape 3.0b5 // ignorieren
+ HTML_SPACER, // Netscape 3.0b5 // ignore
- // Tokens, die ueber HTML-Charakter erkannt werden
+ // tokens recognised using HTML character
HTML_NONBREAKSPACE,
HTML_SOFTHYPH,
- // diese werden wieder abgeschaltet,
- // der off-Wert liegt immer dahinter (+1) !!
+ // these will be turned back off,
+ // the off value is always located behind (+1) !!
HTML_ABBREVIATION_ON = HTML_TOKEN_ONOFF, // HTML 3.0
HTML_ABBREVIATION_OFF, // HTML 3.0
HTML_ACRONYM_ON, // HTML 3.0
@@ -276,16 +276,16 @@ enum HTML_TOKEN_IDS
HTML_SDFIELD_OFF
};
-// HTML Attribut-Token (=Optionen)
+// HTML attribute token (=Options)
-// beginnen immer ab 256, groesser als ein char
+// always beninning from 256 on, greater than a char
const int HTML_OPTION_START = 0x100;
enum HTML_OPTION_IDS
{
HTML_OPTION_BOOL_START = HTML_OPTION_START,
-// Attribute ohne Wert
+// attributes without value
HTML_O_CHECKED = HTML_OPTION_BOOL_START,
HTML_O_COMPACT,
HTML_O_DECLARE, // IExplorer 3.0b5
@@ -301,7 +301,7 @@ HTML_OPTION_BOOL_START = HTML_OPTION_START,
HTML_O_SELECTED,
HTML_OPTION_BOOL_END,
-// Attribute mit einem String als Wert
+// attributes with a string as value
HTML_OPTION_STRING_START = HTML_OPTION_BOOL_END,
HTML_O_ACCEPT = HTML_OPTION_STRING_START,
HTML_O_ACCESSKEY,
@@ -332,14 +332,14 @@ HTML_OPTION_STRING_START = HTML_OPTION_BOOL_END,
HTML_O_SDMODULE,
HTML_OPTION_STRING_END,
-// Attribute mit einem SGML-Identifier als Wert
+// attributes with an SGML identifier as value
HTML_OPTION_SGMLID_START = HTML_OPTION_STRING_END,
HTML_O_ID = HTML_OPTION_SGMLID_START,
HTML_O_TARGET, // Netscape 2.0
HTML_O_TO,
HTML_OPTION_SGMLID_END,
-// Attribute mit einem URI als Wert
+// attributes with a URI as value
HTML_OPTION_URI_START = HTML_OPTION_SGMLID_END,
HTML_O_ACTION = HTML_OPTION_URI_START,
HTML_O_ARCHIVE,
@@ -353,7 +353,7 @@ HTML_OPTION_URI_START = HTML_OPTION_SGMLID_END,
HTML_O_USEMAP, // Netscape 2.0
HTML_OPTION_URI_END,
-// Attribute mit einer Farbe als Wert (alle Netscape)
+// attributes with a color as value (all Netscape)
HTML_OPTION_COLOR_START = HTML_OPTION_URI_END,
HTML_O_ALINK = HTML_OPTION_COLOR_START,
HTML_O_BGCOLOR,
@@ -366,7 +366,7 @@ HTML_OPTION_COLOR_START = HTML_OPTION_URI_END,
HTML_O_VLINK,
HTML_OPTION_COLOR_END,
-// Attribute mit einem numerischen Wert
+// attributes with a numeric value
HTML_OPTION_NUMBER_START = HTML_OPTION_COLOR_END,
HTML_O_BORDER = HTML_OPTION_NUMBER_START,
HTML_O_CELLSPACING, // HTML3 Table Model Draft
@@ -392,7 +392,7 @@ HTML_OPTION_NUMBER_START = HTML_OPTION_COLOR_END,
HTML_O_ZINDEX,
HTML_OPTION_NUMBER_END,
-// Attribute mit Enum-Werten
+// attributes with Enum values
HTML_OPTION_ENUM_START = HTML_OPTION_NUMBER_END,
HTML_O_BEHAVIOR = HTML_OPTION_ENUM_START, // IExplorer 2.0
HTML_O_CLEAR,
@@ -414,7 +414,7 @@ HTML_OPTION_ENUM_START = HTML_OPTION_NUMBER_END,
HTML_O_WRAP,
HTML_OPTION_ENUM_END,
-// Attribute mit Script-Code als Wert
+// attributes with script code as value
HTML_OPTION_SCRIPT_START = HTML_OPTION_ENUM_END,
HTML_O_ONABORT = HTML_OPTION_SCRIPT_START, // JavaScript
HTML_O_ONBLUR, // JavaScript
@@ -445,7 +445,7 @@ HTML_OPTION_SCRIPT_START = HTML_OPTION_ENUM_END,
HTML_O_SDONUNLOAD, // StarBasic
HTML_OPTION_SCRIPT_END,
-// Attribute mit Kontext-abhaengigen Werten
+// attributes with context dependent values
HTML_OPTION_CONTEXT_START = HTML_OPTION_SCRIPT_END,
HTML_O_ALIGN = HTML_OPTION_CONTEXT_START,
HTML_O_COLS, // Netscape 2.0 vs HTML 2.0
@@ -454,7 +454,7 @@ HTML_OPTION_CONTEXT_START = HTML_OPTION_SCRIPT_END,
HTML_O_START,
HTML_OPTION_CONTEXT_END,
-// eine unbekannte Option
+// an unknown option
HTML_O_UNKNOWN = HTML_OPTION_CONTEXT_END,
HTML_OPTION_END
};