Commit graph

105 commits

Author SHA1 Message Date
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
Pino Toscano 175cc2bce6 use the same about data for both the part and the shell, so:
- the part uses the same app share for its specific stuff
- no manual need to load another catalog ("okular") in the part

svn path=/trunk/KDE/kdegraphics/okular/; revision=720296
2007-10-02 22:42:59 +00:00
Pino Toscano 7eb8659d4f Add a tool button in the toolbar with the "select" actions.
Preparing a bit for separating rectangular text selection and rectangular image selection.

svn path=/trunk/KDE/kdegraphics/okular/; revision=712381
2007-09-14 10:02:33 +00:00
Tobias Koenig 9642e7ae5e Add proxy models for the AnnotationModel and port SideReviews
to it

svn path=/trunk/KDE/kdegraphics/okular/; revision=710330
2007-09-09 16:51:55 +00:00
Pino Toscano a917f080e6 Create a model for the TOC, and use that for displaying the TOC of the document.
svn path=/trunk/KDE/kdegraphics/okular/; revision=710317
2007-09-09 16:15:33 +00:00
Pino Toscano f770c6b542 Add a port of the kdelibs classes KTreeWidgetSearchLine* that use QTreeView/QModelIndex instead of TreeWidget/QTreeWidgetItem.
This way, we can really filter a tree view and avoid the limitations of QSortFilterProxyModel.

svn path=/trunk/KDE/kdegraphics/okular/; revision=710310
2007-09-09 15:50:00 +00:00
Pino Toscano 239434362e Basic version of a tree model for the document annotations.
It provides the items this way:

root
+ page 1
| + annotations for page 1
+ page 2
| + annotations for page 2
.. and so on
It does not return subtrees for pages without annotations.

svn path=/trunk/KDE/kdegraphics/okular/; revision=709946
2007-09-08 17:10:35 +00:00
Pino Toscano 05dc08d028 include the blitz include dir as well
svn path=/trunk/KDE/kdegraphics/okular/; revision=709618
2007-09-07 22:57:17 +00:00
Albert Astals Cid 8d0b9b2832 KImageEffect::flatten -> Blitz::flatten
svn path=/trunk/KDE/kdegraphics/okular/; revision=709615
2007-09-07 22:52:11 +00:00
Albert Astals Cid 3f80eceaae Now (Qt 4.3.1) that QPainter::CompositionMode_Multiply works remove agg2 based code
Actually i think it's even a bit faster now

svn path=/trunk/KDE/kdegraphics/okular/; revision=708877
2007-09-05 22:01:04 +00:00
Pino Toscano 17ad0df66c New sidebar for okular.
The old sidebar had many problems and limitations, usability issues as well.
This new sidebar tries to simplify and solve many of these issues (like the navigability with the keyboard), with a better looking.
Of course, some glitches are still there, but easily solvable.

svn path=/trunk/KDE/kdegraphics/okular/; revision=697060
2007-08-06 17:24:10 +00:00
Pino Toscano ca481df309 SVN_SILENT old stuff
svn path=/trunk/KDE/kdegraphics/okular/; revision=690056
2007-07-19 23:34:47 +00:00
Pino Toscano 301ab93196 Riactivate the very very very, and I underline very, experimental newstuff support we had before the KNS1 -> KNS2 switch:
- install a newstuff rc config, pointing to the NS1 stuff on okular.kde.org
- show the download dialog for newstuff, properly (hopefully) initialized
- proper linking for the okularpart

svn path=/trunk/KDE/kdegraphics/okular/; revision=690047
2007-07-19 22:27:45 +00:00
Laurent Montel 889031ab1d Remove not necessary cmake variable
svn path=/trunk/KDE/kdegraphics/okular/; revision=686601
2007-07-11 19:14:25 +00:00
Laurent Montel f2ce8de556 Remove not necessary cmake variable (already defined
into lib dependancy)

svn path=/trunk/KDE/kdegraphics/okular/; revision=686187
2007-07-10 20:01:16 +00:00
Allen Winter 5110d1d3f2 remove kde4_automoc()
svn path=/trunk/KDE/kdegraphics/okular/; revision=686063
2007-07-10 14:11:49 +00:00
Pino Toscano 3a6e25e46a fontinfo.h needs to be installed as well
svn path=/trunk/KDE/kdegraphics/okular/; revision=685327
2007-07-08 16:21:53 +00:00
Pino Toscano e5037f45b1 Refator a bit the way Document and the generators use to read the font information from a document.
Instead of having a synchronous function that extracts all the information at once, use a function to read the fonts of a single page.
This way, we can get all the result step by step (aka page by page), and possibly in an asynchronous way.
The resuls of the font "scanning" are sent via signals, as well the end of the work.
So, instead of block waiting for the results of all the document at once, the Fonts tab in the properties dialog can have a progress bar with the progress, and the results (the fonts) that are added incrementally to the list.

Only two minor things are left:
- the process is always asynchronous at the moment, as the only generator that can provide this kind of information is the Poppler one (safe)
- there is no check for duplicate fonts
But they should be easy to solve.

svn path=/trunk/KDE/kdegraphics/okular/; revision=685002
2007-07-07 20:35:01 +00:00
Albert Astals Cid 2437917e47 Do not start numberOfPagesWithPixmaps threads because that brings the system down, just start what threadweaver thinks its best
Probably still have to tell the weaver how to optimize for memory consumption but it's an improvement anyways

svn path=/trunk/KDE/kdegraphics/okular/; revision=683383
2007-07-04 16:55:33 +00:00
Pino Toscano 0e9b82be96 get rid of the Xrender-related stuff
svn path=/trunk/KDE/kdegraphics/okular/; revision=666266
2007-05-19 10:51:16 +00:00
Stephan Binner d4940f5a56 fix compilation
svn path=/trunk/KDE/kdegraphics/okular/; revision=659939
2007-05-01 05:28:28 +00:00
Pino Toscano 9bca223282 global.h must be installed as well
svn path=/trunk/KDE/kdegraphics/okular/; revision=656760
2007-04-22 10:23:59 +00:00
Pino Toscano 166ba5b87a move the Generator::Private to a GeneratorPrivate, and move the implementations of the provate threads to a cpp
svn path=/trunk/KDE/kdegraphics/okular/; revision=656221
2007-04-20 17:17:44 +00:00
Laurent Montel 60054621c8 Add version (not install all develop package when
we install it on distro)

svn path=/trunk/KDE/kdegraphics/okular/; revision=656213
2007-04-20 16:12:05 +00:00
Pino Toscano f3e484082d Link -> Action renaming.
Step #1: link.(cpp|h) -> action.(cpp|h)

svn path=/trunk/KDE/kdegraphics/okular/; revision=656123
2007-04-20 11:26:05 +00:00
Pino Toscano 8f443fc5fd disable the old newstuff system, waiting for the porting to the new one
svn path=/trunk/playground/graphics/okular/; revision=649662
2007-04-02 23:36:00 +00:00
Pino Toscano 08ac5c5a06 simplify
svn path=/trunk/playground/graphics/okular/; revision=648027
2007-03-30 09:30:50 +00:00
David Faure 06d18ea3cc Make it possible to compile all of playground in one go (but also still to compile it like before, of course).
-> CMAKE_SOURCE_DIR replaced with CMAKE_CURRENT_SOURCE_DIR.
Remove module-wide config.h files, unused yet, but better remove the temptation.

svn path=/trunk/playground/graphics/okular/; revision=647336
2007-03-28 00:22:51 +00:00
Pino Toscano 36b894c75a Create a (private) PageController that handles the rotation jobs from all the pages.
This removes the needs for Page to be a QObject (it's the PageController that connects to the jobs and emits the right signals), so it again a "cheap" object.

svn path=/trunk/playground/graphics/okular/; revision=646010
2007-03-24 10:47:22 +00:00
Pino Toscano 6293345c95 okular_export.h and form.h must be installed as well
svn path=/trunk/playground/graphics/okular/; revision=643914
2007-03-18 19:25:04 +00:00
Christian Ehrlicher c5c2da7c89 fix win32 compilation
warnings--

svn path=/trunk/playground/graphics/okular/; revision=643874
2007-03-18 17:14:36 +00:00
Pino Toscano f55c401b20 Refactor the document search interfaces, as discussed on the mailing list.
Merge the search in normal mode and the type-ahead in a search bar that appears on the bottom of the page view. This should work nicely.
In presentation mode, add a small floating search toolbar that takes care of searching during the presentation mode, on document request. This is not working yet, but basically most of the work is done.

Please test and report any problems you find.

CCMAIL: okular-devel@kde.org

svn path=/trunk/playground/graphics/okular/; revision=643607
2007-03-17 22:58:41 +00:00
Pino Toscano 0ac881f1f3 isolate the search search bar in an own class (child of KLineEdit), so it can be used with no copy-paste job
svn path=/trunk/playground/graphics/okular/; revision=643508
2007-03-17 16:58:01 +00:00
Pino Toscano 24c56ef3d9 move most of the okular cmake configure stuff within the okular source tree
svn path=/trunk/playground/graphics/okular/; revision=641188
2007-03-10 13:15:49 +00:00
Pino Toscano db8a10dc2c Preliminary supports for text and choice form fields.
This includes:
- the interfaces for the generators
- the basic widgets for editing their value
- a top bar for show/hide the forms of a document
- the implementation of the forms for the PDF backend
still nothing that can be done with them, nor the value of the forms can be saved...
... but it's a start! :-)

svn path=/trunk/playground/graphics/okular/; revision=637001
2007-02-25 00:07:59 +00:00
Pino Toscano 1e7cb0b2eb First version of an audio player for okular, able to play the sounds in the documents.
At the moment is quite simple and works only for external sounds.
Activate the sound playing when processing links and when switching pages in presentation mode only.

svn path=/trunk/playground/graphics/okular/; revision=630315
2007-02-05 00:49:40 +00:00
Pino Toscano 92ea1bba69 Last step of the ThreadedGenerator -> Generator merge: remove the old files and rename the used file.
svn path=/trunk/playground/graphics/okular/; revision=628856
2007-01-31 18:41:21 +00:00
Pino Toscano d3619da584 get rid of two CMakeLists.txt's used to only install one files each - install the stuff from the top-level CMakeLists.txt
svn path=/trunk/playground/graphics/okular/; revision=627106
2007-01-25 18:06:53 +00:00