Eric Lapouyade
30578cf88c
InlineImage now possible in header/footer
2021-04-06 09:46:57 +02:00
idris nacer
6496abf307
invoke new_pic_inline from current_rendering_part
...
invoke new_pic_inline from current_rendering_part (header, document body or footer), so the image relationship gets created correctly
Remove white spaces
2021-03-29 11:08:03 +01:00
Eric Lapouyade
bc6d88251a
Update package informations
2021-01-09 13:56:38 +01:00
Eric Lapouyade
79994ed2c8
fix #323
2020-11-09 09:12:16 +01:00
Eric Lapouyade
53d582c407
fix #320
2020-10-27 10:07:42 +01:00
Eric Lapouyade
4af6f2282f
flake8 fixes
2020-10-19 14:16:07 +02:00
Eric Lapouyade
344a7d1676
flake8 fixes
2020-10-19 14:10:24 +02:00
Eric Lapouyade
44a0819625
\n, \a, \t and \f are now accepted in simple context string
2020-10-19 13:59:36 +02:00
Eric Lapouyade
7282856484
revert 0.10.4
2020-10-15 15:07:29 +02:00
Eric Lapouyade
f9b95afe7a
Fix changelog
2020-10-15 09:02:55 +02:00
Eric Lapouyade
9946c74fdc
PR #307 + #312
2020-10-15 08:57:03 +02:00
Eric Lapouyade
ff2fa37b2b
Revert "Add line break resolving with styles preserving"
2020-10-14 16:54:15 +02:00
ChabErch
b9fa41b714
Compatible fix
2020-10-11 21:22:22 +03:00
ChabErch
72b6754a18
Add line break resolving with styles preserving
2020-10-04 23:09:41 +03:00
Tim Gates
53ed9bba32
docs: Fix simple typo, embdded -> embedded
...
There is a small typo in docs/index.rst, docxtpl/__init__.py.
Should read `embedded` rather than `embdded`.
2020-09-14 06:28:17 +10:00
UncleOraix
b1453e6eba
Support more types of underline
2020-08-28 23:51:42 +08:00
Eric Lapouyade
3b4de31734
Remove extension testing in replace_pic()
2020-08-23 18:22:25 +02:00
Eric Lapouyade
7363428782
v0.10.0
2020-05-24 11:54:49 +02:00
Eric Lapouyade
5ee1c03410
fix get_undeclared_template_variables() to include header/footer
2020-05-11 17:55:53 +02:00
Eric Lapouyade
581717e5ee
Fix #271
2020-04-26 10:50:40 +02:00
Eric Lapouyade
aba8c6bb7b
Fix #271
2020-04-24 16:15:32 +02:00
Eric Lapouyade
a9ebb9d78d
Fix codestyling
2020-04-17 10:47:48 +02:00
Edwin Smulders
9175f0cbd6
Fix codestyling according to flake8 rules
2020-04-16 23:06:57 +02:00
Eric Lapouyade
ccdf20a121
v0.9.0
2020-04-15 15:11:47 +02:00
Eric Lapouyade
97be69b950
{%- xxx -%} merging feature
2020-04-14 22:51:36 +02:00
Eric Lapouyade
ccac13390a
fix #266
2020-04-14 10:35:58 +02:00
Eric Lapouyade
2b75638aa8
v0.8.0
2020-04-10 11:29:23 +02:00
Edwin Smulders
e8bc36c57e
Make headers and footers work with both python-docx 0.8.7 and 0.8.10 - attempt 2
2020-04-09 17:41:25 +02:00
Eric Lapouyade
888dd085f6
v0.7.0
2020-04-09 16:01:45 +02:00
Eric Lapouyade
dc571cfaf7
Merge pull request #263 from Dutchy-/master
...
Make headers and footers work with both python-docx 0.8.7 and 0.8.10
2020-04-09 14:29:18 +02:00
Eric Lapouyade
444f862efa
Add replace_zipname()
2020-04-09 14:26:22 +02:00
Edwin Smulders
17a2c6e1fe
Make headers and footers work with both python-docx 0.8.7 and 0.8.10
2020-04-08 16:50:06 +02:00
Eric Lapouyade
72a9be558a
v0.6.4
2020-04-06 07:06:41 +02:00
Aaron Rhodes
a7c5531f20
Prevent lxml from attempting to parse None
2020-03-30 17:50:07 -04: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
2019-06-17 16:26:10 +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
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
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
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
2019-05-23 15:58:51 +02:00
Eric Lapouyade
5c89f43eb8
Add support for file-like objects for replace_media ( #197 )
2019-05-23 08:37:34 +02:00