Commit Graph

38633 Commits

Author SHA1 Message Date
Kovid Goyal f0584b8fdb Get document links working when PDF is generated in parts 2019-09-13 09:12:21 +05:30
Kovid Goyal 7b03c7567c Some TODOs 2019-09-13 09:12:21 +05:30
Kovid Goyal 0cebe16938 Get anchor locations from PDF segments 2019-09-13 09:12:21 +05:30
Kovid Goyal 600f71fda6 Fix preview going to top anchor not working 2019-09-13 09:12:21 +05:30
Kovid Goyal 5067454aa4 PDF Output: Add support for document margins 2019-09-13 09:12:21 +05:30
Kovid Goyal 19fc96cb31 Remove no longer implementable option 2019-09-13 09:12:21 +05:30
Kovid Goyal 6814d9e424 Report progress writing images 2019-09-13 09:12:21 +05:30
Kovid Goyal 56a3427b99 Use PDFStream to set metadata for image PDFs
No need to reparse via PoDoFo
2019-09-13 09:12:21 +05:30
Kovid Goyal 22ba6c3ab7 Pass JPEG images unmodified when creating PDF image pages 2019-09-13 09:12:21 +05:30
Kovid Goyal 4815c6167e Use the calibre PDF engine for image to PDF conversion
Will allow us to pass through JPG images unmodified
2019-09-13 09:12:21 +05:30
Kovid Goyal 8029b3cc83 Code to add cover to textual PDF output 2019-09-13 09:12:21 +05:30
Kovid Goyal 6c78ae2105 Nicer page break insertion 2019-09-13 09:12:20 +05:30
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