31298 Commits

Author SHA1 Message Date
Kovid Goyal
87b86d86a8
Implement setting metadata in textual PDFs 2019-09-13 09:12:20 +05:30
Kovid Goyal
b25766f6aa
Basic PDF output works 2019-09-13 09:12:20 +05:30
Kovid Goyal
4abfcc46ab
Implement PDF Output font options 2019-09-13 09:12:20 +05:30
Kovid Goyal
d52134a6cd
Move Qt initialization to earlier in the conversion pipeline 2019-09-13 09:12:20 +05:30
Kovid Goyal
9315b2bec4
Use full page mode when printing images to PDF 2019-09-13 09:12:20 +05:30
Kovid Goyal
4ee889d3d9
py3 compat 2019-09-13 09:12:20 +05:30
Kovid Goyal
f4941219b9
Code to extract anchor positions from PDF files generated by web engine 2019-09-13 09:12:20 +05:30
Kovid Goyal
c8619893e0
remove unused code 2019-09-13 09:12:20 +05:30
Kovid Goyal
7803f3de36
Rename viewer2 to viewer 2019-09-13 09:12:20 +05:30
Kovid Goyal
8634fb30f6
Set metadata when outputting comic PDF 2019-09-13 09:12:20 +05:30
Kovid Goyal
0470df53d5
Make the PoDoFo metadata setting code re-useable 2019-09-13 09:12:19 +05:30
Kovid Goyal
b5b0891421
Start work on porting the PDF output plugin to use web engine 2019-09-13 09:12:19 +05:30
Kovid Goyal
b7e57597a3
Implement context menu for comments editor 2019-09-13 09:12:19 +05:30
Kovid Goyal
8abe395507
Implement support for images and links 2019-09-13 09:12:19 +05:30
Kovid Goyal
ba28b2e5f7
Make the block style actions checkable
Also use the same values for margins as used by Qt
2019-09-13 09:12:19 +05:30
Kovid Goyal
53caa824cf
Implement foreground 2019-09-13 09:12:19 +05:30
Kovid Goyal
35e531a737
Implement the block alignment actions 2019-09-13 09:12:19 +05:30
Kovid Goyal
5ac8d64c55
Implement underline and strikethrough 2019-09-13 09:12:19 +05:30
Kovid Goyal
fcb72c0075
Make the list actions toggles 2019-09-13 09:12:19 +05:30
Kovid Goyal
9c5aaade6f
Implement bold and italic toggles 2019-09-13 09:12:19 +05:30
Kovid Goyal
93fc64184e
DRYer 2019-09-13 09:12:19 +05:30
Kovid Goyal
04d58d6877
Implement insertion of <hr> 2019-09-13 09:12:19 +05:30
Kovid Goyal
77e2524174
Use <s> for strikethrough 2019-09-13 09:12:18 +05:30
Kovid Goyal
356f65cd5b
Remove format should work even with no selection 2019-09-13 09:12:18 +05:30
Kovid Goyal
a737b0e786
Use implicit styling for character styles where possible 2019-09-13 09:12:18 +05:30
Kovid Goyal
dca67dae61
Cleanup markup produced by QTextEdit
Also use the same technique for headings as used by
Qt itself.
2019-09-13 09:12:18 +05:30
Kovid Goyal
eee6720f99
Implement block formatting 2019-09-13 09:12:18 +05:30
Kovid Goyal
5cba1261f5
Implement text-indent 2019-09-13 09:12:18 +05:30
Kovid Goyal
badb775611
Implement super/sub-script 2019-09-13 09:12:18 +05:30
Kovid Goyal
ed843864a0
Implement list support 2019-09-13 09:12:18 +05:30
Kovid Goyal
943f5c00b1
Top row of comments editor implemented 2019-09-13 09:12:18 +05:30
Kovid Goyal
69ad2e2984
Get rid of remaining mainFrame references 2019-09-13 09:12:18 +05:30
Kovid Goyal
4ae788561b
... 2019-09-13 09:12:18 +05:30
Kovid Goyal
f410ca5e78
Implement clear 2019-09-13 09:12:17 +05:30
Kovid Goyal
25eb65e156
Work on replacing webkit in the comments editor 2019-09-13 09:12:17 +05:30
Kovid Goyal
371e5f9813
... 2019-09-13 09:12:17 +05:30
Kovid Goyal
9805f3a644
DRYer 2019-09-13 09:12:17 +05:30
Kovid Goyal
070ad5351e
Remove old viewer and coffeescript and viewer resources
Since the PDF output code is also going to be replaced, none
of this is required.
2019-09-13 09:12:17 +05:30
Kovid Goyal
2224f8e7ae
Ensure hang timer is stopped 2019-09-13 09:12:17 +05:30
Kovid Goyal
ff8965d510
Make embedded compiler behave more like external one 2019-09-13 09:12:17 +05:30
Kovid Goyal
055c2a9f2f
Ensure rendering of HTML does not hang 2019-09-13 09:12:17 +05:30
Kovid Goyal
d14acdaf67
py3: Port one more execfile() 2019-09-13 09:12:16 +05:30
Kovid Goyal
82083ddbb8
Drop the dependency on dukpy
The dukpy tests are failing on windows with VS 2017. Instead use Web
Engine to compile rapydscript code, when the rapydscript binary is not
present.
2019-09-13 09:12:16 +05:30
Kovid Goyal
a6576f0eff
LRF Output: Disable the table as image option
Implementing it using WebEngine is too painful and LRF is a useless
format anyway.
2019-09-13 09:12:16 +05:30
Kovid Goyal
6f86896da8
Dont use WebKit to render HTML for EPUB covers 2019-09-13 09:12:16 +05:30
Kovid Goyal
27798beaf6
Use a separate process for the ToC Editor from the main GUI
This is needed because the main GUI does not use web engine
2019-09-13 09:12:16 +05:30
Kovid Goyal
a304b67ce3
Remove WebKit from the ToC Editor 2019-09-13 09:12:16 +05:30
Kovid Goyal
e3fd6f9bff
Do not use WebKit to display book details
We are phasing out WebKit
2019-09-13 09:12:16 +05:30
Kovid Goyal
27c5324269
viewer2: Make serialization of book metadata more robust 2019-09-13 09:12:16 +05:30
Kovid Goyal
188c59b6e8
py3: webengine misc fixes 2019-09-13 09:12:16 +05:30