Commit Graph

38642 Commits

Author SHA1 Message Date
Kovid Goyal c4e3fda682 Code to list fonts in a PDF file 2019-09-13 09:12:22 +05:30
Kovid Goyal e575be49e3 Add support for page number mapping 2019-09-13 09:12:22 +05:30
Kovid Goyal 43d7e2119a Implement printable ToC for PDF Output 2019-09-13 09:12:22 +05:30
Kovid Goyal 089789dd19 Report progress in PDF text output plugin 2019-09-13 09:12:22 +05:30
Kovid Goyal 9f87cd7f99 Add a note about using page margins from the input document 2019-09-13 09:12:22 +05:30
Kovid Goyal 974070ef93 Log toc entry resolution failures 2019-09-13 09:12:22 +05:30
Kovid Goyal 32e83987d6 PDF Outline generation now works 2019-09-13 09:12:22 +05:30
Kovid Goyal 39dae008c2 Use PdfDestination to create destinations 2019-09-13 09:12:22 +05:30
Kovid Goyal 27c200ea8d Run conversion of each margin group to PDF in parallel 2019-09-13 09:12:22 +05:30
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