331 Commits

Author SHA1 Message Date
Eric Lapouyade
19733a6b5b
Merge pull request #402 from 42sol-eu/master
Add documentation for get_undeclared_template_variables() method
v0.15.2
2021-12-30 12:07:43 +01:00
Andreas **Felix** Häberle
d2037d2a54
added interface function to check variables in document 2021-12-22 18:49:35 +01:00
Eric Lapouyade
e574b6c650 remove f-string for python < 3.6 compability v0.15.1 2021-12-20 16:31:29 +01:00
Eric Lapouyade
589262664f fix #392 2021-12-20 12:07:12 +01:00
Eric Lapouyade
d22aeb41db Fix #398 v0.15.0 2021-12-19 12:18:57 +01:00
Eric Lapouyade
4a9acdcf79
Merge pull request #386 from Lcrs123/make_module_executable
Improvements for template used in test module_execute.py
2021-10-06 15:10:06 +02:00
Lucas
234ec65e9d improvements for test template 2021-10-06 09:13:39 -03:00
Eric Lapouyade
e3e1ab58d1 Fix typo 2021-10-01 16:09:11 +02:00
Eric Lapouyade
727d07fa3e Changed code to be python < 3.6 compatible 2021-10-01 12:34:32 +02:00
Eric Lapouyade
0238472033 Changed code to be python < 3.6 compatible 2021-10-01 12:29:56 +02:00
Eric Lapouyade
5e8aeae272 Changed code to be python < 3.6 compatible v0.14.1 2021-10-01 12:25:45 +02:00
Eric Lapouyade
5dfe448a9a Changed code to be python < 3.6 compatible 2021-10-01 12:20:46 +02:00
Eric Lapouyade
541d5ce7cb Changed code to be python < 3.6 compatible 2021-10-01 12:11:43 +02:00
Eric Lapouyade
b0a5de05aa Codestyling 2021-10-01 08:31:19 +02:00
Eric Lapouyade
d900f9296a Merge branch 'Lcrs123-make_module_executable' 2021-09-30 17:08:23 +02:00
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