439 Commits

Author SHA1 Message Date
Eric Lapouyade
537dc4485a
Revert "fix issue #345" 2021-05-09 10:00:26 +02:00
Eric Lapouyade
7ac23c81d0
Merge pull request #353 from XtremeGood/master
Added attributes in the documentation for InlineImage
2021-05-09 09:56:57 +02:00
Eric Lapouyade
b8c6cb67f5
Merge pull request #350 from wafi543/master
fix issue #345
2021-05-09 09:49:57 +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
Vishesh Mangla
883e9f7e0b
Added attribute names for InlineImage 2021-05-03 22:58:56 +05:30
Vishesh Mangla
2c578949b9
Update index.rst 2021-05-03 22:57:28 +05:30
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
wafi543
6b41cc2579 continued fix #345 2021-04-19 14:17:38 +03:00
wafi543
8d512d2edd Flake8 Rules 2021-04-19 12:49:04 +03:00
wafi543
2b2628c6df fix #345 2021-04-19 12:35:38 +03:00
Eric Lapouyade
04d1bfc5fe Merge branch 'idrisnacer-master' v0.11.4 2021-04-06 09:47:20 +02: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
3d95dd88f7 flake8 code styling fix 2020-11-09 09:30:21 +01:00
Eric Lapouyade
0c5ebcbc54 flake8 code styling fix 2020-11-09 09:22:33 +01:00
Eric Lapouyade
79994ed2c8 fix #323 2020-11-09 09:12:16 +01:00
Eric Lapouyade
53d582c407 fix #320 v0.11.2 2020-10-27 10:07:42 +01:00
Eric Lapouyade
4af6f2282f flake8 fixes v0.11.1 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
b616daf50a
Merge pull request #314 from jfcorbett/docs/add-conda-install-instructions
Add conda install instructions
0.10.5 v0.11.0
2020-10-15 15:11:28 +02:00
Eric Lapouyade
7282856484 revert 0.10.4 2020-10-15 15:07:29 +02:00
JEACO
e67b27f06e Add conda install instructions 2020-10-15 13:33:18 +02:00
Eric Lapouyade
f9b95afe7a Fix changelog 2020-10-15 09:02:55 +02:00
Eric Lapouyade
9946c74fdc PR #307 + #312 v0.10.3 v0.10.4 2020-10-15 08:57:03 +02:00
Eric Lapouyade
528c3b1ca5 Revert escape.py test files 2020-10-14 17:09:39 +02:00
Eric Lapouyade
3413052ef2 Merge remote-tracking branch 'origin/master' 2020-10-14 16:58:33 +02:00
Eric Lapouyade
c1e7a1cf6f
Merge pull request #311 from elapouya/revert-307-develop
Revert "Add line break resolving with styles preserving"
2020-10-14 16:58:10 +02:00
Eric Lapouyade
ff2fa37b2b
Revert "Add line break resolving with styles preserving" 2020-10-14 16:54:15 +02:00
Eric Lapouyade
cf8e493e93 Update escape.py to test new feature 2020-10-14 16:52:58 +02:00
Eric Lapouyade
5faef9f429 Merge branch 'chabErch-develop' 2020-10-14 15:08:06 +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
Eric Lapouyade
e895607d26
Merge pull request #304 from timgates42/bugfix_typo_embedded
docs: Fix simple typo, embdded -> embedded
2020-09-14 19:12:20 +02: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
Eric Lapouyade
8428b72dec
Merge pull request #299 from oraix/fix_underline
Support more types of underline
2020-08-30 16:18:46 +02:00
UncleOraix
b1453e6eba Support more types of underline 2020-08-28 23:51:42 +08:00
Eric Lapouyade
fe4e76459f Remove extension testing in replace_pic() 2020-08-23 18:37:51 +02:00
Eric Lapouyade
92613a9435 Merge remote-tracking branch 'origin/master' 2020-08-23 18:22:49 +02:00
Eric Lapouyade
3b4de31734 Remove extension testing in replace_pic() 2020-08-23 18:22:25 +02:00
Eric Lapouyade
4840f9e709
Merge pull request #294 from dusty-phillips/patch-1
Fix spelling mistake
2020-08-16 00:51:10 +02:00
Dusty Phillips
6c21fab272
Fix spelling mistake 2020-08-15 16:53:13 -03:00
elapouya
4d81ef8eaa Update doc 2020-07-31 18:43:14 +02:00
Eric Lapouyade
74d46579be Fix codestyling (lint with flake8) 2020-05-24 12:07:24 +02:00
Eric Lapouyade
1b9ec6f253 Merge remote-tracking branch 'origin/master' 2020-05-24 11:55:53 +02:00
Eric Lapouyade
7363428782 v0.10.0 2020-05-24 11:54:49 +02:00
Eric Lapouyade
53bf8175d9
Merge pull request #276 from craigmbooth/patch-1
Fix "ingore" typo in index.rst
2020-05-19 07:28:30 +02:00
Craig Booth
8bf2fa511d
Fix typo in index.rst 2020-05-18 20:25:58 -05:00
Eric Lapouyade
5ee1c03410 fix get_undeclared_template_variables() to include header/footer v0.10.0 2020-05-11 17:55:53 +02:00