winrt-Windows.Data.Pdf 2.2.0__cp313-cp313-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,109 @@
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 as windows_storage
14
+ import winrt.windows.storage.streams as windows_storage_streams
15
+ import winrt.windows.ui as windows_ui
16
+
17
+ from winrt.windows.data.pdf import PdfPageRotation
18
+
19
+ Self = typing.TypeVar('Self')
20
+
21
+ @typing.final
22
+ class PdfDocument_Static(type):
23
+ @typing.overload
24
+ def load_from_file_async(cls, file: typing.Optional[windows_storage.IStorageFile], /) -> windows_foundation.IAsyncOperation[PdfDocument]: ...
25
+ @typing.overload
26
+ def load_from_file_async(cls, file: typing.Optional[windows_storage.IStorageFile], password: str, /) -> windows_foundation.IAsyncOperation[PdfDocument]: ...
27
+ @typing.overload
28
+ def load_from_stream_async(cls, input_stream: typing.Optional[windows_storage_streams.IRandomAccessStream], /) -> windows_foundation.IAsyncOperation[PdfDocument]: ...
29
+ @typing.overload
30
+ def load_from_stream_async(cls, input_stream: typing.Optional[windows_storage_streams.IRandomAccessStream], password: str, /) -> windows_foundation.IAsyncOperation[PdfDocument]: ...
31
+
32
+ @typing.final
33
+ class PdfDocument(winrt.system.Object, metaclass=PdfDocument_Static):
34
+ @staticmethod
35
+ def _from(obj: winrt.system.Object, /) -> PdfDocument: ...
36
+ def get_page(self, page_index: winrt.system.UInt32, /) -> typing.Optional[PdfPage]: ...
37
+ @_property
38
+ def is_password_protected(self) -> bool: ...
39
+ @_property
40
+ def page_count(self) -> winrt.system.UInt32: ...
41
+
42
+ @typing.final
43
+ class PdfPage(winrt.system.Object):
44
+ def __enter__(self: Self) -> Self: ...
45
+ def __exit__(self, *args) -> None: ...
46
+ @staticmethod
47
+ def _from(obj: winrt.system.Object, /) -> PdfPage: ...
48
+ def close(self) -> None: ...
49
+ def prepare_page_async(self) -> windows_foundation.IAsyncAction: ...
50
+ @typing.overload
51
+ def render_to_stream_async(self, output_stream: typing.Optional[windows_storage_streams.IRandomAccessStream], /) -> windows_foundation.IAsyncAction: ...
52
+ @typing.overload
53
+ def render_to_stream_async(self, output_stream: typing.Optional[windows_storage_streams.IRandomAccessStream], options: typing.Optional[PdfPageRenderOptions], /) -> windows_foundation.IAsyncAction: ...
54
+ @_property
55
+ def dimensions(self) -> typing.Optional[PdfPageDimensions]: ...
56
+ @_property
57
+ def index(self) -> winrt.system.UInt32: ...
58
+ @_property
59
+ def preferred_zoom(self) -> winrt.system.Single: ...
60
+ @_property
61
+ def rotation(self) -> PdfPageRotation: ...
62
+ @_property
63
+ def size(self) -> windows_foundation.Size: ...
64
+
65
+ @typing.final
66
+ class PdfPageDimensions(winrt.system.Object):
67
+ @staticmethod
68
+ def _from(obj: winrt.system.Object, /) -> PdfPageDimensions: ...
69
+ @_property
70
+ def art_box(self) -> windows_foundation.Rect: ...
71
+ @_property
72
+ def bleed_box(self) -> windows_foundation.Rect: ...
73
+ @_property
74
+ def crop_box(self) -> windows_foundation.Rect: ...
75
+ @_property
76
+ def media_box(self) -> windows_foundation.Rect: ...
77
+ @_property
78
+ def trim_box(self) -> windows_foundation.Rect: ...
79
+
80
+ @typing.final
81
+ class PdfPageRenderOptions(winrt.system.Object):
82
+ @staticmethod
83
+ def _from(obj: winrt.system.Object, /) -> PdfPageRenderOptions: ...
84
+ def __new__(cls: typing.Type[PdfPageRenderOptions]) -> PdfPageRenderOptions: ...
85
+ @_property
86
+ def source_rect(self) -> windows_foundation.Rect: ...
87
+ @source_rect.setter
88
+ def source_rect(self, value: windows_foundation.Rect) -> None: ...
89
+ @_property
90
+ def is_ignoring_high_contrast(self) -> bool: ...
91
+ @is_ignoring_high_contrast.setter
92
+ def is_ignoring_high_contrast(self, value: bool) -> None: ...
93
+ @_property
94
+ def destination_width(self) -> winrt.system.UInt32: ...
95
+ @destination_width.setter
96
+ def destination_width(self, value: winrt.system.UInt32) -> None: ...
97
+ @_property
98
+ def destination_height(self) -> winrt.system.UInt32: ...
99
+ @destination_height.setter
100
+ def destination_height(self, value: winrt.system.UInt32) -> None: ...
101
+ @_property
102
+ def bitmap_encoder_id(self) -> _uuid.UUID: ...
103
+ @bitmap_encoder_id.setter
104
+ def bitmap_encoder_id(self, value: _uuid.UUID) -> None: ...
105
+ @_property
106
+ def background_color(self) -> windows_ui.Color: ...
107
+ @background_color.setter
108
+ def background_color(self, value: windows_ui.Color) -> None: ...
109
+
@@ -0,0 +1,25 @@
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_data_pdf
7
+
8
+ __all__ = [
9
+ "PdfPageRotation",
10
+ "PdfDocument",
11
+ "PdfPage",
12
+ "PdfPageDimensions",
13
+ "PdfPageRenderOptions",
14
+ ]
15
+
16
+ class PdfPageRotation(enum.IntEnum):
17
+ NORMAL = 0
18
+ ROTATE90 = 1
19
+ ROTATE180 = 2
20
+ ROTATE270 = 3
21
+
22
+ PdfDocument = _winrt_windows_data_pdf.PdfDocument
23
+ PdfPage = _winrt_windows_data_pdf.PdfPage
24
+ PdfPageDimensions = _winrt_windows_data_pdf.PdfPageDimensions
25
+ PdfPageRenderOptions = _winrt_windows_data_pdf.PdfPageRenderOptions
File without changes
@@ -0,0 +1,28 @@
1
+ Metadata-Version: 2.1
2
+ Name: winrt-Windows.Data.Pdf
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[all] ==2.2.0 ; extra == 'all'
19
+ Requires-Dist: winrt-Windows.Storage.Streams[all] ==2.2.0 ; extra == 'all'
20
+ Requires-Dist: winrt-Windows.UI[all] ==2.2.0 ; extra == 'all'
21
+
22
+ <!-- warning: Please don't edit this file. It was automatically generated. -->
23
+
24
+ # winrt-Windows.Data.Pdf
25
+
26
+ Windows Runtime (WinRT) APIs for for the `Windows.Data.Pdf` namespace.
27
+
28
+ This package provides the `winrt.windows.data.pdf` module.
@@ -0,0 +1,8 @@
1
+ winrt/_winrt_windows_data_pdf.cp313-win_arm64.pyd,sha256=YBfowoM6Q_jtx4fGKANJ4Bq1SAAA0kshhe57tOnSn3E,104448
2
+ winrt/_winrt_windows_data_pdf.pyi,sha256=QGUYYuEChxVy31qrs0f4Q8FqDQdQstdOI2AneoSEnN4,4549
3
+ winrt/windows/data/pdf/__init__.py,sha256=dQz-k7MHRIugQdt5iyHk3X8Gar_xrBS_z27KCCRwmic,610
4
+ winrt/windows/data/pdf/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
5
+ winrt_Windows.Data.Pdf-2.2.0.dist-info/METADATA,sha256=lt8OzDoWypk6aqIZRAVL96qE_qwgNmRyJqpZ86rFY-I,1222
6
+ winrt_Windows.Data.Pdf-2.2.0.dist-info/WHEEL,sha256=Bc3zGnBzvnkuBaMd-KCqScACPFmA-93PSEDjeXqCzu8,101
7
+ winrt_Windows.Data.Pdf-2.2.0.dist-info/top_level.txt,sha256=BzwQb4dZRt0NxCXi10ARjWsox7Asmtf_lXrw_KR-D_E,6
8
+ winrt_Windows.Data.Pdf-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-win_arm64
5
+