python-docx-oss 0.0.7__tar.gz → 0.0.8__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- python_docx_oss-0.0.8/HISTORY.md +47 -0
- {python-docx-oss-0.0.7/python_docx_oss.egg-info → python_docx_oss-0.0.8}/PKG-INFO +38 -40
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/README.md +3 -2
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/docs/dev/analysis/features/text/font.rst +8 -6
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/docs/user/custom-xml.rst +5 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/docs/user/install.rst +1 -1
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/docx/__init__.py +1 -1
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/docx/image/constants.py +1 -1
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/docx/image/emf.py +1 -1
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/docx/image/exceptions.py +1 -1
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/docx/oxml/text/font.py +22 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/docx/text/font.py +21 -6
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/features/_scratch/test_out.docx +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8/python_docx_oss.egg-info}/PKG-INFO +38 -40
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/setup.py +9 -9
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/tests/text/test_font.py +20 -8
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/tox.ini +1 -1
- python-docx-oss-0.0.7/HISTORY.md +0 -49
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/LICENSE +1 -1
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/MANIFEST.in +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/docs/Makefile +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/docs/_static/.gitignore +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/docs/_static/img/example-docx-01.png +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/docs/_static/img/hdrftr-01.png +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/docs/_static/img/hdrftr-02.png +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/docs/_static/img/oss.png +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/docs/_templates/layout.html +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/docs/_templates/sidebarlinks.html +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/docs/_themes/armstrong/LICENSE +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/docs/_themes/armstrong/layout.html +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/docs/_themes/armstrong/rtd-themes.conf +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/docs/_themes/armstrong/static/rtd.css_t +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/docs/_themes/armstrong/theme.conf +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/docs/_themes/armstrong/theme.conf.orig +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/docs/api/dml.rst +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/docs/api/document.rst +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/docs/api/enum/MsoColorType.rst +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/docs/api/enum/MsoThemeColorIndex.rst +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/docs/api/enum/WdAlignParagraph.rst +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/docs/api/enum/WdBuiltinStyle.rst +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/docs/api/enum/WdCellVerticalAlignment.rst +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/docs/api/enum/WdColorIndex.rst +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/docs/api/enum/WdLineSpacing.rst +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/docs/api/enum/WdOrientation.rst +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/docs/api/enum/WdRowAlignment.rst +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/docs/api/enum/WdRowHeightRule.rst +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/docs/api/enum/WdSectionStart.rst +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/docs/api/enum/WdStyleType.rst +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/docs/api/enum/WdTabAlignment.rst +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/docs/api/enum/WdTabLeader.rst +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/docs/api/enum/WdTableDirection.rst +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/docs/api/enum/WdUnderline.rst +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/docs/api/enum/index.rst +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/docs/api/section.rst +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/docs/api/settings.rst +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/docs/api/shape.rst +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/docs/api/shared.rst +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/docs/api/style.rst +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/docs/api/table.rst +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/docs/api/text.rst +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/docs/conf.py +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/docs/dev/analysis/features/coreprops.rst +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/docs/dev/analysis/features/header.rst +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/docs/dev/analysis/features/numbering.rst +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/docs/dev/analysis/features/sections.rst +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/docs/dev/analysis/features/settings.rst +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/docs/dev/analysis/features/shapes/index.rst +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/docs/dev/analysis/features/shapes/picture.rst +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/docs/dev/analysis/features/shapes/shapes-inline-size.rst +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/docs/dev/analysis/features/shapes/shapes-inline.rst +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/docs/dev/analysis/features/styles/character-style.rst +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/docs/dev/analysis/features/styles/index.rst +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/docs/dev/analysis/features/styles/latent-styles.rst +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/docs/dev/analysis/features/styles/paragraph-style.rst +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/docs/dev/analysis/features/styles/style.rst +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/docs/dev/analysis/features/styles/styles.rst +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/docs/dev/analysis/features/table/cell-merge.rst +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/docs/dev/analysis/features/table/index.rst +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/docs/dev/analysis/features/table/table-cell.rst +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/docs/dev/analysis/features/table/table-props.rst +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/docs/dev/analysis/features/table/table-row.rst +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/docs/dev/analysis/features/text/breaks.rst +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/docs/dev/analysis/features/text/font-color.rst +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/docs/dev/analysis/features/text/font-highlight-color.rst +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/docs/dev/analysis/features/text/index.rst +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/docs/dev/analysis/features/text/paragraph-format.rst +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/docs/dev/analysis/features/text/run-content.rst +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/docs/dev/analysis/features/text/tab-stops.rst +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/docs/dev/analysis/features/text/underline.rst +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/docs/dev/analysis/index.rst +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/docs/dev/analysis/schema/ct_body.rst +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/docs/dev/analysis/schema/ct_document.rst +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/docs/dev/analysis/schema/ct_p.rst +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/docs/index.rst +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/docs/requirements.txt +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/docs/user/api-concepts.rst +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/docs/user/custom-properties.rst +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/docs/user/documents.rst +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/docs/user/hdrftr.rst +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/docs/user/quickstart.rst +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/docs/user/sections.rst +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/docs/user/shapes.rst +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/docs/user/styles-understanding.rst +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/docs/user/styles-using.rst +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/docs/user/text.rst +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/docx/api.py +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/docx/blkcntnr.py +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/docx/compat.py +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/docx/dml/__init__.py +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/docx/dml/color.py +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/docx/document.py +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/docx/enum/__init__.py +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/docx/enum/base.py +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/docx/enum/dml.py +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/docx/enum/section.py +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/docx/enum/shape.py +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/docx/enum/style.py +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/docx/enum/table.py +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/docx/enum/text.py +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/docx/exceptions.py +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/docx/image/__init__.py +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/docx/image/bmp.py +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/docx/image/gif.py +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/docx/image/helpers.py +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/docx/image/image.py +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/docx/image/jpeg.py +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/docx/image/png.py +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/docx/image/tiff.py +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/docx/opc/__init__.py +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/docx/opc/compat.py +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/docx/opc/constants.py +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/docx/opc/coreprops.py +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/docx/opc/customprops.py +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/docx/opc/exceptions.py +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/docx/opc/oxml.py +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/docx/opc/package.py +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/docx/opc/packuri.py +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/docx/opc/part.py +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/docx/opc/parts/__init__.py +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/docx/opc/parts/coreprops.py +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/docx/opc/parts/customprops.py +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/docx/opc/phys_pkg.py +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/docx/opc/pkgreader.py +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/docx/opc/pkgwriter.py +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/docx/opc/rel.py +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/docx/opc/shared.py +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/docx/opc/spec.py +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/docx/oxml/__init__.py +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/docx/oxml/coreprops.py +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/docx/oxml/customprops.py +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/docx/oxml/document.py +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/docx/oxml/exceptions.py +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/docx/oxml/ns.py +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/docx/oxml/numbering.py +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/docx/oxml/section.py +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/docx/oxml/settings.py +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/docx/oxml/shape.py +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/docx/oxml/shared.py +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/docx/oxml/simpletypes.py +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/docx/oxml/styles.py +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/docx/oxml/table.py +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/docx/oxml/text/__init__.py +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/docx/oxml/text/paragraph.py +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/docx/oxml/text/parfmt.py +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/docx/oxml/text/run.py +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/docx/oxml/xmlchemy.py +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/docx/package.py +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/docx/parts/__init__.py +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/docx/parts/customxml.py +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/docx/parts/document.py +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/docx/parts/hdrftr.py +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/docx/parts/image.py +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/docx/parts/numbering.py +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/docx/parts/settings.py +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/docx/parts/story.py +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/docx/parts/styles.py +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/docx/section.py +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/docx/settings.py +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/docx/shape.py +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/docx/shared.py +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/docx/styles/__init__.py +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/docx/styles/latent.py +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/docx/styles/style.py +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/docx/styles/styles.py +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/docx/table.py +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/docx/templates/default-docx-template/[Content_Types].xml +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/docx/templates/default-docx-template/_rels/.rels +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/docx/templates/default-docx-template/customXml/_rels/item1.xml.rels +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/docx/templates/default-docx-template/customXml/item1.xml +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/docx/templates/default-docx-template/customXml/itemProps1.xml +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/docx/templates/default-docx-template/docProps/app.xml +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/docx/templates/default-docx-template/docProps/core.xml +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/docx/templates/default-docx-template/docProps/thumbnail.jpeg +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/docx/templates/default-docx-template/word/_rels/document.xml.rels +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/docx/templates/default-docx-template/word/document.xml +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/docx/templates/default-docx-template/word/fontTable.xml +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/docx/templates/default-docx-template/word/numbering.xml +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/docx/templates/default-docx-template/word/settings.xml +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/docx/templates/default-docx-template/word/styles.xml +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/docx/templates/default-docx-template/word/stylesWithEffects.xml +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/docx/templates/default-docx-template/word/theme/theme1.xml +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/docx/templates/default-docx-template/word/webSettings.xml +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/docx/templates/default-footer.xml +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/docx/templates/default-header.xml +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/docx/templates/default-numbering.xml +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/docx/templates/default-settings.xml +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/docx/templates/default-styles.xml +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/docx/templates/default.docx +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/docx/text/__init__.py +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/docx/text/paragraph.py +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/docx/text/parfmt.py +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/docx/text/run.py +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/docx/text/tabstops.py +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/features/api-open-document.feature +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/features/blk-add-paragraph.feature +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/features/blk-add-table.feature +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/features/cel-add-table.feature +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/features/cel-text.feature +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/features/doc-access-collections.feature +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/features/doc-access-sections.feature +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/features/doc-add-heading.feature +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/features/doc-add-page-break.feature +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/features/doc-add-paragraph.feature +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/features/doc-add-picture.feature +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/features/doc-add-section.feature +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/features/doc-add-table.feature +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/features/doc-coreprops.feature +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/features/doc-customprops.feature +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/features/doc-settings.feature +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/features/doc-styles.feature +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/features/environment.py +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/features/hdr-header-footer.feature +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/features/img-characterize-image.feature +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/features/num-access-numbering-part.feature +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/features/par-access-parfmt.feature +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/features/par-add-run.feature +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/features/par-alignment-prop.feature +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/features/par-clear-paragraph.feature +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/features/par-insert-paragraph.feature +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/features/par-set-text.feature +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/features/par-style-prop.feature +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/features/run-access-content.feature +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/features/run-access-font.feature +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/features/run-add-content.feature +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/features/run-add-picture.feature +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/features/run-char-style.feature +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/features/run-clear-run.feature +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/features/run-enum-props.feature +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/features/sct-section.feature +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/features/shp-inline-shape-access.feature +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/features/shp-inline-shape-size.feature +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/features/steps/api.py +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/features/steps/block.py +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/features/steps/cell.py +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/features/steps/coreprops.py +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/features/steps/customprops.py +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/features/steps/document.py +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/features/steps/font.py +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/features/steps/hdrftr.py +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/features/steps/helpers.py +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/features/steps/image.py +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/features/steps/numbering.py +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/features/steps/paragraph.py +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/features/steps/parfmt.py +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/features/steps/section.py +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/features/steps/settings.py +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/features/steps/shape.py +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/features/steps/shared.py +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/features/steps/styles.py +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/features/steps/table.py +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/features/steps/tabstops.py +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/features/steps/test_files/blk-containing-table.docx +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/features/steps/test_files/court-exif.jpg +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/features/steps/test_files/doc-access-sections.docx +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/features/steps/test_files/doc-add-section.docx +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/features/steps/test_files/doc-coreprops.docx +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/features/steps/test_files/doc-customprops.docx +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/features/steps/test_files/doc-default.docx +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/features/steps/test_files/doc-no-coreprops.docx +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/features/steps/test_files/doc-no-customprops.docx +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/features/steps/test_files/doc-odd-even-hdrs.docx +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/features/steps/test_files/doc-word-default-blank.docx +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/features/steps/test_files/fnt-color.docx +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/features/steps/test_files/hdr-header-footer.docx +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/features/steps/test_files/jfif-300-dpi.jpg +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/features/steps/test_files/jpeg420exif.jpg +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/features/steps/test_files/lena.bmp +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/features/steps/test_files/lena.gif +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/features/steps/test_files/lena.tif +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/features/steps/test_files/lena_std.jpg +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/features/steps/test_files/monty-truth.png +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/features/steps/test_files/mountain.bmp +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/features/steps/test_files/num-having-numbering-part.docx +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/features/steps/test_files/par-alignment.docx +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/features/steps/test_files/par-known-paragraphs.docx +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/features/steps/test_files/par-known-styles.docx +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/features/steps/test_files/python-icon.jpeg +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/features/steps/test_files/run-char-style.docx +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/features/steps/test_files/run-enumerated-props.docx +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/features/steps/test_files/sample.tif +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/features/steps/test_files/sct-first-page-hdrftr.docx +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/features/steps/test_files/sct-section-props.docx +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/features/steps/test_files/set-no-settings-part.docx +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/features/steps/test_files/shp-inline-shape-access.docx +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/features/steps/test_files/sty-behav-props.docx +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/features/steps/test_files/sty-having-no-styles-part.docx +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/features/steps/test_files/sty-having-styles-part.docx +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/features/steps/test_files/sty-known-styles.docx +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/features/steps/test_files/tab-stops.docx +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/features/steps/test_files/tbl-2x2-table.docx +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/features/steps/test_files/tbl-cell-access.docx +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/features/steps/test_files/tbl-col-props.docx +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/features/steps/test_files/tbl-having-applied-style.docx +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/features/steps/test_files/tbl-having-tables.docx +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/features/steps/test_files/tbl-on-off-props.docx +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/features/steps/test_files/tbl-props.docx +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/features/steps/test_files/test.png +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/features/steps/test_files/txt-font-highlight-color.docx +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/features/steps/test_files/txt-font-props.docx +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/features/steps/text.py +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/features/sty-access-font.feature +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/features/sty-access-latent-styles.feature +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/features/sty-access-parfmt.feature +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/features/sty-add-style.feature +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/features/sty-delete-style.feature +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/features/sty-latent-add-del.feature +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/features/sty-latent-props.feature +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/features/sty-style-props.feature +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/features/tab-access-tabs.feature +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/features/tab-tabstop-props.feature +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/features/tbl-add-row-or-col.feature +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/features/tbl-cell-access.feature +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/features/tbl-cell-props.feature +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/features/tbl-col-props.feature +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/features/tbl-item-access.feature +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/features/tbl-merge-cells.feature +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/features/tbl-props.feature +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/features/tbl-row-props.feature +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/features/tbl-style.feature +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/features/txt-add-break.feature +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/features/txt-font-color.feature +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/features/txt-font-props.feature +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/features/txt-parfmt-props.feature +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/python_docx_oss.egg-info/SOURCES.txt +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/python_docx_oss.egg-info/dependency_links.txt +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/python_docx_oss.egg-info/not-zip-safe +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/python_docx_oss.egg-info/requires.txt +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/python_docx_oss.egg-info/top_level.txt +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/setup.cfg +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/tests/__init__.py +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/tests/dml/__init__.py +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/tests/dml/test_color.py +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/tests/image/__init__.py +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/tests/image/test_bmp.py +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/tests/image/test_emf.py +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/tests/image/test_gif.py +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/tests/image/test_helpers.py +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/tests/image/test_image.py +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/tests/image/test_jpeg.py +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/tests/image/test_png.py +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/tests/image/test_tiff.py +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/tests/opc/__init__.py +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/tests/opc/parts/__init__.py +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/tests/opc/parts/test_coreprops.py +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/tests/opc/parts/test_customprops.py +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/tests/opc/test_coreprops.py +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/tests/opc/test_customprops.py +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/tests/opc/test_oxml.py +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/tests/opc/test_package.py +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/tests/opc/test_packuri.py +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/tests/opc/test_part.py +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/tests/opc/test_phys_pkg.py +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/tests/opc/test_pkgreader.py +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/tests/opc/test_pkgwriter.py +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/tests/opc/test_rel.py +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/tests/opc/unitdata/__init__.py +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/tests/opc/unitdata/rels.py +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/tests/opc/unitdata/types.py +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/tests/oxml/__init__.py +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/tests/oxml/parts/__init__.py +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/tests/oxml/parts/test_document.py +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/tests/oxml/parts/unitdata/__init__.py +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/tests/oxml/parts/unitdata/document.py +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/tests/oxml/test__init__.py +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/tests/oxml/test_ns.py +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/tests/oxml/test_styles.py +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/tests/oxml/test_table.py +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/tests/oxml/test_xmlchemy.py +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/tests/oxml/text/__init__.py +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/tests/oxml/text/test_run.py +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/tests/oxml/unitdata/__init__.py +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/tests/oxml/unitdata/dml.py +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/tests/oxml/unitdata/numbering.py +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/tests/oxml/unitdata/section.py +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/tests/oxml/unitdata/shared.py +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/tests/oxml/unitdata/styles.py +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/tests/oxml/unitdata/table.py +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/tests/oxml/unitdata/text.py +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/tests/parts/__init__.py +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/tests/parts/test_customxml.py +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/tests/parts/test_document.py +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/tests/parts/test_hdrftr.py +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/tests/parts/test_image.py +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/tests/parts/test_numbering.py +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/tests/parts/test_settings.py +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/tests/parts/test_story.py +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/tests/parts/test_styles.py +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/tests/styles/__init__.py +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/tests/styles/test_latent.py +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/tests/styles/test_style.py +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/tests/styles/test_styles.py +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/tests/test_api.py +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/tests/test_blkcntnr.py +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/tests/test_document.py +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/tests/test_enum.py +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/tests/test_files/150-dpi.png +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/tests/test_files/300-dpi.TIF +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/tests/test_files/300-dpi.jpg +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/tests/test_files/300-dpi.png +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/tests/test_files/72-dpi.tiff +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/tests/test_files/CVS_LOGO.WMF +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/tests/test_files/exif-420-dpi.jpg +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/tests/test_files/expanded_docx/[Content_Types].xml +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/tests/test_files/expanded_docx/_rels/.rels +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/tests/test_files/expanded_docx/customXml/_rels/item1.xml.rels +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/tests/test_files/expanded_docx/customXml/item1.xml +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/tests/test_files/expanded_docx/customXml/itemProps1.xml +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/tests/test_files/expanded_docx/docProps/app.xml +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/tests/test_files/expanded_docx/docProps/core.xml +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/tests/test_files/expanded_docx/docProps/thumbnail.jpeg +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/tests/test_files/expanded_docx/word/_rels/document.xml.rels +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/tests/test_files/expanded_docx/word/document.xml +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/tests/test_files/expanded_docx/word/fontTable.xml +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/tests/test_files/expanded_docx/word/numbering.xml +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/tests/test_files/expanded_docx/word/settings.xml +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/tests/test_files/expanded_docx/word/styles.xml +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/tests/test_files/expanded_docx/word/stylesWithEffects.xml +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/tests/test_files/expanded_docx/word/theme/theme1.xml +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/tests/test_files/expanded_docx/word/webSettings.xml +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/tests/test_files/having-images.docx +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/tests/test_files/jfif-iguana.jpg +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/tests/test_files/little-endian.tif +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/tests/test_files/monty-truth.png +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/tests/test_files/python-icon.jpeg +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/tests/test_files/python-icon.png +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/tests/test_files/python-powered.png +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/tests/test_files/python.bmp +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/tests/test_files/snippets/add-row-col.txt +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/tests/test_files/snippets/inline.txt +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/tests/test_files/snippets/new-tbl.txt +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/tests/test_files/snippets/tbl-cells.txt +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/tests/test_files/sonic.gif +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/tests/test_files/test.docx +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/tests/test_package.py +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/tests/test_section.py +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/tests/test_settings.py +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/tests/test_shape.py +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/tests/test_shared.py +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/tests/test_table.py +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/tests/text/__init__.py +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/tests/text/test_paragraph.py +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/tests/text/test_parfmt.py +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/tests/text/test_run.py +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/tests/text/test_tabstops.py +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/tests/unitdata.py +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/tests/unitutil/__init__.py +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/tests/unitutil/cxml.py +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/tests/unitutil/file.py +0 -0
- {python-docx-oss-0.0.7 → python_docx_oss-0.0.8}/tests/unitutil/mock.py +0 -0
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
## Release History
|
|
2
|
+
|
|
3
|
+
**0.0.8 (2024-11-22)**
|
|
4
|
+
|
|
5
|
+
- EastAsia font support fixes #25
|
|
6
|
+
- Update README.md #26
|
|
7
|
+
|
|
8
|
+
**0.0.7 (2022-10-29)**
|
|
9
|
+
|
|
10
|
+
- add emf image file support. #24
|
|
11
|
+
|
|
12
|
+
**0.0.6 (2022-10-21)**
|
|
13
|
+
|
|
14
|
+
- change default custom xml file name to item1. #23
|
|
15
|
+
|
|
16
|
+
**0.0.5 (2022-8-08)**
|
|
17
|
+
|
|
18
|
+
- minor refactor custom-properties.
|
|
19
|
+
- add add_float_picture in Document. #21
|
|
20
|
+
|
|
21
|
+
**0.0.4 (2022-7-21)**
|
|
22
|
+
|
|
23
|
+
- public python-docx-oss docs @ readthedocs.
|
|
24
|
+
- add delete_item in CustomXmlPart. #17
|
|
25
|
+
|
|
26
|
+
**0.0.3 (2022-7-01)**
|
|
27
|
+
|
|
28
|
+
- Change method text to texts in CT_R. #14
|
|
29
|
+
- Add external target_ref setter. #15
|
|
30
|
+
- Blacken all Python files.
|
|
31
|
+
|
|
32
|
+
**0.0.2 (2022-06-24)**
|
|
33
|
+
|
|
34
|
+
- Add custom xml support. #10
|
|
35
|
+
- Add Part **eq**.
|
|
36
|
+
- Add Part element setter.
|
|
37
|
+
- Add Relationships parts_with_reltype.
|
|
38
|
+
|
|
39
|
+
**0.0.1 (2022-06-16)**
|
|
40
|
+
|
|
41
|
+
- Only support Python3.8, 3.9 and 3.10.
|
|
42
|
+
- Add custom properties support. #2
|
|
43
|
+
- Add drop_rels in Package. #5
|
|
44
|
+
- Add drop_rels in Part. #5
|
|
45
|
+
- Add default NumberingPart. #4
|
|
46
|
+
- Fix Python3.8+ **dict** TypeError. #6
|
|
47
|
+
- Add some typehint.
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: python-docx-oss
|
|
3
|
-
Version: 0.0.
|
|
4
|
-
Summary:
|
|
3
|
+
Version: 0.0.8
|
|
4
|
+
Summary: CRUD Microsoft Word .docx files.
|
|
5
5
|
Home-page: https://github.com/lsaint/python-docx-oss
|
|
6
6
|
Author: Ethan St. Lee
|
|
7
7
|
Author-email: ethan@ginolegaltech.cn
|
|
8
8
|
License: The MIT License (MIT)
|
|
9
|
-
Copyright (c) 2013 Steve Canny, https://github.com/scanny
|
|
10
9
|
Copyright (c) 2022 Ethan St. Lee, https://github.com/lsaint
|
|
10
|
+
Copyright (c) 2013 Steve Canny, https://github.com/scanny
|
|
11
11
|
|
|
12
12
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
13
13
|
of this software and associated documentation files (the "Software"), to deal
|
|
@@ -27,30 +27,30 @@ License: The MIT License (MIT)
|
|
|
27
27
|
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
28
28
|
THE SOFTWARE.
|
|
29
29
|
|
|
30
|
-
Keywords: docx office openxml word python-docx
|
|
31
|
-
|
|
32
|
-
Classifier: Development Status :: 3 - Alpha
|
|
30
|
+
Keywords: docx office openxml word python-docx-oss
|
|
31
|
+
Classifier: Development Status :: 4 - Beta
|
|
33
32
|
Classifier: Environment :: Console
|
|
34
33
|
Classifier: Intended Audience :: Developers
|
|
35
34
|
Classifier: License :: OSI Approved :: MIT License
|
|
36
35
|
Classifier: Operating System :: OS Independent
|
|
37
|
-
Classifier: Programming Language :: Python :: 3.8
|
|
38
|
-
Classifier: Programming Language :: Python :: 3.9
|
|
39
36
|
Classifier: Programming Language :: Python :: 3.10
|
|
37
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
38
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
39
|
+
Classifier: Programming Language :: Python :: 3.13
|
|
40
40
|
Classifier: Topic :: Office/Business :: Office Suites
|
|
41
41
|
Classifier: Topic :: Software Development :: Libraries
|
|
42
42
|
Description-Content-Type: text/markdown
|
|
43
43
|
License-File: LICENSE
|
|
44
|
+
Requires-Dist: lxml>=4.6.5
|
|
44
45
|
|
|
45
46
|
<p align="center">
|
|
46
47
|
<img src="https://raw.githubusercontent.com/lsaint/python-docx-oss/master/docs/_static/img/oss.png" width="400" alt="oss"/>
|
|
47
48
|
</p>
|
|
48
49
|
|
|
49
|
-
|
|
50
|
+
_As a Brazilian jiu-jitsu player, OSS means anything and everything. It's a term used in BJJ that is a way of greeting and demonstrating respect to others._
|
|
50
51
|
|
|
51
52
|
**_python-docx-oss_** is a Python library for CRUD Microsoft Word (.docx) files. It fork from [python-docx](https://github.com/python-openxml/python-docx).
|
|
52
53
|
|
|
53
|
-
|
|
54
54
|
<p>
|
|
55
55
|
<a href="https://pypi.org/project/python-docx-oss/"><img alt="PyPI" src="https://img.shields.io/pypi/v/python-docx-oss"></a>
|
|
56
56
|
<a href="https://pypi.org/project/python-docx-oss"> <img src="https://img.shields.io/pypi/pyversions/python-docx-oss.svg"/></a>
|
|
@@ -70,55 +70,53 @@ License-File: LICENSE
|
|
|
70
70
|
|
|
71
71
|
More information is available in the [python-docx-oss documentation](https://python-docx-oss.readthedocs.io/en/latest/)
|
|
72
72
|
|
|
73
|
+
This project is based on the original work by [Steve Canny](https://github.com/scanny) and has been modified by [Ethan St. Lee](https://github.com/lsaint).
|
|
73
74
|
|
|
74
|
-
Release History
|
|
75
|
-
---------------
|
|
76
75
|
|
|
77
|
-
|
|
76
|
+
## Release History
|
|
78
77
|
|
|
79
|
-
|
|
78
|
+
**0.0.8 (2024-11-22)**
|
|
80
79
|
|
|
80
|
+
- EastAsia font support fixes #25
|
|
81
|
+
- Update README.md #26
|
|
81
82
|
|
|
82
|
-
**0.0.
|
|
83
|
+
**0.0.7 (2022-10-29)**
|
|
84
|
+
|
|
85
|
+
- add emf image file support. #24
|
|
83
86
|
|
|
84
|
-
|
|
87
|
+
**0.0.6 (2022-10-21)**
|
|
85
88
|
|
|
89
|
+
- change default custom xml file name to item1. #23
|
|
86
90
|
|
|
87
91
|
**0.0.5 (2022-8-08)**
|
|
88
92
|
|
|
89
|
-
-
|
|
90
|
-
-
|
|
91
|
-
|
|
93
|
+
- minor refactor custom-properties.
|
|
94
|
+
- add add_float_picture in Document. #21
|
|
92
95
|
|
|
93
96
|
**0.0.4 (2022-7-21)**
|
|
94
97
|
|
|
95
|
-
-
|
|
96
|
-
-
|
|
97
|
-
|
|
98
|
+
- public python-docx-oss docs @ readthedocs.
|
|
99
|
+
- add delete_item in CustomXmlPart. #17
|
|
98
100
|
|
|
99
101
|
**0.0.3 (2022-7-01)**
|
|
100
102
|
|
|
101
|
-
-
|
|
102
|
-
-
|
|
103
|
-
-
|
|
104
|
-
|
|
103
|
+
- Change method text to texts in CT_R. #14
|
|
104
|
+
- Add external target_ref setter. #15
|
|
105
|
+
- Blacken all Python files.
|
|
105
106
|
|
|
106
107
|
**0.0.2 (2022-06-24)**
|
|
107
108
|
|
|
108
|
-
-
|
|
109
|
-
-
|
|
110
|
-
-
|
|
111
|
-
-
|
|
112
|
-
|
|
109
|
+
- Add custom xml support. #10
|
|
110
|
+
- Add Part **eq**.
|
|
111
|
+
- Add Part element setter.
|
|
112
|
+
- Add Relationships parts_with_reltype.
|
|
113
113
|
|
|
114
114
|
**0.0.1 (2022-06-16)**
|
|
115
115
|
|
|
116
|
-
-
|
|
117
|
-
-
|
|
118
|
-
-
|
|
119
|
-
-
|
|
120
|
-
-
|
|
121
|
-
-
|
|
122
|
-
-
|
|
123
|
-
|
|
124
|
-
|
|
116
|
+
- Only support Python3.8, 3.9 and 3.10.
|
|
117
|
+
- Add custom properties support. #2
|
|
118
|
+
- Add drop_rels in Package. #5
|
|
119
|
+
- Add drop_rels in Part. #5
|
|
120
|
+
- Add default NumberingPart. #4
|
|
121
|
+
- Fix Python3.8+ **dict** TypeError. #6
|
|
122
|
+
- Add some typehint.
|
|
@@ -2,11 +2,10 @@
|
|
|
2
2
|
<img src="https://raw.githubusercontent.com/lsaint/python-docx-oss/master/docs/_static/img/oss.png" width="400" alt="oss"/>
|
|
3
3
|
</p>
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
_As a Brazilian jiu-jitsu player, OSS means anything and everything. It's a term used in BJJ that is a way of greeting and demonstrating respect to others._
|
|
6
6
|
|
|
7
7
|
**_python-docx-oss_** is a Python library for CRUD Microsoft Word (.docx) files. It fork from [python-docx](https://github.com/python-openxml/python-docx).
|
|
8
8
|
|
|
9
|
-
|
|
10
9
|
<p>
|
|
11
10
|
<a href="https://pypi.org/project/python-docx-oss/"><img alt="PyPI" src="https://img.shields.io/pypi/v/python-docx-oss"></a>
|
|
12
11
|
<a href="https://pypi.org/project/python-docx-oss"> <img src="https://img.shields.io/pypi/pyversions/python-docx-oss.svg"/></a>
|
|
@@ -25,3 +24,5 @@
|
|
|
25
24
|
---
|
|
26
25
|
|
|
27
26
|
More information is available in the [python-docx-oss documentation](https://python-docx-oss.readthedocs.io/en/latest/)
|
|
27
|
+
|
|
28
|
+
This project is based on the original work by [Steve Canny](https://github.com/scanny) and has been modified by [Ethan St. Lee](https://github.com/lsaint).
|
|
@@ -40,19 +40,21 @@ be used.
|
|
|
40
40
|
Protocol
|
|
41
41
|
~~~~~~~~
|
|
42
42
|
|
|
43
|
-
|
|
44
|
-
:
|
|
45
|
-
|
|
46
|
-
`w:ascii` and the `w:hAnsi` attribute to the assigned string or removes them
|
|
47
|
-
both if |None| is assigned::
|
|
43
|
+
Assignment to name property sets all of the
|
|
44
|
+
`w:ascii`, `w:hAnsi`, and the `w:eastAsia` attribute to the assigned string or removes them
|
|
45
|
+
all if |None| is assigned::
|
|
48
46
|
|
|
49
47
|
>>> font = document.styles['Normal'].font
|
|
50
48
|
>>> font.name
|
|
51
49
|
None
|
|
52
50
|
>>> font.name = 'Arial'
|
|
53
51
|
>>> font.name
|
|
54
|
-
'Arial'
|
|
52
|
+
{'ascii':'Arial', 'hAnsi': 'Arial', 'eastAsia': 'Arial'}
|
|
55
53
|
|
|
54
|
+
You can set one or some of name attributes by using *dict* type::
|
|
55
|
+
>>> font.name = {'ascii':'Arial', 'hAnsi': 'Arial', 'eastAsia': 'MS Gothic'}
|
|
56
|
+
>>> font.name
|
|
57
|
+
{'ascii':'Arial', 'hAnsi': 'Arial', 'eastAsia': 'MS Gothic'}
|
|
56
58
|
|
|
57
59
|
Boolean run properties
|
|
58
60
|
----------------------
|
|
@@ -14,6 +14,11 @@ It can not be seen or modified in Word like :ref:`CustomProperties<custom_proper
|
|
|
14
14
|
python-docx-oss will create a default XML file in the folder if there are not.
|
|
15
15
|
Then developer can add/delete/modify items in it.
|
|
16
16
|
|
|
17
|
+
WARNING:
|
|
18
|
+
This feature may only work for Microsoft Office Word,
|
|
19
|
+
Some other docx file clients may delete the customXml folder after editing.
|
|
20
|
+
Please use :ref:`CustomProperties<custom_properties>` in this circumstance.
|
|
21
|
+
|
|
17
22
|
eg::
|
|
18
23
|
|
|
19
24
|
from docx import Document
|
|
@@ -30,6 +30,7 @@ class CT_Fonts(BaseOxmlElement):
|
|
|
30
30
|
|
|
31
31
|
ascii = OptionalAttribute("w:ascii", ST_String)
|
|
32
32
|
hAnsi = OptionalAttribute("w:hAnsi", ST_String)
|
|
33
|
+
eastAsia = OptionalAttribute("w:eastAsia", ST_String)
|
|
33
34
|
|
|
34
35
|
|
|
35
36
|
class CT_Highlight(BaseOxmlElement):
|
|
@@ -188,6 +189,27 @@ class CT_RPr(BaseOxmlElement):
|
|
|
188
189
|
rFonts = self.get_or_add_rFonts()
|
|
189
190
|
rFonts.hAnsi = value
|
|
190
191
|
|
|
192
|
+
@property
|
|
193
|
+
def rFonts_eastAsia(self):
|
|
194
|
+
"""
|
|
195
|
+
The value of `w:rFonts/@w:eastAsia` or |None| if not present. Represents
|
|
196
|
+
the assigned typeface name. The rFonts element also specifies other
|
|
197
|
+
special-case typeface names; this method handles the case where just
|
|
198
|
+
the common name is required.
|
|
199
|
+
"""
|
|
200
|
+
rFonts = self.rFonts
|
|
201
|
+
if rFonts is None:
|
|
202
|
+
return None
|
|
203
|
+
return rFonts.eastAsia
|
|
204
|
+
|
|
205
|
+
@rFonts_eastAsia.setter
|
|
206
|
+
def rFonts_eastAsia(self, value):
|
|
207
|
+
if value is None:
|
|
208
|
+
self._remove_rFonts()
|
|
209
|
+
return
|
|
210
|
+
rFonts = self.get_or_add_rFonts()
|
|
211
|
+
rFonts.eastAsia = value
|
|
212
|
+
|
|
191
213
|
@property
|
|
192
214
|
def style(self):
|
|
193
215
|
"""
|
|
@@ -179,21 +179,36 @@ class Font(ElementProxy):
|
|
|
179
179
|
@property
|
|
180
180
|
def name(self):
|
|
181
181
|
"""
|
|
182
|
-
Get or set the typeface
|
|
182
|
+
Get or set the typeface names for this |Font| instance, causing the
|
|
183
183
|
text it controls to appear in the named font, if a matching font is
|
|
184
184
|
found. |None| indicates the typeface is inherited from the style
|
|
185
|
-
hierarchy.
|
|
185
|
+
hierarchy. `ascii`, `hAnsi`, and `eastAsia` can be set respectively
|
|
186
|
+
by specifying them in dictionary format
|
|
186
187
|
"""
|
|
187
188
|
rPr = self._element.rPr
|
|
188
189
|
if rPr is None:
|
|
189
|
-
return
|
|
190
|
-
|
|
190
|
+
return {
|
|
191
|
+
"ascii": None,
|
|
192
|
+
"hAnsi": None,
|
|
193
|
+
"eastAsia": None,
|
|
194
|
+
}
|
|
195
|
+
return {
|
|
196
|
+
"ascii": rPr.rFonts_ascii,
|
|
197
|
+
"hAnsi": rPr.rFonts_hAnsi,
|
|
198
|
+
"eastAsia": rPr.rFonts_eastAsia,
|
|
199
|
+
}
|
|
191
200
|
|
|
192
201
|
@name.setter
|
|
193
202
|
def name(self, value):
|
|
194
203
|
rPr = self._element.get_or_add_rPr()
|
|
195
|
-
|
|
196
|
-
|
|
204
|
+
if isinstance(value, dict):
|
|
205
|
+
rPr.rFonts_ascii = value.get('ascii')
|
|
206
|
+
rPr.rFonts_hAnsi = value.get('hAnsi')
|
|
207
|
+
rPr.rFonts_eastAsia = value.get('eastAsia')
|
|
208
|
+
else:
|
|
209
|
+
rPr.rFonts_ascii = value
|
|
210
|
+
rPr.rFonts_hAnsi = value
|
|
211
|
+
rPr.rFonts_eastAsia = value
|
|
197
212
|
|
|
198
213
|
@property
|
|
199
214
|
def no_proof(self):
|
|
Binary file
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: python-docx-oss
|
|
3
|
-
Version: 0.0.
|
|
4
|
-
Summary:
|
|
3
|
+
Version: 0.0.8
|
|
4
|
+
Summary: CRUD Microsoft Word .docx files.
|
|
5
5
|
Home-page: https://github.com/lsaint/python-docx-oss
|
|
6
6
|
Author: Ethan St. Lee
|
|
7
7
|
Author-email: ethan@ginolegaltech.cn
|
|
8
8
|
License: The MIT License (MIT)
|
|
9
|
-
Copyright (c) 2013 Steve Canny, https://github.com/scanny
|
|
10
9
|
Copyright (c) 2022 Ethan St. Lee, https://github.com/lsaint
|
|
10
|
+
Copyright (c) 2013 Steve Canny, https://github.com/scanny
|
|
11
11
|
|
|
12
12
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
13
13
|
of this software and associated documentation files (the "Software"), to deal
|
|
@@ -27,30 +27,30 @@ License: The MIT License (MIT)
|
|
|
27
27
|
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
28
28
|
THE SOFTWARE.
|
|
29
29
|
|
|
30
|
-
Keywords: docx office openxml word python-docx
|
|
31
|
-
|
|
32
|
-
Classifier: Development Status :: 3 - Alpha
|
|
30
|
+
Keywords: docx office openxml word python-docx-oss
|
|
31
|
+
Classifier: Development Status :: 4 - Beta
|
|
33
32
|
Classifier: Environment :: Console
|
|
34
33
|
Classifier: Intended Audience :: Developers
|
|
35
34
|
Classifier: License :: OSI Approved :: MIT License
|
|
36
35
|
Classifier: Operating System :: OS Independent
|
|
37
|
-
Classifier: Programming Language :: Python :: 3.8
|
|
38
|
-
Classifier: Programming Language :: Python :: 3.9
|
|
39
36
|
Classifier: Programming Language :: Python :: 3.10
|
|
37
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
38
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
39
|
+
Classifier: Programming Language :: Python :: 3.13
|
|
40
40
|
Classifier: Topic :: Office/Business :: Office Suites
|
|
41
41
|
Classifier: Topic :: Software Development :: Libraries
|
|
42
42
|
Description-Content-Type: text/markdown
|
|
43
43
|
License-File: LICENSE
|
|
44
|
+
Requires-Dist: lxml>=4.6.5
|
|
44
45
|
|
|
45
46
|
<p align="center">
|
|
46
47
|
<img src="https://raw.githubusercontent.com/lsaint/python-docx-oss/master/docs/_static/img/oss.png" width="400" alt="oss"/>
|
|
47
48
|
</p>
|
|
48
49
|
|
|
49
|
-
|
|
50
|
+
_As a Brazilian jiu-jitsu player, OSS means anything and everything. It's a term used in BJJ that is a way of greeting and demonstrating respect to others._
|
|
50
51
|
|
|
51
52
|
**_python-docx-oss_** is a Python library for CRUD Microsoft Word (.docx) files. It fork from [python-docx](https://github.com/python-openxml/python-docx).
|
|
52
53
|
|
|
53
|
-
|
|
54
54
|
<p>
|
|
55
55
|
<a href="https://pypi.org/project/python-docx-oss/"><img alt="PyPI" src="https://img.shields.io/pypi/v/python-docx-oss"></a>
|
|
56
56
|
<a href="https://pypi.org/project/python-docx-oss"> <img src="https://img.shields.io/pypi/pyversions/python-docx-oss.svg"/></a>
|
|
@@ -70,55 +70,53 @@ License-File: LICENSE
|
|
|
70
70
|
|
|
71
71
|
More information is available in the [python-docx-oss documentation](https://python-docx-oss.readthedocs.io/en/latest/)
|
|
72
72
|
|
|
73
|
+
This project is based on the original work by [Steve Canny](https://github.com/scanny) and has been modified by [Ethan St. Lee](https://github.com/lsaint).
|
|
73
74
|
|
|
74
|
-
Release History
|
|
75
|
-
---------------
|
|
76
75
|
|
|
77
|
-
|
|
76
|
+
## Release History
|
|
78
77
|
|
|
79
|
-
|
|
78
|
+
**0.0.8 (2024-11-22)**
|
|
80
79
|
|
|
80
|
+
- EastAsia font support fixes #25
|
|
81
|
+
- Update README.md #26
|
|
81
82
|
|
|
82
|
-
**0.0.
|
|
83
|
+
**0.0.7 (2022-10-29)**
|
|
84
|
+
|
|
85
|
+
- add emf image file support. #24
|
|
83
86
|
|
|
84
|
-
|
|
87
|
+
**0.0.6 (2022-10-21)**
|
|
85
88
|
|
|
89
|
+
- change default custom xml file name to item1. #23
|
|
86
90
|
|
|
87
91
|
**0.0.5 (2022-8-08)**
|
|
88
92
|
|
|
89
|
-
-
|
|
90
|
-
-
|
|
91
|
-
|
|
93
|
+
- minor refactor custom-properties.
|
|
94
|
+
- add add_float_picture in Document. #21
|
|
92
95
|
|
|
93
96
|
**0.0.4 (2022-7-21)**
|
|
94
97
|
|
|
95
|
-
-
|
|
96
|
-
-
|
|
97
|
-
|
|
98
|
+
- public python-docx-oss docs @ readthedocs.
|
|
99
|
+
- add delete_item in CustomXmlPart. #17
|
|
98
100
|
|
|
99
101
|
**0.0.3 (2022-7-01)**
|
|
100
102
|
|
|
101
|
-
-
|
|
102
|
-
-
|
|
103
|
-
-
|
|
104
|
-
|
|
103
|
+
- Change method text to texts in CT_R. #14
|
|
104
|
+
- Add external target_ref setter. #15
|
|
105
|
+
- Blacken all Python files.
|
|
105
106
|
|
|
106
107
|
**0.0.2 (2022-06-24)**
|
|
107
108
|
|
|
108
|
-
-
|
|
109
|
-
-
|
|
110
|
-
-
|
|
111
|
-
-
|
|
112
|
-
|
|
109
|
+
- Add custom xml support. #10
|
|
110
|
+
- Add Part **eq**.
|
|
111
|
+
- Add Part element setter.
|
|
112
|
+
- Add Relationships parts_with_reltype.
|
|
113
113
|
|
|
114
114
|
**0.0.1 (2022-06-16)**
|
|
115
115
|
|
|
116
|
-
-
|
|
117
|
-
-
|
|
118
|
-
-
|
|
119
|
-
-
|
|
120
|
-
-
|
|
121
|
-
-
|
|
122
|
-
-
|
|
123
|
-
|
|
124
|
-
|
|
116
|
+
- Only support Python3.8, 3.9 and 3.10.
|
|
117
|
+
- Add custom properties support. #2
|
|
118
|
+
- Add drop_rels in Package. #5
|
|
119
|
+
- Add drop_rels in Part. #5
|
|
120
|
+
- Add default NumberingPart. #4
|
|
121
|
+
- Fix Python3.8+ **dict** TypeError. #6
|
|
122
|
+
- Add some typehint.
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env python
|
|
2
2
|
|
|
3
3
|
import os
|
|
4
|
+
import pathlib
|
|
4
5
|
import re
|
|
5
6
|
|
|
6
7
|
from setuptools import find_packages, setup
|
|
@@ -13,21 +14,19 @@ def text_of(relpath):
|
|
|
13
14
|
"""
|
|
14
15
|
thisdir = os.path.dirname(__file__)
|
|
15
16
|
file_path = os.path.join(thisdir, os.path.normpath(relpath))
|
|
16
|
-
|
|
17
|
-
text = f.read()
|
|
18
|
-
return text
|
|
17
|
+
return pathlib.Path(file_path).read_text()
|
|
19
18
|
|
|
20
19
|
|
|
21
20
|
# Read the version from docx.__version__ without importing the package
|
|
22
21
|
# (and thus attempting to import packages it depends on that may not be
|
|
23
22
|
# installed yet)
|
|
24
|
-
version = re.search(r'__version__ = "([^"]+)"', text_of("docx/__init__.py"))
|
|
23
|
+
version = re.search(r'__version__ = "([^"]+)"', text_of("docx/__init__.py"))[1]
|
|
25
24
|
|
|
26
25
|
|
|
27
26
|
NAME = "python-docx-oss"
|
|
28
27
|
VERSION = version
|
|
29
|
-
DESCRIPTION = "
|
|
30
|
-
KEYWORDS = "docx office openxml word python-docx"
|
|
28
|
+
DESCRIPTION = "CRUD Microsoft Word .docx files."
|
|
29
|
+
KEYWORDS = "docx office openxml word python-docx-oss"
|
|
31
30
|
AUTHOR = "Ethan St. Lee"
|
|
32
31
|
AUTHOR_EMAIL = "ethan@ginolegaltech.cn"
|
|
33
32
|
URL = "https://github.com/lsaint/python-docx-oss"
|
|
@@ -40,14 +39,15 @@ TEST_SUITE = "tests"
|
|
|
40
39
|
TESTS_REQUIRE = ["behave", "mock", "pyparsing", "pytest"]
|
|
41
40
|
|
|
42
41
|
CLASSIFIERS = [
|
|
43
|
-
"Development Status ::
|
|
42
|
+
"Development Status :: 4 - Beta",
|
|
44
43
|
"Environment :: Console",
|
|
45
44
|
"Intended Audience :: Developers",
|
|
46
45
|
"License :: OSI Approved :: MIT License",
|
|
47
46
|
"Operating System :: OS Independent",
|
|
48
|
-
"Programming Language :: Python :: 3.8",
|
|
49
|
-
"Programming Language :: Python :: 3.9",
|
|
50
47
|
"Programming Language :: Python :: 3.10",
|
|
48
|
+
"Programming Language :: Python :: 3.11",
|
|
49
|
+
"Programming Language :: Python :: 3.12",
|
|
50
|
+
"Programming Language :: Python :: 3.13",
|
|
51
51
|
"Topic :: Office/Business :: Office Suites",
|
|
52
52
|
"Topic :: Software Development :: Libraries",
|
|
53
53
|
]
|
|
@@ -228,10 +228,12 @@ class DescribeFont(object):
|
|
|
228
228
|
|
|
229
229
|
@pytest.fixture(
|
|
230
230
|
params=[
|
|
231
|
-
("w:r", None),
|
|
232
|
-
("w:r/w:rPr", None),
|
|
233
|
-
("w:r/w:rPr/w:rFonts", None),
|
|
234
|
-
("w:r/w:rPr/w:rFonts{w:ascii=Arial}", "Arial"),
|
|
231
|
+
("w:r", {'ascii': None, 'hAnsi': None, 'eastAsia': None}),
|
|
232
|
+
("w:r/w:rPr", {'ascii': None, 'hAnsi': None, 'eastAsia': None}),
|
|
233
|
+
("w:r/w:rPr/w:rFonts", {'ascii': None, 'hAnsi': None, 'eastAsia': None}),
|
|
234
|
+
("w:r/w:rPr/w:rFonts{w:ascii=Arial}", {'ascii': "Arial", 'hAnsi': None, 'eastAsia': None}),
|
|
235
|
+
("w:r/w:rPr/w:rFonts{w:hAnsi=Arial}", {'ascii': None, 'hAnsi': "Arial", 'eastAsia': None}),
|
|
236
|
+
("w:r/w:rPr/w:rFonts{w:eastAsia=Arial}", {'ascii': None, 'hAnsi': None, 'eastAsia': "Arial"}),
|
|
235
237
|
]
|
|
236
238
|
)
|
|
237
239
|
def name_get_fixture(self, request):
|
|
@@ -241,17 +243,27 @@ class DescribeFont(object):
|
|
|
241
243
|
|
|
242
244
|
@pytest.fixture(
|
|
243
245
|
params=[
|
|
244
|
-
("w:r", "Foo", "w:r/w:rPr/w:rFonts{w:ascii=Foo,w:hAnsi=Foo}"),
|
|
245
|
-
("w:r/w:rPr", "Foo", "w:r/w:rPr/w:rFonts{w:ascii=Foo,w:hAnsi=Foo}"),
|
|
246
|
+
("w:r", "Foo", "w:r/w:rPr/w:rFonts{w:ascii=Foo,w:hAnsi=Foo,w:eastAsia=Foo}"),
|
|
247
|
+
("w:r/w:rPr", "Foo", "w:r/w:rPr/w:rFonts{w:ascii=Foo,w:hAnsi=Foo,w:eastAsia=Foo}"),
|
|
246
248
|
(
|
|
247
249
|
"w:r/w:rPr/w:rFonts{w:hAnsi=Foo}",
|
|
248
250
|
"Bar",
|
|
249
|
-
"w:r/w:rPr/w:rFonts{w:ascii=Bar,w:hAnsi=Bar}",
|
|
251
|
+
"w:r/w:rPr/w:rFonts{w:ascii=Bar,w:hAnsi=Bar,w:eastAsia=Bar}",
|
|
250
252
|
),
|
|
251
253
|
(
|
|
252
254
|
"w:r/w:rPr/w:rFonts{w:ascii=Foo,w:hAnsi=Foo}",
|
|
253
255
|
"Bar",
|
|
254
|
-
"w:r/w:rPr/w:rFonts{w:ascii=Bar,w:hAnsi=Bar}",
|
|
256
|
+
"w:r/w:rPr/w:rFonts{w:ascii=Bar,w:hAnsi=Bar,w:eastAsia=Bar}",
|
|
257
|
+
),
|
|
258
|
+
(
|
|
259
|
+
"w:r/w:rPr/w:rFonts{w:ascii=Foo,w:eastAsia=Foo}",
|
|
260
|
+
"Bar",
|
|
261
|
+
"w:r/w:rPr/w:rFonts{w:ascii=Bar,w:hAnsi=Bar,w:eastAsia=Bar}",
|
|
262
|
+
),
|
|
263
|
+
(
|
|
264
|
+
"w:r/w:rPr/w:rFonts{w:hAnsi=Foo,w:eastAsia=Foo}",
|
|
265
|
+
"Bar",
|
|
266
|
+
"w:r/w:rPr/w:rFonts{w:ascii=Bar,w:hAnsi=Bar,w:eastAsia=Bar}",
|
|
255
267
|
),
|
|
256
268
|
]
|
|
257
269
|
)
|