ps-python-docx 1.3.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.
- ps_python_docx-1.3.0/HISTORY.rst +335 -0
- ps_python_docx-1.3.0/LICENSE +20 -0
- ps_python_docx-1.3.0/MANIFEST.in +10 -0
- ps_python_docx-1.3.0/PKG-INFO +77 -0
- ps_python_docx-1.3.0/README.md +42 -0
- ps_python_docx-1.3.0/docs/Makefile +153 -0
- ps_python_docx-1.3.0/docs/_static/.gitignore +0 -0
- ps_python_docx-1.3.0/docs/_static/img/comment-parts.png +0 -0
- ps_python_docx-1.3.0/docs/_static/img/example-docx-01.png +0 -0
- ps_python_docx-1.3.0/docs/_static/img/hdrftr-01.png +0 -0
- ps_python_docx-1.3.0/docs/_static/img/hdrftr-02.png +0 -0
- ps_python_docx-1.3.0/docs/_templates/sidebarlinks.html +6 -0
- ps_python_docx-1.3.0/docs/_themes/armstrong/LICENSE +25 -0
- ps_python_docx-1.3.0/docs/_themes/armstrong/layout.html +48 -0
- ps_python_docx-1.3.0/docs/_themes/armstrong/rtd-themes.conf +65 -0
- ps_python_docx-1.3.0/docs/_themes/armstrong/static/rtd.css_t +781 -0
- ps_python_docx-1.3.0/docs/_themes/armstrong/theme.conf +65 -0
- ps_python_docx-1.3.0/docs/_themes/armstrong/theme.conf.orig +66 -0
- ps_python_docx-1.3.0/docs/api/comments.rst +27 -0
- ps_python_docx-1.3.0/docs/api/dml.rst +16 -0
- ps_python_docx-1.3.0/docs/api/document.rst +117 -0
- ps_python_docx-1.3.0/docs/api/enum/MsoColorType.rst +23 -0
- ps_python_docx-1.3.0/docs/api/enum/MsoThemeColorIndex.rst +71 -0
- ps_python_docx-1.3.0/docs/api/enum/WdAlignParagraph.rst +45 -0
- ps_python_docx-1.3.0/docs/api/enum/WdBuiltinStyle.rst +415 -0
- ps_python_docx-1.3.0/docs/api/enum/WdCellVerticalAlignment.rst +32 -0
- ps_python_docx-1.3.0/docs/api/enum/WdColorIndex.rst +62 -0
- ps_python_docx-1.3.0/docs/api/enum/WdLineSpacing.rst +36 -0
- ps_python_docx-1.3.0/docs/api/enum/WdOrientation.rst +23 -0
- ps_python_docx-1.3.0/docs/api/enum/WdRowAlignment.rst +24 -0
- ps_python_docx-1.3.0/docs/api/enum/WdRowHeightRule.rst +26 -0
- ps_python_docx-1.3.0/docs/api/enum/WdSectionStart.rst +32 -0
- ps_python_docx-1.3.0/docs/api/enum/WdStyleType.rst +29 -0
- ps_python_docx-1.3.0/docs/api/enum/WdTabAlignment.rst +38 -0
- ps_python_docx-1.3.0/docs/api/enum/WdTabLeader.rst +26 -0
- ps_python_docx-1.3.0/docs/api/enum/WdTableDirection.rst +24 -0
- ps_python_docx-1.3.0/docs/api/enum/WdUnderline.rst +69 -0
- ps_python_docx-1.3.0/docs/api/enum/index.rst +26 -0
- ps_python_docx-1.3.0/docs/api/section.rst +41 -0
- ps_python_docx-1.3.0/docs/api/settings.rst +13 -0
- ps_python_docx-1.3.0/docs/api/shape.rst +31 -0
- ps_python_docx-1.3.0/docs/api/shared.rst +59 -0
- ps_python_docx-1.3.0/docs/api/style.rst +97 -0
- ps_python_docx-1.3.0/docs/api/table.rst +55 -0
- ps_python_docx-1.3.0/docs/api/text.rst +63 -0
- ps_python_docx-1.3.0/docs/api/theme.rst +63 -0
- ps_python_docx-1.3.0/docs/conf.py +395 -0
- ps_python_docx-1.3.0/docs/dev/analysis/features/comments.rst +419 -0
- ps_python_docx-1.3.0/docs/dev/analysis/features/coreprops.rst +199 -0
- ps_python_docx-1.3.0/docs/dev/analysis/features/header.rst +291 -0
- ps_python_docx-1.3.0/docs/dev/analysis/features/numbering.rst +55 -0
- ps_python_docx-1.3.0/docs/dev/analysis/features/sections.rst +311 -0
- ps_python_docx-1.3.0/docs/dev/analysis/features/settings.rst +196 -0
- ps_python_docx-1.3.0/docs/dev/analysis/features/shapes/index.rst +68 -0
- ps_python_docx-1.3.0/docs/dev/analysis/features/shapes/picture.rst +252 -0
- ps_python_docx-1.3.0/docs/dev/analysis/features/shapes/shapes-inline-size.rst +101 -0
- ps_python_docx-1.3.0/docs/dev/analysis/features/shapes/shapes-inline.rst +197 -0
- ps_python_docx-1.3.0/docs/dev/analysis/features/styles/character-style.rst +161 -0
- ps_python_docx-1.3.0/docs/dev/analysis/features/styles/index.rst +330 -0
- ps_python_docx-1.3.0/docs/dev/analysis/features/styles/latent-styles.rst +266 -0
- ps_python_docx-1.3.0/docs/dev/analysis/features/styles/paragraph-style.rst +142 -0
- ps_python_docx-1.3.0/docs/dev/analysis/features/styles/style.rst +501 -0
- ps_python_docx-1.3.0/docs/dev/analysis/features/styles/styles.rst +222 -0
- ps_python_docx-1.3.0/docs/dev/analysis/features/table/cell-merge.rst +572 -0
- ps_python_docx-1.3.0/docs/dev/analysis/features/table/index.rst +212 -0
- ps_python_docx-1.3.0/docs/dev/analysis/features/table/table-cell.rst +216 -0
- ps_python_docx-1.3.0/docs/dev/analysis/features/table/table-props.rst +251 -0
- ps_python_docx-1.3.0/docs/dev/analysis/features/table/table-row.rst +133 -0
- ps_python_docx-1.3.0/docs/dev/analysis/features/text/breaks.rst +269 -0
- ps_python_docx-1.3.0/docs/dev/analysis/features/text/font-color.rst +288 -0
- ps_python_docx-1.3.0/docs/dev/analysis/features/text/font-highlight-color.rst +177 -0
- ps_python_docx-1.3.0/docs/dev/analysis/features/text/font.rst +403 -0
- ps_python_docx-1.3.0/docs/dev/analysis/features/text/hyperlink.rst +383 -0
- ps_python_docx-1.3.0/docs/dev/analysis/features/text/index.rst +16 -0
- ps_python_docx-1.3.0/docs/dev/analysis/features/text/paragraph-format.rst +473 -0
- ps_python_docx-1.3.0/docs/dev/analysis/features/text/run-content.rst +77 -0
- ps_python_docx-1.3.0/docs/dev/analysis/features/text/tab-stops.rst +256 -0
- ps_python_docx-1.3.0/docs/dev/analysis/features/text/underline.rst +155 -0
- ps_python_docx-1.3.0/docs/dev/analysis/index.rst +36 -0
- ps_python_docx-1.3.0/docs/dev/analysis/schema/ct_body.rst +165 -0
- ps_python_docx-1.3.0/docs/dev/analysis/schema/ct_document.rst +109 -0
- ps_python_docx-1.3.0/docs/dev/analysis/schema/ct_p.rst +133 -0
- ps_python_docx-1.3.0/docs/index.rst +114 -0
- ps_python_docx-1.3.0/docs/user/api-concepts.rst +31 -0
- ps_python_docx-1.3.0/docs/user/comments.rst +168 -0
- ps_python_docx-1.3.0/docs/user/documents.rst +94 -0
- ps_python_docx-1.3.0/docs/user/hdrftr.rst +166 -0
- ps_python_docx-1.3.0/docs/user/install.rst +38 -0
- ps_python_docx-1.3.0/docs/user/quickstart.rst +328 -0
- ps_python_docx-1.3.0/docs/user/sections.rst +121 -0
- ps_python_docx-1.3.0/docs/user/shapes.rst +27 -0
- ps_python_docx-1.3.0/docs/user/styles-understanding.rst +382 -0
- ps_python_docx-1.3.0/docs/user/styles-using.rst +391 -0
- ps_python_docx-1.3.0/docs/user/tables.rst +202 -0
- ps_python_docx-1.3.0/docs/user/text.rst +389 -0
- ps_python_docx-1.3.0/features/api-open-document.feature +16 -0
- ps_python_docx-1.3.0/features/blk-add-paragraph.feature +12 -0
- ps_python_docx-1.3.0/features/blk-add-table.feature +13 -0
- ps_python_docx-1.3.0/features/blk-iter-inner-content.feature +24 -0
- ps_python_docx-1.3.0/features/cmt-mutations.feature +59 -0
- ps_python_docx-1.3.0/features/cmt-props.feature +35 -0
- ps_python_docx-1.3.0/features/doc-access-collections.feature +29 -0
- ps_python_docx-1.3.0/features/doc-access-sections.feature +11 -0
- ps_python_docx-1.3.0/features/doc-add-comment.feature +13 -0
- ps_python_docx-1.3.0/features/doc-add-heading.feature +25 -0
- ps_python_docx-1.3.0/features/doc-add-page-break.feature +10 -0
- ps_python_docx-1.3.0/features/doc-add-paragraph.feature +27 -0
- ps_python_docx-1.3.0/features/doc-add-picture.feature +30 -0
- ps_python_docx-1.3.0/features/doc-add-section.feature +24 -0
- ps_python_docx-1.3.0/features/doc-add-table.feature +20 -0
- ps_python_docx-1.3.0/features/doc-comments.feature +36 -0
- ps_python_docx-1.3.0/features/doc-coreprops.feature +22 -0
- ps_python_docx-1.3.0/features/doc-settings.feature +38 -0
- ps_python_docx-1.3.0/features/doc-styles.feature +17 -0
- ps_python_docx-1.3.0/features/doc-theme-fonts.feature +10 -0
- ps_python_docx-1.3.0/features/environment.py +10 -0
- ps_python_docx-1.3.0/features/hdr-header-footer.feature +88 -0
- ps_python_docx-1.3.0/features/hlk-props.feature +54 -0
- ps_python_docx-1.3.0/features/img-characterize-image.feature +27 -0
- ps_python_docx-1.3.0/features/num-access-numbering-part.feature +10 -0
- ps_python_docx-1.3.0/features/par-access-inner-content.feature +49 -0
- ps_python_docx-1.3.0/features/par-access-parfmt.feature +9 -0
- ps_python_docx-1.3.0/features/par-add-run.feature +16 -0
- ps_python_docx-1.3.0/features/par-alignment-prop.feature +16 -0
- ps_python_docx-1.3.0/features/par-clear-paragraph.feature +11 -0
- ps_python_docx-1.3.0/features/par-insert-paragraph.feature +12 -0
- ps_python_docx-1.3.0/features/par-set-text.feature +11 -0
- ps_python_docx-1.3.0/features/par-style-prop.feature +27 -0
- ps_python_docx-1.3.0/features/pbk-split-para.feature +24 -0
- ps_python_docx-1.3.0/features/run-access-font.feature +9 -0
- ps_python_docx-1.3.0/features/run-access-inner-content.feature +25 -0
- ps_python_docx-1.3.0/features/run-add-content.feature +14 -0
- ps_python_docx-1.3.0/features/run-add-picture.feature +24 -0
- ps_python_docx-1.3.0/features/run-char-style.feature +29 -0
- ps_python_docx-1.3.0/features/run-clear-run.feature +11 -0
- ps_python_docx-1.3.0/features/run-enum-props.feature +35 -0
- ps_python_docx-1.3.0/features/sct-section.feature +150 -0
- ps_python_docx-1.3.0/features/shp-inline-shape-access.feature +24 -0
- ps_python_docx-1.3.0/features/shp-inline-shape-size.feature +13 -0
- ps_python_docx-1.3.0/features/steps/api.py +59 -0
- ps_python_docx-1.3.0/features/steps/block.py +100 -0
- ps_python_docx-1.3.0/features/steps/comments.py +284 -0
- ps_python_docx-1.3.0/features/steps/coreprops.py +117 -0
- ps_python_docx-1.3.0/features/steps/document.py +259 -0
- ps_python_docx-1.3.0/features/steps/font.py +227 -0
- ps_python_docx-1.3.0/features/steps/hdrftr.py +137 -0
- ps_python_docx-1.3.0/features/steps/helpers.py +34 -0
- ps_python_docx-1.3.0/features/steps/hyperlink.py +116 -0
- ps_python_docx-1.3.0/features/steps/image.py +74 -0
- ps_python_docx-1.3.0/features/steps/numbering.py +32 -0
- ps_python_docx-1.3.0/features/steps/pagebreak.py +135 -0
- ps_python_docx-1.3.0/features/steps/paragraph.py +256 -0
- ps_python_docx-1.3.0/features/steps/parfmt.py +210 -0
- ps_python_docx-1.3.0/features/steps/section.py +265 -0
- ps_python_docx-1.3.0/features/steps/settings.py +55 -0
- ps_python_docx-1.3.0/features/steps/shape.py +151 -0
- ps_python_docx-1.3.0/features/steps/shared.py +26 -0
- ps_python_docx-1.3.0/features/steps/styles.py +548 -0
- ps_python_docx-1.3.0/features/steps/table.py +558 -0
- ps_python_docx-1.3.0/features/steps/tabstops.py +141 -0
- ps_python_docx-1.3.0/features/steps/test_files/blk-containing-table.docx +0 -0
- ps_python_docx-1.3.0/features/steps/test_files/blk-paras-and-tables.docx +0 -0
- ps_python_docx-1.3.0/features/steps/test_files/comments-rich-para.docx +0 -0
- ps_python_docx-1.3.0/features/steps/test_files/court-exif.jpg +0 -0
- ps_python_docx-1.3.0/features/steps/test_files/doc-access-sections.docx +0 -0
- ps_python_docx-1.3.0/features/steps/test_files/doc-add-section.docx +0 -0
- ps_python_docx-1.3.0/features/steps/test_files/doc-coreprops.docx +0 -0
- ps_python_docx-1.3.0/features/steps/test_files/doc-default.docx +0 -0
- ps_python_docx-1.3.0/features/steps/test_files/doc-no-coreprops.docx +0 -0
- ps_python_docx-1.3.0/features/steps/test_files/doc-odd-even-hdrs.docx +0 -0
- ps_python_docx-1.3.0/features/steps/test_files/doc-word-default-blank.docx +0 -0
- ps_python_docx-1.3.0/features/steps/test_files/fnt-color.docx +0 -0
- ps_python_docx-1.3.0/features/steps/test_files/hdr-header-footer.docx +0 -0
- ps_python_docx-1.3.0/features/steps/test_files/jfif-300-dpi.jpg +0 -0
- ps_python_docx-1.3.0/features/steps/test_files/jpeg420exif.jpg +0 -0
- ps_python_docx-1.3.0/features/steps/test_files/lena.bmp +0 -0
- ps_python_docx-1.3.0/features/steps/test_files/lena.gif +0 -0
- ps_python_docx-1.3.0/features/steps/test_files/lena.tif +0 -0
- ps_python_docx-1.3.0/features/steps/test_files/lena_std.jpg +0 -0
- ps_python_docx-1.3.0/features/steps/test_files/monty-truth.png +0 -0
- ps_python_docx-1.3.0/features/steps/test_files/mountain.bmp +0 -0
- ps_python_docx-1.3.0/features/steps/test_files/num-having-numbering-part.docx +0 -0
- ps_python_docx-1.3.0/features/steps/test_files/par-alignment.docx +0 -0
- ps_python_docx-1.3.0/features/steps/test_files/par-hlink-frags.docx +0 -0
- ps_python_docx-1.3.0/features/steps/test_files/par-hyperlinks.docx +0 -0
- ps_python_docx-1.3.0/features/steps/test_files/par-known-paragraphs.docx +0 -0
- ps_python_docx-1.3.0/features/steps/test_files/par-known-styles.docx +0 -0
- ps_python_docx-1.3.0/features/steps/test_files/par-rendered-page-breaks.docx +0 -0
- ps_python_docx-1.3.0/features/steps/test_files/python-icon.jpeg +0 -0
- ps_python_docx-1.3.0/features/steps/test_files/run-char-style.docx +0 -0
- ps_python_docx-1.3.0/features/steps/test_files/run-enumerated-props.docx +0 -0
- ps_python_docx-1.3.0/features/steps/test_files/sample.tif +0 -0
- ps_python_docx-1.3.0/features/steps/test_files/sct-first-page-hdrftr.docx +0 -0
- ps_python_docx-1.3.0/features/steps/test_files/sct-inner-content.docx +0 -0
- ps_python_docx-1.3.0/features/steps/test_files/sct-section-props.docx +0 -0
- ps_python_docx-1.3.0/features/steps/test_files/set-no-settings-part.docx +0 -0
- ps_python_docx-1.3.0/features/steps/test_files/shp-inline-shape-access.docx +0 -0
- ps_python_docx-1.3.0/features/steps/test_files/sty-behav-props.docx +0 -0
- ps_python_docx-1.3.0/features/steps/test_files/sty-having-no-styles-part.docx +0 -0
- ps_python_docx-1.3.0/features/steps/test_files/sty-having-styles-part.docx +0 -0
- ps_python_docx-1.3.0/features/steps/test_files/sty-known-styles.docx +0 -0
- ps_python_docx-1.3.0/features/steps/test_files/tab-stops.docx +0 -0
- ps_python_docx-1.3.0/features/steps/test_files/tbl-2x2-table.docx +0 -0
- ps_python_docx-1.3.0/features/steps/test_files/tbl-cell-access.docx +0 -0
- ps_python_docx-1.3.0/features/steps/test_files/tbl-cell-props.docx +0 -0
- ps_python_docx-1.3.0/features/steps/test_files/tbl-col-props.docx +0 -0
- ps_python_docx-1.3.0/features/steps/test_files/tbl-having-applied-style.docx +0 -0
- ps_python_docx-1.3.0/features/steps/test_files/tbl-having-tables.docx +0 -0
- ps_python_docx-1.3.0/features/steps/test_files/tbl-on-off-props.docx +0 -0
- ps_python_docx-1.3.0/features/steps/test_files/tbl-props.docx +0 -0
- ps_python_docx-1.3.0/features/steps/test_files/test.png +0 -0
- ps_python_docx-1.3.0/features/steps/test_files/txt-font-highlight-color.docx +0 -0
- ps_python_docx-1.3.0/features/steps/test_files/txt-font-props.docx +0 -0
- ps_python_docx-1.3.0/features/steps/text.py +326 -0
- ps_python_docx-1.3.0/features/steps/theme.py +47 -0
- ps_python_docx-1.3.0/features/sty-access-font.feature +15 -0
- ps_python_docx-1.3.0/features/sty-access-latent-styles.feature +16 -0
- ps_python_docx-1.3.0/features/sty-access-parfmt.feature +14 -0
- ps_python_docx-1.3.0/features/sty-add-style.feature +20 -0
- ps_python_docx-1.3.0/features/sty-delete-style.feature +11 -0
- ps_python_docx-1.3.0/features/sty-latent-add-del.feature +18 -0
- ps_python_docx-1.3.0/features/sty-latent-props.feature +101 -0
- ps_python_docx-1.3.0/features/sty-style-props.feature +186 -0
- ps_python_docx-1.3.0/features/tab-access-tabs.feature +45 -0
- ps_python_docx-1.3.0/features/tab-tabstop-props.feature +68 -0
- ps_python_docx-1.3.0/features/tbl-add-row-or-col.feature +20 -0
- ps_python_docx-1.3.0/features/tbl-cell-access.feature +39 -0
- ps_python_docx-1.3.0/features/tbl-cell-add-table.feature +12 -0
- ps_python_docx-1.3.0/features/tbl-cell-props.feature +60 -0
- ps_python_docx-1.3.0/features/tbl-cell-text.feature +9 -0
- ps_python_docx-1.3.0/features/tbl-col-props.feature +28 -0
- ps_python_docx-1.3.0/features/tbl-item-access.feature +24 -0
- ps_python_docx-1.3.0/features/tbl-merge-cells.feature +53 -0
- ps_python_docx-1.3.0/features/tbl-props.feature +78 -0
- ps_python_docx-1.3.0/features/tbl-row-props.feature +74 -0
- ps_python_docx-1.3.0/features/tbl-style.feature +29 -0
- ps_python_docx-1.3.0/features/txt-add-break.feature +22 -0
- ps_python_docx-1.3.0/features/txt-font-color.feature +72 -0
- ps_python_docx-1.3.0/features/txt-font-props.feature +233 -0
- ps_python_docx-1.3.0/features/txt-parfmt-props.feature +174 -0
- ps_python_docx-1.3.0/pyproject.toml +137 -0
- ps_python_docx-1.3.0/requirements-dev.txt +7 -0
- ps_python_docx-1.3.0/requirements-docs.txt +5 -0
- ps_python_docx-1.3.0/requirements-test.txt +7 -0
- ps_python_docx-1.3.0/requirements.txt +2 -0
- ps_python_docx-1.3.0/setup.cfg +4 -0
- ps_python_docx-1.3.0/src/docx/__init__.py +68 -0
- ps_python_docx-1.3.0/src/docx/api.py +37 -0
- ps_python_docx-1.3.0/src/docx/blkcntnr.py +101 -0
- ps_python_docx-1.3.0/src/docx/comments.py +163 -0
- ps_python_docx-1.3.0/src/docx/dml/__init__.py +0 -0
- ps_python_docx-1.3.0/src/docx/dml/color.py +112 -0
- ps_python_docx-1.3.0/src/docx/document.py +275 -0
- ps_python_docx-1.3.0/src/docx/drawing/__init__.py +59 -0
- ps_python_docx-1.3.0/src/docx/enum/__init__.py +0 -0
- ps_python_docx-1.3.0/src/docx/enum/base.py +150 -0
- ps_python_docx-1.3.0/src/docx/enum/dml.py +103 -0
- ps_python_docx-1.3.0/src/docx/enum/section.py +86 -0
- ps_python_docx-1.3.0/src/docx/enum/shape.py +19 -0
- ps_python_docx-1.3.0/src/docx/enum/style.py +452 -0
- ps_python_docx-1.3.0/src/docx/enum/table.py +136 -0
- ps_python_docx-1.3.0/src/docx/enum/text.py +367 -0
- ps_python_docx-1.3.0/src/docx/exceptions.py +18 -0
- ps_python_docx-1.3.0/src/docx/image/__init__.py +23 -0
- ps_python_docx-1.3.0/src/docx/image/bmp.py +43 -0
- ps_python_docx-1.3.0/src/docx/image/constants.py +172 -0
- ps_python_docx-1.3.0/src/docx/image/exceptions.py +13 -0
- ps_python_docx-1.3.0/src/docx/image/gif.py +38 -0
- ps_python_docx-1.3.0/src/docx/image/helpers.py +86 -0
- ps_python_docx-1.3.0/src/docx/image/image.py +234 -0
- ps_python_docx-1.3.0/src/docx/image/jpeg.py +425 -0
- ps_python_docx-1.3.0/src/docx/image/png.py +253 -0
- ps_python_docx-1.3.0/src/docx/image/tiff.py +289 -0
- ps_python_docx-1.3.0/src/docx/opc/__init__.py +0 -0
- ps_python_docx-1.3.0/src/docx/opc/constants.py +306 -0
- ps_python_docx-1.3.0/src/docx/opc/coreprops.py +142 -0
- ps_python_docx-1.3.0/src/docx/opc/exceptions.py +12 -0
- ps_python_docx-1.3.0/src/docx/opc/oxml.py +247 -0
- ps_python_docx-1.3.0/src/docx/opc/package.py +219 -0
- ps_python_docx-1.3.0/src/docx/opc/packuri.py +109 -0
- ps_python_docx-1.3.0/src/docx/opc/part.py +247 -0
- ps_python_docx-1.3.0/src/docx/opc/parts/__init__.py +0 -0
- ps_python_docx-1.3.0/src/docx/opc/parts/coreprops.py +48 -0
- ps_python_docx-1.3.0/src/docx/opc/phys_pkg.py +119 -0
- ps_python_docx-1.3.0/src/docx/opc/pkgreader.py +254 -0
- ps_python_docx-1.3.0/src/docx/opc/pkgwriter.py +115 -0
- ps_python_docx-1.3.0/src/docx/opc/rel.py +153 -0
- ps_python_docx-1.3.0/src/docx/opc/shared.py +31 -0
- ps_python_docx-1.3.0/src/docx/opc/spec.py +24 -0
- ps_python_docx-1.3.0/src/docx/oxml/__init__.py +261 -0
- ps_python_docx-1.3.0/src/docx/oxml/comments.py +124 -0
- ps_python_docx-1.3.0/src/docx/oxml/coreprops.py +298 -0
- ps_python_docx-1.3.0/src/docx/oxml/document.py +88 -0
- ps_python_docx-1.3.0/src/docx/oxml/drawing.py +11 -0
- ps_python_docx-1.3.0/src/docx/oxml/exceptions.py +10 -0
- ps_python_docx-1.3.0/src/docx/oxml/ns.py +109 -0
- ps_python_docx-1.3.0/src/docx/oxml/numbering.py +109 -0
- ps_python_docx-1.3.0/src/docx/oxml/parser.py +62 -0
- ps_python_docx-1.3.0/src/docx/oxml/section.py +537 -0
- ps_python_docx-1.3.0/src/docx/oxml/settings.py +138 -0
- ps_python_docx-1.3.0/src/docx/oxml/shape.py +299 -0
- ps_python_docx-1.3.0/src/docx/oxml/shared.py +52 -0
- ps_python_docx-1.3.0/src/docx/oxml/simpletypes.py +434 -0
- ps_python_docx-1.3.0/src/docx/oxml/styles.py +341 -0
- ps_python_docx-1.3.0/src/docx/oxml/table.py +977 -0
- ps_python_docx-1.3.0/src/docx/oxml/text/__init__.py +0 -0
- ps_python_docx-1.3.0/src/docx/oxml/text/font.py +333 -0
- ps_python_docx-1.3.0/src/docx/oxml/text/hyperlink.py +45 -0
- ps_python_docx-1.3.0/src/docx/oxml/text/pagebreak.py +278 -0
- ps_python_docx-1.3.0/src/docx/oxml/text/paragraph.py +106 -0
- ps_python_docx-1.3.0/src/docx/oxml/text/parfmt.py +392 -0
- ps_python_docx-1.3.0/src/docx/oxml/text/run.py +307 -0
- ps_python_docx-1.3.0/src/docx/oxml/xmlchemy.py +696 -0
- ps_python_docx-1.3.0/src/docx/package.py +110 -0
- ps_python_docx-1.3.0/src/docx/parts/__init__.py +0 -0
- ps_python_docx-1.3.0/src/docx/parts/comments.py +51 -0
- ps_python_docx-1.3.0/src/docx/parts/document.py +182 -0
- ps_python_docx-1.3.0/src/docx/parts/hdrftr.py +53 -0
- ps_python_docx-1.3.0/src/docx/parts/image.py +80 -0
- ps_python_docx-1.3.0/src/docx/parts/numbering.py +32 -0
- ps_python_docx-1.3.0/src/docx/parts/settings.py +50 -0
- ps_python_docx-1.3.0/src/docx/parts/story.py +95 -0
- ps_python_docx-1.3.0/src/docx/parts/styles.py +42 -0
- ps_python_docx-1.3.0/src/docx/parts/theme.py +53 -0
- ps_python_docx-1.3.0/src/docx/py.typed +0 -0
- ps_python_docx-1.3.0/src/docx/section.py +479 -0
- ps_python_docx-1.3.0/src/docx/settings.py +35 -0
- ps_python_docx-1.3.0/src/docx/shape.py +103 -0
- ps_python_docx-1.3.0/src/docx/shared.py +382 -0
- ps_python_docx-1.3.0/src/docx/styles/__init__.py +40 -0
- ps_python_docx-1.3.0/src/docx/styles/latent.py +198 -0
- ps_python_docx-1.3.0/src/docx/styles/style.py +264 -0
- ps_python_docx-1.3.0/src/docx/styles/styles.py +147 -0
- ps_python_docx-1.3.0/src/docx/table.py +537 -0
- ps_python_docx-1.3.0/src/docx/templates/default-comments.xml +12 -0
- ps_python_docx-1.3.0/src/docx/templates/default-docx-template/[Content_Types].xml +17 -0
- ps_python_docx-1.3.0/src/docx/templates/default-docx-template/_rels/.rels +7 -0
- ps_python_docx-1.3.0/src/docx/templates/default-docx-template/customXml/_rels/item1.xml.rels +4 -0
- ps_python_docx-1.3.0/src/docx/templates/default-docx-template/customXml/item1.xml +2 -0
- ps_python_docx-1.3.0/src/docx/templates/default-docx-template/customXml/itemProps1.xml +6 -0
- ps_python_docx-1.3.0/src/docx/templates/default-docx-template/docProps/app.xml +36 -0
- ps_python_docx-1.3.0/src/docx/templates/default-docx-template/docProps/core.xml +13 -0
- ps_python_docx-1.3.0/src/docx/templates/default-docx-template/docProps/thumbnail.jpeg +0 -0
- ps_python_docx-1.3.0/src/docx/templates/default-docx-template/word/_rels/document.xml.rels +11 -0
- ps_python_docx-1.3.0/src/docx/templates/default-docx-template/word/document.xml +11 -0
- ps_python_docx-1.3.0/src/docx/templates/default-docx-template/word/fontTable.xml +61 -0
- ps_python_docx-1.3.0/src/docx/templates/default-docx-template/word/numbering.xml +201 -0
- ps_python_docx-1.3.0/src/docx/templates/default-docx-template/word/settings.xml +53 -0
- ps_python_docx-1.3.0/src/docx/templates/default-docx-template/word/styles.xml +11844 -0
- ps_python_docx-1.3.0/src/docx/templates/default-docx-template/word/stylesWithEffects.xml +11800 -0
- ps_python_docx-1.3.0/src/docx/templates/default-docx-template/word/theme/theme1.xml +318 -0
- ps_python_docx-1.3.0/src/docx/templates/default-docx-template/word/webSettings.xml +5 -0
- ps_python_docx-1.3.0/src/docx/templates/default-footer.xml +27 -0
- ps_python_docx-1.3.0/src/docx/templates/default-header.xml +27 -0
- ps_python_docx-1.3.0/src/docx/templates/default-settings.xml +26 -0
- ps_python_docx-1.3.0/src/docx/templates/default-styles.xml +190 -0
- ps_python_docx-1.3.0/src/docx/templates/default.docx +0 -0
- ps_python_docx-1.3.0/src/docx/text/__init__.py +0 -0
- ps_python_docx-1.3.0/src/docx/text/font.py +472 -0
- ps_python_docx-1.3.0/src/docx/text/hyperlink.py +121 -0
- ps_python_docx-1.3.0/src/docx/text/pagebreak.py +104 -0
- ps_python_docx-1.3.0/src/docx/text/paragraph.py +173 -0
- ps_python_docx-1.3.0/src/docx/text/parfmt.py +286 -0
- ps_python_docx-1.3.0/src/docx/text/run.py +257 -0
- ps_python_docx-1.3.0/src/docx/text/tabstops.py +123 -0
- ps_python_docx-1.3.0/src/docx/theme.py +67 -0
- ps_python_docx-1.3.0/src/docx/types.py +34 -0
- ps_python_docx-1.3.0/src/ps_python_docx.egg-info/PKG-INFO +77 -0
- ps_python_docx-1.3.0/src/ps_python_docx.egg-info/SOURCES.txt +500 -0
- ps_python_docx-1.3.0/src/ps_python_docx.egg-info/dependency_links.txt +1 -0
- ps_python_docx-1.3.0/src/ps_python_docx.egg-info/requires.txt +2 -0
- ps_python_docx-1.3.0/src/ps_python_docx.egg-info/top_level.txt +1 -0
- ps_python_docx-1.3.0/tests/__init__.py +0 -0
- ps_python_docx-1.3.0/tests/conftest.py +21 -0
- ps_python_docx-1.3.0/tests/dml/__init__.py +0 -0
- ps_python_docx-1.3.0/tests/dml/test_color.py +132 -0
- ps_python_docx-1.3.0/tests/image/__init__.py +0 -0
- ps_python_docx-1.3.0/tests/image/test_bmp.py +39 -0
- ps_python_docx-1.3.0/tests/image/test_gif.py +36 -0
- ps_python_docx-1.3.0/tests/image/test_helpers.py +46 -0
- ps_python_docx-1.3.0/tests/image/test_image.py +320 -0
- ps_python_docx-1.3.0/tests/image/test_jpeg.py +629 -0
- ps_python_docx-1.3.0/tests/image/test_png.py +426 -0
- ps_python_docx-1.3.0/tests/image/test_tiff.py +442 -0
- ps_python_docx-1.3.0/tests/opc/__init__.py +0 -0
- ps_python_docx-1.3.0/tests/opc/parts/__init__.py +0 -0
- ps_python_docx-1.3.0/tests/opc/parts/test_coreprops.py +53 -0
- ps_python_docx-1.3.0/tests/opc/test_coreprops.py +188 -0
- ps_python_docx-1.3.0/tests/opc/test_oxml.py +132 -0
- ps_python_docx-1.3.0/tests/opc/test_package.py +456 -0
- ps_python_docx-1.3.0/tests/opc/test_packuri.py +89 -0
- ps_python_docx-1.3.0/tests/opc/test_part.py +423 -0
- ps_python_docx-1.3.0/tests/opc/test_phys_pkg.py +182 -0
- ps_python_docx-1.3.0/tests/opc/test_pkgreader.py +494 -0
- ps_python_docx-1.3.0/tests/opc/test_pkgwriter.py +194 -0
- ps_python_docx-1.3.0/tests/opc/test_rel.py +260 -0
- ps_python_docx-1.3.0/tests/opc/unitdata/__init__.py +0 -0
- ps_python_docx-1.3.0/tests/opc/unitdata/rels.py +302 -0
- ps_python_docx-1.3.0/tests/opc/unitdata/types.py +39 -0
- ps_python_docx-1.3.0/tests/oxml/__init__.py +0 -0
- ps_python_docx-1.3.0/tests/oxml/parts/__init__.py +0 -0
- ps_python_docx-1.3.0/tests/oxml/parts/test_document.py +43 -0
- ps_python_docx-1.3.0/tests/oxml/parts/unitdata/__init__.py +0 -0
- ps_python_docx-1.3.0/tests/oxml/parts/unitdata/document.py +23 -0
- ps_python_docx-1.3.0/tests/oxml/test__init__.py +108 -0
- ps_python_docx-1.3.0/tests/oxml/test_comments.py +31 -0
- ps_python_docx-1.3.0/tests/oxml/test_document.py +19 -0
- ps_python_docx-1.3.0/tests/oxml/test_ns.py +53 -0
- ps_python_docx-1.3.0/tests/oxml/test_section.py +19 -0
- ps_python_docx-1.3.0/tests/oxml/test_styles.py +42 -0
- ps_python_docx-1.3.0/tests/oxml/test_table.py +388 -0
- ps_python_docx-1.3.0/tests/oxml/test_xmlchemy.py +826 -0
- ps_python_docx-1.3.0/tests/oxml/text/__init__.py +0 -0
- ps_python_docx-1.3.0/tests/oxml/text/test_hyperlink.py +45 -0
- ps_python_docx-1.3.0/tests/oxml/text/test_run.py +41 -0
- ps_python_docx-1.3.0/tests/oxml/unitdata/__init__.py +0 -0
- ps_python_docx-1.3.0/tests/oxml/unitdata/numbering.py +23 -0
- ps_python_docx-1.3.0/tests/oxml/unitdata/section.py +51 -0
- ps_python_docx-1.3.0/tests/oxml/unitdata/shared.py +29 -0
- ps_python_docx-1.3.0/tests/oxml/unitdata/styles.py +23 -0
- ps_python_docx-1.3.0/tests/oxml/unitdata/text.py +203 -0
- ps_python_docx-1.3.0/tests/parts/__init__.py +0 -0
- ps_python_docx-1.3.0/tests/parts/test_comments.py +87 -0
- ps_python_docx-1.3.0/tests/parts/test_document.py +441 -0
- ps_python_docx-1.3.0/tests/parts/test_hdrftr.py +144 -0
- ps_python_docx-1.3.0/tests/parts/test_image.py +107 -0
- ps_python_docx-1.3.0/tests/parts/test_numbering.py +70 -0
- ps_python_docx-1.3.0/tests/parts/test_settings.py +70 -0
- ps_python_docx-1.3.0/tests/parts/test_story.py +144 -0
- ps_python_docx-1.3.0/tests/parts/test_styles.py +49 -0
- ps_python_docx-1.3.0/tests/styles/__init__.py +0 -0
- ps_python_docx-1.3.0/tests/styles/test_latent.py +363 -0
- ps_python_docx-1.3.0/tests/styles/test_style.py +553 -0
- ps_python_docx-1.3.0/tests/styles/test_styles.py +401 -0
- ps_python_docx-1.3.0/tests/test_api.py +56 -0
- ps_python_docx-1.3.0/tests/test_blkcntnr.py +151 -0
- ps_python_docx-1.3.0/tests/test_comments.py +275 -0
- ps_python_docx-1.3.0/tests/test_document.py +423 -0
- ps_python_docx-1.3.0/tests/test_drawing.py +74 -0
- ps_python_docx-1.3.0/tests/test_enum.py +92 -0
- ps_python_docx-1.3.0/tests/test_files/150-dpi.png +0 -0
- ps_python_docx-1.3.0/tests/test_files/300-dpi.TIF +0 -0
- ps_python_docx-1.3.0/tests/test_files/300-dpi.jpg +0 -0
- ps_python_docx-1.3.0/tests/test_files/300-dpi.png +0 -0
- ps_python_docx-1.3.0/tests/test_files/72-dpi.tiff +0 -0
- ps_python_docx-1.3.0/tests/test_files/CVS_LOGO.WMF +0 -0
- ps_python_docx-1.3.0/tests/test_files/blk-inner-content.docx +0 -0
- ps_python_docx-1.3.0/tests/test_files/exif-420-dpi.jpg +0 -0
- ps_python_docx-1.3.0/tests/test_files/expanded_docx/[Content_Types].xml +2 -0
- ps_python_docx-1.3.0/tests/test_files/expanded_docx/_rels/.rels +2 -0
- ps_python_docx-1.3.0/tests/test_files/expanded_docx/customXml/_rels/item1.xml.rels +2 -0
- ps_python_docx-1.3.0/tests/test_files/expanded_docx/customXml/item1.xml +1 -0
- ps_python_docx-1.3.0/tests/test_files/expanded_docx/customXml/itemProps1.xml +2 -0
- ps_python_docx-1.3.0/tests/test_files/expanded_docx/docProps/app.xml +2 -0
- ps_python_docx-1.3.0/tests/test_files/expanded_docx/docProps/core.xml +2 -0
- ps_python_docx-1.3.0/tests/test_files/expanded_docx/docProps/thumbnail.jpeg +0 -0
- ps_python_docx-1.3.0/tests/test_files/expanded_docx/word/_rels/document.xml.rels +2 -0
- ps_python_docx-1.3.0/tests/test_files/expanded_docx/word/document.xml +2 -0
- ps_python_docx-1.3.0/tests/test_files/expanded_docx/word/fontTable.xml +2 -0
- ps_python_docx-1.3.0/tests/test_files/expanded_docx/word/numbering.xml +2 -0
- ps_python_docx-1.3.0/tests/test_files/expanded_docx/word/settings.xml +2 -0
- ps_python_docx-1.3.0/tests/test_files/expanded_docx/word/styles.xml +2 -0
- ps_python_docx-1.3.0/tests/test_files/expanded_docx/word/stylesWithEffects.xml +2 -0
- ps_python_docx-1.3.0/tests/test_files/expanded_docx/word/theme/theme1.xml +2 -0
- ps_python_docx-1.3.0/tests/test_files/expanded_docx/word/webSettings.xml +2 -0
- ps_python_docx-1.3.0/tests/test_files/having-images.docx +0 -0
- ps_python_docx-1.3.0/tests/test_files/jfif-iguana.jpg +0 -0
- ps_python_docx-1.3.0/tests/test_files/little-endian.tif +0 -0
- ps_python_docx-1.3.0/tests/test_files/monty-truth.png +0 -0
- ps_python_docx-1.3.0/tests/test_files/python-icon.jpeg +0 -0
- ps_python_docx-1.3.0/tests/test_files/python-icon.png +0 -0
- ps_python_docx-1.3.0/tests/test_files/python-powered.png +0 -0
- ps_python_docx-1.3.0/tests/test_files/python.bmp +0 -0
- ps_python_docx-1.3.0/tests/test_files/sct-inner-content.docx +0 -0
- ps_python_docx-1.3.0/tests/test_files/snippets/add-row-col.txt +143 -0
- ps_python_docx-1.3.0/tests/test_files/snippets/inline.txt +30 -0
- ps_python_docx-1.3.0/tests/test_files/snippets/new-tbl.txt +81 -0
- ps_python_docx-1.3.0/tests/test_files/snippets/tbl-cells.txt +289 -0
- ps_python_docx-1.3.0/tests/test_files/sonic.gif +0 -0
- ps_python_docx-1.3.0/tests/test_files/test.docx +0 -0
- ps_python_docx-1.3.0/tests/test_package.py +175 -0
- ps_python_docx-1.3.0/tests/test_section.py +877 -0
- ps_python_docx-1.3.0/tests/test_settings.py +48 -0
- ps_python_docx-1.3.0/tests/test_shape.py +129 -0
- ps_python_docx-1.3.0/tests/test_shared.py +121 -0
- ps_python_docx-1.3.0/tests/test_table.py +920 -0
- ps_python_docx-1.3.0/tests/test_theme.py +126 -0
- ps_python_docx-1.3.0/tests/test_theme_inheritance.py +155 -0
- ps_python_docx-1.3.0/tests/text/__init__.py +0 -0
- ps_python_docx-1.3.0/tests/text/test_font.py +425 -0
- ps_python_docx-1.3.0/tests/text/test_hyperlink.py +149 -0
- ps_python_docx-1.3.0/tests/text/test_pagebreak.py +141 -0
- ps_python_docx-1.3.0/tests/text/test_paragraph.py +400 -0
- ps_python_docx-1.3.0/tests/text/test_parfmt.py +486 -0
- ps_python_docx-1.3.0/tests/text/test_run.py +408 -0
- ps_python_docx-1.3.0/tests/text/test_tabstops.py +329 -0
- ps_python_docx-1.3.0/tests/unitdata.py +136 -0
- ps_python_docx-1.3.0/tests/unitutil/__init__.py +0 -0
- ps_python_docx-1.3.0/tests/unitutil/cxml.py +272 -0
- ps_python_docx-1.3.0/tests/unitutil/file.py +56 -0
- ps_python_docx-1.3.0/tests/unitutil/mock.py +160 -0
- ps_python_docx-1.3.0/tox.ini +9 -0
|
@@ -0,0 +1,335 @@
|
|
|
1
|
+
.. :changelog:
|
|
2
|
+
|
|
3
|
+
Release History
|
|
4
|
+
---------------
|
|
5
|
+
|
|
6
|
+
1.3.0 (unreleased fork release)
|
|
7
|
+
++++++++++++++++++++++++++++++
|
|
8
|
+
|
|
9
|
+
- Publish the independent ps-python-docx distribution, preserving the docx import.
|
|
10
|
+
- Add Document.theme_fonts for the major and minor Latin theme typefaces.
|
|
11
|
+
- Add Font.theme_font, Styles.default_font, and read-only linked_style access.
|
|
12
|
+
- Preserve theme inheritance without applying fonts to individual runs.
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
1.2.0 (2025-06-16)
|
|
16
|
+
++++++++++++++++++
|
|
17
|
+
|
|
18
|
+
- Add support for comments
|
|
19
|
+
- Drop support for Python 3.8, add testing for Python 3.13
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
1.1.2 (2024-05-01)
|
|
23
|
+
++++++++++++++++++
|
|
24
|
+
|
|
25
|
+
- Fix #1383 Revert lxml<=4.9.2 pin that breaks Python 3.12 install
|
|
26
|
+
- Fix #1385 Support use of Part._rels by python-docx-template
|
|
27
|
+
- Add support and testing for Python 3.12
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
1.1.1 (2024-04-29)
|
|
31
|
+
++++++++++++++++++
|
|
32
|
+
|
|
33
|
+
- Fix #531, #1146 Index error on table with misaligned borders
|
|
34
|
+
- Fix #1335 Tolerate invalid float value in bottom-margin
|
|
35
|
+
- Fix #1337 Do not require typing-extensions at runtime
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
1.1.0 (2023-11-03)
|
|
39
|
+
++++++++++++++++++
|
|
40
|
+
|
|
41
|
+
- Add BlockItemContainer.iter_inner_content()
|
|
42
|
+
|
|
43
|
+
|
|
44
|
+
1.0.1 (2023-10-12)
|
|
45
|
+
++++++++++++++++++
|
|
46
|
+
|
|
47
|
+
- Fix #1256: parse_xml() and OxmlElement moved.
|
|
48
|
+
- Add Hyperlink.fragment and .url
|
|
49
|
+
|
|
50
|
+
|
|
51
|
+
1.0.0 (2023-10-01)
|
|
52
|
+
+++++++++++++++++++
|
|
53
|
+
|
|
54
|
+
- Remove Python 2 support. Supported versions are 3.7+
|
|
55
|
+
- Fix #85: Paragraph.text includes hyperlink text
|
|
56
|
+
- Add #1113: Hyperlink.address
|
|
57
|
+
- Add Hyperlink.contains_page_break
|
|
58
|
+
- Add Hyperlink.runs
|
|
59
|
+
- Add Hyperlink.text
|
|
60
|
+
- Add Paragraph.contains_page_break
|
|
61
|
+
- Add Paragraph.hyperlinks
|
|
62
|
+
- Add Paragraph.iter_inner_content()
|
|
63
|
+
- Add Paragraph.rendered_page_breaks
|
|
64
|
+
- Add RenderedPageBreak.following_paragraph_fragment
|
|
65
|
+
- Add RenderedPageBreak.preceding_paragraph_fragment
|
|
66
|
+
- Add Run.contains_page_break
|
|
67
|
+
- Add Run.iter_inner_content()
|
|
68
|
+
- Add Section.iter_inner_content()
|
|
69
|
+
|
|
70
|
+
|
|
71
|
+
0.8.11 (2021-05-15)
|
|
72
|
+
+++++++++++++++++++
|
|
73
|
+
|
|
74
|
+
- Small build changes and Python 3.8 version changes like collections.abc location.
|
|
75
|
+
|
|
76
|
+
|
|
77
|
+
0.8.10 (2019-01-08)
|
|
78
|
+
+++++++++++++++++++
|
|
79
|
+
|
|
80
|
+
- Revert use of expanded package directory for default.docx to work around setup.py
|
|
81
|
+
problem with filenames containing square brackets.
|
|
82
|
+
|
|
83
|
+
|
|
84
|
+
0.8.9 (2019-01-08)
|
|
85
|
+
++++++++++++++++++
|
|
86
|
+
|
|
87
|
+
- Fix gap in MANIFEST.in that excluded default document template directory
|
|
88
|
+
|
|
89
|
+
|
|
90
|
+
0.8.8 (2019-01-07)
|
|
91
|
+
++++++++++++++++++
|
|
92
|
+
|
|
93
|
+
- Add support for headers and footers
|
|
94
|
+
|
|
95
|
+
|
|
96
|
+
0.8.7 (2018-08-18)
|
|
97
|
+
++++++++++++++++++
|
|
98
|
+
|
|
99
|
+
- Add _Row.height_rule
|
|
100
|
+
- Add _Row.height
|
|
101
|
+
- Add _Cell.vertical_alignment
|
|
102
|
+
- Fix #455: increment next_id, don't fill gaps
|
|
103
|
+
- Add #375: import docx failure on --OO optimization
|
|
104
|
+
- Add #254: remove default zoom percentage
|
|
105
|
+
- Add #266: miscellaneous documentation fixes
|
|
106
|
+
- Add #175: refine MANIFEST.ini
|
|
107
|
+
- Add #168: Unicode error on core-props in Python 2
|
|
108
|
+
|
|
109
|
+
|
|
110
|
+
0.8.6 (2016-06-22)
|
|
111
|
+
++++++++++++++++++
|
|
112
|
+
|
|
113
|
+
- Add #257: add Font.highlight_color
|
|
114
|
+
- Add #261: add ParagraphFormat.tab_stops
|
|
115
|
+
- Add #303: disallow XML entity expansion
|
|
116
|
+
|
|
117
|
+
|
|
118
|
+
0.8.5 (2015-02-21)
|
|
119
|
+
++++++++++++++++++
|
|
120
|
+
|
|
121
|
+
- Fix #149: KeyError on Document.add_table()
|
|
122
|
+
- Fix #78: feature: add_table() sets cell widths
|
|
123
|
+
- Add #106: feature: Table.direction (i.e. right-to-left)
|
|
124
|
+
- Add #102: feature: add CT_Row.trPr
|
|
125
|
+
|
|
126
|
+
|
|
127
|
+
0.8.4 (2015-02-20)
|
|
128
|
+
++++++++++++++++++
|
|
129
|
+
|
|
130
|
+
- Fix #151: tests won't run on PyPI distribution
|
|
131
|
+
- Fix #124: default to inches on no TIFF resolution unit
|
|
132
|
+
|
|
133
|
+
|
|
134
|
+
0.8.3 (2015-02-19)
|
|
135
|
+
++++++++++++++++++
|
|
136
|
+
|
|
137
|
+
- Add #121, #135, #139: feature: Font.color
|
|
138
|
+
|
|
139
|
+
|
|
140
|
+
0.8.2 (2015-02-16)
|
|
141
|
+
++++++++++++++++++
|
|
142
|
+
|
|
143
|
+
- Fix #94: picture prints at wrong size when scaled
|
|
144
|
+
- Extract `docx.document.Document` object from `DocumentPart`
|
|
145
|
+
|
|
146
|
+
Refactor `docx.Document` from an object into a factory function for new
|
|
147
|
+
`docx.document.Document object`. Extract methods from prior `docx.Document`
|
|
148
|
+
and `docx.parts.document.DocumentPart` to form the new API class and retire
|
|
149
|
+
`docx.Document` class.
|
|
150
|
+
|
|
151
|
+
- Migrate `Document.numbering_part` to `DocumentPart.numbering_part`. The
|
|
152
|
+
`numbering_part` property is not part of the published API and is an
|
|
153
|
+
interim internal feature to be replaced in a future release, perhaps with
|
|
154
|
+
something like `Document.numbering_definitions`. In the meantime, it can
|
|
155
|
+
now be accessed using ``Document.part.numbering_part``.
|
|
156
|
+
|
|
157
|
+
|
|
158
|
+
0.8.1 (2015-02-10)
|
|
159
|
+
++++++++++++++++++
|
|
160
|
+
|
|
161
|
+
- Fix #140: Warning triggered on Document.add_heading/table()
|
|
162
|
+
|
|
163
|
+
|
|
164
|
+
0.8.0 (2015-02-08)
|
|
165
|
+
++++++++++++++++++
|
|
166
|
+
|
|
167
|
+
- Add styles. Provides general capability to access and manipulate paragraph,
|
|
168
|
+
character, and table styles.
|
|
169
|
+
|
|
170
|
+
- Add ParagraphFormat object, accessible on Paragraph.paragraph_format, and
|
|
171
|
+
providing the following paragraph formatting properties:
|
|
172
|
+
|
|
173
|
+
+ paragraph alignment (justfification)
|
|
174
|
+
+ space before and after paragraph
|
|
175
|
+
+ line spacing
|
|
176
|
+
+ indentation
|
|
177
|
+
+ keep together, keep with next, page break before, and widow control
|
|
178
|
+
|
|
179
|
+
- Add Font object, accessible on Run.font, providing character-level
|
|
180
|
+
formatting including:
|
|
181
|
+
|
|
182
|
+
+ typeface (e.g. 'Arial')
|
|
183
|
+
+ point size
|
|
184
|
+
+ underline
|
|
185
|
+
+ italic
|
|
186
|
+
+ bold
|
|
187
|
+
+ superscript and subscript
|
|
188
|
+
|
|
189
|
+
The following issues were retired:
|
|
190
|
+
|
|
191
|
+
- Add feature #56: superscript/subscript
|
|
192
|
+
- Add feature #67: lookup style by UI name
|
|
193
|
+
- Add feature #98: Paragraph indentation
|
|
194
|
+
- Add feature #120: Document.styles
|
|
195
|
+
|
|
196
|
+
**Backward incompatibilities**
|
|
197
|
+
|
|
198
|
+
Paragraph.style now returns a Style object. Previously it returned the style
|
|
199
|
+
name as a string. The name can now be retrieved using the Style.name
|
|
200
|
+
property, for example, `paragraph.style.name`.
|
|
201
|
+
|
|
202
|
+
|
|
203
|
+
0.7.6 (2014-12-14)
|
|
204
|
+
++++++++++++++++++
|
|
205
|
+
|
|
206
|
+
- Add feature #69: Table.alignment
|
|
207
|
+
- Add feature #29: Document.core_properties
|
|
208
|
+
|
|
209
|
+
|
|
210
|
+
0.7.5 (2014-11-29)
|
|
211
|
+
++++++++++++++++++
|
|
212
|
+
|
|
213
|
+
- Add feature #65: _Cell.merge()
|
|
214
|
+
|
|
215
|
+
|
|
216
|
+
0.7.4 (2014-07-18)
|
|
217
|
+
++++++++++++++++++
|
|
218
|
+
|
|
219
|
+
- Add feature #45: _Cell.add_table()
|
|
220
|
+
- Add feature #76: _Cell.add_paragraph()
|
|
221
|
+
- Add _Cell.tables property (read-only)
|
|
222
|
+
|
|
223
|
+
|
|
224
|
+
0.7.3 (2014-07-14)
|
|
225
|
+
++++++++++++++++++
|
|
226
|
+
|
|
227
|
+
- Add Table.autofit
|
|
228
|
+
- Add feature #46: _Cell.width
|
|
229
|
+
|
|
230
|
+
|
|
231
|
+
0.7.2 (2014-07-13)
|
|
232
|
+
++++++++++++++++++
|
|
233
|
+
|
|
234
|
+
- Fix: Word does not interpret <w:cr/> as line feed
|
|
235
|
+
|
|
236
|
+
|
|
237
|
+
0.7.1 (2014-07-11)
|
|
238
|
+
++++++++++++++++++
|
|
239
|
+
|
|
240
|
+
- Add feature #14: Run.add_picture()
|
|
241
|
+
|
|
242
|
+
|
|
243
|
+
0.7.0 (2014-06-27)
|
|
244
|
+
++++++++++++++++++
|
|
245
|
+
|
|
246
|
+
- Add feature #68: Paragraph.insert_paragraph_before()
|
|
247
|
+
- Add feature #51: Paragraph.alignment (read/write)
|
|
248
|
+
- Add feature #61: Paragraph.text setter
|
|
249
|
+
- Add feature #58: Run.add_tab()
|
|
250
|
+
- Add feature #70: Run.clear()
|
|
251
|
+
- Add feature #60: Run.text setter
|
|
252
|
+
- Add feature #39: Run.text and Paragraph.text interpret '\n' and '\t' chars
|
|
253
|
+
|
|
254
|
+
|
|
255
|
+
0.6.0 (2014-06-22)
|
|
256
|
+
++++++++++++++++++
|
|
257
|
+
|
|
258
|
+
- Add feature #15: section page size
|
|
259
|
+
- Add feature #66: add section
|
|
260
|
+
- Add page margins and page orientation properties on Section
|
|
261
|
+
- Major refactoring of oxml layer
|
|
262
|
+
|
|
263
|
+
|
|
264
|
+
0.5.3 (2014-05-10)
|
|
265
|
+
++++++++++++++++++
|
|
266
|
+
|
|
267
|
+
- Add feature #19: Run.underline property
|
|
268
|
+
|
|
269
|
+
|
|
270
|
+
0.5.2 (2014-05-06)
|
|
271
|
+
++++++++++++++++++
|
|
272
|
+
|
|
273
|
+
- Add feature #17: character style
|
|
274
|
+
|
|
275
|
+
|
|
276
|
+
0.5.1 (2014-04-02)
|
|
277
|
+
++++++++++++++++++
|
|
278
|
+
|
|
279
|
+
- Fix issue #23, `Document.add_picture()` raises ValueError when document
|
|
280
|
+
contains VML drawing.
|
|
281
|
+
|
|
282
|
+
|
|
283
|
+
0.5.0 (2014-03-02)
|
|
284
|
+
++++++++++++++++++
|
|
285
|
+
|
|
286
|
+
- Add 20 tri-state properties on Run, including all-caps, double-strike,
|
|
287
|
+
hidden, shadow, small-caps, and 15 others.
|
|
288
|
+
|
|
289
|
+
|
|
290
|
+
0.4.0 (2014-03-01)
|
|
291
|
+
++++++++++++++++++
|
|
292
|
+
|
|
293
|
+
- Advance from alpha to beta status.
|
|
294
|
+
- Add pure-python image header parsing; drop Pillow dependency
|
|
295
|
+
|
|
296
|
+
|
|
297
|
+
0.3.0a5 (2014-01-10)
|
|
298
|
+
++++++++++++++++++++++
|
|
299
|
+
|
|
300
|
+
- Hotfix: issue #4, Document.add_picture() fails on second and subsequent
|
|
301
|
+
images.
|
|
302
|
+
|
|
303
|
+
|
|
304
|
+
0.3.0a4 (2014-01-07)
|
|
305
|
+
++++++++++++++++++++++
|
|
306
|
+
|
|
307
|
+
- Complete Python 3 support, tested on Python 3.3
|
|
308
|
+
|
|
309
|
+
|
|
310
|
+
0.3.0a3 (2014-01-06)
|
|
311
|
+
++++++++++++++++++++++
|
|
312
|
+
|
|
313
|
+
- Fix setup.py error on some Windows installs
|
|
314
|
+
|
|
315
|
+
|
|
316
|
+
0.3.0a1 (2014-01-05)
|
|
317
|
+
++++++++++++++++++++++
|
|
318
|
+
|
|
319
|
+
- Full object-oriented rewrite
|
|
320
|
+
- Feature-parity with prior version
|
|
321
|
+
- text: add paragraph, run, text, bold, italic
|
|
322
|
+
- table: add table, add row, add column
|
|
323
|
+
- styles: specify style for paragraph, table
|
|
324
|
+
- picture: add inline picture, auto-scaling
|
|
325
|
+
- breaks: add page break
|
|
326
|
+
- tests: full pytest and behave-based 2-layer test suite
|
|
327
|
+
|
|
328
|
+
|
|
329
|
+
0.3.0dev1 (2013-12-14)
|
|
330
|
+
++++++++++++++++++++++
|
|
331
|
+
|
|
332
|
+
- Round-trip .docx file, preserving all parts and relationships
|
|
333
|
+
- Load default "template" .docx on open with no filename
|
|
334
|
+
- Open from stream and save to stream (file-like object)
|
|
335
|
+
- Add paragraph at and of document
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
The MIT License (MIT)
|
|
2
|
+
Copyright (c) 2013 Steve Canny, https://github.com/scanny
|
|
3
|
+
|
|
4
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
5
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
6
|
+
in the Software without restriction, including without limitation the rights
|
|
7
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
8
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
9
|
+
furnished to do so, subject to the following conditions:
|
|
10
|
+
|
|
11
|
+
The above copyright notice and this permission notice shall be included in
|
|
12
|
+
all copies or substantial portions of the Software.
|
|
13
|
+
|
|
14
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
15
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
16
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
17
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
18
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
19
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
20
|
+
THE SOFTWARE.
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: ps-python-docx
|
|
3
|
+
Version: 1.3.0
|
|
4
|
+
Summary: A maintained fork of python-docx for reading and authoring Microsoft Word documents.
|
|
5
|
+
Author-email: Steve Canny <stcanny@gmail.com>
|
|
6
|
+
Maintainer: John Paul Ellis
|
|
7
|
+
License: MIT
|
|
8
|
+
Project-URL: Changelog, https://github.com/pseudosavant/python-docx/blob/master/HISTORY.rst
|
|
9
|
+
Project-URL: Documentation, https://python-docx.readthedocs.org/en/latest/
|
|
10
|
+
Project-URL: Homepage, https://github.com/pseudosavant/python-docx
|
|
11
|
+
Project-URL: Repository, https://github.com/pseudosavant/python-docx
|
|
12
|
+
Project-URL: Issues, https://github.com/pseudosavant/python-docx/issues
|
|
13
|
+
Project-URL: Upstream, https://github.com/python-openxml/python-docx
|
|
14
|
+
Keywords: docx,office,openxml,word
|
|
15
|
+
Classifier: Development Status :: 5 - Production/Stable
|
|
16
|
+
Classifier: Environment :: Console
|
|
17
|
+
Classifier: Intended Audience :: Developers
|
|
18
|
+
Classifier: License :: OSI Approved :: MIT License
|
|
19
|
+
Classifier: Operating System :: OS Independent
|
|
20
|
+
Classifier: Programming Language :: Python
|
|
21
|
+
Classifier: Programming Language :: Python :: 3
|
|
22
|
+
Classifier: Programming Language :: Python :: 3.7
|
|
23
|
+
Classifier: Programming Language :: Python :: 3.8
|
|
24
|
+
Classifier: Programming Language :: Python :: 3.9
|
|
25
|
+
Classifier: Programming Language :: Python :: 3.10
|
|
26
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
27
|
+
Classifier: Topic :: Office/Business :: Office Suites
|
|
28
|
+
Classifier: Topic :: Software Development :: Libraries
|
|
29
|
+
Requires-Python: >=3.9
|
|
30
|
+
Description-Content-Type: text/markdown
|
|
31
|
+
License-File: LICENSE
|
|
32
|
+
Requires-Dist: lxml>=3.1.0
|
|
33
|
+
Requires-Dist: typing_extensions>=4.9.0
|
|
34
|
+
Dynamic: license-file
|
|
35
|
+
|
|
36
|
+
# ps-python-docx
|
|
37
|
+
|
|
38
|
+
*ps-python-docx* is John Paul Ellis's fork of [python-docx](https://github.com/python-openxml/python-docx), a Python library for reading, creating, and updating Microsoft Word 2007+ (.docx) files. It is published independently and is not an official upstream release.
|
|
39
|
+
|
|
40
|
+
This fork starts from upstream 1.2.0. The packaging setup preserves the upstream API and the `docx` import name. Version 1.3.0 adds public theme font and style inheritance APIs. See the [theme API documentation](docs/api/theme.rst). The original MIT license and upstream attribution are preserved.
|
|
41
|
+
|
|
42
|
+
## Installation
|
|
43
|
+
|
|
44
|
+
```
|
|
45
|
+
pip install ps-python-docx
|
|
46
|
+
```
|
|
47
|
+
|
|
48
|
+
## Example
|
|
49
|
+
|
|
50
|
+
```python
|
|
51
|
+
>>> from docx import Document
|
|
52
|
+
|
|
53
|
+
>>> document = Document()
|
|
54
|
+
>>> document.add_paragraph("It was a dark and stormy night.")
|
|
55
|
+
<docx.text.paragraph.Paragraph object at 0x10f19e760>
|
|
56
|
+
>>> document.save("dark-and-stormy.docx")
|
|
57
|
+
|
|
58
|
+
>>> document = Document("dark-and-stormy.docx")
|
|
59
|
+
>>> document.paragraphs[0].text
|
|
60
|
+
'It was a dark and stormy night.'
|
|
61
|
+
```
|
|
62
|
+
|
|
63
|
+
Install this distribution in place of `python-docx`. Both provide the `docx` package and should not be installed in the same environment.
|
|
64
|
+
|
|
65
|
+
More information about the inherited API is available in the [upstream documentation](https://python-docx.readthedocs.org/en/latest/). Report fork-specific issues in [this repository](https://github.com/pseudosavant/python-docx/issues).
|
|
66
|
+
|
|
67
|
+
## Development and releases
|
|
68
|
+
|
|
69
|
+
Run the unit and acceptance suites without installing the legacy documentation dependencies:
|
|
70
|
+
|
|
71
|
+
```text
|
|
72
|
+
uv sync --locked --no-dev --group test
|
|
73
|
+
uv run --locked --no-dev --group test pytest -q
|
|
74
|
+
uv run --locked --no-dev --group test behave --format progress --stop --tags=-wip
|
|
75
|
+
```
|
|
76
|
+
|
|
77
|
+
See [RELEASING.md](RELEASING.md) for the GitHub-to-PyPI release process.
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
# ps-python-docx
|
|
2
|
+
|
|
3
|
+
*ps-python-docx* is John Paul Ellis's fork of [python-docx](https://github.com/python-openxml/python-docx), a Python library for reading, creating, and updating Microsoft Word 2007+ (.docx) files. It is published independently and is not an official upstream release.
|
|
4
|
+
|
|
5
|
+
This fork starts from upstream 1.2.0. The packaging setup preserves the upstream API and the `docx` import name. Version 1.3.0 adds public theme font and style inheritance APIs. See the [theme API documentation](docs/api/theme.rst). The original MIT license and upstream attribution are preserved.
|
|
6
|
+
|
|
7
|
+
## Installation
|
|
8
|
+
|
|
9
|
+
```
|
|
10
|
+
pip install ps-python-docx
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
## Example
|
|
14
|
+
|
|
15
|
+
```python
|
|
16
|
+
>>> from docx import Document
|
|
17
|
+
|
|
18
|
+
>>> document = Document()
|
|
19
|
+
>>> document.add_paragraph("It was a dark and stormy night.")
|
|
20
|
+
<docx.text.paragraph.Paragraph object at 0x10f19e760>
|
|
21
|
+
>>> document.save("dark-and-stormy.docx")
|
|
22
|
+
|
|
23
|
+
>>> document = Document("dark-and-stormy.docx")
|
|
24
|
+
>>> document.paragraphs[0].text
|
|
25
|
+
'It was a dark and stormy night.'
|
|
26
|
+
```
|
|
27
|
+
|
|
28
|
+
Install this distribution in place of `python-docx`. Both provide the `docx` package and should not be installed in the same environment.
|
|
29
|
+
|
|
30
|
+
More information about the inherited API is available in the [upstream documentation](https://python-docx.readthedocs.org/en/latest/). Report fork-specific issues in [this repository](https://github.com/pseudosavant/python-docx/issues).
|
|
31
|
+
|
|
32
|
+
## Development and releases
|
|
33
|
+
|
|
34
|
+
Run the unit and acceptance suites without installing the legacy documentation dependencies:
|
|
35
|
+
|
|
36
|
+
```text
|
|
37
|
+
uv sync --locked --no-dev --group test
|
|
38
|
+
uv run --locked --no-dev --group test pytest -q
|
|
39
|
+
uv run --locked --no-dev --group test behave --format progress --stop --tags=-wip
|
|
40
|
+
```
|
|
41
|
+
|
|
42
|
+
See [RELEASING.md](RELEASING.md) for the GitHub-to-PyPI release process.
|
|
@@ -0,0 +1,153 @@
|
|
|
1
|
+
# Makefile for Sphinx documentation
|
|
2
|
+
#
|
|
3
|
+
|
|
4
|
+
# You can set these variables from the command line.
|
|
5
|
+
SPHINXOPTS =
|
|
6
|
+
SPHINXBUILD = sphinx-build
|
|
7
|
+
PAPER =
|
|
8
|
+
BUILDDIR = .build
|
|
9
|
+
|
|
10
|
+
# Internal variables.
|
|
11
|
+
PAPEROPT_a4 = -D latex_paper_size=a4
|
|
12
|
+
PAPEROPT_letter = -D latex_paper_size=letter
|
|
13
|
+
ALLSPHINXOPTS = -d $(BUILDDIR)/doctrees $(PAPEROPT_$(PAPER)) $(SPHINXOPTS) .
|
|
14
|
+
# the i18n builder cannot share the environment and doctrees with the others
|
|
15
|
+
I18NSPHINXOPTS = $(PAPEROPT_$(PAPER)) $(SPHINXOPTS) .
|
|
16
|
+
|
|
17
|
+
.PHONY: help clean html dirhtml singlehtml pickle json htmlhelp qthelp devhelp epub latex latexpdf text man changes linkcheck doctest gettext
|
|
18
|
+
|
|
19
|
+
html:
|
|
20
|
+
$(SPHINXBUILD) -b html $(ALLSPHINXOPTS) $(BUILDDIR)/html
|
|
21
|
+
@echo
|
|
22
|
+
@echo "Build finished. The HTML pages are in $(BUILDDIR)/html."
|
|
23
|
+
|
|
24
|
+
help:
|
|
25
|
+
@echo "Please use \`make <target>' where <target> is one of"
|
|
26
|
+
@echo " html to make standalone HTML files"
|
|
27
|
+
@echo " dirhtml to make HTML files named index.html in directories"
|
|
28
|
+
@echo " singlehtml to make a single large HTML file"
|
|
29
|
+
@echo " pickle to make pickle files"
|
|
30
|
+
@echo " json to make JSON files"
|
|
31
|
+
@echo " htmlhelp to make HTML files and a HTML help project"
|
|
32
|
+
@echo " qthelp to make HTML files and a qthelp project"
|
|
33
|
+
@echo " devhelp to make HTML files and a Devhelp project"
|
|
34
|
+
@echo " epub to make an epub"
|
|
35
|
+
@echo " latex to make LaTeX files, you can set PAPER=a4 or PAPER=letter"
|
|
36
|
+
@echo " latexpdf to make LaTeX files and run them through pdflatex"
|
|
37
|
+
@echo " text to make text files"
|
|
38
|
+
@echo " man to make manual pages"
|
|
39
|
+
@echo " texinfo to make Texinfo files"
|
|
40
|
+
@echo " info to make Texinfo files and run them through makeinfo"
|
|
41
|
+
@echo " gettext to make PO message catalogs"
|
|
42
|
+
@echo " changes to make an overview of all changed/added/deprecated items"
|
|
43
|
+
@echo " linkcheck to check all external links for integrity"
|
|
44
|
+
@echo " doctest to run all doctests embedded in the documentation (if enabled)"
|
|
45
|
+
|
|
46
|
+
clean:
|
|
47
|
+
-rm -rf $(BUILDDIR)/*
|
|
48
|
+
|
|
49
|
+
dirhtml:
|
|
50
|
+
$(SPHINXBUILD) -b dirhtml $(ALLSPHINXOPTS) $(BUILDDIR)/dirhtml
|
|
51
|
+
@echo
|
|
52
|
+
@echo "Build finished. The HTML pages are in $(BUILDDIR)/dirhtml."
|
|
53
|
+
|
|
54
|
+
singlehtml:
|
|
55
|
+
$(SPHINXBUILD) -b singlehtml $(ALLSPHINXOPTS) $(BUILDDIR)/singlehtml
|
|
56
|
+
@echo
|
|
57
|
+
@echo "Build finished. The HTML page is in $(BUILDDIR)/singlehtml."
|
|
58
|
+
|
|
59
|
+
pickle:
|
|
60
|
+
$(SPHINXBUILD) -b pickle $(ALLSPHINXOPTS) $(BUILDDIR)/pickle
|
|
61
|
+
@echo
|
|
62
|
+
@echo "Build finished; now you can process the pickle files."
|
|
63
|
+
|
|
64
|
+
json:
|
|
65
|
+
$(SPHINXBUILD) -b json $(ALLSPHINXOPTS) $(BUILDDIR)/json
|
|
66
|
+
@echo
|
|
67
|
+
@echo "Build finished; now you can process the JSON files."
|
|
68
|
+
|
|
69
|
+
htmlhelp:
|
|
70
|
+
$(SPHINXBUILD) -b htmlhelp $(ALLSPHINXOPTS) $(BUILDDIR)/htmlhelp
|
|
71
|
+
@echo
|
|
72
|
+
@echo "Build finished; now you can run HTML Help Workshop with the" \
|
|
73
|
+
".hhp project file in $(BUILDDIR)/htmlhelp."
|
|
74
|
+
|
|
75
|
+
qthelp:
|
|
76
|
+
$(SPHINXBUILD) -b qthelp $(ALLSPHINXOPTS) $(BUILDDIR)/qthelp
|
|
77
|
+
@echo
|
|
78
|
+
@echo "Build finished; now you can run "qcollectiongenerator" with the" \
|
|
79
|
+
".qhcp project file in $(BUILDDIR)/qthelp, like this:"
|
|
80
|
+
@echo "# qcollectiongenerator $(BUILDDIR)/qthelp/python-opc.qhcp"
|
|
81
|
+
@echo "To view the help file:"
|
|
82
|
+
@echo "# assistant -collectionFile $(BUILDDIR)/qthelp/python-opc.qhc"
|
|
83
|
+
|
|
84
|
+
devhelp:
|
|
85
|
+
$(SPHINXBUILD) -b devhelp $(ALLSPHINXOPTS) $(BUILDDIR)/devhelp
|
|
86
|
+
@echo
|
|
87
|
+
@echo "Build finished."
|
|
88
|
+
@echo "To view the help file:"
|
|
89
|
+
@echo "# mkdir -p $$HOME/.local/share/devhelp/python-opc"
|
|
90
|
+
@echo "# ln -s $(BUILDDIR)/devhelp $$HOME/.local/share/devhelp/python-opc"
|
|
91
|
+
@echo "# devhelp"
|
|
92
|
+
|
|
93
|
+
epub:
|
|
94
|
+
$(SPHINXBUILD) -b epub $(ALLSPHINXOPTS) $(BUILDDIR)/epub
|
|
95
|
+
@echo
|
|
96
|
+
@echo "Build finished. The epub file is in $(BUILDDIR)/epub."
|
|
97
|
+
|
|
98
|
+
latex:
|
|
99
|
+
$(SPHINXBUILD) -b latex $(ALLSPHINXOPTS) $(BUILDDIR)/latex
|
|
100
|
+
@echo
|
|
101
|
+
@echo "Build finished; the LaTeX files are in $(BUILDDIR)/latex."
|
|
102
|
+
@echo "Run \`make' in that directory to run these through (pdf)latex" \
|
|
103
|
+
"(use \`make latexpdf' here to do that automatically)."
|
|
104
|
+
|
|
105
|
+
latexpdf:
|
|
106
|
+
$(SPHINXBUILD) -b latex $(ALLSPHINXOPTS) $(BUILDDIR)/latex
|
|
107
|
+
@echo "Running LaTeX files through pdflatex..."
|
|
108
|
+
$(MAKE) -C $(BUILDDIR)/latex all-pdf
|
|
109
|
+
@echo "pdflatex finished; the PDF files are in $(BUILDDIR)/latex."
|
|
110
|
+
|
|
111
|
+
text:
|
|
112
|
+
$(SPHINXBUILD) -b text $(ALLSPHINXOPTS) $(BUILDDIR)/text
|
|
113
|
+
@echo
|
|
114
|
+
@echo "Build finished. The text files are in $(BUILDDIR)/text."
|
|
115
|
+
|
|
116
|
+
man:
|
|
117
|
+
$(SPHINXBUILD) -b man $(ALLSPHINXOPTS) $(BUILDDIR)/man
|
|
118
|
+
@echo
|
|
119
|
+
@echo "Build finished. The manual pages are in $(BUILDDIR)/man."
|
|
120
|
+
|
|
121
|
+
texinfo:
|
|
122
|
+
$(SPHINXBUILD) -b texinfo $(ALLSPHINXOPTS) $(BUILDDIR)/texinfo
|
|
123
|
+
@echo
|
|
124
|
+
@echo "Build finished. The Texinfo files are in $(BUILDDIR)/texinfo."
|
|
125
|
+
@echo "Run \`make' in that directory to run these through makeinfo" \
|
|
126
|
+
"(use \`make info' here to do that automatically)."
|
|
127
|
+
|
|
128
|
+
info:
|
|
129
|
+
$(SPHINXBUILD) -b texinfo $(ALLSPHINXOPTS) $(BUILDDIR)/texinfo
|
|
130
|
+
@echo "Running Texinfo files through makeinfo..."
|
|
131
|
+
make -C $(BUILDDIR)/texinfo info
|
|
132
|
+
@echo "makeinfo finished; the Info files are in $(BUILDDIR)/texinfo."
|
|
133
|
+
|
|
134
|
+
gettext:
|
|
135
|
+
$(SPHINXBUILD) -b gettext $(I18NSPHINXOPTS) $(BUILDDIR)/locale
|
|
136
|
+
@echo
|
|
137
|
+
@echo "Build finished. The message catalogs are in $(BUILDDIR)/locale."
|
|
138
|
+
|
|
139
|
+
changes:
|
|
140
|
+
$(SPHINXBUILD) -b changes $(ALLSPHINXOPTS) $(BUILDDIR)/changes
|
|
141
|
+
@echo
|
|
142
|
+
@echo "The overview file is in $(BUILDDIR)/changes."
|
|
143
|
+
|
|
144
|
+
linkcheck:
|
|
145
|
+
$(SPHINXBUILD) -b linkcheck $(ALLSPHINXOPTS) $(BUILDDIR)/linkcheck
|
|
146
|
+
@echo
|
|
147
|
+
@echo "Link check complete; look for any errors in the above output " \
|
|
148
|
+
"or in $(BUILDDIR)/linkcheck/output.txt."
|
|
149
|
+
|
|
150
|
+
doctest:
|
|
151
|
+
$(SPHINXBUILD) -b doctest $(ALLSPHINXOPTS) $(BUILDDIR)/doctest
|
|
152
|
+
@echo "Testing of doctests in the sources finished, look at the " \
|
|
153
|
+
"results in $(BUILDDIR)/doctest/output.txt."
|
|
File without changes
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
<h3>Useful Links</h3>
|
|
2
|
+
<ul>
|
|
3
|
+
<li><a href="http://github.com/python-openxml/python-docx">python-docx @ GitHub</a></li>
|
|
4
|
+
<li><a href="http://pypi.python.org/pypi/python-docx">python-docx @ PyPI</a></li>
|
|
5
|
+
<li><a href="http://github.com/python-openxml/python-docx/issues">Issue Tracker</a></li>
|
|
6
|
+
</ul>
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
Copyright (c) 2011 Bay Citizen & Texas Tribune
|
|
2
|
+
|
|
3
|
+
Original ReadTheDocs.org code
|
|
4
|
+
Copyright (c) 2010 Charles Leifer, Eric Holscher, Bobby Grace
|
|
5
|
+
|
|
6
|
+
Permission is hereby granted, free of charge, to any person
|
|
7
|
+
obtaining a copy of this software and associated documentation
|
|
8
|
+
files (the "Software"), to deal in the Software without
|
|
9
|
+
restriction, including without limitation the rights to use,
|
|
10
|
+
copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
11
|
+
copies of the Software, and to permit persons to whom the
|
|
12
|
+
Software is furnished to do so, subject to the following
|
|
13
|
+
conditions:
|
|
14
|
+
|
|
15
|
+
The above copyright notice and this permission notice shall be
|
|
16
|
+
included in all copies or substantial portions of the Software.
|
|
17
|
+
|
|
18
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
19
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
|
|
20
|
+
OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
|
21
|
+
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
|
|
22
|
+
HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
|
|
23
|
+
WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
|
24
|
+
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
|
|
25
|
+
OTHER DEALINGS IN THE SOFTWARE.
|