Skip to content

ShayHill/replace_docx_tables

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A test file to demonstrate how to insert paragraphs into a docx file with docx2python.

The workflow:

  1. Create a template docx file with a table formatted the way you'd like
  2. Insert a marker string into that table where you'd like your text to go
  3. (see test_assemble.py): identify the paragraph, paragraph row, and paragraph cell where the marker text is found
  4. (see test_assemble.py): use these as templates to create new table cells and rows with your input data

About

How to replace (anything with a bit of editing) in a docx file

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages