416 Commits

Author SHA1 Message Date
Eric Lapouyade
1f3ef9b236 Add quiet option, update doc, modify test 2021-09-30 17:08:05 +02:00
Lucas
e4737ddfbb Added test for main function, template and json for running test v0.14.0 2021-09-30 09:41:58 -03:00
Lucas
7b2d7e1946 Added argument for overwrite without confirmation and constants for easier referencing of arguments 2021-09-30 09:39:40 -03:00
Lucas
2dee2ddd1c Small change in error message for main() 2021-09-29 13:04:47 -03:00
Lucas
5f3fe03108 Small change in error catching in validate function 2021-09-29 11:04:42 -03:00
Lucas
b6f9c992f5 Added function for rendering docx instead of directly calling method on DocxTemplate instance. Added exception chaining to a few functions there were missing it. 2021-09-29 10:35:26 -03:00
Lucas
a78462ee0f Reformat, added comments and small fixes in error catching 2021-09-29 09:46:16 -03:00
Lucas
8004fcf6bc Added basic functionality to make the module executable 2021-09-28 15:25:09 -03:00
Lucas
a45cc806d8 Added basic functionality to make the module executable 2021-09-28 15:12:29 -03:00
Eric Lapouyade
21a0a46a43
Merge pull request #376 from DeanWunder/patch-1
Update index.rst, fixed a misspell.
2021-08-16 01:20:41 +02:00
DeanWunder
9708802400
Update index.rst, fixed a misspell. 2021-08-16 08:39:08 +10: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
6722d63537 code styling 2021-07-31 14:16:23 +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
f780714a52 Added requirements.txt 2021-07-31 13:44:28 +02:00
Eric Lapouyade
30712bbc67 Working on better subdocs 2021-07-31 12:49:47 +02:00
Eric Lapouyade
0a1cb24b12 Update issue templates 2021-07-16 11:18:49 +02:00
Eric Lapouyade
7a65b2a310 Update issue templates 2021-07-16 11:07:42 +02:00
Eric Lapouyade
a435b1c46a Update issue templates 2021-07-16 11:05:16 +02:00
Eric Lapouyade
ef622f28e5 Update issue templates 2021-07-16 11:02:03 +02:00
Eric Lapouyade
44fb098904 Update issue templates 2021-07-16 11:00:01 +02:00
Eric Lapouyade
ba9a4629e9 PR #351 2021-05-09 12:36:28 +02:00
Eric Lapouyade
60151d6677 Merge branch 'alanoe-ae/support_img_title_and_desc_in_replace_pic' v0.11.5 2021-05-09 12:32:12 +02:00
Eric Lapouyade
af2b027c9f Merge branch 'ae/support_img_title_and_desc_in_replace_pic' of https://github.com/alanoe/python-docx-template into alanoe-ae/support_img_title_and_desc_in_replace_pic 2021-05-09 10:26:08 +02:00
Eric Lapouyade
f4042d9d53
Merge pull request #354 from elapouya/revert-350-master
Revert "fix issue #345"
2021-05-09 10:02:05 +02:00
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