winrt-Windows.UI.Text 2.0.0b1__cp39-cp39-win_arm64.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,623 @@
1
+ # WARNING: Please don't edit this file. It was generated by Python/WinRT v2.0.0-beta.1
2
+
3
+ import datetime
4
+ import sys
5
+ import types
6
+ import typing
7
+ import uuid as _uuid
8
+ from builtins import property as _property
9
+
10
+ import winrt._winrt
11
+ import winrt.system
12
+ import winrt.windows.foundation
13
+ import winrt.windows.storage.streams
14
+ import winrt.windows.ui
15
+
16
+ from winrt.windows.ui.text import CaretType, FindOptions, FontStretch, FontStyle, FormatEffect, HorizontalCharacterAlignment, LetterCase, LineSpacingRule, LinkType, MarkerAlignment, MarkerStyle, MarkerType, ParagraphAlignment, ParagraphStyle, PointOptions, RangeGravity, RichEditMathMode, SelectionOptions, SelectionType, TabAlignment, TabLeader, TextDecorations, TextGetOptions, TextRangeUnit, TextScript, TextSetOptions, UnderlineType, VerticalCharacterAlignment
17
+
18
+ Self = typing.TypeVar('Self')
19
+
20
+ class FontWeight:
21
+ weight: winrt.system.UInt16
22
+ def __init__(self, weight: winrt.system.UInt16) -> None: ...
23
+
24
+ class ContentLinkInfo(winrt.system.Object):
25
+ @staticmethod
26
+ def _from(obj: winrt.system.Object, /) -> ContentLinkInfo: ...
27
+ def __new__(cls: typing.Type[ContentLinkInfo]) -> ContentLinkInfo:...
28
+ @_property
29
+ def uri(self) -> typing.Optional[winrt.windows.foundation.Uri]: ...
30
+ @uri.setter
31
+ def uri(self, value: typing.Optional[winrt.windows.foundation.Uri]) -> None: ...
32
+ @_property
33
+ def secondary_text(self) -> str: ...
34
+ @secondary_text.setter
35
+ def secondary_text(self, value: str) -> None: ...
36
+ @_property
37
+ def link_content_kind(self) -> str: ...
38
+ @link_content_kind.setter
39
+ def link_content_kind(self, value: str) -> None: ...
40
+ @_property
41
+ def id(self) -> winrt.system.UInt32: ...
42
+ @id.setter
43
+ def id(self, value: winrt.system.UInt32) -> None: ...
44
+ @_property
45
+ def display_text(self) -> str: ...
46
+ @display_text.setter
47
+ def display_text(self, value: str) -> None: ...
48
+
49
+ class FontWeights_Static(type):
50
+ @_property
51
+ def black(cls) -> FontWeight: ...
52
+ @_property
53
+ def bold(cls) -> FontWeight: ...
54
+ @_property
55
+ def extra_black(cls) -> FontWeight: ...
56
+ @_property
57
+ def extra_bold(cls) -> FontWeight: ...
58
+ @_property
59
+ def extra_light(cls) -> FontWeight: ...
60
+ @_property
61
+ def light(cls) -> FontWeight: ...
62
+ @_property
63
+ def medium(cls) -> FontWeight: ...
64
+ @_property
65
+ def normal(cls) -> FontWeight: ...
66
+ @_property
67
+ def semi_bold(cls) -> FontWeight: ...
68
+ @_property
69
+ def semi_light(cls) -> FontWeight: ...
70
+ @_property
71
+ def thin(cls) -> FontWeight: ...
72
+
73
+ class FontWeights(winrt.system.Object, metaclass=FontWeights_Static):
74
+ @staticmethod
75
+ def _from(obj: winrt.system.Object, /) -> FontWeights: ...
76
+
77
+ class RichEditTextDocument(winrt.system.Object):
78
+ @staticmethod
79
+ def _from(obj: winrt.system.Object, /) -> RichEditTextDocument: ...
80
+ def apply_display_updates(self) -> winrt.system.Int32: ...
81
+ def batch_display_updates(self) -> winrt.system.Int32: ...
82
+ def begin_undo_group(self) -> None: ...
83
+ def can_copy(self) -> bool: ...
84
+ def can_paste(self) -> bool: ...
85
+ def can_redo(self) -> bool: ...
86
+ def can_undo(self) -> bool: ...
87
+ def clear_undo_redo_history(self) -> None: ...
88
+ def end_undo_group(self) -> None: ...
89
+ def get_default_character_format(self) -> typing.Optional[ITextCharacterFormat]: ...
90
+ def get_default_paragraph_format(self) -> typing.Optional[ITextParagraphFormat]: ...
91
+ def get_math(self) -> str: ...
92
+ def get_range(self, start_position: winrt.system.Int32, end_position: winrt.system.Int32, /) -> typing.Optional[ITextRange]: ...
93
+ def get_range_from_point(self, point: winrt.windows.foundation.Point, options: PointOptions, /) -> typing.Optional[ITextRange]: ...
94
+ def get_text(self, options: TextGetOptions, /) -> str: ...
95
+ def load_from_stream(self, options: TextSetOptions, value: typing.Optional[winrt.windows.storage.streams.IRandomAccessStream], /) -> None: ...
96
+ def redo(self) -> None: ...
97
+ def save_to_stream(self, options: TextGetOptions, value: typing.Optional[winrt.windows.storage.streams.IRandomAccessStream], /) -> None: ...
98
+ def set_default_character_format(self, value: typing.Optional[ITextCharacterFormat], /) -> None: ...
99
+ def set_default_paragraph_format(self, value: typing.Optional[ITextParagraphFormat], /) -> None: ...
100
+ def set_math(self, value: str, /) -> None: ...
101
+ def set_math_mode(self, mode: RichEditMathMode, /) -> None: ...
102
+ def set_text(self, options: TextSetOptions, value: str, /) -> None: ...
103
+ def undo(self) -> None: ...
104
+ @_property
105
+ def undo_limit(self) -> winrt.system.UInt32: ...
106
+ @undo_limit.setter
107
+ def undo_limit(self, value: winrt.system.UInt32) -> None: ...
108
+ @_property
109
+ def default_tab_stop(self) -> winrt.system.Single: ...
110
+ @default_tab_stop.setter
111
+ def default_tab_stop(self, value: winrt.system.Single) -> None: ...
112
+ @_property
113
+ def caret_type(self) -> CaretType: ...
114
+ @caret_type.setter
115
+ def caret_type(self, value: CaretType) -> None: ...
116
+ @_property
117
+ def selection(self) -> typing.Optional[ITextSelection]: ...
118
+ @_property
119
+ def ignore_trailing_character_spacing(self) -> bool: ...
120
+ @ignore_trailing_character_spacing.setter
121
+ def ignore_trailing_character_spacing(self, value: bool) -> None: ...
122
+ @_property
123
+ def alignment_includes_trailing_whitespace(self) -> bool: ...
124
+ @alignment_includes_trailing_whitespace.setter
125
+ def alignment_includes_trailing_whitespace(self, value: bool) -> None: ...
126
+
127
+ class RichEditTextRange(winrt.system.Object):
128
+ @staticmethod
129
+ def _from(obj: winrt.system.Object, /) -> RichEditTextRange: ...
130
+ def can_paste(self, format: winrt.system.Int32, /) -> bool: ...
131
+ def change_case(self, value: LetterCase, /) -> None: ...
132
+ def collapse(self, value: bool, /) -> None: ...
133
+ def copy(self) -> None: ...
134
+ def cut(self) -> None: ...
135
+ def delete(self, unit: TextRangeUnit, count: winrt.system.Int32, /) -> winrt.system.Int32: ...
136
+ def end_of(self, unit: TextRangeUnit, extend: bool, /) -> winrt.system.Int32: ...
137
+ def expand(self, unit: TextRangeUnit, /) -> winrt.system.Int32: ...
138
+ def find_text(self, value: str, scan_length: winrt.system.Int32, options: FindOptions, /) -> winrt.system.Int32: ...
139
+ def get_character_utf32(self, offset: winrt.system.Int32, /) -> winrt.system.UInt32: ...
140
+ def get_clone(self) -> typing.Optional[ITextRange]: ...
141
+ def get_index(self, unit: TextRangeUnit, /) -> winrt.system.Int32: ...
142
+ def get_point(self, horizontal_align: HorizontalCharacterAlignment, vertical_align: VerticalCharacterAlignment, options: PointOptions, /) -> winrt.windows.foundation.Point: ...
143
+ def get_rect(self, options: PointOptions, /) -> typing.Tuple[winrt.windows.foundation.Rect, winrt.system.Int32]: ...
144
+ def get_text(self, options: TextGetOptions, /) -> str: ...
145
+ def get_text_via_stream(self, options: TextGetOptions, value: typing.Optional[winrt.windows.storage.streams.IRandomAccessStream], /) -> None: ...
146
+ def in_range(self, range: typing.Optional[ITextRange], /) -> bool: ...
147
+ def in_story(self, range: typing.Optional[ITextRange], /) -> bool: ...
148
+ def insert_image(self, width: winrt.system.Int32, height: winrt.system.Int32, ascent: winrt.system.Int32, vertical_align: VerticalCharacterAlignment, alternate_text: str, value: typing.Optional[winrt.windows.storage.streams.IRandomAccessStream], /) -> None: ...
149
+ def is_equal(self, range: typing.Optional[ITextRange], /) -> bool: ...
150
+ def match_selection(self) -> None: ...
151
+ def move(self, unit: TextRangeUnit, count: winrt.system.Int32, /) -> winrt.system.Int32: ...
152
+ def move_end(self, unit: TextRangeUnit, count: winrt.system.Int32, /) -> winrt.system.Int32: ...
153
+ def move_start(self, unit: TextRangeUnit, count: winrt.system.Int32, /) -> winrt.system.Int32: ...
154
+ def paste(self, format: winrt.system.Int32, /) -> None: ...
155
+ def scroll_into_view(self, value: PointOptions, /) -> None: ...
156
+ def set_index(self, unit: TextRangeUnit, index: winrt.system.Int32, extend: bool, /) -> None: ...
157
+ def set_point(self, point: winrt.windows.foundation.Point, options: PointOptions, extend: bool, /) -> None: ...
158
+ def set_range(self, start_position: winrt.system.Int32, end_position: winrt.system.Int32, /) -> None: ...
159
+ def set_text(self, options: TextSetOptions, value: str, /) -> None: ...
160
+ def set_text_via_stream(self, options: TextSetOptions, value: typing.Optional[winrt.windows.storage.streams.IRandomAccessStream], /) -> None: ...
161
+ def start_of(self, unit: TextRangeUnit, extend: bool, /) -> winrt.system.Int32: ...
162
+ @_property
163
+ def content_link_info(self) -> typing.Optional[ContentLinkInfo]: ...
164
+ @content_link_info.setter
165
+ def content_link_info(self, value: typing.Optional[ContentLinkInfo]) -> None: ...
166
+ @_property
167
+ def text(self) -> str: ...
168
+ @text.setter
169
+ def text(self, value: str) -> None: ...
170
+ @_property
171
+ def start_position(self) -> winrt.system.Int32: ...
172
+ @start_position.setter
173
+ def start_position(self, value: winrt.system.Int32) -> None: ...
174
+ @_property
175
+ def paragraph_format(self) -> typing.Optional[ITextParagraphFormat]: ...
176
+ @paragraph_format.setter
177
+ def paragraph_format(self, value: typing.Optional[ITextParagraphFormat]) -> None: ...
178
+ @_property
179
+ def link(self) -> str: ...
180
+ @link.setter
181
+ def link(self, value: str) -> None: ...
182
+ @_property
183
+ def gravity(self) -> RangeGravity: ...
184
+ @gravity.setter
185
+ def gravity(self, value: RangeGravity) -> None: ...
186
+ @_property
187
+ def formatted_text(self) -> typing.Optional[ITextRange]: ...
188
+ @formatted_text.setter
189
+ def formatted_text(self, value: typing.Optional[ITextRange]) -> None: ...
190
+ @_property
191
+ def end_position(self) -> winrt.system.Int32: ...
192
+ @end_position.setter
193
+ def end_position(self, value: winrt.system.Int32) -> None: ...
194
+ @_property
195
+ def character_format(self) -> typing.Optional[ITextCharacterFormat]: ...
196
+ @character_format.setter
197
+ def character_format(self, value: typing.Optional[ITextCharacterFormat]) -> None: ...
198
+ @_property
199
+ def character(self) -> winrt.system.Char16: ...
200
+ @character.setter
201
+ def character(self, value: winrt.system.Char16) -> None: ...
202
+ @_property
203
+ def length(self) -> winrt.system.Int32: ...
204
+ @_property
205
+ def story_length(self) -> winrt.system.Int32: ...
206
+
207
+ class TextConstants_Static(type):
208
+ @_property
209
+ def auto_color(cls) -> winrt.windows.ui.Color: ...
210
+ @_property
211
+ def max_unit_count(cls) -> winrt.system.Int32: ...
212
+ @_property
213
+ def min_unit_count(cls) -> winrt.system.Int32: ...
214
+ @_property
215
+ def undefined_color(cls) -> winrt.windows.ui.Color: ...
216
+ @_property
217
+ def undefined_float_value(cls) -> winrt.system.Single: ...
218
+ @_property
219
+ def undefined_font_stretch(cls) -> FontStretch: ...
220
+ @_property
221
+ def undefined_font_style(cls) -> FontStyle: ...
222
+ @_property
223
+ def undefined_int32_value(cls) -> winrt.system.Int32: ...
224
+
225
+ class TextConstants(winrt.system.Object, metaclass=TextConstants_Static):
226
+ @staticmethod
227
+ def _from(obj: winrt.system.Object, /) -> TextConstants: ...
228
+
229
+ class ITextCharacterFormat(winrt.system.Object):
230
+ @staticmethod
231
+ def _from(obj: winrt.system.Object, /) -> ITextCharacterFormat: ...
232
+ def get_clone(self) -> typing.Optional[ITextCharacterFormat]: ...
233
+ def is_equal(self, format: typing.Optional[ITextCharacterFormat], /) -> bool: ...
234
+ def set_clone(self, value: typing.Optional[ITextCharacterFormat], /) -> None: ...
235
+ @_property
236
+ def all_caps(self) -> FormatEffect: ...
237
+ @all_caps.setter
238
+ def all_caps(self, value: FormatEffect) -> None: ...
239
+ @_property
240
+ def background_color(self) -> winrt.windows.ui.Color: ...
241
+ @background_color.setter
242
+ def background_color(self, value: winrt.windows.ui.Color) -> None: ...
243
+ @_property
244
+ def bold(self) -> FormatEffect: ...
245
+ @bold.setter
246
+ def bold(self, value: FormatEffect) -> None: ...
247
+ @_property
248
+ def font_stretch(self) -> FontStretch: ...
249
+ @font_stretch.setter
250
+ def font_stretch(self, value: FontStretch) -> None: ...
251
+ @_property
252
+ def font_style(self) -> FontStyle: ...
253
+ @font_style.setter
254
+ def font_style(self, value: FontStyle) -> None: ...
255
+ @_property
256
+ def foreground_color(self) -> winrt.windows.ui.Color: ...
257
+ @foreground_color.setter
258
+ def foreground_color(self, value: winrt.windows.ui.Color) -> None: ...
259
+ @_property
260
+ def hidden(self) -> FormatEffect: ...
261
+ @hidden.setter
262
+ def hidden(self, value: FormatEffect) -> None: ...
263
+ @_property
264
+ def italic(self) -> FormatEffect: ...
265
+ @italic.setter
266
+ def italic(self, value: FormatEffect) -> None: ...
267
+ @_property
268
+ def kerning(self) -> winrt.system.Single: ...
269
+ @kerning.setter
270
+ def kerning(self, value: winrt.system.Single) -> None: ...
271
+ @_property
272
+ def language_tag(self) -> str: ...
273
+ @language_tag.setter
274
+ def language_tag(self, value: str) -> None: ...
275
+ @_property
276
+ def link_type(self) -> LinkType: ...
277
+ @_property
278
+ def name(self) -> str: ...
279
+ @name.setter
280
+ def name(self, value: str) -> None: ...
281
+ @_property
282
+ def outline(self) -> FormatEffect: ...
283
+ @outline.setter
284
+ def outline(self, value: FormatEffect) -> None: ...
285
+ @_property
286
+ def position(self) -> winrt.system.Single: ...
287
+ @position.setter
288
+ def position(self, value: winrt.system.Single) -> None: ...
289
+ @_property
290
+ def protected_text(self) -> FormatEffect: ...
291
+ @protected_text.setter
292
+ def protected_text(self, value: FormatEffect) -> None: ...
293
+ @_property
294
+ def size(self) -> winrt.system.Single: ...
295
+ @size.setter
296
+ def size(self, value: winrt.system.Single) -> None: ...
297
+ @_property
298
+ def small_caps(self) -> FormatEffect: ...
299
+ @small_caps.setter
300
+ def small_caps(self, value: FormatEffect) -> None: ...
301
+ @_property
302
+ def spacing(self) -> winrt.system.Single: ...
303
+ @spacing.setter
304
+ def spacing(self, value: winrt.system.Single) -> None: ...
305
+ @_property
306
+ def strikethrough(self) -> FormatEffect: ...
307
+ @strikethrough.setter
308
+ def strikethrough(self, value: FormatEffect) -> None: ...
309
+ @_property
310
+ def subscript(self) -> FormatEffect: ...
311
+ @subscript.setter
312
+ def subscript(self, value: FormatEffect) -> None: ...
313
+ @_property
314
+ def superscript(self) -> FormatEffect: ...
315
+ @superscript.setter
316
+ def superscript(self, value: FormatEffect) -> None: ...
317
+ @_property
318
+ def text_script(self) -> TextScript: ...
319
+ @text_script.setter
320
+ def text_script(self, value: TextScript) -> None: ...
321
+ @_property
322
+ def underline(self) -> UnderlineType: ...
323
+ @underline.setter
324
+ def underline(self, value: UnderlineType) -> None: ...
325
+ @_property
326
+ def weight(self) -> winrt.system.Int32: ...
327
+ @weight.setter
328
+ def weight(self, value: winrt.system.Int32) -> None: ...
329
+
330
+ class ITextDocument(winrt.system.Object):
331
+ @staticmethod
332
+ def _from(obj: winrt.system.Object, /) -> ITextDocument: ...
333
+ def apply_display_updates(self) -> winrt.system.Int32: ...
334
+ def batch_display_updates(self) -> winrt.system.Int32: ...
335
+ def begin_undo_group(self) -> None: ...
336
+ def can_copy(self) -> bool: ...
337
+ def can_paste(self) -> bool: ...
338
+ def can_redo(self) -> bool: ...
339
+ def can_undo(self) -> bool: ...
340
+ def end_undo_group(self) -> None: ...
341
+ def get_default_character_format(self) -> typing.Optional[ITextCharacterFormat]: ...
342
+ def get_default_paragraph_format(self) -> typing.Optional[ITextParagraphFormat]: ...
343
+ def get_range(self, start_position: winrt.system.Int32, end_position: winrt.system.Int32, /) -> typing.Optional[ITextRange]: ...
344
+ def get_range_from_point(self, point: winrt.windows.foundation.Point, options: PointOptions, /) -> typing.Optional[ITextRange]: ...
345
+ def get_text(self, options: TextGetOptions, /) -> str: ...
346
+ def load_from_stream(self, options: TextSetOptions, value: typing.Optional[winrt.windows.storage.streams.IRandomAccessStream], /) -> None: ...
347
+ def redo(self) -> None: ...
348
+ def save_to_stream(self, options: TextGetOptions, value: typing.Optional[winrt.windows.storage.streams.IRandomAccessStream], /) -> None: ...
349
+ def set_default_character_format(self, value: typing.Optional[ITextCharacterFormat], /) -> None: ...
350
+ def set_default_paragraph_format(self, value: typing.Optional[ITextParagraphFormat], /) -> None: ...
351
+ def set_text(self, options: TextSetOptions, value: str, /) -> None: ...
352
+ def undo(self) -> None: ...
353
+ @_property
354
+ def caret_type(self) -> CaretType: ...
355
+ @caret_type.setter
356
+ def caret_type(self, value: CaretType) -> None: ...
357
+ @_property
358
+ def default_tab_stop(self) -> winrt.system.Single: ...
359
+ @default_tab_stop.setter
360
+ def default_tab_stop(self, value: winrt.system.Single) -> None: ...
361
+ @_property
362
+ def selection(self) -> typing.Optional[ITextSelection]: ...
363
+ @_property
364
+ def undo_limit(self) -> winrt.system.UInt32: ...
365
+ @undo_limit.setter
366
+ def undo_limit(self, value: winrt.system.UInt32) -> None: ...
367
+
368
+ class ITextParagraphFormat(winrt.system.Object):
369
+ @staticmethod
370
+ def _from(obj: winrt.system.Object, /) -> ITextParagraphFormat: ...
371
+ def add_tab(self, position: winrt.system.Single, align: TabAlignment, leader: TabLeader, /) -> None: ...
372
+ def clear_all_tabs(self) -> None: ...
373
+ def delete_tab(self, position: winrt.system.Single, /) -> None: ...
374
+ def get_clone(self) -> typing.Optional[ITextParagraphFormat]: ...
375
+ def get_tab(self, index: winrt.system.Int32, /) -> typing.Tuple[winrt.system.Single, TabAlignment, TabLeader]: ...
376
+ def is_equal(self, format: typing.Optional[ITextParagraphFormat], /) -> bool: ...
377
+ def set_clone(self, format: typing.Optional[ITextParagraphFormat], /) -> None: ...
378
+ def set_indents(self, start: winrt.system.Single, left: winrt.system.Single, right: winrt.system.Single, /) -> None: ...
379
+ def set_line_spacing(self, rule: LineSpacingRule, spacing: winrt.system.Single, /) -> None: ...
380
+ @_property
381
+ def alignment(self) -> ParagraphAlignment: ...
382
+ @alignment.setter
383
+ def alignment(self, value: ParagraphAlignment) -> None: ...
384
+ @_property
385
+ def first_line_indent(self) -> winrt.system.Single: ...
386
+ @_property
387
+ def keep_together(self) -> FormatEffect: ...
388
+ @keep_together.setter
389
+ def keep_together(self, value: FormatEffect) -> None: ...
390
+ @_property
391
+ def keep_with_next(self) -> FormatEffect: ...
392
+ @keep_with_next.setter
393
+ def keep_with_next(self, value: FormatEffect) -> None: ...
394
+ @_property
395
+ def left_indent(self) -> winrt.system.Single: ...
396
+ @_property
397
+ def line_spacing(self) -> winrt.system.Single: ...
398
+ @_property
399
+ def line_spacing_rule(self) -> LineSpacingRule: ...
400
+ @_property
401
+ def list_alignment(self) -> MarkerAlignment: ...
402
+ @list_alignment.setter
403
+ def list_alignment(self, value: MarkerAlignment) -> None: ...
404
+ @_property
405
+ def list_level_index(self) -> winrt.system.Int32: ...
406
+ @list_level_index.setter
407
+ def list_level_index(self, value: winrt.system.Int32) -> None: ...
408
+ @_property
409
+ def list_start(self) -> winrt.system.Int32: ...
410
+ @list_start.setter
411
+ def list_start(self, value: winrt.system.Int32) -> None: ...
412
+ @_property
413
+ def list_style(self) -> MarkerStyle: ...
414
+ @list_style.setter
415
+ def list_style(self, value: MarkerStyle) -> None: ...
416
+ @_property
417
+ def list_tab(self) -> winrt.system.Single: ...
418
+ @list_tab.setter
419
+ def list_tab(self, value: winrt.system.Single) -> None: ...
420
+ @_property
421
+ def list_type(self) -> MarkerType: ...
422
+ @list_type.setter
423
+ def list_type(self, value: MarkerType) -> None: ...
424
+ @_property
425
+ def no_line_number(self) -> FormatEffect: ...
426
+ @no_line_number.setter
427
+ def no_line_number(self, value: FormatEffect) -> None: ...
428
+ @_property
429
+ def page_break_before(self) -> FormatEffect: ...
430
+ @page_break_before.setter
431
+ def page_break_before(self, value: FormatEffect) -> None: ...
432
+ @_property
433
+ def right_indent(self) -> winrt.system.Single: ...
434
+ @right_indent.setter
435
+ def right_indent(self, value: winrt.system.Single) -> None: ...
436
+ @_property
437
+ def right_to_left(self) -> FormatEffect: ...
438
+ @right_to_left.setter
439
+ def right_to_left(self, value: FormatEffect) -> None: ...
440
+ @_property
441
+ def space_after(self) -> winrt.system.Single: ...
442
+ @space_after.setter
443
+ def space_after(self, value: winrt.system.Single) -> None: ...
444
+ @_property
445
+ def space_before(self) -> winrt.system.Single: ...
446
+ @space_before.setter
447
+ def space_before(self, value: winrt.system.Single) -> None: ...
448
+ @_property
449
+ def style(self) -> ParagraphStyle: ...
450
+ @style.setter
451
+ def style(self, value: ParagraphStyle) -> None: ...
452
+ @_property
453
+ def tab_count(self) -> winrt.system.Int32: ...
454
+ @_property
455
+ def widow_control(self) -> FormatEffect: ...
456
+ @widow_control.setter
457
+ def widow_control(self, value: FormatEffect) -> None: ...
458
+
459
+ class ITextRange(winrt.system.Object):
460
+ @staticmethod
461
+ def _from(obj: winrt.system.Object, /) -> ITextRange: ...
462
+ def can_paste(self, format: winrt.system.Int32, /) -> bool: ...
463
+ def change_case(self, value: LetterCase, /) -> None: ...
464
+ def collapse(self, value: bool, /) -> None: ...
465
+ def copy(self) -> None: ...
466
+ def cut(self) -> None: ...
467
+ def delete(self, unit: TextRangeUnit, count: winrt.system.Int32, /) -> winrt.system.Int32: ...
468
+ def end_of(self, unit: TextRangeUnit, extend: bool, /) -> winrt.system.Int32: ...
469
+ def expand(self, unit: TextRangeUnit, /) -> winrt.system.Int32: ...
470
+ def find_text(self, value: str, scan_length: winrt.system.Int32, options: FindOptions, /) -> winrt.system.Int32: ...
471
+ def get_character_utf32(self, offset: winrt.system.Int32, /) -> winrt.system.UInt32: ...
472
+ def get_clone(self) -> typing.Optional[ITextRange]: ...
473
+ def get_index(self, unit: TextRangeUnit, /) -> winrt.system.Int32: ...
474
+ def get_point(self, horizontal_align: HorizontalCharacterAlignment, vertical_align: VerticalCharacterAlignment, options: PointOptions, /) -> winrt.windows.foundation.Point: ...
475
+ def get_rect(self, options: PointOptions, /) -> typing.Tuple[winrt.windows.foundation.Rect, winrt.system.Int32]: ...
476
+ def get_text(self, options: TextGetOptions, /) -> str: ...
477
+ def get_text_via_stream(self, options: TextGetOptions, value: typing.Optional[winrt.windows.storage.streams.IRandomAccessStream], /) -> None: ...
478
+ def in_range(self, range: typing.Optional[ITextRange], /) -> bool: ...
479
+ def in_story(self, range: typing.Optional[ITextRange], /) -> bool: ...
480
+ def insert_image(self, width: winrt.system.Int32, height: winrt.system.Int32, ascent: winrt.system.Int32, vertical_align: VerticalCharacterAlignment, alternate_text: str, value: typing.Optional[winrt.windows.storage.streams.IRandomAccessStream], /) -> None: ...
481
+ def is_equal(self, range: typing.Optional[ITextRange], /) -> bool: ...
482
+ def match_selection(self) -> None: ...
483
+ def move(self, unit: TextRangeUnit, count: winrt.system.Int32, /) -> winrt.system.Int32: ...
484
+ def move_end(self, unit: TextRangeUnit, count: winrt.system.Int32, /) -> winrt.system.Int32: ...
485
+ def move_start(self, unit: TextRangeUnit, count: winrt.system.Int32, /) -> winrt.system.Int32: ...
486
+ def paste(self, format: winrt.system.Int32, /) -> None: ...
487
+ def scroll_into_view(self, value: PointOptions, /) -> None: ...
488
+ def set_index(self, unit: TextRangeUnit, index: winrt.system.Int32, extend: bool, /) -> None: ...
489
+ def set_point(self, point: winrt.windows.foundation.Point, options: PointOptions, extend: bool, /) -> None: ...
490
+ def set_range(self, start_position: winrt.system.Int32, end_position: winrt.system.Int32, /) -> None: ...
491
+ def set_text(self, options: TextSetOptions, value: str, /) -> None: ...
492
+ def set_text_via_stream(self, options: TextSetOptions, value: typing.Optional[winrt.windows.storage.streams.IRandomAccessStream], /) -> None: ...
493
+ def start_of(self, unit: TextRangeUnit, extend: bool, /) -> winrt.system.Int32: ...
494
+ @_property
495
+ def character(self) -> winrt.system.Char16: ...
496
+ @character.setter
497
+ def character(self, value: winrt.system.Char16) -> None: ...
498
+ @_property
499
+ def character_format(self) -> typing.Optional[ITextCharacterFormat]: ...
500
+ @character_format.setter
501
+ def character_format(self, value: typing.Optional[ITextCharacterFormat]) -> None: ...
502
+ @_property
503
+ def end_position(self) -> winrt.system.Int32: ...
504
+ @end_position.setter
505
+ def end_position(self, value: winrt.system.Int32) -> None: ...
506
+ @_property
507
+ def formatted_text(self) -> typing.Optional[ITextRange]: ...
508
+ @formatted_text.setter
509
+ def formatted_text(self, value: typing.Optional[ITextRange]) -> None: ...
510
+ @_property
511
+ def gravity(self) -> RangeGravity: ...
512
+ @gravity.setter
513
+ def gravity(self, value: RangeGravity) -> None: ...
514
+ @_property
515
+ def length(self) -> winrt.system.Int32: ...
516
+ @_property
517
+ def link(self) -> str: ...
518
+ @link.setter
519
+ def link(self, value: str) -> None: ...
520
+ @_property
521
+ def paragraph_format(self) -> typing.Optional[ITextParagraphFormat]: ...
522
+ @paragraph_format.setter
523
+ def paragraph_format(self, value: typing.Optional[ITextParagraphFormat]) -> None: ...
524
+ @_property
525
+ def start_position(self) -> winrt.system.Int32: ...
526
+ @start_position.setter
527
+ def start_position(self, value: winrt.system.Int32) -> None: ...
528
+ @_property
529
+ def story_length(self) -> winrt.system.Int32: ...
530
+ @_property
531
+ def text(self) -> str: ...
532
+ @text.setter
533
+ def text(self, value: str) -> None: ...
534
+
535
+ class ITextSelection(winrt.system.Object):
536
+ @staticmethod
537
+ def _from(obj: winrt.system.Object, /) -> ITextSelection: ...
538
+ def can_paste(self, format: winrt.system.Int32, /) -> bool: ...
539
+ def change_case(self, value: LetterCase, /) -> None: ...
540
+ def collapse(self, value: bool, /) -> None: ...
541
+ def copy(self) -> None: ...
542
+ def cut(self) -> None: ...
543
+ def delete(self, unit: TextRangeUnit, count: winrt.system.Int32, /) -> winrt.system.Int32: ...
544
+ def end_key(self, unit: TextRangeUnit, extend: bool, /) -> winrt.system.Int32: ...
545
+ def end_of(self, unit: TextRangeUnit, extend: bool, /) -> winrt.system.Int32: ...
546
+ def expand(self, unit: TextRangeUnit, /) -> winrt.system.Int32: ...
547
+ def find_text(self, value: str, scan_length: winrt.system.Int32, options: FindOptions, /) -> winrt.system.Int32: ...
548
+ def get_character_utf32(self, offset: winrt.system.Int32, /) -> winrt.system.UInt32: ...
549
+ def get_clone(self) -> typing.Optional[ITextRange]: ...
550
+ def get_index(self, unit: TextRangeUnit, /) -> winrt.system.Int32: ...
551
+ def get_point(self, horizontal_align: HorizontalCharacterAlignment, vertical_align: VerticalCharacterAlignment, options: PointOptions, /) -> winrt.windows.foundation.Point: ...
552
+ def get_rect(self, options: PointOptions, /) -> typing.Tuple[winrt.windows.foundation.Rect, winrt.system.Int32]: ...
553
+ def get_text(self, options: TextGetOptions, /) -> str: ...
554
+ def get_text_via_stream(self, options: TextGetOptions, value: typing.Optional[winrt.windows.storage.streams.IRandomAccessStream], /) -> None: ...
555
+ def home_key(self, unit: TextRangeUnit, extend: bool, /) -> winrt.system.Int32: ...
556
+ def in_range(self, range: typing.Optional[ITextRange], /) -> bool: ...
557
+ def in_story(self, range: typing.Optional[ITextRange], /) -> bool: ...
558
+ def insert_image(self, width: winrt.system.Int32, height: winrt.system.Int32, ascent: winrt.system.Int32, vertical_align: VerticalCharacterAlignment, alternate_text: str, value: typing.Optional[winrt.windows.storage.streams.IRandomAccessStream], /) -> None: ...
559
+ def is_equal(self, range: typing.Optional[ITextRange], /) -> bool: ...
560
+ def match_selection(self) -> None: ...
561
+ def move(self, unit: TextRangeUnit, count: winrt.system.Int32, /) -> winrt.system.Int32: ...
562
+ def move_down(self, unit: TextRangeUnit, count: winrt.system.Int32, extend: bool, /) -> winrt.system.Int32: ...
563
+ def move_end(self, unit: TextRangeUnit, count: winrt.system.Int32, /) -> winrt.system.Int32: ...
564
+ def move_left(self, unit: TextRangeUnit, count: winrt.system.Int32, extend: bool, /) -> winrt.system.Int32: ...
565
+ def move_right(self, unit: TextRangeUnit, count: winrt.system.Int32, extend: bool, /) -> winrt.system.Int32: ...
566
+ def move_start(self, unit: TextRangeUnit, count: winrt.system.Int32, /) -> winrt.system.Int32: ...
567
+ def move_up(self, unit: TextRangeUnit, count: winrt.system.Int32, extend: bool, /) -> winrt.system.Int32: ...
568
+ def paste(self, format: winrt.system.Int32, /) -> None: ...
569
+ def scroll_into_view(self, value: PointOptions, /) -> None: ...
570
+ def set_index(self, unit: TextRangeUnit, index: winrt.system.Int32, extend: bool, /) -> None: ...
571
+ def set_point(self, point: winrt.windows.foundation.Point, options: PointOptions, extend: bool, /) -> None: ...
572
+ def set_range(self, start_position: winrt.system.Int32, end_position: winrt.system.Int32, /) -> None: ...
573
+ def set_text(self, options: TextSetOptions, value: str, /) -> None: ...
574
+ def set_text_via_stream(self, options: TextSetOptions, value: typing.Optional[winrt.windows.storage.streams.IRandomAccessStream], /) -> None: ...
575
+ def start_of(self, unit: TextRangeUnit, extend: bool, /) -> winrt.system.Int32: ...
576
+ def type_text(self, value: str, /) -> None: ...
577
+ @_property
578
+ def options(self) -> SelectionOptions: ...
579
+ @options.setter
580
+ def options(self, value: SelectionOptions) -> None: ...
581
+ @_property
582
+ def type(self) -> SelectionType: ...
583
+ @_property
584
+ def character(self) -> winrt.system.Char16: ...
585
+ @character.setter
586
+ def character(self, value: winrt.system.Char16) -> None: ...
587
+ @_property
588
+ def character_format(self) -> typing.Optional[ITextCharacterFormat]: ...
589
+ @character_format.setter
590
+ def character_format(self, value: typing.Optional[ITextCharacterFormat]) -> None: ...
591
+ @_property
592
+ def end_position(self) -> winrt.system.Int32: ...
593
+ @end_position.setter
594
+ def end_position(self, value: winrt.system.Int32) -> None: ...
595
+ @_property
596
+ def formatted_text(self) -> typing.Optional[ITextRange]: ...
597
+ @formatted_text.setter
598
+ def formatted_text(self, value: typing.Optional[ITextRange]) -> None: ...
599
+ @_property
600
+ def gravity(self) -> RangeGravity: ...
601
+ @gravity.setter
602
+ def gravity(self, value: RangeGravity) -> None: ...
603
+ @_property
604
+ def length(self) -> winrt.system.Int32: ...
605
+ @_property
606
+ def link(self) -> str: ...
607
+ @link.setter
608
+ def link(self, value: str) -> None: ...
609
+ @_property
610
+ def paragraph_format(self) -> typing.Optional[ITextParagraphFormat]: ...
611
+ @paragraph_format.setter
612
+ def paragraph_format(self, value: typing.Optional[ITextParagraphFormat]) -> None: ...
613
+ @_property
614
+ def start_position(self) -> winrt.system.Int32: ...
615
+ @start_position.setter
616
+ def start_position(self, value: winrt.system.Int32) -> None: ...
617
+ @_property
618
+ def story_length(self) -> winrt.system.Int32: ...
619
+ @_property
620
+ def text(self) -> str: ...
621
+ @text.setter
622
+ def text(self, value: str) -> None: ...
623
+
@@ -0,0 +1,388 @@
1
+ # WARNING: Please don't edit this file. It was generated by Python/WinRT v2.0.0-beta.1
2
+
3
+ import enum
4
+
5
+ import winrt.system
6
+ from winrt import _winrt_windows_ui_text
7
+
8
+ __all__ = [
9
+ "CaretType",
10
+ "FindOptions",
11
+ "FontStretch",
12
+ "FontStyle",
13
+ "FormatEffect",
14
+ "HorizontalCharacterAlignment",
15
+ "LetterCase",
16
+ "LineSpacingRule",
17
+ "LinkType",
18
+ "MarkerAlignment",
19
+ "MarkerStyle",
20
+ "MarkerType",
21
+ "ParagraphAlignment",
22
+ "ParagraphStyle",
23
+ "PointOptions",
24
+ "RangeGravity",
25
+ "RichEditMathMode",
26
+ "SelectionOptions",
27
+ "SelectionType",
28
+ "TabAlignment",
29
+ "TabLeader",
30
+ "TextDecorations",
31
+ "TextGetOptions",
32
+ "TextRangeUnit",
33
+ "TextScript",
34
+ "TextSetOptions",
35
+ "UnderlineType",
36
+ "VerticalCharacterAlignment",
37
+ "FontWeight",
38
+ "ContentLinkInfo",
39
+ "FontWeights",
40
+ "RichEditTextDocument",
41
+ "RichEditTextRange",
42
+ "TextConstants",
43
+ "ITextCharacterFormat",
44
+ "ITextDocument",
45
+ "ITextParagraphFormat",
46
+ "ITextRange",
47
+ "ITextSelection",
48
+ ]
49
+
50
+ class CaretType(enum.IntEnum):
51
+ NORMAL = 0
52
+ NULL = 1
53
+
54
+ class FindOptions(enum.IntFlag):
55
+ NONE = 0
56
+ WORD = 0x2
57
+ CASE = 0x4
58
+
59
+ class FontStretch(enum.IntEnum):
60
+ UNDEFINED = 0
61
+ ULTRA_CONDENSED = 1
62
+ EXTRA_CONDENSED = 2
63
+ CONDENSED = 3
64
+ SEMI_CONDENSED = 4
65
+ NORMAL = 5
66
+ SEMI_EXPANDED = 6
67
+ EXPANDED = 7
68
+ EXTRA_EXPANDED = 8
69
+ ULTRA_EXPANDED = 9
70
+
71
+ class FontStyle(enum.IntEnum):
72
+ NORMAL = 0
73
+ OBLIQUE = 1
74
+ ITALIC = 2
75
+
76
+ class FormatEffect(enum.IntEnum):
77
+ OFF = 0
78
+ ON = 1
79
+ TOGGLE = 2
80
+ UNDEFINED = 3
81
+
82
+ class HorizontalCharacterAlignment(enum.IntEnum):
83
+ LEFT = 0
84
+ RIGHT = 1
85
+ CENTER = 2
86
+
87
+ class LetterCase(enum.IntEnum):
88
+ LOWER = 0
89
+ UPPER = 1
90
+
91
+ class LineSpacingRule(enum.IntEnum):
92
+ UNDEFINED = 0
93
+ SINGLE = 1
94
+ ONE_AND_HALF = 2
95
+ DOUBLE = 3
96
+ AT_LEAST = 4
97
+ EXACTLY = 5
98
+ MULTIPLE = 6
99
+ PERCENT = 7
100
+
101
+ class LinkType(enum.IntEnum):
102
+ UNDEFINED = 0
103
+ NOT_A_LINK = 1
104
+ CLIENT_LINK = 2
105
+ FRIENDLY_LINK_NAME = 3
106
+ FRIENDLY_LINK_ADDRESS = 4
107
+ AUTO_LINK = 5
108
+ AUTO_LINK_EMAIL = 6
109
+ AUTO_LINK_PHONE = 7
110
+ AUTO_LINK_PATH = 8
111
+
112
+ class MarkerAlignment(enum.IntEnum):
113
+ UNDEFINED = 0
114
+ LEFT = 1
115
+ CENTER = 2
116
+ RIGHT = 3
117
+
118
+ class MarkerStyle(enum.IntEnum):
119
+ UNDEFINED = 0
120
+ PARENTHESIS = 1
121
+ PARENTHESES = 2
122
+ PERIOD = 3
123
+ PLAIN = 4
124
+ MINUS = 5
125
+ NO_NUMBER = 6
126
+
127
+ class MarkerType(enum.IntEnum):
128
+ UNDEFINED = 0
129
+ NONE = 1
130
+ BULLET = 2
131
+ ARABIC = 3
132
+ LOWERCASE_ENGLISH_LETTER = 4
133
+ UPPERCASE_ENGLISH_LETTER = 5
134
+ LOWERCASE_ROMAN = 6
135
+ UPPERCASE_ROMAN = 7
136
+ UNICODE_SEQUENCE = 8
137
+ CIRCLED_NUMBER = 9
138
+ BLACK_CIRCLE_WINGDING = 10
139
+ WHITE_CIRCLE_WINGDING = 11
140
+ ARABIC_WIDE = 12
141
+ SIMPLIFIED_CHINESE = 13
142
+ TRADITIONAL_CHINESE = 14
143
+ JAPAN_SIMPLIFIED_CHINESE = 15
144
+ JAPAN_KOREA = 16
145
+ ARABIC_DICTIONARY = 17
146
+ ARABIC_ABJAD = 18
147
+ HEBREW = 19
148
+ THAI_ALPHABETIC = 20
149
+ THAI_NUMERIC = 21
150
+ DEVANAGARI_VOWEL = 22
151
+ DEVANAGARI_CONSONANT = 23
152
+ DEVANAGARI_NUMERIC = 24
153
+
154
+ class ParagraphAlignment(enum.IntEnum):
155
+ UNDEFINED = 0
156
+ LEFT = 1
157
+ CENTER = 2
158
+ RIGHT = 3
159
+ JUSTIFY = 4
160
+
161
+ class ParagraphStyle(enum.IntEnum):
162
+ UNDEFINED = 0
163
+ NONE = 1
164
+ NORMAL = 2
165
+ HEADING1 = 3
166
+ HEADING2 = 4
167
+ HEADING3 = 5
168
+ HEADING4 = 6
169
+ HEADING5 = 7
170
+ HEADING6 = 8
171
+ HEADING7 = 9
172
+ HEADING8 = 10
173
+ HEADING9 = 11
174
+
175
+ class PointOptions(enum.IntFlag):
176
+ NONE = 0
177
+ INCLUDE_INSET = 0x1
178
+ START = 0x20
179
+ CLIENT_COORDINATES = 0x100
180
+ ALLOW_OFF_CLIENT = 0x200
181
+ TRANSFORM = 0x400
182
+ NO_HORIZONTAL_SCROLL = 0x10000
183
+ NO_VERTICAL_SCROLL = 0x40000
184
+
185
+ class RangeGravity(enum.IntEnum):
186
+ U_I_BEHAVIOR = 0
187
+ BACKWARD = 1
188
+ FORWARD = 2
189
+ INWARD = 3
190
+ OUTWARD = 4
191
+
192
+ class RichEditMathMode(enum.IntEnum):
193
+ NO_MATH = 0
194
+ MATH_ONLY = 1
195
+
196
+ class SelectionOptions(enum.IntFlag):
197
+ START_ACTIVE = 0x1
198
+ AT_END_OF_LINE = 0x2
199
+ OVERTYPE = 0x4
200
+ ACTIVE = 0x8
201
+ REPLACE = 0x10
202
+
203
+ class SelectionType(enum.IntEnum):
204
+ NONE = 0
205
+ INSERTION_POINT = 1
206
+ NORMAL = 2
207
+ INLINE_SHAPE = 7
208
+ SHAPE = 8
209
+
210
+ class TabAlignment(enum.IntEnum):
211
+ LEFT = 0
212
+ CENTER = 1
213
+ RIGHT = 2
214
+ DECIMAL = 3
215
+ BAR = 4
216
+
217
+ class TabLeader(enum.IntEnum):
218
+ SPACES = 0
219
+ DOTS = 1
220
+ DASHES = 2
221
+ LINES = 3
222
+ THICK_LINES = 4
223
+ EQUALS = 5
224
+
225
+ class TextDecorations(enum.IntFlag):
226
+ NONE = 0
227
+ UNDERLINE = 0x1
228
+ STRIKETHROUGH = 0x2
229
+
230
+ class TextGetOptions(enum.IntFlag):
231
+ NONE = 0
232
+ ADJUST_CRLF = 0x1
233
+ USE_CRLF = 0x2
234
+ USE_OBJECT_TEXT = 0x4
235
+ ALLOW_FINAL_EOP = 0x8
236
+ NO_HIDDEN = 0x20
237
+ INCLUDE_NUMBERING = 0x40
238
+ FORMAT_RTF = 0x2000
239
+ USE_LF = 0x1000000
240
+
241
+ class TextRangeUnit(enum.IntEnum):
242
+ CHARACTER = 0
243
+ WORD = 1
244
+ SENTENCE = 2
245
+ PARAGRAPH = 3
246
+ LINE = 4
247
+ STORY = 5
248
+ SCREEN = 6
249
+ SECTION = 7
250
+ WINDOW = 8
251
+ CHARACTER_FORMAT = 9
252
+ PARAGRAPH_FORMAT = 10
253
+ OBJECT = 11
254
+ HARD_PARAGRAPH = 12
255
+ CLUSTER = 13
256
+ BOLD = 14
257
+ ITALIC = 15
258
+ UNDERLINE = 16
259
+ STRIKETHROUGH = 17
260
+ PROTECTED_TEXT = 18
261
+ LINK = 19
262
+ SMALL_CAPS = 20
263
+ ALL_CAPS = 21
264
+ HIDDEN = 22
265
+ OUTLINE = 23
266
+ SHADOW = 24
267
+ IMPRINT = 25
268
+ DISABLED = 26
269
+ REVISED = 27
270
+ SUBSCRIPT = 28
271
+ SUPERSCRIPT = 29
272
+ FONT_BOUND = 30
273
+ LINK_PROTECTED = 31
274
+ CONTENT_LINK = 32
275
+
276
+ class TextScript(enum.IntEnum):
277
+ UNDEFINED = 0
278
+ ANSI = 1
279
+ EAST_EUROPE = 2
280
+ CYRILLIC = 3
281
+ GREEK = 4
282
+ TURKISH = 5
283
+ HEBREW = 6
284
+ ARABIC = 7
285
+ BALTIC = 8
286
+ VIETNAMESE = 9
287
+ DEFAULT = 10
288
+ SYMBOL = 11
289
+ THAI = 12
290
+ SHIFT_JIS = 13
291
+ G_B2312 = 14
292
+ HANGUL = 15
293
+ BIG5 = 16
294
+ P_C437 = 17
295
+ OEM = 18
296
+ MAC = 19
297
+ ARMENIAN = 20
298
+ SYRIAC = 21
299
+ THAANA = 22
300
+ DEVANAGARI = 23
301
+ BENGALI = 24
302
+ GURMUKHI = 25
303
+ GUJARATI = 26
304
+ ORIYA = 27
305
+ TAMIL = 28
306
+ TELUGU = 29
307
+ KANNADA = 30
308
+ MALAYALAM = 31
309
+ SINHALA = 32
310
+ LAO = 33
311
+ TIBETAN = 34
312
+ MYANMAR = 35
313
+ GEORGIAN = 36
314
+ JAMO = 37
315
+ ETHIOPIC = 38
316
+ CHEROKEE = 39
317
+ ABORIGINAL = 40
318
+ OGHAM = 41
319
+ RUNIC = 42
320
+ KHMER = 43
321
+ MONGOLIAN = 44
322
+ BRAILLE = 45
323
+ YI = 46
324
+ LIMBU = 47
325
+ TAI_LE = 48
326
+ NEW_TAI_LUE = 49
327
+ SYLOTI_NAGRI = 50
328
+ KHAROSHTHI = 51
329
+ KAYAHLI = 52
330
+ UNICODE_SYMBOL = 53
331
+ EMOJI = 54
332
+ GLAGOLITIC = 55
333
+ LISU = 56
334
+ VAI = 57
335
+ N_KO = 58
336
+ OSMANYA = 59
337
+ PHAGS_PA = 60
338
+ GOTHIC = 61
339
+ DESERET = 62
340
+ TIFINAGH = 63
341
+
342
+ class TextSetOptions(enum.IntFlag):
343
+ NONE = 0
344
+ UNICODE_BIDI = 0x1
345
+ UNLINK = 0x8
346
+ UNHIDE = 0x10
347
+ CHECK_TEXT_LIMIT = 0x20
348
+ FORMAT_RTF = 0x2000
349
+ APPLY_RTF_DOCUMENT_DEFAULTS = 0x4000
350
+
351
+ class UnderlineType(enum.IntEnum):
352
+ UNDEFINED = 0
353
+ NONE = 1
354
+ SINGLE = 2
355
+ WORDS = 3
356
+ DOUBLE = 4
357
+ DOTTED = 5
358
+ DASH = 6
359
+ DASH_DOT = 7
360
+ DASH_DOT_DOT = 8
361
+ WAVE = 9
362
+ THICK = 10
363
+ THIN = 11
364
+ DOUBLE_WAVE = 12
365
+ HEAVY_WAVE = 13
366
+ LONG_DASH = 14
367
+ THICK_DASH = 15
368
+ THICK_DASH_DOT = 16
369
+ THICK_DASH_DOT_DOT = 17
370
+ THICK_DOTTED = 18
371
+ THICK_LONG_DASH = 19
372
+
373
+ class VerticalCharacterAlignment(enum.IntEnum):
374
+ TOP = 0
375
+ BASELINE = 1
376
+ BOTTOM = 2
377
+
378
+ FontWeight = _winrt_windows_ui_text.FontWeight
379
+ ContentLinkInfo = _winrt_windows_ui_text.ContentLinkInfo
380
+ FontWeights = _winrt_windows_ui_text.FontWeights
381
+ RichEditTextDocument = _winrt_windows_ui_text.RichEditTextDocument
382
+ RichEditTextRange = _winrt_windows_ui_text.RichEditTextRange
383
+ TextConstants = _winrt_windows_ui_text.TextConstants
384
+ ITextCharacterFormat = _winrt_windows_ui_text.ITextCharacterFormat
385
+ ITextDocument = _winrt_windows_ui_text.ITextDocument
386
+ ITextParagraphFormat = _winrt_windows_ui_text.ITextParagraphFormat
387
+ ITextRange = _winrt_windows_ui_text.ITextRange
388
+ ITextSelection = _winrt_windows_ui_text.ITextSelection
@@ -0,0 +1,26 @@
1
+ Metadata-Version: 2.1
2
+ Name: winrt-Windows.UI.Text
3
+ Version: 2.0.0b1
4
+ Summary: Python projection of Windows Runtime (WinRT) APIs
5
+ License: MIT
6
+ Project-URL: Repository, https://github.com/pywrint/pywrinrt
7
+ Project-URL: Changelog, https://github.com/pywinrt/pywinrt/blob/main/CHANGELOG.md
8
+ Classifier: Operating System :: Microsoft :: Windows
9
+ Classifier: Programming Language :: Python :: 3
10
+ Classifier: Programming Language :: Python :: Implementation :: CPython
11
+ Classifier: Intended Audience :: Developers
12
+ Requires-Python: <3.13,>=3.9
13
+ Description-Content-Type: text/markdown
14
+ Requires-Dist: winrt-runtime ==2.0.0-beta.1
15
+ Provides-Extra: all
16
+ Requires-Dist: winrt-Windows.Foundation[all] ==2.0.0-beta.1 ; extra == 'all'
17
+ Requires-Dist: winrt-Windows.Storage.Streams[all] ==2.0.0-beta.1 ; extra == 'all'
18
+ Requires-Dist: winrt-Windows.UI[all] ==2.0.0-beta.1 ; extra == 'all'
19
+
20
+ <!-- warning: Please don't edit this file. It was automatically generated. -->
21
+
22
+ # winrt-Windows.UI.Text
23
+
24
+ Windows Runtime (WinRT) APIs for for the `Windows.UI.Text` namespace.
25
+
26
+ This package provides the `winrt.windows.ui.text` module.
@@ -0,0 +1,7 @@
1
+ winrt/_winrt_windows_ui_text.cp39-win_arm64.pyd,sha256=7ZEntbf7f2Kmn7C-IRnSJ12jCe47_h6sm-WsBOijKwQ,480768
2
+ winrt/_winrt_windows_ui_text.pyi,sha256=Blf5UJrsRtqN-ix586ZT-jtO3wwUTl0V_1JcRsH2ZeA,31200
3
+ winrt/windows/ui/text/__init__.py,sha256=oCxxSzLbQ1d1BaFc5zNcOw1Y260njmWoO7saPlMTsaw,7701
4
+ winrt_Windows.UI.Text-2.0.0b1.dist-info/METADATA,sha256=GnbOT10K5hdXDXtzB9GIpB6fTAu0tVT2bDoukXFiGsw,1121
5
+ winrt_Windows.UI.Text-2.0.0b1.dist-info/WHEEL,sha256=PrHTG687fNsk7jS4Y-tLXN-3gpnf3wReNnzEPkeWHK0,100
6
+ winrt_Windows.UI.Text-2.0.0b1.dist-info/top_level.txt,sha256=BzwQb4dZRt0NxCXi10ARjWsox7Asmtf_lXrw_KR-D_E,6
7
+ winrt_Windows.UI.Text-2.0.0b1.dist-info/RECORD,,
@@ -0,0 +1,5 @@
1
+ Wheel-Version: 1.0
2
+ Generator: bdist_wheel (0.41.1)
3
+ Root-Is-Purelib: false
4
+ Tag: cp39-cp39-win_arm64
5
+