python-hwpx 6.11.0__tar.gz → 6.12.0__tar.gz
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.
- {python_hwpx-6.11.0/src/python_hwpx.egg-info → python_hwpx-6.12.0}/PKG-INFO +16 -3
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/README.md +7 -2
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/pyproject.toml +17 -1
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/src/hwpx/_document/_legacy.py +2 -2
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/src/hwpx/_document/headings.py +5 -7
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/src/hwpx/_document/layout.py +43 -3
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/src/hwpx/_document/ns/fields.py +1 -1
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/src/hwpx/_document/ns/tables.py +7 -1
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/src/hwpx/_document/ns/text.py +79 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/src/hwpx/_document/persistence.py +20 -0
- python_hwpx-6.12.0/src/hwpx/_document/text_blocks.py +385 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/src/hwpx/body_patch.py +172 -32
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/src/hwpx/capabilities.py +46 -9
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/src/hwpx/data/contract_docs/support-matrix.md +11 -7
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/src/hwpx/document.py +49 -12
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/src/hwpx/equation/authoring.py +2 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/src/hwpx/equation/eqedit.py +5 -1
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/src/hwpx/equation/mathml.py +24 -2
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/src/hwpx/errors.py +20 -3
- python_hwpx-6.12.0/src/hwpx/form_fit/_glyph_table.json.gz +0 -0
- python_hwpx-6.12.0/src/hwpx/form_fit/_glyph_table.py +75 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/src/hwpx/hwp5/package.py +31 -2
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/src/hwpx/hwp5/summary.py +27 -2
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/src/hwpx/ingest/base.py +7 -1
- python_hwpx-6.12.0/src/hwpx/ingest/hwpx_converter.py +290 -0
- python_hwpx-6.11.0/src/hwpx/layout/pages.py → python_hwpx-6.12.0/src/hwpx/layout/_page_measure.py +129 -2411
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/src/hwpx/layout/line_cache.py +33 -2
- python_hwpx-6.12.0/src/hwpx/layout/pages.py +2490 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/src/hwpx/objects/checkbox.py +1 -1
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/src/hwpx/opc/package.py +110 -32
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/src/hwpx/opc/xml_utils.py +19 -1
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/src/hwpx/oxml/_paragraph_text_edit.py +51 -1
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/src/hwpx/oxml/document_parts.py +3 -1
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/src/hwpx/oxml/drop_cap.py +11 -1
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/src/hwpx/oxml/header_part.py +51 -18
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/src/hwpx/oxml/paragraph.py +35 -1
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/src/hwpx/oxml/run.py +13 -1
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/src/hwpx/oxml/section.py +143 -4
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/src/hwpx/oxml/simple_parts.py +23 -1
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/src/hwpx/oxml/table.py +37 -4
- python_hwpx-6.12.0/src/hwpx/oxml/table_merge.py +166 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/src/hwpx/oxml/table_sizes.py +37 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/src/hwpx/oxml/table_structure.py +10 -3
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/src/hwpx/patch.py +77 -9
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/src/hwpx/table_patch.py +66 -73
- python_hwpx-6.12.0/src/hwpx/templates.py +100 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/src/hwpx/tools/archive_cli.py +6 -13
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/src/hwpx/tools/document_viewer.py +2 -2
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/src/hwpx/tools/exporter.py +34 -3
- python_hwpx-6.12.0/src/hwpx/tools/format_rules.py +530 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/src/hwpx/tools/layout_preview.py +60 -5
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/src/hwpx/tools/mail_merge.py +24 -1
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/src/hwpx/tools/markdown_export.py +64 -7
- python_hwpx-6.12.0/src/hwpx/tools/markdown_import.py +473 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/src/hwpx/tools/object_finder.py +3 -2
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/src/hwpx/tools/package_validator.py +12 -2
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/src/hwpx/tools/recover.py +5 -1
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/src/hwpx/tools/repair.py +9 -12
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/src/hwpx/tools/table_navigation.py +53 -36
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/src/hwpx/tools/text_extractor.py +44 -1
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/src/hwpx/tools/toc_fidelity.py +4 -1
- {python_hwpx-6.11.0 → python_hwpx-6.12.0/src/python_hwpx.egg-info}/PKG-INFO +16 -3
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/src/python_hwpx.egg-info/SOURCES.txt +27 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/src/python_hwpx.egg-info/entry_points.txt +1 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/src/python_hwpx.egg-info/requires.txt +8 -0
- python_hwpx-6.12.0/tests/test_append_paragraph_cost.py +61 -0
- python_hwpx-6.12.0/tests/test_body_patch_color_runs.py +197 -0
- python_hwpx-6.12.0/tests/test_body_patch_ops.py +461 -0
- python_hwpx-6.12.0/tests/test_cell_line_spacing.py +177 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/tests/test_coverage_ledger.py +44 -9
- python_hwpx-6.12.0/tests/test_dev_extra_matches_ci.py +41 -0
- python_hwpx-6.12.0/tests/test_distribution_file_sizes.py +89 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/tests/test_document_metadata.py +7 -4
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/tests/test_documentation_code_fences.py +2 -2
- python_hwpx-6.12.0/tests/test_edit_clears_line_cache.py +199 -0
- python_hwpx-6.12.0/tests/test_engine_small_defects_eng36.py +110 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/tests/test_engine_surface_6_0.py +40 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/tests/test_equation_render.py +44 -0
- python_hwpx-6.12.0/tests/test_format_rules.py +233 -0
- python_hwpx-6.12.0/tests/test_glyph_table_data.py +58 -0
- python_hwpx-6.12.0/tests/test_header_lookup_cache.py +91 -0
- python_hwpx-6.12.0/tests/test_hwp5_open_errors.py +110 -0
- python_hwpx-6.12.0/tests/test_hwp5_scripts_limits.py +60 -0
- python_hwpx-6.12.0/tests/test_ingest.py +124 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/tests/test_layout_line_cache.py +31 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/tests/test_layout_page_estimate.py +83 -13
- python_hwpx-6.12.0/tests/test_layout_pages_split.py +64 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/tests/test_line_break_writing.py +83 -0
- python_hwpx-6.12.0/tests/test_markdown_import.py +208 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/tests/test_namespace_hygiene.py +4 -1
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/tests/test_nested_table_structure_edits.py +67 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/tests/test_ns_refs.py +5 -2
- python_hwpx-6.12.0/tests/test_open_damaged_input.py +158 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/tests/test_package_text_and_namespaces.py +96 -0
- python_hwpx-6.12.0/tests/test_preview_and_markdown_untrusted_values.py +171 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/tests/test_product_boundary.py +7 -1
- python_hwpx-6.12.0/tests/test_public_exceptions_inherit_hwpx_error.py +48 -0
- python_hwpx-6.12.0/tests/test_release_checklist_example.py +37 -0
- python_hwpx-6.12.0/tests/test_save_with_comment_nodes.py +122 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/tests/test_shape_open_safety_risk_check.py +49 -0
- python_hwpx-6.12.0/tests/test_table_grid_cache.py +127 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/tests/test_table_structure_edits.py +38 -0
- python_hwpx-6.12.0/tests/test_text_blocks.py +223 -0
- python_hwpx-6.12.0/tests/test_tools_untrusted_xml.py +74 -0
- python_hwpx-6.11.0/src/hwpx/form_fit/_glyph_table.py +0 -12023
- python_hwpx-6.11.0/src/hwpx/ingest/hwpx_converter.py +0 -139
- python_hwpx-6.11.0/src/hwpx/oxml/table_merge.py +0 -82
- python_hwpx-6.11.0/src/hwpx/templates.py +0 -34
- python_hwpx-6.11.0/tests/test_cell_line_spacing.py +0 -90
- python_hwpx-6.11.0/tests/test_ingest.py +0 -65
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/LICENSE +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/NOTICE +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/setup.cfg +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/src/hwpx/__init__.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/src/hwpx/_document/__init__.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/src/hwpx/_document/_resolve.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/src/hwpx/_document/_units.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/src/hwpx/_document/fields.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/src/hwpx/_document/highlight.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/src/hwpx/_document/media.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/src/hwpx/_document/memos.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/src/hwpx/_document/ns/__init__.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/src/hwpx/_document/ns/_base.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/src/hwpx/_document/ns/media.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/src/hwpx/_document/ns/notes.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/src/hwpx/_document/ns/page.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/src/hwpx/_document/ns/parts.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/src/hwpx/_document/ns/refs.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/src/hwpx/_document/ns/shapes.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/src/hwpx/_document/ns/styles.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/src/hwpx/_document/ns/tracking.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/src/hwpx/_document/shapes.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/src/hwpx/_document/tracked.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/src/hwpx/_moved_modules.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/src/hwpx/_trailing_table_text.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/src/hwpx/data/Skeleton.hwpx +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/src/hwpx/data/contract_docs/known-traps.md +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/src/hwpx/data/contract_docs/mutation-semantics.md +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/src/hwpx/data/contract_docs/recipes-traversal.md +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/src/hwpx/equation/__init__.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/src/hwpx/equation/measure.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/src/hwpx/equation/render.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/src/hwpx/equation/tokens.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/src/hwpx/experimental.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/src/hwpx/form_fit/__init__.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/src/hwpx/form_fit/apply.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/src/hwpx/form_fit/engine.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/src/hwpx/form_fit/measure.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/src/hwpx/form_fit/policy.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/src/hwpx/form_fit/report.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/src/hwpx/hwp5/__init__.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/src/hwpx/hwp5/binary.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/src/hwpx/hwp5/bodytext.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/src/hwpx/hwp5/cfb.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/src/hwpx/hwp5/controls.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/src/hwpx/hwp5/docinfo.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/src/hwpx/hwp5/docinfo_writer.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/src/hwpx/hwp5/errors.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/src/hwpx/hwp5/fileheader.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/src/hwpx/hwp5/header_xml.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/src/hwpx/hwp5/owpml.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/src/hwpx/hwp5/reader.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/src/hwpx/hwp5/records.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/src/hwpx/hwp5/section_common.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/src/hwpx/hwp5/section_writer.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/src/hwpx/hwp5/section_xml.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/src/hwpx/hwp5/shape_xml.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/src/hwpx/hwp5/shapes.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/src/hwpx/hwp5/writer.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/src/hwpx/ingest/__init__.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/src/hwpx/layout/__init__.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/src/hwpx/layout/lint.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/src/hwpx/layout/report.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/src/hwpx/model.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/src/hwpx/mutation_report.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/src/hwpx/objects/__init__.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/src/hwpx/objects/binary_item.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/src/hwpx/objects/form_field.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/src/hwpx/objects/highlight.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/src/hwpx/objects/results.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/src/hwpx/objects/tracked.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/src/hwpx/opc/relationships.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/src/hwpx/opc/security.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/src/hwpx/oxml/__init__.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/src/hwpx/oxml/_document_impl.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/src/hwpx/oxml/_document_primitives.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/src/hwpx/oxml/body.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/src/hwpx/oxml/canonical_defaults.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/src/hwpx/oxml/color.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/src/hwpx/oxml/common.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/src/hwpx/oxml/container.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/src/hwpx/oxml/curves.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/src/hwpx/oxml/document.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/src/hwpx/oxml/document_metadata.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/src/hwpx/oxml/dutmal_compose.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/src/hwpx/oxml/field_marks.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/src/hwpx/oxml/header.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/src/hwpx/oxml/header_compat.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/src/hwpx/oxml/header_fonts.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/src/hwpx/oxml/history_part.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/src/hwpx/oxml/hyperlink_form.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/src/hwpx/oxml/master_page.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/src/hwpx/oxml/master_page_authoring.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/src/hwpx/oxml/memo.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/src/hwpx/oxml/namespaces.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/src/hwpx/oxml/note_authoring.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/src/hwpx/oxml/numbering.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/src/hwpx/oxml/numbering_kinds.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/src/hwpx/oxml/objects.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/src/hwpx/oxml/paragraph_heading.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/src/hwpx/oxml/parser.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/src/hwpx/oxml/schema.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/src/hwpx/oxml/section_format.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/src/hwpx/oxml/section_layout.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/src/hwpx/oxml/section_story.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/src/hwpx/oxml/settings.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/src/hwpx/oxml/shape_position.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/src/hwpx/oxml/utils.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/src/hwpx/oxml/version_part.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/src/hwpx/package.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/src/hwpx/plan/__init__.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/src/hwpx/plan/_execute.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/src/hwpx/plan/_model.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/src/hwpx/plan/_schema.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/src/hwpx/plan/_validate.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/src/hwpx/py.typed +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/src/hwpx/quality/__init__.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/src/hwpx/quality/ledger.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/src/hwpx/quality/policy.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/src/hwpx/quality/rendering.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/src/hwpx/quality/report.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/src/hwpx/quality/save_pipeline.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/src/hwpx/tools/__init__.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/src/hwpx/tools/_schemas/header.xsd +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/src/hwpx/tools/_schemas/owpml-body.xsd +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/src/hwpx/tools/_schemas/owpml-core.xsd +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/src/hwpx/tools/_schemas/owpml-header.xsd +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/src/hwpx/tools/_schemas/owpml-paralist.xsd +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/src/hwpx/tools/_schemas/owpml-xml.xsd +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/src/hwpx/tools/_schemas/section.xsd +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/src/hwpx/tools/doc_diff.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/src/hwpx/tools/document_merge.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/src/hwpx/tools/generic_inventory.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/src/hwpx/tools/id_integrity.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/src/hwpx/tools/idempotence.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/src/hwpx/tools/ir_equality.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/src/hwpx/tools/package_reconcile.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/src/hwpx/tools/page_guard.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/src/hwpx/tools/read_fidelity.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/src/hwpx/tools/redline.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/src/hwpx/tools/report_utils.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/src/hwpx/tools/roundtrip_diff.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/src/hwpx/tools/table_cleanup.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/src/hwpx/tools/template_analyzer.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/src/hwpx/tools/text_extract_cli.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/src/hwpx/tools/toc_author.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/src/hwpx/tools/validator.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/src/python_hwpx.egg-info/dependency_links.txt +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/src/python_hwpx.egg-info/top_level.txt +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/tests/test_add_control.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/tests/test_add_heading.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/tests/test_adoption_metrics_snapshot.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/tests/test_arc_authoring.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/tests/test_authoring_defaults.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/tests/test_authoring_quality_corpus.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/tests/test_blind_eval_fixture.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/tests/test_body_patch.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/tests/test_border_fill_image_gradient.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/tests/test_border_line_types.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/tests/test_build_element_census.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/tests/test_byte_patch_identity.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/tests/test_capabilities_surface.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/tests/test_cell_border_neighbors.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/tests/test_cell_edit_holder_cache.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/tests/test_cell_fields.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/tests/test_cell_margins.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/tests/test_cell_text_rewrite_semantics.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/tests/test_char_pr_child_order.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/tests/test_character_width_ratio.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/tests/test_chart_authoring.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/tests/test_check_box_authoring.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/tests/test_color_arguments.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/tests/test_column_break.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/tests/test_column_widths_as_shares.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/tests/test_comment_node_robustness.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/tests/test_container_authoring.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/tests/test_container_members.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/tests/test_contract_docs_sync.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/tests/test_corpus_read_fidelity.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/tests/test_coverage_promotion.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/tests/test_coverage_targets.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/tests/test_curve_connector_authoring.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/tests/test_deviations_registry.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/tests/test_doc_diff.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/tests/test_document_context_manager.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/tests/test_document_facade_surface.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/tests/test_document_formatting.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/tests/test_document_merge.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/tests/test_document_ops_runtime_boundary.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/tests/test_document_save_api.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/tests/test_document_viewer.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/tests/test_drop_cap_authoring.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/tests/test_dutmal_compose_authoring.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/tests/test_edit_fidelity_corpus.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/tests/test_edit_plan.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/tests/test_editor_surface_inventory.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/tests/test_ensure_run_font_by_lang.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/tests/test_equalize_widths_per_row.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/tests/test_equation_authoring.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/tests/test_equation_converter.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/tests/test_equation_font_boundaries.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/tests/test_equation_measure_hancom_saved.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/tests/test_equation_size.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/tests/test_equation_width_hancom_boxes.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/tests/test_error_contract.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/tests/test_error_messages.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/tests/test_evalplan_core_primitives.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/tests/test_existing_document_format_editing.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/tests/test_export_captions_dutmal.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/tests/test_export_cell_text_spaces.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/tests/test_export_list_labels.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/tests/test_export_notes.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/tests/test_export_text_boxes.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/tests/test_exporter_table_text.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/tests/test_field_marks.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/tests/test_field_readers.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/tests/test_field_type_ids.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/tests/test_fill_image_hancom_modes.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/tests/test_form_field_authoring.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/tests/test_form_field_fill_cost.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/tests/test_form_fields.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/tests/test_form_fill_core_primitives.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/tests/test_form_fit.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/tests/test_form_fit_hancom_rules.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/tests/test_form_fit_integration.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/tests/test_fuzz_catalog_derive_expected.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/tests/test_fuzz_loop.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/tests/test_fuzz_regressions.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/tests/test_gap_and_new_number_values.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/tests/test_gap_closure_tools.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/tests/test_golden_api.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/tests/test_header_compat_authoring.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/tests/test_header_control_before_field.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/tests/test_header_list_lookups.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/tests/test_heading_style_shapes.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/tests/test_highlight_authoring.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/tests/test_hp_tab_support.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/tests/test_hwp5_container.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/tests/test_hwp5_hancom_files.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/tests/test_hwp5_open.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/tests/test_hwp5_save.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/tests/test_hwpxlib_corpus_read.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/tests/test_hyperlink_hancom_form.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/tests/test_id_generator_range.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/tests/test_id_integrity.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/tests/test_image_object_workflow.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/tests/test_index_mark.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/tests/test_inline_models.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/tests/test_insert_column_by_clone.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/tests/test_insert_row_merged_cells.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/tests/test_insert_row_sides.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/tests/test_instid_attribute_case.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/tests/test_integration_hwpx_compatibility.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/tests/test_integration_roundtrip.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/tests/test_internal_calls_skip_moved_names.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/tests/test_known_leak_migration_contract.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/tests/test_layer_leak_guard.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/tests/test_layout_cache_scope.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/tests/test_layout_lint.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/tests/test_layout_preview.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/tests/test_lazy_hwp5_import.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/tests/test_lazy_tools_import.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/tests/test_lazy_tools_submodules.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/tests/test_library_boundary_closure.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/tests/test_line_width_arguments.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/tests/test_list_continue.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/tests/test_list_defaults_vs_hancom.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/tests/test_list_level_range.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/tests/test_llms_txt.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/tests/test_mail_merge_xlsx.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/tests/test_manifest_resolve_once.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/tests/test_markdown_export.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/tests/test_markdown_export_shape_text.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/tests/test_master_page_authoring.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/tests/test_master_page_pages_taken.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/tests/test_memo_and_style_editing.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/tests/test_memo_fields.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/tests/test_memo_shape_authoring.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/tests/test_merge_cells_hancom_files.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/tests/test_merge_cells_keeps_contents.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/tests/test_migration_seams.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/tests/test_moved_module_imports.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/tests/test_moved_surface_hints.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/tests/test_mutation_report.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/tests/test_namespace_handling.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/tests/test_namespace_normalization.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/tests/test_native_edit_contract.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/tests/test_nested_cell_fill_safety.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/tests/test_new_features.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/tests/test_note_authoring_contract.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/tests/test_ns_fields.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/tests/test_ns_media.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/tests/test_ns_notes.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/tests/test_ns_page.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/tests/test_ns_shapes.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/tests/test_ns_tables.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/tests/test_ns_tracking.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/tests/test_number_formats.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/tests/test_opc_package.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/tests/test_open_safety_corpus.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/tests/test_outline_numbering.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/tests/test_oxml_modularization.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/tests/test_oxml_parsing.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/tests/test_package_hygiene.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/tests/test_packaging_license_metadata.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/tests/test_packaging_py_typed.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/tests/test_page_and_list_values.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/tests/test_page_number_control.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/tests/test_page_number_format.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/tests/test_page_orientation.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/tests/test_para_pr_dedup.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/tests/test_paragraph_align_distribute_space.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/tests/test_paragraph_border.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/tests/test_paragraph_format_targets.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/tests/test_paragraph_hyperlink_style.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/tests/test_paragraph_keep_together.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/tests/test_paragraph_margin_default_scale.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/tests/test_paragraph_matcher.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/tests/test_paragraph_property_lookup.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/tests/test_paragraph_property_version_switch.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/tests/test_paragraph_remove_in_containers.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/tests/test_paragraph_section_management.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/tests/test_part_hierarchy_read_models.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/tests/test_picture_adjustments.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/tests/test_polygon_authoring.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/tests/test_public_artifact_hygiene.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/tests/test_public_runtime_boundary.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/tests/test_read_fidelity.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/tests/test_recover_broken_zip.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/tests/test_redline_authoring.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/tests/test_redline_verify.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/tests/test_release_workflow_safety.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/tests/test_remove_unused_charts.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/tests/test_remove_unused_images.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/tests/test_repair_repack.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/tests/test_replace_text_barriers.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/tests/test_report_utils.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/tests/test_repr_snapshots.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/tests/test_return_contract.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/tests/test_roundtrip_fidelity.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/tests/test_roundtrip_fidelity_corpus.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/tests/test_row_heights.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/tests/test_run_choice_atom_authoring.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/tests/test_run_content_kinds.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/tests/test_run_font_refs.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/tests/test_run_style_base.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/tests/test_safe_edit_example.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/tests/test_save_keeps_inline_text_caches.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/tests/test_save_pipeline.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/tests/test_save_verifies_once.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/tests/test_section_clear_body.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/tests/test_section_columns.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/tests/test_section_headers.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/tests/test_section_ids_order.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/tests/test_section_properties_real_roundtrip.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/tests/test_set_column_widths_uniform_split.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/tests/test_set_paragraph_format_keep.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/tests/test_shape_geometry_contract.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/tests/test_shape_original_size.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/tests/test_shape_position_frames.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/tests/test_shape_size_values.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/tests/test_size_ratchet.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/tests/test_skeleton_template_ids.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/tests/test_split_cell.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/tests/test_split_merged_cell.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/tests/test_stable_surface.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/tests/test_stale_layout_cache_sweep.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/tests/test_story_edits_reach_control_copy.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/tests/test_style_font_border_reads.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/tests/test_style_resolution.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/tests/test_styles_definition_verbs.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/tests/test_tab_character_writing.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/tests/test_tab_definition_version_switch.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/tests/test_table_cell_equalize.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/tests/test_table_cleanup.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/tests/test_table_clone_identities.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/tests/test_table_column_floor.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/tests/test_table_label.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/tests/test_table_navigation.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/tests/test_table_ops_cells_without_geometry.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/tests/test_table_ops_delete_every_line.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/tests/test_table_ops_delete_zones.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/tests/test_table_page_flow.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/tests/test_table_patch.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/tests/test_table_patch_dryrun.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/tests/test_table_patch_m105.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/tests/test_table_patch_structure_fixes.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/tests/test_table_split_merge.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/tests/test_tables_default_border.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/tests/test_template_analyzer_enrichment.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/tests/test_text_box_fields.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/tests/test_text_extractor_annotations.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/tests/test_text_extractor_nested_once.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/tests/test_text_extractor_run_choice_atoms.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/tests/test_text_inline_elements.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/tests/test_text_replace_everywhere.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/tests/test_title_mark.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/tests/test_toc_author.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/tests/test_toc_fidelity.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/tests/test_tracked_overlap_render_smoke.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/tests/test_tracked_paragraph_delete_break.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/tests/test_trailing_table_text.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/tests/test_validation_severity.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/tests/test_validator_comment_nodes.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/tests/test_validator_form_parameters.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/tests/test_validator_full_schema.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/tests/test_validator_hancom_open_rules.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/tests/test_validator_section_ids.py +0 -0
- {python_hwpx-6.11.0 → python_hwpx-6.12.0}/tests/test_version_metadata.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: python-hwpx
|
|
3
|
-
Version: 6.
|
|
3
|
+
Version: 6.12.0
|
|
4
4
|
Summary: 한글 없이 HWPX 문서를 열고, 편집하고, 생성하고, 검증하는 Python 문서 라이브러리
|
|
5
5
|
Author: python-hwpx Maintainers
|
|
6
6
|
License-Expression: Apache-2.0
|
|
@@ -32,8 +32,16 @@ Requires-Dist: latex2mathml>=3.77; extra == "preview"
|
|
|
32
32
|
Provides-Extra: dev
|
|
33
33
|
Requires-Dist: build>=1.0; extra == "dev"
|
|
34
34
|
Requires-Dist: twine>=4.0; extra == "dev"
|
|
35
|
+
Requires-Dist: numpy>=1.26; extra == "dev"
|
|
36
|
+
Requires-Dist: openpyxl>=3.1; extra == "dev"
|
|
37
|
+
Requires-Dist: pillow>=10.0; extra == "dev"
|
|
35
38
|
Requires-Dist: pytest>=7.4; extra == "dev"
|
|
39
|
+
Requires-Dist: pytest-cov>=5.0; extra == "dev"
|
|
40
|
+
Requires-Dist: pyyaml<7,>=6.0; extra == "dev"
|
|
41
|
+
Requires-Dist: ruff>=0.12; extra == "dev"
|
|
36
42
|
Requires-Dist: latex2mathml>=3.77; extra == "dev"
|
|
43
|
+
Requires-Dist: mypy>=1.10; extra == "dev"
|
|
44
|
+
Requires-Dist: pyright>=1.1.390; extra == "dev"
|
|
37
45
|
Provides-Extra: test
|
|
38
46
|
Requires-Dist: build>=1.0; extra == "test"
|
|
39
47
|
Requires-Dist: numpy>=1.26; extra == "test"
|
|
@@ -102,7 +110,10 @@ doc.save_to_path("계획.hwpx")
|
|
|
102
110
|
|
|
103
111
|
## 할 수 있는 것
|
|
104
112
|
|
|
105
|
-
- 읽기·추출: 텍스트·HTML·Markdown으로 내보냅니다.
|
|
113
|
+
- 읽기·추출: 텍스트·HTML·Markdown으로 내보냅니다. 서식과 표 안의 표를 살립니다. 각주·미주는 `notes=True`를 주거나
|
|
114
|
+
`markdown(rich=True)`·`TextExtractor`를 쓸 때 나오고, 머리말·꼬리말·메모는 `TextExtractor`에서만 나옵니다.
|
|
115
|
+
수식·글자 겹침·양식 개체 캡션은 아직 어느 경로에서도 나오지 않습니다. Markdown 변환(`hwpx.ingest`)은 빠진
|
|
116
|
+
종류와 개수를 `warnings`와 `lossiness`로 알립니다.
|
|
106
117
|
- 편집: 문단·표·그림·머리말/꼬리말·메모·각주, 줄 간격·여백·쪽 번호 같은 서식을 고칩니다.
|
|
107
118
|
- 양식 채우기: 라벨로 칸을 찾아 값만 넣고 손대지 않은 부분은 바이트 그대로 둡니다. FormFit은 값이
|
|
108
119
|
칸에 들어가도록 줄을 바꾸거나 글자를 줄일지 한/글의 글자 폭으로 재서 고릅니다.
|
|
@@ -113,7 +124,9 @@ doc.save_to_path("계획.hwpx")
|
|
|
113
124
|
- 배치 추정(실험): `estimate_pages`는 한/글 없이 쪽 수와 줄마다의 쪽·세로 위치를 추정합니다.
|
|
114
125
|
`write_line_caches`는 한/글이 저장할 때 쓰는 줄 배치 정보를, 한/글과 같은 값을 확실히 아는 문단에만 씁니다.
|
|
115
126
|
rhwp처럼 이 정보로 그림 자리를 찾는 뷰어에서도 그림이 보이게 됩니다. 기본으로는 쓰지 않습니다.
|
|
116
|
-
- 검증·안전: 패키지 구조 검사 CLI, 저장 전 열림 검사, 저장 결과 보고(`return_report=True`).
|
|
127
|
+
- 검증·안전: 패키지 구조 검사 CLI, 저장 전 열림 검사, 저장 결과 보고(`return_report=True`). 기본 저장은 없는 글자 모양·
|
|
128
|
+
문단 모양을 가리키는 참조까지는 확인하지 않습니다. 그 검사는 `save_report(quality=QualityPolicy.strict())`가 합니다
|
|
129
|
+
([검사 범위](docs/usage.md#변경-사항-저장과-결과물-확인)).
|
|
117
130
|
|
|
118
131
|
자세한 내용: [5분 퀵스타트](docs/quickstart.md) · [사용 가이드](docs/usage.md) · [API 레퍼런스](https://airmang.github.io/python-hwpx/) · [예제](docs/examples.md) · [지원 매트릭스](docs/support-matrix.md)
|
|
119
132
|
|
|
@@ -51,7 +51,10 @@ doc.save_to_path("계획.hwpx")
|
|
|
51
51
|
|
|
52
52
|
## 할 수 있는 것
|
|
53
53
|
|
|
54
|
-
- 읽기·추출: 텍스트·HTML·Markdown으로 내보냅니다.
|
|
54
|
+
- 읽기·추출: 텍스트·HTML·Markdown으로 내보냅니다. 서식과 표 안의 표를 살립니다. 각주·미주는 `notes=True`를 주거나
|
|
55
|
+
`markdown(rich=True)`·`TextExtractor`를 쓸 때 나오고, 머리말·꼬리말·메모는 `TextExtractor`에서만 나옵니다.
|
|
56
|
+
수식·글자 겹침·양식 개체 캡션은 아직 어느 경로에서도 나오지 않습니다. Markdown 변환(`hwpx.ingest`)은 빠진
|
|
57
|
+
종류와 개수를 `warnings`와 `lossiness`로 알립니다.
|
|
55
58
|
- 편집: 문단·표·그림·머리말/꼬리말·메모·각주, 줄 간격·여백·쪽 번호 같은 서식을 고칩니다.
|
|
56
59
|
- 양식 채우기: 라벨로 칸을 찾아 값만 넣고 손대지 않은 부분은 바이트 그대로 둡니다. FormFit은 값이
|
|
57
60
|
칸에 들어가도록 줄을 바꾸거나 글자를 줄일지 한/글의 글자 폭으로 재서 고릅니다.
|
|
@@ -62,7 +65,9 @@ doc.save_to_path("계획.hwpx")
|
|
|
62
65
|
- 배치 추정(실험): `estimate_pages`는 한/글 없이 쪽 수와 줄마다의 쪽·세로 위치를 추정합니다.
|
|
63
66
|
`write_line_caches`는 한/글이 저장할 때 쓰는 줄 배치 정보를, 한/글과 같은 값을 확실히 아는 문단에만 씁니다.
|
|
64
67
|
rhwp처럼 이 정보로 그림 자리를 찾는 뷰어에서도 그림이 보이게 됩니다. 기본으로는 쓰지 않습니다.
|
|
65
|
-
- 검증·안전: 패키지 구조 검사 CLI, 저장 전 열림 검사, 저장 결과 보고(`return_report=True`).
|
|
68
|
+
- 검증·안전: 패키지 구조 검사 CLI, 저장 전 열림 검사, 저장 결과 보고(`return_report=True`). 기본 저장은 없는 글자 모양·
|
|
69
|
+
문단 모양을 가리키는 참조까지는 확인하지 않습니다. 그 검사는 `save_report(quality=QualityPolicy.strict())`가 합니다
|
|
70
|
+
([검사 범위](docs/usage.md#변경-사항-저장과-결과물-확인)).
|
|
66
71
|
|
|
67
72
|
자세한 내용: [5분 퀵스타트](docs/quickstart.md) · [사용 가이드](docs/usage.md) · [API 레퍼런스](https://airmang.github.io/python-hwpx/) · [예제](docs/examples.md) · [지원 매트릭스](docs/support-matrix.md)
|
|
68
73
|
|
|
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "python-hwpx"
|
|
7
|
-
version = "6.
|
|
7
|
+
version = "6.12.0"
|
|
8
8
|
description = "한글 없이 HWPX 문서를 열고, 편집하고, 생성하고, 검증하는 Python 문서 라이브러리"
|
|
9
9
|
readme = { file = "README.md", content-type = "text/markdown" }
|
|
10
10
|
license = "Apache-2.0"
|
|
@@ -45,11 +45,23 @@ xlsx = [
|
|
|
45
45
|
preview = [
|
|
46
46
|
"latex2mathml>=3.77",
|
|
47
47
|
]
|
|
48
|
+
# Everything a contributor needs to run the gates in CONTRIBUTING.md: the CI
|
|
49
|
+
# extras (`test` + `typecheck`, what .github/workflows/tests.yml installs) plus
|
|
50
|
+
# twine for checking a built distribution. tests/test_dev_extra_matches_ci.py
|
|
51
|
+
# keeps this a superset of those two.
|
|
48
52
|
dev = [
|
|
49
53
|
"build>=1.0",
|
|
50
54
|
"twine>=4.0",
|
|
55
|
+
"numpy>=1.26",
|
|
56
|
+
"openpyxl>=3.1",
|
|
57
|
+
"pillow>=10.0",
|
|
51
58
|
"pytest>=7.4",
|
|
59
|
+
"pytest-cov>=5.0",
|
|
60
|
+
"pyyaml>=6.0,<7",
|
|
61
|
+
"ruff>=0.12",
|
|
52
62
|
"latex2mathml>=3.77",
|
|
63
|
+
"mypy>=1.10",
|
|
64
|
+
"pyright>=1.1.390",
|
|
53
65
|
]
|
|
54
66
|
test = [
|
|
55
67
|
"build>=1.0",
|
|
@@ -86,6 +98,7 @@ hwpx-page-guard = "hwpx.tools.page_guard:main"
|
|
|
86
98
|
hwpx-analyze-template = "hwpx.tools.template_analyzer:main"
|
|
87
99
|
hwpx-text-extract = "hwpx.tools.text_extract_cli:main"
|
|
88
100
|
hwpx-repair = "hwpx.tools.repair:main"
|
|
101
|
+
hwpx-check-format = "hwpx.tools.format_rules:main"
|
|
89
102
|
|
|
90
103
|
[tool.setuptools]
|
|
91
104
|
package-dir = { "" = "src" }
|
|
@@ -134,6 +147,9 @@ packages = [
|
|
|
134
147
|
# worse than a longer list. Adding a package here is a deliberate act.
|
|
135
148
|
[tool.setuptools.package-data]
|
|
136
149
|
"hwpx" = ["py.typed"]
|
|
150
|
+
# FormFit's glyph tables: data, not source, so that no shipped file passes 256 KiB (see
|
|
151
|
+
# scripts/build_glyph_table.py and tests/test_distribution_file_sizes.py).
|
|
152
|
+
"hwpx.form_fit" = ["_glyph_table.json.gz"]
|
|
137
153
|
"hwpx.tools" = ["_schemas/*.xsd"]
|
|
138
154
|
"hwpx.data" = ["Skeleton.hwpx", "contract_docs/*.md"]
|
|
139
155
|
|
|
@@ -1361,7 +1361,7 @@ class _LegacyFacade:
|
|
|
1361
1361
|
break
|
|
1362
1362
|
return replacements
|
|
1363
1363
|
|
|
1364
|
-
@_moved("doc.fields.
|
|
1364
|
+
@_moved("doc.fields.set_check_box")
|
|
1365
1365
|
def set_check_box(
|
|
1366
1366
|
self,
|
|
1367
1367
|
checked: bool,
|
|
@@ -1721,7 +1721,7 @@ class _LegacyFacade:
|
|
|
1721
1721
|
border_width=border_width,
|
|
1722
1722
|
)
|
|
1723
1723
|
|
|
1724
|
-
@_moved("doc.styles.
|
|
1724
|
+
@_moved("doc.styles.get")
|
|
1725
1725
|
def style(self, style_id_ref: int | str | None) -> Style | None:
|
|
1726
1726
|
"""Return the style definition referenced by *style_id_ref*."""
|
|
1727
1727
|
|
|
@@ -170,13 +170,11 @@ def bind_outline_level(
|
|
|
170
170
|
from . import layout as _layout
|
|
171
171
|
|
|
172
172
|
_check_level(level)
|
|
173
|
-
target
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
)
|
|
179
|
-
return
|
|
173
|
+
# The paragraph itself is the target: looking its index up in the list of every body paragraph,
|
|
174
|
+
# and resolving that index back, made a run of headings quadratic.
|
|
175
|
+
if _layout._body_indexes(document, [paragraph])[0] is not None:
|
|
176
|
+
_layout.set_paragraph_format(document, paragraphs=[paragraph], outline_level=level)
|
|
177
|
+
return
|
|
180
178
|
# 방금 만든 문단이라 항상 찾힌다. 못 찾으면 조용히 넘어가는 대신 말한다 —
|
|
181
179
|
# 개요 수준이 빠진 문단은 "번호가 안 붙는 제목"이라 무음 실패가 가장 나쁘다.
|
|
182
180
|
raise HwpxLookupError( # pragma: no cover - 방어
|
|
@@ -232,6 +232,48 @@ def _resolve_paragraph_objects(
|
|
|
232
232
|
return resolved
|
|
233
233
|
|
|
234
234
|
|
|
235
|
+
def _body_indexes(
|
|
236
|
+
doc: "HwpxDocument", objects: Sequence[HwpxOxmlParagraph]
|
|
237
|
+
) -> list[int | None]:
|
|
238
|
+
"""Where each paragraph object sits in ``doc.paragraphs``; ``None`` for one outside the body.
|
|
239
|
+
|
|
240
|
+
A few objects are placed by counting the paragraphs before them in their section, which reads
|
|
241
|
+
no other paragraph; wrapping every body paragraph to place one made a run of single-paragraph
|
|
242
|
+
calls (a heading per call) quadratic. Many objects, or plain ElementTree elements, go through
|
|
243
|
+
the list of body paragraphs once.
|
|
244
|
+
"""
|
|
245
|
+
|
|
246
|
+
elements: list[Any] = [paragraph.element for paragraph in objects]
|
|
247
|
+
if len(elements) > 8 or not all(hasattr(element, "itersiblings") for element in elements):
|
|
248
|
+
body_index = {paragraph.element: index for index, paragraph in enumerate(doc.paragraphs)}
|
|
249
|
+
return [body_index.get(element) for element in elements]
|
|
250
|
+
|
|
251
|
+
section_roots: list[Any] = [section.element for section in doc.sections]
|
|
252
|
+
starts: list[int] = [] # body index of each section's first paragraph, filled as far as needed
|
|
253
|
+
|
|
254
|
+
def start_of(section_position: int) -> int:
|
|
255
|
+
while len(starts) <= section_position:
|
|
256
|
+
previous = len(starts) - 1
|
|
257
|
+
starts.append(
|
|
258
|
+
0 if previous < 0
|
|
259
|
+
else starts[previous] + sum(1 for _ in section_roots[previous].iterchildren("{*}p"))
|
|
260
|
+
)
|
|
261
|
+
return starts[section_position]
|
|
262
|
+
|
|
263
|
+
indexes: list[int | None] = []
|
|
264
|
+
for element in elements:
|
|
265
|
+
parent = element.getparent()
|
|
266
|
+
position = next(
|
|
267
|
+
(index for index, root in enumerate(section_roots) if root is parent), None
|
|
268
|
+
)
|
|
269
|
+
if position is None or not isinstance(element.tag, str) or element.tag.rsplit("}", 1)[-1] != "p":
|
|
270
|
+
indexes.append(None)
|
|
271
|
+
continue
|
|
272
|
+
before = sum(1 for _ in element.itersiblings("{*}p", preceding=True))
|
|
273
|
+
indexes.append(start_of(position) + before)
|
|
274
|
+
return indexes
|
|
275
|
+
|
|
276
|
+
|
|
235
277
|
def set_paragraph_format(
|
|
236
278
|
doc: "HwpxDocument",
|
|
237
279
|
*,
|
|
@@ -376,9 +418,7 @@ def set_paragraph_format(
|
|
|
376
418
|
suggestion="Pass only one.",
|
|
377
419
|
)
|
|
378
420
|
objects = _resolve_paragraph_objects(doc, paragraphs)
|
|
379
|
-
|
|
380
|
-
body_index = {paragraph.element: index for index, paragraph in enumerate(body)}
|
|
381
|
-
targets = [(body_index.get(paragraph.element), paragraph) for paragraph in objects]
|
|
421
|
+
targets = list(zip(_body_indexes(doc, objects), objects))
|
|
382
422
|
else:
|
|
383
423
|
targets = list(_resolve_paragraph_targets(doc,
|
|
384
424
|
paragraph_index=paragraph_index,
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
id 별칭은 `field_id` 하나로, 위치 5키는 `location` 하나로 접혔다.
|
|
16
16
|
|
|
17
17
|
`CheckBox.checked` 가 쓰기 가능한 속성이므로 `set_check_box` 는 사실상
|
|
18
|
-
`doc.fields.
|
|
18
|
+
`doc.fields.check_boxes[i].checked = False` 로 대체된다. 5.x 이름은 shim 으로
|
|
19
19
|
살아 있고, 이 네임스페이스에도 같은 이름을 남겨 이주 중 양쪽이 겹치게 했다.
|
|
20
20
|
"""
|
|
21
21
|
|
|
@@ -35,7 +35,13 @@ class TablesNamespace(_Namespace):
|
|
|
35
35
|
|
|
36
36
|
@property
|
|
37
37
|
def all(self) -> list["Table"]:
|
|
38
|
-
"""
|
|
38
|
+
"""본문 문단에 바로 놓인 표를 문서 순서로.
|
|
39
|
+
|
|
40
|
+
표 칸 안의 표, 머리말·꼬리말·각주·미주·글상자 안의 표는 들어 있지 않다.
|
|
41
|
+
칸 안의 표는 그 칸에서(``cell.tables``), 글까지 모두
|
|
42
|
+
훑으려면 ``doc.text.blocks()``를 쓴다. ``len(doc.tables)``와
|
|
43
|
+
``for table in doc.tables``도 같은 범위다.
|
|
44
|
+
"""
|
|
39
45
|
|
|
40
46
|
tables: list["Table"] = []
|
|
41
47
|
for paragraph in self._doc.paragraphs:
|
|
@@ -20,7 +20,9 @@ from ._base import _Namespace
|
|
|
20
20
|
|
|
21
21
|
if TYPE_CHECKING:
|
|
22
22
|
from ...objects.highlight import Highlight
|
|
23
|
+
from ...tools.markdown_import import MarkdownStyle
|
|
23
24
|
from ...oxml import HwpxOxmlParagraph, HwpxOxmlRun
|
|
25
|
+
from ..text_blocks import TextBlock, TextChangeReport, TextOutline
|
|
24
26
|
|
|
25
27
|
__all__ = ["TextNamespace"]
|
|
26
28
|
|
|
@@ -122,6 +124,22 @@ class TextNamespace(_Namespace):
|
|
|
122
124
|
|
|
123
125
|
return _persistence.export_html(self._doc, **kwargs)
|
|
124
126
|
|
|
127
|
+
# -- 가져오기 ----------------------------------------------------------
|
|
128
|
+
|
|
129
|
+
def append_markdown(self, markdown: str, *, style: "MarkdownStyle | None" = None) -> None:
|
|
130
|
+
"""*markdown* 을 마지막 구역 끝에 문단·목록·표로 덧붙인다.
|
|
131
|
+
|
|
132
|
+
``hwpx.tools.markdown_import.from_markdown`` 과 같은 부분 집합(제목 ``#``~``####``,
|
|
133
|
+
문단, ``-``/``1.`` 목록, ``|`` 표, ``**굵게**``/``*기울임*``)을 쓴다.
|
|
134
|
+
새 문단은 앞 문단의 서식을 물려받지 않는다. 모르는 Markdown 은 평문으로
|
|
135
|
+
쓰고 오류를 내지 않는다. *style* 은
|
|
136
|
+
:class:`hwpx.tools.markdown_import.MarkdownStyle`.
|
|
137
|
+
"""
|
|
138
|
+
|
|
139
|
+
from ...tools.markdown_import import append_markdown
|
|
140
|
+
|
|
141
|
+
append_markdown(self._doc, markdown, style=style)
|
|
142
|
+
|
|
125
143
|
# -- 순회·검색 ---------------------------------------------------------
|
|
126
144
|
|
|
127
145
|
def runs(self) -> Iterator["HwpxOxmlRun"]:
|
|
@@ -154,6 +172,67 @@ class TextNamespace(_Namespace):
|
|
|
154
172
|
)
|
|
155
173
|
]
|
|
156
174
|
|
|
175
|
+
# -- id 붙은 글 덩어리 ---------------------------------------------------
|
|
176
|
+
|
|
177
|
+
def blocks(self) -> Iterator["TextBlock"]:
|
|
178
|
+
"""본문 문단과 표 칸 문단(칸 안 표 포함)을 문서 순서대로, 안정적인 id와 함께 내놓는다.
|
|
179
|
+
|
|
180
|
+
id는 위치로 정해진다: ``s0p16`` (0번 구역의 16번 본문 문단, 번호는 0부터), ``s0p16t0r3c0q0`` (그 문단의 0번 표,
|
|
181
|
+
3행 0열 칸의 0번 문단), 칸 안 표는 ``…q0t0r1c1q0`` 처럼 이어진다. 행·열은 칸의 주소라
|
|
182
|
+
병합 칸은 대표 칸에서 한 번만 나온다. 저장·재열기 뒤에도 같고, 앞쪽에 문단·표·칸을
|
|
183
|
+
넣거나 지울 때만 바뀐다. 머리말·꼬리말·각주·메모·글상자는 포함하지 않는다.
|
|
184
|
+
"""
|
|
185
|
+
|
|
186
|
+
from ..text_blocks import iter_text_blocks
|
|
187
|
+
|
|
188
|
+
return iter_text_blocks(self._doc)
|
|
189
|
+
|
|
190
|
+
def outline(
|
|
191
|
+
self,
|
|
192
|
+
*,
|
|
193
|
+
max_chars: int = 8000,
|
|
194
|
+
max_items: int | None = None,
|
|
195
|
+
max_block_chars: int = 200,
|
|
196
|
+
after: str | None = None,
|
|
197
|
+
) -> "TextOutline":
|
|
198
|
+
"""글자가 있는 덩어리를 ``{"id", "where", "text"}`` 목록으로, 글자 예산 안에서 돌려준다.
|
|
199
|
+
|
|
200
|
+
빈 문단은 빼고, 탭·줄 바꿈은 공백으로, 제어 문자는 지운다. *max_block_chars* 보다 긴
|
|
201
|
+
덩어리는 앞부분만 남기고 ``…`` 로 끝낸다(``"truncated": True``). *max_chars* 는 각 항목의
|
|
202
|
+
id·위치·글자를 센다. 예산이나 *max_items* 가 다하면 항목 단위로 멈추고 ``complete`` 가
|
|
203
|
+
``False``, ``next_after`` 가 마지막 id다 — 다음 쪽은 ``after=next_after`` 로 읽는다. 한 쪽에는 예산보다 큰 항목이라도 적어도 하나가 들어간다.
|
|
204
|
+
``to_text()`` 는 한 줄에 한 항목인 가장 짧은 프롬프트 형태다.
|
|
205
|
+
"""
|
|
206
|
+
|
|
207
|
+
from ..text_blocks import outline
|
|
208
|
+
|
|
209
|
+
return outline(
|
|
210
|
+
self._doc,
|
|
211
|
+
max_chars=max_chars,
|
|
212
|
+
max_items=max_items,
|
|
213
|
+
max_block_chars=max_block_chars,
|
|
214
|
+
after=after,
|
|
215
|
+
)
|
|
216
|
+
|
|
217
|
+
def apply_changes(
|
|
218
|
+
self,
|
|
219
|
+
changes: "dict[str, str]",
|
|
220
|
+
*,
|
|
221
|
+
check_overflow: bool = True,
|
|
222
|
+
) -> "TextChangeReport":
|
|
223
|
+
"""``{id: 새 글}`` 을 한 번에 적용하고 id마다 결과를 보고한다.
|
|
224
|
+
|
|
225
|
+
모든 id를 먼저 찾은 뒤 쓴다. 없는 id는 ``unknown_ids`` 로 보고하고 나머지는 적용한다.
|
|
226
|
+
한 런 안에서 끝나는 바꿈은 런과 컨트롤을 모두 지키고, 서식이 다른 런에 걸치거나 탭·줄
|
|
227
|
+
바꿈을 넣는 바꿈은 문단 첫 런의 서식으로 쓴다(``rewritten``). *check_overflow* 면 바뀐 칸을
|
|
228
|
+
전후로 재어, 칸이 품는 줄보다 많이(그리고 전보다 많이) 필요할 것으로 추정되는 칸을
|
|
229
|
+
``overflow`` 에 넣는다 — 렌더가 아니라 form-fit 측정기의 추정이다.
|
|
230
|
+
"""
|
|
231
|
+
|
|
232
|
+
from ..text_blocks import apply_text_changes
|
|
233
|
+
|
|
234
|
+
return apply_text_changes(self._doc, changes, check_overflow=check_overflow)
|
|
235
|
+
|
|
157
236
|
# -- 치환 --------------------------------------------------------------
|
|
158
237
|
|
|
159
238
|
def replace(
|
|
@@ -435,6 +435,7 @@ def save_report(
|
|
|
435
435
|
before=before,
|
|
436
436
|
edit_mask=edit_mask,
|
|
437
437
|
ledger=ledger,
|
|
438
|
+
open_safety=_serialize_open_safety(doc, archive_bytes),
|
|
438
439
|
reference_document=doc,
|
|
439
440
|
source_label="document.save_report",
|
|
440
441
|
)
|
|
@@ -475,6 +476,25 @@ def to_bytes(
|
|
|
475
476
|
return data
|
|
476
477
|
|
|
477
478
|
|
|
479
|
+
def _serialize_open_safety(doc: "HwpxDocument", archive_bytes: bytes) -> OpenSafetyReport | None:
|
|
480
|
+
"""The open-safety verdict the package's save reached for exactly *archive_bytes*, in the form
|
|
481
|
+
the SavePipeline composes from its own run; ``None`` when the package did not validate these
|
|
482
|
+
bytes (the pipeline then validates them itself).
|
|
483
|
+
|
|
484
|
+
The same validation of the same bytes gives the same report, so ``save_report`` hands the
|
|
485
|
+
pipeline this one instead of running it a second time.
|
|
486
|
+
"""
|
|
487
|
+
|
|
488
|
+
package = doc._package
|
|
489
|
+
report = getattr(package, "_verified_archive_report", None)
|
|
490
|
+
digest = getattr(package, "_verified_archive_digest", None)
|
|
491
|
+
if report is None or digest is None or not report.ok:
|
|
492
|
+
return None
|
|
493
|
+
if digest != hashlib.sha256(archive_bytes).digest():
|
|
494
|
+
return None
|
|
495
|
+
return OpenSafetyReport(ok=report.ok, summary=report.summary, detail=report.to_dict())
|
|
496
|
+
|
|
497
|
+
|
|
478
498
|
def _to_bytes_raw(
|
|
479
499
|
doc: "HwpxDocument",
|
|
480
500
|
*,
|