Commit Graph

462 Commits

Author SHA1 Message Date
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
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
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
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
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
Kiryl
18642ec5fd Annotations for Docx Converter 2022-08-05 12:36:39 +03:00
Kiryl
2122fb82fa Prod fix(-presets) 2022-08-04 12:35:23 +03:00
Kiryl
9959a04935 Rewrite and add imports 2022-08-03 16:49:17 +03:00
Kiryl
21b5023ba1 Update rgb2closest_color.py 2022-08-03 16:47:08 +03:00
Kiryl
19c2308c58 Rewrite the processing of images 2022-08-03 16:45:18 +03:00
Kiryl
3cd793ea78 Update utils to current project 2022-08-03 16:44:23 +03:00
Kiryl
e3290b23bb Fix annotation problem 2022-08-03 14:55:22 +03:00
Kiryl
78e3ad8911 Annotations in Epub converter 2022-08-03 14:39:13 +03:00
Kiryl
ea13d38f27 Delete temporary files 2022-07-28 13:03:32 +03:00
Kiryl
009b755a31 Add path to backend preset 2022-07-28 11:52:47 +03:00
Kiryl
af466cbc27 Change paths to books 2022-07-27 20:44:19 +03:00
Kiryl
290ffa346a Docx refactoring 2022-07-27 20:20:52 +03:00
Kiryl
617d4fcaef Small changes (to work with preset) 2022-07-27 20:20:28 +03:00
Kiryl
84b692d39b Add preset processing from backend 2022-07-27 20:19:48 +03:00
Kiryl
ea4dd77155 Add attr replacer & svg -> img 2022-07-20 15:45:44 +03:00
Kiryl
4f7aa69ab3 Heading removal fix 2022-07-20 15:44:28 +03:00
Kiryl
20fa1bfa86 Clear font-family value of regex characters 2022-07-15 14:18:53 +03:00
Kiryl
16a8690738 small refactoring 2022-07-14 19:14:49 +03:00
Kiryl
a6a54abb0a Optimize docx2libre_html.py 2022-07-14 19:13:59 +03:00
Kiryl
b1ccd796c9 Set up local docx_converter 2022-07-14 19:13:34 +03:00
Kiryl
7b35d8a7c2 Optimize speed of image_processing.py 2022-07-14 19:12:22 +03:00
Kiryl
ca229dc6b7 Rewrite _insert_tags cause of mutable tag 2022-07-14 19:11:33 +03:00
Kiryl
8624a0a776 ' -> " in import css file 2022-07-14 19:10:23 +03:00
Kiryl
55372561cd Change processing of Section|Part Chapters 2022-07-14 19:09:33 +03:00
Kiryl
e1f06ba884 Add concrete book_id for imgs on Local 2022-07-14 12:39:48 +03:00
Kiryl
5036445c05 rewrite process internal links 2022-07-08 18:37:17 +03:00
Kiryl
7d5c1bfdf2 comment duplicate_styles_check cause of transform 2022-07-08 18:36:09 +03:00