summaryrefslogtreecommitdiff
path: root/helpauthoring
diff options
context:
space:
mode:
authorMaxim Monastirsky <momonasmon@gmail.com>2015-09-17 17:24:14 +0300
committerMaxim Monastirsky <momonasmon@gmail.com>2015-09-17 17:24:14 +0300
commit9c2a6f9a0de327a778e3343631e358989ab4c43a (patch)
tree7039f356c16b7e98090b0f3993eeae25c5b04de1 /helpauthoring
parent8ba97b9d5940790322922f618bf339b21939a192 (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).
Diffstat (limited to 'helpauthoring')
-rw-r--r--helpauthoring/Type.xcu4
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:&lt;helpdocument version="1.0"&gt;</value></prop>
</node>
</node>
</oor:component-data>