winrt-Windows.UI.Xaml.Printing 3.2.1__cp314-cp314-win_amd64.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,90 @@
1
+ # WARNING: Please don't edit this file. It was generated by Python/WinRT v3.2.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 as windows_foundation
13
+ import winrt.windows.graphics.printing as windows_graphics_printing
14
+ import winrt.windows.ui.xaml as windows_ui_xaml
15
+
16
+ from winrt.windows.ui.xaml.printing import PreviewPageCountType
17
+ from winrt.windows.ui.xaml.printing import AddPagesEventHandler, GetPreviewPageEventHandler, PaginateEventHandler
18
+
19
+ Self = typing.TypeVar('Self')
20
+
21
+ @typing.final
22
+ class AddPagesEventArgs(winrt.system.Object):
23
+ def __new__(cls: typing.Type[Self]) -> Self: ...
24
+ # Windows.Graphics.Printing.PrintTaskOptions Windows.UI.Xaml.Printing.AddPagesEventArgs::get_PrintTaskOptions()
25
+ @_property
26
+ def print_task_options(self) -> windows_graphics_printing.PrintTaskOptions: ...
27
+
28
+ @typing.final
29
+ class GetPreviewPageEventArgs(winrt.system.Object):
30
+ def __new__(cls: typing.Type[Self]) -> Self: ...
31
+ # System.Int32 Windows.UI.Xaml.Printing.GetPreviewPageEventArgs::get_PageNumber()
32
+ @_property
33
+ def page_number(self) -> winrt.system.Int32: ...
34
+
35
+ @typing.final
36
+ class PaginateEventArgs(winrt.system.Object):
37
+ def __new__(cls: typing.Type[Self]) -> Self: ...
38
+ # System.Int32 Windows.UI.Xaml.Printing.PaginateEventArgs::get_CurrentPreviewPageNumber()
39
+ @_property
40
+ def current_preview_page_number(self) -> winrt.system.Int32: ...
41
+ # Windows.Graphics.Printing.PrintTaskOptions Windows.UI.Xaml.Printing.PaginateEventArgs::get_PrintTaskOptions()
42
+ @_property
43
+ def print_task_options(self) -> windows_graphics_printing.PrintTaskOptions: ...
44
+
45
+ class PrintDocument_Static(windows_ui_xaml.DependencyObject_Static):
46
+ # Windows.UI.Xaml.DependencyProperty Windows.UI.Xaml.Printing.PrintDocument::get_DocumentSourceProperty()
47
+ @_property
48
+ @typing.final
49
+ def document_source_property(cls) -> windows_ui_xaml.DependencyProperty: ...
50
+
51
+ class PrintDocument(windows_ui_xaml.DependencyObject, metaclass=PrintDocument_Static):
52
+ def __new__(cls: typing.Type[Self]) -> Self: ...
53
+ @typing.final
54
+ # System.Void Windows.UI.Xaml.Printing.PrintDocument::AddPage(Windows.UI.Xaml.UIElement)
55
+ def add_page(self, page_visual: windows_ui_xaml.UIElement, /) -> None: ...
56
+ @typing.final
57
+ # System.Void Windows.UI.Xaml.Printing.PrintDocument::AddPagesComplete()
58
+ def add_pages_complete(self) -> None: ...
59
+ @typing.final
60
+ # System.Void Windows.UI.Xaml.Printing.PrintDocument::InvalidatePreview()
61
+ def invalidate_preview(self) -> None: ...
62
+ @typing.final
63
+ # System.Void Windows.UI.Xaml.Printing.PrintDocument::SetPreviewPage(System.Int32,Windows.UI.Xaml.UIElement)
64
+ def set_preview_page(self, page_number: winrt.system.Int32, page_visual: windows_ui_xaml.UIElement, /) -> None: ...
65
+ @typing.final
66
+ # System.Void Windows.UI.Xaml.Printing.PrintDocument::SetPreviewPageCount(System.Int32,Windows.UI.Xaml.Printing.PreviewPageCountType)
67
+ def set_preview_page_count(self, count: winrt.system.Int32, type: PreviewPageCountType, /) -> None: ...
68
+ @typing.final
69
+ # Windows.Foundation.EventRegistrationToken Windows.UI.Xaml.Printing.PrintDocument::add_AddPages(Windows.UI.Xaml.Printing.AddPagesEventHandler)
70
+ def add_add_pages(self, handler: AddPagesEventHandler, /) -> windows_foundation.EventRegistrationToken: ...
71
+ @typing.final
72
+ # System.Void Windows.UI.Xaml.Printing.PrintDocument::remove_AddPages(Windows.Foundation.EventRegistrationToken)
73
+ def remove_add_pages(self, token: typing.Union[windows_foundation.EventRegistrationToken, typing.Tuple[winrt.system.Int64]], /) -> None: ...
74
+ @typing.final
75
+ # Windows.Foundation.EventRegistrationToken Windows.UI.Xaml.Printing.PrintDocument::add_GetPreviewPage(Windows.UI.Xaml.Printing.GetPreviewPageEventHandler)
76
+ def add_get_preview_page(self, handler: GetPreviewPageEventHandler, /) -> windows_foundation.EventRegistrationToken: ...
77
+ @typing.final
78
+ # System.Void Windows.UI.Xaml.Printing.PrintDocument::remove_GetPreviewPage(Windows.Foundation.EventRegistrationToken)
79
+ def remove_get_preview_page(self, token: typing.Union[windows_foundation.EventRegistrationToken, typing.Tuple[winrt.system.Int64]], /) -> None: ...
80
+ @typing.final
81
+ # Windows.Foundation.EventRegistrationToken Windows.UI.Xaml.Printing.PrintDocument::add_Paginate(Windows.UI.Xaml.Printing.PaginateEventHandler)
82
+ def add_paginate(self, handler: PaginateEventHandler, /) -> windows_foundation.EventRegistrationToken: ...
83
+ @typing.final
84
+ # System.Void Windows.UI.Xaml.Printing.PrintDocument::remove_Paginate(Windows.Foundation.EventRegistrationToken)
85
+ def remove_paginate(self, token: typing.Union[windows_foundation.EventRegistrationToken, typing.Tuple[winrt.system.Int64]], /) -> None: ...
86
+ # Windows.Graphics.Printing.IPrintDocumentSource Windows.UI.Xaml.Printing.PrintDocument::get_DocumentSource()
87
+ @_property
88
+ @typing.final
89
+ def document_source(self) -> windows_graphics_printing.IPrintDocumentSource: ...
90
+
@@ -0,0 +1,37 @@
1
+ # WARNING: Please don't edit this file. It was generated by Python/WinRT v3.2.1
2
+
3
+ import enum
4
+ import typing
5
+ import uuid as _uuid
6
+
7
+ import winrt.system
8
+ from winrt._winrt_windows_ui_xaml_printing import (
9
+ AddPagesEventArgs,
10
+ GetPreviewPageEventArgs,
11
+ PaginateEventArgs,
12
+ PrintDocument,
13
+ )
14
+ from typing import TYPE_CHECKING
15
+ if TYPE_CHECKING:
16
+ from winrt._winrt_windows_ui_xaml_printing import (
17
+ PrintDocument_Static,
18
+ )
19
+
20
+ __all__ = [
21
+ "PreviewPageCountType",
22
+ "AddPagesEventArgs",
23
+ "GetPreviewPageEventArgs",
24
+ "PaginateEventArgs",
25
+ "PrintDocument",
26
+ "AddPagesEventHandler",
27
+ "GetPreviewPageEventHandler",
28
+ "PaginateEventHandler",
29
+ ]
30
+
31
+ class PreviewPageCountType(enum.IntEnum):
32
+ FINAL = 0
33
+ INTERMEDIATE = 1
34
+
35
+ AddPagesEventHandler = typing.Callable[[winrt.system.Object, AddPagesEventArgs], None]
36
+ GetPreviewPageEventHandler = typing.Callable[[winrt.system.Object, GetPreviewPageEventArgs], None]
37
+ PaginateEventHandler = typing.Callable[[winrt.system.Object, PaginateEventArgs], None]
File without changes
@@ -0,0 +1,28 @@
1
+ Metadata-Version: 2.4
2
+ Name: winrt-Windows.UI.Xaml.Printing
3
+ Version: 3.2.1
4
+ Summary: Python projection of Windows Runtime (WinRT) APIs
5
+ License-Expression: 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.9
14
+ Description-Content-Type: text/markdown
15
+ Requires-Dist: winrt-runtime~=3.2.1.0
16
+ Requires-Dist: winrt-Windows.UI.Xaml~=3.2.1.0
17
+ Provides-Extra: all
18
+ Requires-Dist: winrt-Windows.Foundation[all]~=3.2.1.0; extra == "all"
19
+ Requires-Dist: winrt-Windows.Graphics.Printing[all]~=3.2.1.0; extra == "all"
20
+ Requires-Dist: winrt-Windows.UI.Xaml[all]~=3.2.1.0; extra == "all"
21
+
22
+ <!-- warning: Please don't edit this file. It was automatically generated. -->
23
+
24
+ # winrt-Windows.UI.Xaml.Printing
25
+
26
+ Windows Runtime (WinRT) APIs for for the `Windows.UI.Xaml.Printing` namespace.
27
+
28
+ This package provides the `winrt.windows.ui.xaml.printing` module.
@@ -0,0 +1,8 @@
1
+ winrt/_winrt_windows_ui_xaml_printing.cp314-win_amd64.pyd,sha256=fQTuArmkbhDqWGM7HDINTNpQf4qE61s1LtC2w4KmQtU,107008
2
+ winrt/_winrt_windows_ui_xaml_printing.pyi,sha256=DZ6RJwUbov1Wz-hOcB9f7WVaBhvqnDkMGwRzuA0Gmlk,5096
3
+ winrt/windows/ui/xaml/printing/__init__.py,sha256=lIGIdfFglmVHbd63rCX-9jwXpWKaWVJZJ0Y8ww8fICc,1027
4
+ winrt/windows/ui/xaml/printing/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
5
+ winrt_windows_ui_xaml_printing-3.2.1.dist-info/METADATA,sha256=_bE8rmpff1L-iblGVE8oeAryHKSpqvY6tNqg92l7okE,1246
6
+ winrt_windows_ui_xaml_printing-3.2.1.dist-info/WHEEL,sha256=7k6Wcy588iJYe5lf5K095NLg-uoBTnE-T8eHJ92G4_4,101
7
+ winrt_windows_ui_xaml_printing-3.2.1.dist-info/top_level.txt,sha256=BzwQb4dZRt0NxCXi10ARjWsox7Asmtf_lXrw_KR-D_E,6
8
+ winrt_windows_ui_xaml_printing-3.2.1.dist-info/RECORD,,
@@ -0,0 +1,5 @@
1
+ Wheel-Version: 1.0
2
+ Generator: setuptools (80.9.0)
3
+ Root-Is-Purelib: false
4
+ Tag: cp314-cp314-win_amd64
5
+