138 Commits

Author SHA1 Message Date
Eric Lapouyade
40861400b3 black 2025-05-02 16:42:32 +02:00
Eric Lapouyade
9392b06da4 add RichTextParagraph class 2025-05-02 16:29:22 +02:00
ST-Imrie
ebc770a291 Updated RichText Jinja tags from rr/rp to r/q and updated test template 2025-05-01 11:39:48 +01:00
ST-Imrie
aa7b7a77e3 Rich Text Paragraph Formatting Update 2025-02-28 17:53:26 +00:00
Bart Broere
9124386b4c Fix flake8 2024-09-23 06:25:22 +00:00
Bart Broere
1cca257016 Add a test and use existing XML patching method 2024-09-23 06:24:41 +00:00
Eric Lapouyade
a10c3c16e4 Remove python 2.x support 2024-07-21 16:42:41 +02:00
Eric Lapouyade
a50b52b317 PR #552 + black all files 2024-07-21 16:10:44 +02:00
elapouya
d9801fd6e4 PR #482 2023-03-12 11:04:03 +01:00
elapouya
708581fa6e remove unused code in doc_properties.py 2023-01-07 14:09:28 +01:00
elapouya
ef09ce6277 0.16.5 2023-01-07 14:02:11 +01:00
Eric Lapouyade
650b28d852 flake8 issue 2022-08-04 10:31:45 +02:00
Eric Lapouyade
4857a6ed72 Modify PR to be more generic 2022-08-04 10:27:02 +02:00
Eric Lapouyade
ea987f9e38 Merge branch 'master' of https://github.com/sailingnn/python-docx-template into sailingnn-master 2022-08-04 09:46:44 +02:00
sailingnn
a9122c34d4
Update richtext_eastAsia.py 2022-08-04 09:05:06 +08:00
sailingnn
b75867397a
add eastAsia template
adding eastAsia template for test
2022-08-04 09:01:33 +08:00
sailingnn
badce481c6
add eastAsia test
add eastAsia test
2022-08-04 08:58:59 +08:00
Tim Gates
2fd2140caf
docs: Fix a few typos
There are small typos in:
- docs/index.rst
- docxtpl/__main__.py
- docxtpl/template.py
- tests/embedded.py

Fixes:
- Should read `surrounding` rather than `surronding`.
- Should read `rendering` rather than `rendring`.
- Should read `providing` rather than `provinding`.
- Should read `optionally` rather than `optionnally`.
- Should read `optional` rather than `optionnal`.
- Should read `necessary` rather than `neccessary`.
- Should read `existing` rather than `exsting`.
- Should read `embedded` rather than `embdded`.
- Should read `dictionaries` rather than `dictionnaries`.
- Should read `cleaning` rather than `cleanning`.
- Should read `catches` rather than `cacthes`.

Signed-off-by: Tim Gates <tim.gates@iress.com>
2022-07-21 08:16:56 +10:00
Eric Lapouyade
5f21feb72d fix #444 2022-07-14 15:06:21 +02:00
elapouya
7290528b3d flake8 fix 2022-06-12 16:28:02 +02:00
elapouya
c1f994e632 Changed escape.py test, see #346 2022-05-21 15:06:24 +02:00
Eric Lapouyade
9b4e623c3c Add documentation for jinja-like comments in templates 2022-04-16 12:18:07 +02:00
Eric Lapouyade
6bfd2eb85a PR #427 2022-04-16 11:02:40 +02:00
Staffan Malmgren
4e073ea451 Added support for jinja comments for paragraphs and table rows+cells 2022-03-28 23:43:34 +02: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
Lucas
234ec65e9d improvements for test template 2021-10-06 09:13:39 -03: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
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 2021-09-30 09:41:58 -03: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
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
Eric Lapouyade
30578cf88c InlineImage now possible in header/footer 2021-04-06 09:46:57 +02: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
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
9946c74fdc PR #307 + #312 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
cf8e493e93 Update escape.py to test new feature 2020-10-14 16:52:58 +02:00
UncleOraix
b1453e6eba Support more types of underline 2020-08-28 23:51:42 +08:00
Eric Lapouyade
74d46579be Fix codestyling (lint with flake8) 2020-05-24 12:07:24 +02:00