Eric Lapouyade
58de890f92
v0.17.0 -> requires python-docx 1.1.1+
2024-05-01 16:50:16 +02:00
Eric Lapouyade
d539119fed
PR #493
2023-05-08 11:15:41 +02:00
elapouya
d9801fd6e4
PR #482
2023-03-12 11:04:03 +01:00
elapouya
ef09ce6277
0.16.5
2023-01-07 14:02:11 +01:00
Eric Lapouyade
4857a6ed72
Modify PR to be more generic
2022-08-04 10:27:02 +02:00
Eric Lapouyade
a712baff03
fix #448
2022-07-14 18:16:20 +02:00
Eric Lapouyade
5f21feb72d
fix #444
2022-07-14 15:06:21 +02:00
elapouya
c1f994e632
Changed escape.py test, see #346
2022-05-21 15:06:24 +02:00
Eric Lapouyade
d283f3f88a
PR #427
2022-04-16 10:58:42 +02:00
Eric Lapouyade
23038b98de
fix #408
2022-01-12 15:25:07 +01:00
Eric Lapouyade
e574b6c650
remove f-string for python < 3.6 compability
2021-12-20 16:31:29 +01:00
Eric Lapouyade
589262664f
fix #392
2021-12-20 12:07:12 +01:00
Eric Lapouyade
e3e1ab58d1
Fix typo
2021-10-01 16:09:11 +02:00
Eric Lapouyade
0238472033
Changed code to be python < 3.6 compatible
2021-10-01 12:29:56 +02:00
Eric Lapouyade
1f3ef9b236
Add quiet option, update doc, modify test
2021-09-30 17:08:05 +02:00
Eric Lapouyade
61c8924663
V0.12.0
2021-08-15 15:50:45 +02:00
Eric Lapouyade
b7d782ab20
Should solve #372
2021-08-15 02:58:50 +02:00
Eric Lapouyade
bf2240f4b2
code styling
2021-07-31 14:12:22 +02:00
Eric Lapouyade
ab61d39847
code styling
2021-07-31 13:53:44 +02:00
Eric Lapouyade
30712bbc67
Working on better subdocs
2021-07-31 12:49:47 +02:00
Eric Lapouyade
ba9a4629e9
PR #351
2021-05-09 12:36:28 +02:00
Alan Evangelista
63cd4c31f7
Also look for title and description when replacing pictures
...
Before, the only searched picture tag was 'name', which corresponds to the file
name of the image added to the docx. Also searching in title and description tags
makes creating docx templates to be rendered by this more flexible and easier
in document editors which do not support viewing the image's original filename,
such as Google Docs.
Also, picture replacement was comprised of picture map creation and picture
replacing. Both processes were merged in order to implement the above change
more easily.
2021-05-05 18:21:42 -03:00
Alan Evangelista
d90087d6f7
Rename pic_to_replace to pics_to_replace
...
Latter name is more intuitive because this dictionary may hold the metadata
of several pictures.
2021-04-20 11:59:49 -03:00
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