python-pages 0.1.0__py3-none-any.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.
- pages/__init__.py +65 -0
- pages/api.py +1869 -0
- pages/cli.py +43 -0
- pages/comments.py +168 -0
- pages/components.py +403 -0
- pages/core_properties.py +126 -0
- pages/data/default.pages +0 -0
- pages/document.py +215 -0
- pages/hyperlinks.py +57 -0
- pages/iwa.py +101 -0
- pages/metadata.py +117 -0
- pages/pages.py +365 -0
- pages/pictures.py +549 -0
- pages/protobuf.py +162 -0
- pages/snappy.py +140 -0
- pages/stylesheet.py +892 -0
- pages/tables.py +493 -0
- pages/text.py +294 -0
- python_pages-0.1.0.dist-info/METADATA +271 -0
- python_pages-0.1.0.dist-info/RECORD +24 -0
- python_pages-0.1.0.dist-info/WHEEL +5 -0
- python_pages-0.1.0.dist-info/entry_points.txt +2 -0
- python_pages-0.1.0.dist-info/licenses/LICENSE +21 -0
- python_pages-0.1.0.dist-info/top_level.txt +1 -0
pages/__init__.py
ADDED
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
"""Dependency-free Apple Pages IWA reading and character formatting."""
|
|
2
|
+
|
|
3
|
+
from .api import (
|
|
4
|
+
AnnotationHighlight,
|
|
5
|
+
Cm,
|
|
6
|
+
Comment,
|
|
7
|
+
Comments,
|
|
8
|
+
Document,
|
|
9
|
+
Inches,
|
|
10
|
+
InlineShape,
|
|
11
|
+
Hyperlink,
|
|
12
|
+
Style,
|
|
13
|
+
Styles,
|
|
14
|
+
Length,
|
|
15
|
+
Pt,
|
|
16
|
+
Section,
|
|
17
|
+
Table,
|
|
18
|
+
TableCell,
|
|
19
|
+
WD_ALIGN_PARAGRAPH,
|
|
20
|
+
WD_COLOR,
|
|
21
|
+
WD_COLOR_INDEX,
|
|
22
|
+
WD_LINE_SPACING,
|
|
23
|
+
WD_PARAGRAPH_ALIGNMENT,
|
|
24
|
+
WD_TAB_ALIGNMENT,
|
|
25
|
+
WD_TAB_LEADER,
|
|
26
|
+
WD_ORIENT,
|
|
27
|
+
WD_ORIENTATION,
|
|
28
|
+
WD_STYLE_TYPE,
|
|
29
|
+
)
|
|
30
|
+
from .pages import PagesDocument
|
|
31
|
+
from .core_properties import CoreProperties
|
|
32
|
+
from .stylesheet import CharacterProperties, ParagraphProperties, RGBColor
|
|
33
|
+
|
|
34
|
+
__all__ = [
|
|
35
|
+
"AnnotationHighlight",
|
|
36
|
+
"CharacterProperties",
|
|
37
|
+
"Cm",
|
|
38
|
+
"Comment",
|
|
39
|
+
"Comments",
|
|
40
|
+
"CoreProperties",
|
|
41
|
+
"Document",
|
|
42
|
+
"Inches",
|
|
43
|
+
"InlineShape",
|
|
44
|
+
"Hyperlink",
|
|
45
|
+
"Style",
|
|
46
|
+
"Styles",
|
|
47
|
+
"Length",
|
|
48
|
+
"PagesDocument",
|
|
49
|
+
"ParagraphProperties",
|
|
50
|
+
"Pt",
|
|
51
|
+
"RGBColor",
|
|
52
|
+
"Section",
|
|
53
|
+
"Table",
|
|
54
|
+
"TableCell",
|
|
55
|
+
"WD_ALIGN_PARAGRAPH",
|
|
56
|
+
"WD_COLOR",
|
|
57
|
+
"WD_COLOR_INDEX",
|
|
58
|
+
"WD_LINE_SPACING",
|
|
59
|
+
"WD_PARAGRAPH_ALIGNMENT",
|
|
60
|
+
"WD_TAB_ALIGNMENT",
|
|
61
|
+
"WD_TAB_LEADER",
|
|
62
|
+
"WD_ORIENT",
|
|
63
|
+
"WD_ORIENTATION",
|
|
64
|
+
"WD_STYLE_TYPE",
|
|
65
|
+
]
|