diff options
author | Andras Timar <atimar@suse.com> | 2012-06-21 17:28:58 +0200 |
---|---|---|
committer | Andras Timar <atimar@suse.com> | 2012-06-21 17:38:14 +0200 |
commit | ade85a43e1369cb9e0026f048ed410a964db48d9 (patch) | |
tree | b61a70c8943324390702d02e550cb70f2237cab7 /scp2/source/draw | |
parent | fix core dump setting preload value for some cell formula (diff) | |
download | core-ade85a43e1369cb9e0026f048ed410a964db48d9.tar.gz core-ade85a43e1369cb9e0026f048ed410a964db48d9.zip |
fdo#51274 optionally associate Visio file types (vsd/vst) to Draw
Change-Id: I0362d758205e7d12484e9e86ff2dce9608730c57
Diffstat (limited to 'scp2/source/draw')
-rw-r--r-- | scp2/source/draw/module_draw.scp | 9 | ||||
-rw-r--r-- | scp2/source/draw/registryitem_draw.scp | 6 | ||||
-rw-r--r-- | scp2/source/draw/registryitem_draw.ulf | 5 |
3 files changed, 20 insertions, 0 deletions
diff --git a/scp2/source/draw/module_draw.scp b/scp2/source/draw/module_draw.scp index b5bec12dc7f8..63e982c65f2d 100644 --- a/scp2/source/draw/module_draw.scp +++ b/scp2/source/draw/module_draw.scp @@ -68,4 +68,13 @@ Module gid_Module_Langpack_Draw_Template Files = (); End +Module gid_Module_Prg_Draw_MSO_Reg + ParentID = gid_Module_Prg_Draw; + Name = "gid_Module_Prg_Draw_MSO_Reg"; + Description = "gid_Module_Prg_Draw_MSO_Reg"; + Styles = (HIDDEN_ROOT); + Minimal = YES; + Default = YES; +End + #include "alllangmodules_draw.inc" diff --git a/scp2/source/draw/registryitem_draw.scp b/scp2/source/draw/registryitem_draw.scp index d82a59f6af95..6a2ce537d065 100644 --- a/scp2/source/draw/registryitem_draw.scp +++ b/scp2/source/draw/registryitem_draw.scp @@ -1091,3 +1091,9 @@ REGISTER_PROPERTY_HANDLER_FOR_EXTENSION( odg ) REGISTER_PROPERTY_HANDLER_FOR_EXTENSION( otg ) REGISTER_PROPERTY_HANDLER_FOR_EXTENSION( sxd ) REGISTER_PROPERTY_HANDLER_FOR_EXTENSION( std ) + +// registering the mso file types +// CONDITIONAL_REGISTER_DOC_EXTENSION(name,modid, key, cond, disp_name, icon_id, app, default, dox_type) + +CONDITIONAL_REGISTER_DOC_EXTENSION( Vsd, gid_Module_Prg_Draw_MSO_Reg, vsd, VSD, MS_VISIO_DOCUMENT, 5, sdraw.exe, open, Draw ) +CONDITIONAL_REGISTER_DOCTEMPLATE_EXTENSION( Vst, gid_Module_Prg_Draw_MSO_Reg, vst, VST, MS_VISIO_TEMPLATE, 6, sdraw.exe, new, Draw ) diff --git a/scp2/source/draw/registryitem_draw.ulf b/scp2/source/draw/registryitem_draw.ulf index 79efc1503c54..819c76a2eff2 100644 --- a/scp2/source/draw/registryitem_draw.ulf +++ b/scp2/source/draw/registryitem_draw.ulf @@ -31,3 +31,8 @@ en-US = "OpenDocument Drawing" [STR_REG_VAL_OO_DRAW_TEMPLATE] en-US = "OpenDocument Drawing Template" +[STR_REG_VAL_MS_VISIO_DOCUMENT] +en-US = "Microsoft Visio 2000/XP/2003 Document" + +[STR_REG_VAL_MS_VISIO_TEMPLATE] +en-US = "Microsoft Visio 2000/XP/2003 Template" |