Tobias Koenig
460f972d19
Arrgh, forgot to commit this last time :/
...
svn path=/trunk/playground/graphics/okular/; revision=625249
19 years ago
Pino Toscano
e71a608054
Use the form "<page> - <name>" for the items in the Bookmarks menu.
...
svn path=/trunk/playground/graphics/okular/; revision=625075
19 years ago
Pino Toscano
7d15f12fe0
- don't reset the pixmap memory descriptors when rotating, as the pixmaps are rotated thus the memory is preserved
...
- no need to notify about clearing annotations when changing page size
svn path=/trunk/playground/graphics/okular/; revision=624743
19 years ago
André Wöbbeking
c06cbc334d
-pedantic
...
svn path=/trunk/playground/graphics/okular/; revision=624728
19 years ago
Pino Toscano
4f6666d509
also the page size is a feature, so thread it as such (and remove supportsPageSizes())
...
svn path=/trunk/playground/graphics/okular/; revision=624686
19 years ago
Tobias Koenig
5069b62a80
Make PixmapRequest::swap() public but mark it for internal usage.
...
svn path=/trunk/playground/graphics/okular/; revision=624665
19 years ago
Pino Toscano
e0e8803092
A bit ugly hack to make it compile better.
...
BUG: 140189
Tobias, any better solution than the previous situation?
CCMAIL: tokoe@kde.org
svn path=/trunk/playground/graphics/okular/; revision=624631
19 years ago
Pino Toscano
135a18b407
get rid of supportsSearching() by using a proper feature
...
svn path=/trunk/playground/graphics/okular/; revision=624587
19 years ago
Pino Toscano
468a0da775
bye bye canGenerateTextPage(), unused nowadays
...
svn path=/trunk/playground/graphics/okular/; revision=624579
19 years ago
Tobias Koenig
e1ab8660ef
Add new TextDocumentGenerator class, which is a base class for
...
generators which work on a QTextDocument. So all the nasty calculation
for text extraction and link/annotation positions is done by the
generator.
Ported FictionBook generator to it.
svn path=/trunk/playground/graphics/okular/; revision=623071
19 years ago
Pino Toscano
c1dc76485a
DOX: slightly improve apidox generation
...
SVN_SILENT
svn path=/trunk/playground/graphics/okular/; revision=623061
19 years ago
Pino Toscano
8a7c2ad654
As requested by our usability expert Florian, add a Bookmarks menu with the bookmarks in the current document, if any.
...
svn path=/trunk/playground/graphics/okular/; revision=622995
19 years ago
Pino Toscano
e3992fb642
move the KBookmarkOwner implementation into the d-ptr
...
svn path=/trunk/playground/graphics/okular/; revision=622959
19 years ago
Pino Toscano
5c3b2fc75d
SVN_SILENT useless include
...
svn path=/trunk/playground/graphics/okular/; revision=622950
19 years ago
Pino Toscano
afc18f9d97
Re-add the possibility to toggle a page bookmark quickly (ie with the popup menu).
...
svn path=/trunk/playground/graphics/okular/; revision=622945
19 years ago
Pino Toscano
91b7675c14
configurationWidget() is too generic -> rename to printConfigurationWidget()
...
svn path=/trunk/playground/graphics/okular/; revision=622782
19 years ago
Pino Toscano
24ec1e37c5
Add the ability to read from standard input, eg
...
$ command_that_produce_a_document | okular -
Expand a but the Generator API so a generator can directly read from the raw data read from stdin. Generators that can not read from raw data will open the temporary file with the saved data.
svn path=/trunk/playground/graphics/okular/; revision=622774
19 years ago
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