winrt-Windows.UI.Text 2.2.0__cp313-cp313-win32.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,635 @@
1
+ # WARNING: Please don't edit this file. It was generated by Python/WinRT v2.2.0
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 as windows_foundation
13
+ import winrt.windows.storage.streams as windows_storage_streams
14
+ import winrt.windows.ui as 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
+ @typing.final
21
+ class FontWeight:
22
+ weight: winrt.system.UInt16
23
+ def __init__(self, weight: winrt.system.UInt16) -> None: ...
24
+
25
+ @typing.final
26
+ class ContentLinkInfo(winrt.system.Object):
27
+ @staticmethod
28
+ def _from(obj: winrt.system.Object, /) -> ContentLinkInfo: ...
29
+ def __new__(cls: typing.Type[ContentLinkInfo]) -> ContentLinkInfo: ...
30
+ @_property
31
+ def uri(self) -> typing.Optional[windows_foundation.Uri]: ...
32
+ @uri.setter
33
+ def uri(self, value: typing.Optional[windows_foundation.Uri]) -> None: ...
34
+ @_property
35
+ def secondary_text(self) -> str: ...
36
+ @secondary_text.setter
37
+ def secondary_text(self, value: str) -> None: ...
38
+ @_property
39
+ def link_content_kind(self) -> str: ...
40
+ @link_content_kind.setter
41
+ def link_content_kind(self, value: str) -> None: ...
42
+ @_property
43
+ def id(self) -> winrt.system.UInt32: ...
44
+ @id.setter
45
+ def id(self, value: winrt.system.UInt32) -> None: ...
46
+ @_property
47
+ def display_text(self) -> str: ...
48
+ @display_text.setter
49
+ def display_text(self, value: str) -> None: ...
50
+
51
+ @typing.final
52
+ class FontWeights_Static(type):
53
+ @_property
54
+ def black(cls) -> FontWeight: ...
55
+ @_property
56
+ def bold(cls) -> FontWeight: ...
57
+ @_property
58
+ def extra_black(cls) -> FontWeight: ...
59
+ @_property
60
+ def extra_bold(cls) -> FontWeight: ...
61
+ @_property
62
+ def extra_light(cls) -> FontWeight: ...
63
+ @_property
64
+ def light(cls) -> FontWeight: ...
65
+ @_property
66
+ def medium(cls) -> FontWeight: ...
67
+ @_property
68
+ def normal(cls) -> FontWeight: ...
69
+ @_property
70
+ def semi_bold(cls) -> FontWeight: ...
71
+ @_property
72
+ def semi_light(cls) -> FontWeight: ...
73
+ @_property
74
+ def thin(cls) -> FontWeight: ...
75
+
76
+ @typing.final
77
+ class FontWeights(winrt.system.Object, metaclass=FontWeights_Static):
78
+ @staticmethod
79
+ def _from(obj: winrt.system.Object, /) -> FontWeights: ...
80
+
81
+ @typing.final
82
+ class RichEditTextDocument(winrt.system.Object):
83
+ @staticmethod
84
+ def _from(obj: winrt.system.Object, /) -> RichEditTextDocument: ...
85
+ def apply_display_updates(self) -> winrt.system.Int32: ...
86
+ def batch_display_updates(self) -> winrt.system.Int32: ...
87
+ def begin_undo_group(self) -> None: ...
88
+ def can_copy(self) -> bool: ...
89
+ def can_paste(self) -> bool: ...
90
+ def can_redo(self) -> bool: ...
91
+ def can_undo(self) -> bool: ...
92
+ def clear_undo_redo_history(self) -> None: ...
93
+ def end_undo_group(self) -> None: ...
94
+ def get_default_character_format(self) -> typing.Optional[ITextCharacterFormat]: ...
95
+ def get_default_paragraph_format(self) -> typing.Optional[ITextParagraphFormat]: ...
96
+ def get_math(self) -> str: ...
97
+ def get_range(self, start_position: winrt.system.Int32, end_position: winrt.system.Int32, /) -> typing.Optional[ITextRange]: ...
98
+ def get_range_from_point(self, point: windows_foundation.Point, options: PointOptions, /) -> typing.Optional[ITextRange]: ...
99
+ def get_text(self, options: TextGetOptions, /) -> str: ...
100
+ def load_from_stream(self, options: TextSetOptions, value: typing.Optional[windows_storage_streams.IRandomAccessStream], /) -> None: ...
101
+ def redo(self) -> None: ...
102
+ def save_to_stream(self, options: TextGetOptions, value: typing.Optional[windows_storage_streams.IRandomAccessStream], /) -> None: ...
103
+ def set_default_character_format(self, value: typing.Optional[ITextCharacterFormat], /) -> None: ...
104
+ def set_default_paragraph_format(self, value: typing.Optional[ITextParagraphFormat], /) -> None: ...
105
+ def set_math(self, value: str, /) -> None: ...
106
+ def set_math_mode(self, mode: RichEditMathMode, /) -> None: ...
107
+ def set_text(self, options: TextSetOptions, value: str, /) -> None: ...
108
+ def undo(self) -> None: ...
109
+ @_property
110
+ def undo_limit(self) -> winrt.system.UInt32: ...
111
+ @undo_limit.setter
112
+ def undo_limit(self, value: winrt.system.UInt32) -> None: ...
113
+ @_property
114
+ def default_tab_stop(self) -> winrt.system.Single: ...
115
+ @default_tab_stop.setter
116
+ def default_tab_stop(self, value: winrt.system.Single) -> None: ...
117
+ @_property
118
+ def caret_type(self) -> CaretType: ...
119
+ @caret_type.setter
120
+ def caret_type(self, value: CaretType) -> None: ...
121
+ @_property
122
+ def selection(self) -> typing.Optional[ITextSelection]: ...
123
+ @_property
124
+ def ignore_trailing_character_spacing(self) -> bool: ...
125
+ @ignore_trailing_character_spacing.setter
126
+ def ignore_trailing_character_spacing(self, value: bool) -> None: ...
127
+ @_property
128
+ def alignment_includes_trailing_whitespace(self) -> bool: ...
129
+ @alignment_includes_trailing_whitespace.setter
130
+ def alignment_includes_trailing_whitespace(self, value: bool) -> None: ...
131
+
132
+ @typing.final
133
+ class RichEditTextRange(winrt.system.Object):
134
+ @staticmethod
135
+ def _from(obj: winrt.system.Object, /) -> RichEditTextRange: ...
136
+ def can_paste(self, format: winrt.system.Int32, /) -> bool: ...
137
+ def change_case(self, value: LetterCase, /) -> None: ...
138
+ def collapse(self, value: bool, /) -> None: ...
139
+ def copy(self) -> None: ...
140
+ def cut(self) -> None: ...
141
+ def delete(self, unit: TextRangeUnit, count: winrt.system.Int32, /) -> winrt.system.Int32: ...
142
+ def end_of(self, unit: TextRangeUnit, extend: bool, /) -> winrt.system.Int32: ...
143
+ def expand(self, unit: TextRangeUnit, /) -> winrt.system.Int32: ...
144
+ def find_text(self, value: str, scan_length: winrt.system.Int32, options: FindOptions, /) -> winrt.system.Int32: ...
145
+ def get_character_utf32(self, offset: winrt.system.Int32, /) -> winrt.system.UInt32: ...
146
+ def get_clone(self) -> typing.Optional[ITextRange]: ...
147
+ def get_index(self, unit: TextRangeUnit, /) -> winrt.system.Int32: ...
148
+ def get_point(self, horizontal_align: HorizontalCharacterAlignment, vertical_align: VerticalCharacterAlignment, options: PointOptions, /) -> windows_foundation.Point: ...
149
+ def get_rect(self, options: PointOptions, /) -> typing.Tuple[windows_foundation.Rect, winrt.system.Int32]: ...
150
+ def get_text(self, options: TextGetOptions, /) -> str: ...
151
+ def get_text_via_stream(self, options: TextGetOptions, value: typing.Optional[windows_storage_streams.IRandomAccessStream], /) -> None: ...
152
+ def in_range(self, range: typing.Optional[ITextRange], /) -> bool: ...
153
+ def in_story(self, range: typing.Optional[ITextRange], /) -> bool: ...
154
+ 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[windows_storage_streams.IRandomAccessStream], /) -> None: ...
155
+ def is_equal(self, range: typing.Optional[ITextRange], /) -> bool: ...
156
+ def match_selection(self) -> None: ...
157
+ def move(self, unit: TextRangeUnit, count: winrt.system.Int32, /) -> winrt.system.Int32: ...
158
+ def move_end(self, unit: TextRangeUnit, count: winrt.system.Int32, /) -> winrt.system.Int32: ...
159
+ def move_start(self, unit: TextRangeUnit, count: winrt.system.Int32, /) -> winrt.system.Int32: ...
160
+ def paste(self, format: winrt.system.Int32, /) -> None: ...
161
+ def scroll_into_view(self, value: PointOptions, /) -> None: ...
162
+ def set_index(self, unit: TextRangeUnit, index: winrt.system.Int32, extend: bool, /) -> None: ...
163
+ def set_point(self, point: windows_foundation.Point, options: PointOptions, extend: bool, /) -> None: ...
164
+ def set_range(self, start_position: winrt.system.Int32, end_position: winrt.system.Int32, /) -> None: ...
165
+ def set_text(self, options: TextSetOptions, value: str, /) -> None: ...
166
+ def set_text_via_stream(self, options: TextSetOptions, value: typing.Optional[windows_storage_streams.IRandomAccessStream], /) -> None: ...
167
+ def start_of(self, unit: TextRangeUnit, extend: bool, /) -> winrt.system.Int32: ...
168
+ @_property
169
+ def content_link_info(self) -> typing.Optional[ContentLinkInfo]: ...
170
+ @content_link_info.setter
171
+ def content_link_info(self, value: typing.Optional[ContentLinkInfo]) -> None: ...
172
+ @_property
173
+ def text(self) -> str: ...
174
+ @text.setter
175
+ def text(self, value: str) -> None: ...
176
+ @_property
177
+ def start_position(self) -> winrt.system.Int32: ...
178
+ @start_position.setter
179
+ def start_position(self, value: winrt.system.Int32) -> None: ...
180
+ @_property
181
+ def paragraph_format(self) -> typing.Optional[ITextParagraphFormat]: ...
182
+ @paragraph_format.setter
183
+ def paragraph_format(self, value: typing.Optional[ITextParagraphFormat]) -> None: ...
184
+ @_property
185
+ def link(self) -> str: ...
186
+ @link.setter
187
+ def link(self, value: str) -> None: ...
188
+ @_property
189
+ def gravity(self) -> RangeGravity: ...
190
+ @gravity.setter
191
+ def gravity(self, value: RangeGravity) -> None: ...
192
+ @_property
193
+ def formatted_text(self) -> typing.Optional[ITextRange]: ...
194
+ @formatted_text.setter
195
+ def formatted_text(self, value: typing.Optional[ITextRange]) -> None: ...
196
+ @_property
197
+ def end_position(self) -> winrt.system.Int32: ...
198
+ @end_position.setter
199
+ def end_position(self, value: winrt.system.Int32) -> None: ...
200
+ @_property
201
+ def character_format(self) -> typing.Optional[ITextCharacterFormat]: ...
202
+ @character_format.setter
203
+ def character_format(self, value: typing.Optional[ITextCharacterFormat]) -> None: ...
204
+ @_property
205
+ def character(self) -> winrt.system.Char16: ...
206
+ @character.setter
207
+ def character(self, value: winrt.system.Char16) -> None: ...
208
+ @_property
209
+ def length(self) -> winrt.system.Int32: ...
210
+ @_property
211
+ def story_length(self) -> winrt.system.Int32: ...
212
+
213
+ @typing.final
214
+ class TextConstants_Static(type):
215
+ @_property
216
+ def auto_color(cls) -> windows_ui.Color: ...
217
+ @_property
218
+ def max_unit_count(cls) -> winrt.system.Int32: ...
219
+ @_property
220
+ def min_unit_count(cls) -> winrt.system.Int32: ...
221
+ @_property
222
+ def undefined_color(cls) -> windows_ui.Color: ...
223
+ @_property
224
+ def undefined_float_value(cls) -> winrt.system.Single: ...
225
+ @_property
226
+ def undefined_font_stretch(cls) -> FontStretch: ...
227
+ @_property
228
+ def undefined_font_style(cls) -> FontStyle: ...
229
+ @_property
230
+ def undefined_int32_value(cls) -> winrt.system.Int32: ...
231
+
232
+ @typing.final
233
+ class TextConstants(winrt.system.Object, metaclass=TextConstants_Static):
234
+ pass
235
+
236
+ @typing.final
237
+ class ITextCharacterFormat(winrt.system.Object):
238
+ @staticmethod
239
+ def _from(obj: winrt.system.Object, /) -> ITextCharacterFormat: ...
240
+ def get_clone(self) -> typing.Optional[ITextCharacterFormat]: ...
241
+ def is_equal(self, format: typing.Optional[ITextCharacterFormat], /) -> bool: ...
242
+ def set_clone(self, value: typing.Optional[ITextCharacterFormat], /) -> None: ...
243
+ @_property
244
+ def all_caps(self) -> FormatEffect: ...
245
+ @all_caps.setter
246
+ def all_caps(self, value: FormatEffect) -> None: ...
247
+ @_property
248
+ def background_color(self) -> windows_ui.Color: ...
249
+ @background_color.setter
250
+ def background_color(self, value: windows_ui.Color) -> None: ...
251
+ @_property
252
+ def bold(self) -> FormatEffect: ...
253
+ @bold.setter
254
+ def bold(self, value: FormatEffect) -> None: ...
255
+ @_property
256
+ def font_stretch(self) -> FontStretch: ...
257
+ @font_stretch.setter
258
+ def font_stretch(self, value: FontStretch) -> None: ...
259
+ @_property
260
+ def font_style(self) -> FontStyle: ...
261
+ @font_style.setter
262
+ def font_style(self, value: FontStyle) -> None: ...
263
+ @_property
264
+ def foreground_color(self) -> windows_ui.Color: ...
265
+ @foreground_color.setter
266
+ def foreground_color(self, value: windows_ui.Color) -> None: ...
267
+ @_property
268
+ def hidden(self) -> FormatEffect: ...
269
+ @hidden.setter
270
+ def hidden(self, value: FormatEffect) -> None: ...
271
+ @_property
272
+ def italic(self) -> FormatEffect: ...
273
+ @italic.setter
274
+ def italic(self, value: FormatEffect) -> None: ...
275
+ @_property
276
+ def kerning(self) -> winrt.system.Single: ...
277
+ @kerning.setter
278
+ def kerning(self, value: winrt.system.Single) -> None: ...
279
+ @_property
280
+ def language_tag(self) -> str: ...
281
+ @language_tag.setter
282
+ def language_tag(self, value: str) -> None: ...
283
+ @_property
284
+ def link_type(self) -> LinkType: ...
285
+ @_property
286
+ def name(self) -> str: ...
287
+ @name.setter
288
+ def name(self, value: str) -> None: ...
289
+ @_property
290
+ def outline(self) -> FormatEffect: ...
291
+ @outline.setter
292
+ def outline(self, value: FormatEffect) -> None: ...
293
+ @_property
294
+ def position(self) -> winrt.system.Single: ...
295
+ @position.setter
296
+ def position(self, value: winrt.system.Single) -> None: ...
297
+ @_property
298
+ def protected_text(self) -> FormatEffect: ...
299
+ @protected_text.setter
300
+ def protected_text(self, value: FormatEffect) -> None: ...
301
+ @_property
302
+ def size(self) -> winrt.system.Single: ...
303
+ @size.setter
304
+ def size(self, value: winrt.system.Single) -> None: ...
305
+ @_property
306
+ def small_caps(self) -> FormatEffect: ...
307
+ @small_caps.setter
308
+ def small_caps(self, value: FormatEffect) -> None: ...
309
+ @_property
310
+ def spacing(self) -> winrt.system.Single: ...
311
+ @spacing.setter
312
+ def spacing(self, value: winrt.system.Single) -> None: ...
313
+ @_property
314
+ def strikethrough(self) -> FormatEffect: ...
315
+ @strikethrough.setter
316
+ def strikethrough(self, value: FormatEffect) -> None: ...
317
+ @_property
318
+ def subscript(self) -> FormatEffect: ...
319
+ @subscript.setter
320
+ def subscript(self, value: FormatEffect) -> None: ...
321
+ @_property
322
+ def superscript(self) -> FormatEffect: ...
323
+ @superscript.setter
324
+ def superscript(self, value: FormatEffect) -> None: ...
325
+ @_property
326
+ def text_script(self) -> TextScript: ...
327
+ @text_script.setter
328
+ def text_script(self, value: TextScript) -> None: ...
329
+ @_property
330
+ def underline(self) -> UnderlineType: ...
331
+ @underline.setter
332
+ def underline(self, value: UnderlineType) -> None: ...
333
+ @_property
334
+ def weight(self) -> winrt.system.Int32: ...
335
+ @weight.setter
336
+ def weight(self, value: winrt.system.Int32) -> None: ...
337
+
338
+ @typing.final
339
+ class ITextDocument(winrt.system.Object):
340
+ @staticmethod
341
+ def _from(obj: winrt.system.Object, /) -> ITextDocument: ...
342
+ def apply_display_updates(self) -> winrt.system.Int32: ...
343
+ def batch_display_updates(self) -> winrt.system.Int32: ...
344
+ def begin_undo_group(self) -> None: ...
345
+ def can_copy(self) -> bool: ...
346
+ def can_paste(self) -> bool: ...
347
+ def can_redo(self) -> bool: ...
348
+ def can_undo(self) -> bool: ...
349
+ def end_undo_group(self) -> None: ...
350
+ def get_default_character_format(self) -> typing.Optional[ITextCharacterFormat]: ...
351
+ def get_default_paragraph_format(self) -> typing.Optional[ITextParagraphFormat]: ...
352
+ def get_range(self, start_position: winrt.system.Int32, end_position: winrt.system.Int32, /) -> typing.Optional[ITextRange]: ...
353
+ def get_range_from_point(self, point: windows_foundation.Point, options: PointOptions, /) -> typing.Optional[ITextRange]: ...
354
+ def get_text(self, options: TextGetOptions, /) -> str: ...
355
+ def load_from_stream(self, options: TextSetOptions, value: typing.Optional[windows_storage_streams.IRandomAccessStream], /) -> None: ...
356
+ def redo(self) -> None: ...
357
+ def save_to_stream(self, options: TextGetOptions, value: typing.Optional[windows_storage_streams.IRandomAccessStream], /) -> None: ...
358
+ def set_default_character_format(self, value: typing.Optional[ITextCharacterFormat], /) -> None: ...
359
+ def set_default_paragraph_format(self, value: typing.Optional[ITextParagraphFormat], /) -> None: ...
360
+ def set_text(self, options: TextSetOptions, value: str, /) -> None: ...
361
+ def undo(self) -> None: ...
362
+ @_property
363
+ def caret_type(self) -> CaretType: ...
364
+ @caret_type.setter
365
+ def caret_type(self, value: CaretType) -> None: ...
366
+ @_property
367
+ def default_tab_stop(self) -> winrt.system.Single: ...
368
+ @default_tab_stop.setter
369
+ def default_tab_stop(self, value: winrt.system.Single) -> None: ...
370
+ @_property
371
+ def selection(self) -> typing.Optional[ITextSelection]: ...
372
+ @_property
373
+ def undo_limit(self) -> winrt.system.UInt32: ...
374
+ @undo_limit.setter
375
+ def undo_limit(self, value: winrt.system.UInt32) -> None: ...
376
+
377
+ @typing.final
378
+ class ITextParagraphFormat(winrt.system.Object):
379
+ @staticmethod
380
+ def _from(obj: winrt.system.Object, /) -> ITextParagraphFormat: ...
381
+ def add_tab(self, position: winrt.system.Single, align: TabAlignment, leader: TabLeader, /) -> None: ...
382
+ def clear_all_tabs(self) -> None: ...
383
+ def delete_tab(self, position: winrt.system.Single, /) -> None: ...
384
+ def get_clone(self) -> typing.Optional[ITextParagraphFormat]: ...
385
+ def get_tab(self, index: winrt.system.Int32, /) -> typing.Tuple[winrt.system.Single, TabAlignment, TabLeader]: ...
386
+ def is_equal(self, format: typing.Optional[ITextParagraphFormat], /) -> bool: ...
387
+ def set_clone(self, format: typing.Optional[ITextParagraphFormat], /) -> None: ...
388
+ def set_indents(self, start: winrt.system.Single, left: winrt.system.Single, right: winrt.system.Single, /) -> None: ...
389
+ def set_line_spacing(self, rule: LineSpacingRule, spacing: winrt.system.Single, /) -> None: ...
390
+ @_property
391
+ def alignment(self) -> ParagraphAlignment: ...
392
+ @alignment.setter
393
+ def alignment(self, value: ParagraphAlignment) -> None: ...
394
+ @_property
395
+ def first_line_indent(self) -> winrt.system.Single: ...
396
+ @_property
397
+ def keep_together(self) -> FormatEffect: ...
398
+ @keep_together.setter
399
+ def keep_together(self, value: FormatEffect) -> None: ...
400
+ @_property
401
+ def keep_with_next(self) -> FormatEffect: ...
402
+ @keep_with_next.setter
403
+ def keep_with_next(self, value: FormatEffect) -> None: ...
404
+ @_property
405
+ def left_indent(self) -> winrt.system.Single: ...
406
+ @_property
407
+ def line_spacing(self) -> winrt.system.Single: ...
408
+ @_property
409
+ def line_spacing_rule(self) -> LineSpacingRule: ...
410
+ @_property
411
+ def list_alignment(self) -> MarkerAlignment: ...
412
+ @list_alignment.setter
413
+ def list_alignment(self, value: MarkerAlignment) -> None: ...
414
+ @_property
415
+ def list_level_index(self) -> winrt.system.Int32: ...
416
+ @list_level_index.setter
417
+ def list_level_index(self, value: winrt.system.Int32) -> None: ...
418
+ @_property
419
+ def list_start(self) -> winrt.system.Int32: ...
420
+ @list_start.setter
421
+ def list_start(self, value: winrt.system.Int32) -> None: ...
422
+ @_property
423
+ def list_style(self) -> MarkerStyle: ...
424
+ @list_style.setter
425
+ def list_style(self, value: MarkerStyle) -> None: ...
426
+ @_property
427
+ def list_tab(self) -> winrt.system.Single: ...
428
+ @list_tab.setter
429
+ def list_tab(self, value: winrt.system.Single) -> None: ...
430
+ @_property
431
+ def list_type(self) -> MarkerType: ...
432
+ @list_type.setter
433
+ def list_type(self, value: MarkerType) -> None: ...
434
+ @_property
435
+ def no_line_number(self) -> FormatEffect: ...
436
+ @no_line_number.setter
437
+ def no_line_number(self, value: FormatEffect) -> None: ...
438
+ @_property
439
+ def page_break_before(self) -> FormatEffect: ...
440
+ @page_break_before.setter
441
+ def page_break_before(self, value: FormatEffect) -> None: ...
442
+ @_property
443
+ def right_indent(self) -> winrt.system.Single: ...
444
+ @right_indent.setter
445
+ def right_indent(self, value: winrt.system.Single) -> None: ...
446
+ @_property
447
+ def right_to_left(self) -> FormatEffect: ...
448
+ @right_to_left.setter
449
+ def right_to_left(self, value: FormatEffect) -> None: ...
450
+ @_property
451
+ def space_after(self) -> winrt.system.Single: ...
452
+ @space_after.setter
453
+ def space_after(self, value: winrt.system.Single) -> None: ...
454
+ @_property
455
+ def space_before(self) -> winrt.system.Single: ...
456
+ @space_before.setter
457
+ def space_before(self, value: winrt.system.Single) -> None: ...
458
+ @_property
459
+ def style(self) -> ParagraphStyle: ...
460
+ @style.setter
461
+ def style(self, value: ParagraphStyle) -> None: ...
462
+ @_property
463
+ def tab_count(self) -> winrt.system.Int32: ...
464
+ @_property
465
+ def widow_control(self) -> FormatEffect: ...
466
+ @widow_control.setter
467
+ def widow_control(self, value: FormatEffect) -> None: ...
468
+
469
+ @typing.final
470
+ class ITextRange(winrt.system.Object):
471
+ @staticmethod
472
+ def _from(obj: winrt.system.Object, /) -> ITextRange: ...
473
+ def can_paste(self, format: winrt.system.Int32, /) -> bool: ...
474
+ def change_case(self, value: LetterCase, /) -> None: ...
475
+ def collapse(self, value: bool, /) -> None: ...
476
+ def copy(self) -> None: ...
477
+ def cut(self) -> None: ...
478
+ def delete(self, unit: TextRangeUnit, count: winrt.system.Int32, /) -> winrt.system.Int32: ...
479
+ def end_of(self, unit: TextRangeUnit, extend: bool, /) -> winrt.system.Int32: ...
480
+ def expand(self, unit: TextRangeUnit, /) -> winrt.system.Int32: ...
481
+ def find_text(self, value: str, scan_length: winrt.system.Int32, options: FindOptions, /) -> winrt.system.Int32: ...
482
+ def get_character_utf32(self, offset: winrt.system.Int32, /) -> winrt.system.UInt32: ...
483
+ def get_clone(self) -> typing.Optional[ITextRange]: ...
484
+ def get_index(self, unit: TextRangeUnit, /) -> winrt.system.Int32: ...
485
+ def get_point(self, horizontal_align: HorizontalCharacterAlignment, vertical_align: VerticalCharacterAlignment, options: PointOptions, /) -> windows_foundation.Point: ...
486
+ def get_rect(self, options: PointOptions, /) -> typing.Tuple[windows_foundation.Rect, winrt.system.Int32]: ...
487
+ def get_text(self, options: TextGetOptions, /) -> str: ...
488
+ def get_text_via_stream(self, options: TextGetOptions, value: typing.Optional[windows_storage_streams.IRandomAccessStream], /) -> None: ...
489
+ def in_range(self, range: typing.Optional[ITextRange], /) -> bool: ...
490
+ def in_story(self, range: typing.Optional[ITextRange], /) -> bool: ...
491
+ 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[windows_storage_streams.IRandomAccessStream], /) -> None: ...
492
+ def is_equal(self, range: typing.Optional[ITextRange], /) -> bool: ...
493
+ def match_selection(self) -> None: ...
494
+ def move(self, unit: TextRangeUnit, count: winrt.system.Int32, /) -> winrt.system.Int32: ...
495
+ def move_end(self, unit: TextRangeUnit, count: winrt.system.Int32, /) -> winrt.system.Int32: ...
496
+ def move_start(self, unit: TextRangeUnit, count: winrt.system.Int32, /) -> winrt.system.Int32: ...
497
+ def paste(self, format: winrt.system.Int32, /) -> None: ...
498
+ def scroll_into_view(self, value: PointOptions, /) -> None: ...
499
+ def set_index(self, unit: TextRangeUnit, index: winrt.system.Int32, extend: bool, /) -> None: ...
500
+ def set_point(self, point: windows_foundation.Point, options: PointOptions, extend: bool, /) -> None: ...
501
+ def set_range(self, start_position: winrt.system.Int32, end_position: winrt.system.Int32, /) -> None: ...
502
+ def set_text(self, options: TextSetOptions, value: str, /) -> None: ...
503
+ def set_text_via_stream(self, options: TextSetOptions, value: typing.Optional[windows_storage_streams.IRandomAccessStream], /) -> None: ...
504
+ def start_of(self, unit: TextRangeUnit, extend: bool, /) -> winrt.system.Int32: ...
505
+ @_property
506
+ def character(self) -> winrt.system.Char16: ...
507
+ @character.setter
508
+ def character(self, value: winrt.system.Char16) -> None: ...
509
+ @_property
510
+ def character_format(self) -> typing.Optional[ITextCharacterFormat]: ...
511
+ @character_format.setter
512
+ def character_format(self, value: typing.Optional[ITextCharacterFormat]) -> None: ...
513
+ @_property
514
+ def end_position(self) -> winrt.system.Int32: ...
515
+ @end_position.setter
516
+ def end_position(self, value: winrt.system.Int32) -> None: ...
517
+ @_property
518
+ def formatted_text(self) -> typing.Optional[ITextRange]: ...
519
+ @formatted_text.setter
520
+ def formatted_text(self, value: typing.Optional[ITextRange]) -> None: ...
521
+ @_property
522
+ def gravity(self) -> RangeGravity: ...
523
+ @gravity.setter
524
+ def gravity(self, value: RangeGravity) -> None: ...
525
+ @_property
526
+ def length(self) -> winrt.system.Int32: ...
527
+ @_property
528
+ def link(self) -> str: ...
529
+ @link.setter
530
+ def link(self, value: str) -> None: ...
531
+ @_property
532
+ def paragraph_format(self) -> typing.Optional[ITextParagraphFormat]: ...
533
+ @paragraph_format.setter
534
+ def paragraph_format(self, value: typing.Optional[ITextParagraphFormat]) -> None: ...
535
+ @_property
536
+ def start_position(self) -> winrt.system.Int32: ...
537
+ @start_position.setter
538
+ def start_position(self, value: winrt.system.Int32) -> None: ...
539
+ @_property
540
+ def story_length(self) -> winrt.system.Int32: ...
541
+ @_property
542
+ def text(self) -> str: ...
543
+ @text.setter
544
+ def text(self, value: str) -> None: ...
545
+
546
+ @typing.final
547
+ class ITextSelection(winrt.system.Object):
548
+ @staticmethod
549
+ def _from(obj: winrt.system.Object, /) -> ITextSelection: ...
550
+ def can_paste(self, format: winrt.system.Int32, /) -> bool: ...
551
+ def change_case(self, value: LetterCase, /) -> None: ...
552
+ def collapse(self, value: bool, /) -> None: ...
553
+ def copy(self) -> None: ...
554
+ def cut(self) -> None: ...
555
+ def delete(self, unit: TextRangeUnit, count: winrt.system.Int32, /) -> winrt.system.Int32: ...
556
+ def end_key(self, unit: TextRangeUnit, extend: bool, /) -> winrt.system.Int32: ...
557
+ def end_of(self, unit: TextRangeUnit, extend: bool, /) -> winrt.system.Int32: ...
558
+ def expand(self, unit: TextRangeUnit, /) -> winrt.system.Int32: ...
559
+ def find_text(self, value: str, scan_length: winrt.system.Int32, options: FindOptions, /) -> winrt.system.Int32: ...
560
+ def get_character_utf32(self, offset: winrt.system.Int32, /) -> winrt.system.UInt32: ...
561
+ def get_clone(self) -> typing.Optional[ITextRange]: ...
562
+ def get_index(self, unit: TextRangeUnit, /) -> winrt.system.Int32: ...
563
+ def get_point(self, horizontal_align: HorizontalCharacterAlignment, vertical_align: VerticalCharacterAlignment, options: PointOptions, /) -> windows_foundation.Point: ...
564
+ def get_rect(self, options: PointOptions, /) -> typing.Tuple[windows_foundation.Rect, winrt.system.Int32]: ...
565
+ def get_text(self, options: TextGetOptions, /) -> str: ...
566
+ def get_text_via_stream(self, options: TextGetOptions, value: typing.Optional[windows_storage_streams.IRandomAccessStream], /) -> None: ...
567
+ def home_key(self, unit: TextRangeUnit, extend: bool, /) -> winrt.system.Int32: ...
568
+ def in_range(self, range: typing.Optional[ITextRange], /) -> bool: ...
569
+ def in_story(self, range: typing.Optional[ITextRange], /) -> bool: ...
570
+ 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[windows_storage_streams.IRandomAccessStream], /) -> None: ...
571
+ def is_equal(self, range: typing.Optional[ITextRange], /) -> bool: ...
572
+ def match_selection(self) -> None: ...
573
+ def move(self, unit: TextRangeUnit, count: winrt.system.Int32, /) -> winrt.system.Int32: ...
574
+ def move_down(self, unit: TextRangeUnit, count: winrt.system.Int32, extend: bool, /) -> winrt.system.Int32: ...
575
+ def move_end(self, unit: TextRangeUnit, count: winrt.system.Int32, /) -> winrt.system.Int32: ...
576
+ def move_left(self, unit: TextRangeUnit, count: winrt.system.Int32, extend: bool, /) -> winrt.system.Int32: ...
577
+ def move_right(self, unit: TextRangeUnit, count: winrt.system.Int32, extend: bool, /) -> winrt.system.Int32: ...
578
+ def move_start(self, unit: TextRangeUnit, count: winrt.system.Int32, /) -> winrt.system.Int32: ...
579
+ def move_up(self, unit: TextRangeUnit, count: winrt.system.Int32, extend: bool, /) -> winrt.system.Int32: ...
580
+ def paste(self, format: winrt.system.Int32, /) -> None: ...
581
+ def scroll_into_view(self, value: PointOptions, /) -> None: ...
582
+ def set_index(self, unit: TextRangeUnit, index: winrt.system.Int32, extend: bool, /) -> None: ...
583
+ def set_point(self, point: windows_foundation.Point, options: PointOptions, extend: bool, /) -> None: ...
584
+ def set_range(self, start_position: winrt.system.Int32, end_position: winrt.system.Int32, /) -> None: ...
585
+ def set_text(self, options: TextSetOptions, value: str, /) -> None: ...
586
+ def set_text_via_stream(self, options: TextSetOptions, value: typing.Optional[windows_storage_streams.IRandomAccessStream], /) -> None: ...
587
+ def start_of(self, unit: TextRangeUnit, extend: bool, /) -> winrt.system.Int32: ...
588
+ def type_text(self, value: str, /) -> None: ...
589
+ @_property
590
+ def options(self) -> SelectionOptions: ...
591
+ @options.setter
592
+ def options(self, value: SelectionOptions) -> None: ...
593
+ @_property
594
+ def type(self) -> SelectionType: ...
595
+ @_property
596
+ def character(self) -> winrt.system.Char16: ...
597
+ @character.setter
598
+ def character(self, value: winrt.system.Char16) -> None: ...
599
+ @_property
600
+ def character_format(self) -> typing.Optional[ITextCharacterFormat]: ...
601
+ @character_format.setter
602
+ def character_format(self, value: typing.Optional[ITextCharacterFormat]) -> None: ...
603
+ @_property
604
+ def end_position(self) -> winrt.system.Int32: ...
605
+ @end_position.setter
606
+ def end_position(self, value: winrt.system.Int32) -> None: ...
607
+ @_property
608
+ def formatted_text(self) -> typing.Optional[ITextRange]: ...
609
+ @formatted_text.setter
610
+ def formatted_text(self, value: typing.Optional[ITextRange]) -> None: ...
611
+ @_property
612
+ def gravity(self) -> RangeGravity: ...
613
+ @gravity.setter
614
+ def gravity(self, value: RangeGravity) -> None: ...
615
+ @_property
616
+ def length(self) -> winrt.system.Int32: ...
617
+ @_property
618
+ def link(self) -> str: ...
619
+ @link.setter
620
+ def link(self, value: str) -> None: ...
621
+ @_property
622
+ def paragraph_format(self) -> typing.Optional[ITextParagraphFormat]: ...
623
+ @paragraph_format.setter
624
+ def paragraph_format(self, value: typing.Optional[ITextParagraphFormat]) -> None: ...
625
+ @_property
626
+ def start_position(self) -> winrt.system.Int32: ...
627
+ @start_position.setter
628
+ def start_position(self, value: winrt.system.Int32) -> None: ...
629
+ @_property
630
+ def story_length(self) -> winrt.system.Int32: ...
631
+ @_property
632
+ def text(self) -> str: ...
633
+ @text.setter
634
+ def text(self, value: str) -> None: ...
635
+
@@ -0,0 +1,388 @@
1
+ # WARNING: Please don't edit this file. It was generated by Python/WinRT v2.2.0
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 = 0x0
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 = 0x0
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 = 0x0
227
+ UNDERLINE = 0x1
228
+ STRIKETHROUGH = 0x2
229
+
230
+ class TextGetOptions(enum.IntFlag):
231
+ NONE = 0x0
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 = 0x0
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
File without changes
@@ -0,0 +1,27 @@
1
+ Metadata-Version: 2.1
2
+ Name: winrt-Windows.UI.Text
3
+ Version: 2.2.0
4
+ Summary: Python projection of Windows Runtime (WinRT) APIs
5
+ License: MIT
6
+ Project-URL: Documentation, https://pywinrt.readthedocs.io
7
+ Project-URL: Repository, https://github.com/pywinrt/pywinrt
8
+ Project-URL: Changelog, https://github.com/pywinrt/pywinrt/blob/main/CHANGELOG.md
9
+ Classifier: Operating System :: Microsoft :: Windows
10
+ Classifier: Programming Language :: Python :: 3
11
+ Classifier: Programming Language :: Python :: Implementation :: CPython
12
+ Classifier: Intended Audience :: Developers
13
+ Requires-Python: <3.14,>=3.9
14
+ Description-Content-Type: text/markdown
15
+ Requires-Dist: winrt-runtime ==2.2.0
16
+ Provides-Extra: all
17
+ Requires-Dist: winrt-Windows.Foundation[all] ==2.2.0 ; extra == 'all'
18
+ Requires-Dist: winrt-Windows.Storage.Streams[all] ==2.2.0 ; extra == 'all'
19
+ Requires-Dist: winrt-Windows.UI[all] ==2.2.0 ; extra == 'all'
20
+
21
+ <!-- warning: Please don't edit this file. It was automatically generated. -->
22
+
23
+ # winrt-Windows.UI.Text
24
+
25
+ Windows Runtime (WinRT) APIs for for the `Windows.UI.Text` namespace.
26
+
27
+ This package provides the `winrt.windows.ui.text` module.
@@ -0,0 +1,8 @@
1
+ winrt/_winrt_windows_ui_text.cp313-win32.pyd,sha256=kPep__WgXvESD6AVli7vpJ6VL6u2ya-qo9JgosEi1h4,270848
2
+ winrt/_winrt_windows_ui_text.pyi,sha256=t3CjGRduAAharTaHhSWmfREEtiwzS5pqmrkBFSihqSE,31173
3
+ winrt/windows/ui/text/__init__.py,sha256=Hgpu9d29gaW6OVv7Smgqu2AqmGKuThl0nObJIhZ35tQ,7704
4
+ winrt/windows/ui/text/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
5
+ winrt_Windows.UI.Text-2.2.0.dist-info/METADATA,sha256=FMFUAU9NsOHxHmHqkCPDQvqVHqYDakdh6OsmgHAKcxY,1150
6
+ winrt_Windows.UI.Text-2.2.0.dist-info/WHEEL,sha256=rHSPOKLHVf857fDiba9Pzuf1iCvh9pcRQ5-VWQYz3ms,97
7
+ winrt_Windows.UI.Text-2.2.0.dist-info/top_level.txt,sha256=BzwQb4dZRt0NxCXi10ARjWsox7Asmtf_lXrw_KR-D_E,6
8
+ winrt_Windows.UI.Text-2.2.0.dist-info/RECORD,,
@@ -0,0 +1,5 @@
1
+ Wheel-Version: 1.0
2
+ Generator: setuptools (73.0.0)
3
+ Root-Is-Purelib: false
4
+ Tag: cp313-cp313-win32
5
+
@@ -0,0 +1 @@
1
+ winrt