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="dlgEmbed" dlg:left="180" dlg:top="139" dlg:width="203" dlg:height="86" dlg:closeable="true" dlg:moveable="true" dlg:title="Embed Section"> 24 <dlg:styles> 25 <dlg:style dlg:style-id="0" dlg:border="simple"/> 26 <dlg:style dlg:style-id="1" dlg:border="0xffffff"/> 27 </dlg:styles> 28 <dlg:bulletinboard> 29 <dlg:text dlg:id="lblFilename" dlg:tab-index="0" dlg:left="5" dlg:top="5" dlg:width="78" dlg:height="8" dlg:value="File Name" dlg:tabstop="false"/> 30 <dlg:textfield dlg:style-id="0" dlg:id="txtFilePath" dlg:tab-index="1" dlg:left="5" dlg:top="15" dlg:width="153" dlg:height="10" dlg:help-text="Enter file path here (relative to Document Root)" dlg:tabstop="true"> 31 <script:event script:event-name="on-blur" script:location="application" script:macro-name="HelpAuthoring.Embed.UpdateFileName" script:language="StarBasic"/> 32 </dlg:textfield> 33 <dlg:button dlg:id="butBrowse" dlg:tab-index="2" dlg:left="162" dlg:top="15" dlg:width="33" dlg:height="10" dlg:help-text="Browse for a file" dlg:tabstop="true" dlg:value="Browse"> 34 <script:event script:event-name="on-mousedown" script:location="application" script:macro-name="HelpAuthoring.Embed.GetFile" script:language="StarBasic"/> 35 </dlg:button> 36 <dlg:button dlg:id="CommandButton1" dlg:tab-index="10" dlg:left="83" dlg:top="31" dlg:width="1" dlg:height="0" dlg:value="CommandButton1"/> 37 <dlg:button dlg:id="CommandButton2" dlg:tab-index="9" dlg:left="158" dlg:top="67" dlg:width="43" dlg:height="14" dlg:help-text="Inserts the comment and closes the dialog" dlg:tabstop="true" dlg:default="true" dlg:value="Ok" dlg:button-type="ok"/> 38 <dlg:button dlg:id="CommandButton3" dlg:tab-index="8" dlg:left="110" dlg:top="67" dlg:width="43" dlg:height="14" dlg:help-text="Closes the dialog without inserting the comment" dlg:tabstop="true" dlg:value="Cancel" dlg:button-type="cancel"/> 39 <dlg:text dlg:id="lblID" dlg:tab-index="11" dlg:left="6" dlg:top="35" dlg:width="151" dlg:height="8" dlg:value="Section ID" dlg:tabstop="false"/> 40 <dlg:textfield dlg:style-id="0" dlg:id="txtID" dlg:tab-index="5" dlg:left="6" dlg:top="45" dlg:width="152" dlg:height="10" dlg:help-text="Enter the ID of the section or variable to be embedded" dlg:tabstop="true"/> 41 <dlg:radiogroup> 42 <dlg:radio dlg:id="opSection" dlg:tab-index="3" dlg:disabled="true" dlg:left="1" dlg:top="-26" dlg:width="35" dlg:height="10" dlg:tabstop="true" dlg:value="b" dlg:checked="true"> 43 <script:event script:event-name="on-itemstatechange" script:location="application" script:macro-name="HelpAuthoring.Embed.SetLabel" script:language="StarBasic"/> 44 </dlg:radio> 45 <dlg:radio dlg:id="opVariable" dlg:tab-index="4" dlg:disabled="true" dlg:left="45" dlg:top="-26" dlg:width="35" dlg:height="9" dlg:tabstop="true" dlg:value="i"> 46 <script:event script:event-name="on-itemstatechange" script:location="application" script:macro-name="HelpAuthoring.Embed.SetLabel" script:language="StarBasic"/> 47 </dlg:radio> 48 </dlg:radiogroup> 49 <dlg:checkbox dlg:id="cbInsertCR" dlg:tab-index="7" dlg:left="-2" dlg:top="92" dlg:width="92" dlg:height="10" dlg:tabstop="true" dlg:value="Insert Carriage Returns" dlg:checked="true"/> 50 <dlg:button dlg:id="butBrowseIDs" dlg:tab-index="6" dlg:left="163" dlg:top="43" dlg:width="33" dlg:height="10" dlg:help-text="Browse for a file" dlg:tabstop="true" dlg:value="Browse"> 51 <script:event script:event-name="on-mousedown" script:location="application" script:macro-name="HelpAuthoring.Embed.BrowseEmbed" script:language="StarBasic"/> 52 </dlg:button> 53 <dlg:textfield dlg:style-id="1" dlg:id="txtHidFName" dlg:tab-index="12" dlg:left="102" dlg:top="-38" dlg:width="100" dlg:height="15" dlg:readonly="true"/> 54 </dlg:bulletinboard> 55</dlg:window> 56