2002-08-30 09:14:01 +00:00
|
|
|
<!DOCTYPE kpartgui SYSTEM "kpartgui.dtd">
|
Create new "Zoom to 100%" action
Summary:
This patch implements a "Zoom to 100%" action and sticks it in the {nav View} menu. Since it's a `KStandardAction` with a `KStandardShortcut`, we automatically get the correct icon and keyboard shortcut, but we do override the name to be "Zoom to 100%" since that's clearer for Okular's use case.
FEATURE: 400048
FIXED-IN: 18.12.0
Test Plan:
- Action works to zoom the document to 100% scale when invoked
- Action is disabled when document is opened at 100% scale or is manually zoomed to 100% scale after being opened
- All other zoom modes and action still work
{F6341045}
Reviewers: #okular, #vdg, abetts
Reviewed By: #vdg, abetts
Subscribers: davidhurka, sander, tobiasdeiminger, veqz, abetts, aacid, okular-devel
Tags: #okular
Differential Revision: https://phabricator.kde.org/D16345
2018-10-21 03:54:49 +00:00
|
|
|
<kpartgui name="okular_part" version="39">
|
2002-08-30 09:14:01 +00:00
|
|
|
<MenuBar>
|
2004-01-02 17:46:06 +00:00
|
|
|
<Menu name="file"><text>&File</text>
|
2005-06-19 21:01:28 +00:00
|
|
|
<Action name="get_new_stuff" group="file_open"/>
|
2005-07-15 18:20:57 +00:00
|
|
|
<Action name="import_ps" group="file_open"/>
|
2014-05-09 20:36:24 +00:00
|
|
|
<Action name="file_save" group="file_save"/>
|
2008-03-11 23:40:59 +00:00
|
|
|
<Action name="file_save_as" group="file_save"/>
|
2007-05-06 11:23:26 +00:00
|
|
|
<Action name="file_reload" group="file_save"/>
|
2004-01-03 10:38:06 +00:00
|
|
|
<Action name="file_print" group="file_print"/>
|
|
|
|
<Action name="file_print_preview" group="file_print"/>
|
2004-12-05 22:47:32 +00:00
|
|
|
<Action name="properties" group="file_print"/>
|
2006-10-22 18:19:17 +00:00
|
|
|
<Action name="embedded_files" group="file_print"/>
|
2006-07-01 22:17:53 +00:00
|
|
|
<Action name="file_export_as" group="file_print"/>
|
2017-10-11 15:45:02 +00:00
|
|
|
<Action name="file_share" group="file_print"/>
|
2004-01-02 17:46:06 +00:00
|
|
|
</Menu>
|
2002-09-13 13:56:35 +00:00
|
|
|
<Menu name="edit"><text>&Edit</text>
|
2013-04-05 22:22:48 +00:00
|
|
|
<Action name="edit_undo"/>
|
|
|
|
<Action name="edit_redo"/>
|
|
|
|
<Separator/>
|
2006-11-24 21:02:38 +00:00
|
|
|
<Action name="edit_copy"/>
|
|
|
|
<Separator/>
|
2007-09-03 21:35:05 +00:00
|
|
|
<Action name="edit_select_all"/>
|
|
|
|
<Separator/>
|
2007-10-07 22:21:13 +00:00
|
|
|
<Action name="edit_find"/>
|
|
|
|
<Action name="edit_find_next"/>
|
2009-02-14 17:11:29 +00:00
|
|
|
<Action name="edit_find_prev"/>
|
2002-09-13 13:56:35 +00:00
|
|
|
</Menu>
|
2002-09-02 21:56:00 +00:00
|
|
|
<Menu name="view"><text>&View</text>
|
2004-12-17 17:14:46 +00:00
|
|
|
<Action name="presentation"/>
|
2002-09-14 14:45:53 +00:00
|
|
|
<Separator/>
|
2007-10-07 22:21:13 +00:00
|
|
|
<Action name="view_zoom_in"/>
|
|
|
|
<Action name="view_zoom_out"/>
|
Create new "Zoom to 100%" action
Summary:
This patch implements a "Zoom to 100%" action and sticks it in the {nav View} menu. Since it's a `KStandardAction` with a `KStandardShortcut`, we automatically get the correct icon and keyboard shortcut, but we do override the name to be "Zoom to 100%" since that's clearer for Okular's use case.
FEATURE: 400048
FIXED-IN: 18.12.0
Test Plan:
- Action works to zoom the document to 100% scale when invoked
- Action is disabled when document is opened at 100% scale or is manually zoomed to 100% scale after being opened
- All other zoom modes and action still work
{F6341045}
Reviewers: #okular, #vdg, abetts
Reviewed By: #vdg, abetts
Subscribers: davidhurka, sander, tobiasdeiminger, veqz, abetts, aacid, okular-devel
Tags: #okular
Differential Revision: https://phabricator.kde.org/D16345
2018-10-21 03:54:49 +00:00
|
|
|
<Action name="view_actual_size"/>
|
2007-10-07 22:21:13 +00:00
|
|
|
<Action name="view_fit_to_width"/>
|
|
|
|
<Action name="view_fit_to_page"/>
|
2013-08-18 15:19:20 +00:00
|
|
|
<Action name="view_auto_fit"/>
|
2004-09-28 13:53:47 +00:00
|
|
|
<Separator/>
|
2005-03-05 15:59:15 +00:00
|
|
|
<Action name="view_continuous"/>
|
- GIGANTIC 2700 line diff with LOTS OF FEATURES!
- 1. editor-like text selection, and I do mean it, its not pseudo-editor
(like the ones acroread and kviewshell have) it doesnt intersect the
selection area with words under it, no, it does a lot more, including
work on cursors and searching for the text area closest to the given
cursor
- 2. rotation support, change the orientation of the documents if
you need too :)
- 3. the kfaxview backend works beautifully, porting kviewshell backends
is damn easy ! djvu and dvi will be next!
- 4. Hardware Blending of selection rectangles! We now use XRender
instead of KImageEffect, makes a damn faster blend!
- 5. Overview mode - as seen in Kviewshell, but quite a bit extended,
the kviewshell is only one state, while we support it in both
continous and non-continous form
- BTW. I coded all those features myself, (apart from kfaxview backend library)
it is an impressive bit right? but oKular cant be run by only one person,
join in on the fun! i can introduce you into the code just mail niedakh@gmail.com
svn path=/trunk/playground/graphics/oKular/kpdf/; revision=509871
2006-02-15 18:54:49 +00:00
|
|
|
<Action name="view_render_mode"/>
|
|
|
|
<Separator/>
|
2007-01-19 21:43:53 +00:00
|
|
|
<Menu name="view_orientation"><text>&Orientation</text>
|
|
|
|
<Action name="view_orientation_rotate_ccw"/>
|
2007-01-19 21:51:54 +00:00
|
|
|
<Action name="view_orientation_rotate_cw"/>
|
2007-01-19 21:43:53 +00:00
|
|
|
<Action name="view_orientation_original"/>
|
|
|
|
</Menu>
|
2007-01-05 23:12:06 +00:00
|
|
|
<Action name="view_pagesizes"/>
|
2015-08-27 20:09:02 +00:00
|
|
|
<Action name="view_trim_mode"/>
|
2007-02-25 00:07:59 +00:00
|
|
|
<Separator/>
|
|
|
|
<Action name="view_toggle_forms"/>
|
2002-08-30 09:14:01 +00:00
|
|
|
</Menu>
|
2002-09-13 13:56:35 +00:00
|
|
|
<Menu name="go"><text>&Go</text>
|
2007-10-07 22:21:13 +00:00
|
|
|
<Action name="go_previous"/>
|
|
|
|
<Action name="go_next"/>
|
2005-06-13 18:06:32 +00:00
|
|
|
<Separator/>
|
|
|
|
<Action name="first_page"/>
|
2004-09-13 17:30:00 +00:00
|
|
|
<Action name="last_page"/>
|
2003-09-15 21:09:49 +00:00
|
|
|
<Separator/>
|
2007-12-24 13:11:19 +00:00
|
|
|
<Action name="go_document_back"/>
|
|
|
|
<Action name="go_document_forward" />
|
2005-01-27 17:31:07 +00:00
|
|
|
<Separator/>
|
2007-10-07 22:21:13 +00:00
|
|
|
<Action name="go_goto_page"/>
|
2002-09-13 13:56:35 +00:00
|
|
|
</Menu>
|
2007-10-07 22:21:13 +00:00
|
|
|
<Menu name="bookmarks"><text>&Bookmarks</text>
|
2007-05-01 14:43:30 +00:00
|
|
|
<Action name="bookmark_add"/>
|
2011-10-25 20:21:22 +00:00
|
|
|
<Action name="rename_bookmark"/>
|
2007-01-28 00:15:13 +00:00
|
|
|
<Action name="previous_bookmark"/>
|
|
|
|
<Action name="next_bookmark" />
|
|
|
|
<Separator/>
|
2007-01-13 17:28:54 +00:00
|
|
|
<ActionList name="bookmarks_currentdocument" />
|
|
|
|
</Menu>
|
2007-12-20 23:17:45 +00:00
|
|
|
<Menu name="tools"><text>&Tools</text>
|
2005-01-31 19:57:46 +00:00
|
|
|
<Action name="mouse_drag"/>
|
|
|
|
<Action name="mouse_zoom"/>
|
|
|
|
<Action name="mouse_select"/>
|
2006-09-26 22:22:01 +00:00
|
|
|
<Action name="mouse_textselect"/>
|
2011-10-12 13:50:56 +00:00
|
|
|
<Action name="mouse_tableselect"/>
|
2014-02-24 22:42:10 +00:00
|
|
|
<Action name="mouse_magnifier"/>
|
2005-02-18 18:24:45 +00:00
|
|
|
<Separator/>
|
|
|
|
<Action name="mouse_toggle_annotate"/>
|
2008-03-05 11:06:55 +00:00
|
|
|
<Separator/>
|
|
|
|
<Action name="speak_document"/>
|
|
|
|
<Action name="speak_current_page"/>
|
2008-03-05 12:05:48 +00:00
|
|
|
<Action name="speak_stop_all"/>
|
2005-01-31 19:57:46 +00:00
|
|
|
</Menu>
|
2003-09-14 20:23:01 +00:00
|
|
|
<Menu name="settings"><text>&Settings</text>
|
2005-03-12 15:39:04 +00:00
|
|
|
<Action name="show_leftpanel" group="show_merge"/>
|
2010-10-29 21:47:17 +00:00
|
|
|
<Action name="show_bottombar" group="show_merge"/>
|
2007-10-07 23:09:08 +00:00
|
|
|
<Action name="options_configure_generators" group="configure_merge"/>
|
2014-02-03 23:30:30 +00:00
|
|
|
<Action name="options_configure" group="configure_merge"/>
|
2003-09-14 20:23:01 +00:00
|
|
|
</Menu>
|
2007-03-07 18:15:00 +00:00
|
|
|
<Menu name="help"><text>&Help</text>
|
|
|
|
<Action name="help_about_backend" group="about_merge"/>
|
|
|
|
</Menu>
|
2002-08-30 09:14:01 +00:00
|
|
|
</MenuBar>
|
2004-09-13 17:30:00 +00:00
|
|
|
<ToolBar name="mainToolBar"><text>Main Toolbar</text>
|
2007-10-07 22:21:13 +00:00
|
|
|
<Action name="go_previous"/>
|
|
|
|
<Action name="go_next"/>
|
2004-09-13 08:51:36 +00:00
|
|
|
<Separator/>
|
2008-11-21 11:45:00 +00:00
|
|
|
<Action name="zoom_to" />
|
2007-10-07 22:21:13 +00:00
|
|
|
<Action name="view_zoom_out"/>
|
|
|
|
<Action name="view_zoom_in"/>
|
2003-09-15 08:58:18 +00:00
|
|
|
<Separator/>
|
2004-09-13 17:30:00 +00:00
|
|
|
<Action name="mouse_drag"/>
|
2004-11-03 17:35:48 +00:00
|
|
|
<Action name="mouse_zoom"/>
|
2007-09-14 10:02:33 +00:00
|
|
|
<Action name="mouse_selecttools"/>
|
2002-08-30 09:14:01 +00:00
|
|
|
</ToolBar>
|
|
|
|
</kpartgui>
|