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="EventBindingDialog" dlg:left="64" dlg:top="99" dlg:width="179" dlg:height="209" dlg:closeable="true" dlg:moveable="true" dlg:title="Assign Script To Event"> 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="19" dlg:width="108" dlg:height="12" 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="31" dlg:width="108" dlg:height="12" 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="48" 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:radiogroup> 44 <dlg:radio dlg:id="AllAppsOption" dlg:tab-index="5" dlg:left="12" dlg:top="107" dlg:width="51" dlg:height="10" dlg:value="All Applications"> 45 <script:event script:event-name="on-itemstatechange" script:location="application" script:macro-name="ScriptBindingLibrary.ScriptBinding.AppDocEventListener" script:language="StarBasic"/> 46 </dlg:radio> 47 <dlg:radio dlg:id="DocumentOption" dlg:tab-index="6" dlg:left="12" dlg:top="119" dlg:width="46" dlg:height="10" dlg:value="Document" dlg:checked="true"> 48 <script:event script:event-name="on-itemstatechange" script:location="application" script:macro-name="ScriptBindingLibrary.ScriptBinding.AppDocEventListener" script:language="StarBasic"/> 49 </dlg:radio> 50 </dlg:radiogroup> 51 <dlg:menulist dlg:id="EventList" dlg:tab-index="7" dlg:left="64" dlg:top="109" dlg:width="108" dlg:height="64"> 52 <script:event script:event-name="on-itemstatechange" script:location="application" script:macro-name="ScriptBindingLibrary.ScriptBinding.EventListListener" script:language="StarBasic"/> 53 </dlg:menulist> 54 <dlg:button dlg:id="Delete" dlg:tab-index="8" dlg:left="17" dlg:top="131" dlg:width="36" dlg:height="13" dlg:value="Delete"> 55 <script:event script:event-name="on-performaction" script:location="application" script:macro-name="ScriptBindingLibrary.ScriptBinding.EventDeleteButton" script:language="StarBasic"/> 56 </dlg:button> 57 <dlg:button dlg:id="NewButton" dlg:tab-index="9" dlg:left="17" dlg:top="159" dlg:width="36" dlg:height="13" dlg:value="Assign"> 58 <script:event script:event-name="on-performaction" script:location="application" script:macro-name="ScriptBindingLibrary.ScriptBinding.EventNewButton" script:language="StarBasic"/> 59 </dlg:button> 60 <dlg:button dlg:id="OK" dlg:tab-index="10" dlg:left="57" dlg:top="192" dlg:width="36" dlg:height="13" dlg:value="OK"> 61 <script:event script:event-name="on-performaction" script:location="application" script:macro-name="ScriptBindingLibrary.ScriptBinding.EventOKButton" script:language="StarBasic"/> 62 </dlg:button> 63 <dlg:button dlg:id="Cancel" dlg:tab-index="11" dlg:left="96" dlg:top="192" dlg:width="36" dlg:height="13" 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="192" dlg:width="36" dlg:height="13" 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="9" dlg:top="182" dlg:width="167" dlg:height="6"/> 70 <dlg:fixedline dlg:id="FixedLine4" dlg:tab-index="14" dlg:left="76" dlg:top="99" dlg:width="98" dlg:height="5"/> 71 <dlg:text dlg:id="Label4" dlg:tab-index="15" dlg:left="5" dlg:top="97" dlg:width="71" dlg:height="8" dlg:value="Choose Event to assign to"/> 72 <dlg:fixedline dlg:id="FixedLine1" dlg:tab-index="16" dlg:left="42" dlg:top="7" dlg:width="132" dlg:height="6"/> 73 <dlg:text dlg:id="Label1" dlg:tab-index="17" dlg:left="5" dlg:top="7" dlg:width="36" dlg:height="8" dlg:value="Select script"/> 74 <dlg:text dlg:id="Label7" dlg:tab-index="18" dlg:left="12" dlg:top="17" dlg:width="28" dlg:height="7" dlg:value="Location"/> 75 <dlg:text dlg:id="Label8" dlg:tab-index="19" dlg:left="12" dlg:top="32" dlg:width="35" dlg:height="9" dlg:value="Language"/> 76 <dlg:text dlg:id="Label9" dlg:tab-index="20" dlg:left="12" dlg:top="49" dlg:width="23" dlg:height="8" dlg:value="Script"/> 77 <dlg:text dlg:id="Label10" dlg:tab-index="21" dlg:left="103" dlg:top="-19" dlg:width="3" dlg:height="0" dlg:value="Label10"/> 78 <dlg:text dlg:style-id="0" dlg:id="AddOn" dlg:tab-index="22" dlg:disabled="true" dlg:left="17" dlg:top="144" dlg:width="38" dlg:height="10" dlg:value="[Add-on's only]"/> 79 <dlg:text dlg:id="fsonly" dlg:tab-index="23" dlg:disabled="true" dlg:left="13" dlg:top="86" dlg:width="45" dlg:height="8" dlg:value="[Filesystem only]"/> 80 </dlg:bulletinboard> 81</dlg:window> 82