okular/core
Jon Mease 43246c563b Viewport transition refinements for Find and Undo/Redo actions
REVIEW: 114060

This patch introduces viewport transitions for undo/redo actions on annotations and forms.  When an annotation/form action is undone/redone but the associated annotation/form is not currently visible, the viewport is updated to center on the undo/redo action. If the annotation/form is visible, the viewport is not updated.

The viewport transitions for the Find action have also been updated to this same algorithm.  Previously the viewport was moved to center on each matching search term even if the search term was already visible in the viewport. This lead to unnecessary viewport transitions if the search term matched several items in a single paragraph for example.

These proposed changes to the viewport transition behavior are consistent with the find and undo behavior of many existing applications including Kate, Open Office, and Foxit PDF Reader.
2013-12-29 23:27:30 +01:00
..
script Separate settings in core and non core 2012-10-16 00:28:29 +02:00
action.cpp Add Okular::RenditionAction class 2012-10-22 13:02:23 +02:00
action.h Add Okular::RenditionAction class 2012-10-22 13:02:23 +02:00
annotations.cpp Allow selection of filled polygons through the filled region 2013-07-02 00:44:15 +02:00
annotations.h Fix usability issues with selecting annotations 2013-06-23 19:22:21 +02:00
annotations_p.h Fix usability issues with selecting annotations 2013-06-23 19:22:21 +02:00
area.cpp Fix usability issues with selecting annotations 2013-06-23 19:22:21 +02:00
area.h Fix usability issues with selecting annotations 2013-06-23 19:22:21 +02:00
audioplayer.cpp Extend AudioPlayer so that it gives info about if something is playing at the moment or not 2013-11-27 23:27:30 +01:00
audioplayer.h Extend AudioPlayer so that it gives info about if something is playing at the moment or not 2013-11-27 23:27:30 +01:00
audioplayer_p.h Extend AudioPlayer so that it gives info about if something is playing at the moment or not 2013-11-27 23:27:30 +01:00
bookmarkmanager.cpp Remove the concept of observer/view id 2013-02-24 23:01:02 +01:00
bookmarkmanager.h Fix some typos found by Krazy2 2013-06-24 13:46:16 +03:00
chooseenginedialog.cpp manually add the <qt>...</qt> markers, as it seems the only way to make that text recognized as rich text (albeit the format forced as Qt::RichText...) 2007-08-23 10:48:47 +00:00
chooseenginedialog_p.h the dialog for choosing backend is private, so let its header be _p.h 2007-07-10 22:52:25 +00:00
chooseenginewidget.ui small touches to the backend choosing dialog: 2007-03-30 15:35:01 +00:00
debug_p.h adapt to the recent debug areas 2007-12-24 22:09:22 +00:00
document.cpp Viewport transition refinements for Find and Undo/Redo actions 2013-12-29 23:27:30 +01:00
document.h Undo support for PDF forms 2013-06-03 22:46:41 +02:00
document_p.h Viewport transition refinements for Find and Undo/Redo actions 2013-12-29 23:27:30 +01:00
documentcommands.cpp Viewport transition refinements for Find and Undo/Redo actions 2013-12-29 23:27:30 +01:00
documentcommands_p.h Viewport transition refinements for Find and Undo/Redo actions 2013-12-29 23:27:30 +01:00
fileprinter.cpp Merge remote-tracking branch 'origin/KDE/4.11' into KDE/4.12 2013-12-15 23:47:27 +01:00
fileprinter.h kill all the deprecated functions now that we've change ABI anyway 2012-09-06 19:10:03 +02:00
fontinfo.cpp And now okular coupled with poppler from 5 minutes ago has the hability to let you save to file fonts embedded into a pdf file 2008-08-01 20:26:22 +00:00
fontinfo.h fix #include paths in core headers to other core headers to be relative 2011-06-01 10:51:31 +02:00
form.cpp Added support for user strings in editable form combobox fields 2012-11-03 18:28:50 +01:00
form.h Added support for user strings in editable form combobox fields 2012-11-03 18:28:50 +01:00
form_p.h Revert 604187b7a3 and 258cd6562a 2011-12-11 22:20:45 +01:00
generator.cpp Remove the concept of observer/view id 2013-02-24 23:01:02 +01:00
generator.h Remove the concept of observer/view id 2013-02-24 23:01:02 +01:00
generator_p.cpp Normalize signals/slots 2011-07-31 21:22:04 +02:00
generator_p.h Remove the concept of observer/view id 2013-02-24 23:01:02 +01:00
global.h Move the definition of the 'EmbedMode' enum to 'part.h' 2011-11-02 20:29:31 +00:00
misc.cpp redirect all the debug output of core to the debug area 2008-01-20 16:39:21 +00:00
misc.h fix #include paths in core headers to other core headers to be relative 2011-06-01 10:51:31 +02:00
movie.cpp Implement support for poster image of videos in PDF documents 2012-08-19 12:23:47 +02:00
movie.h Implement support for poster image of videos in PDF documents 2012-08-19 12:23:47 +02:00
observer.cpp Fix my email address 2013-03-14 23:09:07 +01:00
observer.h Merge remote-tracking branch 'origin/KDE/4.10' 2013-03-14 23:09:57 +01:00
okular_export.h fix win32 compilation 2007-03-18 17:14:36 +00:00
okularGenerator.desktop SVN_SILENT made messages (.desktop file) 2013-07-01 03:53:16 +00:00
page.cpp Viewport transition refinements for Find and Undo/Redo actions 2013-12-29 23:27:30 +01:00
page.h Remove the concept of observer/view id 2013-02-24 23:01:02 +01:00
page_p.h Remove the concept of observer/view id 2013-02-24 23:01:02 +01:00
pagecontroller.cpp Fix the issue exposed by the previous patch 2013-07-30 21:13:08 +02:00
pagecontroller_p.h Fix the issue exposed by the previous patch 2013-07-30 21:13:08 +02:00
pagesize.cpp make PageSize implicitely shared 2007-04-17 21:20:35 +00:00
pagesize.h fix #include paths in core headers to other core headers to be relative 2011-06-01 10:51:31 +02:00
pagetransition.cpp simplier copy 2007-07-25 14:54:12 +00:00
pagetransition.h fix #include paths in core headers to other core headers to be relative 2011-06-01 10:51:31 +02:00
rotationjob.cpp Remove the concept of observer/view id 2013-02-24 23:01:02 +01:00
rotationjob_p.h Remove the concept of observer/view id 2013-02-24 23:01:02 +01:00
scripter.cpp Start implementing the JavaScript scripting API for PDF documents, 2008-05-18 16:37:07 +00:00
scripter.h Add a scripter class to execute scripts on request. 2008-04-13 22:31:59 +00:00
sound.cpp krazy include order issues 2007-04-19 18:30:20 +00:00
sound.h fix #include paths in core headers to other core headers to be relative 2011-06-01 10:51:31 +02:00
sourcereference.cpp percent-decode lilypond references 2010-05-23 16:08:59 +00:00
sourcereference.h fix #include paths in core headers to other core headers to be relative 2011-06-01 10:51:31 +02:00
sourcereference_p.h Make Okular able to distinguish the LilyPond "Point and click" links, 2008-09-22 13:41:28 +00:00
textdocumentgenerator.cpp epub video support 2013-10-24 00:20:04 +02:00
textdocumentgenerator.h Removed TextDocumentGenerator::generalSettingsWidget() 2013-06-07 00:44:56 +02:00
textdocumentgenerator_p.h Don't crash if Configure Backends is opened again after it's been closed 2013-06-07 00:26:05 +02:00
textdocumentsettings.cpp Fix some typos found by Krazy2 2013-06-24 13:46:16 +03:00
textdocumentsettings.h Removed TextDocumentSettingsWidget::font() 2013-06-07 00:45:47 +02:00
textdocumentsettings_p.h Added missing core/textdocumentsettings_p.h 2013-05-18 17:44:11 +02:00
texteditors_p.h Separate settings in core and non core 2012-10-16 00:28:29 +02:00
textpage.cpp Improve searching code 2013-10-18 16:30:07 +02:00
textpage.h Replace deprecated QMatrix by QTransform 2012-09-08 17:06:02 +02:00
textpage_p.h Improve searching code 2013-10-18 16:30:07 +02:00
tile.h Document ownership of pixmap in Tile 2012-11-12 13:11:34 -03:00
tilesmanager.cpp Fix tiles issue when zooming out a rotated document 2013-06-22 11:54:36 +02:00
tilesmanager_p.h Change TilesManager::tilesAt use 2012-11-15 20:41:17 -03:00
utils.cpp Viewport transition refinements for Find and Undo/Redo actions 2013-12-29 23:27:30 +01:00
utils.h fix #include paths in core headers to other core headers to be relative 2011-06-01 10:51:31 +02:00
utils_p.h Viewport transition refinements for Find and Undo/Redo actions 2013-12-29 23:27:30 +01:00
version.h update for the release 2013-12-11 20:14:18 +01:00
view.cpp Start a View class for managing the "views" of a document. 2008-04-27 11:05:59 +00:00
view.h Remove the concept of observer/view id 2013-02-24 23:01:02 +01:00
view_p.h Start a View class for managing the "views" of a document. 2008-04-27 11:05:59 +00:00