python-hwpx 6.10.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.
Files changed (521) hide show
  1. {python_hwpx-6.10.0/src/python_hwpx.egg-info → python_hwpx-6.12.0}/PKG-INFO +16 -3
  2. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/README.md +7 -2
  3. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/pyproject.toml +17 -1
  4. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/src/hwpx/_document/_legacy.py +2 -2
  5. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/src/hwpx/_document/fields.py +26 -2
  6. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/src/hwpx/_document/headings.py +5 -7
  7. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/src/hwpx/_document/layout.py +43 -3
  8. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/src/hwpx/_document/ns/fields.py +1 -1
  9. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/src/hwpx/_document/ns/tables.py +7 -1
  10. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/src/hwpx/_document/ns/text.py +79 -0
  11. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/src/hwpx/_document/persistence.py +20 -0
  12. python_hwpx-6.12.0/src/hwpx/_document/text_blocks.py +385 -0
  13. python_hwpx-6.12.0/src/hwpx/_trailing_table_text.py +85 -0
  14. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/src/hwpx/body_patch.py +172 -32
  15. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/src/hwpx/capabilities.py +46 -9
  16. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/src/hwpx/data/contract_docs/mutation-semantics.md +6 -3
  17. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/src/hwpx/data/contract_docs/support-matrix.md +11 -7
  18. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/src/hwpx/document.py +49 -12
  19. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/src/hwpx/equation/authoring.py +5 -3
  20. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/src/hwpx/equation/eqedit.py +22 -6
  21. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/src/hwpx/equation/mathml.py +24 -2
  22. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/src/hwpx/equation/measure.py +10 -4
  23. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/src/hwpx/errors.py +20 -3
  24. python_hwpx-6.12.0/src/hwpx/form_fit/_glyph_table.json.gz +0 -0
  25. python_hwpx-6.12.0/src/hwpx/form_fit/_glyph_table.py +75 -0
  26. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/src/hwpx/form_fit/measure.py +269 -41
  27. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/src/hwpx/hwp5/package.py +31 -2
  28. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/src/hwpx/hwp5/summary.py +27 -2
  29. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/src/hwpx/ingest/base.py +7 -1
  30. python_hwpx-6.12.0/src/hwpx/ingest/hwpx_converter.py +290 -0
  31. python_hwpx-6.12.0/src/hwpx/layout/_page_measure.py +3009 -0
  32. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/src/hwpx/layout/line_cache.py +50 -9
  33. python_hwpx-6.12.0/src/hwpx/layout/pages.py +2490 -0
  34. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/src/hwpx/objects/checkbox.py +1 -1
  35. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/src/hwpx/opc/package.py +110 -32
  36. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/src/hwpx/opc/xml_utils.py +19 -1
  37. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/src/hwpx/oxml/_document_primitives.py +29 -19
  38. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/src/hwpx/oxml/_paragraph_text_edit.py +51 -1
  39. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/src/hwpx/oxml/document_parts.py +3 -1
  40. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/src/hwpx/oxml/drop_cap.py +11 -1
  41. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/src/hwpx/oxml/header_part.py +51 -18
  42. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/src/hwpx/oxml/paragraph.py +35 -1
  43. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/src/hwpx/oxml/run.py +13 -1
  44. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/src/hwpx/oxml/section.py +161 -8
  45. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/src/hwpx/oxml/simple_parts.py +23 -1
  46. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/src/hwpx/oxml/table.py +67 -11
  47. python_hwpx-6.12.0/src/hwpx/oxml/table_merge.py +166 -0
  48. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/src/hwpx/oxml/table_sizes.py +37 -0
  49. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/src/hwpx/oxml/table_structure.py +60 -6
  50. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/src/hwpx/patch.py +77 -9
  51. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/src/hwpx/table_patch.py +511 -137
  52. python_hwpx-6.12.0/src/hwpx/templates.py +100 -0
  53. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/src/hwpx/tools/archive_cli.py +6 -13
  54. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/src/hwpx/tools/doc_diff.py +15 -2
  55. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/src/hwpx/tools/document_viewer.py +2 -2
  56. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/src/hwpx/tools/exporter.py +34 -3
  57. python_hwpx-6.12.0/src/hwpx/tools/format_rules.py +530 -0
  58. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/src/hwpx/tools/layout_preview.py +60 -5
  59. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/src/hwpx/tools/mail_merge.py +24 -1
  60. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/src/hwpx/tools/markdown_export.py +79 -11
  61. python_hwpx-6.12.0/src/hwpx/tools/markdown_import.py +473 -0
  62. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/src/hwpx/tools/object_finder.py +3 -2
  63. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/src/hwpx/tools/package_validator.py +59 -8
  64. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/src/hwpx/tools/recover.py +5 -1
  65. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/src/hwpx/tools/repair.py +9 -12
  66. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/src/hwpx/tools/table_navigation.py +53 -36
  67. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/src/hwpx/tools/text_extractor.py +44 -1
  68. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/src/hwpx/tools/toc_fidelity.py +4 -1
  69. {python_hwpx-6.10.0 → python_hwpx-6.12.0/src/python_hwpx.egg-info}/PKG-INFO +16 -3
  70. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/src/python_hwpx.egg-info/SOURCES.txt +35 -0
  71. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/src/python_hwpx.egg-info/entry_points.txt +1 -0
  72. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/src/python_hwpx.egg-info/requires.txt +8 -0
  73. python_hwpx-6.12.0/tests/test_append_paragraph_cost.py +61 -0
  74. python_hwpx-6.12.0/tests/test_body_patch_color_runs.py +197 -0
  75. python_hwpx-6.12.0/tests/test_body_patch_ops.py +461 -0
  76. python_hwpx-6.12.0/tests/test_cell_line_spacing.py +177 -0
  77. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/tests/test_cell_text_rewrite_semantics.py +32 -6
  78. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/tests/test_coverage_ledger.py +44 -9
  79. python_hwpx-6.12.0/tests/test_dev_extra_matches_ci.py +41 -0
  80. python_hwpx-6.12.0/tests/test_distribution_file_sizes.py +89 -0
  81. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/tests/test_document_metadata.py +7 -4
  82. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/tests/test_documentation_code_fences.py +2 -2
  83. python_hwpx-6.12.0/tests/test_edit_clears_line_cache.py +199 -0
  84. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/tests/test_edit_fidelity_corpus.py +45 -0
  85. python_hwpx-6.12.0/tests/test_engine_small_defects_eng36.py +110 -0
  86. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/tests/test_engine_surface_6_0.py +40 -0
  87. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/tests/test_equation_converter.py +5 -4
  88. python_hwpx-6.12.0/tests/test_equation_font_boundaries.py +93 -0
  89. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/tests/test_equation_render.py +44 -0
  90. python_hwpx-6.12.0/tests/test_form_field_fill_cost.py +66 -0
  91. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/tests/test_form_fit_hancom_rules.py +275 -0
  92. python_hwpx-6.12.0/tests/test_format_rules.py +233 -0
  93. python_hwpx-6.12.0/tests/test_glyph_table_data.py +58 -0
  94. python_hwpx-6.12.0/tests/test_header_lookup_cache.py +91 -0
  95. python_hwpx-6.12.0/tests/test_hwp5_open_errors.py +110 -0
  96. python_hwpx-6.12.0/tests/test_hwp5_scripts_limits.py +60 -0
  97. python_hwpx-6.12.0/tests/test_ingest.py +124 -0
  98. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/tests/test_insert_row_sides.py +1 -1
  99. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/tests/test_layout_line_cache.py +122 -1
  100. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/tests/test_layout_page_estimate.py +386 -13
  101. python_hwpx-6.12.0/tests/test_layout_pages_split.py +64 -0
  102. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/tests/test_line_break_writing.py +83 -0
  103. python_hwpx-6.12.0/tests/test_markdown_import.py +208 -0
  104. python_hwpx-6.12.0/tests/test_migration_seams.py +116 -0
  105. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/tests/test_namespace_hygiene.py +4 -1
  106. python_hwpx-6.12.0/tests/test_nested_cell_fill_safety.py +301 -0
  107. python_hwpx-6.12.0/tests/test_nested_table_structure_edits.py +259 -0
  108. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/tests/test_ns_refs.py +5 -2
  109. python_hwpx-6.12.0/tests/test_open_damaged_input.py +158 -0
  110. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/tests/test_oxml_modularization.py +66 -7
  111. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/tests/test_package_text_and_namespaces.py +96 -0
  112. python_hwpx-6.12.0/tests/test_paragraph_matcher.py +126 -0
  113. python_hwpx-6.12.0/tests/test_preview_and_markdown_untrusted_values.py +171 -0
  114. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/tests/test_product_boundary.py +8 -1
  115. python_hwpx-6.12.0/tests/test_public_exceptions_inherit_hwpx_error.py +48 -0
  116. python_hwpx-6.12.0/tests/test_release_checklist_example.py +37 -0
  117. python_hwpx-6.12.0/tests/test_save_with_comment_nodes.py +122 -0
  118. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/tests/test_shape_open_safety_risk_check.py +49 -0
  119. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/tests/test_split_cell.py +6 -1
  120. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/tests/test_stale_layout_cache_sweep.py +11 -0
  121. python_hwpx-6.12.0/tests/test_table_clone_identities.py +210 -0
  122. python_hwpx-6.12.0/tests/test_table_grid_cache.py +127 -0
  123. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/tests/test_table_patch.py +7 -4
  124. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/tests/test_table_patch_structure_fixes.py +4 -4
  125. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/tests/test_table_split_merge.py +3 -3
  126. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/tests/test_table_structure_edits.py +143 -8
  127. python_hwpx-6.12.0/tests/test_text_blocks.py +223 -0
  128. python_hwpx-6.12.0/tests/test_tools_untrusted_xml.py +74 -0
  129. python_hwpx-6.12.0/tests/test_trailing_table_text.py +153 -0
  130. python_hwpx-6.10.0/src/hwpx/form_fit/_glyph_table.py +0 -8979
  131. python_hwpx-6.10.0/src/hwpx/ingest/hwpx_converter.py +0 -139
  132. python_hwpx-6.10.0/src/hwpx/layout/pages.py +0 -4872
  133. python_hwpx-6.10.0/src/hwpx/oxml/table_merge.py +0 -82
  134. python_hwpx-6.10.0/src/hwpx/templates.py +0 -34
  135. python_hwpx-6.10.0/tests/test_cell_line_spacing.py +0 -90
  136. python_hwpx-6.10.0/tests/test_ingest.py +0 -65
  137. python_hwpx-6.10.0/tests/test_table_clone_identities.py +0 -91
  138. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/LICENSE +0 -0
  139. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/NOTICE +0 -0
  140. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/setup.cfg +0 -0
  141. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/src/hwpx/__init__.py +0 -0
  142. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/src/hwpx/_document/__init__.py +0 -0
  143. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/src/hwpx/_document/_resolve.py +0 -0
  144. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/src/hwpx/_document/_units.py +0 -0
  145. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/src/hwpx/_document/highlight.py +0 -0
  146. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/src/hwpx/_document/media.py +0 -0
  147. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/src/hwpx/_document/memos.py +0 -0
  148. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/src/hwpx/_document/ns/__init__.py +0 -0
  149. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/src/hwpx/_document/ns/_base.py +0 -0
  150. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/src/hwpx/_document/ns/media.py +0 -0
  151. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/src/hwpx/_document/ns/notes.py +0 -0
  152. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/src/hwpx/_document/ns/page.py +0 -0
  153. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/src/hwpx/_document/ns/parts.py +0 -0
  154. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/src/hwpx/_document/ns/refs.py +0 -0
  155. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/src/hwpx/_document/ns/shapes.py +0 -0
  156. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/src/hwpx/_document/ns/styles.py +0 -0
  157. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/src/hwpx/_document/ns/tracking.py +0 -0
  158. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/src/hwpx/_document/shapes.py +0 -0
  159. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/src/hwpx/_document/tracked.py +0 -0
  160. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/src/hwpx/_moved_modules.py +0 -0
  161. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/src/hwpx/data/Skeleton.hwpx +0 -0
  162. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/src/hwpx/data/contract_docs/known-traps.md +0 -0
  163. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/src/hwpx/data/contract_docs/recipes-traversal.md +0 -0
  164. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/src/hwpx/equation/__init__.py +0 -0
  165. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/src/hwpx/equation/render.py +0 -0
  166. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/src/hwpx/equation/tokens.py +0 -0
  167. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/src/hwpx/experimental.py +0 -0
  168. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/src/hwpx/form_fit/__init__.py +0 -0
  169. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/src/hwpx/form_fit/apply.py +0 -0
  170. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/src/hwpx/form_fit/engine.py +0 -0
  171. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/src/hwpx/form_fit/policy.py +0 -0
  172. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/src/hwpx/form_fit/report.py +0 -0
  173. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/src/hwpx/hwp5/__init__.py +0 -0
  174. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/src/hwpx/hwp5/binary.py +0 -0
  175. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/src/hwpx/hwp5/bodytext.py +0 -0
  176. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/src/hwpx/hwp5/cfb.py +0 -0
  177. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/src/hwpx/hwp5/controls.py +0 -0
  178. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/src/hwpx/hwp5/docinfo.py +0 -0
  179. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/src/hwpx/hwp5/docinfo_writer.py +0 -0
  180. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/src/hwpx/hwp5/errors.py +0 -0
  181. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/src/hwpx/hwp5/fileheader.py +0 -0
  182. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/src/hwpx/hwp5/header_xml.py +0 -0
  183. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/src/hwpx/hwp5/owpml.py +0 -0
  184. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/src/hwpx/hwp5/reader.py +0 -0
  185. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/src/hwpx/hwp5/records.py +0 -0
  186. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/src/hwpx/hwp5/section_common.py +0 -0
  187. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/src/hwpx/hwp5/section_writer.py +0 -0
  188. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/src/hwpx/hwp5/section_xml.py +0 -0
  189. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/src/hwpx/hwp5/shape_xml.py +0 -0
  190. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/src/hwpx/hwp5/shapes.py +0 -0
  191. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/src/hwpx/hwp5/writer.py +0 -0
  192. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/src/hwpx/ingest/__init__.py +0 -0
  193. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/src/hwpx/layout/__init__.py +0 -0
  194. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/src/hwpx/layout/lint.py +0 -0
  195. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/src/hwpx/layout/report.py +0 -0
  196. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/src/hwpx/model.py +0 -0
  197. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/src/hwpx/mutation_report.py +0 -0
  198. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/src/hwpx/objects/__init__.py +0 -0
  199. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/src/hwpx/objects/binary_item.py +0 -0
  200. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/src/hwpx/objects/form_field.py +0 -0
  201. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/src/hwpx/objects/highlight.py +0 -0
  202. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/src/hwpx/objects/results.py +0 -0
  203. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/src/hwpx/objects/tracked.py +0 -0
  204. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/src/hwpx/opc/relationships.py +0 -0
  205. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/src/hwpx/opc/security.py +0 -0
  206. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/src/hwpx/oxml/__init__.py +0 -0
  207. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/src/hwpx/oxml/_document_impl.py +0 -0
  208. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/src/hwpx/oxml/body.py +0 -0
  209. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/src/hwpx/oxml/canonical_defaults.py +0 -0
  210. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/src/hwpx/oxml/color.py +0 -0
  211. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/src/hwpx/oxml/common.py +0 -0
  212. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/src/hwpx/oxml/container.py +0 -0
  213. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/src/hwpx/oxml/curves.py +0 -0
  214. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/src/hwpx/oxml/document.py +0 -0
  215. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/src/hwpx/oxml/document_metadata.py +0 -0
  216. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/src/hwpx/oxml/dutmal_compose.py +0 -0
  217. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/src/hwpx/oxml/field_marks.py +0 -0
  218. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/src/hwpx/oxml/header.py +0 -0
  219. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/src/hwpx/oxml/header_compat.py +0 -0
  220. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/src/hwpx/oxml/header_fonts.py +0 -0
  221. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/src/hwpx/oxml/history_part.py +0 -0
  222. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/src/hwpx/oxml/hyperlink_form.py +0 -0
  223. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/src/hwpx/oxml/master_page.py +0 -0
  224. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/src/hwpx/oxml/master_page_authoring.py +0 -0
  225. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/src/hwpx/oxml/memo.py +0 -0
  226. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/src/hwpx/oxml/namespaces.py +0 -0
  227. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/src/hwpx/oxml/note_authoring.py +0 -0
  228. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/src/hwpx/oxml/numbering.py +0 -0
  229. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/src/hwpx/oxml/numbering_kinds.py +0 -0
  230. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/src/hwpx/oxml/objects.py +0 -0
  231. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/src/hwpx/oxml/paragraph_heading.py +0 -0
  232. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/src/hwpx/oxml/parser.py +0 -0
  233. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/src/hwpx/oxml/schema.py +0 -0
  234. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/src/hwpx/oxml/section_format.py +0 -0
  235. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/src/hwpx/oxml/section_layout.py +0 -0
  236. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/src/hwpx/oxml/section_story.py +0 -0
  237. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/src/hwpx/oxml/settings.py +0 -0
  238. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/src/hwpx/oxml/shape_position.py +0 -0
  239. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/src/hwpx/oxml/utils.py +0 -0
  240. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/src/hwpx/oxml/version_part.py +0 -0
  241. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/src/hwpx/package.py +0 -0
  242. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/src/hwpx/plan/__init__.py +0 -0
  243. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/src/hwpx/plan/_execute.py +0 -0
  244. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/src/hwpx/plan/_model.py +0 -0
  245. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/src/hwpx/plan/_schema.py +0 -0
  246. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/src/hwpx/plan/_validate.py +0 -0
  247. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/src/hwpx/py.typed +0 -0
  248. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/src/hwpx/quality/__init__.py +0 -0
  249. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/src/hwpx/quality/ledger.py +0 -0
  250. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/src/hwpx/quality/policy.py +0 -0
  251. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/src/hwpx/quality/rendering.py +0 -0
  252. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/src/hwpx/quality/report.py +0 -0
  253. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/src/hwpx/quality/save_pipeline.py +0 -0
  254. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/src/hwpx/tools/__init__.py +0 -0
  255. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/src/hwpx/tools/_schemas/header.xsd +0 -0
  256. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/src/hwpx/tools/_schemas/owpml-body.xsd +0 -0
  257. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/src/hwpx/tools/_schemas/owpml-core.xsd +0 -0
  258. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/src/hwpx/tools/_schemas/owpml-header.xsd +0 -0
  259. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/src/hwpx/tools/_schemas/owpml-paralist.xsd +0 -0
  260. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/src/hwpx/tools/_schemas/owpml-xml.xsd +0 -0
  261. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/src/hwpx/tools/_schemas/section.xsd +0 -0
  262. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/src/hwpx/tools/document_merge.py +0 -0
  263. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/src/hwpx/tools/generic_inventory.py +0 -0
  264. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/src/hwpx/tools/id_integrity.py +0 -0
  265. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/src/hwpx/tools/idempotence.py +0 -0
  266. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/src/hwpx/tools/ir_equality.py +0 -0
  267. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/src/hwpx/tools/package_reconcile.py +0 -0
  268. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/src/hwpx/tools/page_guard.py +0 -0
  269. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/src/hwpx/tools/read_fidelity.py +0 -0
  270. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/src/hwpx/tools/redline.py +0 -0
  271. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/src/hwpx/tools/report_utils.py +0 -0
  272. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/src/hwpx/tools/roundtrip_diff.py +0 -0
  273. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/src/hwpx/tools/table_cleanup.py +0 -0
  274. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/src/hwpx/tools/template_analyzer.py +0 -0
  275. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/src/hwpx/tools/text_extract_cli.py +0 -0
  276. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/src/hwpx/tools/toc_author.py +0 -0
  277. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/src/hwpx/tools/validator.py +0 -0
  278. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/src/python_hwpx.egg-info/dependency_links.txt +0 -0
  279. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/src/python_hwpx.egg-info/top_level.txt +0 -0
  280. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/tests/test_add_control.py +0 -0
  281. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/tests/test_add_heading.py +0 -0
  282. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/tests/test_adoption_metrics_snapshot.py +0 -0
  283. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/tests/test_arc_authoring.py +0 -0
  284. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/tests/test_authoring_defaults.py +0 -0
  285. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/tests/test_authoring_quality_corpus.py +0 -0
  286. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/tests/test_blind_eval_fixture.py +0 -0
  287. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/tests/test_body_patch.py +0 -0
  288. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/tests/test_border_fill_image_gradient.py +0 -0
  289. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/tests/test_border_line_types.py +0 -0
  290. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/tests/test_build_element_census.py +0 -0
  291. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/tests/test_byte_patch_identity.py +0 -0
  292. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/tests/test_capabilities_surface.py +0 -0
  293. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/tests/test_cell_border_neighbors.py +0 -0
  294. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/tests/test_cell_edit_holder_cache.py +0 -0
  295. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/tests/test_cell_fields.py +0 -0
  296. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/tests/test_cell_margins.py +0 -0
  297. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/tests/test_char_pr_child_order.py +0 -0
  298. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/tests/test_character_width_ratio.py +0 -0
  299. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/tests/test_chart_authoring.py +0 -0
  300. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/tests/test_check_box_authoring.py +0 -0
  301. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/tests/test_color_arguments.py +0 -0
  302. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/tests/test_column_break.py +0 -0
  303. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/tests/test_column_widths_as_shares.py +0 -0
  304. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/tests/test_comment_node_robustness.py +0 -0
  305. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/tests/test_container_authoring.py +0 -0
  306. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/tests/test_container_members.py +0 -0
  307. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/tests/test_contract_docs_sync.py +0 -0
  308. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/tests/test_corpus_read_fidelity.py +0 -0
  309. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/tests/test_coverage_promotion.py +0 -0
  310. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/tests/test_coverage_targets.py +0 -0
  311. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/tests/test_curve_connector_authoring.py +0 -0
  312. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/tests/test_deviations_registry.py +0 -0
  313. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/tests/test_doc_diff.py +0 -0
  314. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/tests/test_document_context_manager.py +0 -0
  315. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/tests/test_document_facade_surface.py +0 -0
  316. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/tests/test_document_formatting.py +0 -0
  317. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/tests/test_document_merge.py +0 -0
  318. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/tests/test_document_ops_runtime_boundary.py +0 -0
  319. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/tests/test_document_save_api.py +0 -0
  320. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/tests/test_document_viewer.py +0 -0
  321. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/tests/test_drop_cap_authoring.py +0 -0
  322. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/tests/test_dutmal_compose_authoring.py +0 -0
  323. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/tests/test_edit_plan.py +0 -0
  324. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/tests/test_editor_surface_inventory.py +0 -0
  325. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/tests/test_ensure_run_font_by_lang.py +0 -0
  326. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/tests/test_equalize_widths_per_row.py +0 -0
  327. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/tests/test_equation_authoring.py +0 -0
  328. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/tests/test_equation_measure_hancom_saved.py +0 -0
  329. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/tests/test_equation_size.py +0 -0
  330. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/tests/test_equation_width_hancom_boxes.py +0 -0
  331. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/tests/test_error_contract.py +0 -0
  332. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/tests/test_error_messages.py +0 -0
  333. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/tests/test_evalplan_core_primitives.py +0 -0
  334. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/tests/test_existing_document_format_editing.py +0 -0
  335. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/tests/test_export_captions_dutmal.py +0 -0
  336. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/tests/test_export_cell_text_spaces.py +0 -0
  337. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/tests/test_export_list_labels.py +0 -0
  338. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/tests/test_export_notes.py +0 -0
  339. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/tests/test_export_text_boxes.py +0 -0
  340. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/tests/test_exporter_table_text.py +0 -0
  341. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/tests/test_field_marks.py +0 -0
  342. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/tests/test_field_readers.py +0 -0
  343. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/tests/test_field_type_ids.py +0 -0
  344. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/tests/test_fill_image_hancom_modes.py +0 -0
  345. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/tests/test_form_field_authoring.py +0 -0
  346. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/tests/test_form_fields.py +0 -0
  347. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/tests/test_form_fill_core_primitives.py +0 -0
  348. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/tests/test_form_fit.py +0 -0
  349. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/tests/test_form_fit_integration.py +0 -0
  350. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/tests/test_fuzz_catalog_derive_expected.py +0 -0
  351. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/tests/test_fuzz_loop.py +0 -0
  352. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/tests/test_fuzz_regressions.py +0 -0
  353. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/tests/test_gap_and_new_number_values.py +0 -0
  354. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/tests/test_gap_closure_tools.py +0 -0
  355. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/tests/test_golden_api.py +0 -0
  356. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/tests/test_header_compat_authoring.py +0 -0
  357. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/tests/test_header_control_before_field.py +0 -0
  358. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/tests/test_header_list_lookups.py +0 -0
  359. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/tests/test_heading_style_shapes.py +0 -0
  360. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/tests/test_highlight_authoring.py +0 -0
  361. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/tests/test_hp_tab_support.py +0 -0
  362. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/tests/test_hwp5_container.py +0 -0
  363. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/tests/test_hwp5_hancom_files.py +0 -0
  364. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/tests/test_hwp5_open.py +0 -0
  365. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/tests/test_hwp5_save.py +0 -0
  366. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/tests/test_hwpxlib_corpus_read.py +0 -0
  367. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/tests/test_hyperlink_hancom_form.py +0 -0
  368. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/tests/test_id_generator_range.py +0 -0
  369. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/tests/test_id_integrity.py +0 -0
  370. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/tests/test_image_object_workflow.py +0 -0
  371. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/tests/test_index_mark.py +0 -0
  372. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/tests/test_inline_models.py +0 -0
  373. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/tests/test_insert_column_by_clone.py +0 -0
  374. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/tests/test_insert_row_merged_cells.py +0 -0
  375. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/tests/test_instid_attribute_case.py +0 -0
  376. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/tests/test_integration_hwpx_compatibility.py +0 -0
  377. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/tests/test_integration_roundtrip.py +0 -0
  378. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/tests/test_internal_calls_skip_moved_names.py +0 -0
  379. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/tests/test_known_leak_migration_contract.py +0 -0
  380. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/tests/test_layer_leak_guard.py +0 -0
  381. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/tests/test_layout_cache_scope.py +0 -0
  382. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/tests/test_layout_lint.py +0 -0
  383. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/tests/test_layout_preview.py +0 -0
  384. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/tests/test_lazy_hwp5_import.py +0 -0
  385. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/tests/test_lazy_tools_import.py +0 -0
  386. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/tests/test_lazy_tools_submodules.py +0 -0
  387. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/tests/test_library_boundary_closure.py +0 -0
  388. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/tests/test_line_width_arguments.py +0 -0
  389. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/tests/test_list_continue.py +0 -0
  390. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/tests/test_list_defaults_vs_hancom.py +0 -0
  391. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/tests/test_list_level_range.py +0 -0
  392. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/tests/test_llms_txt.py +0 -0
  393. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/tests/test_mail_merge_xlsx.py +0 -0
  394. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/tests/test_manifest_resolve_once.py +0 -0
  395. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/tests/test_markdown_export.py +0 -0
  396. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/tests/test_markdown_export_shape_text.py +0 -0
  397. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/tests/test_master_page_authoring.py +0 -0
  398. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/tests/test_master_page_pages_taken.py +0 -0
  399. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/tests/test_memo_and_style_editing.py +0 -0
  400. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/tests/test_memo_fields.py +0 -0
  401. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/tests/test_memo_shape_authoring.py +0 -0
  402. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/tests/test_merge_cells_hancom_files.py +0 -0
  403. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/tests/test_merge_cells_keeps_contents.py +0 -0
  404. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/tests/test_moved_module_imports.py +0 -0
  405. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/tests/test_moved_surface_hints.py +0 -0
  406. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/tests/test_mutation_report.py +0 -0
  407. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/tests/test_namespace_handling.py +0 -0
  408. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/tests/test_namespace_normalization.py +0 -0
  409. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/tests/test_native_edit_contract.py +0 -0
  410. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/tests/test_new_features.py +0 -0
  411. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/tests/test_note_authoring_contract.py +0 -0
  412. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/tests/test_ns_fields.py +0 -0
  413. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/tests/test_ns_media.py +0 -0
  414. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/tests/test_ns_notes.py +0 -0
  415. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/tests/test_ns_page.py +0 -0
  416. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/tests/test_ns_shapes.py +0 -0
  417. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/tests/test_ns_tables.py +0 -0
  418. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/tests/test_ns_tracking.py +0 -0
  419. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/tests/test_number_formats.py +0 -0
  420. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/tests/test_opc_package.py +0 -0
  421. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/tests/test_open_safety_corpus.py +0 -0
  422. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/tests/test_outline_numbering.py +0 -0
  423. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/tests/test_oxml_parsing.py +0 -0
  424. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/tests/test_package_hygiene.py +0 -0
  425. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/tests/test_packaging_license_metadata.py +0 -0
  426. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/tests/test_packaging_py_typed.py +0 -0
  427. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/tests/test_page_and_list_values.py +0 -0
  428. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/tests/test_page_number_control.py +0 -0
  429. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/tests/test_page_number_format.py +0 -0
  430. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/tests/test_page_orientation.py +0 -0
  431. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/tests/test_para_pr_dedup.py +0 -0
  432. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/tests/test_paragraph_align_distribute_space.py +0 -0
  433. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/tests/test_paragraph_border.py +0 -0
  434. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/tests/test_paragraph_format_targets.py +0 -0
  435. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/tests/test_paragraph_hyperlink_style.py +0 -0
  436. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/tests/test_paragraph_keep_together.py +0 -0
  437. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/tests/test_paragraph_margin_default_scale.py +0 -0
  438. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/tests/test_paragraph_property_lookup.py +0 -0
  439. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/tests/test_paragraph_property_version_switch.py +0 -0
  440. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/tests/test_paragraph_remove_in_containers.py +0 -0
  441. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/tests/test_paragraph_section_management.py +0 -0
  442. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/tests/test_part_hierarchy_read_models.py +0 -0
  443. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/tests/test_picture_adjustments.py +0 -0
  444. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/tests/test_polygon_authoring.py +0 -0
  445. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/tests/test_public_artifact_hygiene.py +0 -0
  446. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/tests/test_public_runtime_boundary.py +0 -0
  447. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/tests/test_read_fidelity.py +0 -0
  448. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/tests/test_recover_broken_zip.py +0 -0
  449. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/tests/test_redline_authoring.py +0 -0
  450. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/tests/test_redline_verify.py +0 -0
  451. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/tests/test_release_workflow_safety.py +0 -0
  452. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/tests/test_remove_unused_charts.py +0 -0
  453. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/tests/test_remove_unused_images.py +0 -0
  454. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/tests/test_repair_repack.py +0 -0
  455. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/tests/test_replace_text_barriers.py +0 -0
  456. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/tests/test_report_utils.py +0 -0
  457. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/tests/test_repr_snapshots.py +0 -0
  458. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/tests/test_return_contract.py +0 -0
  459. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/tests/test_roundtrip_fidelity.py +0 -0
  460. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/tests/test_roundtrip_fidelity_corpus.py +0 -0
  461. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/tests/test_row_heights.py +0 -0
  462. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/tests/test_run_choice_atom_authoring.py +0 -0
  463. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/tests/test_run_content_kinds.py +0 -0
  464. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/tests/test_run_font_refs.py +0 -0
  465. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/tests/test_run_style_base.py +0 -0
  466. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/tests/test_safe_edit_example.py +0 -0
  467. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/tests/test_save_keeps_inline_text_caches.py +0 -0
  468. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/tests/test_save_pipeline.py +0 -0
  469. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/tests/test_save_verifies_once.py +0 -0
  470. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/tests/test_section_clear_body.py +0 -0
  471. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/tests/test_section_columns.py +0 -0
  472. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/tests/test_section_headers.py +0 -0
  473. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/tests/test_section_ids_order.py +0 -0
  474. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/tests/test_section_properties_real_roundtrip.py +0 -0
  475. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/tests/test_set_column_widths_uniform_split.py +0 -0
  476. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/tests/test_set_paragraph_format_keep.py +0 -0
  477. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/tests/test_shape_geometry_contract.py +0 -0
  478. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/tests/test_shape_original_size.py +0 -0
  479. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/tests/test_shape_position_frames.py +0 -0
  480. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/tests/test_shape_size_values.py +0 -0
  481. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/tests/test_size_ratchet.py +0 -0
  482. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/tests/test_skeleton_template_ids.py +0 -0
  483. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/tests/test_split_merged_cell.py +0 -0
  484. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/tests/test_stable_surface.py +0 -0
  485. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/tests/test_story_edits_reach_control_copy.py +0 -0
  486. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/tests/test_style_font_border_reads.py +0 -0
  487. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/tests/test_style_resolution.py +0 -0
  488. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/tests/test_styles_definition_verbs.py +0 -0
  489. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/tests/test_tab_character_writing.py +0 -0
  490. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/tests/test_tab_definition_version_switch.py +0 -0
  491. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/tests/test_table_cell_equalize.py +0 -0
  492. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/tests/test_table_cleanup.py +0 -0
  493. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/tests/test_table_column_floor.py +0 -0
  494. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/tests/test_table_label.py +0 -0
  495. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/tests/test_table_navigation.py +0 -0
  496. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/tests/test_table_ops_cells_without_geometry.py +0 -0
  497. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/tests/test_table_ops_delete_every_line.py +0 -0
  498. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/tests/test_table_ops_delete_zones.py +0 -0
  499. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/tests/test_table_page_flow.py +0 -0
  500. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/tests/test_table_patch_dryrun.py +0 -0
  501. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/tests/test_table_patch_m105.py +0 -0
  502. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/tests/test_tables_default_border.py +0 -0
  503. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/tests/test_template_analyzer_enrichment.py +0 -0
  504. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/tests/test_text_box_fields.py +0 -0
  505. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/tests/test_text_extractor_annotations.py +0 -0
  506. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/tests/test_text_extractor_nested_once.py +0 -0
  507. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/tests/test_text_extractor_run_choice_atoms.py +0 -0
  508. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/tests/test_text_inline_elements.py +0 -0
  509. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/tests/test_text_replace_everywhere.py +0 -0
  510. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/tests/test_title_mark.py +0 -0
  511. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/tests/test_toc_author.py +0 -0
  512. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/tests/test_toc_fidelity.py +0 -0
  513. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/tests/test_tracked_overlap_render_smoke.py +0 -0
  514. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/tests/test_tracked_paragraph_delete_break.py +0 -0
  515. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/tests/test_validation_severity.py +0 -0
  516. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/tests/test_validator_comment_nodes.py +0 -0
  517. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/tests/test_validator_form_parameters.py +0 -0
  518. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/tests/test_validator_full_schema.py +0 -0
  519. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/tests/test_validator_hancom_open_rules.py +0 -0
  520. {python_hwpx-6.10.0 → python_hwpx-6.12.0}/tests/test_validator_section_ids.py +0 -0
  521. {python_hwpx-6.10.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.10.0
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.10.0"
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.check_box(...).checked")
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.style")
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
 
@@ -440,6 +440,14 @@ def _iter_form_field_matches(doc: "HwpxDocument") -> list[dict[str, Any]]:
440
440
 
441
441
 
442
442
  def _iter_field_matches(doc: "HwpxDocument", accept: Any) -> list[dict[str, Any]]:
443
+ return _field_matches_in(doc, accept, _iter_content_paragraphs(doc))
444
+
445
+
446
+ def _field_matches_in(
447
+ doc: "HwpxDocument",
448
+ accept: Any,
449
+ paragraphs: Iterator[tuple[int, int, int, Any, HwpxOxmlParagraph, list[Any]]],
450
+ ) -> list[dict[str, Any]]:
443
451
  """The fields whose ``<hp:fieldBegin>`` *accept(ctrl, field_begin)* takes, in
444
452
  document order, with their text up to the matching ``<hp:fieldEnd>``."""
445
453
 
@@ -451,7 +459,7 @@ def _iter_field_matches(doc: "HwpxDocument", accept: Any) -> list[dict[str, Any]
451
459
  paragraph_element,
452
460
  paragraph,
453
461
  runs,
454
- ) in _iter_content_paragraphs(doc):
462
+ ) in paragraphs:
455
463
  for run_index, run in enumerate(runs):
456
464
  children = list(run)
457
465
  for child_index, child in enumerate(children):
@@ -526,6 +534,22 @@ def _iter_field_matches(doc: "HwpxDocument", accept: Any) -> list[dict[str, Any]
526
534
  return matches
527
535
 
528
536
 
537
+ def _refresh_form_field_match(doc: "HwpxDocument", match: Mapping[str, Any]) -> dict[str, Any]:
538
+ """Re-read the selected field after filling it, without rebuilding unrelated payloads.
539
+
540
+ Filling can remove nested fields or following paragraphs, but retains the selected begin and everything
541
+ before it. Its paragraph location and field index therefore stay valid. Read its runs and matching end
542
+ afresh: inserting text or collapsing a span can change their indices and the result's style snapshot.
543
+ """
544
+
545
+ paragraph = match["_paragraph"]
546
+ source = (match["section_index"], match["paragraph_index"], match["paragraph_index_in_section"],
547
+ paragraph.element, paragraph, [child for child in paragraph.element if _local_name(child) == "run"])
548
+ refreshed = _field_matches_in(doc, lambda ctrl, begin: begin is match["_field_begin"], iter((source,)))[0]
549
+ refreshed["index"] = match["index"]
550
+ return refreshed
551
+
552
+
529
553
  def _form_field_from_match(doc: "HwpxDocument", match: Mapping[str, Any]) -> FormField:
530
554
  """Build the public :class:`FormField` view from an internal match payload.
531
555
 
@@ -1230,7 +1254,7 @@ def fill_form_field(
1230
1254
 
1231
1255
  _clear_form_field_layout_cache(paragraph.element)
1232
1256
  paragraph.section.mark_dirty()
1233
- updated = _iter_form_field_matches(doc)[int(match["index"])]
1257
+ updated = _refresh_form_field_match(doc, match)
1234
1258
  after_style = _field_run_style_snapshot(
1235
1259
  doc,
1236
1260
  updated["_runs"],
@@ -170,13 +170,11 @@ def bind_outline_level(
170
170
  from . import layout as _layout
171
171
 
172
172
  _check_level(level)
173
- target = paragraph.element
174
- for index, candidate in enumerate(document.paragraphs):
175
- if candidate.element is target:
176
- _layout.set_paragraph_format(
177
- document, paragraph_index=index, outline_level=level
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
- body = doc.paragraphs
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.check_box(...).checked = False` 로 대체된다. 5.x 이름은 shim 으로
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
  *,