Tobias Koenig
8b603c174d
Add basic support for RichMedia annotations in PDF files
...
That patch extracts the video file, which is defined in a
rich media annotation as parameter for the flash player,
and uses the normal multimedia player, to playback the video
file.
This feature requires poppler-qt5 in version 0.36.
FEATURE: 326230
REVIEW: 124612
11 years ago
Jan Kundrát
abd30fb774
s/auto_ptr/unique_ptr/
...
The old auto_ptr was used for simple RAII. None of the auto_ptr flaws
were apparent in that context, but given that that class is actively
deprecated and that compilers warn about its use, it's better to switch
to its drop-in replacement.
My reason for not using QScopedPointer is that the C++11 version works
well enough, Okular is being built in C++11 mode anyway, unique_ptr
works on the KF5-minimal-mandated-compilers according to their docs, and
therefore there's no point in using something with a different API
(QScopedPointer) just because its name begins with a Q.
REVIEW: 124027
11 years ago
Montel Laurent
8e7429ddcc
kdelibs4support--
12 years ago
Montel Laurent
c0e625605d
Port to QStandardPath
12 years ago
Montel Laurent
378f6847a2
Remove some deprecated kdelibs4support
12 years ago
Frederik Gladhorn
ac15a7075e
More QUrl porting
12 years ago
Fabio D'Urso
923698caab
Change texts I forgot to change in 35d481e783
13 years ago
Fabio D'Urso
b49db982ea
Make two helper inline functions static
13 years ago
Fabio D'Urso
2e6edb5e2c
Distinguish straight lines and polygons in texts
13 years ago
Fabio D'Urso
d197c9a109
Consistently call "Ink" -> "Freehand Line"
13 years ago
Fabio D'Urso
cfa8c3a6d5
HighlightAnnotation text improvements
...
- Changed property dialog title from "Highlight" to "Text Markup",
because it's used for Underline, Squiggle and Strike out too.
- Renamed Squiggly (adjective) to Squiggle (noun)
- Show the precise type of HighlightAnnotation in the review panel and
on right-click on a HighlightAnnotation
13 years ago
Jon Mease
78faf1e68f
Add undo/redo support for annotations
...
REVIEW: 107442
13 years ago
Fabio D'Urso
9f41ff9d13
Paint some other annotation tool icons dynamically
...
Affected tools:
- Note
- Inline Note
- Ink
- Highlighter
Note that the Stamp tool is the only one that's left with a static icon
13 years ago
Tobias Koenig
a41a727e21
Extend GuiUtils with helper function for ScreenAnnotations
...
REVIEW: 106607
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
Glen Kaukola
122fab0eee
Krazy: Check single-char QString operations for efficiency.
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=1110335
16 years ago
Albert Astals Cid
e90fa31bf9
make the iconloader in GuiUtils a stack
...
Fixes problems when the same program uses more than one okular part at once
BUGS: 231123
svn path=/trunk/KDE/kdegraphics/okular/; revision=1104494
16 years ago
Pino Toscano
b025b4113a
activate the overwriting confirmation in all the other file save dialogs
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=1066352
16 years ago
Pino Toscano
97263dcdf3
- drop the "stamp-" prefix from svg stamps: first the stamp is searched among the SVG stamps, otherwise the classic "icon" loading is tried
...
- now that we have all the graphics for them, activate the standard PDF stamps, yay!
svn path=/trunk/KDE/kdegraphics/okular/; revision=884844
18 years ago
Pino Toscano
d7f5707e8b
changes to the stamp loading system:
...
- instead of load the stamps from single SVGs, load them from elements of a single SVG containing all of them
- cache that said SVG (should make their drawing fast again)
svn path=/trunk/KDE/kdegraphics/okular/; revision=884837
18 years ago
Pino Toscano
40a0b9b9a5
adapt loadStamp() to:
...
- load .svg images when asked to load "stamp-something" names (a bit crude, but working for now)
- take a (optional) different size for the icon
svn path=/trunk/KDE/kdegraphics/okular/; revision=862804
18 years ago
Pino Toscano
f80f5ca79c
insolate the "stamp+icon" loading method in an own function
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=862778
18 years ago
Pino Toscano
052fff3a0d
make the movie annotations recognizable in the interface
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=851146
18 years ago
Albert Astals Cid
128825907f
KUIT++
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=840781
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
eed660ebd3
move the embedded file saving function to the GuiUtils
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=797108
18 years ago
Pino Toscano
97ff6ae262
add labels for sound annotations
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=796582
18 years ago
Pino Toscano
73e28a357a
non-generic visible strings for caret and file attachment annotations
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=796474
18 years ago
Pino Toscano
146ac422ff
Properly escape rich text in html-ish tooltips.
...
BUG: 160306
svn path=/trunk/KDE/kdegraphics/okular/; revision=793230
18 years ago
Pino Toscano
44aa2d7088
Globally store an icon loader different that the global one (eg the KPart one);
...
this way we can load our custom icons when embedded in other shells than ours.
svn path=/trunk/KDE/kdegraphics/okular/; revision=752473
18 years ago
Pino Toscano
288fce0b82
AnnotationGuiUtils -> GuiUtils
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=752259
18 years ago
Pino Toscano
c47c606f5b
all of these functions should have a valid pointer as parameter, so assert instead of silently return
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=720880
19 years ago
Pino Toscano
bc5aeb2bb8
dear line in the annotation tooltip, please use less vertical space, thanks
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=720874
19 years ago
Pino Toscano
1765025575
class with static methods -> namespace
...
add constness to the parameters where missing
svn path=/trunk/KDE/kdegraphics/okular/; revision=709912
19 years ago
Pino Toscano
815ac3867e
move the annotation tooltip creation procedure in a single place
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=709910
19 years ago
Pino Toscano
cd0dd24193
i18n fixes
...
rename 'freetext' to 'inline note'
svn path=/trunk/KDE/kdegraphics/okular/; revision=701876
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
668dcad8da
Now the annotations can be dragged and moved after being placed on a page, even if the page is rotated.
...
Ctrl+right mouse button is what is needed to do that.
At the moment, only line, stamp and geometric annotations can be moved with mouse dragging.
svn path=/trunk/KDE/kdegraphics/okular/; revision=689185
19 years ago
Dirk Mueller
12b7b0d5d1
if you don't check the result, then don't waste time
...
on dynamic_cast (CID 3514)
svn path=/trunk/KDE/kdegraphics/okular/; revision=671475
19 years ago
Albert Astals Cid
0d47b62715
krazy include order issues
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=655893
19 years ago
Pino Toscano
ea071caf9d
Improve the way we get the contents of an annotation; dynamically change the tooltip of the annotation item in the side review pane.
...
svn path=/trunk/playground/graphics/okular/; revision=617106
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