Peter Grasch
4d4dd68ca2
Fix usability issues with selecting annotations
...
REVIEW: 109627
13 years ago
Jon Mease
3c6140b616
Fix Undo / Redo of annotation creation doesn't properly handle page rotation and adds undo unit tests
...
BUG: 318091
REVIEW: 109989
13 years ago
Jon Mease
78faf1e68f
Add undo/redo support for annotations
...
REVIEW: 107442
13 years ago
Albert Astals Cid
541650a4f4
Remove the concept of observer/view id
...
Just use the pointer as id :-)
This is BIC and SIC, increase the soversion now to makes sure we don't forget in the future
Patch based in an earlier patch by Bogdan Cristea <cristeab@gmail.com>
REVIEW: 109115
13 years ago
Mailson Menezes
7528fb8c88
Change TilesManager::tilesAt use
...
- The second parameter has changed to an enum
- Now Page::tilesAt only returns tiles with pixmaps
14 years ago
Fabio D'Urso
d3eb739814
Merged TilesManager::setWidth and setHeight into a single setSize method
14 years ago
Fabio D'Urso
437ddad588
Hide tiles manager within okularcore
...
Only the Tile class (tile.h) is visible from the outside
14 years ago
Fabio D'Urso
e12966b259
Removed possibility to have a tiles manager per observer
...
Now only the PageView can have a tiles manager.
14 years ago
Jan Binder
aa6ed8afc0
Replace deprecated QMatrix by QTransform
...
REVIEW: 105737
14 years ago
Mailson Menezes
0053b9c015
Remove unused property from PixmapObject
...
This property was added before the tiles manager was created.
14 years ago
Mailson Menezes
2d5b51ff88
Fix crash when changing between memory profiles
14 years ago
Mailson Menezes
851a503e81
Move tiles manager to a private header
14 years ago
Mailson Menezes
401c3f7e5d
Add rotation support to tiles manager
14 years ago
Tobias Koenig
58eb957f26
Support multiple annotations in RMB menu
...
Provide the actions for all annotations in the RMB menu, if multiple
annotations are located on top of each other.
BUGS: 300942
REVIEW: 106035
FIXED-IN: 4.10.0
14 years ago
Mailson Menezes
032f03a0e8
Track memory usage of tiles
14 years ago
Mailson Menezes
9c09eb938e
Use tiles only when it's necessary
...
In other words: don't use tiles when the page is not big enough
14 years ago
Mailson Menezes
de2ee00ff8
Improvements on tiles manager
...
- Made improvements on the code (not performance)
- Fix issue of not painting dirty tiles
14 years ago
Mailson Menezes
9f3cf45e37
Rendering with a tiles manager
...
Currently it's only available for PDFs and does not support rotation.
14 years ago
Fabio D'Urso
86c92ffec2
Fixes against causes of annotation data loss + Improved GUI message logic
...
1) If the user had previously annotated the document with an old okular
version and the document contains existing annotations and no /Encrypt
(ie the case where annotation changes are no longer saved locally), make
Document::saveDocumentInfo write the original unmodified local
annotations back to XML, so that it seems that the original file was not
changed. If the user makes annotation changes, code from previous
patches already asks him to save them to a different document on close.
2) Ask "Save changes?" if the user has modified annotations in a .okular
archive.
BUG: 300197
3) Turned a "sorry" message in a "information" (with dontshowthisagain),
because now we also have the "Save changes?" prompt to inform the user.
4) Suppressed all annotation-related message boxes on document opening
14 years ago
Mailson Menezes
83282971d8
Render current viewport only
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
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
ec9f068d77
Added AnnotationProxy to SaveInterface
...
Based on Pino Toscano's earlier work
14 years ago
Fabio D'Urso
07c57bb2ab
Dead code removed (PagePrivate::modifyAnnotation)
...
The first if ("modified already") is always taken
14 years ago
Albert Astals Cid
9d805df013
Double click selects words
...
BUGS: 187347
FIXED-IN: 4.9,0
14 years ago
Jiri Baum
412e3e739e
table selection tool - semi-automatic dividers
...
BUGS: 283440
REVIEW: 102788
15 years ago
Albert Astals Cid
d41f230123
Move correctTextOrder to TextPagePrivate
15 years ago
Mohammad Mahfuzur Rahman Mamun
dca4ee559c
Another Code Refactoring done
15 years ago
Mohammad Mahfuzur Rahman Mamun
1b8e1fc436
all files other than textpage.cpp has been changed necessarily
15 years ago
Mohammad Mahfuzur Rahman Mamun
3214307ed9
unnecessary changes removed from area.h and cpp textpage.h textpage_p.h
15 years ago
Mohammad Mahfuzur Rahman Mamun
929e4b6a0e
Removed some double selection Problem
15 years ago
Mohammad Mahfuzur Rahman Mamun
a2be8384c5
A little change for crash if there is no textPage but, yet correctTextOrder() is called
15 years ago
Mohammad Mahfuzur Rahman Mamun
4c4f6c1c7c
text selection code moved to Page::setTextPage from Document::requestTextPage
15 years ago
Pino Toscano
40d20ca58d
in each page, add a pointer to the owner document
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=1217914
15 years ago
Albert Astals Cid
8f045d06a7
add a text() function that returns characters not containing any pixel inside the given area but the center pixel of the char rectangle
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=1048193
17 years ago
Pino Toscano
6d0241e5d2
add functions to get the nearest object rect to a point in a page, and return its distance, and the accessor functions for object rects
...
based on an patch by Luigi Toscano, thanks!
CCMAIL: luigi.toscano@tiscali.it
svn path=/trunk/KDE/kdegraphics/okular/; revision=943099
17 years ago
Pino Toscano
a5252a9115
add flags to selectively choose the page parts to serialize
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=884438
18 years ago
Laurent Montel
c2fc9836e8
Fix iterator
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=882957
18 years ago
Pino Toscano
18f486c2c1
add the possibility to store an useful bounding box of a page, and for generators to notify the document (and its observers) on its change
...
original patch by kde2eran@tromer.org, thanks!
CCMAIL: kde2eran@tromer.org
svn path=/trunk/KDE/kdegraphics/okular/; revision=809467
18 years ago
Pino Toscano
1f43811f61
redirect all the debug output of core to the debug area
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=763941
18 years ago
Pino Toscano
5e0c1a1671
hm, we always need to 'transform' all the annotations, so the internal data are (re)set correctly
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=722543
19 years ago
Pino Toscano
b321f9ea21
when adding a rotated annotation to a rotated page, rotate its base coordinates to 0-degrees, then rotate again all its stuff correctly
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=722456
19 years ago
Pino Toscano
99a99a1590
instead of just keeping the transformation matrix, add the pointer to the owning page in a text page, so a text page can know more information, and with no need to manually be updated by the page
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=708443
19 years ago
Pino Toscano
bf9af4433d
move deleteTextSelections() to the private class
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=708155
19 years ago
Pino Toscano
d81d4aedd9
small api fixup ('const QContainer' it's pointless as return value)
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=708147
19 years ago
Pino Toscano
351f66a9b4
remove TextPage::transform() from the public API, and make the Page change the TextPage transformation easily
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=708085
19 years ago
Pino Toscano
d66f6b8f4a
better check before starting searching on a NULL text page...
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=708081
19 years ago
Pino Toscano
9a1b575ac0
properly rotate/transform the text page and the highlight areas
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=708054
19 years ago
Pino Toscano
b480fc0670
do nothing if we have no form fields for a page, but form saved data for it are there anyway
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=705035
19 years ago
Pino Toscano
35a51a9d06
stupid me, don't increment the end() iterator ;(
...
also, check that the index in the local save file refers to an existent form field
svn path=/trunk/KDE/kdegraphics/okular/; revision=705003
19 years ago