220 Commits

Author SHA1 Message Date
Nikhil Komawar
4efd49c8f2 Reference RichText section
This will enabling RichText section in the documentation as it appears
after the concerened section. Easier to navigate and avoid confusion.
2020-04-08 12:44:47 +05:30
Eric Lapouyade
72a9be558a v0.6.4 2020-04-06 07:06:41 +02:00
Eric Lapouyade
dd588034e9
Merge pull request #258 from awesomo4000/fix-lxml-parse
Prevent lxml from attempting to parse None
v0.6.4
2020-04-06 06:59:31 +02:00
Aaron Rhodes
a7c5531f20 Prevent lxml from attempting to parse None 2020-03-30 17:50:07 -04:00
Eric Lapouyade
4fe1cc507d
Merge pull request #236 from mneitsabes/master
Add the ability to add a RichText object to another RichText object
2019-11-09 20:41:21 +01:00
Sébastien MAUROY
9a4dd4e28c Adds the ability to add a RichText object to another RichText object 2019-11-09 12:14:24 +01:00
Eric Lapouyade
74fbb615bb PR #207 and #209 2019-06-20 16:25:03 +02:00
Eric Lapouyade
e3bf22376a
Merge pull request #207 from edufresne/master
Truncate zip file before re-writing it for  replace_media with file-like objects
v0.6.3
2019-06-17 16:26:10 +02:00
Eric Lapouyade
1f80377013
Merge pull request #209 from vesatoivonen/issue-208
Allow jinja environment to be passed to undeclared_template_variables
2019-06-17 16:25:19 +02:00
Vesa Toivonen
1bba2f92b7 Keep undeclared_template_variables as a property 2019-06-17 11:07:14 +03:00
Vesa Toivonen
b01f033d14 Allow jinja environment to be passed to undeclared_template_variables 2019-06-12 10:54:57 +03:00
ericdufresne
b3094f660a Truncate zip file before re-writing it. This prevents a misplaced zip file table of contents which can cause Microsoft word to go into recovery mode for a newly generated document. 2019-06-11 10:03:53 -04:00
Eric Lapouyade
671c7c78a7 Handle spaces correctly when run are split by Jinja code (#205) 2019-06-09 12:38:22 +02:00
Eric Lapouyade
68fb31ec22
Merge pull request #205 from toloco/fix-spacing
Handle spaces correctly when run are split by Jinja code
v0.6.2
2019-06-09 12:31:28 +02:00
Tolo Palmer
28ed545e85 Bump version 2019-06-07 11:16:38 +01:00
Tolo Palmer
333a046180 Handle spaces correctly when run are split by Jinja code 2019-06-07 11:04:34 +01:00
Eric Lapouyade
ab7adb5d21 v0.6.0 : DocxTemplate now accepts file-like objects 2019-06-05 09:44:35 +02:00
Eric Lapouyade
9f1cb53205
Merge pull request #203 from edufresne/master
Fix need to "Recover document" after using replace_media and saving to file-like object
v0.6.1
2019-06-05 09:06:30 +02:00
ericdufresne
fbb930d3ea Provide better support for file-like objects with replace-media 2019-06-03 11:34:16 -04:00
Eric Lapouyade
d9b5a4d2ab v0.6.0 : DocxTemplate now accepts file-like objects 2019-06-03 16:31:45 +02:00
Eric Lapouyade
d3ddb59d1c
Merge pull request #201 from edufresne/master
#200 - fix issue with reading and writing to file-like object using replace_media
v0.6.0
2019-06-03 16:02:26 +02:00
ericdufresne
a021c517f5 Issue- #200 2019-05-30 10:34:39 -04:00
Eric Lapouyade
b46f4f8ff5 fix #199 v0.5.20 2019-05-23 15:58:51 +02:00
Eric Lapouyade
53ad9eedc4
Merge pull request #199 from jfcorbett/setup-encoding
Explicitly specify utf-8 encoding when opening file in setup.py
2019-05-23 15:00:30 +02:00
JEACO
c86b1ffeb5 Explicitly specify utf-8 encoding when opening file in setup.py 2019-05-23 13:53:31 +02:00
Eric Lapouyade
5c89f43eb8 Add support for file-like objects for replace_media (#197) 2019-05-23 08:37:34 +02:00
Eric Lapouyade
e956892d61
Merge pull request #198 from edufresne/master
Issue #197 - Add support for file-like objects for replace_media
v0.5.19
2019-05-23 08:25:00 +02:00
ericdufresne
20819a7368 Fixed doc typo 2019-05-22 15:32:48 -04:00
ericdufresne
cd77712b5e Issue #197 - Add support for file-like objects for replace_media 2019-05-22 15:15:19 -04:00
Eric Lapouyade
8472d4ed55
Merge pull request #196 from mzetea/master
fixed division by zero situation
2019-05-22 17:05:24 +02:00
Mircea Zetea
a69aa8777f fixed division by zero situation 2019-05-22 17:28:13 +03:00
elapouya
7cb606e2da Fix #176 2019-05-20 09:57:03 +02:00
Eric Lapouyade
3291da7ff3
Merge pull request #177 from nickgashkov/fix/issue-176
Fix #176
v0.5.18
2019-01-24 16:07:41 +01:00
Nick Gashkov
527de6190f Fix #176 2019-01-24 16:33:54 +03:00
Eric Lapouyade
0bbe5a80b9 Delegated autoescaping to Jinja2 Environment (#175) 2019-01-20 11:23:14 +01:00
Eric Lapouyade
53be7aa768
Merge pull request #175 from mx2048/master
Delegated autoescaping to Jinja2 Environment.
v0.5.17
2019-01-20 10:55:37 +01:00
Max Podolskii
355432ccb0 Delegated autoescaping to Jinja2 Environment. 2019-01-17 14:29:26 -08:00
elapouya
12e709f80b Force to use python-docx 0.8.7 2019-01-11 15:13:11 +01:00
Eric Lapouyade
651b59fc21
Merge pull request #171 from anhphamduy/master
Getting undeclared variables in a template
v0.5.16
2019-01-11 15:00:32 +01:00
Anh Pham
01825a1fa2 Add getting undeclared variables in the template 2019-01-11 15:56:03 +11:00
Eric Lapouyade
2fad92046e Added PAGE_BREAK feature (#168) 2019-01-02 11:41:41 +01:00
Eric Lapouyade
e6b7b58c92
Merge pull request #168 from mx2048/master
Added `PAGE_BREAK` feature
v0.5.15
2019-01-02 10:35:57 +01:00
Max Podolskii
5f6a5c4d6c Added PAGE_BREAK feature: use '\f' in your text to get a manual page break rendered. 2018-12-27 22:21:46 -08:00
Eric Lapouyade
68d2fd6e84 Fixed issue #159: autoescaped values for both str and unicode. 2018-12-23 11:36:20 +01:00
Eric Lapouyade
bafdf1a310
Merge pull request #166 from mx2048/master
Fixed issue #159: autoescaped values for both str and unicode.
v0.5.14
2018-12-23 11:23:33 +01:00
Max Podolskii
758daeeaab Fixed issue #159: autoescaped values for both str and unicode. 2018-12-19 23:13:06 -08:00
Eric Lapouyade
aa088a274b Fix tables with gridSpan that have less cells after the tc forloop (#164) v0.5.12 2018-12-18 08:22:36 +01:00
Eric Lapouyade
8ffc7b80e8
Merge pull request #164 from nickgashkov/fix/less-cells-after-loop-grid-span
Fix tables with gridSpan that have less cells after the tc forloop
2018-12-18 08:09:00 +01:00
Nick Gashkov
195d6a7090 Fix tables with gridSpan that still have less cells after the tc forloop 2018-12-17 15:27:14 +03:00
Eric Lapouyade
126b2a6b37
Merge pull request #163 from elapouya/revert-162-fix/less-cells-after-loop
Revert "Fix tables that have less cells after the tc forloop"
2018-12-17 09:01:00 +01:00