diff options
author | Maxim Monastirsky <momonasmon@gmail.com> | 2015-09-17 17:24:14 +0300 |
---|---|---|
committer | Maxim Monastirsky <momonasmon@gmail.com> | 2015-09-17 17:24:14 +0300 |
commit | 9c2a6f9a0de327a778e3343631e358989ab4c43a (patch) | |
tree | 7039f356c16b7e98090b0f3993eeae25c5b04de1 | |
parent | 8ba97b9d5940790322922f618bf339b21939a192 (diff) |
helpauthoring: Add some basic type detection
This should fix opening .xhp files from the recent list
and the start center (as well as opening using File->Open).
-rw-r--r-- | helpauthoring/Type.xcu | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/helpauthoring/Type.xcu b/helpauthoring/Type.xcu index c1812aea..1cb350f0 100644 --- a/helpauthoring/Type.xcu +++ b/helpauthoring/Type.xcu @@ -23,12 +23,12 @@ <node oor:name="XHP_Help" oor:op="replace" > <prop oor:name="Extensions"><value>xhp</value></prop> <prop oor:name="UIName"><value>Help (xhp)</value></prop> - <prop oor:name="DetectService"/> + <prop oor:name="DetectService"><value>com.sun.star.comp.filters.XMLFilterDetect</value></prop> <prop oor:name="URLPattern"/> <prop oor:name="MediaType"><value>application/text-xhp</value></prop> <prop oor:name="Preferred"><value>true</value></prop> <prop oor:name="PreferredFilter"><value>XHP_Help</value></prop> - <prop oor:name="ClipboardFormat"/> + <prop oor:name="ClipboardFormat"><value>doctype:<helpdocument version="1.0"></value></prop> </node> </node> </oor:component-data> |