46 Commits (3dd3a000dbaa21bb4fb7765914121ded962c837d)

Author SHA1 Message Date
Fabio D'Urso 3dd3a000db Don't crash if Configure Backends is opened again after it's been closed 13 years ago
Azat Khuzhin 1fdb0a0a06 Font selector for TextDocumentGenerator 13 years ago
Montel Laurent f9f65979f5 Normalize signals/slots 15 years ago
Pino Toscano c05523da2b fix #include paths in core headers to other core headers to be relative 15 years ago
Tobias Koenig d5a2d53d21 Do not crash in case of false calculations in a generator 16 years ago
Tobias Koenig 911f8eaeca tab -> whitespace fixes 17 years ago
Pino Toscano 0761b20be2 turn the internal class Utils (with just static members) into a TextDocumentUtils namespace 17 years ago
Brad Hards 3cb0e7575f Improve handling of document synopsis with 18 years ago
Brad Hards bfa53df1ec Don't crash when setting up the document synopsis for 18 years ago
Pino Toscano 355eef2da6 correct place the bracket out of the #ifdef 18 years ago
Brad Hards cfb62ab4d5 Add support for export to OpenDocument text and HTML 18 years ago
Pino Toscano 84a23006d5 ask the q-ptr only when compling the threaded rendering 18 years ago
Pino Toscano 6cf2d5786e limit the scope of the text cursor, so it's deleted before the mutex unlock 18 years ago
Pino Toscano 697d51e1a2 Make the rendering for TextDocument-based generators threaded, only if Qt (via QFontDatabase) tells us we can. 18 years ago
Pino Toscano 18c8cf59e8 - when the loading of a textdocument-based document fails, cleanup all the stuff eventually gathered from the converter 18 years ago
Pino Toscano 890367943b clear TOC and document info when closing a textdocument-based document 18 years ago
Pino Toscano c44ce52719 add a private reimplementation of metaData() so the text document generator can show the title of a document 18 years ago
Pino Toscano 7266660c37 Add a protected TextDocumentGenerator* generator() to the TextDocumentConverter to make it able to use stuff of the Document (eg a parent for dialogs). 18 years ago
Pino Toscano 40803bf9b0 and actually connect to the new signal 18 years ago
Pino Toscano c6b7cfab8c Add a addMetaData(DocumentInfo::Key, QString) signal to the TextDocumentConverter. 18 years ago
Pino Toscano b9af4a6a94 check for valid pages 19 years ago
Pino Toscano 5fc6503d89 For now, do not consider links whose page cannot be calculated. 19 years ago
Pino Toscano a194acf2bc Foo/FooPrivate for TextDocumentConverter 19 years ago
Pino Toscano 870980da75 correctly set the External flag for annotations loaded from documents 19 years ago
Pino Toscano 6aa123656a Port the plugin system to the standard KDE factory and loader, getting rid of the custom system okular had so far. 19 years ago
Tobias Koenig 3ce7e38f06 Now that we use QPrinter, call QTextDocument::print() directly... 19 years ago
John Layt 070285e039 Port from KPrinter to QPrinter, remove dependency on KDE4_KDEPRINT_LIBS. 19 years ago
Pino Toscano 15155d8824 Rename the virtual closeDocument() to doCloseDocument(), and make it protected. 19 years ago
Pino Toscano 006111382b common d_ptr+q_ptr structure for Generator/TextDocumentGenerator, and their private classes 19 years ago
Pino Toscano de45467966 properly free the resources of a document when calling closeDocument(), not in the destructor of the generator or in loadDocument() 19 years ago
Tobias Koenig bbbbd8eda9 Fixed the 'select one line twice' bug. 19 years ago
Pino Toscano 06411f9805 Add links and annotations when loading the pages, not during the pixmap generations. 19 years ago
Pino Toscano 2e024d6d96 generalize a bit more the way for constructing "standard" ExportFormat's 19 years ago
Pino Toscano 0e12746a92 Link -> Action renaming. 19 years ago
Pino Toscano 5f21b15d99 Link -> Action renaming. 19 years ago
Pino Toscano f3e484082d Link -> Action renaming. 19 years ago
Albert Astals Cid 0d47b62715 krazy include order issues 19 years ago
Pino Toscano 2ef46f8d90 simplify a bit the export action creation code 19 years ago
Pino Toscano 6068c76df6 Merge the new functions of ThreadedGenerator into the base Generator: this means that there's again only a single base Generator that can provide the multithreading for the generation of contents, just pixmaps for now. 19 years ago
Tobias Koenig baf1fb2870 Several changes: 19 years ago
Pino Toscano 55dfb87f3f simplify a bit the Feature system: move it to the base Generator class, and add a protected method to switch a feature on and off easily - no more need to copy&paste hasFeature() anymore 19 years ago
Tobias Koenig d227a94e79 First part of the porting to a threaded api for generators 19 years ago
Tobias Koenig 460f972d19 Arrgh, forgot to commit this last time :/ 19 years ago
Pino Toscano 135a18b407 get rid of supportsSearching() by using a proper feature 19 years ago
Pino Toscano 468a0da775 bye bye canGenerateTextPage(), unused nowadays 19 years ago
Tobias Koenig e1ab8660ef Add new TextDocumentGenerator class, which is a base class for 19 years ago