1<?xml version="1.0" encoding="UTF-8"?> 2<!DOCTYPE dlg:window PUBLIC "-//OpenOffice.org//DTD OfficeDocument 1.0//EN" "dialog.dtd"> 3<!--*********************************************************** 4 * 5 * Licensed to the Apache Software Foundation (ASF) under one 6 * or more contributor license agreements. See the NOTICE file 7 * distributed with this work for additional information 8 * regarding copyright ownership. The ASF licenses this file 9 * to you under the Apache License, Version 2.0 (the 10 * "License"); you may not use this file except in compliance 11 * with the License. You may obtain a copy of the License at 12 * 13 * http://www.apache.org/licenses/LICENSE-2.0 14 * 15 * Unless required by applicable law or agreed to in writing, 16 * software distributed under the License is distributed on an 17 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 18 * KIND, either express or implied. See the License for the 19 * specific language governing permissions and limitations 20 * under the License. 21 * 22 ***********************************************************--> 23<dlg:window xmlns:dlg="http://openoffice.org/2000/dialog" xmlns:script="http://openoffice.org/2000/script" dlg:id="MenuBindingDialog" dlg:left="64" dlg:top="89" dlg:width="179" dlg:height="236" dlg:closeable="true" dlg:moveable="true" dlg:title="Assign Script To Menu"> 24 <dlg:styles> 25 <dlg:style dlg:style-id="0" dlg:font-height="7"/> 26 </dlg:styles> 27 <dlg:bulletinboard> 28 <dlg:combobox dlg:id="LocationCombo" dlg:tab-index="0" dlg:left="63" dlg:top="17" dlg:width="108" dlg:height="13" dlg:spin="true"> 29 <script:event script:event-name="on-itemstatechange" script:location="application" script:macro-name="ScriptBindingLibrary.ScriptBinding.LangLocComboListener" script:language="StarBasic"/> 30 <script:event script:event-name="on-keydown" script:location="application" script:macro-name="ScriptBindingLibrary.ScriptBinding.fireLangLocComboListernerOnRet" script:language="StarBasic"/> 31 </dlg:combobox> 32 <dlg:combobox dlg:id="LanguageCombo" dlg:tab-index="1" dlg:left="63" dlg:top="32" dlg:width="108" dlg:height="13" dlg:spin="true"> 33 <script:event script:event-name="on-itemstatechange" script:location="application" script:macro-name="ScriptBindingLibrary.ScriptBinding.LangLocComboListener" script:language="StarBasic"/> 34 <script:event script:event-name="on-keydown" script:location="application" script:macro-name="ScriptBindingLibrary.ScriptBinding.fireLangLocComboListernerOnRet" script:language="StarBasic"/> 35 </dlg:combobox> 36 <dlg:checkbox dlg:id="detail" dlg:tab-index="2" dlg:left="17" dlg:top="57" dlg:width="44" dlg:height="10" dlg:value="Detailed view" dlg:checked="false"> 37 <script:event script:event-name="on-itemstatechange" script:location="application" script:macro-name="ScriptBindingLibrary.ScriptBinding.LangLocComboListener" script:language="StarBasic"/> 38 </dlg:checkbox> 39 <dlg:menulist dlg:id="ScriptList" dlg:tab-index="3" dlg:left="63" dlg:top="49" dlg:width="108" dlg:height="44"/> 40 <dlg:button dlg:id="Browse" dlg:tab-index="4" dlg:disabled="true" dlg:left="17" dlg:top="71" dlg:width="36" dlg:height="14" dlg:value="Browse..."> 41 <script:event script:event-name="on-performaction" script:location="application" script:macro-name="ScriptBindingLibrary.ScriptBinding.BrowseButton" script:language="StarBasic"/> 42 </dlg:button> 43 <dlg:combobox dlg:id="MenuCombo" dlg:tab-index="5" dlg:left="63" dlg:top="109" dlg:width="108" dlg:height="13" dlg:spin="true"> 44 <script:event script:event-name="on-itemstatechange" script:location="application" script:macro-name="ScriptBindingLibrary.ScriptBinding.MenuComboListener" script:language="StarBasic"/> 45 <script:event script:event-name="on-keydown" script:location="application" script:macro-name="ScriptBindingLibrary.ScriptBinding.fireMenuComboListernerOnRet" script:language="StarBasic"/> 46 </dlg:combobox> 47 <dlg:menulist dlg:id="SubMenuList" dlg:tab-index="6" dlg:left="63" dlg:top="125" dlg:width="108" dlg:height="44"> 48 <script:event script:event-name="on-itemstatechange" script:location="application" script:macro-name="ScriptBindingLibrary.ScriptBinding.SubMenuListListener" script:language="StarBasic"/> 49 </dlg:menulist> 50 <dlg:button dlg:id="Delete" dlg:tab-index="7" dlg:left="17" dlg:top="142" dlg:width="36" dlg:height="14" dlg:value="Delete"> 51 <script:event script:event-name="on-performaction" script:location="application" script:macro-name="ScriptBindingLibrary.ScriptBinding.MenuDeleteButton" script:language="StarBasic"/> 52 </dlg:button> 53 <dlg:button dlg:id="NewButton" dlg:tab-index="8" dlg:left="17" dlg:top="186" dlg:width="36" dlg:height="14" dlg:value="New"> 54 <script:event script:event-name="on-performaction" script:location="application" script:macro-name="ScriptBindingLibrary.ScriptBinding.MenuNewButton" script:language="StarBasic"/> 55 </dlg:button> 56 <dlg:textfield dlg:id="MenuLabelBox" dlg:tab-index="9" dlg:left="63" dlg:top="187" dlg:width="108" dlg:height="13"> 57 <script:event script:event-name="on-blur" script:location="application" script:macro-name="ScriptBindingLibrary.ScriptBinding.MenuLabelBoxListener" script:language="StarBasic"/> 58 <script:event script:event-name="on-keydown" script:location="application" script:macro-name="ScriptBindingLibrary.ScriptBinding.MenuLabelBoxListener" script:language="StarBasic"/> 59 </dlg:textfield> 60 <dlg:button dlg:id="OK" dlg:tab-index="10" dlg:left="57" dlg:top="216" dlg:width="36" dlg:height="14" dlg:value="OK"> 61 <script:event script:event-name="on-performaction" script:location="application" script:macro-name="ScriptBindingLibrary.ScriptBinding.MenuOKButton" script:language="StarBasic"/> 62 </dlg:button> 63 <dlg:button dlg:id="Cancel" dlg:tab-index="11" dlg:left="96" dlg:top="216" dlg:width="36" dlg:height="14" dlg:value="Cancel"> 64 <script:event script:event-name="on-performaction" script:location="application" script:macro-name="ScriptBindingLibrary.ScriptBinding.MenuCancelButton" script:language="StarBasic"/> 65 </dlg:button> 66 <dlg:button dlg:id="Help" dlg:tab-index="12" dlg:left="136" dlg:top="216" dlg:width="36" dlg:height="14" dlg:value="Help"> 67 <script:event script:event-name="on-performaction" script:location="application" script:macro-name="ScriptBindingLibrary.ScriptBinding.MenuHelpButton" script:language="StarBasic"/> 68 </dlg:button> 69 <dlg:fixedline dlg:id="FixedLine2" dlg:tab-index="13" dlg:left="8" dlg:top="206" dlg:width="167" dlg:height="7"/> 70 <dlg:fixedline dlg:id="FixedLine3" dlg:tab-index="14" dlg:left="73" dlg:top="174" dlg:width="102" dlg:height="6"/> 71 <dlg:text dlg:id="Label2" dlg:tab-index="15" dlg:left="5" dlg:top="172" dlg:width="73" dlg:height="9" dlg:value="Assign script to new menu"/> 72 <dlg:fixedline dlg:id="FixedLine4" dlg:tab-index="16" dlg:left="75" dlg:top="99" dlg:width="100" dlg:height="6"/> 73 <dlg:text dlg:id="Label4" dlg:tab-index="17" dlg:left="5" dlg:top="97" dlg:width="75" dlg:height="8" dlg:value="Choose menu to insert after"/> 74 <dlg:text dlg:id="Label5" dlg:tab-index="18" dlg:left="12" dlg:top="111" dlg:width="40" dlg:height="11" dlg:value="Toplevel Menu"/> 75 <dlg:text dlg:id="Label6" dlg:tab-index="19" dlg:left="12" dlg:top="127" dlg:width="40" dlg:height="11" dlg:value="Sub Menu"/> 76 <dlg:fixedline dlg:id="FixedLine1" dlg:tab-index="20" dlg:left="42" dlg:top="6" dlg:width="132" dlg:height="7"/> 77 <dlg:text dlg:id="Label1" dlg:tab-index="21" dlg:left="5" dlg:top="6" dlg:width="36" dlg:height="9" dlg:value="Select script"/> 78 <dlg:text dlg:id="Label7" dlg:tab-index="22" dlg:left="12" dlg:top="17" dlg:width="28" dlg:height="7" dlg:value="Location"/> 79 <dlg:text dlg:id="Label8" dlg:tab-index="23" dlg:left="12" dlg:top="32" dlg:width="35" dlg:height="9" dlg:value="Language"/> 80 <dlg:text dlg:id="Label9" dlg:tab-index="24" dlg:left="12" dlg:top="49" dlg:width="23" dlg:height="8" dlg:value="Script"/> 81 <dlg:text dlg:style-id="0" dlg:id="AddOn" dlg:tab-index="25" dlg:disabled="true" dlg:left="17" dlg:top="156" dlg:width="38" dlg:height="11" dlg:value="[Add-on's only]"/> 82 <dlg:text dlg:id="Label10" dlg:tab-index="27" dlg:left="9" dlg:top="89" dlg:width="0" dlg:height="0" dlg:value="Label10"/> 83 <dlg:text dlg:id="fsonly" dlg:tab-index="26" dlg:disabled="true" dlg:left="13" dlg:top="86" dlg:width="45" dlg:height="8" dlg:value="[Filesystem only]"/> 84 </dlg:bulletinboard> 85</dlg:window> 86