53 Commits (cb8d37821cd20f998a6712b067dcabcf3f892c2b)

Author SHA1 Message Date
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
Pino Toscano 4f6666d509 also the page size is a feature, so thread it as such (and remove supportsPageSizes()) 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
Pino Toscano 24ec1e37c5 Add the ability to read from standard input, eg 19 years ago
Pino Toscano 18fab3d130 Improve the way we deal with generators that give the possibility to change the size of the pages: instead of let them destroy and recreate the pages (bad), ask them the sizes they support, then do the work ourselves and notify the generator when the work is done. 19 years ago
Pino Toscano 4b922367e2 Use a proper enum to deal with orientation/rotation all around okular. 19 years ago
Tobias Koenig 86a1fd3b69 Big cleanup of Document API and documentation: 19 years ago
Tobias Koenig 2aa8a4c31b Moved SourceReference into its own file 19 years ago
Pino Toscano 915a48eb4d move the Generator configuration stuff into a new ConfigInterface 19 years ago
Pino Toscano d9a844d67c move the GUI stuff out of Generator in an own GuiInterface, and adapt the ghostscript generator to its usage; renamed also some methods to more Qt4-ish names. 19 years ago
Pino Toscano 475d000763 Improve the way a Generator can configure a printer: add an interface with the advanced printing stuff. 19 years ago
Pino Toscano 94c9ffa3d7 do not explicitely include document.h in generator.h 19 years ago
Tobias Koenig a490cc0cd7 Add the following functionality: 20 years ago
Pino Toscano 274469dae8 Almost complete support for inverse search within okular. 20 years ago
Pino Toscano 2bd05e79d5 a generator can not block the gui events of the main page view, otherwise bad things will happen - it's also not really logic to allow such a thing, better think about something else if a generator wants to interact with the gui somehow 20 years ago
Pino Toscano 8def2109ec change the metaData() function of the Generator to use QVariant as type for the returned value and for the 'option' parameter, this gives more flexibility 20 years ago
Tobias Koenig a375953402 Adapt ghostview, kimgio, pdf, dvi, chm, xps and ooo generators to setImage() 20 years ago
Tobias Koenig d22b2f1892 A rather big change: 20 years ago
Pino Toscano a62cd3aa2f The internal search is a pretty bad concept, as the Document provides it for free 20 years ago
Pino Toscano 6983c298a7 a working debug stream operator for the PixmapRequest 20 years ago
Pino Toscano 18028a8a2c API change in the Generator: use an empty construct, and set the document for the generator right after its construction. 20 years ago
Tobias Koenig fccd412d69 * Added documentation to Generator API 20 years ago
Tobias Koenig df7d144c10 Moved all classes in core/ into the 'Okular' namespace and removed 20 years ago
Pino Toscano 92e4c31899 these files were created by Piotr Szymanski 20 years ago
Pino Toscano 25eb77c1de some fixes according to EBN: 20 years ago
Pino Toscano 60eab90248 small API changes to Generator: 20 years ago