Jon Mease
4296ac7e5d
Rotate annotation to match page when setting annotation's properties
...
BUG:318828
REVIEW:110229
13 years ago
Albert Astals Cid
d0fd156dc9
Minor tweaks
13 years ago
Jon Mease
78faf1e68f
Add undo/redo support for annotations
...
REVIEW: 107442
13 years ago
Tobias Koenig
f713dd0fdf
Extended Okular::ScreenAnnotation to take a trigger action
...
REVIEW: 106604
14 years ago
Tobias Koenig
770e2818bb
Evaluate additional actions of screen and widget annotations
...
This fixes the auto-start feature of PDFs generated with the LaTeX movie
package, which uses the additional action of a widget annotation to start
the movie when entering the page.
BUG: 300051
REVIEW: 106430
FIXED-IN: 4.10
14 years ago
Jan Binder
aa6ed8afc0
Replace deprecated QMatrix by QTransform
...
REVIEW: 105737
14 years ago
Albert Astals Cid
a716b3e4e0
kill all the deprecated functions now that we've change ABI anyway
14 years ago
Fabio D'Urso
d2fa4c9bf3
TextAnnotation stamp fix
...
- Make "Comment" the default stamp instead of "Note" (because we used to omit
the "icon" in the exported DOM if it was "Comment")
- Don't omit the icon name anymore
14 years ago
Fabio D'Urso
157638f2f9
Added Annotation::BeingMoved flag to avoid refreshing pixmaps while moving annotations
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
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
Fabio D'Urso
ec9f068d77
Added AnnotationProxy to SaveInterface
...
Based on Pino Toscano's earlier work
14 years ago
Albert Astals Cid
870fd3ba12
Fix point #1 of 213258, open the dialog editor just after adding a note, because adding a note without text is probably not what you want to do.
...
Will be in KDE *4.7*
Patch by Victor Blazquez <victor.blazquez@gmail.com>
BUGS: 213258
svn path=/trunk/KDE/kdegraphics/okular/; revision=1209674
15 years ago
Albert Astals Cid
667e07a343
setAttribute with doubles is evil as it uses the current locale and we don't want that, use QString::number
...
BUGS: 211990
svn path=/trunk/KDE/kdegraphics/okular/; revision=1050633
17 years ago
Pino Toscano
b95403b0b2
Add a preliminary and simple version of Movie object and MovieAnnotation.
...
CCBUG: 136574
svn path=/trunk/KDE/kdegraphics/okular/; revision=851145
18 years ago
Pino Toscano
d1305c265b
Implement the canBeMoved() check for an annotation in the Annotation class itself.
...
Use this new version and remove the one in GuiUtils.
svn path=/trunk/KDE/kdegraphics/okular/; revision=803073
18 years ago
Pino Toscano
1177ac20ad
Add the support in the core library for sound annotations.
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=796579
18 years ago
Pino Toscano
095d8fc384
Add support in the Okular core for File Attachment annotations.
...
(Although, they cannot be (de)serialized to XML.)
CCBUG: 155072
svn path=/trunk/KDE/kdegraphics/okular/; revision=796467
18 years ago
Pino Toscano
e182f47cba
Add the possibility to store in an Annotation a "native id" of the annotation itself.
...
What it represents is totally in the hands of the various generators.
Add a function hook to cleanup the annotation data (the "native id", basically).
svn path=/trunk/KDE/kdegraphics/okular/; revision=796378
18 years ago
Pino Toscano
e786e9dfb9
Deprecate the own point width of the geometric annotation in favour of the width of the style.
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=794222
18 years ago
Pino Toscano
80cc994c51
the caret symbol is a fixed choice of two
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=794041
18 years ago
Pino Toscano
ba9042c2e0
Add a basic version (just the internal class, not the visualisation) of Caret annotation.
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=793884
18 years ago
Pino Toscano
b654434a0e
add private helpers to properly transform the base coordinates of an annotation
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=722451
19 years ago
Pino Toscano
2a29b247f7
save really few bytes
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=709414
19 years ago
Pino Toscano
a6c0f7d46d
it makes no sense having a returned type for the base Annotation class (that can not be instanced directly)
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=691107
19 years ago
Pino Toscano
aa8155f8ed
decouple the transformation applying and resetting methods, and reset the transformation when setting a new bonding rect or translating
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=691056
19 years ago
Pino Toscano
857d423c46
Correctly (hopefully) translate the text annotations now.
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=691048
19 years ago
Pino Toscano
536b632536
Correctly translate the ink annotations now.
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=689204
19 years ago
Pino Toscano
b41dcfeddc
- store a pointer of the owning page in each annotation
...
- preliminary API for translating an annotation
svn path=/trunk/KDE/kdegraphics/okular/; revision=689133
19 years ago
Pino Toscano
94355bce65
move the transform() hierarchy within the private class; allow AnnotationObjectRect to use the trasform() stuff
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=661202
19 years ago
Pino Toscano
bfe21b46f8
refactor the Annotation hierarchy to use a common d_ptr like Qt; move the AnnotationPrivate definition in an own header (it will be useful later...)
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=661195
19 years ago
Albert Astals Cid
0d47b62715
krazy include order issues
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=655893
19 years ago
Dirk Mueller
e24f08a75f
remove misplaced ';'
...
svn path=/trunk/playground/graphics/okular/; revision=631926
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
Tobias Koenig
f83cb1c60a
Finished API cleanup of Annotation by moving all private members
...
behind d-pointers
svn path=/trunk/playground/graphics/okular/; revision=614549
20 years ago
Tobias Koenig
6f9d0df5cd
Further annotation API cleanup
...
svn path=/trunk/playground/graphics/okular/; revision=612395
20 years ago
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
20 years ago
Tobias Koenig
1cea7cb777
Fix the bug that ink annotations are not visible on startup.
...
svn path=/trunk/playground/graphics/okular/; revision=608228
20 years ago
Pino Toscano
2f1aa08ac6
move the annotation boundary calculation to AnnotationUtils
...
svn path=/trunk/playground/graphics/okular/; revision=606811
20 years ago
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
20 years ago
Pino Toscano
abb20bfe6c
black can be a valid color, so don't discard it when saving
...
svn path=/trunk/playground/graphics/okular/; revision=605980
20 years ago
Pino Toscano
c2686ba1d1
show the annotation type in the review side tab, and a simple tooltip with its author
...
svn path=/trunk/playground/graphics/okular/; revision=593266
20 years ago
Tobias Koenig
df7d144c10
Moved all classes in core/ into the 'Okular' namespace and removed
...
nearly all references to kpdf (knewstuff still missing).
svn path=/trunk/playground/graphics/okular/; revision=586993
20 years ago
Pino Toscano
726200f64a
SVN_SILENT use the right default value for StampAnnotation
...
svn path=/trunk/playground/graphics/okular/; revision=583166
20 years ago
Pino Toscano
b66b54a9c9
very small fixes about annotations
...
svn path=/trunk/playground/graphics/okular/; revision=582276
20 years ago
Chu Xiaodong
a6516a74ef
Fix annotation size difference when added in diff scales
...
svn path=/trunk/playground/graphics/okular/; revision=571739
20 years ago
Chu Xiaodong
88b724dbf1
Text annotation and Straight line annotation added
...
svn path=/trunk/playground/graphics/okular/; revision=559954
20 years ago
Albert Astals Cid
eabbaeaead
oKular is now okular
...
svn path=/branches/work/kde4/playground/graphics/okular/; revision=550782
20 years ago
Pino Toscano
a9c6f32494
some kpdf -> okular for icons and a pair of gui messages
...
svn path=/branches/work/kde4/playground/graphics/okular/; revision=526898
20 years ago
Albert Astals Cid
cbb8e80154
some more compile changes, now let's see basketball
...
svn path=/branches/work/kde4/playground/graphics/okular/; revision=521882
20 years ago