diff options
author | Kohei Yoshida <kohei.yoshida@gmail.com> | 2012-05-23 12:04:06 -0400 |
---|---|---|
committer | Kohei Yoshida <kohei.yoshida@gmail.com> | 2012-05-23 12:10:26 -0400 |
commit | 5b17d2d731e014d79cbba716fcbc8fbd357094e8 (patch) | |
tree | 759ee8e332a536d1cad68beaaa563fe2623ea35d /sw/sdi/swriter.sdi | |
parent | 038564c910e43f569b7c6abebffe2ad6ec9a1822 (diff) |
Pass document service to the dispatcher when opening file from writer.
This is similar to what I did earlier for calc. This info will be
used later in the type detection code.
Change-Id: I7ba7dcdc03cbfe77eba5c7594fc0385ad3775541
Diffstat (limited to 'sw/sdi/swriter.sdi')
-rw-r--r-- | sw/sdi/swriter.sdi | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/sw/sdi/swriter.sdi b/sw/sdi/swriter.sdi index d7cb8b3b3bbb..edb780916471 100644 --- a/sw/sdi/swriter.sdi +++ b/sw/sdi/swriter.sdi @@ -10417,3 +10417,28 @@ SfxVoidItem NavigateForward FN_NAVIGATION_FORWARD ToolBoxConfig = TRUE, GroupId = GID_NAVIGATION; ] + +//-------------------------------------------------------------------------- +SfxVoidItem OpenFromWriter FN_OPEN_FILE +() +[ + /* flags: */ + AutoUpdate = FALSE, + Cachable = Cachable, + FastCall = FALSE, + HasCoreId = FALSE, + HasDialog = FALSE, + ReadOnlyDoc = TRUE, + Toggle = FALSE, + Container = FALSE, + RecordAbsolute = FALSE, + RecordPerSet; + Synchron; + + /* config: */ + AccelConfig = TRUE, + MenuConfig = TRUE, + StatusBarConfig = FALSE, + ToolBoxConfig = TRUE, + GroupId = GID_APPLICATION; +] |