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