Commit Graph

435 Commits

Author SHA1 Message Date
Kiryl
43fc0c650d html_presets_processor.py changed structure of presets 2022-10-13 11:08:57 +03:00
Kiryl
93979e8d59 epub presets improves 2022-10-13 11:05:48 +03:00
Kiryl
5a57bf4d32 docx presets improves 2022-10-13 11:05:32 +03:00
Kiryl
a08f210d4d tag with img isn't empty 2022-09-30 13:15:27 +03:00
Kiryl
58b6c2de3b make heading removal only for hs 2022-09-29 11:21:29 +03:00
Kiryl
25b01cbdda improve attributes mover 2022-09-29 11:20:59 +03:00
Kiryl
00308b61e7 improve heading removal 2022-09-22 14:08:53 +03:00
Kiryl
f7a37b132f little changes in epub_presets.json 2022-09-21 20:11:31 +03:00
Kiryl
6389746081 table_wrapper support on divs with borders 2022-09-21 20:11:04 +03:00
Kiryl
b7f7dd772a improve converting tag style values 2022-09-21 20:09:55 +03:00
Kiryl
7e02fe117d Make width with % and px 2022-09-21 20:09:05 +03:00
Kiryl
5f0560fe59 Set correct regex for rgba 2022-09-21 20:08:33 +03:00
Kiryl
8557e4879e Rewrite converting tag values 2022-09-20 14:58:12 +03:00
Kiryl
d7a9c52acd Change workong process of docx body 2022-09-19 19:25:17 +03:00
Kiryl
e0e3e3199d Fix style processor error 2022-09-19 17:31:27 +03:00
Kiryl
d76f847dee Add text-transform to converter 2022-09-19 17:31:03 +03:00
Kiryl
41f6c5f1a5 Merge remote-tracking branch 'origin/kiryl/converter_fix' into kiryl/converter_fix 2022-09-19 17:30:26 +03:00
Kiryl
0193cf3b7e Leave parent style only for decompose & unwrap 2022-09-19 17:30:08 +03:00
Kiryl
083bced7d1 Update README.md 2022-09-12 17:50:47 +03:00
Kiryl
979a4ab648 Merge branch 'kiryl/converter_fix' of https://github.com/Teqniksoft/LiveCarta_add_ons into kiryl/converter_fix 2022-09-12 15:26:56 +03:00
Kiryl
317d040a06 Write README.md 2022-09-12 15:24:41 +03:00
Kiryl
4e0d2067d7 put every step on its place 2022-09-09 15:14:14 +03:00
Kiryl
b716a2180c Change select proc to find_all 2022-09-09 15:13:26 +03:00
Kiryl
ca728973f2 Font -> span out of presets 2022-09-09 15:13:02 +03:00
Kiryl
a571cb7009 Change names 2022-09-08 13:12:49 +03:00
Kiryl
001e55a27b Remove processing of tables 2022-09-08 13:11:45 +03:00
Kiryl
539a8df176 Annot.[logger] 2022-09-06 17:51:59 +03:00
Kiryl
83939e43cb Annot.[HTML->Html, _] 2022-09-06 16:36:35 +03:00
Kiryl
ddc45e2d04 Merge processing tags[Docx, Epub] 2022-09-06 16:26:08 +03:00
Kiryl
ea37b19c36 Move main to epub_solver.py 2022-09-06 16:22:11 +03:00
Kiryl
2c6f999c95 Remove paragraph processing 2022-09-06 13:19:58 +03:00
Kiryl
96c7421e71 epub_presets 2022-09-06 13:19:26 +03:00
Kiryl
4f4dbab94c presets.json -> epub_presets.json 2022-09-06 13:18:52 +03:00
Kiryl
9eb982ce90 Add <div> unwrapper 2022-09-06 13:18:18 +03:00
Kiryl
526a381d2e Move align to style attr. 2022-09-06 13:17:20 +03:00
Kiryl
da0e4ec157 Add wrapper to presets 2022-09-05 17:25:32 +03:00
Kiryl
6bd440a600 Little annot fix 2022-09-05 17:25:02 +03:00
Kiryl
9e31d3152c Add replacer(-two_columns,-font_to_span, preproc_headings) 2022-09-05 17:23:03 +03:00
Kiryl
3fcff462d3 Add abil. to replace value of attributes in presets 2022-09-05 17:19:31 +03:00
Kiryl
7cef389ba4 Create docx_presets file 2022-09-02 14:48:19 +03:00
Kiryl
142c9bbe69 Add decomposer & unwrapper processes 2022-09-02 14:48:01 +03:00
Kiryl
dfdf6bc7e9 Add inline style processor [Docx] 2022-09-02 14:47:06 +03:00
Kiryl
b97c5d8371 Change structure of presets.json 2022-09-02 14:43:52 +03:00
Kiryl
c602d9974a Rewrite style processing to make it common[Epub, Docx] 2022-09-02 14:43:16 +03:00
Kiryl
d71ef44178 Merge all preset functions in 1 [Epub] 2022-09-02 14:41:59 +03:00
Kiryl
38effa3df3 .json 2022-09-01 19:54:00 +03:00
Kiryl
115a53e366 put style processors on general level 2022-09-01 18:12:04 +03:00
Kiryl
39d5e27df2 Add inches->px converter 2022-09-01 13:35:26 +03:00
Kiryl
28612a0d38 Get rid of static in decorator 2022-08-29 14:22:55 +03:00
Kiryl
64d30b0ab8 Add try-except block for every part | Docx 2022-08-05 12:37:20 +03:00