helpauthoring/Addons.xcu | 240 +++++++++++++++++++++++++++++++++-------------- 1 file changed, 173 insertions(+), 67 deletions(-)
New commits: commit 7f315a5ba62ebe8653ed25031de0d184e4cf618e Author: Yousuf Philips <philip...@hotmail.com> Date: Tue Sep 8 17:42:07 2015 +0400 Reorganize the menu according to usage Change-Id: Id988003fdc08afe541b2294d005447bc41180583 Reviewed-on: https://gerrit.libreoffice.org/18408 Reviewed-by: Jan Holesovsky <ke...@collabora.com> Tested-by: Jan Holesovsky <ke...@collabora.com> diff --git a/helpauthoring/Addons.xcu b/helpauthoring/Addons.xcu index 80c44eb..2dab2c5 100644 --- a/helpauthoring/Addons.xcu +++ b/helpauthoring/Addons.xcu @@ -31,196 +31,302 @@ <node oor:name="Submenu"> <node oor:name="m00" oor:op="replace"> <prop oor:name="URL" oor:type="xs:string"> - <value>vnd.sun.star.script:HelpAuthoring.Helpers.SetDocumentRoot?language=Basic&location=application</value> + <value>vnd.sun.star.script:HelpAuthoring._Main.CreateFile?language=Basic&location=application</value> </prop> <prop oor:name="Title" oor:type="xs:string"> <value/> - <value xml:lang="en-US">Set Document Root...</value> + <value xml:lang="en-US">New Help File</value> </prop> </node> <node oor:name="m01" oor:op="replace"> <prop oor:name="URL" oor:type="xs:string"> + <value>vnd.sun.star.script:HelpAuthoring._Main.OpenXHP?language=Basic&location=application</value> + </prop> + <prop oor:name="Title" oor:type="xs:string"> + <value/> + <value xml:lang="en-US">Open Help File</value> + </prop> + </node> + + <node oor:name="m05" oor:op="replace"> + <prop oor:name="URL" oor:type="xs:string"> <value>private:separator</value> </prop> </node> - <node oor:name="m02" oor:op="replace"> + <node oor:name="m06" oor:op="replace"> <prop oor:name="URL" oor:type="xs:string"> - <value>vnd.sun.star.script:HelpAuthoring._Main.CreateFile?language=Basic&location=application</value> + <value>com.sun.star.text.TextDocument</value> </prop> <prop oor:name="Title" oor:type="xs:string"> - <value/> - <value xml:lang="en-US">Create Help File...</value> - </prop> + <value xml:lang="en-US">Paragraph Styles</value> + </prop> + <node oor:name="Submenu"> + <node oor:name="m00" oor:op="replace"> + <prop oor:name="URL" oor:type="xs:string"> + <value>.uno:StyleApply?Style:string=hlp_head1&FamilyName:string=ParagraphStyles</value> + </prop> + <prop oor:name="Title" oor:type="xs:string"> + <value xml:lang="en-US">Page Title (hlp_head1)</value> + </prop> + </node> + <node oor:name="m01" oor:op="replace"> + <prop oor:name="URL" oor:type="xs:string"> + <value>.uno:StyleApply?Style:string=hlp_head2&FamilyName:string=ParagraphStyles</value> + </prop> + <prop oor:name="Title" oor:type="xs:string"> + <value xml:lang="en-US">Heading 2 (hlp_head2)</value> + </prop> + </node> + <node oor:name="m02" oor:op="replace"> + <prop oor:name="URL" oor:type="xs:string"> + <value>.uno:StyleApply?Style:string=hlp_head3&FamilyName:string=ParagraphStyles</value> + </prop> + <prop oor:name="Title" oor:type="xs:string"> + <value xml:lang="en-US">Heading 3 (hlp_head3)</value> + </prop> + </node> + <node oor:name="m03" oor:op="replace"> + <prop oor:name="URL" oor:type="xs:string"> + <value>.uno:StyleApply?Style:string=hlp_paragraph&FamilyName:string=ParagraphStyles</value> + </prop> + <prop oor:name="Title" oor:type="xs:string"> + <value xml:lang="en-US">Default (hlp_paragraph)</value> + </prop> + </node> + <node oor:name="m04" oor:op="replace"> + <prop oor:name="URL" oor:type="xs:string"> + <value>.uno:StyleApply?Style:string=hlp_warning&FamilyName:string=ParagraphStyles</value> + </prop> + <prop oor:name="Title" oor:type="xs:string"> + <value xml:lang="en-US">Warning (hlp_warning)</value> + </prop> + </node> + <node oor:name="m05" oor:op="replace"> + <prop oor:name="URL" oor:type="xs:string"> + <value>.uno:StyleApply?Style:string=hlp_note&FamilyName:string=ParagraphStyles</value> + </prop> + <prop oor:name="Title" oor:type="xs:string"> + <value xml:lang="en-US">Note (hlp_note)</value> + </prop> + </node> + </node> </node> - <node oor:name="m03" oor:op="replace"> + <node oor:name="m07" oor:op="replace"> <prop oor:name="URL" oor:type="xs:string"> - <value>vnd.sun.star.script:HelpAuthoring._Main.OpenXHP?language=Basic&location=application</value> + <value>com.sun.star.text.TextDocument</value> </prop> <prop oor:name="Title" oor:type="xs:string"> - <value/> - <value xml:lang="en-US">Open Help File...</value> + <value xml:lang="en-US">Character Styles</value> + </prop> + <node oor:name="Submenu"> + <node oor:name="m00" oor:op="replace"> + <prop oor:name="URL" oor:type="xs:string"> + <value>.uno:StyleApply?Style:string=hlp_emph&FamilyName:string=CharacterStyles</value> + </prop> + <prop oor:name="Title" oor:type="xs:string"> + <value xml:lang="en-US">Bold (hlp_emph)</value> + </prop> + </node> + <node oor:name="m01" oor:op="replace"> + <prop oor:name="URL" oor:type="xs:string"> + <value>.uno:StyleApply?Style:string=hlp_menuitem&FamilyName:string=CharacterStyles</value> + </prop> + <prop oor:name="Title" oor:type="xs:string"> + <value xml:lang="en-US">Menu Item Path (hlp_menuitem)</value> + </prop> + </node> + </node> + </node> + + <!-- Functions that embed and link to content --> + <node oor:name="m10" oor:op="replace"> + <prop oor:name="URL" oor:type="xs:string"> + <value>private:separator</value> </prop> </node> - <node oor:name="m04" oor:op="replace"> + <node oor:name="m11" oor:op="replace"> <prop oor:name="URL" oor:type="xs:string"> - <value>vnd.sun.star.script:HelpAuthoring.Validate.Validate?language=Basic&location=application</value> + <value>vnd.sun.star.script:HelpAuthoring.Embed.Main?language=Basic&location=application</value> </prop> <prop oor:name="Title" oor:type="xs:string"> <value/> - <value xml:lang="en-US">Validate this Help File</value> + <value xml:lang="en-US">Transclude (<embed>) </value> </prop> </node> - <node oor:name="m05" oor:op="replace"> + <node oor:name="m12" oor:op="replace"> <prop oor:name="URL" oor:type="xs:string"> - <value>private:separator</value> + <value>vnd.sun.star.script:HelpAuthoring.Link.Main?language=Basic&location=application</value> + </prop> + <prop oor:name="Title" oor:type="xs:string"> + <value/> + <value xml:lang="en-US">Insert Link (<link>) </value> </prop> </node> - <node oor:name="m06" oor:op="replace"> + <node oor:name="m13" oor:op="replace"> <prop oor:name="URL" oor:type="xs:string"> - <value>vnd.sun.star.script:HelpAuthoring.Helpers.InsertNewParaData?language=Basic&location=application</value> + <value>vnd.sun.star.script:HelpAuthoring.OtherElements.InsertSection?language=Basic&location=application</value> </prop> <prop oor:name="Title" oor:type="xs:string"> <value/> - <value xml:lang="en-US">Assign ID</value> + <value xml:lang="en-US">Insert Section (<section>) </value> </prop> </node> - <node oor:name="m07" oor:op="replace"> + <node oor:name="m14" oor:op="replace"> <prop oor:name="URL" oor:type="xs:string"> - <value>vnd.sun.star.script:HelpAuthoring.Meta.Main?language=Basic&location=application</value> + <value>vnd.sun.star.script:HelpAuthoring.OtherElements.InsertHowToGet?language=Basic&location=application</value> </prop> <prop oor:name="Title" oor:type="xs:string"> <value/> - <value xml:lang="en-US">Edit Meta Data</value> + <value xml:lang="en-US">Insert "How to Get" Section </value> </prop> </node> - <node oor:name="m08" oor:op="replace"> + <node oor:name="m15" oor:op="replace"> <prop oor:name="URL" oor:type="xs:string"> - <value>vnd.sun.star.script:HelpAuthoring.OtherElements.ToggleParaL10NStatus?language=Basic&location=application</value> + <value>vnd.sun.star.script:HelpAuthoring.OtherElements.InsertRelatedTopics?language=Basic&location=application</value> </prop> <prop oor:name="Title" oor:type="xs:string"> <value/> - <value xml:lang="en-US">Toggle L10N</value> + <value xml:lang="en-US">Insert "Related Topics" Section </value> </prop> </node> - <node oor:name="m09" oor:op="replace"> + <node oor:name="m16" oor:op="replace"> <prop oor:name="URL" oor:type="xs:string"> - <value>vnd.sun.star.script:HelpAuthoring.Embed.Main?language=Basic&location=application</value> + <value>vnd.sun.star.script:HelpAuthoring.OtherElements.InsertVariable?language=Basic&location=application</value> </prop> <prop oor:name="Title" oor:type="xs:string"> <value/> - <value xml:lang="en-US">Transclude (Embed)</value> + <value xml:lang="en-US">Insert Variable (<variable>) </value> </prop> </node> - <node oor:name="m10" oor:op="replace"> + + <!-- Insert invisible tags --> + <node oor:name="m20" oor:op="replace"> <prop oor:name="URL" oor:type="xs:string"> <value>private:separator</value> </prop> </node> - <node oor:name="m11" oor:op="replace"> + <node oor:name="m21" oor:op="replace"> <prop oor:name="URL" oor:type="xs:string"> - <value>vnd.sun.star.script:HelpAuthoring.Comment.Main?language=Basic&location=application</value> + <value>vnd.sun.star.script:HelpAuthoring.HID.Main?language=Basic&location=application</value> </prop> <prop oor:name="Title" oor:type="xs:string"> <value/> - <value xml:lang="en-US">Insert Comment</value> + <value xml:lang="en-US">Insert Help ID </value> </prop> </node> - <node oor:name="m12" oor:op="replace"> + <node oor:name="m22" oor:op="replace"> <prop oor:name="URL" oor:type="xs:string"> - <value>vnd.sun.star.script:HelpAuthoring.Table.Main?language=Basic&location=application</value> + <value>vnd.sun.star.script:HelpAuthoring.OtherElements.InsertExtendedTip?language=Basic&location=application</value> </prop> <prop oor:name="Title" oor:type="xs:string"> <value/> - <value xml:lang="en-US">Insert Table</value> + <value xml:lang="en-US">Insert Extended Tip (<avis/ahis>) </value> </prop> </node> - <node oor:name="m13" oor:op="replace"> + <node oor:name="m23" oor:op="replace"> <prop oor:name="URL" oor:type="xs:string"> - <value>vnd.sun.star.script:HelpAuthoring.Link.Main?language=Basic&location=application</value> + <value>vnd.sun.star.script:HelpAuthoring.Comment.Main?language=Basic&location=application</value> </prop> <prop oor:name="Title" oor:type="xs:string"> <value/> - <value xml:lang="en-US">Insert Link</value> + <value xml:lang="en-US">Insert Comment </value> </prop> </node> - <node oor:name="m14" oor:op="replace"> + <node oor:name="m24" oor:op="replace"> <prop oor:name="URL" oor:type="xs:string"> - <value>vnd.sun.star.script:HelpAuthoring.HID.Main?language=Basic&location=application</value> + <value>vnd.sun.star.script:HelpAuthoring.IND.Main?language=Basic&location=application</value> </prop> <prop oor:name="Title" oor:type="xs:string"> <value/> - <value xml:lang="en-US">Insert Help ID</value> + <value xml:lang="en-US">Insert Index Entry </value> </prop> </node> - <node oor:name="m15" oor:op="replace"> + <!-- Switch entry should go here --> + + <!-- Insert visible objects --> + <node oor:name="m50" oor:op="replace"> <prop oor:name="URL" oor:type="xs:string"> - <value>vnd.sun.star.script:HelpAuthoring.IND.Main?language=Basic&location=application</value> - </prop> - <prop oor:name="Title" oor:type="xs:string"> - <value/> - <value xml:lang="en-US">Insert Index Entry</value> + <value>private:separator</value> </prop> </node> - <node oor:name="m16" oor:op="replace"> + <node oor:name="m51" oor:op="replace"> <prop oor:name="URL" oor:type="xs:string"> - <value>vnd.sun.star.script:HelpAuthoring.OtherElements.InsertExtendedTip?language=Basic&location=application</value> + <value>vnd.sun.star.script:HelpAuthoring.Table.Main?language=Basic&location=application</value> </prop> <prop oor:name="Title" oor:type="xs:string"> <value/> - <value xml:lang="en-US">Insert Extended Tip</value> + <value xml:lang="en-US">Insert Table </value> </prop> </node> - <node oor:name="m17" oor:op="replace"> + <node oor:name="m52" oor:op="replace"> <prop oor:name="URL" oor:type="xs:string"> - <value>vnd.sun.star.script:HelpAuthoring.OtherElements.InsertHowToGet?language=Basic&location=application</value> + <value>vnd.sun.star.script:HelpAuthoring.OtherElements.InsertGraphic?language=Basic&location=application</value> </prop> <prop oor:name="Title" oor:type="xs:string"> <value/> - <value xml:lang="en-US">"How to Get" Section</value> + <value xml:lang="en-US">Insert Image </value> </prop> </node> - <node oor:name="m18" oor:op="replace"> + + <!-- Functions that are automatically run when saving a file, so they arent that needed --> + <node oor:name="m80" oor:op="replace"> <prop oor:name="URL" oor:type="xs:string"> - <value>vnd.sun.star.script:HelpAuthoring.OtherElements.InsertGraphic?language=Basic&location=application</value> + <value>private:separator</value> + </prop> + </node> + <node oor:name="m81" oor:op="replace"> + <prop oor:name="URL" oor:type="xs:string"> + <value>vnd.sun.star.script:HelpAuthoring.Meta.Main?language=Basic&location=application</value> </prop> <prop oor:name="Title" oor:type="xs:string"> <value/> - <value xml:lang="en-US">Insert Image</value> + <value xml:lang="en-US">Edit Meta Data </value> </prop> </node> - <node oor:name="m19" oor:op="replace"> + <node oor:name="m82" oor:op="replace"> <prop oor:name="URL" oor:type="xs:string"> - <value>vnd.sun.star.script:HelpAuthoring.OtherElements.InsertSection?language=Basic&location=application</value> + <value>vnd.sun.star.script:HelpAuthoring.Helpers.InsertNewParaData?language=Basic&location=application</value> </prop> <prop oor:name="Title" oor:type="xs:string"> <value/> - <value xml:lang="en-US">Insert Section</value> + <value xml:lang="en-US">Assign Paragraph ID </value> </prop> </node> - <node oor:name="m20" oor:op="replace"> + <node oor:name="m83" oor:op="replace"> <prop oor:name="URL" oor:type="xs:string"> - <value>vnd.sun.star.script:HelpAuthoring.OtherElements.InsertVariable?language=Basic&location=application</value> + <value>vnd.sun.star.script:HelpAuthoring.OtherElements.ToggleParaL10NStatus?language=Basic&location=application</value> </prop> <prop oor:name="Title" oor:type="xs:string"> <value/> - <value xml:lang="en-US">Insert Variable</value> + <value xml:lang="en-US">Toggle L10N </value> </prop> </node> - <node oor:name="m21" oor:op="replace"> + <node oor:name="m84" oor:op="replace"> <prop oor:name="URL" oor:type="xs:string"> - <value>vnd.sun.star.script:HelpAuthoring.OtherElements.InsertRelatedTopics?language=Basic&location=application</value> + <value>vnd.sun.star.script:HelpAuthoring.Validate.Validate?language=Basic&location=application</value> </prop> <prop oor:name="Title" oor:type="xs:string"> <value/> - <value xml:lang="en-US">"Related Topics" Section</value> + <value xml:lang="en-US">Validate this Help File </value> </prop> </node> - <node oor:name="m22" oor:op="replace"> + + <!-- Functions that could easily be removed --> + <node oor:name="m90" oor:op="replace"> <prop oor:name="URL" oor:type="xs:string"> <value>private:separator</value> </prop> </node> - <node oor:name="m23" oor:op="replace"> + <node oor:name="m91" oor:op="replace"> + <prop oor:name="URL" oor:type="xs:string"> + <value>vnd.sun.star.script:HelpAuthoring.Helpers.SetDocumentRoot?language=Basic&location=application</value> + </prop> + <prop oor:name="Title" oor:type="xs:string"> + <value/> + <value xml:lang="en-US">Set Document Root</value> + </prop> + </node> + <node oor:name="m92" oor:op="replace"> <prop oor:name="URL" oor:type="xs:string"> <value>vnd.sun.star.script:HelpAuthoring._Main.DisplayVersion?language=Basic&location=application</value> </prop> _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits