Marco Martin
407921c33e
updates decoration
...
still buggy
14 years ago
Marco Martin
2c87caaed3
book look for the table of contents
14 years ago
Marco Martin
540ed9c95b
table of contents clickable
14 years ago
Marco Martin
ad0c9e2552
port to MobileComponents.OverlayDrawer
14 years ago
Marco Martin
a5a9acf2d6
add a tabbar to use the tableofcontents
14 years ago
Marco Martin
9c000ce8b1
add a model for the table of contents
...
todo: license issues
14 years ago
Marco Martin
d11d5d8106
Merge branch 'master' into mart/okularActive
14 years ago
Marco Martin
518a3546c4
hide old delegate when pinching
14 years ago
Aaron Seigo
a1ec69a146
only paint the exposed area
14 years ago
Marco Martin
bc4b83aa8b
Merge branch 'mart/okularActive' of git://anongit.kde.org/okular into mart/okularActive
14 years ago
Marco Martin
bde533a3bf
mousewheel support for zoom
14 years ago
Aaron Seigo
2119bb4e02
try to limit pixmap requests
14 years ago
Marco Martin
200db59aa8
better page switch logic
14 years ago
Marco Martin
adbbe18902
use a state machine
14 years ago
Marco Martin
3f1b86a5b1
fix close on thumbnail click
14 years ago
Marco Martin
d3ba449a60
don't toggle when clicking anywhere
...
only on the handle
14 years ago
Aaron Seigo
e40c9242f9
set the index to the current page when reseting the search
14 years ago
Aaron Seigo
82e073dc69
use the modeldata, not the index in the grid, to switch pages
...
BUG:300280
14 years ago
Aaron Seigo
4c17d117b0
Revert "only repaint on things the app cares about"; turns out pagepainter does care about all changes
...
This reverts commit ac5c4364b7 .
14 years ago
Aaron Seigo
ac5c4364b7
only repaint on things the app cares about
14 years ago
Aaron Seigo
c6ad83e189
m_pixmap is no longer necessary either
14 years ago
Aaron Seigo
8a9d9a54a8
and yet more repaints go bye-bye
14 years ago
Aaron Seigo
b59578a149
and now i get actual content on the screen
14 years ago
Aaron Seigo
5c5b9deec8
if the painter is already AA'd, don't save/restore painter state
14 years ago
Aaron Seigo
a92af5b5a4
reset the page pointer when the document changes
14 years ago
Aaron Seigo
5409914bfe
fix build
14 years ago
Aaron Seigo
2552bf6976
simplify by not having a subclass just to call a method
14 years ago
Aaron Seigo
60d38e7970
get rid of half second delay
14 years ago
Marco Martin
b266e809b4
use screen coordinates
...
no hardcoded extra margins
14 years ago
Marco Martin
053ffd787a
ican drag the panel from anywhere
14 years ago
Marco Martin
e3af4f3e36
scroll indicators
14 years ago
Marco Martin
f5e00fdbbd
returnToBounds at onPinchFinished
14 years ago
Marco Martin
eed0736eb1
better decision on when turn the page
14 years ago
Fabio D'Urso
6f629e3237
CMakeLists: Install saveinterface.h
14 years ago
Marco Martin
abca7780ad
try to cache the rendered page to see if zooming speed improves
14 years ago
Fabio D'Urso
b3782d82a1
Fallback behavior for documents whose generator provides native annotation editing support without saveAs support
...
The only affected generator is poppler. Note that:
Document has /Encrypt <=iff=> SaveInterface supportsOption(SaveChanges) is false
This patch enforces the following behavior (and warns the user the first time
he edits an annotation).
- If the document has /Encrypt, warn that "Save as" is not available, but it's
possible to export as okular archive. New annotations will be automatically
saved to XML as usual.
Note that the previous patch already made all existing annotations uneditable,
because there's no way to save them.
- If the document has no /Encrypt and there are existing external annotations,
warn that changes won't be saved automatically. The user needs to "Save as" or
changes will be lost.
- If the document has no /Encrypt and there aren't existing external
annotations, don't show any warning. New annotations will be automatically saved
to XML as usual and to file if "Save as" is pressed.
14 years ago
Fabio D'Urso
b33d71ef81
Enable edit/removal of external annotations if the generator supports it
14 years ago
Fabio D'Urso
d916c1e6cd
poppler gen: Added mutex protection to PopplerAnnotationProxy
14 years ago
Fabio D'Urso
cb1968383f
poppler gen: don't lie ;) We can't save changes if the document has /Encrypt
14 years ago
Fabio D'Urso
1fdc4cbc72
Only draw the bounding box of (ExternallyDrawn & BeingMoved) annotations
14 years ago
Fabio D'Urso
29db8bafbc
Render ExternallyDrawn annotations in PagePainter if they are BeingMoved
14 years ago
Fabio D'Urso
157638f2f9
Added Annotation::BeingMoved flag to avoid refreshing pixmaps while moving annotations
14 years ago
Fabio D'Urso
80c26f5bb9
poppler gen: Put new annotation features between #ifdef HAVE_POPPLER_0_20
14 years ago
Fabio D'Urso
65d59f2a3e
poppler gen: AnnotationProxy implementation
14 years ago
Fabio D'Urso
d06c17d451
poppler gen: Moved PDFDebug constant into PDFGenerator class
14 years ago
Fabio D'Urso
a76e328dd6
poppler gen: Added checkbox to print/hide annotations in PDFOptionsPage
14 years ago
Fabio D'Urso
6c296b916b
Use UUIDs intead of a (broken) counter to generate annotations' unique names
...
The previous counter-based approach didn't take into account existing names used
by external annotations and names used in other pages.
Instead of creating a document-global table of used names, I used random UUIDs
as a source of unique names.
14 years ago
Fabio D'Urso
68127e00ea
Do not store flag Annotation::ExternallyDrawn when exporting to DOM
...
It's an implementation detail
14 years ago
Fabio D'Urso
249bea5985
Re-add restored annotations via Document so that AnnotationProxy gets notified
...
Previously, restored annotations followed a shorter path that bypassed AnnotationProxy
14 years ago
Fabio D'Urso
f6fa2a5614
Disable GUI operations on certain types of annotations
...
Modification and removal of *external* annotations are disabled by this
patch. Note that this change doesn't remove any functionality, because they
have never been implemented (AnnotationProxy is defined by the previous
patch).
The #if0'd blocks will be enabled by a future patch that provides fallback
behavior for generators that don't support saving changes.
14 years ago