Pino Toscano
7895f693ae
missing Encoding
...
svn path=/trunk/playground/graphics/okular/; revision=613878
2006-12-15 14:39:40 +00:00
Tobias Koenig
6f9d0df5cd
Further annotation API cleanup
...
svn path=/trunk/playground/graphics/okular/; revision=612395
2006-12-11 07:59:02 +00:00
Pino Toscano
babbeea1e0
SVN_SILENT
...
apidox fix
svn path=/trunk/playground/graphics/okular/; revision=610862
2006-12-05 21:07:51 +00:00
Tobias Koenig
a9f58440df
First large commit for the Annotation API cleanup
...
* Moved all public member variables of Annotation to private
and add accessors
* Renamed RevScope and RevType to RevisionScope and RevisionType
* Add API documentation (@pino, please review)
svn path=/trunk/playground/graphics/okular/; revision=610749
2006-12-05 11:05:50 +00:00
Tobias Koenig
60ef83b026
Moved dummy implementation of DocumentObserver in observer.cpp,
...
so we are free to change behaviour later.
API & documentation cleanup
@pinto Can you check the comments please, whether they are correct?
svn path=/trunk/playground/graphics/okular/; revision=610731
2006-12-05 08:53:26 +00:00
Tobias Koenig
9e0ccabb58
API cleanup
...
svn path=/trunk/playground/graphics/okular/; revision=610420
2006-12-04 09:31:53 +00:00
Albert Astals Cid
579644c631
forwardport r609253 and while at it fix broke pixmaprequest call
...
**** r609253 ****
Preload next and previous page if threading is enabled and not on low memory setting
svn path=/trunk/playground/graphics/okular/; revision=609258
2006-11-29 22:00:13 +00:00
Pino Toscano
5e50a35683
less includes in the headers
...
svn path=/trunk/playground/graphics/okular/; revision=608502
2006-11-27 18:31:20 +00:00
Tobias Koenig
57139e3192
API cleanup (utils.h), renamed getDpiX -> dpiX() and getDpiY -> dpiY()
...
svn path=/trunk/playground/graphics/okular/; revision=608236
2006-11-27 08:13:47 +00:00
Tobias Koenig
9969547b0c
* observer API cleanup
...
* removed NotifyRequest, that looked more like a hack than a solution
(see comment in ghostscript generator)
svn path=/trunk/playground/graphics/okular/; revision=608235
2006-11-27 08:12:39 +00:00
Tobias Koenig
d2f9f04494
API cleanup
...
svn path=/trunk/playground/graphics/okular/; revision=608232
2006-11-27 08:08:39 +00:00
Tobias Koenig
fc13c09b3e
Added documentation and some code cleanup
...
svn path=/trunk/playground/graphics/okular/; revision=608231
2006-11-27 08:05:56 +00:00
Tobias Koenig
25f836351f
API cleanup
...
svn path=/trunk/playground/graphics/okular/; revision=608230
2006-11-27 08:04:41 +00:00
Tobias Koenig
1cea7cb777
Fix the bug that ink annotations are not visible on startup.
...
svn path=/trunk/playground/graphics/okular/; revision=608228
2006-11-27 08:01:27 +00:00
Pino Toscano
4c17c58fc2
better remove the search points (with the iterators) first
...
svn path=/trunk/playground/graphics/okular/; revision=608074
2006-11-26 16:46:20 +00:00
Pino Toscano
97f9f895ed
There is nothing to find text into if the text page has no text.
...
BUG: 137860
svn path=/trunk/playground/graphics/okular/; revision=607827
2006-11-25 21:39:52 +00:00
Albert Astals Cid
4a46c9a140
contains is evil as makes you search twice
...
svn path=/trunk/playground/graphics/okular/; revision=607507
2006-11-24 21:42:56 +00:00
Pino Toscano
5ce4b0674e
Make okular able to copy the text selection to the clipboard (finally!).
...
svn path=/trunk/playground/graphics/okular/; revision=607496
2006-11-24 21:02:38 +00:00
Tobias Koenig
0302929b04
Add support of transformation (rotation) of TextPages
...
svn path=/trunk/playground/graphics/okular/; revision=607271
2006-11-23 22:14:04 +00:00
Tobias Koenig
486ca7bd03
SVN_SILENT make it utf-8 clean
...
svn path=/trunk/playground/graphics/okular/; revision=607257
2006-11-23 21:27:43 +00:00
Tobias Koenig
81fb3a383b
Further cleanup of Page API:
...
* getAnnotations() -> annotations()
* setBookmark()/hasBookmark() -> setBookmarked()/isBookmarked()
* moved as much private API of Page as possible to private class
svn path=/trunk/playground/graphics/okular/; revision=607233
2006-11-23 19:25:52 +00:00
Tobias Koenig
471c71d256
Cleaned up the API of TextEntity and TextPage, ready for release ;)
...
svn path=/trunk/playground/graphics/okular/; revision=607211
2006-11-23 17:56:03 +00:00
Tobias Koenig
4848631daf
Renamed all the Page::getXyz() methods to Page::xyz() to be konsistent
...
with the rest of KDE and ... we are no Java developers ;)
svn path=/trunk/playground/graphics/okular/; revision=607204
2006-11-23 17:11:04 +00:00
Tobias Koenig
14d6515b16
Changed the enum SearchDir to SearchDirection and use less strange
...
abbreviations for its items.
Replaced the 'bool strictCase' parameter of Page::findText
with 'Qt::CaseSensitivity caseSensitivity' for better readable code.
svn path=/trunk/playground/graphics/okular/; revision=607203
2006-11-23 16:54:28 +00:00
Tobias Koenig
a844f01f0e
SVN_SILENT warning--
...
svn path=/trunk/playground/graphics/okular/; revision=607196
2006-11-23 16:12:07 +00:00
Tobias Koenig
a7b04cb92b
Replaced
...
Page::setSearchPage( TextPage* );
Page::hasSearchPage();
with
Page::setTextPage( TextPage* );
Page::hasTextPage();
to make the API clearer. The TextPage is not only used for
searching but also for extracting selected text, so the term
'search' is confusing...
svn path=/trunk/playground/graphics/okular/; revision=607195
2006-11-23 16:09:26 +00:00
Pino Toscano
2f1aa08ac6
move the annotation boundary calculation to AnnotationUtils
...
svn path=/trunk/playground/graphics/okular/; revision=606811
2006-11-21 21:35:45 +00:00
Pino Toscano
f950e3e172
const iterators can be used here, too
...
svn path=/trunk/playground/graphics/okular/; revision=606596
2006-11-21 00:31:44 +00:00
Albert Astals Cid
b10d00e4ae
virtual filesystems always return true for at end, so the memory was not beign correctly calculated
...
svn path=/trunk/playground/graphics/okular/; revision=606586
2006-11-20 22:52:28 +00:00
Albert Astals Cid
7dacbf93fd
use the constant accessors so that we don't get dettach on the containers we don't want to get
...
svn path=/trunk/playground/graphics/okular/; revision=606560
2006-11-20 20:28:02 +00:00
Albert Astals Cid
ac1c0b75bc
const_iterator is your friend :-)
...
svn path=/trunk/playground/graphics/okular/; revision=606558
2006-11-20 20:10:42 +00:00
Tobias Koenig
a490cc0cd7
Add the following functionality:
...
* Bring QPixmap* back to make Albert happy ;)
* Store only one QPixmap per page/size and rotate it directly
* Rotate ObjectRects (boundary)
* Rotate Annotations (point coordinates)
* Don't reload pixmaps, ObjectRects and annotations on rotation
svn path=/trunk/playground/graphics/okular/; revision=606371
2006-11-20 07:53:32 +00:00
Albert Astals Cid
9099fbecf7
Some krazy fixes
...
svn path=/trunk/playground/graphics/okular/; revision=605992
2006-11-18 21:36:56 +00:00
Pino Toscano
abb20bfe6c
black can be a valid color, so don't discard it when saving
...
svn path=/trunk/playground/graphics/okular/; revision=605980
2006-11-18 20:30:40 +00:00
Pino Toscano
bd1880e42d
less use of pointers; more const's
...
svn path=/trunk/playground/graphics/okular/; revision=605960
2006-11-18 18:33:47 +00:00
Pino Toscano
c57405db8c
slightly improve the performances of RegularArea::simplify()
...
svn path=/trunk/playground/graphics/okular/; revision=605935
2006-11-18 17:07:15 +00:00
Pino Toscano
2cbf32906d
check that the target file exists
...
svn path=/trunk/playground/graphics/okular/; revision=605906
2006-11-18 15:16:16 +00:00
Pino Toscano
7c2aac01d5
#include not needed
...
svn path=/trunk/playground/graphics/okular/; revision=605786
2006-11-18 11:25:16 +00:00
Pino Toscano
274469dae8
Almost complete support for inverse search within okular.
...
THe system generally works; what is missing is a good activating strategy (added in TODO - our usability expert is working on that), and a GUI to configure the editor.
The DVI backend was adapted to use this new feature.
(The PDF backend will use it soon.)
svn path=/trunk/playground/graphics/okular/; revision=605708
2006-11-17 22:15:15 +00:00
Tobias Koenig
1479a6d28c
Small speed up patch, caches the value of getFreeMemory for 2 seconds,
...
that reduces the access of /proc/meminfo.
svn path=/trunk/playground/graphics/okular/; revision=605189
2006-11-15 19:39:39 +00:00
Tobias Koenig
a6fc833662
SVN_SILENT Code cleanup
...
svn path=/trunk/playground/graphics/okular/; revision=605153
2006-11-15 15:48:49 +00:00
Tobias Koenig
a70a0dea7f
Removed debugging code...
...
Tip of the Day:
You can use the following code to do time measurement the Qt way...
QTime time;
time.start();
// do the time consuming action
qDebug( "%d ms elapsed", time.elapsed() );
svn path=/trunk/playground/graphics/okular/; revision=605151
2006-11-15 15:44:21 +00:00
Pino Toscano
2d99ab2588
no need to create it on the heap
...
svn path=/trunk/playground/graphics/okular/; revision=603974
2006-11-11 00:08:35 +00:00
Pino Toscano
56e1266ae5
move initializers to the d-ptr ctor
...
svn path=/trunk/playground/graphics/okular/; revision=603972
2006-11-10 23:52:02 +00:00
Pino Toscano
30de0a7dcb
generator -> backend in the gui
...
svn path=/trunk/playground/graphics/okular/; revision=603933
2006-11-10 20:48:28 +00:00
Tobias Koenig
bea71df6e0
* Made image rotation asynchronous
...
* Changed Page API and PagePainter to work only with QImage
svn path=/trunk/playground/graphics/okular/; revision=601581
2006-11-03 17:57:32 +00:00
Pino Toscano
1285f20c21
be able to remove more than one annotation at once (and notify the observers only one)
...
svn path=/trunk/playground/graphics/okular/; revision=600979
2006-11-01 15:17:22 +00:00
Pino Toscano
e9ec5399ff
stop crashing when removing an annotation under particular circumstances
...
svn path=/trunk/playground/graphics/okular/; revision=600958
2006-11-01 13:57:33 +00:00
Pino Toscano
2bd05e79d5
a generator can not block the gui events of the main page view, otherwise bad things will happen - it's also not really logic to allow such a thing, better think about something else if a generator wants to interact with the gui somehow
...
svn path=/trunk/playground/graphics/okular/; revision=600225
2006-10-29 22:33:24 +00:00
Pino Toscano
cdf6d44742
forward declaration & apidox fixing
...
svn path=/trunk/playground/graphics/okular/; revision=600104
2006-10-29 15:21:03 +00:00