python-hwpx 2.9.1__py3-none-any.whl → 2.10.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.
- hwpx/__init__.py +38 -0
- hwpx/authoring.py +1881 -0
- hwpx/builder/__init__.py +43 -0
- hwpx/builder/core.py +512 -0
- hwpx/builder/report.py +59 -0
- hwpx/document.py +189 -14
- hwpx/form_fill.py +333 -0
- hwpx/opc/package.py +62 -11
- hwpx/oxml/document.py +841 -13
- hwpx/oxml/namespaces.py +25 -0
- hwpx/presets/__init__.py +22 -0
- hwpx/presets/proposal.py +538 -0
- hwpx/template_formfit.py +592 -0
- hwpx/tools/archive_cli.py +31 -1
- hwpx/tools/package_validator.py +62 -1
- hwpx/tools/recover.py +151 -0
- hwpx/tools/repair.py +263 -0
- hwpx/tools/validator.py +26 -7
- {python_hwpx-2.9.1.dist-info → python_hwpx-2.10.0.dist-info}/METADATA +8 -1
- {python_hwpx-2.9.1.dist-info → python_hwpx-2.10.0.dist-info}/RECORD +25 -15
- {python_hwpx-2.9.1.dist-info → python_hwpx-2.10.0.dist-info}/entry_points.txt +1 -0
- python_hwpx-2.10.0.dist-info/licenses/NOTICE +42 -0
- python_hwpx-2.9.1.dist-info/licenses/NOTICE +0 -14
- {python_hwpx-2.9.1.dist-info → python_hwpx-2.10.0.dist-info}/WHEEL +0 -0
- {python_hwpx-2.9.1.dist-info → python_hwpx-2.10.0.dist-info}/licenses/LICENSE +0 -0
- {python_hwpx-2.9.1.dist-info → python_hwpx-2.10.0.dist-info}/top_level.txt +0 -0
hwpx/__init__.py
CHANGED
|
@@ -27,15 +27,53 @@ from .tools.text_extractor import (
|
|
|
27
27
|
from .tools.object_finder import FoundElement, ObjectFinder
|
|
28
28
|
from .document import HwpxDocument
|
|
29
29
|
from .package import HwpxPackage
|
|
30
|
+
from .authoring import (
|
|
31
|
+
AUTHORING_REPORT_VERSION,
|
|
32
|
+
DEFAULT_STYLE_PRESET,
|
|
33
|
+
DOCUMENT_PLAN_SCHEMA_VERSION,
|
|
34
|
+
DocumentBlock,
|
|
35
|
+
DocumentPlan,
|
|
36
|
+
DocumentStylePreset,
|
|
37
|
+
PlanValidationIssue,
|
|
38
|
+
PlanValidationReport,
|
|
39
|
+
create_document_from_plan,
|
|
40
|
+
inspect_document_authoring_quality,
|
|
41
|
+
inspect_operating_plan_quality,
|
|
42
|
+
normalize_document_plan,
|
|
43
|
+
validate_document_plan,
|
|
44
|
+
)
|
|
45
|
+
from .template_formfit import (
|
|
46
|
+
TEMPLATE_FORMFIT_BASELINE_SCHEMA_VERSION,
|
|
47
|
+
TEMPLATE_FORMFIT_PLAN_SCHEMA_VERSION,
|
|
48
|
+
analyze_template_formfit,
|
|
49
|
+
apply_template_formfit,
|
|
50
|
+
)
|
|
30
51
|
|
|
31
52
|
__all__ = [
|
|
32
53
|
"__version__",
|
|
54
|
+
"AUTHORING_REPORT_VERSION",
|
|
33
55
|
"DEFAULT_NAMESPACES",
|
|
56
|
+
"DEFAULT_STYLE_PRESET",
|
|
57
|
+
"DOCUMENT_PLAN_SCHEMA_VERSION",
|
|
58
|
+
"DocumentBlock",
|
|
59
|
+
"DocumentPlan",
|
|
60
|
+
"DocumentStylePreset",
|
|
34
61
|
"ParagraphInfo",
|
|
62
|
+
"PlanValidationReport",
|
|
35
63
|
"SectionInfo",
|
|
64
|
+
"TEMPLATE_FORMFIT_BASELINE_SCHEMA_VERSION",
|
|
65
|
+
"TEMPLATE_FORMFIT_PLAN_SCHEMA_VERSION",
|
|
36
66
|
"TextExtractor",
|
|
37
67
|
"FoundElement",
|
|
38
68
|
"ObjectFinder",
|
|
69
|
+
"PlanValidationIssue",
|
|
39
70
|
"HwpxDocument",
|
|
40
71
|
"HwpxPackage",
|
|
72
|
+
"create_document_from_plan",
|
|
73
|
+
"analyze_template_formfit",
|
|
74
|
+
"apply_template_formfit",
|
|
75
|
+
"inspect_document_authoring_quality",
|
|
76
|
+
"inspect_operating_plan_quality",
|
|
77
|
+
"normalize_document_plan",
|
|
78
|
+
"validate_document_plan",
|
|
41
79
|
]
|