[Libreoffice-commits] dev-tools.git: helpauthoring/Addons.xcu helpauthoring/META-INF helpauthoring/WriterWindowState.xcu

Yousuf Philips philipz85 at hotmail.com
Mon Sep 14 12:11:08 PDT 2015


 helpauthoring/Addons.xcu            |   18 ++++++++++++++++++
 helpauthoring/META-INF/manifest.xml |    1 +
 helpauthoring/WriterWindowState.xcu |   12 ++++++++++++
 3 files changed, 31 insertions(+)

New commits:
commit 365cf37b505a58da26fe150359956354296af496
Author: Yousuf Philips <philipz85 at hotmail.com>
Date:   Fri Sep 11 11:18:44 2015 +0400

    helpauthoring: Help authoring toolbar
    
    Change-Id: I1f320193a098a29b8d70b36623a2230612fdaa3e
    Reviewed-on: https://gerrit.libreoffice.org/18487
    Reviewed-by: Yousuf Philips <philipz85 at hotmail.com>
    Tested-by: Yousuf Philips <philipz85 at hotmail.com>

diff --git a/helpauthoring/Addons.xcu b/helpauthoring/Addons.xcu
index e4268ac..b696983 100644
--- a/helpauthoring/Addons.xcu
+++ b/helpauthoring/Addons.xcu
@@ -472,5 +472,23 @@
                 </node>
             </node>
         </node>
+        <node oor:name="OfficeToolBar">
+            <node oor:name="org.openoffice.helpauthoringtoolbar" oor:op="replace">
+                  <node oor:name="m1" oor:op="replace">
+                      <prop oor:name="URL" oor:type="xs:string">
+                          <value>vnd.sun.star.script:HelpAuthoring._Main.CreateFile?language=Basic&location=application</value>
+                      </prop>
+                      <prop oor:name="Title" oor:type="xs:string">
+                          <value xml:lang="en-US">New</value>
+                      </prop>
+                      <prop oor:name="Target" oor:type="xs:string">
+                          <value>_self</value>
+                      </prop>
+                      <prop oor:name="Context" oor:type="xs:string">
+                          <value>com.sun.star.text.TextDocument</value>
+                      </prop>
+                  </node>
+              </node>
+        </node>
     </node>
 </oor:component-data>
diff --git a/helpauthoring/META-INF/manifest.xml b/helpauthoring/META-INF/manifest.xml
index b2fadcc..ecfbdd9 100644
--- a/helpauthoring/META-INF/manifest.xml
+++ b/helpauthoring/META-INF/manifest.xml
@@ -23,4 +23,5 @@
         <manifest:file-entry manifest:full-path="Filter.xcu" manifest:media-type="application/vnd.sun.star.configuration-data"/>
         <manifest:file-entry manifest:full-path="Addons.xcu" manifest:media-type="application/vnd.sun.star.configuration-data"/>
         <manifest:file-entry manifest:full-path="Paths.xcu" manifest:media-type="application/vnd.sun.star.configuration-data"/>
+        <manifest:file-entry manifest:full-path="WriterWindowState.xcu" manifest:media-type="application/vnd.sun.star.configuration-data"/>
 </manifest:manifest>
diff --git a/helpauthoring/WriterWindowState.xcu b/helpauthoring/WriterWindowState.xcu
new file mode 100644
index 0000000..1c30d52
--- /dev/null
+++ b/helpauthoring/WriterWindowState.xcu
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<oor:component-data xmlns:oor="http://openoffice.org/2001/registry" xmlns:xs="http://www.w3.org/2001/XMLSchema" oor:name="WriterWindowState" oor:package="org.openoffice.Office.UI">
+  <node oor:name="UIElements">
+    <node oor:name="States">
+      <node oor:name="private:resource/toolbar/addon_org.openoffice.helpauthoringtoolbar" oor:op="replace">
+        <prop oor:name="UIName" oor:type="xs:string">
+          <value xml:lang="en-US">Help Authoring</value>
+        </prop>
+      </node>
+    </node>
+  </node>
+</oor:component-data>


More information about the Libreoffice-commits mailing list