Pino Toscano
1b49db09d5
be sure to delete the old pixmap before setting a new one
...
svn path=/trunk/playground/graphics/okular/; revision=621863
19 years ago
Pino Toscano
2538e1fce0
remove old enum (belongs to the external -removed- notification system)
...
svn path=/trunk/playground/graphics/okular/; revision=620790
19 years ago
Pino Toscano
5636ac551f
don't leak memory when loading page actions from poppler, and sound objects
...
svn path=/trunk/playground/graphics/okular/; revision=620533
19 years ago
Pino Toscano
18fab3d130
Improve the way we deal with generators that give the possibility to change the size of the pages: instead of let them destroy and recreate the pages (bad), ask them the sizes they support, then do the work ourselves and notify the generator when the work is done.
...
While I was at it, I changed from "paper size" to "page size", it should be better.
svn path=/trunk/playground/graphics/okular/; revision=620411
19 years ago
Pino Toscano
4b922367e2
Use a proper enum to deal with orientation/rotation all around okular.
...
svn path=/trunk/playground/graphics/okular/; revision=620312
19 years ago
Tobias Koenig
7f9581f455
Add missing Q_DISABLE_COPY
...
svn path=/trunk/playground/graphics/okular/; revision=620303
19 years ago
Tobias Koenig
42614623e8
Rotate the highlights correctly
...
svn path=/trunk/playground/graphics/okular/; revision=620273
19 years ago
Pino Toscano
8fbebeb737
no need to pass a reference to an enum value
...
svn path=/trunk/playground/graphics/okular/; revision=620270
19 years ago
Tobias Koenig
7cff5de9ce
Coding style cleanup
...
svn path=/trunk/playground/graphics/okular/; revision=620258
19 years ago
Pino Toscano
64769a62ce
let the Document forward the BookmarkManager signal
...
svn path=/trunk/playground/graphics/okular/; revision=620158
19 years ago
Pino Toscano
3f8d978f68
allow only the Document to construct a BookmarkManager
...
svn path=/trunk/playground/graphics/okular/; revision=620153
19 years ago
Pino Toscano
81694d6a83
donìt leak in the google-like searches
...
svn path=/trunk/playground/graphics/okular/; revision=619924
19 years ago
Pino Toscano
9f8ea8b546
don't leak when doing AllDocument/FindNext searches
...
svn path=/trunk/playground/graphics/okular/; revision=619897
19 years ago
Tobias Koenig
ac792e5c9c
Fixed krazy issues
...
svn path=/trunk/playground/graphics/okular/; revision=619843
19 years ago
Pino Toscano
4aa85cdb49
One single char remove to create correctly the queue of pixmap requests: new asynchronous requests goes as last one in the group of other with the same priority.
...
Thus, if an observer requests eg pixmap for pages 2 and 3, now they are generated in the correct order the observer specified, and not in the reversed one.
Then, revert part of r619673, as the order is fixed now.
svn path=/trunk/playground/graphics/okular/; revision=619810
19 years ago
Pino Toscano
bd14706edb
leak a bit less memory
...
svn path=/trunk/playground/graphics/okular/; revision=619558
19 years ago
Tobias Koenig
ea51ee18f5
Do a lot of include cleanups... we install all important
...
header files now
svn path=/trunk/playground/graphics/okular/; revision=619492
19 years ago
Pino Toscano
ce3ff8fb78
the url can be any kind, not only browseable http
...
svn path=/trunk/playground/graphics/okular/; revision=619426
19 years ago
Pino Toscano
415b63a8b8
a semicolon more
...
svn path=/trunk/playground/graphics/okular/; revision=619208
19 years ago
Tobias Koenig
86a1fd3b69
Big cleanup of Document API and documentation:
...
* add full API docs
* renamed getMetaData -> metaData
* removed supportsRotation in Document and Generator
* moved Permission and SearchDirection enums into separated header core/global.h
svn path=/trunk/playground/graphics/okular/; revision=619183
19 years ago
Tobias Koenig
77efd7dcb1
Cleaned up the Document API, moved all private members/methods/slots into
...
the d class.
svn path=/trunk/playground/graphics/okular/; revision=619100
19 years ago
Pino Toscano
328958171d
use the right include
...
svn path=/trunk/playground/graphics/okular/; revision=619077
19 years ago
Tobias Koenig
2aa8a4c31b
Moved SourceReference into its own file
...
svn path=/trunk/playground/graphics/okular/; revision=619076
19 years ago
Tobias Koenig
472f4028c2
Add API documentations
...
svn path=/trunk/playground/graphics/okular/; revision=619073
19 years ago
Pino Toscano
915a48eb4d
move the Generator configuration stuff into a new ConfigInterface
...
svn path=/trunk/playground/graphics/okular/; revision=619061
19 years ago
Tobias Koenig
14ea3ab2ef
Further documentation and API cleanups
...
svn path=/trunk/playground/graphics/okular/; revision=619054
19 years ago
Pino Toscano
d9a844d67c
move the GUI stuff out of Generator in an own GuiInterface, and adapt the ghostscript generator to its usage; renamed also some methods to more Qt4-ish names.
...
svn path=/trunk/playground/graphics/okular/; revision=619044
19 years ago
Pino Toscano
1633d45c4a
SVN_SILENT d'oh, typo
...
svn path=/trunk/playground/graphics/okular/; revision=619034
19 years ago
Pino Toscano
475d000763
Improve the way a Generator can configure a printer: add an interface with the advanced printing stuff.
...
The print() method remains in Generator, as it's too basic to be moved in an interface.
svn path=/trunk/playground/graphics/okular/; revision=619033
19 years ago
Pino Toscano
d5f99995dd
add handy debug operators for NormalizedPoint and NormalizedRect
...
svn path=/trunk/playground/graphics/okular/; revision=618237
19 years ago
Pino Toscano
c51c412057
ok, let's sdo it seriously now: use the right precision for the page duration that a PDF can give us
...
svn path=/trunk/playground/graphics/okular/; revision=618194
19 years ago
Pino Toscano
5083655c11
Implement the page duration in presentation mode, and read the info from PDF documents.
...
svn path=/trunk/playground/graphics/okular/; revision=618136
19 years ago
Tobias Koenig
4fe8bdce53
Fixed free text selection for rotated pages
...
svn path=/trunk/playground/graphics/okular/; revision=617621
19 years ago
Pino Toscano
b6fdedc810
spell checking
...
svn path=/trunk/playground/graphics/okular/; revision=617287
19 years ago
Pino Toscano
feeeb50a73
QString -> const QString&
...
svn path=/trunk/playground/graphics/okular/; revision=617286
19 years ago
Pino Toscano
94c9ffa3d7
do not explicitely include document.h in generator.h
...
svn path=/trunk/playground/graphics/okular/; revision=617283
19 years ago
Pino Toscano
017c98a5a9
improve EmbeddedFile apidox
...
svn path=/trunk/playground/graphics/okular/; revision=617282
19 years ago
Pino Toscano
48a772be4b
move the ui-related utils functions for annotations in an own utils class
...
svn path=/trunk/playground/graphics/okular/; revision=617097
19 years ago
Pino Toscano
bbb55280d5
Simplify the auxiliary functions used within RegularArea<>, patch by André Wöbbeking.
...
Make the return value of RegularArea::geometry a simple list instead of a pointer, as suggested by André.
CCMAIL: Woebbeking@kde.org
svn path=/trunk/playground/graphics/okular/; revision=616994
19 years ago
Pino Toscano
c248956942
better use HTML ref instead of ref, otherwise we'll have "encoding" problems
...
svn path=/trunk/playground/graphics/okular/; revision=616993
19 years ago
Pino Toscano
539921bdf6
Improving the bookmark capabilities of okular.
...
Adding a BookmarkManager class that takes care of handling them in a proper way.
Adding a new tab in the sidebar to manage them:
- shows all the bookmarks in all the documents, or just in the current document
- cliking on a bookmark will bring to that bookmark, loading the document if necessary
- editing a bookmark title is possible either using F2 or right click -> Rename
- right click -> Remove to remove a bookmark
The only way to add new bookmark for the moment is the "old" way, ie right click -> Add bookmark, and it's not possible add more than one bookmark per page (but the system does not limit that).
The whole system should not be too difficult to understand, I will check with our usability master Florian next days.
svn path=/trunk/playground/graphics/okular/; revision=616979
19 years ago
André Wöbbeking
6e7d98b829
adapt to Aaron's kdelibs changes
...
svn path=/trunk/playground/graphics/okular/; revision=616901
19 years ago
Pino Toscano
2279ddfaab
fix #include's
...
svn path=/trunk/playground/graphics/okular/; revision=616832
19 years ago
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
19 years ago
André Wöbbeking
77f96ebfe2
added missing OKULAR_EXPORT
...
svn path=/trunk/playground/graphics/okular/; revision=616457
19 years ago
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
19 years ago
Pino Toscano
6db5e75a00
this should be better
...
svn path=/trunk/playground/graphics/okular/; revision=616243
20 years ago
Pino Toscano
52266d71b6
apidox fixes
...
svn path=/trunk/playground/graphics/okular/; revision=616096
20 years ago
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
20 years ago
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
20 years ago