[Libreoffice-commits] dev-tools.git: helpauthoring/Type.xcu

Maxim Monastirsky momonasmon at gmail.com
Thu Sep 17 07:26:49 PDT 2015


 helpauthoring/Type.xcu |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 9c2a6f9a0de327a778e3343631e358989ab4c43a
Author: Maxim Monastirsky <momonasmon at gmail.com>
Date:   Thu Sep 17 17:24:14 2015 +0300

    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).

diff --git a/helpauthoring/Type.xcu b/helpauthoring/Type.xcu
index c1812ae..1cb350f 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>


More information about the Libreoffice-commits mailing list