79 Commits (04d242b2ee90be80cbf6464bfe4bf8c2128738b1)

Author SHA1 Message Date
Pino Toscano e00b99bba1 add ODT in the export format class 18 years ago
Albert Astals Cid 61964b930f And now okular coupled with poppler from 5 minutes ago has the hability to let you save to file fonts embedded into a pdf file 18 years ago
Pino Toscano 9ea54d7298 update the bounding box of page after the pixmap of the page has been delivered to the observer that requested it, 18 years ago
Pino Toscano 6725e71340 when generating the page image in an internal secondary thread (started by the base generator), then also calculate the page bounding box in the thread 18 years ago
Pino Toscano 18f486c2c1 add the possibility to store an useful bounding box of a page, and for generators to notify the document (and its observers) on its change 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
Albert Astals Cid bb23209234 limit the number of text pages we keep in memory so that searching does not bring your system to its knees 18 years ago
Pino Toscano 3b9ad84427 do not crash when a non-active generator asks for the 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 e023effb15 Add a requestPixmaps() overload that takes options as flags. 18 years ago
Pino Toscano 283852c563 instead of assert()'ing, just acts like a Document and delete the pixmap request 18 years ago
Jakob Petsovits df780d0096 Icon naming spec compliance (code changes - KDE/): 18 years ago
Pino Toscano 66376cf31f make swap() private 19 years ago
Pino Toscano 5b01430bb0 remove internal aboutdata+componentdata of the generator, now it's handled by the plugin system 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
Pino Toscano d3f4460d38 add icon for the pdf export format 19 years ago
Pino Toscano 6e37c43c8d don't print the debug stuff between " and " 19 years ago
John Layt 070285e039 Port from KPrinter to QPrinter, remove dependency on KDE4_KDEPRINT_LIBS. 19 years ago
Pino Toscano 4060ef669e Make the document closing a bit more safe wrt internal threading - the closing waits for the background threads, to avoid aving them running with stale stuff. 19 years ago
Pino Toscano 15155d8824 Rename the virtual closeDocument() to doCloseDocument(), and make it protected. 19 years ago
Pino Toscano d51e9fa4d8 remove the private methods of PixmapRequest, and make the Document work with its private class 19 years ago
Pino Toscano 684b146867 SVN_SILENT explicitely initialize the base class 19 years ago
Pino Toscano 4dcadf5544 Add a mutex in the base generator class, so any generator that wants a mutex can use it. 19 years ago
Pino Toscano 78e2377a87 Add a method for generators to know some metadata of the document 19 years ago
Pino Toscano f8ed5302ec - move the Document::requestDone() to the private class, as it's something internal to the generator work 19 years ago
Pino Toscano 006111382b common d_ptr+q_ptr structure for Generator/TextDocumentGenerator, and their private classes 19 years ago
Pino Toscano a8d747745f Cleanup a bit the GuiInterface, and making it work. 19 years ago
Albert Astals Cid 41c25cb208 Back from holiday, let's do some comitting :-) 19 years ago
Thiago Macieira 000dc825e3 Use QDebug instead of kdbgstream 19 years ago
Pino Toscano e5037f45b1 Refator a bit the way Document and the generators use to read the font information from a document. 19 years ago
Pino Toscano 2e024d6d96 generalize a bit more the way for constructing "standard" ExportFormat's 19 years ago
Pino Toscano fc97f3b23b on demand creation of the auxiliary threads 19 years ago
Pino Toscano 9134ad4669 make the Document access to the private class of Generator, so we can get rid of the public setDocument 19 years ago
Pino Toscano 166ba5b87a move the Generator::Private to a GeneratorPrivate, and move the implementations of the provate threads to a cpp 19 years ago
Albert Astals Cid 0d47b62715 krazy include order issues 19 years ago
Pino Toscano df5b2c3329 make ExportFormat implicitely shared, especially because it's mostly a "read-only" class 19 years ago
Pino Toscano 1117200950 constness for document() 19 years ago
Pino Toscano 6ea5badeab don't try to start a text extraction thread if the generator does not extract text 19 years ago
Pino Toscano 1bfc805a3e it does not make much sense to check for a serie of permissions at the same time, so just check one permission at a time 19 years ago
Pino Toscano 2ef46f8d90 simplify a bit the export action creation code 19 years ago
Pino Toscano 1316811082 Cache the export formats, so we can know better if the text/plain formst is supported by the backend (and act accordingly). 19 years ago
Pino Toscano fd7434c95a Add support for custom generator about data (and potentially for custom configuration). 19 years ago
Tobias Koenig 0847edc4b7 Add a second parameter to requestTextPage/generateTextPage where you can 19 years ago
Pino Toscano ef55f74682 lazy creation of the generation threads within Generator, so generators that don't make use of the builtin thread don't create a pair of unused threads 19 years ago
Pino Toscano 92ea1bba69 Last step of the ThreadedGenerator -> Generator merge: remove the old files and rename the used file. 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 d94f0e507e Add support for threaded extraction of text pages, now we just have to 19 years ago
Tobias Koenig d227a94e79 First part of the porting to a threaded api for generators 19 years ago