Commit graph

142 commits

Author SHA1 Message Date
Marco Martin fd84427cc4 add a declarative plugin
two components:
Document, represents an Okular::Document
Page: represents an Okular::Page, once connected to a Document can display a single page
2012-05-14 20:37:22 +02:00
Albert Astals Cid 81c5c540df Update versions for KDE 4.8
(cherry picked from commit 51a77e6a51)
2012-01-18 18:04:31 +01:00
Dario Freddi bc182d3a00 Make Okular inhibit sleep and screen power management when in Presentation mode
REVIEW:103713
(cherry picked from commit 1a31dffca9)
2012-01-18 01:14:57 +01:00
Michel Ludwig d29099b39c Only activate a subset of the available features when the part is launched in viewer mode.
In viewer mode the part will now use a different XML GUI file (part-viewermode.rc).
Also, some actions won't be created, e.g. those used for exporting stuff, for
launching presentation mode, or for selecting parts of the document. The captions
of the configuration dialogs also contain the word 'viewer' then.
2011-10-12 20:36:01 +01:00
Michel Ludwig 1a5f2be05c Merge branch 'master' into viewerinterface 2011-10-12 20:16:46 +01:00
Niels Ole Salscheider 33b9ff1a36 Add LatexRenderer class 2011-09-22 19:09:26 +02:00
Michel Ludwig 0e29008150 Initial commit of the 'ViewerInterface' and of a first implementation. 2011-09-10 18:15:52 +01:00
David Faure 2c9794071a Port away from deprecated API + from deprecated lib 2011-08-10 01:48:01 +02:00
Pino Toscano e2e8ea721f bump okularcore library version to 1.7.0 2011-07-19 23:50:12 +02:00
Montel Laurent 71cc9b131c Fix compile with "-DQT_USE_FAST_CONCATENATION -DQT_USE_FAST_OPERATOR_PLUS" 2011-06-05 13:19:15 +02:00
Pino Toscano 8951699475 cmake: remove the include dir hack, and put the source dir as first 2011-06-01 10:51:41 +02:00
Pino Toscano a87fb880c7 cmake: improve build system to make okular compile standalone 2011-05-29 11:31:22 +02:00
Pino Toscano e468048d54 bump okularcore library version to 1.6.0
svn path=/trunk/KDE/kdegraphics/okular/; revision=1212166
2011-01-05 23:36:40 +00:00
Albert Astals Cid 64063fe996 Alex says FindOkular.cmake is not the way to go and that we need to install an OkularConfig.cmake
That get_filename_component thing seems quite fragile and hacky to me but he is the expert :-)

CCMAIL: neundorf@kde.org

svn path=/trunk/KDE/kdegraphics/cmake/modules/; revision=1179984
2010-09-26 17:31:31 +00:00
Pino Toscano a934ccf236 bump okularcore library version to 1.5.0
svn path=/trunk/KDE/kdegraphics/okular/; revision=1156083
2010-07-28 14:48:10 +00:00
Pino Toscano e273cfe15f port SearchLineWidget to KPixmapSequence* and remove own AnimatedWidget
svn path=/trunk/KDE/kdegraphics/okular/; revision=1105224
2010-03-19 15:24:07 +00:00
Pino Toscano f5585e12d8 bump okularcore library version to 1.4.0
svn path=/trunk/KDE/kdegraphics/okular/; revision=1082010
2010-01-29 14:38:21 +00:00
Pino Toscano 52ce4cc095 disable the (already unused) knewstuff2 stuff from compilation and installation
svn path=/trunk/KDE/kdegraphics/okular/; revision=1066279
2009-12-26 16:23:36 +00:00
Pino Toscano 27f6d2dd65 add the tests to the build
svn path=/trunk/KDE/kdegraphics/okular/; revision=1066277
2009-12-26 16:17:51 +00:00
Pino Toscano b56b3c9160 bump okularcore library version to 1.3.0
svn path=/trunk/KDE/kdegraphics/okular/; revision=989173
2009-06-29 16:47:50 +00:00
Pino Toscano e5b2b22d20 add a small widget for showing an animation from the "animations" category of the icon theme
similar to what KAnimatedButton does, but much simplier

svn path=/trunk/KDE/kdegraphics/okular/; revision=926295
2009-02-15 00:21:19 +00:00
Laurent Montel 975de758ba Now it compiles with enable-final
svn path=/trunk/KDE/kdegraphics/okular/; revision=908743
2009-01-10 11:53:35 +00:00
Laurent Montel 316ff85e8f They don't compile with enable-final
svn path=/trunk/KDE/kdegraphics/okular/; revision=908183
2009-01-09 12:27:14 +00:00
Pino Toscano d2cde67548 bump minor number in okularcore library version
svn path=/trunk/KDE/kdegraphics/okular/; revision=907919
2009-01-08 22:00:19 +00:00
Laurent Montel a831fd4628 Use QIMAGEBLITZ cmake module
svn path=/trunk/KDE/kdegraphics/okular/; revision=888269
2008-11-24 08:27:33 +00:00
Pino Toscano 4da5b7a105 Add a configuration page for the text editor used for source references links (that is, the ones used also for inverse search).
Factor out the editor commands structure.

svn path=/trunk/KDE/kdegraphics/okular/; revision=873570
2008-10-19 18:01:16 +00:00
Pino Toscano 6639ca47ec the okularpart uses phonon too now, so link to it
svn path=/trunk/KDE/kdegraphics/okular/; revision=851966
2008-08-25 02:29:36 +00:00
Pino Toscano 3ede96ef1b add a video widget class that encapsulates a Phonon video player and includes all the logic for repeated playbacks, media controls, etc
at the moment, it provides just playback and repeat mode

svn path=/trunk/KDE/kdegraphics/okular/; revision=851956
2008-08-25 01:26:47 +00:00
Pino Toscano b95403b0b2 Add a preliminary and simple version of Movie object and MovieAnnotation.
CCBUG: 136574

svn path=/trunk/KDE/kdegraphics/okular/; revision=851145
2008-08-23 00:07:59 +00:00
Laurent Montel 64c0aa80e3 Tag as devel component
svn path=/trunk/KDE/kdegraphics/okular/; revision=825027
2008-06-27 07:04:23 +00:00
Dirk Mueller 087b268168 revert r813354, workaround for a source incompatibility problem
svn path=/trunk/KDE/kdegraphics/okular/; revision=813678
2008-05-28 13:15:23 +00:00
Pino Toscano 9a9553bb83 find and link to phonon
svn path=/trunk/KDE/kdegraphics/okular/; revision=813354
2008-05-27 13:42:34 +00:00
Pino Toscano 0b847d2926 start implementing properties and methods of the global JS 'app' object
svn path=/trunk/KDE/kdegraphics/okular/; revision=809367
2008-05-18 19:33:46 +00:00
Pino Toscano 19585b87f6 Start implementing the JavaScript scripting API for PDF documents,
thanks to Harri and Maksim and the brand-new public KJS API.

This starts the implementation of some of the API objects needed,
like App, Console, Data, Document, Field, FullScreen, Spell, Util.
Also, workaround the fact that we cannot change the read-only status for form fields.

svn path=/trunk/KDE/kdegraphics/okular/; revision=809259
2008-05-18 16:37:07 +00:00
Pino Toscano 5851ddf6a8 Start a View class for managing the "views" of a document.
Provide ways to register & unregister the view from a Document, and to get/set the view capabilities.

svn path=/trunk/KDE/kdegraphics/okular/; revision=801657
2008-04-27 11:05:59 +00:00
Pino Toscano 513c7cf225 Add a scripter class to execute scripts on request.
Trigger its execution at the document loading, if there are "top level" scripts,
and when a script action is activated.

svn path=/trunk/KDE/kdegraphics/okular/; revision=796637
2008-04-13 22:31:59 +00:00
Pino Toscano cf1b9ea728 split the KParts extensions in an own file
svn path=/trunk/KDE/kdegraphics/okular/; revision=792473
2008-04-01 09:10:46 +00:00
Christian Ehrlicher 18e02c1c1c fix dbus location
svn path=/trunk/KDE/kdegraphics/okular/; revision=786204
2008-03-16 11:04:47 +00:00
Laurent Montel e8eb8df0f1 Not necessary
svn path=/trunk/KDE/kdegraphics/okular/; revision=784450
2008-03-11 12:06:03 +00:00
Pino Toscano a4da9a27dc Switch to use the generated interface from org.kde.KSpeech.xml, instead of manually call the functions.
Keep the TTS interface around (for multiple usage), and delete it when the KTTSD service goes away.

svn path=/trunk/KDE/kdegraphics/okular/; revision=782482
2008-03-05 10:18:55 +00:00
Pino Toscano f407f84d8a move in an own class (out of the page view) all the TTS related code
svn path=/trunk/KDE/kdegraphics/okular/; revision=782420
2008-03-05 02:13:09 +00:00
Patrick Spendrin 8de31796b1 install okularcore and kolourpaint_lgpl to the now correct places.
svn path=/trunk/KDE/kdegraphics/okular/; revision=779538
2008-02-26 12:56:08 +00:00
Pino Toscano 7aceeecb4d bump libokularcore library version to 1.1.0
svn path=/trunk/KDE/kdegraphics/okular/; revision=773562
2008-02-11 11:07:14 +00:00
Pino Toscano df3094a252 Add an installed header with the okular version as number and string (ala kdeversion.h);
use the version string in the about data.

svn path=/trunk/KDE/kdegraphics/okular/; revision=767247
2008-01-27 16:31:02 +00:00
Pino Toscano ca5b6e6203 don't install observer.h, it's not needed for backends
svn path=/trunk/KDE/kdegraphics/okular/; revision=754904
2007-12-30 22:48:40 +00:00
Pino Toscano 288fce0b82 AnnotationGuiUtils -> GuiUtils
svn path=/trunk/KDE/kdegraphics/okular/; revision=752259
2007-12-24 00:54:21 +00:00
Pino Toscano bd294e1de6 move the FilePrinterPreview to the kpart (no need for it to be in the core library)
svn path=/trunk/KDE/kdegraphics/okular/; revision=744225
2007-12-03 00:17:12 +00:00
Pino Toscano 2cd01094a7 remove the 'lib' prefix from the okularpart
svn path=/trunk/KDE/kdegraphics/okular/; revision=744170
2007-12-02 21:02:57 +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
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