Commit graph

126 commits

Author SHA1 Message Date
Script Kiddy 270b737e0d SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdegraphics/okular/; revision=751972
2007-12-23 08:32:07 +00:00
Pino Toscano 080acb4344 one constness more, one ugly cast less
svn path=/trunk/KDE/kdegraphics/okular/; revision=747392
2007-12-11 21:41:19 +00:00
Script Kiddy e3d71f162d SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdegraphics/okular/; revision=747149
2007-12-11 07:45:22 +00:00
Pino Toscano 870980da75 correctly set the External flag for annotations loaded from documents
svn path=/trunk/KDE/kdegraphics/okular/; revision=746264
2007-12-08 13:45:06 +00:00
Script Kiddy 8d7e8be0c7 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdegraphics/okular/; revision=745899
2007-12-07 08:14:18 +00:00
Pino Toscano 2354aebd55 remove the 'lib' prefix from the okularpart
make konqueror able to load again okular as embedded :/

svn path=/trunk/KDE/kdegraphics/okular/; revision=745740
2007-12-06 23:12:27 +00:00
Pino Toscano 6aa123656a Port the plugin system to the standard KDE factory and loader, getting rid of the custom system okular had so far.
This requires a generator to have a
  MyGenerator(QObject *parent, const QVariantList &args)
constructor in order to be successfully loaded.
The OKULAR_EXPORT_PLUGIN macro was adapted, and the generators to provide it the about data; the protected Generator::setAboutData() is no more needed.

Remove the 'lib' prefix from plugins, unneeded now.

CCMAIL: okular-devel@kde.org

svn path=/trunk/KDE/kdegraphics/okular/; revision=744169
2007-12-02 20:57:24 +00:00
Script Kiddy 4b1e246e87 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdegraphics/okular/; revision=743874
2007-12-02 08:05:31 +00:00
John Layt 1b1ed9451b Enable Okular printing features:
* Add FilePrinter class to enable printing via postscript files
* DJVU, PDF, and PS backends print FilePrinter
* All backends enable printing of bookmarked pages
* Print and Print Preview actions enabled/disabled depending on backends
  printing ability

Note that FilePrinter only works on *NIX platforms with Cups, lpr, or lp.



svn path=/trunk/KDE/kdegraphics/okular/; revision=741990
2007-11-26 21:43:54 +00:00
Allen Winter 1e34663484 remove deprecated Encoding
DocPath => X-DocPath
ServiceTypes => X-KDE-ServiceTypes
Keywords => X-KDE-Keywords

svn path=/trunk/KDE/kdegraphics/okular/; revision=737282
2007-11-15 22:38:18 +00:00
Script Kiddy d9e6745bc7 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdegraphics/okular/; revision=735260
2007-11-11 08:03:34 +00:00
Laurent Montel 8702899c83 Fix separator
svn path=/trunk/KDE/kdegraphics/okular/; revision=731764
2007-11-01 20:10:05 +00:00
Script Kiddy 4973559541 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdegraphics/okular/; revision=729164
2007-10-25 07:10:56 +00:00
Pino Toscano 3237f94761 use 'graphics-viewer-document' as icon in our .desktop files
svn path=/trunk/KDE/kdegraphics/okular/; revision=728493
2007-10-23 13:12:33 +00:00
John Layt 070285e039 Port from KPrinter to QPrinter, remove dependency on KDE4_KDEPRINT_LIBS.
*** Note this is not a complete port, most of the generators use the 
printFiles method which Qt 4.3 does not support, these have simply
been commented out until we find a solution.  At least it removes
the dependency so we can remove from kdelibs.

svn path=/trunk/KDE/kdegraphics/okular/; revision=725660
2007-10-15 23:01:27 +00:00
Script Kiddy d5fcbc09a8 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdegraphics/okular/; revision=724043
2007-10-11 08:09:20 +00:00
Pino Toscano 15155d8824 Rename the virtual closeDocument() to doCloseDocument(), and make it protected.
Added a non-virtual closeDocument() in the base Generator class: this way, particular closing routines can be implemented in the "low level" of a generator.
Apart the renaming, the logic of doCloseDocument() remains the same.

CCMAIL: okular-devel@kde.org

svn path=/trunk/KDE/kdegraphics/okular/; revision=723046
2007-10-08 16:46:51 +00:00
Script Kiddy d5dc96cb3b SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdegraphics/okular/; revision=720951
2007-10-04 05:56:53 +00:00
Script Kiddy 44dd16d127 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdegraphics/okular/; revision=717659
2007-09-27 09:33:48 +00:00
Pino Toscano 9ec65271fa SVN_SILENT old stuff
svn path=/trunk/KDE/kdegraphics/okular/; revision=716091
2007-09-23 23:39:34 +00:00
Pino Toscano 4edda7b967 provide the title of the document, if it has any
svn path=/trunk/KDE/kdegraphics/okular/; revision=716089
2007-09-23 23:27:50 +00:00
Pino Toscano 50b73a93b1 Remove the (not working) homemade async loading, and make use of the Generator API for async loading.
svn path=/trunk/KDE/kdegraphics/okular/; revision=716074
2007-09-23 22:13:16 +00:00
Pino Toscano 823edf52b1 make KDjVu no more a QObject, and remove the traces of "async" loading (never really implemented)
svn path=/trunk/KDE/kdegraphics/okular/; revision=716072
2007-09-23 21:59:30 +00:00
Script Kiddy 63b6301d12 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdegraphics/okular/; revision=714636
2007-09-20 05:45:54 +00:00
Script Kiddy 4c9b70db9d SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdegraphics/okular/; revision=711908
2007-09-13 05:55:31 +00:00
Pino Toscano 0b76db026f don't tell kdeprint to remove the file, KTemporaryFile does that for us
svn path=/trunk/KDE/kdegraphics/okular/; revision=709588
2007-09-07 21:27:50 +00:00
Pino Toscano ee925f2e58 add a postscript export overload that takes a QFile*, so we can properly use KTemporaryFile with printing
svn path=/trunk/KDE/kdegraphics/okular/; revision=709582
2007-09-07 21:06:57 +00:00
Pino Toscano ef3769ea5b DocPath -> X-DocPath for .desktop of type Application
svn path=/trunk/KDE/kdegraphics/okular/; revision=709100
2007-09-06 15:07:23 +00:00
Pino Toscano 48b2cad049 fixed wrong example in the apidox, and all the code that was done by copy&paste from it, basically...
svn path=/trunk/KDE/kdegraphics/okular/; revision=705935
2007-08-28 23:27:37 +00:00
Script Kiddy a550d8c0d4 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdegraphics/okular/; revision=705612
2007-08-28 07:29:37 +00:00
Script Kiddy a688f5b331 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdegraphics/okular/; revision=702203
2007-08-20 07:38:48 +00:00
Pino Toscano dea213be87 use the proper zero-method with DDJVUAPI_VERSION >= 18
svn path=/trunk/KDE/kdegraphics/okular/; revision=695779
2007-08-02 23:05:45 +00:00
Pino Toscano a9f0d2eb46 Try to extract the text entities (thus the text) from a DjVu document.
At the moment the granularuty of the extracted text is "word", as "char" is quite difficult to find in documents.
Kind of works, let's hope it will like all the documents around.

svn path=/trunk/KDE/kdegraphics/okular/; revision=695740
2007-08-02 20:40:02 +00:00
Script Kiddy b998bc9491 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdegraphics/okular/; revision=695423
2007-08-02 04:55:35 +00:00
Pino Toscano 5150419e81 adapt the debug stuff to the new kdebug way:
- make the output looking more or less like before (using nospace() or removing the spaces)
- remove endl and '\n' at the end of debug outputs
- fixing the QDebug operator<<'s around
- isolate the debug area number of the core into a separate header, and apply it instead of the numbers found in textpage.cpp

svn path=/trunk/KDE/kdegraphics/okular/; revision=694667
2007-07-31 10:19:48 +00:00
Laurent Montel 2e59ada023 change XDG_APPS_DIR -> XDG_APPS_INSTALL_DIR, XDG_DIRECTORY_DIR->XDG_DIRECTORY_INSTALL_DIR, DBUS_INTERFACES_DIR->DBUS_INTERFACES_INSTALL_ DIR, DBUS_SERVICES_DIR->DBUS_SERVICES_INSTALL_DIR to have same naming convention as discussed with Alex.
svn path=/trunk/KDE/kdegraphics/okular/; revision=691222
2007-07-23 07:05:28 +00:00
Script Kiddy 0fc32d6b18 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdegraphics/okular/; revision=689368
2007-07-18 05:47:51 +00:00
Pino Toscano 8114ea7200 fix or add the include guards
svn path=/trunk/KDE/kdegraphics/okular/; revision=688231
2007-07-15 13:53:26 +00:00
Pino Toscano 27e738f238 Start adding backend information to each generator.
Added them for DjVu, TIFF and XPS as a start.
Feel free to add them in the other generators, or to add your name if missing :)

CCMAIL: okular-devel@kde.org

svn path=/trunk/KDE/kdegraphics/okular/; revision=687842
2007-07-14 14:00:19 +00:00
Script Kiddy c1a3a10aa0 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdegraphics/okular/; revision=686774
2007-07-12 05:01:50 +00:00
Script Kiddy 94e66ff910 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdegraphics/okular/; revision=686331
2007-07-11 04:57:14 +00:00
Allen Winter 5110d1d3f2 remove kde4_automoc()
svn path=/trunk/KDE/kdegraphics/okular/; revision=686063
2007-07-10 14:11:49 +00:00
Script Kiddy ac29f76f55 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdegraphics/okular/; revision=684724
2007-07-07 04:51:50 +00:00
Script Kiddy 9fb2221299 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdegraphics/okular/; revision=679853
2007-06-25 05:24:26 +00:00
Stephan Binner 2eccd176e2 make .desktop files valid
svn path=/trunk/KDE/kdegraphics/okular/; revision=678982
2007-06-22 17:51:04 +00:00
Script Kiddy 7c8a8bce4f SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdegraphics/okular/; revision=678711
2007-06-22 05:13:04 +00:00
Script Kiddy 3211dbbaf5 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdegraphics/okular/; revision=678319
2007-06-21 05:01:46 +00:00
Script Kiddy 9984a73c33 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdegraphics/okular/; revision=667190
2007-05-22 05:16:03 +00:00
Tobias Koenig 06e831a3c9 Add a new method DocumentInfo::set( enum, QString ) to get more
consistency in the documentation info.

svn path=/trunk/KDE/kdegraphics/okular/; revision=664233
2007-05-13 12:54:46 +00:00
Script Kiddy 1d727e66f6 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdegraphics/okular/; revision=662419
2007-05-08 05:06:32 +00:00