docx4j 0.1.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.
- docx4j-0.1.0/.gitignore +15 -0
- docx4j-0.1.0/.xsdata.phase-b.xml +164 -0
- docx4j-0.1.0/CHANGELOG.md +89 -0
- docx4j-0.1.0/LICENSE +202 -0
- docx4j-0.1.0/NOTICE +41 -0
- docx4j-0.1.0/PKG-INFO +246 -0
- docx4j-0.1.0/README.md +999 -0
- docx4j-0.1.0/RELEASING.md +124 -0
- docx4j-0.1.0/REPORT.md +665 -0
- docx4j-0.1.0/codegen/README.md +308 -0
- docx4j-0.1.0/codegen/clean.py +67 -0
- docx4j-0.1.0/codegen/derive_names.py +574 -0
- docx4j-0.1.0/codegen/el_tables/customxml.json +25 -0
- docx4j-0.1.0/codegen/el_tables/dml_chart.json +549 -0
- docx4j-0.1.0/codegen/el_tables/dml_chart_drawing.json +59 -0
- docx4j-0.1.0/codegen/el_tables/dml_compatibility.json +24 -0
- docx4j-0.1.0/codegen/el_tables/dml_diagram.json +324 -0
- docx4j-0.1.0/codegen/el_tables/dml_locked_canvas.json +24 -0
- docx4j-0.1.0/codegen/el_tables/dml_main.json +1056 -0
- docx4j-0.1.0/codegen/el_tables/dml_picture.json +29 -0
- docx4j-0.1.0/codegen/el_tables/dml_spreadsheet_drawing.json +109 -0
- docx4j-0.1.0/codegen/el_tables/dml_wordprocessing_drawing.json +48 -0
- docx4j-0.1.0/codegen/el_tables/docprops_core.json +49 -0
- docx4j-0.1.0/codegen/el_tables/docprops_custom.json +27 -0
- docx4j-0.1.0/codegen/el_tables/docprops_dc.json +43 -0
- docx4j-0.1.0/codegen/el_tables/docprops_dcmitype.json +22 -0
- docx4j-0.1.0/codegen/el_tables/docprops_dcterms.json +56 -0
- docx4j-0.1.0/codegen/el_tables/docprops_extended.json +98 -0
- docx4j-0.1.0/codegen/el_tables/docprops_variant_types.json +61 -0
- docx4j-0.1.0/codegen/el_tables/inkml.json +117 -0
- docx4j-0.1.0/codegen/el_tables/math.json +213 -0
- docx4j-0.1.0/codegen/el_tables/mathml.json +76 -0
- docx4j-0.1.0/codegen/el_tables/mce.json +26 -0
- docx4j-0.1.0/codegen/el_tables/oart_animation_2018.json +24 -0
- docx4j-0.1.0/codegen/el_tables/oart_animation_model3d_2018.json +27 -0
- docx4j-0.1.0/codegen/el_tables/oart_chart_2007.json +32 -0
- docx4j-0.1.0/codegen/el_tables/oart_chart_2012.json +179 -0
- docx4j-0.1.0/codegen/el_tables/oart_chart_2014.json +44 -0
- docx4j-0.1.0/codegen/el_tables/oart_chart_2017_03.json +25 -0
- docx4j-0.1.0/codegen/el_tables/oart_chart_ac_2014.json +24 -0
- docx4j-0.1.0/codegen/el_tables/oart_chart_drawing_2010.json +30 -0
- docx4j-0.1.0/codegen/el_tables/oart_chart_style_2012.json +70 -0
- docx4j-0.1.0/codegen/el_tables/oart_chartex_2014.json +285 -0
- docx4j-0.1.0/codegen/el_tables/oart_command_2013.json +128 -0
- docx4j-0.1.0/codegen/el_tables/oart_decorative_2017.json +24 -0
- docx4j-0.1.0/codegen/el_tables/oart_diagram_2008.json +39 -0
- docx4j-0.1.0/codegen/el_tables/oart_diagram_2010.json +25 -0
- docx4j-0.1.0/codegen/el_tables/oart_diagram_2016_11.json +26 -0
- docx4j-0.1.0/codegen/el_tables/oart_diagram_2016_12.json +25 -0
- docx4j-0.1.0/codegen/el_tables/oart_hyperlink_color_2018.json +24 -0
- docx4j-0.1.0/codegen/el_tables/oart_ink_action_2014.json +32 -0
- docx4j-0.1.0/codegen/el_tables/oart_main_2010.json +73 -0
- docx4j-0.1.0/codegen/el_tables/oart_main_2012.json +27 -0
- docx4j-0.1.0/codegen/el_tables/oart_main_2014.json +28 -0
- docx4j-0.1.0/codegen/el_tables/oart_main_2016_11.json +24 -0
- docx4j-0.1.0/codegen/el_tables/oart_model3d_2017.json +74 -0
- docx4j-0.1.0/codegen/el_tables/oart_picture_2010.json +25 -0
- docx4j-0.1.0/codegen/el_tables/oart_spreadsheet_drawing_2010.json +30 -0
- docx4j-0.1.0/codegen/el_tables/oart_svg_2016.json +24 -0
- docx4j-0.1.0/codegen/el_tables/oart_theme_2012.json +25 -0
- docx4j-0.1.0/codegen/el_tables/relationships.json +25 -0
- docx4j-0.1.0/codegen/el_tables/shared_types.json +22 -0
- docx4j-0.1.0/codegen/el_tables/w14.json +88 -0
- docx4j-0.1.0/codegen/el_tables/w15.json +41 -0
- docx4j-0.1.0/codegen/el_tables/w15symex.json +24 -0
- docx4j-0.1.0/codegen/el_tables/w16cid.json +25 -0
- docx4j-0.1.0/codegen/el_tables/wml.json +3379 -0
- docx4j-0.1.0/codegen/el_tables/wne.json +101 -0
- docx4j-0.1.0/codegen/el_tables/word_msink.json +29 -0
- docx4j-0.1.0/codegen/el_tables/word_wp14.json +34 -0
- docx4j-0.1.0/codegen/el_tables/word_wp15.json +24 -0
- docx4j-0.1.0/codegen/el_tables/word_wpc.json +28 -0
- docx4j-0.1.0/codegen/el_tables/word_wpg.json +32 -0
- docx4j-0.1.0/codegen/el_tables/word_wps.json +33 -0
- docx4j-0.1.0/codegen/el_tables/xml_ns.json +22 -0
- docx4j-0.1.0/codegen/generate.sh +62 -0
- docx4j-0.1.0/codegen/generate_el.py +951 -0
- docx4j-0.1.0/codegen/names/README.md +486 -0
- docx4j-0.1.0/codegen/names/customxml.json +8 -0
- docx4j-0.1.0/codegen/names/dml.json +314 -0
- docx4j-0.1.0/codegen/names/dml_chart.json +176 -0
- docx4j-0.1.0/codegen/names/dml_chart_2007.json +16 -0
- docx4j-0.1.0/codegen/names/dml_chart_drawing.json +21 -0
- docx4j-0.1.0/codegen/names/dml_compatibility.json +10 -0
- docx4j-0.1.0/codegen/names/dml_diagram.json +129 -0
- docx4j-0.1.0/codegen/names/dml_diagram2008.json +16 -0
- docx4j-0.1.0/codegen/names/dml_picture.json +11 -0
- docx4j-0.1.0/codegen/names/dml_spreadsheetdrawing.json +28 -0
- docx4j-0.1.0/codegen/names/dml_wordprocessing_drawing.json +26 -0
- docx4j-0.1.0/codegen/names/doc_props_core.json +8 -0
- docx4j-0.1.0/codegen/names/doc_props_core_dc_elements.json +26 -0
- docx4j-0.1.0/codegen/names/doc_props_core_dc_terms.json +59 -0
- docx4j-0.1.0/codegen/names/doc_props_custom.json +8 -0
- docx4j-0.1.0/codegen/names/doc_props_extended.json +8 -0
- docx4j-0.1.0/codegen/names/doc_props_variant_types.json +22 -0
- docx4j-0.1.0/codegen/names/drawing_2010_chart_drawing.json +12 -0
- docx4j-0.1.0/codegen/names/drawing_2010_diagram.json +11 -0
- docx4j-0.1.0/codegen/names/drawing_2010_main.json +63 -0
- docx4j-0.1.0/codegen/names/drawing_2012_chart.json +52 -0
- docx4j-0.1.0/codegen/names/drawing_2012_chart_style.json +23 -0
- docx4j-0.1.0/codegen/names/drawing_2012_main.json +16 -0
- docx4j-0.1.0/codegen/names/drawing_2013_main_command.json +39 -0
- docx4j-0.1.0/codegen/names/drawing_2014_chart.json +28 -0
- docx4j-0.1.0/codegen/names/drawing_2014_chartex.json +122 -0
- docx4j-0.1.0/codegen/names/drawing_2014_main.json +17 -0
- docx4j-0.1.0/codegen/names/drawing_201611_diagram.json +13 -0
- docx4j-0.1.0/codegen/names/drawing_201611_main.json +10 -0
- docx4j-0.1.0/codegen/names/drawing_2016_svg_main.json +10 -0
- docx4j-0.1.0/codegen/names/drawing_201703_chart.json +11 -0
- docx4j-0.1.0/codegen/names/drawing_2017_decorative.json +10 -0
- docx4j-0.1.0/codegen/names/drawing_2017_model3d.json +25 -0
- docx4j-0.1.0/codegen/names/drawing_2018_animation.json +9 -0
- docx4j-0.1.0/codegen/names/drawing_2018_animation_model3d.json +12 -0
- docx4j-0.1.0/codegen/names/drawing_2018_hyperlinkcolor.json +11 -0
- docx4j-0.1.0/codegen/names/excel_2010_spreadsheet_drawing.json +12 -0
- docx4j-0.1.0/codegen/names/ink_2010_main.json +15 -0
- docx4j-0.1.0/codegen/names/inkml.json +49 -0
- docx4j-0.1.0/codegen/names/math.json +111 -0
- docx4j-0.1.0/codegen/names/mathml.json +61 -0
- docx4j-0.1.0/codegen/names/mce.json +8 -0
- docx4j-0.1.0/codegen/names/powerpoint_2014_ink_action.json +19 -0
- docx4j-0.1.0/codegen/names/relationships.json +9 -0
- docx4j-0.1.0/codegen/names/thememl_2012_main.json +10 -0
- docx4j-0.1.0/codegen/names/w14.json +94 -0
- docx4j-0.1.0/codegen/names/w15.json +30 -0
- docx4j-0.1.0/codegen/names/w15symex.json +10 -0
- docx4j-0.1.0/codegen/names/w16cid.json +11 -0
- docx4j-0.1.0/codegen/names/wml.json +485 -0
- docx4j-0.1.0/codegen/names/wml_overrides.json +42 -0
- docx4j-0.1.0/codegen/names/word_2006_wordml.json +26 -0
- docx4j-0.1.0/codegen/names/word_2010_wordprocessing_canvas.json +10 -0
- docx4j-0.1.0/codegen/names/word_2010_wordprocessing_drawing.json +14 -0
- docx4j-0.1.0/codegen/names/word_2010_wordprocessing_group.json +11 -0
- docx4j-0.1.0/codegen/names/word_2010_wordprocessing_shape.json +12 -0
- docx4j-0.1.0/codegen/names/word_2012_wordprocessing_drawing.json +10 -0
- docx4j-0.1.0/docs/UPSTREAM.md +67 -0
- docx4j-0.1.0/docs/change-requests/CR-001-object-model.md +1106 -0
- docx4j-0.1.0/docs/change-requests/CR-002-engine.md +1347 -0
- docx4j-0.1.0/docs/change-requests/CR-003-content-api.md +4377 -0
- docx4j-0.1.0/docs/change-requests/CR-004-pml-content-api.md +305 -0
- docx4j-0.1.0/docs/change-requests/CR-005-sml-content-api.md +280 -0
- docx4j-0.1.0/docs/change-requests/CR-006-mcp-server.md +173 -0
- docx4j-0.1.0/docs/change-requests/CR-007-pypi-release.md +633 -0
- docx4j-0.1.0/docs/change-requests/README.md +16 -0
- docx4j-0.1.0/docs/pypi-readme.md +210 -0
- docx4j-0.1.0/docx4j_py/__init__.py +3007 -0
- docx4j-0.1.0/docx4j_py/child.py +894 -0
- docx4j-0.1.0/docx4j_py/customxml/__init__.py +95 -0
- docx4j-0.1.0/docx4j_py/customxml/el.py +63 -0
- docx4j-0.1.0/docx4j_py/dml/__init__.py +2146 -0
- docx4j-0.1.0/docx4j_py/dml/chart/__init__.py +6138 -0
- docx4j-0.1.0/docx4j_py/dml/chart/el.py +1875 -0
- docx4j-0.1.0/docx4j_py/dml/chart_drawing/__init__.py +602 -0
- docx4j-0.1.0/docx4j_py/dml/chart_drawing/el.py +287 -0
- docx4j-0.1.0/docx4j_py/dml/compatibility/__init__.py +63 -0
- docx4j-0.1.0/docx4j_py/dml/compatibility/el.py +54 -0
- docx4j-0.1.0/docx4j_py/dml/diagram/__init__.py +3420 -0
- docx4j-0.1.0/docx4j_py/dml/diagram/el.py +704 -0
- docx4j-0.1.0/docx4j_py/dml/locked_canvas/__init__.py +50 -0
- docx4j-0.1.0/docx4j_py/dml/locked_canvas/el.py +54 -0
- docx4j-0.1.0/docx4j_py/dml/main/__init__.py +11378 -0
- docx4j-0.1.0/docx4j_py/dml/main/el.py +2864 -0
- docx4j-0.1.0/docx4j_py/dml/picture/__init__.py +115 -0
- docx4j-0.1.0/docx4j_py/dml/picture/el.py +101 -0
- docx4j-0.1.0/docx4j_py/dml/spreadsheet_drawing/__init__.py +820 -0
- docx4j-0.1.0/docx4j_py/dml/spreadsheet_drawing/el.py +337 -0
- docx4j-0.1.0/docx4j_py/dml/wordprocessing_drawing/__init__.py +717 -0
- docx4j-0.1.0/docx4j_py/dml/wordprocessing_drawing/el.py +195 -0
- docx4j-0.1.0/docx4j_py/docprops/__init__.py +414 -0
- docx4j-0.1.0/docx4j_py/docprops/core/__init__.py +221 -0
- docx4j-0.1.0/docx4j_py/docprops/core/el.py +54 -0
- docx4j-0.1.0/docx4j_py/docprops/custom/__init__.py +345 -0
- docx4j-0.1.0/docx4j_py/docprops/custom/el.py +63 -0
- docx4j-0.1.0/docx4j_py/docprops/dc/__init__.py +642 -0
- docx4j-0.1.0/docx4j_py/docprops/dc/el.py +189 -0
- docx4j-0.1.0/docx4j_py/docprops/dcmitype/__init__.py +54 -0
- docx4j-0.1.0/docx4j_py/docprops/dcmitype/el.py +47 -0
- docx4j-0.1.0/docx4j_py/docprops/dcterms/__init__.py +1195 -0
- docx4j-0.1.0/docx4j_py/docprops/dcterms/el.py +342 -0
- docx4j-0.1.0/docx4j_py/docprops/extended/__init__.py +304 -0
- docx4j-0.1.0/docx4j_py/docprops/extended/el.py +90 -0
- docx4j-0.1.0/docx4j_py/docprops/variant_types/__init__.py +1011 -0
- docx4j-0.1.0/docx4j_py/docprops/variant_types/el.py +360 -0
- docx4j-0.1.0/docx4j_py/docx/__init__.py +178 -0
- docx4j-0.1.0/docx4j_py/docx/_base.py +193 -0
- docx4j-0.1.0/docx4j_py/docx/comments.py +246 -0
- docx4j-0.1.0/docx4j_py/docx/coreprops.py +344 -0
- docx4j-0.1.0/docx4j_py/docx/document.py +264 -0
- docx4j-0.1.0/docx4j_py/docx/enums.py +420 -0
- docx4j-0.1.0/docx4j_py/docx/section.py +605 -0
- docx4j-0.1.0/docx4j_py/docx/settings.py +77 -0
- docx4j-0.1.0/docx4j_py/docx/shape.py +235 -0
- docx4j-0.1.0/docx4j_py/docx/shared.py +192 -0
- docx4j-0.1.0/docx4j_py/docx/styles.py +565 -0
- docx4j-0.1.0/docx4j_py/docx/table.py +853 -0
- docx4j-0.1.0/docx4j_py/docx/text.py +1839 -0
- docx4j-0.1.0/docx4j_py/el_index.py +147 -0
- docx4j-0.1.0/docx4j_py/fragments.py +263 -0
- docx4j-0.1.0/docx4j_py/inkml/__init__.py +1428 -0
- docx4j-0.1.0/docx4j_py/inkml/el.py +273 -0
- docx4j-0.1.0/docx4j_py/math/__init__.py +2875 -0
- docx4j-0.1.0/docx4j_py/math/el.py +1055 -0
- docx4j-0.1.0/docx4j_py/mathml/__init__.py +868 -0
- docx4j-0.1.0/docx4j_py/mathml/el.py +450 -0
- docx4j-0.1.0/docx4j_py/mce/__init__.py +171 -0
- docx4j-0.1.0/docx4j_py/mce/el.py +72 -0
- docx4j-0.1.0/docx4j_py/model/__init__.py +16 -0
- docx4j-0.1.0/docx4j_py/model/content/__init__.py +553 -0
- docx4j-0.1.0/docx4j_py/model/content/addresses.py +610 -0
- docx4j-0.1.0/docx4j_py/model/content/api_script.py +1275 -0
- docx4j-0.1.0/docx4j_py/model/content/body.py +1295 -0
- docx4j-0.1.0/docx4j_py/model/content/comments.py +1266 -0
- docx4j-0.1.0/docx4j_py/model/content/compatibility.py +270 -0
- docx4j-0.1.0/docx4j_py/model/content/controls.py +1094 -0
- docx4j-0.1.0/docx4j_py/model/content/describe.py +466 -0
- docx4j-0.1.0/docx4j_py/model/content/enums.py +215 -0
- docx4j-0.1.0/docx4j_py/model/content/errors.py +160 -0
- docx4j-0.1.0/docx4j_py/model/content/font.py +307 -0
- docx4j-0.1.0/docx4j_py/model/content/lists.py +1186 -0
- docx4j-0.1.0/docx4j_py/model/content/ooxml.py +469 -0
- docx4j-0.1.0/docx4j_py/model/content/paragraph.py +1661 -0
- docx4j-0.1.0/docx4j_py/model/content/picture.py +619 -0
- docx4j-0.1.0/docx4j_py/model/content/range.py +491 -0
- docx4j-0.1.0/docx4j_py/model/content/reports.py +1130 -0
- docx4j-0.1.0/docx4j_py/model/content/styles.py +692 -0
- docx4j-0.1.0/docx4j_py/model/content/table.py +1035 -0
- docx4j-0.1.0/docx4j_py/model/content/text_model.py +722 -0
- docx4j-0.1.0/docx4j_py/model/content/tracked_change.py +850 -0
- docx4j-0.1.0/docx4j_py/model/content/tracking.py +1149 -0
- docx4j-0.1.0/docx4j_py/model/content/trial.py +579 -0
- docx4j-0.1.0/docx4j_py/model/customxml/__init__.py +144 -0
- docx4j-0.1.0/docx4j_py/model/customxml/bindings.py +497 -0
- docx4j-0.1.0/docx4j_py/model/customxml/insert.py +216 -0
- docx4j-0.1.0/docx4j_py/model/customxml/kinds.py +682 -0
- docx4j-0.1.0/docx4j_py/model/customxml/mapping.py +249 -0
- docx4j-0.1.0/docx4j_py/model/customxml/nodes.py +720 -0
- docx4j-0.1.0/docx4j_py/model/customxml/parts.py +735 -0
- docx4j-0.1.0/docx4j_py/model/customxml/template.py +898 -0
- docx4j-0.1.0/docx4j_py/model/customxml/xpath.py +184 -0
- docx4j-0.1.0/docx4j_py/model/fonts/__init__.py +162 -0
- docx4j-0.1.0/docx4j_py/model/fonts/data.py +216 -0
- docx4j-0.1.0/docx4j_py/model/fonts/default_theme.py +95 -0
- docx4j-0.1.0/docx4j_py/model/fonts/fallback.py +328 -0
- docx4j-0.1.0/docx4j_py/model/fonts/fonts_in_use.py +238 -0
- docx4j-0.1.0/docx4j_py/model/fonts/language_tags.py +100 -0
- docx4j-0.1.0/docx4j_py/model/fonts/mapper.py +769 -0
- docx4j-0.1.0/docx4j_py/model/fonts/physical_font.py +83 -0
- docx4j-0.1.0/docx4j_py/model/fonts/registry.py +140 -0
- docx4j-0.1.0/docx4j_py/model/fonts/run_font_selector.py +661 -0
- docx4j-0.1.0/docx4j_py/model/fonts/scripts.py +167 -0
- docx4j-0.1.0/docx4j_py/model/fonts/theme_fonts.py +125 -0
- docx4j-0.1.0/docx4j_py/model/listnumbering/__init__.py +79 -0
- docx4j-0.1.0/docx4j_py/model/listnumbering/definitions.py +862 -0
- docx4j-0.1.0/docx4j_py/model/listnumbering/emulator.py +1049 -0
- docx4j-0.1.0/docx4j_py/model/listnumbering/formats.py +438 -0
- docx4j-0.1.0/docx4j_py/model/markdown/__init__.py +111 -0
- docx4j-0.1.0/docx4j_py/model/markdown/export.py +1071 -0
- docx4j-0.1.0/docx4j_py/model/markdown/importer.py +774 -0
- docx4j-0.1.0/docx4j_py/model/property_catalogue.py +1126 -0
- docx4j-0.1.0/docx4j_py/model/property_resolver.py +731 -0
- docx4j-0.1.0/docx4j_py/model/sessions.py +362 -0
- docx4j-0.1.0/docx4j_py/model/style_util.py +561 -0
- docx4j-0.1.0/docx4j_py/namespaces.py +384 -0
- docx4j-0.1.0/docx4j_py/oart/__init__.py +1358 -0
- docx4j-0.1.0/docx4j_py/oart/animation_2018/__init__.py +116 -0
- docx4j-0.1.0/docx4j_py/oart/animation_2018/el.py +54 -0
- docx4j-0.1.0/docx4j_py/oart/animation_model3d_2018/__init__.py +117 -0
- docx4j-0.1.0/docx4j_py/oart/animation_model3d_2018/el.py +85 -0
- docx4j-0.1.0/docx4j_py/oart/chart_2007/__init__.py +175 -0
- docx4j-0.1.0/docx4j_py/oart/chart_2007/el.py +119 -0
- docx4j-0.1.0/docx4j_py/oart/chart_2012/__init__.py +589 -0
- docx4j-0.1.0/docx4j_py/oart/chart_2012/el.py +436 -0
- docx4j-0.1.0/docx4j_py/oart/chart_2014/__init__.py +342 -0
- docx4j-0.1.0/docx4j_py/oart/chart_2014/el.py +197 -0
- docx4j-0.1.0/docx4j_py/oart/chart_2017_03/__init__.py +79 -0
- docx4j-0.1.0/docx4j_py/oart/chart_2017_03/el.py +63 -0
- docx4j-0.1.0/docx4j_py/oart/chart_ac_2014/__init__.py +50 -0
- docx4j-0.1.0/docx4j_py/oart/chart_ac_2014/el.py +54 -0
- docx4j-0.1.0/docx4j_py/oart/chart_drawing_2010/__init__.py +159 -0
- docx4j-0.1.0/docx4j_py/oart/chart_drawing_2010/el.py +112 -0
- docx4j-0.1.0/docx4j_py/oart/chart_style_2012/__init__.py +1105 -0
- docx4j-0.1.0/docx4j_py/oart/chart_style_2012/el.py +370 -0
- docx4j-0.1.0/docx4j_py/oart/chartex_2014/__init__.py +3077 -0
- docx4j-0.1.0/docx4j_py/oart/chartex_2014/el.py +954 -0
- docx4j-0.1.0/docx4j_py/oart/command_2013/__init__.py +683 -0
- docx4j-0.1.0/docx4j_py/oart/command_2013/el.py +163 -0
- docx4j-0.1.0/docx4j_py/oart/decorative_2017/__init__.py +63 -0
- docx4j-0.1.0/docx4j_py/oart/decorative_2017/el.py +54 -0
- docx4j-0.1.0/docx4j_py/oart/diagram_2008/__init__.py +267 -0
- docx4j-0.1.0/docx4j_py/oart/diagram_2008/el.py +188 -0
- docx4j-0.1.0/docx4j_py/oart/diagram_2010/__init__.py +72 -0
- docx4j-0.1.0/docx4j_py/oart/diagram_2010/el.py +63 -0
- docx4j-0.1.0/docx4j_py/oart/diagram_2016_11/__init__.py +161 -0
- docx4j-0.1.0/docx4j_py/oart/diagram_2016_11/el.py +72 -0
- docx4j-0.1.0/docx4j_py/oart/diagram_2016_12/__init__.py +60 -0
- docx4j-0.1.0/docx4j_py/oart/diagram_2016_12/el.py +63 -0
- docx4j-0.1.0/docx4j_py/oart/hyperlink_color_2018/__init__.py +69 -0
- docx4j-0.1.0/docx4j_py/oart/hyperlink_color_2018/el.py +54 -0
- docx4j-0.1.0/docx4j_py/oart/ink_action_2014/__init__.py +335 -0
- docx4j-0.1.0/docx4j_py/oart/ink_action_2014/el.py +110 -0
- docx4j-0.1.0/docx4j_py/oart/main_2010/__init__.py +1422 -0
- docx4j-0.1.0/docx4j_py/oart/main_2010/el.py +497 -0
- docx4j-0.1.0/docx4j_py/oart/main_2012/__init__.py +261 -0
- docx4j-0.1.0/docx4j_py/oart/main_2012/el.py +81 -0
- docx4j-0.1.0/docx4j_py/oart/main_2014/__init__.py +140 -0
- docx4j-0.1.0/docx4j_py/oart/main_2014/el.py +90 -0
- docx4j-0.1.0/docx4j_py/oart/main_2016_11/__init__.py +64 -0
- docx4j-0.1.0/docx4j_py/oart/main_2016_11/el.py +54 -0
- docx4j-0.1.0/docx4j_py/oart/model3d_2017/__init__.py +702 -0
- docx4j-0.1.0/docx4j_py/oart/model3d_2017/el.py +315 -0
- docx4j-0.1.0/docx4j_py/oart/picture_2010/__init__.py +60 -0
- docx4j-0.1.0/docx4j_py/oart/picture_2010/el.py +63 -0
- docx4j-0.1.0/docx4j_py/oart/spreadsheet_drawing_2010/__init__.py +159 -0
- docx4j-0.1.0/docx4j_py/oart/spreadsheet_drawing_2010/el.py +112 -0
- docx4j-0.1.0/docx4j_py/oart/svg_2016/__init__.py +71 -0
- docx4j-0.1.0/docx4j_py/oart/svg_2016/el.py +54 -0
- docx4j-0.1.0/docx4j_py/oart/theme_2012/__init__.py +91 -0
- docx4j-0.1.0/docx4j_py/oart/theme_2012/el.py +65 -0
- docx4j-0.1.0/docx4j_py/openpackaging/__init__.py +222 -0
- docx4j-0.1.0/docx4j_py/openpackaging/api.py +59 -0
- docx4j-0.1.0/docx4j_py/openpackaging/content_types.py +508 -0
- docx4j-0.1.0/docx4j_py/openpackaging/exceptions.py +47 -0
- docx4j-0.1.0/docx4j_py/openpackaging/load.py +256 -0
- docx4j-0.1.0/docx4j_py/openpackaging/mce.py +165 -0
- docx4j-0.1.0/docx4j_py/openpackaging/packages/__init__.py +28 -0
- docx4j-0.1.0/docx4j_py/openpackaging/packages/opc_package.py +465 -0
- docx4j-0.1.0/docx4j_py/openpackaging/packages/wordprocessingml_package.py +459 -0
- docx4j-0.1.0/docx4j_py/openpackaging/part_name.py +263 -0
- docx4j-0.1.0/docx4j_py/openpackaging/parts/__init__.py +54 -0
- docx4j-0.1.0/docx4j_py/openpackaging/parts/binary_part.py +189 -0
- docx4j-0.1.0/docx4j_py/openpackaging/parts/default_xml_part.py +171 -0
- docx4j-0.1.0/docx4j_py/openpackaging/parts/dml.py +244 -0
- docx4j-0.1.0/docx4j_py/openpackaging/parts/docprops.py +127 -0
- docx4j-0.1.0/docx4j_py/openpackaging/parts/namespaces.py +153 -0
- docx4j-0.1.0/docx4j_py/openpackaging/parts/part.py +194 -0
- docx4j-0.1.0/docx4j_py/openpackaging/parts/parts_map.py +75 -0
- docx4j-0.1.0/docx4j_py/openpackaging/parts/registry.py +311 -0
- docx4j-0.1.0/docx4j_py/openpackaging/parts/relationships_part.py +438 -0
- docx4j-0.1.0/docx4j_py/openpackaging/parts/wml/__init__.py +621 -0
- docx4j-0.1.0/docx4j_py/openpackaging/parts/wml/comments.py +353 -0
- docx4j-0.1.0/docx4j_py/openpackaging/parts/xml_part.py +397 -0
- docx4j-0.1.0/docx4j_py/openpackaging/resources.py +35 -0
- docx4j-0.1.0/docx4j_py/openpackaging/save.py +100 -0
- docx4j-0.1.0/docx4j_py/openpackaging/stores.py +602 -0
- docx4j-0.1.0/docx4j_py/py.typed +0 -0
- docx4j-0.1.0/docx4j_py/relationships/__init__.py +98 -0
- docx4j-0.1.0/docx4j_py/relationships/el.py +63 -0
- docx4j-0.1.0/docx4j_py/resources/KnownStyles.xml +2225 -0
- docx4j-0.1.0/docx4j_py/resources/__init__.py +10 -0
- docx4j-0.1.0/docx4j_py/resources/fonts/__init__.py +9 -0
- docx4j-0.1.0/docx4j_py/resources/fonts/families.json +754 -0
- docx4j-0.1.0/docx4j_py/resources/fonts/registry.json +183 -0
- docx4j-0.1.0/docx4j_py/resources/fonts/substitutions.json +2649 -0
- docx4j-0.1.0/docx4j_py/resources/fonts/theme-2007.xml +2 -0
- docx4j-0.1.0/docx4j_py/resources/fonts/theme-2013.xml +2 -0
- docx4j-0.1.0/docx4j_py/resources/fonts/theme-2023.xml +2 -0
- docx4j-0.1.0/docx4j_py/resources/openpackaging/__init__.py +6 -0
- docx4j-0.1.0/docx4j_py/resources/openpackaging/fontTable.xml +2 -0
- docx4j-0.1.0/docx4j_py/resources/openpackaging/numbering.xml +208 -0
- docx4j-0.1.0/docx4j_py/resources/openpackaging/styles.xml +497 -0
- docx4j-0.1.0/docx4j_py/resources/warmup_document.xml +168 -0
- docx4j-0.1.0/docx4j_py/resources/warmup_styles.xml +48 -0
- docx4j-0.1.0/docx4j_py/runtime.py +235 -0
- docx4j-0.1.0/docx4j_py/shared_types/__init__.py +67 -0
- docx4j-0.1.0/docx4j_py/shared_types/el.py +47 -0
- docx4j-0.1.0/docx4j_py/traversal.py +537 -0
- docx4j-0.1.0/docx4j_py/w14/__init__.py +1714 -0
- docx4j-0.1.0/docx4j_py/w14/el.py +604 -0
- docx4j-0.1.0/docx4j_py/w15/__init__.py +358 -0
- docx4j-0.1.0/docx4j_py/w15/el.py +207 -0
- docx4j-0.1.0/docx4j_py/w15symex/__init__.py +71 -0
- docx4j-0.1.0/docx4j_py/w15symex/el.py +54 -0
- docx4j-0.1.0/docx4j_py/w16cid/__init__.py +96 -0
- docx4j-0.1.0/docx4j_py/w16cid/el.py +63 -0
- docx4j-0.1.0/docx4j_py/wml/__init__.py +23326 -0
- docx4j-0.1.0/docx4j_py/wml/builders.py +730 -0
- docx4j-0.1.0/docx4j_py/wml/el.py +5880 -0
- docx4j-0.1.0/docx4j_py/wml/pictures.py +371 -0
- docx4j-0.1.0/docx4j_py/wml/sdt.py +465 -0
- docx4j-0.1.0/docx4j_py/wne/__init__.py +614 -0
- docx4j-0.1.0/docx4j_py/wne/el.py +208 -0
- docx4j-0.1.0/docx4j_py/word/__init__.py +114 -0
- docx4j-0.1.0/docx4j_py/word/msink/__init__.py +345 -0
- docx4j-0.1.0/docx4j_py/word/msink/el.py +78 -0
- docx4j-0.1.0/docx4j_py/word/wp14/__init__.py +140 -0
- docx4j-0.1.0/docx4j_py/word/wp14/el.py +81 -0
- docx4j-0.1.0/docx4j_py/word/wp15/__init__.py +79 -0
- docx4j-0.1.0/docx4j_py/word/wp15/el.py +54 -0
- docx4j-0.1.0/docx4j_py/word/wpc/__init__.py +130 -0
- docx4j-0.1.0/docx4j_py/word/wpc/el.py +94 -0
- docx4j-0.1.0/docx4j_py/word/wpg/__init__.py +179 -0
- docx4j-0.1.0/docx4j_py/word/wpg/el.py +128 -0
- docx4j-0.1.0/docx4j_py/word/wps/__init__.py +215 -0
- docx4j-0.1.0/docx4j_py/word/wps/el.py +137 -0
- docx4j-0.1.0/docx4j_py/xml_ns/__init__.py +50 -0
- docx4j-0.1.0/docx4j_py/xml_ns/el.py +47 -0
- docx4j-0.1.0/pyproject.toml +124 -0
- docx4j-0.1.0/samples/2010-glow-then-AlternateContent.docx +0 -0
- docx4j-0.1.0/samples/2010-mcAlternateContent-in-header.docx +0 -0
- docx4j-0.1.0/samples/2010-sample1.docx +0 -0
- docx4j-0.1.0/samples/2016_image_with_text_effects.docx +0 -0
- docx4j-0.1.0/samples/DrawingML_GraphicData_wps.docx +0 -0
- docx4j-0.1.0/samples/Headers.docx +0 -0
- docx4j-0.1.0/samples/Images.docx +0 -0
- docx4j-0.1.0/samples/Normal.dotm +0 -0
- docx4j-0.1.0/samples/Symbols.docx +0 -0
- docx4j-0.1.0/samples/invoice2013.docx +0 -0
- docx4j-0.1.0/samples/loadAndSave.pptx +0 -0
- docx4j-0.1.0/samples/loadAndSave.xlsx +0 -0
- docx4j-0.1.0/samples/sample-docx.docx +0 -0
- docx4j-0.1.0/samples/tables.docx +0 -0
- docx4j-0.1.0/samples/toc.docx +0 -0
- docx4j-0.1.0/samples/w14_texteffects.docx +0 -0
- docx4j-0.1.0/schemas/PATCHES.md +203 -0
- docx4j-0.1.0/schemas/customXml/shared-customXmlSchemaProperties.xsd +56 -0
- docx4j-0.1.0/schemas/dml/dml-audioVideo.xsd +91 -0
- docx4j-0.1.0/schemas/dml/dml-baseStylesheet.xsd +427 -0
- docx4j-0.1.0/schemas/dml/dml-baseTypes.xsd +1798 -0
- docx4j-0.1.0/schemas/dml/dml-chart.xsd +3892 -0
- docx4j-0.1.0/schemas/dml/dml-chartDrawing.xsd +355 -0
- docx4j-0.1.0/schemas/dml/dml-compatibility.xsd +34 -0
- docx4j-0.1.0/schemas/dml/dml-diagramColorTransform.xsd +323 -0
- docx4j-0.1.0/schemas/dml/dml-diagramDataModel.xsd +219 -0
- docx4j-0.1.0/schemas/dml/dml-diagramDefinition.xsd +952 -0
- docx4j-0.1.0/schemas/dml/dml-diagramDrawing.xsd +97 -0
- docx4j-0.1.0/schemas/dml/dml-diagramElementPropertySet.xsd +166 -0
- docx4j-0.1.0/schemas/dml/dml-diagramLayoutVariables.xsd +233 -0
- docx4j-0.1.0/schemas/dml/dml-diagramStyleDefinition.xsd +261 -0
- docx4j-0.1.0/schemas/dml/dml-diagramTypes.xsd +1859 -0
- docx4j-0.1.0/schemas/dml/dml-documentProperties.xsd +272 -0
- docx4j-0.1.0/schemas/dml/dml-graphicalObject.xsd +93 -0
- docx4j-0.1.0/schemas/dml/dml-graphicalObjectAnimation.xsd +212 -0
- docx4j-0.1.0/schemas/dml/dml-graphicalObjectFormat.xsd +21 -0
- docx4j-0.1.0/schemas/dml/dml-gvml.xsd +206 -0
- docx4j-0.1.0/schemas/dml/dml-lockedCanvas.xsd +25 -0
- docx4j-0.1.0/schemas/dml/dml-picture.xsd +71 -0
- docx4j-0.1.0/schemas/dml/dml-shape3DCamera.xsd +354 -0
- docx4j-0.1.0/schemas/dml/dml-shape3DLighting.xsd +212 -0
- docx4j-0.1.0/schemas/dml/dml-shape3DScene.xsd +26 -0
- docx4j-0.1.0/schemas/dml/dml-shape3DScenePlane.xsd +24 -0
- docx4j-0.1.0/schemas/dml/dml-shape3DStyles.xsd +236 -0
- docx4j-0.1.0/schemas/dml/dml-shapeEffects.xsd +1349 -0
- docx4j-0.1.0/schemas/dml/dml-shapeGeometry.xsd +1618 -0
- docx4j-0.1.0/schemas/dml/dml-shapeLineProperties.xsd +372 -0
- docx4j-0.1.0/schemas/dml/dml-shapeMiscellaneous.xsd +10 -0
- docx4j-0.1.0/schemas/dml/dml-shapeProperties.xsd +47 -0
- docx4j-0.1.0/schemas/dml/dml-shapeStyle.xsd +36 -0
- docx4j-0.1.0/schemas/dml/dml-spreadsheetDrawing.xsd +455 -0
- docx4j-0.1.0/schemas/dml/dml-styleDefaults.xsd +39 -0
- docx4j-0.1.0/schemas/dml/dml-stylesheet.xsd +231 -0
- docx4j-0.1.0/schemas/dml/dml-table.xsd +239 -0
- docx4j-0.1.0/schemas/dml/dml-tableStyle.xsd +303 -0
- docx4j-0.1.0/schemas/dml/dml-text.xsd +388 -0
- docx4j-0.1.0/schemas/dml/dml-textBullet.xsd +353 -0
- docx4j-0.1.0/schemas/dml/dml-textCharacter.xsd +557 -0
- docx4j-0.1.0/schemas/dml/dml-textParagraph.xsd +350 -0
- docx4j-0.1.0/schemas/dml/dml-textRun.xsd +18 -0
- docx4j-0.1.0/schemas/dml/dml-wordprocessingDrawing.xsd +843 -0
- docx4j-0.1.0/schemas/dml/dml__ROOT.xsd +224 -0
- docx4j-0.1.0/schemas/docProps/dc.xsd +144 -0
- docx4j-0.1.0/schemas/docProps/dcmitype.xsd +68 -0
- docx4j-0.1.0/schemas/docProps/dcterms.xsd +348 -0
- docx4j-0.1.0/schemas/docProps/opc-coreProperties.xsd +68 -0
- docx4j-0.1.0/schemas/docProps/shared-documentPropertiesCustom.xsd +338 -0
- docx4j-0.1.0/schemas/docProps/shared-documentPropertiesExtended.xsd +298 -0
- docx4j-0.1.0/schemas/docProps/shared-documentPropertiesVariantTypes.xsd +949 -0
- docx4j-0.1.0/schemas/docx4j_python__ROOT.xsd +38 -0
- docx4j-0.1.0/schemas/mce/markup-compatibility-2006-MINIMAL.xsd +105 -0
- docx4j-0.1.0/schemas/odrawxml/chart20070802.xsd +83 -0
- docx4j-0.1.0/schemas/odrawxml/chartDrawing2010.xsd +63 -0
- docx4j-0.1.0/schemas/odrawxml/ink2010.xsd +143 -0
- docx4j-0.1.0/schemas/odrawxml/inkml-mathml2-subset.xsd +265 -0
- docx4j-0.1.0/schemas/odrawxml/inkml.xsd +897 -0
- docx4j-0.1.0/schemas/odrawxml/oart14docprop.xsd +332 -0
- docx4j-0.1.0/schemas/odrawxml/oartdrawingchart2012.xsd +160 -0
- docx4j-0.1.0/schemas/odrawxml/oartdrawingchartyle2012.xsd +204 -0
- docx4j-0.1.0/schemas/odrawxml/oartdrawingdiagram2010.xsd +40 -0
- docx4j-0.1.0/schemas/odrawxml/oartdrawingmain2012.xsd +81 -0
- docx4j-0.1.0/schemas/odrawxml/oartdrawingpicture2010.xsd +36 -0
- docx4j-0.1.0/schemas/odrawxml/oartthememain2012.xsd +49 -0
- docx4j-0.1.0/schemas/odrawxml/oartwordcanvas.xsd +65 -0
- docx4j-0.1.0/schemas/odrawxml/oartwordcontentpart.xsd +56 -0
- docx4j-0.1.0/schemas/odrawxml/oartworddrawing2010.xsd +82 -0
- docx4j-0.1.0/schemas/odrawxml/oartworddrawing2012.xsd +44 -0
- docx4j-0.1.0/schemas/odrawxml/oartwordgroup.xsd +74 -0
- docx4j-0.1.0/schemas/odrawxml/oartwordshape.xsd +85 -0
- docx4j-0.1.0/schemas/odrawxml/office_drawing_2013_main_command.xsd +259 -0
- docx4j-0.1.0/schemas/odrawxml/office_drawing_2014_chart.xsd +100 -0
- docx4j-0.1.0/schemas/odrawxml/office_drawing_2014_chart_ac.xsd +31 -0
- docx4j-0.1.0/schemas/odrawxml/office_drawing_2014_chartex.xsd +893 -0
- docx4j-0.1.0/schemas/odrawxml/office_drawing_2014_main.xsd +49 -0
- docx4j-0.1.0/schemas/odrawxml/office_drawing_2016_11_diagram.xsd +59 -0
- docx4j-0.1.0/schemas/odrawxml/office_drawing_2016_11_main.xsd +38 -0
- docx4j-0.1.0/schemas/odrawxml/office_drawing_2016_12_diagram.xsd +34 -0
- docx4j-0.1.0/schemas/odrawxml/office_drawing_2016_SVG_main.xsd +38 -0
- docx4j-0.1.0/schemas/odrawxml/office_drawing_2016_ink.xsd +46 -0
- docx4j-0.1.0/schemas/odrawxml/office_drawing_2017_03_chart_.xsd +43 -0
- docx4j-0.1.0/schemas/odrawxml/office_drawing_2017_decorative.xsd +33 -0
- docx4j-0.1.0/schemas/odrawxml/office_drawing_2017_model3d.xsd +183 -0
- docx4j-0.1.0/schemas/odrawxml/office_drawing_2018_animation.xsd +56 -0
- docx4j-0.1.0/schemas/odrawxml/office_drawing_2018_animation_model3d.xsd +51 -0
- docx4j-0.1.0/schemas/odrawxml/office_drawing_2018_hyperlinkcolor.xsd +36 -0
- docx4j-0.1.0/schemas/odrawxml/office_powerpoint_2014_inkAction.xsd +144 -0
- docx4j-0.1.0/schemas/odrawxml/spreadsheetDrawing2010.xsd +62 -0
- docx4j-0.1.0/schemas/offmacro/office-word-2006-wordml.xsd +235 -0
- docx4j-0.1.0/schemas/relationships.xsd +83 -0
- docx4j-0.1.0/schemas/shared/shared-commonSimpleTypes.xsd +366 -0
- docx4j-0.1.0/schemas/shared/shared-math-2ed.xsd +1585 -0
- docx4j-0.1.0/schemas/shared/shared-relationshipReference.xsd +54 -0
- docx4j-0.1.0/schemas/wml/w14_word_2010_wordml.xsd +646 -0
- docx4j-0.1.0/schemas/wml/w15_word_2012_wordml.xsd +136 -0
- docx4j-0.1.0/schemas/wml/w15symex.xsd +32 -0
- docx4j-0.1.0/schemas/wml/w16cid.xsd +54 -0
- docx4j-0.1.0/schemas/wml/w16du.xsd +34 -0
- docx4j-0.1.0/schemas/wml/w16sdtdh.xsd +37 -0
- docx4j-0.1.0/schemas/wml/w16sdtfl.xsd +37 -0
- docx4j-0.1.0/schemas/wml/wml.xsd +15557 -0
- docx4j-0.1.0/schemas/wml/wml__ROOT.xsd +19 -0
- docx4j-0.1.0/schemas/wml/xml.xsd +157 -0
- docx4j-0.1.0/scripts/acceptance.py +672 -0
- docx4j-0.1.0/scripts/bench.py +96 -0
- docx4j-0.1.0/scripts/bench_marshal.py +151 -0
- docx4j-0.1.0/scripts/canon.py +278 -0
- docx4j-0.1.0/scripts/checks.py +153 -0
- docx4j-0.1.0/scripts/compare_acceptance.py +102 -0
- docx4j-0.1.0/scripts/generate_fonts.py +375 -0
- docx4j-0.1.0/scripts/office_js_subset.py +319 -0
- docx4j-0.1.0/scripts/parents.py +220 -0
- docx4j-0.1.0/scripts/python_docx_subset.py +304 -0
- docx4j-0.1.0/scripts/release_check.sh +260 -0
- docx4j-0.1.0/scripts/reproduce.sh +47 -0
- docx4j-0.1.0/scripts/roundtrip.py +485 -0
- docx4j-0.1.0/scripts/threads.py +340 -0
- docx4j-0.1.0/tests/README.md +301 -0
- docx4j-0.1.0/tests/agent/conftest.py +125 -0
- docx4j-0.1.0/tests/agent/test_addresses.py +175 -0
- docx4j-0.1.0/tests/agent/test_api_script_workflows.py +120 -0
- docx4j-0.1.0/tests/agent/test_audit_trail.py +160 -0
- docx4j-0.1.0/tests/agent/test_budgets.py +103 -0
- docx4j-0.1.0/tests/agent/test_change_report.py +216 -0
- docx4j-0.1.0/tests/agent/test_comment_workflows.py +177 -0
- docx4j-0.1.0/tests/agent/test_docx_facade_workflows.py +335 -0
- docx4j-0.1.0/tests/agent/test_dry_run.py +94 -0
- docx4j-0.1.0/tests/agent/test_errors.py +103 -0
- docx4j-0.1.0/tests/agent/test_find_and_describe.py +157 -0
- docx4j-0.1.0/tests/agent/test_list_workflows.py +150 -0
- docx4j-0.1.0/tests/agent/test_markdown_workflows.py +270 -0
- docx4j-0.1.0/tests/agent/test_outline.py +159 -0
- docx4j-0.1.0/tests/agent/test_scenarios.py +174 -0
- docx4j-0.1.0/tests/agent/test_sessions.py +176 -0
- docx4j-0.1.0/tests/agent/test_tables_and_pictures.py +194 -0
- docx4j-0.1.0/tests/agent/test_template_workflows.py +591 -0
- docx4j-0.1.0/tests/content/conftest.py +235 -0
- docx4j-0.1.0/tests/content/goldens.py +219 -0
- docx4j-0.1.0/tests/content/test_api_script.py +650 -0
- docx4j-0.1.0/tests/content/test_body.py +198 -0
- docx4j-0.1.0/tests/content/test_comments.py +513 -0
- docx4j-0.1.0/tests/content/test_compatibility.py +230 -0
- docx4j-0.1.0/tests/content/test_controls.py +281 -0
- docx4j-0.1.0/tests/content/test_controls_typed.py +622 -0
- docx4j-0.1.0/tests/content/test_customxml.py +414 -0
- docx4j-0.1.0/tests/content/test_docx_facade.py +1281 -0
- docx4j-0.1.0/tests/content/test_errors_and_parts.py +161 -0
- docx4j-0.1.0/tests/content/test_font.py +147 -0
- docx4j-0.1.0/tests/content/test_fonts.py +380 -0
- docx4j-0.1.0/tests/content/test_fonts_goldens.py +112 -0
- docx4j-0.1.0/tests/content/test_listnumbering.py +405 -0
- docx4j-0.1.0/tests/content/test_lists.py +712 -0
- docx4j-0.1.0/tests/content/test_markdown.py +676 -0
- docx4j-0.1.0/tests/content/test_numbering_goldens.py +252 -0
- docx4j-0.1.0/tests/content/test_office_js_subset.py +285 -0
- docx4j-0.1.0/tests/content/test_ooxml.py +277 -0
- docx4j-0.1.0/tests/content/test_paragraph.py +405 -0
- docx4j-0.1.0/tests/content/test_picture.py +255 -0
- docx4j-0.1.0/tests/content/test_properties.py +305 -0
- docx4j-0.1.0/tests/content/test_properties_goldens.py +186 -0
- docx4j-0.1.0/tests/content/test_python_docx_parity.py +315 -0
- docx4j-0.1.0/tests/content/test_python_docx_subset.py +255 -0
- docx4j-0.1.0/tests/content/test_range.py +165 -0
- docx4j-0.1.0/tests/content/test_table.py +400 -0
- docx4j-0.1.0/tests/content/test_text_model.py +221 -0
- docx4j-0.1.0/tests/content/test_tracking.py +1200 -0
- docx4j-0.1.0/tests/fixtures/HelloWordOnline.docx +0 -0
- docx4j-0.1.0/tests/fixtures/Mac_OSX_Fonts.docx +0 -0
- docx4j-0.1.0/tests/fixtures/NumberingImplicitNumId.docx +0 -0
- docx4j-0.1.0/tests/fixtures/NumberingIndents.docx +0 -0
- docx4j-0.1.0/tests/fixtures/article-section-NotIsLgl.docx +0 -0
- docx4j-0.1.0/tests/fixtures/article-section-isLgl.docx +0 -0
- docx4j-0.1.0/tests/fixtures/comments-modern.docx +0 -0
- docx4j-0.1.0/tests/fixtures/comments-two.docx +0 -0
- docx4j-0.1.0/tests/fixtures/comments.docx +0 -0
- docx4j-0.1.0/tests/fixtures/fonts-author-had.docx +0 -0
- docx4j-0.1.0/tests/fixtures/fonts-cjk-linebox.docx +0 -0
- docx4j-0.1.0/tests/fixtures/fonts-cs-off.docx +0 -0
- docx4j-0.1.0/tests/fixtures/fonts-georgia.docx +0 -0
- docx4j-0.1.0/tests/fixtures/fonts-hebrew-no-cs.docx +0 -0
- docx4j-0.1.0/tests/fixtures/fonts-light-bold.docx +0 -0
- docx4j-0.1.0/tests/fixtures/fonts-missing-slots.docx +0 -0
- docx4j-0.1.0/tests/fixtures/fonts-modesOfApplication.docx +0 -0
- docx4j-0.1.0/tests/fixtures/fonts-segoe-ui.docx +0 -0
- docx4j-0.1.0/tests/fixtures/fonts-space-cjk.docx +0 -0
- docx4j-0.1.0/tests/fixtures/fonts-symbol-and-emoji.docx +0 -0
- docx4j-0.1.0/tests/fixtures/fonts-theme-lang.docx +0 -0
- docx4j-0.1.0/tests/fixtures/fonts-unresolvable.docx +0 -0
- docx4j-0.1.0/tests/fixtures/footnotes.docx +0 -0
- docx4j-0.1.0/tests/fixtures/header-no-rels.docx +0 -0
- docx4j-0.1.0/tests/fixtures/hyperlink.docx +0 -0
- docx4j-0.1.0/tests/fixtures/hyperlink_dupe.docx +0 -0
- docx4j-0.1.0/tests/fixtures/invoice.docx +0 -0
- docx4j-0.1.0/tests/fixtures/invoice2013.docx +0 -0
- docx4j-0.1.0/tests/fixtures/lists.docx +0 -0
- docx4j-0.1.0/tests/fixtures/loadAndSave.docx +0 -0
- docx4j-0.1.0/tests/fixtures/nested-table.docx +0 -0
- docx4j-0.1.0/tests/fixtures/numbering-default-style-numbered.docx +0 -0
- docx4j-0.1.0/tests/fixtures/numbering-label-ilvl0.docx +0 -0
- docx4j-0.1.0/tests/fixtures/numbering-leader-kinds.docx +0 -0
- docx4j-0.1.0/tests/fixtures/numbering-level-pstyle-in-ppr.docx +0 -0
- docx4j-0.1.0/tests/fixtures/numbering-level-vs-style-indent.docx +0 -0
- docx4j-0.1.0/tests/fixtures/numbering-lvlrestart.docx +0 -0
- docx4j-0.1.0/tests/fixtures/numbering-numstylelink-separate.docx +0 -0
- docx4j-0.1.0/tests/fixtures/numbering-override-rpr.docx +0 -0
- docx4j-0.1.0/tests/fixtures/numbering-shared-abstract.docx +0 -0
- docx4j-0.1.0/tests/fixtures/numbering-stories-coretests.docx +0 -0
- docx4j-0.1.0/tests/fixtures/numbering-stories.docx +0 -0
- docx4j-0.1.0/tests/fixtures/numbering_indentation_firstline.docx +0 -0
- docx4j-0.1.0/tests/fixtures/startOverride.docx +0 -0
- docx4j-0.1.0/tests/fixtures/styles-default-pstyle.docx +0 -0
- docx4j-0.1.0/tests/fixtures/styles-linerule.docx +0 -0
- docx4j-0.1.0/tests/fixtures/styles-no-size-anywhere.docx +0 -0
- docx4j-0.1.0/tests/fixtures/styles-numpr-ilvl-only.docx +0 -0
- docx4j-0.1.0/tests/fixtures/styles-table-default.docx +0 -0
- docx4j-0.1.0/tests/fixtures/tracked-changes.docx +0 -0
- docx4j-0.1.0/tests/fixtures/tracked-pprchange.docx +0 -0
- docx4j-0.1.0/tests/fixtures/unknown_content.xml +31 -0
- docx4j-0.1.0/tests/office_js_subset.json +2144 -0
- docx4j-0.1.0/tests/openpackaging/test_content_types.py +274 -0
- docx4j-0.1.0/tests/openpackaging/test_docprops_defaults.py +65 -0
- docx4j-0.1.0/tests/openpackaging/test_marshal_one_pass.py +186 -0
- docx4j-0.1.0/tests/openpackaging/test_mce.py +344 -0
- docx4j-0.1.0/tests/openpackaging/test_part_name.py +212 -0
- docx4j-0.1.0/tests/openpackaging/test_parts_and_relationships.py +481 -0
- docx4j-0.1.0/tests/openpackaging/test_round_trip.py +368 -0
- docx4j-0.1.0/tests/openpackaging/test_threads_and_import.py +205 -0
- docx4j-0.1.0/tests/python_docx_subset.json +2874 -0
- docx4j-0.1.0/tests/test_builders.py +316 -0
- docx4j-0.1.0/tests/test_builders_phase_a.py +975 -0
- docx4j-0.1.0/tests/test_child.py +547 -0
- docx4j-0.1.0/tests/test_codegen_el.py +201 -0
- docx4j-0.1.0/tests/test_el.py +356 -0
- docx4j-0.1.0/tests/test_fragments.py +214 -0
- docx4j-0.1.0/tests/test_names.py +171 -0
- docx4j-0.1.0/tests/test_performance.py +166 -0
- docx4j-0.1.0/tests/test_readme.py +215 -0
- docx4j-0.1.0/tests/test_roundtrip.py +98 -0
- docx4j-0.1.0/tests/test_runtime.py +241 -0
- docx4j-0.1.0/tests/test_skipped_report.py +155 -0
- docx4j-0.1.0/tests/test_threads.py +141 -0
- docx4j-0.1.0/tests/test_traversal.py +278 -0
docx4j-0.1.0/.gitignore
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
# virtual environments
|
|
2
|
+
.venv/
|
|
3
|
+
.venv-fork/
|
|
4
|
+
# python
|
|
5
|
+
__pycache__/
|
|
6
|
+
*.pyc
|
|
7
|
+
.pytest_cache/
|
|
8
|
+
*.egg-info/
|
|
9
|
+
# generated at run time
|
|
10
|
+
out/
|
|
11
|
+
.claude/
|
|
12
|
+
# the unmodified-xsdata output of the first experiment; reproducible from .xsdata.xml with upstream xsdata 26.2
|
|
13
|
+
baseline/
|
|
14
|
+
# the build (python -m build, scripts/release_check.sh)
|
|
15
|
+
dist/
|
|
@@ -0,0 +1,164 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<!--
|
|
3
|
+
CR-001 Phase B generator configuration: WML as one module per namespace, under
|
|
4
|
+
short docx4j-style package names, every class a docx4j_py.child.Child, every
|
|
5
|
+
list a docx4j_py.child.ChildList.
|
|
6
|
+
|
|
7
|
+
.venv-fork/bin/docx4j-xsdata generate -c .xsdata.phase-b.xml schemas/wml/wml.xsd
|
|
8
|
+
|
|
9
|
+
See codegen/README.md. The old .xsdata.xml is kept as-is: it is the clusters
|
|
10
|
+
layout that produced the unmodified-xsdata baseline in baseline/docx4j_py/generated.
|
|
11
|
+
-->
|
|
12
|
+
<Config xmlns="http://pypi.org/project/xsdata" version="26.2">
|
|
13
|
+
<Output maxLineLength="99" genericCollections="false">
|
|
14
|
+
<Package>docx4j_py</Package>
|
|
15
|
+
<Format repr="true" eq="true" order="false" unsafeHash="false" frozen="false" slots="true">dataclasses</Format>
|
|
16
|
+
<Structure>namespaces</Structure>
|
|
17
|
+
<DocstringStyle>Blank</DocstringStyle>
|
|
18
|
+
<RelativeImports>false</RelativeImports>
|
|
19
|
+
<CompoundFields defaultName="content" useSubstitutionGroups="true" forceDefaultName="false" maxNameParts="3">true</CompoundFields>
|
|
20
|
+
<WrapperFields>false</WrapperFields>
|
|
21
|
+
<UnnestClasses>true</UnnestClasses>
|
|
22
|
+
<IgnorePatterns>false</IgnorePatterns>
|
|
23
|
+
<IncludeHeader>false</IncludeHeader>
|
|
24
|
+
<AllOptional>true</AllOptional>
|
|
25
|
+
<SchemaDefaults>metadata</SchemaDefaults>
|
|
26
|
+
<ListFactory>docx4j_py.child.ChildList</ListFactory>
|
|
27
|
+
<DeferredImports>true</DeferredImports>
|
|
28
|
+
<ClassNames>codegen/names</ClassNames>
|
|
29
|
+
</Output>
|
|
30
|
+
<Conventions>
|
|
31
|
+
<ClassName case="pascalCase" safePrefix="type"/>
|
|
32
|
+
<FieldName case="snakeCase" safePrefix="value"/>
|
|
33
|
+
<ConstantName case="screamingSnakeCase" safePrefix="value"/>
|
|
34
|
+
<ModuleName case="snakeCase" safePrefix="mod"/>
|
|
35
|
+
<PackageName case="snakeCase" safePrefix="pkg"/>
|
|
36
|
+
</Conventions>
|
|
37
|
+
<Substitutions>
|
|
38
|
+
<!--
|
|
39
|
+
One entry per namespace in WML's import closure. The search must fullmatch
|
|
40
|
+
the namespace URI; the replacement is a dotted path appended to <Package>,
|
|
41
|
+
whose LAST segment becomes the module name and the rest the package. So
|
|
42
|
+
"dml.main" is docx4j_py/dml/main.py and "wml" is docx4j_py/wml.py.
|
|
43
|
+
|
|
44
|
+
Names follow org.docx4j.* where that reads well in Python (wml, dml, math,
|
|
45
|
+
mce, relationships, w14, w15), and the ECMA/docx4j prefix where the Java
|
|
46
|
+
package is the machine-generated com.microsoft.schemas.* form (wps, wpg,
|
|
47
|
+
wpc, wne, cx, a14, ...). The Microsoft drawing extension namespaces are
|
|
48
|
+
collected under docx4j_py.oart, as docx4j collects their schemas in
|
|
49
|
+
xsd/odrawxml.
|
|
50
|
+
|
|
51
|
+
This table also disposes of the namespaces-layout shadowing bug (fork
|
|
52
|
+
CHANGES.md, upstream report 4): .../2018/animation is a prefix of
|
|
53
|
+
.../2018/animation/model3d, which without a substitution produces
|
|
54
|
+
oart/animation.py next to oart/animation/, and the package hides the
|
|
55
|
+
module. They are named animation_2018 and animation_model3d_2018 here, so
|
|
56
|
+
no module and package can collide and no module-name substitution is
|
|
57
|
+
needed.
|
|
58
|
+
-->
|
|
59
|
+
<Substitution type="package" search="http://www.w3.org/2001/XMLSchema" replace="xs"/>
|
|
60
|
+
<Substitution type="package" search="http://www.w3.org/2001/XMLSchema-instance" replace="xsi"/>
|
|
61
|
+
<Substitution type="package" search="http://www.w3.org/XML/1998/namespace" replace="xml_ns"/>
|
|
62
|
+
<Substitution type="package" search="http://www.w3.org/1998/Math/MathML" replace="mathml"/>
|
|
63
|
+
<Substitution type="package" search="http://www.w3.org/2003/InkML" replace="inkml"/>
|
|
64
|
+
|
|
65
|
+
<!-- ECMA-376 -->
|
|
66
|
+
<Substitution type="package" search="http://schemas.openxmlformats.org/wordprocessingml/2006/main" replace="wml"/>
|
|
67
|
+
<Substitution type="package" search="http://schemas.openxmlformats.org/officeDocument/2006/math" replace="math"/>
|
|
68
|
+
<Substitution type="package" search="http://schemas.openxmlformats.org/officeDocument/2006/relationships" replace="relationships_r"/>
|
|
69
|
+
|
|
70
|
+
<!--
|
|
71
|
+
CR-002 section 9: the package relationships part and the three docProps
|
|
72
|
+
parts. docx4j calls them org.docx4j.relationships, org.docx4j.docProps.core
|
|
73
|
+
(with .core.dc.elements, .core.dc.terms), .extended, .custom and
|
|
74
|
+
.variantTypes; the Dublin Core packages are flattened one level here
|
|
75
|
+
because in Python `docprops.core` cannot be both a module and a package.
|
|
76
|
+
-->
|
|
77
|
+
<Substitution type="package" search="http://schemas.openxmlformats.org/package/2006/relationships" replace="relationships"/>
|
|
78
|
+
<Substitution type="package" search="http://schemas.openxmlformats.org/package/2006/metadata/core-properties" replace="docprops.core"/>
|
|
79
|
+
<Substitution type="package" search="http://schemas.openxmlformats.org/officeDocument/2006/extended-properties" replace="docprops.extended"/>
|
|
80
|
+
<Substitution type="package" search="http://schemas.openxmlformats.org/officeDocument/2006/custom-properties" replace="docprops.custom"/>
|
|
81
|
+
<Substitution type="package" search="http://schemas.openxmlformats.org/officeDocument/2006/docPropsVTypes" replace="docprops.variant_types"/>
|
|
82
|
+
<Substitution type="package" search="http://purl.org/dc/elements/1.1/" replace="docprops.dc"/>
|
|
83
|
+
<Substitution type="package" search="http://purl.org/dc/terms/" replace="docprops.dcterms"/>
|
|
84
|
+
<Substitution type="package" search="http://purl.org/dc/dcmitype/" replace="docprops.dcmitype"/>
|
|
85
|
+
<Substitution type="package" search="http://schemas.openxmlformats.org/officeDocument/2006/sharedTypes" replace="shared_types"/>
|
|
86
|
+
<Substitution type="package" search="http://schemas.openxmlformats.org/markup-compatibility/2006" replace="mce"/>
|
|
87
|
+
<Substitution type="package" search="http://schemas.openxmlformats.org/schemaLibrary/2006/main" replace="customxml"/>
|
|
88
|
+
<Substitution type="package" search="http://schemas.openxmlformats.org/drawingml/2006/main" replace="dml.main"/>
|
|
89
|
+
<Substitution type="package" search="http://schemas.openxmlformats.org/drawingml/2006/picture" replace="dml.picture"/>
|
|
90
|
+
<Substitution type="package" search="http://schemas.openxmlformats.org/drawingml/2006/wordprocessingDrawing" replace="dml.wordprocessing_drawing"/>
|
|
91
|
+
<Substitution type="package" search="http://schemas.openxmlformats.org/drawingml/2006/chart" replace="dml.chart"/>
|
|
92
|
+
<Substitution type="package" search="http://schemas.openxmlformats.org/drawingml/2006/chartDrawing" replace="dml.chart_drawing"/>
|
|
93
|
+
<Substitution type="package" search="http://schemas.openxmlformats.org/drawingml/2006/diagram" replace="dml.diagram"/>
|
|
94
|
+
<Substitution type="package" search="http://schemas.openxmlformats.org/drawingml/2006/lockedCanvas" replace="dml.locked_canvas"/>
|
|
95
|
+
<Substitution type="package" search="http://schemas.openxmlformats.org/drawingml/2006/spreadsheetDrawing" replace="dml.spreadsheet_drawing"/>
|
|
96
|
+
<Substitution type="package" search="http://schemas.openxmlformats.org/drawingml/2006/compatibility" replace="dml.compatibility"/>
|
|
97
|
+
|
|
98
|
+
<!-- Microsoft word extensions -->
|
|
99
|
+
<Substitution type="package" search="http://schemas.microsoft.com/office/word/2006/wordml" replace="wne"/>
|
|
100
|
+
<Substitution type="package" search="http://schemas.microsoft.com/office/word/2010/wordml" replace="w14"/>
|
|
101
|
+
<Substitution type="package" search="http://schemas.microsoft.com/office/word/2012/wordml" replace="w15"/>
|
|
102
|
+
<!--
|
|
103
|
+
docx4j CR-023 (schema refresh of 2026-09-20, CR-001 section 14.10): the
|
|
104
|
+
extensions Word writes on ISO elements, imported by wml.xsd. Two carry
|
|
105
|
+
classes and take docx4j's package names (org.docx4j.w15symex, whose
|
|
106
|
+
prefix is w16se, and org.docx4j.w16cid); the other three declare a
|
|
107
|
+
single global attribute each (w16du:dateUtc, w16sdtdh:storeItemChecksum,
|
|
108
|
+
w16sdtfl:formattingAllowed), which the generator binds as fields of the
|
|
109
|
+
classes that reference them, so no module is written for them and the
|
|
110
|
+
entries are here for the day one of them gains an element.
|
|
111
|
+
-->
|
|
112
|
+
<Substitution type="package" search="http://schemas.microsoft.com/office/word/2015/wordml/symex" replace="w15symex"/>
|
|
113
|
+
<Substitution type="package" search="http://schemas.microsoft.com/office/word/2016/wordml/cid" replace="w16cid"/>
|
|
114
|
+
<Substitution type="package" search="http://schemas.microsoft.com/office/word/2020/wordml/sdtdatahash" replace="w16sdtdh"/>
|
|
115
|
+
<Substitution type="package" search="http://schemas.microsoft.com/office/word/2023/wordml/word16du" replace="w16du"/>
|
|
116
|
+
<Substitution type="package" search="http://schemas.microsoft.com/office/word/2024/wordml/sdtformatlock" replace="w16sdtfl"/>
|
|
117
|
+
<Substitution type="package" search="http://schemas.microsoft.com/office/word/2010/wordprocessingCanvas" replace="word.wpc"/>
|
|
118
|
+
<Substitution type="package" search="http://schemas.microsoft.com/office/word/2010/wordprocessingDrawing" replace="word.wp14"/>
|
|
119
|
+
<Substitution type="package" search="http://schemas.microsoft.com/office/word/2010/wordprocessingGroup" replace="word.wpg"/>
|
|
120
|
+
<Substitution type="package" search="http://schemas.microsoft.com/office/word/2010/wordprocessingShape" replace="word.wps"/>
|
|
121
|
+
<Substitution type="package" search="http://schemas.microsoft.com/office/word/2012/wordprocessingDrawing" replace="word.wp15"/>
|
|
122
|
+
<Substitution type="package" search="http://schemas.microsoft.com/ink/2010/main" replace="word.msink"/>
|
|
123
|
+
|
|
124
|
+
<!-- Microsoft drawing extensions, docx4j's xsd/odrawxml -->
|
|
125
|
+
<Substitution type="package" search="http://schemas.microsoft.com/office/drawing/2007/8/2/chart" replace="oart.chart_2007"/>
|
|
126
|
+
<Substitution type="package" search="http://schemas.microsoft.com/office/drawing/2008/diagram" replace="oart.diagram_2008"/>
|
|
127
|
+
<Substitution type="package" search="http://schemas.microsoft.com/office/drawing/2010/main" replace="oart.main_2010"/>
|
|
128
|
+
<Substitution type="package" search="http://schemas.microsoft.com/office/drawing/2010/picture" replace="oart.picture_2010"/>
|
|
129
|
+
<Substitution type="package" search="http://schemas.microsoft.com/office/drawing/2010/diagram" replace="oart.diagram_2010"/>
|
|
130
|
+
<Substitution type="package" search="http://schemas.microsoft.com/office/drawing/2010/chartDrawing" replace="oart.chart_drawing_2010"/>
|
|
131
|
+
<Substitution type="package" search="http://schemas.microsoft.com/office/drawing/2012/main" replace="oart.main_2012"/>
|
|
132
|
+
<Substitution type="package" search="http://schemas.microsoft.com/office/drawing/2012/chart" replace="oart.chart_2012"/>
|
|
133
|
+
<Substitution type="package" search="http://schemas.microsoft.com/office/drawing/2012/chartStyle" replace="oart.chart_style_2012"/>
|
|
134
|
+
<Substitution type="package" search="http://schemas.microsoft.com/office/drawing/2013/main/command" replace="oart.command_2013"/>
|
|
135
|
+
<Substitution type="package" search="http://schemas.microsoft.com/office/drawing/2014/main" replace="oart.main_2014"/>
|
|
136
|
+
<Substitution type="package" search="http://schemas.microsoft.com/office/drawing/2014/chart" replace="oart.chart_2014"/>
|
|
137
|
+
<Substitution type="package" search="http://schemas.microsoft.com/office/drawing/2014/chart/ac" replace="oart.chart_ac_2014"/>
|
|
138
|
+
<Substitution type="package" search="http://schemas.microsoft.com/office/drawing/2014/chartex" replace="oart.chartex_2014"/>
|
|
139
|
+
<Substitution type="package" search="http://schemas.microsoft.com/office/drawing/2016/ink" replace="oart.ink_2016"/>
|
|
140
|
+
<Substitution type="package" search="http://schemas.microsoft.com/office/drawing/2016/SVG/main" replace="oart.svg_2016"/>
|
|
141
|
+
<Substitution type="package" search="http://schemas.microsoft.com/office/drawing/2016/11/main" replace="oart.main_2016_11"/>
|
|
142
|
+
<Substitution type="package" search="http://schemas.microsoft.com/office/drawing/2016/11/diagram" replace="oart.diagram_2016_11"/>
|
|
143
|
+
<Substitution type="package" search="http://schemas.microsoft.com/office/drawing/2016/12/diagram" replace="oart.diagram_2016_12"/>
|
|
144
|
+
<Substitution type="package" search="http://schemas.microsoft.com/office/drawing/2017/03/chart" replace="oart.chart_2017_03"/>
|
|
145
|
+
<Substitution type="package" search="http://schemas.microsoft.com/office/drawing/2017/decorative" replace="oart.decorative_2017"/>
|
|
146
|
+
<Substitution type="package" search="http://schemas.microsoft.com/office/drawing/2017/model3d" replace="oart.model3d_2017"/>
|
|
147
|
+
<Substitution type="package" search="http://schemas.microsoft.com/office/drawing/2018/animation" replace="oart.animation_2018"/>
|
|
148
|
+
<Substitution type="package" search="http://schemas.microsoft.com/office/drawing/2018/animation/model3d" replace="oart.animation_model3d_2018"/>
|
|
149
|
+
<Substitution type="package" search="http://schemas.microsoft.com/office/drawing/2018/hyperlinkcolor" replace="oart.hyperlink_color_2018"/>
|
|
150
|
+
<Substitution type="package" search="http://schemas.microsoft.com/office/excel/2010/spreadsheetDrawing" replace="oart.spreadsheet_drawing_2010"/>
|
|
151
|
+
<Substitution type="package" search="http://schemas.microsoft.com/office/powerpoint/2014/inkAction" replace="oart.ink_action_2014"/>
|
|
152
|
+
<Substitution type="package" search="http://schemas.microsoft.com/office/thememl/2012/main" replace="oart.theme_2012"/>
|
|
153
|
+
</Substitutions>
|
|
154
|
+
<Extensions>
|
|
155
|
+
<!--
|
|
156
|
+
CR-001 section 5: every generated dataclass gets the parent pointer.
|
|
157
|
+
applyIfDerived is left off on purpose, so a class that already extends a
|
|
158
|
+
generated class (RunIns over CT_RunTrackChange) inherits Child from its
|
|
159
|
+
base instead of listing it twice. Enumerations use a different template
|
|
160
|
+
and are not touched.
|
|
161
|
+
-->
|
|
162
|
+
<Extension type="class" class=".*" import="docx4j_py.child.Child"/>
|
|
163
|
+
</Extensions>
|
|
164
|
+
</Config>
|
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
# Changelog
|
|
2
|
+
|
|
3
|
+
The distribution `docx4j` (import name `docx4j_py`), on PyPI at
|
|
4
|
+
<https://pypi.org/project/docx4j/>. The format follows [Keep a Changelog](https://keepachangelog.com/en/1.1.0/)
|
|
5
|
+
and the versions [Semantic Versioning](https://semver.org/) as far as `0.x` goes: what each
|
|
6
|
+
surface promises in `0.x` is the table at the end of this file. Each entry summarises what a
|
|
7
|
+
change request delivered and links the CR's own implementation notes, which are the record; the
|
|
8
|
+
CRs are under [`docs/change-requests/`](docs/change-requests/README.md).
|
|
9
|
+
|
|
10
|
+
## [0.1.0] --- 2026-09-20
|
|
11
|
+
|
|
12
|
+
The first release: WordprocessingML only. `.pptx` and `.xlsx` load and save through the generic
|
|
13
|
+
OPC path with every part byte for byte, but nothing in them is typed; PresentationML and
|
|
14
|
+
SpreadsheetML are CR-001 Phase D and CR-002 Phase C, for `0.2` and `0.3`.
|
|
15
|
+
|
|
16
|
+
### Added
|
|
17
|
+
|
|
18
|
+
- **The object model** ([CR-001](docs/change-requests/CR-001-object-model.md), Phases A to C,
|
|
19
|
+
sections [12](docs/change-requests/CR-001-object-model.md#12-phase-a-implementation-notes-2026-09-12),
|
|
20
|
+
[13](docs/change-requests/CR-001-object-model.md#13-phase-b-implementation-notes-2026-09-12) and
|
|
21
|
+
[14](docs/change-requests/CR-001-object-model.md#14-phase-c-implementation-notes-2026-09-12)):
|
|
22
|
+
the whole of WordprocessingML and what it embeds (DrawingML, OMML, VML, `w14` to `w16`, the
|
|
23
|
+
relationships and `docProps` schemas) as slotted dataclasses generated from docx4j's own schema
|
|
24
|
+
tree by the xsdata fork, one package per namespace under docx4j's class names; every object a
|
|
25
|
+
`Child` with a parent pointer and `deep_copy`; the `el` object factory (2,061 element names over
|
|
26
|
+
63 namespaces), the `p` / `r` / `t` / `tbl` sugar, `wml(...)` fragments and `to_xml`, `walk`,
|
|
27
|
+
`find`, `text_of` and the rest of the traversal; lenient parsing with a per-part skipped-content
|
|
28
|
+
report; `warm_up()`; docx4j's prefix table. Refreshed to docx4j `c363a969f` on 2026-09-20
|
|
29
|
+
([14.10](docs/change-requests/CR-001-object-model.md#1410-schema-refresh-2026-09-20) and
|
|
30
|
+
[14.11](docs/change-requests/CR-001-object-model.md#1411-follow-up-refresh-to-docx4j-c363a969f-2026-09-20)).
|
|
31
|
+
- **The Open Packaging engine** ([CR-002](docs/change-requests/CR-002-engine.md), Phases A and B,
|
|
32
|
+
sections [12](docs/change-requests/CR-002-engine.md#12-phase-a-implementation-notes-2026-09-12)
|
|
33
|
+
and [15](docs/change-requests/CR-002-engine.md#15-phase-b-implementation-notes-2026-09-19)):
|
|
34
|
+
`PartStore` and `PartSink` (zip, directory, memory, flat OPC), `PartName`, content types,
|
|
35
|
+
relationships, typed parts with lazy `contents`, `load` and `save` with every untouched part
|
|
36
|
+
written back byte for byte and every re-marshalled one canonically identical to its source,
|
|
37
|
+
lossless `mc:AlternateContent` with a resolving traversal, `mc:Ignorable` on write,
|
|
38
|
+
`create_package` (Word 2013+ compatibility mode, a theme part); and docx4j's resolution
|
|
39
|
+
utilities --- `PropertyResolver` and `StyleUtil` over a property catalogue, the numbering
|
|
40
|
+
emulator, and `org.docx4j.fonts`' decision half --- with zero differences on all 45 of docx4j's
|
|
41
|
+
parity goldens. Departures from docx4j are section 12.3.
|
|
42
|
+
- **The content API** ([CR-003](docs/change-requests/CR-003-content-api.md), every phase,
|
|
43
|
+
sections [10](docs/change-requests/CR-003-content-api.md#10-phase-a-implementation-notes-2026-09-16)
|
|
44
|
+
to [20](docs/change-requests/CR-003-content-api.md#20-phase-j-implementation-notes-2026-09-18)):
|
|
45
|
+
`Body`, `Paragraph`, `Range`, `Font`, `Table`, `TableRow`, `TableCell`, `InlinePicture`,
|
|
46
|
+
`ContentControl`, `Comment`, `TrackedChange`, `List` and `ListItem` in Office JS's vocabulary;
|
|
47
|
+
the agent surface --- paraId-first addresses, `outline()`, `find()`, `describe()`, a
|
|
48
|
+
`ChangeReport` on every mutating call, `dry_run`, `DocumentSession`, errors with a `code` and a
|
|
49
|
+
`hint`; markdown out and in with addresses; tracked changes and comments as the audit trail, with
|
|
50
|
+
`accept_all()` and `reject_all()`; custom XML parts, XML mapping and the typed content-control
|
|
51
|
+
kinds with `describe()` / `fill()` for templates; `insert_ooxml` from a flat OPC package;
|
|
52
|
+
`to_api_script`, the reveal codes; and the **python-docx facade** `docx4j_py.docx` (305 of
|
|
53
|
+
python-docx 1.2.0's 312 members, a parity test with python-docx as the judge).
|
|
54
|
+
- **Packaging** ([CR-007](docs/change-requests/CR-007-pypi-release.md), Phase B, section 10):
|
|
55
|
+
the distribution `docx4j` with `py.typed`, `NOTICE`, this changelog, `RELEASING.md`, a short PyPI
|
|
56
|
+
readme whose every example the suite executes (`tests/test_readme.py`), CI on Python 3.12 to
|
|
57
|
+
3.14, and `scripts/release_check.sh`, which builds the wheel and gates it in a clean environment.
|
|
58
|
+
|
|
59
|
+
### Dependencies
|
|
60
|
+
|
|
61
|
+
- `docx4j-xsdata[lxml] >=26.2.1,<26.3` --- the xsdata fork the generated modules import, published
|
|
62
|
+
as [docx4j-xsdata 26.2.1](https://pypi.org/project/docx4j-xsdata/26.2.1/) by CR-007 Phase A
|
|
63
|
+
(section 9). The upper bound is where the fork's upstream base moves and the bindings are
|
|
64
|
+
regenerated.
|
|
65
|
+
- `markdown-it-py >=3.0`, imported on the first `insert_markdown`.
|
|
66
|
+
- Python 3.12 or later.
|
|
67
|
+
|
|
68
|
+
### Notes
|
|
69
|
+
|
|
70
|
+
- **One generated field name is not what an earlier checkout had**: the `w:rPr` of `m:ctrlPr`
|
|
71
|
+
(`math.CTCtrlPr`) was `schemas_openxmlformats_org_wordprocessingml_2006_main_r_pr` and is
|
|
72
|
+
`r_pr_1`, with the `a:rPr` docx4j CR-025 admitted as `r_pr_2` (CR-001 section 14.11). Nothing
|
|
73
|
+
released carried the old name, so this is a note, not a breaking change.
|
|
74
|
+
- `from docx4j_py.wml import sdt` is the content-control builder until something imports the
|
|
75
|
+
module `docx4j_py.wml.sdt`, after which it is the module (CR-003 section 11.5); write
|
|
76
|
+
`from docx4j_py.wml.sdt import sdt`, which is unambiguous.
|
|
77
|
+
|
|
78
|
+
### What `0.x` promises
|
|
79
|
+
|
|
80
|
+
| Surface | Stability in `0.x` |
|
|
81
|
+
|---|---|
|
|
82
|
+
| `docx4j_py.load`, `create_package`, `WordprocessingMLPackage`, the parts, `PartStore` / `PartSink` | Stable: docx4j's names and behaviour; departures are recorded in CR-002 section 12.3 |
|
|
83
|
+
| The content API (`Body`, `Paragraph`, `Range`, `Table`, ..., the agent surface, markdown) | Stable in shape: Office JS's vocabulary is borrowed, not invented; a member may be added in a minor, none renamed |
|
|
84
|
+
| `docx4j_py.docx`, the python-docx facade | Stable: its promise is `tests/python_docx_subset.json`, 305 of 312 members |
|
|
85
|
+
| The generated model (`docx4j_py.wml` and the rest, `el`) | Regenerates with the schema; class and field names are docx4j's and do not move, but a schema refresh adds fields and classes in a minor |
|
|
86
|
+
| `docx4j_py.model` (resolver, `StyleUtil`, fonts, numbering) | Stable: docx4j's, zero differences on the goldens |
|
|
87
|
+
| Anything under `codegen/`, `scripts/`, `baseline/` | Not shipped in the wheel; in the source distribution for the suite |
|
|
88
|
+
|
|
89
|
+
[0.1.0]: https://github.com/plutext/docx4j-python/releases/tag/v0.1.0
|
docx4j-0.1.0/LICENSE
ADDED
|
@@ -0,0 +1,202 @@
|
|
|
1
|
+
|
|
2
|
+
Apache License
|
|
3
|
+
Version 2.0, January 2004
|
|
4
|
+
http://www.apache.org/licenses/
|
|
5
|
+
|
|
6
|
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
|
7
|
+
|
|
8
|
+
1. Definitions.
|
|
9
|
+
|
|
10
|
+
"License" shall mean the terms and conditions for use, reproduction,
|
|
11
|
+
and distribution as defined by Sections 1 through 9 of this document.
|
|
12
|
+
|
|
13
|
+
"Licensor" shall mean the copyright owner or entity authorized by
|
|
14
|
+
the copyright owner that is granting the License.
|
|
15
|
+
|
|
16
|
+
"Legal Entity" shall mean the union of the acting entity and all
|
|
17
|
+
other entities that control, are controlled by, or are under common
|
|
18
|
+
control with that entity. For the purposes of this definition,
|
|
19
|
+
"control" means (i) the power, direct or indirect, to cause the
|
|
20
|
+
direction or management of such entity, whether by contract or
|
|
21
|
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
|
22
|
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
|
23
|
+
|
|
24
|
+
"You" (or "Your") shall mean an individual or Legal Entity
|
|
25
|
+
exercising permissions granted by this License.
|
|
26
|
+
|
|
27
|
+
"Source" form shall mean the preferred form for making modifications,
|
|
28
|
+
including but not limited to software source code, documentation
|
|
29
|
+
source, and configuration files.
|
|
30
|
+
|
|
31
|
+
"Object" form shall mean any form resulting from mechanical
|
|
32
|
+
transformation or translation of a Source form, including but
|
|
33
|
+
not limited to compiled object code, generated documentation,
|
|
34
|
+
and conversions to other media types.
|
|
35
|
+
|
|
36
|
+
"Work" shall mean the work of authorship, whether in Source or
|
|
37
|
+
Object form, made available under the License, as indicated by a
|
|
38
|
+
copyright notice that is included in or attached to the work
|
|
39
|
+
(an example is provided in the Appendix below).
|
|
40
|
+
|
|
41
|
+
"Derivative Works" shall mean any work, whether in Source or Object
|
|
42
|
+
form, that is based on (or derived from) the Work and for which the
|
|
43
|
+
editorial revisions, annotations, elaborations, or other modifications
|
|
44
|
+
represent, as a whole, an original work of authorship. For the purposes
|
|
45
|
+
of this License, Derivative Works shall not include works that remain
|
|
46
|
+
separable from, or merely link (or bind by name) to the interfaces of,
|
|
47
|
+
the Work and Derivative Works thereof.
|
|
48
|
+
|
|
49
|
+
"Contribution" shall mean any work of authorship, including
|
|
50
|
+
the original version of the Work and any modifications or additions
|
|
51
|
+
to that Work or Derivative Works thereof, that is intentionally
|
|
52
|
+
submitted to Licensor for inclusion in the Work by the copyright owner
|
|
53
|
+
or by an individual or Legal Entity authorized to submit on behalf of
|
|
54
|
+
the copyright owner. For the purposes of this definition, "submitted"
|
|
55
|
+
means any form of electronic, verbal, or written communication sent
|
|
56
|
+
to the Licensor or its representatives, including but not limited to
|
|
57
|
+
communication on electronic mailing lists, source code control systems,
|
|
58
|
+
and issue tracking systems that are managed by, or on behalf of, the
|
|
59
|
+
Licensor for the purpose of discussing and improving the Work, but
|
|
60
|
+
excluding communication that is conspicuously marked or otherwise
|
|
61
|
+
designated in writing by the copyright owner as "Not a Contribution."
|
|
62
|
+
|
|
63
|
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
|
64
|
+
on behalf of whom a Contribution has been received by Licensor and
|
|
65
|
+
subsequently incorporated within the Work.
|
|
66
|
+
|
|
67
|
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
|
68
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
69
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
70
|
+
copyright license to reproduce, prepare Derivative Works of,
|
|
71
|
+
publicly display, publicly perform, sublicense, and distribute the
|
|
72
|
+
Work and such Derivative Works in Source or Object form.
|
|
73
|
+
|
|
74
|
+
3. Grant of Patent License. Subject to the terms and conditions of
|
|
75
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
76
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
77
|
+
(except as stated in this section) patent license to make, have made,
|
|
78
|
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
|
79
|
+
where such license applies only to those patent claims licensable
|
|
80
|
+
by such Contributor that are necessarily infringed by their
|
|
81
|
+
Contribution(s) alone or by combination of their Contribution(s)
|
|
82
|
+
with the Work to which such Contribution(s) was submitted. If You
|
|
83
|
+
institute patent litigation against any entity (including a
|
|
84
|
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
|
85
|
+
or a Contribution incorporated within the Work constitutes direct
|
|
86
|
+
or contributory patent infringement, then any patent licenses
|
|
87
|
+
granted to You under this License for that Work shall terminate
|
|
88
|
+
as of the date such litigation is filed.
|
|
89
|
+
|
|
90
|
+
4. Redistribution. You may reproduce and distribute copies of the
|
|
91
|
+
Work or Derivative Works thereof in any medium, with or without
|
|
92
|
+
modifications, and in Source or Object form, provided that You
|
|
93
|
+
meet the following conditions:
|
|
94
|
+
|
|
95
|
+
(a) You must give any other recipients of the Work or
|
|
96
|
+
Derivative Works a copy of this License; and
|
|
97
|
+
|
|
98
|
+
(b) You must cause any modified files to carry prominent notices
|
|
99
|
+
stating that You changed the files; and
|
|
100
|
+
|
|
101
|
+
(c) You must retain, in the Source form of any Derivative Works
|
|
102
|
+
that You distribute, all copyright, patent, trademark, and
|
|
103
|
+
attribution notices from the Source form of the Work,
|
|
104
|
+
excluding those notices that do not pertain to any part of
|
|
105
|
+
the Derivative Works; and
|
|
106
|
+
|
|
107
|
+
(d) If the Work includes a "NOTICE" text file as part of its
|
|
108
|
+
distribution, then any Derivative Works that You distribute must
|
|
109
|
+
include a readable copy of the attribution notices contained
|
|
110
|
+
within such NOTICE file, excluding those notices that do not
|
|
111
|
+
pertain to any part of the Derivative Works, in at least one
|
|
112
|
+
of the following places: within a NOTICE text file distributed
|
|
113
|
+
as part of the Derivative Works; within the Source form or
|
|
114
|
+
documentation, if provided along with the Derivative Works; or,
|
|
115
|
+
within a display generated by the Derivative Works, if and
|
|
116
|
+
wherever such third-party notices normally appear. The contents
|
|
117
|
+
of the NOTICE file are for informational purposes only and
|
|
118
|
+
do not modify the License. You may add Your own attribution
|
|
119
|
+
notices within Derivative Works that You distribute, alongside
|
|
120
|
+
or as an addendum to the NOTICE text from the Work, provided
|
|
121
|
+
that such additional attribution notices cannot be construed
|
|
122
|
+
as modifying the License.
|
|
123
|
+
|
|
124
|
+
You may add Your own copyright statement to Your modifications and
|
|
125
|
+
may provide additional or different license terms and conditions
|
|
126
|
+
for use, reproduction, or distribution of Your modifications, or
|
|
127
|
+
for any such Derivative Works as a whole, provided Your use,
|
|
128
|
+
reproduction, and distribution of the Work otherwise complies with
|
|
129
|
+
the conditions stated in this License.
|
|
130
|
+
|
|
131
|
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
|
132
|
+
any Contribution intentionally submitted for inclusion in the Work
|
|
133
|
+
by You to the Licensor shall be under the terms and conditions of
|
|
134
|
+
this License, without any additional terms or conditions.
|
|
135
|
+
Notwithstanding the above, nothing herein shall supersede or modify
|
|
136
|
+
the terms of any separate license agreement you may have executed
|
|
137
|
+
with Licensor regarding such Contributions.
|
|
138
|
+
|
|
139
|
+
6. Trademarks. This License does not grant permission to use the trade
|
|
140
|
+
names, trademarks, service marks, or product names of the Licensor,
|
|
141
|
+
except as required for reasonable and customary use in describing the
|
|
142
|
+
origin of the Work and reproducing the content of the NOTICE file.
|
|
143
|
+
|
|
144
|
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
|
145
|
+
agreed to in writing, Licensor provides the Work (and each
|
|
146
|
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
|
147
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
|
148
|
+
implied, including, without limitation, any warranties or conditions
|
|
149
|
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
|
150
|
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
|
151
|
+
appropriateness of using or redistributing the Work and assume any
|
|
152
|
+
risks associated with Your exercise of permissions under this License.
|
|
153
|
+
|
|
154
|
+
8. Limitation of Liability. In no event and under no legal theory,
|
|
155
|
+
whether in tort (including negligence), contract, or otherwise,
|
|
156
|
+
unless required by applicable law (such as deliberate and grossly
|
|
157
|
+
negligent acts) or agreed to in writing, shall any Contributor be
|
|
158
|
+
liable to You for damages, including any direct, indirect, special,
|
|
159
|
+
incidental, or consequential damages of any character arising as a
|
|
160
|
+
result of this License or out of the use or inability to use the
|
|
161
|
+
Work (including but not limited to damages for loss of goodwill,
|
|
162
|
+
work stoppage, computer failure or malfunction, or any and all
|
|
163
|
+
other commercial damages or losses), even if such Contributor
|
|
164
|
+
has been advised of the possibility of such damages.
|
|
165
|
+
|
|
166
|
+
9. Accepting Warranty or Additional Liability. While redistributing
|
|
167
|
+
the Work or Derivative Works thereof, You may choose to offer,
|
|
168
|
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
|
169
|
+
or other liability obligations and/or rights consistent with this
|
|
170
|
+
License. However, in accepting such obligations, You may act only
|
|
171
|
+
on Your own behalf and on Your sole responsibility, not on behalf
|
|
172
|
+
of any other Contributor, and only if You agree to indemnify,
|
|
173
|
+
defend, and hold each Contributor harmless for any liability
|
|
174
|
+
incurred by, or claims asserted against, such Contributor by reason
|
|
175
|
+
of your accepting any such warranty or additional liability.
|
|
176
|
+
|
|
177
|
+
END OF TERMS AND CONDITIONS
|
|
178
|
+
|
|
179
|
+
APPENDIX: How to apply the Apache License to your work.
|
|
180
|
+
|
|
181
|
+
To apply the Apache License to your work, attach the following
|
|
182
|
+
boilerplate notice, with the fields enclosed by brackets "[]"
|
|
183
|
+
replaced with your own identifying information. (Don't include
|
|
184
|
+
the brackets!) The text should be enclosed in the appropriate
|
|
185
|
+
comment syntax for the file format. We also recommend that a
|
|
186
|
+
file or class name and description of purpose be included on the
|
|
187
|
+
same "printed page" as the copyright notice for easier
|
|
188
|
+
identification within third-party archives.
|
|
189
|
+
|
|
190
|
+
Copyright [yyyy] [name of copyright owner]
|
|
191
|
+
|
|
192
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
|
193
|
+
you may not use this file except in compliance with the License.
|
|
194
|
+
You may obtain a copy of the License at
|
|
195
|
+
|
|
196
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
197
|
+
|
|
198
|
+
Unless required by applicable law or agreed to in writing, software
|
|
199
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
200
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
201
|
+
See the License for the specific language governing permissions and
|
|
202
|
+
limitations under the License.
|
docx4j-0.1.0/NOTICE
ADDED
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
docx4j (for Python; import name docx4j_py)
|
|
2
|
+
Copyright 2026 Plutext Pty Ltd
|
|
3
|
+
|
|
4
|
+
Licensed under the Apache License, Version 2.0 (see LICENSE).
|
|
5
|
+
|
|
6
|
+
This package is a Python counterpart of docx4j (https://github.com/plutext/docx4j,
|
|
7
|
+
Apache License 2.0): the object model is generated from docx4j's own schema tree and
|
|
8
|
+
carries docx4j's class names; the Open Packaging layer (packages, parts, relationships,
|
|
9
|
+
content types), the typed parts, and the style, numbering and font resolution follow
|
|
10
|
+
docx4j's design and names. The design is shared with @docx4j/core-ts
|
|
11
|
+
(https://github.com/plutext/docx4j-core-ts, Apache License 2.0).
|
|
12
|
+
|
|
13
|
+
The wheel carries these files taken from docx4j's docx4j-core module (Apache License
|
|
14
|
+
2.0), under docx4j_py/resources/:
|
|
15
|
+
|
|
16
|
+
KnownStyles.xml org/docx4j/openpackaging/parts/WordprocessingML/KnownStyles.xml,
|
|
17
|
+
Word's built-in style definitions as docx4j ships them
|
|
18
|
+
openpackaging/styles.xml docx4j's default styles, numbering and font table for a new
|
|
19
|
+
openpackaging/numbering.xml document, from the same directory (transcoded to UTF-8)
|
|
20
|
+
openpackaging/fontTable.xml
|
|
21
|
+
fonts/theme-2007.xml the three Office theme parts, from the same directory, byte
|
|
22
|
+
fonts/theme-2013.xml for byte
|
|
23
|
+
fonts/theme-2023.xml
|
|
24
|
+
fonts/substitutions.json docx4j's font substitution tables (org/docx4j/fonts/
|
|
25
|
+
fonts/families.json font-substitutes.xml, substitutions/FontSubstitutions.xml,
|
|
26
|
+
fonts/registry.json microsoft/MicrosoftFonts.xml, word-line-metrics.properties)
|
|
27
|
+
as JSON, written by scripts/generate_fonts.py; each file's
|
|
28
|
+
_source object names the docx4j commit it was read from
|
|
29
|
+
|
|
30
|
+
The warm-up parts (warmup_document.xml, warmup_styles.xml) were written for this package.
|
|
31
|
+
|
|
32
|
+
The generated modules import docx4j-xsdata (https://github.com/plutext/docx4j-xsdata), a
|
|
33
|
+
fork of xsdata (https://github.com/tefra/xsdata, Copyright Christodoulos Tsoulloftas),
|
|
34
|
+
which is a dependency of this package and is distributed under the MIT License; it is not
|
|
35
|
+
included in this distribution.
|
|
36
|
+
|
|
37
|
+
The XML schemas the object model is generated from (schemas/ in the source distribution,
|
|
38
|
+
not in the wheel) are ECMA-376 Office Open XML's, as docx4j's xsd tree carries them, with
|
|
39
|
+
the patches listed in schemas/PATCHES.md; they keep the terms stated in their own headers.
|
|
40
|
+
The sample documents under samples/ and tests/fixtures/ (source distribution only) are
|
|
41
|
+
docx4j's test fixtures, Apache License 2.0.
|