153 """ |
153 """ |
154 Private method to initialize the W3C character selector entries. |
154 Private method to initialize the W3C character selector entries. |
155 """ |
155 """ |
156 self.__characterCategories = ( |
156 self.__characterCategories = ( |
157 # display name code |
157 # display name code |
158 (self.trUtf8("Letter, Any"), "L" ), |
158 (self.trUtf8("Letter, Any"), "L"), |
159 (self.trUtf8("Letter, Uppercase"), "Lu"), |
159 (self.trUtf8("Letter, Uppercase"), "Lu"), |
160 (self.trUtf8("Letter, Lowercase"), "Ll"), |
160 (self.trUtf8("Letter, Lowercase"), "Ll"), |
161 (self.trUtf8("Letter, Titlecase"), "Lt"), |
161 (self.trUtf8("Letter, Titlecase"), "Lt"), |
162 (self.trUtf8("Letter, Modifier"), "Lm"), |
162 (self.trUtf8("Letter, Modifier"), "Lm"), |
163 (self.trUtf8("Letter, Other"), "Lo"), |
163 (self.trUtf8("Letter, Other"), "Lo"), |
164 (self.trUtf8("Mark, Any"), "M" ), |
164 (self.trUtf8("Mark, Any"), "M"), |
165 (self.trUtf8("Mark, Nonspacing"), "Mn"), |
165 (self.trUtf8("Mark, Nonspacing"), "Mn"), |
166 (self.trUtf8("Mark, Spacing Combining"), "Mc"), |
166 (self.trUtf8("Mark, Spacing Combining"), "Mc"), |
167 (self.trUtf8("Mark, Enclosing"), "Me"), |
167 (self.trUtf8("Mark, Enclosing"), "Me"), |
168 (self.trUtf8("Number, Any"), "N" ), |
168 (self.trUtf8("Number, Any"), "N"), |
169 (self.trUtf8("Number, Decimal Digit"), "Nd"), |
169 (self.trUtf8("Number, Decimal Digit"), "Nd"), |
170 (self.trUtf8("Number, Letter"), "Nl"), |
170 (self.trUtf8("Number, Letter"), "Nl"), |
171 (self.trUtf8("Number, Other"), "No"), |
171 (self.trUtf8("Number, Other"), "No"), |
172 (self.trUtf8("Punctuation, Any"), "P" ), |
172 (self.trUtf8("Punctuation, Any"), "P"), |
173 (self.trUtf8("Punctuation, Connector"), "Pc"), |
173 (self.trUtf8("Punctuation, Connector"), "Pc"), |
174 (self.trUtf8("Punctuation, Dash"), "Pd"), |
174 (self.trUtf8("Punctuation, Dash"), "Pd"), |
175 (self.trUtf8("Punctuation, Open"), "Ps"), |
175 (self.trUtf8("Punctuation, Open"), "Ps"), |
176 (self.trUtf8("Punctuation, Close"), "Pe"), |
176 (self.trUtf8("Punctuation, Close"), "Pe"), |
177 (self.trUtf8("Punctuation, Initial Quote"), "Pi"), |
177 (self.trUtf8("Punctuation, Initial Quote"), "Pi"), |
178 (self.trUtf8("Punctuation, Final Quote"), "Pf"), |
178 (self.trUtf8("Punctuation, Final Quote"), "Pf"), |
179 (self.trUtf8("Punctuation, Other"), "Po"), |
179 (self.trUtf8("Punctuation, Other"), "Po"), |
180 (self.trUtf8("Symbol, Any"), "S" ), |
180 (self.trUtf8("Symbol, Any"), "S"), |
181 (self.trUtf8("Symbol, Math"), "Sm"), |
181 (self.trUtf8("Symbol, Math"), "Sm"), |
182 (self.trUtf8("Symbol, Currency"), "Sc"), |
182 (self.trUtf8("Symbol, Currency"), "Sc"), |
183 (self.trUtf8("Symbol, Modifier"), "Sk"), |
183 (self.trUtf8("Symbol, Modifier"), "Sk"), |
184 (self.trUtf8("Symbol, Other"), "So"), |
184 (self.trUtf8("Symbol, Other"), "So"), |
185 (self.trUtf8("Separator, Any"), "Z" ), |
185 (self.trUtf8("Separator, Any"), "Z"), |
186 (self.trUtf8("Separator, Space"), "Zs"), |
186 (self.trUtf8("Separator, Space"), "Zs"), |
187 (self.trUtf8("Separator, Line"), "Zl"), |
187 (self.trUtf8("Separator, Line"), "Zl"), |
188 (self.trUtf8("Separator, Paragraph"), "Zp"), |
188 (self.trUtf8("Separator, Paragraph"), "Zp"), |
189 (self.trUtf8("Other, Any"), "C" ), |
189 (self.trUtf8("Other, Any"), "C"), |
190 (self.trUtf8("Other, Control"), "Cc"), |
190 (self.trUtf8("Other, Control"), "Cc"), |
191 (self.trUtf8("Other, Format"), "Cf"), |
191 (self.trUtf8("Other, Format"), "Cf"), |
192 (self.trUtf8("Other, Private Use"), "Co"), |
192 (self.trUtf8("Other, Private Use"), "Co"), |
193 (self.trUtf8("Other, Not Assigned"), "Cn"), |
193 (self.trUtf8("Other, Not Assigned"), "Cn"), |
194 ) |
194 ) |