Commit graph

3397 commits

Author SHA1 Message Date
Pino Toscano 5d5eb0f2ad don't leak the menu
svn path=/trunk/playground/graphics/okular/; revision=645966
2007-03-24 01:13:47 +00:00
Pino Toscano a67410f74f move the private class of Page in an own private header
svn path=/trunk/playground/graphics/okular/; revision=645963
2007-03-24 00:18:54 +00:00
Pino Toscano 363023331d add a 'find next' button in the search bar of presentation mode
svn path=/trunk/playground/graphics/okular/; revision=645960
2007-03-23 23:28:39 +00:00
Pino Toscano 38c0e26674 keep the right position when we resize
svn path=/trunk/playground/graphics/okular/; revision=645759
2007-03-23 15:02:22 +00:00
David Faure 0c1b5314e9 Use standard mimetype names from shared-mime-info
svn path=/trunk/playground/graphics/okular/; revision=644959
2007-03-21 11:39:20 +00:00
Pino Toscano a7abb688a3 - convert to the xdg mimetypes
- remove the self-installed mimetypes, as they are in freedesktop.org or in our db

svn path=/trunk/playground/graphics/okular/; revision=644840
2007-03-21 01:16:06 +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 6452da8291 PageSizeLabel misses its moc
svn path=/trunk/playground/graphics/okular/; revision=643859
2007-03-18 16:22:09 +00:00
Urs Wolfer 6a7101b632 take use of antialiased painter
svn path=/trunk/playground/graphics/okular/; revision=643728
2007-03-18 10:21:21 +00:00
Pino Toscano 8704da3d13 react to highlights and draw them
svn path=/trunk/playground/graphics/okular/; revision=643612
2007-03-17 23:28:05 +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 af1fd0c1f3 new icon name
svn path=/trunk/playground/graphics/okular/; revision=643535
2007-03-17 18:12:23 +00:00
Pino Toscano d6dd0aa28c support for configuring the viewport moving; fix small issue with minimum search text length
svn path=/trunk/playground/graphics/okular/; revision=643530
2007-03-17 18:02:23 +00:00
Pino Toscano 05b00c2200 support (not so much tested) for the Next search type
svn path=/trunk/playground/graphics/okular/; revision=643515
2007-03-17 17:28:16 +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 c363cad735 this should hopefully fix the build
svn path=/trunk/playground/graphics/okular/; revision=643486
2007-03-17 15:53:51 +00:00
Pino Toscano 9581cc9594 the toolbar is not moveable
svn path=/trunk/playground/graphics/okular/; revision=643472
2007-03-17 14:58:19 +00:00
Pino Toscano f18845576b add the permission to fill forms
svn path=/trunk/playground/graphics/okular/; revision=643462
2007-03-17 14:14:55 +00:00
Pino Toscano 1117200950 constness for document()
svn path=/trunk/playground/graphics/okular/; revision=643431
2007-03-17 12:11:41 +00:00
Pino Toscano 4da2254d24 move the private stuff of PageViewToolBar into the already existing private class
svn path=/trunk/playground/graphics/okular/; revision=643300
2007-03-16 20:36:48 +00:00
Pino Toscano 426e21ba6f just read the annotation tools _once_
svn path=/trunk/playground/graphics/okular/; revision=643295
2007-03-16 20:19:22 +00:00
Pino Toscano 55f8590f48 make it compile with Qt4.3 (snapshot)
svn path=/trunk/playground/graphics/okular/; revision=643279
2007-03-16 19:18:47 +00:00
Tobias Koenig ef13da1225 Fixed the loading of documents where not all pages are referenced
via links. That's a bug which also exists in the original explode.c
demo app from plkr.org.

svn path=/trunk/playground/graphics/okular/; revision=643276
2007-03-16 19:11:13 +00:00
Tobias Koenig bc309799d7 Worked around some bugs in QTextCursor/Document, bug reports already sent to TT
svn path=/trunk/playground/graphics/okular/; revision=643230
2007-03-16 16:49:41 +00:00
Pino Toscano e321010e63 the plucker generators requires, libjpeg, so compile it only if libjpeg is found
use the right cmake variables instead of hardcoding the library name

svn path=/trunk/playground/graphics/okular/; revision=642611
2007-03-14 21:00:15 +00:00
Laurent Montel 427f632da1 Fix display message
svn path=/trunk/playground/graphics/cmake/modules/; revision=642498
2007-03-14 15:12:10 +00:00
Albert Astals Cid 6c75fd3203 No idea why it was a void * if it always was used as int.
This change makes it compile on amd64.

Tobias is the support complete? I tried a document from gutenberg website at it seems i don't get all content.
CCMAIL: tokoe@kde.org

svn path=/trunk/playground/graphics/okular/; revision=642294
2007-03-13 21:37:19 +00:00
Pino Toscano 61ace600ec extra ';'
svn path=/trunk/playground/graphics/okular/; revision=642284
2007-03-13 20:53:01 +00:00
David Faure 2bfc410d5b Fix compilation. The mimetype handling should be rewritten though; maybe with some code in KParts itself...
Next problem (on amd64):
/d/kde/src/4/playground/graphics/okular/generators/plucker/unpluck/unpluck.cpp:901: error: cast from ‘void*’ to ‘int’ loses precision

svn path=/trunk/playground/graphics/okular/; revision=642273
2007-03-13 20:01:56 +00:00
Dirk Mueller 92628902bd pedantic--
svn path=/trunk/playground/graphics/okular/; revision=642236
2007-03-13 18:35:38 +00:00
Tobias Koenig bbab731ce0 Add plugin for the Plucker format (http://www.plkr.org/) which is used for
many eBooks. You can find sample files under http://www.gutenberg.org/

svn path=/trunk/playground/graphics/okular/; revision=641974
2007-03-13 00:00:58 +00:00
Pino Toscano 88006a575b extract the messages of each generator into an own pot: this way it's easier to translate a single backend (or provide the translation for a custom one), but as drawback some strings are repeated in more than one pot
svn path=/trunk/playground/graphics/okular/; revision=641620
2007-03-12 00:26:41 +00:00
Pino Toscano 49c2a80585 keep the name of the current generator, and make it possible to load the custom translation of the backend
svn path=/trunk/playground/graphics/okular/; revision=641598
2007-03-11 22:35:14 +00:00
Pino Toscano 6ea5badeab don't try to start a text extraction thread if the generator does not extract text
svn path=/trunk/playground/graphics/okular/; revision=641458
2007-03-11 12:05:48 +00:00
Brad Hards 3716cc9eb3 Minor cleanups - make debugging more informative, a spello
fix, and put a line break between pages in text dumps.

svn path=/trunk/playground/graphics/okular/; revision=641360
2007-03-11 01:14:33 +00:00
Pino Toscano 1bfc805a3e it does not make much sense to check for a serie of permissions at the same time, so just check one permission at a time
svn path=/trunk/playground/graphics/okular/; revision=641341
2007-03-10 23:59:11 +00:00
Pino Toscano 9a10418505 move the about data in an own file, so it can be used from both the shell and the part
svn path=/trunk/playground/graphics/okular/; revision=641337
2007-03-10 23:45:12 +00:00
Pino Toscano f1fd2750e4 save a pointer to save some casts
svn path=/trunk/playground/graphics/okular/; revision=641327
2007-03-10 22:50:40 +00:00
Pino Toscano 3507d4e68f use the new Okular::ExportFormat::plainText()
svn path=/trunk/playground/graphics/okular/; revision=641321
2007-03-10 22:09:23 +00:00
Pino Toscano 2ef46f8d90 simplify a bit the export action creation code
svn path=/trunk/playground/graphics/okular/; revision=641313
2007-03-10 21:32:09 +00:00
Pino Toscano 1316811082 Cache the export formats, so we can know better if the text/plain formst is supported by the backend (and act accordingly).
svn path=/trunk/playground/graphics/okular/; revision=641302
2007-03-10 20:51:50 +00:00
Pino Toscano bc8036dc62 they are constant methods, so let them be 'const'
svn path=/trunk/playground/graphics/okular/; revision=641248
2007-03-10 17:25:14 +00:00
Pino Toscano 6d16cfd1f6 krazy issues
svn path=/trunk/playground/graphics/okular/; revision=641195
2007-03-10 13:51:47 +00:00
Pino Toscano c8f1b532f8 placeholder
svn path=/trunk/playground/graphics/okular/; revision=641192
2007-03-10 13:36:26 +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 1ac4578301 init the debug area number
svn path=/trunk/playground/graphics/okular/; revision=641179
2007-03-10 11:52:12 +00:00
Brad Hards 61aa0d440d Switch the Text Extraction handler over to using
QXmlStreamReader. This still isn't working the way I would like -
looks to be something wrong in either the character selection or the
matrix transformation code.

Also implemented the "export to" text/plain.

svn path=/trunk/playground/graphics/okular/; revision=641156
2007-03-10 10:18:12 +00:00
Brad Hards 3c05813278 More conversion from DOM to QXmlStreamReader. Same functionality,
a little more debugging, and about half as much code.

svn path=/trunk/playground/graphics/okular/; revision=641126
2007-03-10 05:52:56 +00:00
Brad Hards b0039a0e11 Remove unused declaration.
svn path=/trunk/playground/graphics/okular/; revision=641121
2007-03-10 05:39:27 +00:00