Commit graph

22 commits

Author SHA1 Message Date
Albert Astals Cid 4072eb0c3a Add override 2017-03-02 20:38:50 +01:00
Frederik Gladhorn 6c602bf0e7 Use categorized logging even more 2014-09-16 23:38:25 +02:00
Frederik Gladhorn 83d3f1f6b7 Revert "Some more kDebug->qDebug"
Seems like kDebug doesn't spam the user, so this needs to use qCDebug.

This reverts commit 34fbdf8c85.
2014-09-11 02:03:46 +02:00
Frederik Gladhorn 34fbdf8c85 Some more kDebug->qDebug 2014-09-09 18:17:36 +02:00
Albert Astals Cid 86dd9e8801 Move the ooo wallet code to use the part.cpp one
Less widgets in generators/core \o/
2014-05-10 15:54:03 +02:00
Fabio D'Urso 3dd3a000db Don't crash if Configure Backends is opened again after it's been closed 2013-06-07 00:26:05 +02:00
Azat Khuzhin 1fdb0a0a06 Font selector for TextDocumentGenerator
REVIEW: 109021
2013-05-18 16:03:33 +02:00
Albert Astals Cid 30e4830094 Do not crash if start or end layout don't exist
BUGS: 308003
FIXED-IN: 4.9.3
2012-10-14 18:57:37 +02:00
Laurent Montel d9fa1358fa Pedantic
svn path=/trunk/KDE/kdegraphics/okular/; revision=908742
2009-01-10 11:48:04 +00:00
Pino Toscano 0761b20be2 turn the internal class Utils (with just static members) into a TextDocumentUtils namespace
svn path=/trunk/KDE/kdegraphics/okular/; revision=908736
2009-01-10 11:29:11 +00:00
Pino Toscano 697d51e1a2 Make the rendering for TextDocument-based generators threaded, only if Qt (via QFontDatabase) tells us we can.
... but, as it's proving to be buggy (text disappearing from menus) and crashing (out-of-range font engine list), it's disabled for now, define OKULAR_TEXTDOCUMENT_THREADED_RENDERING to try it.

svn path=/trunk/KDE/kdegraphics/okular/; revision=804719
2008-05-06 20:20:10 +00:00
Pino Toscano c44ce52719 add a private reimplementation of metaData() so the text document generator can show the title of a document
svn path=/trunk/KDE/kdegraphics/okular/; revision=785821
2008-03-15 02:15:16 +00:00
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).
svn path=/trunk/KDE/kdegraphics/okular/; revision=775125
2008-02-14 23:19:24 +00:00
Pino Toscano c6b7cfab8c Add a addMetaData(DocumentInfo::Key, QString) signal to the TextDocumentConverter.
This way, standard info keys can be used without adding manually the key id and the translated label.

svn path=/trunk/KDE/kdegraphics/okular/; revision=772350
2008-02-08 14:13:55 +00:00
Pino Toscano a194acf2bc Foo/FooPrivate for TextDocumentConverter
svn path=/trunk/KDE/kdegraphics/okular/; revision=746277
2007-12-08 14:45:32 +00:00
Pino Toscano 006111382b common d_ptr+q_ptr structure for Generator/TextDocumentGenerator, and their private classes
svn path=/trunk/KDE/kdegraphics/okular/; revision=712465
2007-09-14 13:31:55 +00:00
Tobias Koenig bbbbd8eda9 Fixed the 'select one line twice' bug.
It's always helpfull to talk to a koffice developer, thanks to Thomas :)

svn path=/trunk/KDE/kdegraphics/okular/; revision=663744
2007-05-12 08:17:02 +00:00
Pino Toscano 06411f9805 Add links and annotations when loading the pages, not during the pixmap generations.
Tobias: is the calculation of the annotations bounding rect correct?
CCMAIL: tokoe@kde.org

svn path=/trunk/KDE/kdegraphics/okular/; revision=660831
2007-05-03 21:45:14 +00:00
Pino Toscano 0e12746a92 Link -> Action renaming.
TextDocumentConverter::addLink -> addAction
Document::processLink -> processAction

svn path=/trunk/KDE/kdegraphics/okular/; revision=656145
2007-04-20 12:49:17 +00:00
Pino Toscano 5f21b15d99 Link -> Action renaming.
Step #2: Link -> Action for the action hierarchy, and for the ObjectRect type.

svn path=/trunk/KDE/kdegraphics/okular/; revision=656140
2007-04-20 12:37:12 +00:00
Albert Astals Cid 0d47b62715 krazy include order issues
svn path=/trunk/KDE/kdegraphics/okular/; revision=655893
2007-04-19 18:30:20 +00:00
Tobias Koenig e1ab8660ef Add new TextDocumentGenerator class, which is a base class for
generators which work on a QTextDocument. So all the nasty calculation
for text extraction and link/annotation positions is done by the
generator.

Ported FictionBook generator to it.


svn path=/trunk/playground/graphics/okular/; revision=623071
2007-01-13 23:15:28 +00:00