Merge W4LDialogs into W2LDialogs2
git-svn-id: svn://svn.code.sf.net/p/writer2latex/code/trunk@228 f0f2a975-2e09-46c8-9428-3b39399b9f3c
This commit is contained in:
parent
9f9b9bd7a7
commit
bc2f47a4a0
19 changed files with 88 additions and 87 deletions
37
source/oxt/writer2latex/W2LDialogs2/Applications.xdl
Normal file
37
source/oxt/writer2latex/W2LDialogs2/Applications.xdl
Normal file
|
@ -0,0 +1,37 @@
|
|||
<?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="Configuration" dlg:left="139" dlg:top="84" dlg:width="260" dlg:height="185" dlg:closeable="true" dlg:moveable="true" dlg:title="Writer2LaTeX Toolbar Configuration" dlg:withtitlebar="false" dlg:help-url="org.openoffice.da.writer2latex.oxt:ConfigurationDialog">
|
||||
<dlg:bulletinboard>
|
||||
<dlg:text dlg:id="ExternalAppsLabel" dlg:tab-index="0" dlg:left="6" dlg:top="4" dlg:width="210" dlg:height="12" dlg:value="External Applications"/>
|
||||
<dlg:text dlg:id="AppLabel" dlg:tab-index="1" dlg:left="12" dlg:top="18" dlg:width="55" dlg:height="12" dlg:value="Application"/>
|
||||
<dlg:button dlg:id="BrowseButton" dlg:tab-index="5" dlg:left="200" dlg:top="30" dlg:width="55" dlg:height="14" dlg:value="Browse...">
|
||||
<script:event script:event-name="on-mouseup" script:macro-name="vnd.sun.star.UNO:BrowseClick" script:language="UNO"/>
|
||||
</dlg:button>
|
||||
<dlg:text dlg:id="ExecutableLabel" dlg:tab-index="3" dlg:left="12" dlg:top="32" dlg:width="55" dlg:height="12" dlg:value="Executable"/>
|
||||
<dlg:menulist dlg:id="Application" dlg:tab-index="2" dlg:left="72" dlg:top="16" dlg:width="120" dlg:height="12" dlg:spin="true" dlg:linecount="10" dlg:help-url="org.openoffice.da.writer2latex.oxt:ConfigurationApplication">
|
||||
<dlg:menupopup>
|
||||
<dlg:menuitem dlg:value="LaTeX" dlg:selected="true"/>
|
||||
<dlg:menuitem dlg:value="PdfLaTeX"/>
|
||||
<dlg:menuitem dlg:value="XeLaTeX"/>
|
||||
<dlg:menuitem dlg:value="Dvips"/>
|
||||
<dlg:menuitem dlg:value="BibTeX"/>
|
||||
<dlg:menuitem dlg:value="MakeIndex"/>
|
||||
<!--<dlg:menuitem dlg:value="Mk4ht (TeX4ht)"/>-->
|
||||
<dlg:menuitem dlg:value="DVI Viewer"/>
|
||||
<dlg:menuitem dlg:value="PDF Viewer"/>
|
||||
<dlg:menuitem dlg:value="PostScript Viewer"/>
|
||||
</dlg:menupopup>
|
||||
<script:event script:event-name="on-itemstatechange" script:macro-name="vnd.sun.star.UNO:ApplicationChange" script:language="UNO"/>
|
||||
</dlg:menulist>
|
||||
<dlg:textfield dlg:id="Executable" dlg:tab-index="4" dlg:left="72" dlg:top="30" dlg:width="120" dlg:height="12" dlg:help-url="org.openoffice.da.writer2latex.oxt:ConfigurationExecutable">
|
||||
<script:event script:event-name="on-blur" script:macro-name="vnd.sun.star.UNO:ExecutableUnfocus" script:language="UNO"/>
|
||||
</dlg:textfield>
|
||||
<dlg:textfield dlg:id="Options" dlg:tab-index="7" dlg:left="72" dlg:top="44" dlg:width="120" dlg:height="12" dlg:help-url="org.openoffice.da.writer2latex.oxt:ConfigurationOptions">
|
||||
<script:event script:event-name="on-blur" script:macro-name="vnd.sun.star.UNO:OptionsUnfocus" script:language="UNO"/>
|
||||
</dlg:textfield>
|
||||
<dlg:button dlg:id="AutoButton" dlg:tab-index="8" dlg:left="72" dlg:top="64" dlg:width="120" dlg:height="14" dlg:value="Automatic configuration" dlg:help-url="org.openoffice.da.writer2latex.oxt:ConfigurationAutoButton">
|
||||
<script:event script:event-name="on-mouseup" script:macro-name="vnd.sun.star.UNO:AutomaticClick" script:language="UNO"/>
|
||||
</dlg:button>
|
||||
<dlg:text dlg:id="OptionsLabel" dlg:tab-index="6" dlg:left="12" dlg:top="46" dlg:width="55" dlg:height="12" dlg:value="Options"/>
|
||||
</dlg:bulletinboard>
|
||||
</dlg:window>
|
8
source/oxt/writer2latex/W2LDialogs2/AutoConfigInfo.xdl
Normal file
8
source/oxt/writer2latex/W2LDialogs2/AutoConfigInfo.xdl
Normal file
|
@ -0,0 +1,8 @@
|
|||
<?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="AutoConfigInfo" dlg:left="211" dlg:top="115" dlg:width="250" dlg:height="205" dlg:closeable="true" dlg:moveable="true" dlg:title="Automatic configuration">
|
||||
<dlg:bulletinboard>
|
||||
<dlg:textfield dlg:id="Info" dlg:tab-index="0" dlg:left="10" dlg:top="10" dlg:width="230" dlg:height="160" dlg:hscroll="true" dlg:vscroll="true" dlg:multiline="true" dlg:readonly="true"/>
|
||||
<dlg:button dlg:id="OKButton" dlg:tab-index="1" dlg:left="10" dlg:top="180" dlg:width="70" dlg:height="12" dlg:value="Close" dlg:button-type="ok"/>
|
||||
</dlg:bulletinboard>
|
||||
</dlg:window>
|
29
source/oxt/writer2latex/W2LDialogs2/BibTeXEntry.xdl
Normal file
29
source/oxt/writer2latex/W2LDialogs2/BibTeXEntry.xdl
Normal file
|
@ -0,0 +1,29 @@
|
|||
<?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="BibTeXEntry" dlg:left="117" dlg:top="53" dlg:width="275" dlg:height="100" dlg:closeable="true" dlg:moveable="true" dlg:title="Edit BibTeX references">
|
||||
<dlg:bulletinboard>
|
||||
<dlg:text dlg:id="FileLabel" dlg:tab-index="0" dlg:left="10" dlg:top="10" dlg:width="60" dlg:height="12" dlg:value="BibTeX file"/>
|
||||
<dlg:menulist dlg:id="File" dlg:tab-index="1" dlg:left="75" dlg:top="10" dlg:width="120" dlg:height="12" dlg:help-url="org.openoffice.da.writer2latex.oxt:BibTeXFile" dlg:spin="true">
|
||||
<script:event script:event-name="on-itemstatechange" script:macro-name="vnd.sun.star.UNO:FileChange" script:language="UNO"/>
|
||||
</dlg:menulist>
|
||||
<dlg:text dlg:id="EntryLabel" dlg:tab-index="9" dlg:left="10" dlg:top="24" dlg:width="60" dlg:height="12" dlg:value="BibTeX entry"/>
|
||||
<dlg:menulist dlg:id="Entry" dlg:tab-index="2" dlg:left="75" dlg:top="24" dlg:width="120" dlg:height="12" dlg:help-url="org.openoffice.da.writer2latex.oxt:BibTeXEntry" dlg:spin="true">
|
||||
<script:event script:event-name="on-itemstatechange" script:macro-name="vnd.sun.star.UNO:EntryChange" script:language="UNO"/>
|
||||
</dlg:menulist>
|
||||
<dlg:button dlg:id="New" dlg:tab-index="3" dlg:left="205" dlg:top="10" dlg:width="60" dlg:height="12" dlg:help-url="org.openoffice.da.writer2latex.oxt:BibTeXNew" dlg:value="New...">
|
||||
<script:event script:event-name="on-mouseup" script:macro-name="vnd.sun.star.UNO:New" script:language="UNO"/>
|
||||
</dlg:button>
|
||||
<dlg:button dlg:id="Edit" dlg:tab-index="4" dlg:left="205" dlg:top="24" dlg:width="60" dlg:height="12" dlg:help-url="org.openoffice.da.writer2latex.oxt:BibTeXEdit" dlg:value="Edit">
|
||||
<script:event script:event-name="on-mouseup" script:macro-name="vnd.sun.star.UNO:Edit" script:language="UNO"/>
|
||||
</dlg:button>
|
||||
<dlg:text dlg:id="EntryInformation" dlg:tab-index="10" dlg:left="10" dlg:top="40" dlg:width="255" dlg:height="34"/>
|
||||
<dlg:button dlg:id="Insert" dlg:tab-index="5" dlg:left="10" dlg:top="78" dlg:width="60" dlg:height="12" dlg:help-url="org.openoffice.da.writer2latex.oxt:BibTeXInsert" dlg:value="Insert reference" dlg:button-type="ok">
|
||||
<script:event script:event-name="on-mouseup" script:macro-name="vnd.sun.star.UNO:InsertReference" script:language="UNO"/>
|
||||
</dlg:button>
|
||||
<dlg:button dlg:id="Refresh" dlg:tab-index="6" dlg:left="75" dlg:top="78" dlg:width="60" dlg:height="12" dlg:help-url="org.openoffice.da.writer2latex.oxt:BibTeXRefresh" dlg:value="Refresh">
|
||||
<script:event script:event-name="on-mouseup" script:macro-name="vnd.sun.star.UNO:Refresh" script:language="UNO"/>
|
||||
</dlg:button>
|
||||
<dlg:button dlg:id="Close" dlg:tab-index="7" dlg:left="140" dlg:top="78" dlg:width="60" dlg:height="12" dlg:help-url="org.openoffice.da.writer2latex.oxt:BibTeXClose" dlg:value="Close" dlg:button-type="cancel"/>
|
||||
<dlg:button dlg:id="Help" dlg:tab-index="8" dlg:left="205" dlg:top="78" dlg:width="60" dlg:height="12" dlg:help-url="org.openoffice.da.writer2latex.oxt:BibTeXDialog" dlg:value="Help" dlg:button-type="help"/>
|
||||
</dlg:bulletinboard>
|
||||
</dlg:window>
|
37
source/oxt/writer2latex/W2LDialogs2/Bibliography.xdl
Normal file
37
source/oxt/writer2latex/W2LDialogs2/Bibliography.xdl
Normal file
|
@ -0,0 +1,37 @@
|
|||
<?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="Bibliography" dlg:left="139" dlg:top="84" dlg:width="260" dlg:height="185" dlg:help-url="org.openoffice.da.writer2latex.oxt:BibliographyDialog" dlg:closeable="true" dlg:moveable="true" dlg:title="writer2latex Bibliography Configuration" dlg:withtitlebar="false">
|
||||
<dlg:bulletinboard>
|
||||
<dlg:checkbox dlg:id="ConvertZoteroCitations" dlg:tab-index="2" dlg:left="10" dlg:top="32" dlg:width="240" dlg:height="12" dlg:help-url="org.openoffice.da.writer2latex.oxt:BibliographyConvertZoteroCitations" dlg:value="Convert Zotero citations" dlg:checked="false">
|
||||
<script:event script:event-name="on-itemstatechange" script:macro-name="vnd.sun.star.UNO:ConvertZoteroCitationsChange" script:language="UNO"/>
|
||||
</dlg:checkbox>
|
||||
<dlg:text dlg:id="NatbibOptionsLabel" dlg:tab-index="10" dlg:left="19" dlg:top="130" dlg:width="45" dlg:height="12" dlg:value="Options"/>
|
||||
<dlg:textfield dlg:id="NatbibOptions" dlg:tab-index="9" dlg:left="70" dlg:top="128" dlg:width="180" dlg:height="12" dlg:help-url="org.openoffice.da.writer2latex.oxt:BibliographyNatbibOptions"/>
|
||||
<dlg:checkbox dlg:id="UseExternalBibTeXFiles" dlg:tab-index="1" dlg:left="10" dlg:top="18" dlg:width="240" dlg:height="12" dlg:help-url="org.openoffice.da.writer2latex.oxt:BibliographyUseExternalBibTeXFiles" dlg:value="Use external BibTeX files for ordinary citations" dlg:checked="false">
|
||||
<script:event script:event-name="on-itemstatechange" script:macro-name="vnd.sun.star.UNO:UseExternalBibTeXFilesChange" script:language="UNO"/>
|
||||
</dlg:checkbox>
|
||||
<dlg:text dlg:id="BibTeXDirLabel" dlg:tab-index="11" dlg:left="10" dlg:top="88" dlg:width="55" dlg:height="12" dlg:value="BibTeX folder"/>
|
||||
<dlg:textfield dlg:id="BibTeXDir" dlg:tab-index="6" dlg:left="70" dlg:top="86" dlg:width="130" dlg:height="12" dlg:help-url="org.openoffice.da.writer2latex.oxt:BibliographyBibTeXDir"/>
|
||||
<dlg:button dlg:id="BibTeXDirButton" dlg:tab-index="7" dlg:left="210" dlg:top="86" dlg:width="40" dlg:height="12" dlg:help-url="org.openoffice.da.writer2latex.oxt:BibliographyBibTeXDirButton" dlg:value="Browse...">
|
||||
<script:event script:event-name="on-mouseup" script:macro-name="vnd.sun.star.UNO:BibTeXDirClick" script:language="UNO"/>
|
||||
</dlg:button>
|
||||
<dlg:text dlg:id="BibliographyLabel" dlg:tab-index="0" dlg:left="6" dlg:top="4" dlg:width="244" dlg:height="12" dlg:value="Citations and BibTeX files"/>
|
||||
<dlg:checkbox dlg:id="ConvertJabRefCitations" dlg:tab-index="3" dlg:left="10" dlg:top="46" dlg:width="240" dlg:height="12" dlg:help-url="org.openoffice.da.writer2latex.oxt:BibliographyConvertJabRefCitations" dlg:value="Convert JabRef citations" dlg:checked="false">
|
||||
<script:event script:event-name="on-itemstatechange" script:macro-name="vnd.sun.star.UNO:ConvertJabRefCitationsChange" script:language="UNO"/>
|
||||
</dlg:checkbox>
|
||||
<dlg:checkbox dlg:id="UseNatbib" dlg:tab-index="8" dlg:left="10" dlg:top="116" dlg:width="240" dlg:height="12" dlg:help-url="org.openoffice.da.writer2latex.oxt:BibliographyUseNatbib" dlg:value="Use natbib.sty" dlg:checked="false">
|
||||
<script:event script:event-name="on-itemstatechange" script:macro-name="vnd.sun.star.UNO:UseNatbibChange" script:language="UNO"/>
|
||||
</dlg:checkbox>
|
||||
<dlg:menulist dlg:id="BibTeXLocation" dlg:tab-index="5" dlg:left="70" dlg:top="72" dlg:width="180" dlg:height="13" dlg:help-url="org.openoffice.da.writer2latex.oxt:BibliographyBibTeXLocation" dlg:spin="true" dlg:linecount="3">
|
||||
<dlg:menupopup>
|
||||
<dlg:menuitem dlg:value="In central folder"/>
|
||||
<dlg:menuitem dlg:value="In subfolder of document folder"/>
|
||||
<dlg:menuitem dlg:value="In document folder"/>
|
||||
</dlg:menupopup>
|
||||
<script:event script:event-name="on-itemstatechange" script:macro-name="vnd.sun.star.UNO:BibTeXLocationChange" script:language="UNO"/>
|
||||
</dlg:menulist>
|
||||
<dlg:text dlg:id="BibTeXLocationLabel" dlg:tab-index="12" dlg:left="10" dlg:top="74" dlg:width="55" dlg:height="12" dlg:value="BibTeX location"/>
|
||||
<dlg:text dlg:id="NatbibLabel" dlg:tab-index="13" dlg:left="6" dlg:top="102" dlg:width="244" dlg:height="11" dlg:value="Natbib"/>
|
||||
<dlg:checkbox dlg:id="IncludeOriginalCitations" dlg:tab-index="4" dlg:left="10" dlg:top="60" dlg:width="240" dlg:height="12" dlg:help-url="org.openoffice.da.writer2latex.oxt:BibliographyIncludeOriginalCitations" dlg:value="Include original citations as comments" dlg:checked="false"/>
|
||||
</dlg:bulletinboard>
|
||||
</dlg:window>
|
23
source/oxt/writer2latex/W2LDialogs2/LogViewer.xdl
Normal file
23
source/oxt/writer2latex/W2LDialogs2/LogViewer.xdl
Normal file
|
@ -0,0 +1,23 @@
|
|||
<?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="LogViewer" dlg:left="122" dlg:top="43" dlg:width="360" dlg:height="260" dlg:closeable="true" dlg:moveable="true" dlg:title="Writer2LaTeX Log Viewer">
|
||||
<dlg:bulletinboard>
|
||||
<dlg:radiogroup>
|
||||
<dlg:radio dlg:id="LaTeXOption" dlg:tab-index="0" dlg:left="10" dlg:top="10" dlg:width="100" dlg:height="12" dlg:value="View LaTeX log" dlg:checked="true" dlg:help-url="org.openoffice.da.writer2latex.oxt:ViewLaTeXLog">
|
||||
<script:event script:event-name="on-mouseup" script:macro-name="vnd.sun.star.UNO:ViewLaTeXLog" script:language="UNO"/>
|
||||
</dlg:radio>
|
||||
<dlg:radio dlg:id="BibTeXOption" dlg:tab-index="1" dlg:left="120" dlg:top="10" dlg:width="100" dlg:height="12" dlg:value="View BibTeX log" dlg:help-url="org.openoffice.da.writer2latex.oxt:ViewBibTeXLog">
|
||||
<script:event script:event-name="on-mouseup" script:macro-name="vnd.sun.star.UNO:ViewBibTeXLog" script:language="UNO"/>
|
||||
</dlg:radio>
|
||||
<dlg:radio dlg:id="MakeindexOption" dlg:tab-index="2" dlg:left="230" dlg:top="10" dlg:width="100" dlg:height="12" dlg:value="View Makeindex log" dlg:help-url="org.openoffice.da.writer2latex.oxt:ViewMakeindexLog">
|
||||
<script:event script:event-name="on-mouseup" script:macro-name="vnd.sun.star.UNO:ViewMakeindexLog" script:language="UNO"/>
|
||||
</dlg:radio>
|
||||
</dlg:radiogroup>
|
||||
<dlg:textfield dlg:id="LogContents" dlg:tab-index="3" dlg:left="10" dlg:top="26" dlg:width="340" dlg:height="200" dlg:hscroll="true" dlg:vscroll="true" dlg:multiline="true" dlg:value="asfg"/>
|
||||
<dlg:checkbox dlg:id="ErrorFilter" dlg:tab-index="4" dlg:left="10" dlg:top="236" dlg:width="200" dlg:height="12" dlg:value="Only errors" dlg:checked="false" dlg:help-url="org.openoffice.da.writer2latex.oxt:ErrorFilter">
|
||||
<script:event script:event-name="on-mouseup" script:macro-name="vnd.sun.star.UNO:ErrorFilterChange" script:language="UNO"/>
|
||||
</dlg:checkbox>
|
||||
<dlg:button dlg:id="CloseButton" dlg:tab-index="5" dlg:left="200" dlg:top="236" dlg:width="70" dlg:height="12" dlg:value="Close" dlg:button-type="ok"/>
|
||||
<dlg:button dlg:id="HelpButton" dlg:tab-index="6" dlg:left="280" dlg:top="236" dlg:width="70" dlg:height="12" dlg:value="Help" dlg:button-type="help" dlg:help-url="org.openoffice.da.writer2latex.oxt:LogViewer"/>
|
||||
</dlg:bulletinboard>
|
||||
</dlg:window>
|
|
@ -0,0 +1,15 @@
|
|||
<?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="Configuration1" dlg:left="139" dlg:top="84" dlg:width="260" dlg:height="185" dlg:closeable="true" dlg:moveable="true" dlg:title="ConfigurationRoot" dlg:withtitlebar="false">
|
||||
<dlg:styles>
|
||||
<dlg:style dlg:style-id="0" dlg:border="none"/>
|
||||
<dlg:style dlg:style-id="1" dlg:font-height="14"/>
|
||||
</dlg:styles>
|
||||
<dlg:bulletinboard>
|
||||
<dlg:fixedline dlg:id="FixedLine1" dlg:tab-index="0" dlg:left="6" dlg:top="32" dlg:width="248" dlg:height="2"/>
|
||||
<dlg:img dlg:style-id="0" dlg:id="ImageControl1" dlg:tab-index="1" dlg:left="8" dlg:top="6" dlg:width="21" dlg:height="21" dlg:scale-image="false" dlg:src="../images/w2licon.png"/>
|
||||
<dlg:text dlg:style-id="1" dlg:id="Label1" dlg:tab-index="2" dlg:left="34" dlg:top="10" dlg:width="193" dlg:height="16" dlg:value="Writer2LaTeX Toolbar Configuration"/>
|
||||
<dlg:text dlg:id="Label2" dlg:tab-index="3" dlg:left="34" dlg:top="43" dlg:width="194" dlg:height="78" dlg:value="This is where you configure the Writer2LaTeX toolbar. You can configure the interaction with LaTeX and friends, and you can configure interaction with external BibTeX files created by Zotero or other applications." dlg:multiline="true"/>
|
||||
|
||||
</dlg:bulletinboard>
|
||||
</dlg:window>
|
|
@ -14,4 +14,11 @@
|
|||
<library:element library:name="NewDialog"/>
|
||||
<library:element library:name="Characters"/>
|
||||
<library:element library:name="LoadDefaults"/>
|
||||
<library:element library:name="ToolbarConfigurationRoot"/>
|
||||
<library:element library:name="Applications"/>
|
||||
<library:element library:name="Bibliography"/>
|
||||
<library:element library:name="LogViewer"/>
|
||||
<library:element library:name="AutoConfigInfo"/>
|
||||
<library:element library:name="BibTeXEntry"/>
|
||||
|
||||
</library:library>
|
Loading…
Add table
Add a link
Reference in a new issue