Pino Toscano
b9a2413619
remove the evil hack of the separator by using a custom role for the page number
...
svn path=/trunk/playground/graphics/okular/; revision=616706
2006-12-26 14:35:27 +00:00
Pino Toscano
b7328d7234
add an handy DocumentViewport::isValid() and use it where possible instead of doing checks manually
...
svn path=/trunk/playground/graphics/okular/; revision=616667
2006-12-26 12:26:49 +00:00
Pino Toscano
349dfb7eb1
move the delegate used to draw the side page numbers in an own file
...
svn path=/trunk/playground/graphics/okular/; revision=616662
2006-12-26 12:01:30 +00:00
André Wöbbeking
77f96ebfe2
added missing OKULAR_EXPORT
...
svn path=/trunk/playground/graphics/okular/; revision=616457
2006-12-25 15:10:39 +00:00
Pino Toscano
dff36b98f8
simplify RegularAreaRect by avoiding the usage of pointers, as they don't give benefits anyway.
...
Fixing also the text extraction when using the rectangular selection across two or more pages.
svn path=/trunk/playground/graphics/okular/; revision=616264
2006-12-24 18:19:18 +00:00
Pino Toscano
6db5e75a00
this should be better
...
svn path=/trunk/playground/graphics/okular/; revision=616243
2006-12-24 14:40:49 +00:00
Pino Toscano
25cec88b81
Add a way to change the font of text annotations.
...
At the moment, used only in in-place text annotations.
svn path=/trunk/playground/graphics/okular/; revision=616121
2006-12-23 18:37:04 +00:00
Pino Toscano
41cba45a4b
clarify a debug statement, and silence others
...
svn path=/trunk/playground/graphics/okular/; revision=616100
2006-12-23 16:36:08 +00:00
Pino Toscano
52266d71b6
apidox fixes
...
svn path=/trunk/playground/graphics/okular/; revision=616096
2006-12-23 16:31:56 +00:00
Pino Toscano
7d275a6390
Improved the text selection by using and ad-hoc function that takes care of adding or merging a new shape to the area, so the simply() at the end is no more needed.
...
This gives another speedup when using the text selection.
(And, rename okularDeleter to okularPtrUtils.)
svn path=/trunk/playground/graphics/okular/; revision=616089
2006-12-23 16:18:54 +00:00
Pino Toscano
0fa0609e1f
properly delete the regular areas of a RegularArea<> when it stores pointers to areas. no more memory leaks for RegularArea<>, yay!
...
svn path=/trunk/playground/graphics/okular/; revision=616069
2006-12-23 15:39:26 +00:00
Pino Toscano
8d8ae89b1d
valgrind is right, don't use invalid iterators
...
svn path=/trunk/playground/graphics/okular/; revision=616050
2006-12-23 14:57:22 +00:00
Pino Toscano
ab508c75a9
hopefully draw the toc item correcty, this time
...
svn path=/trunk/playground/graphics/okular/; revision=615872
2006-12-23 00:34:40 +00:00
Pino Toscano
e5ea578a9f
our usability expert Florian agrees that the toc page numbers should be enabled by default
...
svn path=/trunk/playground/graphics/okular/; revision=615822
2006-12-22 21:16:30 +00:00
Pino Toscano
fd6166e74c
update correctly when the option for toggling the page numbers in the toc is changed
...
svn path=/trunk/playground/graphics/okular/; revision=615815
2006-12-22 20:42:36 +00:00
Pino Toscano
24c960bab0
simplify, and add an option
...
svn path=/trunk/playground/graphics/okular/; revision=615812
2006-12-22 20:26:19 +00:00
Pino Toscano
a2d688b664
#122863 was done
...
svn path=/trunk/playground/graphics/okular/; revision=615811
2006-12-22 20:14:38 +00:00
Pino Toscano
3c0069f811
Display - if available - the page number on the right of every item in the table of contents.
...
Implements the KPDF wish #122863 .
svn path=/trunk/playground/graphics/okular/; revision=615801
2006-12-22 19:26:28 +00:00
Pino Toscano
30362c45fc
no more need to export is, as now it is in the kpart library only
...
svn path=/trunk/playground/graphics/okular/; revision=615761
2006-12-22 15:08:37 +00:00
Pino Toscano
b663cb313c
isolate the debug options in an own tab, so it's easier to show/hide them
...
svn path=/trunk/playground/graphics/okular/; revision=615758
2006-12-22 15:04:01 +00:00
Pino Toscano
9320c82cd7
it seems it needs to be exported...
...
svn path=/trunk/playground/graphics/okular/; revision=615726
2006-12-22 12:57:02 +00:00
Pino Toscano
536ebab639
SmallIconSet -> KIcon
...
DesktopIconSet -> KIcon
fix the #include's accordingly, where possible
svn path=/trunk/playground/graphics/okular/; revision=615251
2006-12-20 20:37:50 +00:00
Laurent Montel
06b79cdf27
Compile++
...
svn path=/trunk/playground/graphics/okular/; revision=614897
2006-12-19 12:23:43 +00:00
David Faure
2fcc54be2b
pedantic
...
svn path=/trunk/playground/graphics/okular/; revision=614615
2006-12-18 13:32:45 +00:00
Tobias Koenig
f83cb1c60a
Finished API cleanup of Annotation by moving all private members
...
behind d-pointers
svn path=/trunk/playground/graphics/okular/; revision=614549
2006-12-18 07:28:02 +00:00
Pino Toscano
7895f693ae
missing Encoding
...
svn path=/trunk/playground/graphics/okular/; revision=613878
2006-12-15 14:39:40 +00:00
Laurent Montel
81a9d32fe8
Compile++
...
svn path=/trunk/playground/graphics/okular/; revision=612690
2006-12-12 10:15:18 +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
Laurent Montel
79b01fa27d
Fix i18n api
...
svn path=/trunk/playground/graphics/okular/; revision=611278
2006-12-07 14:01:19 +00:00
Pino Toscano
9343b5e54c
temporarily disable the 'find next' shortcut from kactioncollection
...
svn path=/trunk/playground/graphics/okular/; revision=611143
2006-12-06 21:59:37 +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
Pino Toscano
5f7df5ba1a
adapt to the recent kdelibs (plus a FIXME for a regression)
...
svn path=/trunk/playground/graphics/okular/; revision=610857
2006-12-05 20:29:20 +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
Laurent Montel
5cc19d3fdc
Compile++
...
svn path=/trunk/playground/graphics/okular/; revision=610745
2006-12-05 10:48:27 +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
Tobias Koenig
0166264223
Add patch written by Leandro Emanuel Lopez which adds master-page-support
...
svn path=/trunk/playground/graphics/okular/; revision=610404
2006-12-04 07:54:09 +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
Tobias Koenig
d276fc4aa1
Add support for annotations
...
@Pino: Can you write a big, green 'Yes' on the website, please? :)
svn path=/trunk/playground/graphics/okular/; revision=609168
2006-11-29 16:43:55 +00:00
Tobias Koenig
327334c194
Show newlines in annotation popup correctly
...
svn path=/trunk/playground/graphics/okular/; revision=609166
2006-11-29 16:41:12 +00:00
Laurent Montel
66d806a6df
Fix export
...
svn path=/trunk/playground/graphics/okular/; revision=608784
2006-11-28 12:40:11 +00:00
Albert Astals Cid
1987645027
fordwardport r608521
...
Using a singleshot timer to start the auto page change is bad because if the user changes the page manually you get more than one timer active at once and then next pages change in what seems a random time.
svn path=/trunk/playground/graphics/okular/; revision=608531
2006-11-27 20:17:11 +00:00
Albert Astals Cid
a0f5833201
somehow the signal connection got lost when going to Qt4
...
svn path=/trunk/playground/graphics/okular/; revision=608529
2006-11-27 20:03:08 +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
d45d7b31b1
Performance improvement: parse content dom only once
...
svn path=/trunk/playground/graphics/okular/; revision=608234
2006-11-27 08:10:24 +00:00
Tobias Koenig
c7aba89080
Bugfix: Show content of AnnotWindow in popup
...
svn path=/trunk/playground/graphics/okular/; revision=608233
2006-11-27 08:09:27 +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