Package: docx-hitalent
python-docxis a Python library for creating and updating Microsoft Word
(.docx) files.More information is available in thepython-docx documentation.Release History0.8.51 (2023-07-17)Fixed HEX color value “ff”0.8.50 (2022-11-22)Run addcompare_other_propertiesfunction0.8.49 (2022-10-21)fix zipfile crashfix section default type0.8.48 (2022-10-11)rect add margin0.8.47 (2022-10-11)fix lot of bugsadd paragraph images extractadd textbox rect extractfix table extract0.8.46 (2022-09-22)fix line space, pic wrap0.8.45 (2022-09-14)fix none tcPr0.8.44 (2022-08-11)fix none numbering start value0.8.42 (2022-08-10)fix none numbering lvl value0.8.41 (2022-08-04)add numbering extractor0.8.40 (2022-08-03)fix textbox relative0.8.39 (2022-07-28)table add borders line checkadd v:fill elements for table cell image0.8.38 (2022-07-21)fix ST_HpsMeasure0.8.37 (2022-05-25)fix wps:txbx0.8.36 (2022-05-18)add v:roundrect element0.8.35 (2022-05-16)add v:oval element0.8.34 (2022-05-16)Fixed NULL ref element0.8.33 (2022-05-12)Fixed Non-integer value0.8.32 (2022-03-23)Fixed shape int offset value0.8.31 (2022-03-21)Fixed non-standard coordOrigin0.8.30 (2022-02-07)fix textbox height relative, use Choice.drawing.anchor.positionV0.8.29 (2022-01-30)fix textbox height relative0.8.28 (2022-01-22)add w:hyperlink, w:sdt elementfix picture bug0.8.27 (2022-01-21)Fixed some bugs0.8.26 (2022-01-21)fix w:t missing textParagraphs and table cell add background colorPicture add wrap property0.8.24 (2022-01-18)fix image parent element offset0.8.22 (2022-01-17)fix paragraph indent, table cells0.8.21 (2022-01-13)table and cell add some attribadd PictureShape0.8.20 (2022-01-11)fix textbox coordsize0.8.19 (2021-12-29)add WML_TEMPLATE_MAIN, WML_MACRO_ENABLEDtextbox add coordorigin, fillcolor0.8.17 (2021-12-27)fix textbox oxml elementadd textbox ProxyElementfix CT_TxbxContent propertyfix WD_COLOR0.8.12 (2021-12-23)Add Textbox related classesWD_COLOR add ‘none’ value0.8.11 (2021-05-15)Small build changes and Python 3.8 version changes like collections.abc location.0.8.10 (2019-01-08)Revert use of expanded package directory for default.docx to work around setup.py
problem with filenames containing square brackets.0.8.9 (2019-01-08)Fix gap in MANIFEST.in that excluded default document template directory0.8.8 (2019-01-07)Add support for headers and footers0.8.7 (2018-08-18)Add _Row.height_ruleAdd _Row.heightAdd _Cell.vertical_alignmentFix #455: increment next_id, don’t fill gapsAdd #375: import docx failure on –OO optimizationAdd #254: remove default zoom percentageAdd #266: miscellaneous documentation fixesAdd #175: refine MANIFEST.iniAdd #168: Unicode error on core-props in Python 20.8.6 (2016-06-22)Add #257: add Font.highlight_colorAdd #261: add ParagraphFormat.tab_stopsAdd #303: disallow XML entity expansion0.8.5 (2015-02-21)Fix #149: KeyError on Document.add_table()Fix #78: feature: add_table() sets cell widthsAdd #106: feature: Table.direction (i.e. right-to-left)Add #102: feature: add CT_Row.trPr0.8.4 (2015-02-20)Fix #151: tests won’t run on PyPI distributionFix #124: default to inches on no TIFF resolution unit0.8.3 (2015-02-19)Add #121, #135, #139: feature: Font.color0.8.2 (2015-02-16)Fix #94: picture prints at wrong size when scaledExtractdocx.document.Documentobject fromDocumentPartRefactordocx.Documentfrom an object into a factory function for newdocx.document.Document object. Extract methods from priordocx.Documentanddocx.parts.document.DocumentPartto form the new API class and retiredocx.Documentclass.MigrateDocument.numbering_parttoDocumentPart.numbering_part. Thenumbering_partproperty is not part of the published API and is an
interim internal feature to be replaced in a future release, perhaps with
something likeDocument.numbering_definitions. In the meantime, it can
now be accessed usingDocument.part.numbering_part.0.8.1 (2015-02-10)Fix #140: Warning triggered on Document.add_heading/table()0.8.0 (2015-02-08)Add styles. Provides general capability to access and manipulate paragraph,
character, and table styles.Add ParagraphFormat object, accessible on Paragraph.paragraph_format, and
providing the following paragraph formatting properties:paragraph alignment (justfification)space before and after paragraphline spacingindentationkeep together, keep with next, page break before, and widow controlAdd Font object, accessible on Run.font, providing character-level
formatting including:typeface (e.g. ‘Arial’)point sizeunderlineitalicboldsuperscript and subscriptThe following issues were retired:Add feature #56: superscript/subscriptAdd feature #67: lookup style by UI nameAdd feature #98: Paragraph indentationAdd feature #120: Document.stylesBackward incompatibilitiesParagraph.style now returns a Style object. Previously it returned the style
name as a string. The name can now be retrieved using the Style.name
property, for example,paragraph.style.name.0.7.6 (2014-12-14)Add feature #69: Table.alignmentAdd feature #29: Document.core_properties0.7.5 (2014-11-29)Add feature #65: _Cell.merge()0.7.4 (2014-07-18)Add feature #45: _Cell.add_table()Add feature #76: _Cell.add_paragraph()Add _Cell.tables property (read-only)0.7.3 (2014-07-14)Add Table.autofitAdd feature #46: _Cell.width0.7.2 (2014-07-13)Fix: Word does not interpret <w:cr/> as line feed0.7.1 (2014-07-11)Add feature #14: Run.add_picture()0.7.0 (2014-06-27)Add feature #68: Paragraph.insert_paragraph_before()Add feature #51: Paragraph.alignment (read/write)Add feature #61: Paragraph.text setterAdd feature #58: Run.add_tab()Add feature #70: Run.clear()Add feature #60: Run.text setterAdd feature #39: Run.text and Paragraph.text interpret ‘n’ and ‘t’ chars0.6.0 (2014-06-22)Add feature #15: section page sizeAdd feature #66: add sectionAdd page margins and page orientation properties on SectionMajor refactoring of oxml layer0.5.3 (2014-05-10)Add feature #19: Run.underline property0.5.2 (2014-05-06)Add feature #17: character style0.5.1 (2014-04-02)Fix issue #23,Document.add_picture()raises ValueError when document
contains VML drawing.0.5.0 (2014-03-02)Add 20 tri-state properties on Run, including all-caps, double-strike,
hidden, shadow, small-caps, and 15 others.0.4.0 (2014-03-01)Advance from alpha to beta status.Add pure-python image header parsing; drop Pillow dependency0.3.0a5 (2014-01-10)Hotfix: issue #4, Document.add_picture() fails on second and subsequent
images.0.3.0a4 (2014-01-07)Complete Python 3 support, tested on Python 3.30.3.0a3 (2014-01-06)Fix setup.py error on some Windows installs0.3.0a1 (2014-01-05)Full object-oriented rewriteFeature-parity with prior versiontext: add paragraph, run, text, bold, italictable: add table, add row, add columnstyles: specify style for paragraph, tablepicture: add inline picture, auto-scalingbreaks: add page breaktests: full pytest and behave-based 2-layer test suite0.3.0dev1 (2013-12-14)Round-trip .docx file, preserving all parts and relationshipsLoad default “template” .docx on open with no filenameOpen from stream and save to stream (file-like object)Add paragraph at and of document