winrt-Windows.UI.Xaml.Printing 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.
- winrt/_winrt_windows_ui_xaml_printing.cp313-win32.pyd +0 -0
- winrt/_winrt_windows_ui_xaml_printing.pyi +80 -0
- winrt/windows/ui/xaml/printing/__init__.py +31 -0
- winrt/windows/ui/xaml/printing/py.typed +0 -0
- winrt_Windows.UI.Xaml.Printing-2.2.0.dist-info/METADATA +28 -0
- winrt_Windows.UI.Xaml.Printing-2.2.0.dist-info/RECORD +8 -0
- winrt_Windows.UI.Xaml.Printing-2.2.0.dist-info/WHEEL +5 -0
- winrt_Windows.UI.Xaml.Printing-2.2.0.dist-info/top_level.txt +1 -0
|
Binary file
|
|
@@ -0,0 +1,80 @@
|
|
|
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.graphics.printing as windows_graphics_printing
|
|
14
|
+
import winrt.windows.ui.core as windows_ui_core
|
|
15
|
+
import winrt.windows.ui.xaml as windows_ui_xaml
|
|
16
|
+
|
|
17
|
+
from winrt.windows.ui.xaml.printing import PreviewPageCountType
|
|
18
|
+
from winrt.windows.ui.xaml.printing import AddPagesEventHandler, GetPreviewPageEventHandler, PaginateEventHandler
|
|
19
|
+
|
|
20
|
+
Self = typing.TypeVar('Self')
|
|
21
|
+
|
|
22
|
+
@typing.final
|
|
23
|
+
class AddPagesEventArgs(winrt.system.Object):
|
|
24
|
+
@staticmethod
|
|
25
|
+
def _from(obj: winrt.system.Object, /) -> AddPagesEventArgs: ...
|
|
26
|
+
def __new__(cls: typing.Type[AddPagesEventArgs]) -> AddPagesEventArgs: ...
|
|
27
|
+
@_property
|
|
28
|
+
def print_task_options(self) -> typing.Optional[windows_graphics_printing.PrintTaskOptions]: ...
|
|
29
|
+
|
|
30
|
+
@typing.final
|
|
31
|
+
class GetPreviewPageEventArgs(winrt.system.Object):
|
|
32
|
+
@staticmethod
|
|
33
|
+
def _from(obj: winrt.system.Object, /) -> GetPreviewPageEventArgs: ...
|
|
34
|
+
def __new__(cls: typing.Type[GetPreviewPageEventArgs]) -> GetPreviewPageEventArgs: ...
|
|
35
|
+
@_property
|
|
36
|
+
def page_number(self) -> winrt.system.Int32: ...
|
|
37
|
+
|
|
38
|
+
@typing.final
|
|
39
|
+
class PaginateEventArgs(winrt.system.Object):
|
|
40
|
+
@staticmethod
|
|
41
|
+
def _from(obj: winrt.system.Object, /) -> PaginateEventArgs: ...
|
|
42
|
+
def __new__(cls: typing.Type[PaginateEventArgs]) -> PaginateEventArgs: ...
|
|
43
|
+
@_property
|
|
44
|
+
def current_preview_page_number(self) -> winrt.system.Int32: ...
|
|
45
|
+
@_property
|
|
46
|
+
def print_task_options(self) -> typing.Optional[windows_graphics_printing.PrintTaskOptions]: ...
|
|
47
|
+
|
|
48
|
+
@typing.final
|
|
49
|
+
class PrintDocument_Static(type):
|
|
50
|
+
@_property
|
|
51
|
+
def document_source_property(cls) -> typing.Optional[windows_ui_xaml.DependencyProperty]: ...
|
|
52
|
+
|
|
53
|
+
@typing.final
|
|
54
|
+
class PrintDocument(winrt.system.Object, metaclass=PrintDocument_Static):
|
|
55
|
+
@staticmethod
|
|
56
|
+
def _from(obj: winrt.system.Object, /) -> PrintDocument: ...
|
|
57
|
+
def __new__(cls: typing.Type[PrintDocument]) -> PrintDocument: ...
|
|
58
|
+
def add_page(self, page_visual: typing.Optional[windows_ui_xaml.UIElement], /) -> None: ...
|
|
59
|
+
def add_pages_complete(self) -> None: ...
|
|
60
|
+
def clear_value(self, dp: typing.Optional[windows_ui_xaml.DependencyProperty], /) -> None: ...
|
|
61
|
+
def get_animation_base_value(self, dp: typing.Optional[windows_ui_xaml.DependencyProperty], /) -> typing.Optional[winrt.system.Object]: ...
|
|
62
|
+
def get_value(self, dp: typing.Optional[windows_ui_xaml.DependencyProperty], /) -> typing.Optional[winrt.system.Object]: ...
|
|
63
|
+
def invalidate_preview(self) -> None: ...
|
|
64
|
+
def read_local_value(self, dp: typing.Optional[windows_ui_xaml.DependencyProperty], /) -> typing.Optional[winrt.system.Object]: ...
|
|
65
|
+
def register_property_changed_callback(self, dp: typing.Optional[windows_ui_xaml.DependencyProperty], callback: typing.Optional[windows_ui_xaml.DependencyPropertyChangedCallback], /) -> winrt.system.Int64: ...
|
|
66
|
+
def set_preview_page(self, page_number: winrt.system.Int32, page_visual: typing.Optional[windows_ui_xaml.UIElement], /) -> None: ...
|
|
67
|
+
def set_preview_page_count(self, count: winrt.system.Int32, type: PreviewPageCountType, /) -> None: ...
|
|
68
|
+
def set_value(self, dp: typing.Optional[windows_ui_xaml.DependencyProperty], value: typing.Optional[winrt.system.Object], /) -> None: ...
|
|
69
|
+
def unregister_property_changed_callback(self, dp: typing.Optional[windows_ui_xaml.DependencyProperty], token: winrt.system.Int64, /) -> None: ...
|
|
70
|
+
def add_add_pages(self, handler: typing.Optional[AddPagesEventHandler], /) -> windows_foundation.EventRegistrationToken: ...
|
|
71
|
+
def remove_add_pages(self, token: windows_foundation.EventRegistrationToken, /) -> None: ...
|
|
72
|
+
def add_get_preview_page(self, handler: typing.Optional[GetPreviewPageEventHandler], /) -> windows_foundation.EventRegistrationToken: ...
|
|
73
|
+
def remove_get_preview_page(self, token: windows_foundation.EventRegistrationToken, /) -> None: ...
|
|
74
|
+
def add_paginate(self, handler: typing.Optional[PaginateEventHandler], /) -> windows_foundation.EventRegistrationToken: ...
|
|
75
|
+
def remove_paginate(self, token: windows_foundation.EventRegistrationToken, /) -> None: ...
|
|
76
|
+
@_property
|
|
77
|
+
def document_source(self) -> typing.Optional[windows_graphics_printing.IPrintDocumentSource]: ...
|
|
78
|
+
@_property
|
|
79
|
+
def dispatcher(self) -> typing.Optional[windows_ui_core.CoreDispatcher]: ...
|
|
80
|
+
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
# WARNING: Please don't edit this file. It was generated by Python/WinRT v2.2.0
|
|
2
|
+
|
|
3
|
+
import enum
|
|
4
|
+
import typing
|
|
5
|
+
import uuid as _uuid
|
|
6
|
+
|
|
7
|
+
import winrt.system
|
|
8
|
+
from winrt import _winrt_windows_ui_xaml_printing
|
|
9
|
+
|
|
10
|
+
__all__ = [
|
|
11
|
+
"PreviewPageCountType",
|
|
12
|
+
"AddPagesEventArgs",
|
|
13
|
+
"GetPreviewPageEventArgs",
|
|
14
|
+
"PaginateEventArgs",
|
|
15
|
+
"PrintDocument",
|
|
16
|
+
"AddPagesEventHandler",
|
|
17
|
+
"GetPreviewPageEventHandler",
|
|
18
|
+
"PaginateEventHandler",
|
|
19
|
+
]
|
|
20
|
+
|
|
21
|
+
class PreviewPageCountType(enum.IntEnum):
|
|
22
|
+
FINAL = 0
|
|
23
|
+
INTERMEDIATE = 1
|
|
24
|
+
|
|
25
|
+
AddPagesEventArgs = _winrt_windows_ui_xaml_printing.AddPagesEventArgs
|
|
26
|
+
GetPreviewPageEventArgs = _winrt_windows_ui_xaml_printing.GetPreviewPageEventArgs
|
|
27
|
+
PaginateEventArgs = _winrt_windows_ui_xaml_printing.PaginateEventArgs
|
|
28
|
+
PrintDocument = _winrt_windows_ui_xaml_printing.PrintDocument
|
|
29
|
+
AddPagesEventHandler = typing.Callable[[typing.Optional[winrt.system.Object], typing.Optional[AddPagesEventArgs]], None]
|
|
30
|
+
GetPreviewPageEventHandler = typing.Callable[[typing.Optional[winrt.system.Object], typing.Optional[GetPreviewPageEventArgs]], None]
|
|
31
|
+
PaginateEventHandler = typing.Callable[[typing.Optional[winrt.system.Object], typing.Optional[PaginateEventArgs]], None]
|
|
File without changes
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
Metadata-Version: 2.1
|
|
2
|
+
Name: winrt-Windows.UI.Xaml.Printing
|
|
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.Graphics.Printing[all] ==2.2.0 ; extra == 'all'
|
|
19
|
+
Requires-Dist: winrt-Windows.UI.Core[all] ==2.2.0 ; extra == 'all'
|
|
20
|
+
Requires-Dist: winrt-Windows.UI.Xaml[all] ==2.2.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.cp313-win32.pyd,sha256=VvbwCqAcBlzf4_x0arjBCzrRqvGgTVfGethHoElAvVw,75264
|
|
2
|
+
winrt/_winrt_windows_ui_xaml_printing.pyi,sha256=YYSNNbY_OCJgQiHd8cP0a6Ji1IWNGV9kidtaX7naCuM,4520
|
|
3
|
+
winrt/windows/ui/xaml/printing/__init__.py,sha256=VWJnog3nBH1aZb8pi4HiAeu0o4pifaPzvDel_0B0mrs,1172
|
|
4
|
+
winrt/windows/ui/xaml/printing/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
5
|
+
winrt_Windows.UI.Xaml.Printing-2.2.0.dist-info/METADATA,sha256=oIB69qUKCfnArKCfEizbjwsB-ASu1fnG9PDpDbX-WJY,1261
|
|
6
|
+
winrt_Windows.UI.Xaml.Printing-2.2.0.dist-info/WHEEL,sha256=rHSPOKLHVf857fDiba9Pzuf1iCvh9pcRQ5-VWQYz3ms,97
|
|
7
|
+
winrt_Windows.UI.Xaml.Printing-2.2.0.dist-info/top_level.txt,sha256=BzwQb4dZRt0NxCXi10ARjWsox7Asmtf_lXrw_KR-D_E,6
|
|
8
|
+
winrt_Windows.UI.Xaml.Printing-2.2.0.dist-info/RECORD,,
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
winrt
|