1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26
|
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE dlg:window PUBLIC "-//OpenOffice.org//DTD OfficeDocument 1.0//EN" "dialog.dtd">
<dlg:window xmlns:dlg="http://openoffice.org/2000/dialog" xmlns:script="http://openoffice.org/2000/script" dlg:id="TexMathsPreamble_GUI" dlg:left="0" dlg:top="0" dlg:width="278" dlg:height="237" dlg:closeable="true" dlg:moveable="true" dlg:title="TexMaths Preamble" dlg:withtitlebar="false">
<dlg:bulletinboard>
<dlg:textfield dlg:id="Preamble" dlg:tab-index="0" dlg:left="2" dlg:top="4" dlg:width="273" dlg:height="175" dlg:hide-inactive-selection="false" dlg:vscroll="true" dlg:multiline="true"/>
<dlg:button dlg:id="ApplyButton" dlg:tab-index="6" dlg:left="193" dlg:top="218" dlg:width="80" dlg:height="15" dlg:help-text="Apply current preamble" dlg:default="true" dlg:value="Apply">
<script:event script:event-name="on-performaction" script:macro-name="vnd.sun.star.script:TexMaths.TexMathsPreamble.ApplyPreambleButton_Clicked?language=Basic&location=application" script:language="Script"/>
</dlg:button>
<dlg:checkbox dlg:id="IgnorePreamble" dlg:tab-index="7" dlg:left="2" dlg:top="184" dlg:width="240" dlg:height="8" dlg:help-text="Ignore preamble when generating LaTeX type equations. Full LaTeX code must then be entered in the TexMaths equation dialog." dlg:tabstop="false" dlg:value="Do not use preamble for LaTeX type equations" dlg:valign="center" dlg:checked="false"/>
<dlg:button dlg:id="LoadGlobalButton" dlg:tab-index="1" dlg:left="4" dlg:top="198" dlg:width="80" dlg:height="15" dlg:help-text="Load global preamble" dlg:value="Load Global">
<script:event script:event-name="on-performaction" script:macro-name="vnd.sun.star.script:TexMaths.TexMathsPreamble.LoadGlobalPreambleButton_Clicked?language=Basic&location=application" script:language="Script"/>
</dlg:button>
<dlg:button dlg:id="SaveGlobalButton" dlg:tab-index="4" dlg:left="4" dlg:top="218" dlg:width="80" dlg:height="15" dlg:help-text="Save current preamble as global and apply it" dlg:value="Save Global">
<script:event script:event-name="on-performaction" script:macro-name="vnd.sun.star.script:TexMaths.TexMathsPreamble.SaveGlobalPreambleButton_Clicked?language=Basic&location=application" script:language="Script"/>
</dlg:button>
<dlg:button dlg:id="LoadLocalButton" dlg:tab-index="2" dlg:left="97" dlg:top="198" dlg:width="80" dlg:height="15" dlg:help-text="Load local preamble (from the current document)" dlg:value="Load Local">
<script:event script:event-name="on-performaction" script:macro-name="vnd.sun.star.script:TexMaths.TexMathsPreamble.LoadLocalPreambleButton_Clicked?language=Basic&location=application" script:language="Script"/>
</dlg:button>
<dlg:button dlg:id="SaveLocalButton" dlg:tab-index="5" dlg:left="97" dlg:top="218" dlg:width="80" dlg:height="15" dlg:help-text="Save current preamble as local (into the current document) and apply it" dlg:value="Save Local">
<script:event script:event-name="on-performaction" script:macro-name="vnd.sun.star.script:TexMaths.TexMathsPreamble.SaveLocalPreambleButton_Clicked?language=Basic&location=application" script:language="Script"/>
</dlg:button>
<dlg:button dlg:id="LoadDefaultButton" dlg:tab-index="3" dlg:left="193" dlg:top="198" dlg:width="80" dlg:height="15" dlg:help-text="Load default preamble" dlg:value="Load Default">
<script:event script:event-name="on-performaction" script:macro-name="vnd.sun.star.script:TexMaths.TexMathsPreamble.LoadDefaultPreambleButton_Clicked?language=Basic&location=application" script:language="Script"/>
</dlg:button>
</dlg:bulletinboard>
</dlg:window>
|