rtfScan.xul (5075B)
1 <?xml version="1.0" ?> 2 <?xml-stylesheet href="chrome://global/skin/" type="text/css"?> 3 <?xml-stylesheet href="chrome://zotero/skin/upgrade.css" type="text/css"?> 4 <?xml-stylesheet href="chrome://zotero/skin/bibliography.css"?> 5 <!DOCTYPE window SYSTEM "chrome://zotero/locale/zotero.dtd"> 6 7 <wizard xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" 8 title="&zotero.rtfScan.title;" width="700" height="550" 9 id="zotero-rtfScan"> 10 11 <script src="include.js"/> 12 <script src="bibliography.js"/> 13 <script src="rtfScan.js"/> 14 15 <wizardpage id="intro-page" label="&zotero.rtfScan.introPage.label;" 16 onpageshow="Zotero_RTFScan.introPageShowing()" 17 onpageadvanced="Zotero_RTFScan.introPageAdvanced()"> 18 <vbox> 19 <description width="700">&zotero.rtfScan.introPage.description;</description> 20 <label value="{Smith, 2009}"/> 21 <label value="Smith {2009}"/> 22 <label value="{Smith et al., 2009}"/> 23 <label value="{John Smith, 2009}"/> 24 <label value="{Smith, 2009, 10-14}"/> 25 <label value="{Smith, "Title," 2009}"/> 26 <label value="{Jones, 2005; Smith, 2009}"/> 27 <description width="700" style="padding-top:1em">&zotero.rtfScan.introPage.description2;</description> 28 </vbox> 29 <groupbox> 30 <caption label="&zotero.rtfScan.inputFile.label;"/> 31 <hbox align="center"> 32 <textbox value="&zotero.file.noneSelected.label;" id="input-path" flex="1" readonly="true"/> 33 <button id="choose-input-file" label="&zotero.file.choose.label;" onclick="Zotero_RTFScan.chooseInputFile()"/> 34 </hbox> 35 </groupbox> 36 <groupbox> 37 <caption label="&zotero.rtfScan.outputFile.label;"/> 38 <hbox align="center"> 39 <textbox value="&zotero.file.noneSelected.label;" id="output-path" flex="1" readonly="true"/> 40 <button id="choose-output-file" label="&zotero.file.choose.label;" onclick="Zotero_RTFScan.chooseOutputFile()"/> 41 </hbox> 42 </groupbox> 43 </wizardpage> 44 45 <wizardpage id="scan-page" label="&zotero.rtfScan.scanPage.label;" 46 onpageshow="Zotero_RTFScan.scanPageShowing()"> 47 <description width="700">&zotero.rtfScan.scanPage.description;</description> 48 <progressmeter id="progress-indicator" mode="undetermined"/> 49 </wizardpage> 50 51 <wizardpage id="citations-page" label="&zotero.rtfScan.citationsPage.label;" 52 onpageshow="Zotero_RTFScan.citationsPageShowing()" 53 onpagerewound="return Zotero_RTFScan.citationsPageRewound();"> 54 <description width="700">&zotero.rtfScan.citationsPage.description;</description> 55 <tree flex="1" id="tree" hidecolumnpicker="true" onclick="Zotero_RTFScan.treeClick(event)"> 56 <treecols> 57 <treecol label="&zotero.rtfScan.citation.label;" id="pdf-col" flex="1" primary="true"/> 58 <splitter class="tree-splitter"/> 59 <treecol label="&zotero.rtfScan.itemName.label;" id="item-col" flex="2"/> 60 <treecol id="action-col" style="width:40px"/> 61 </treecols> 62 <treechildren id="treechildren"> 63 <treeitem id="unmapped-citations-item" container="true" open="true" hidden="true"> 64 <treerow> 65 <treecell label="&zotero.rtfScan.unmappedCitations.label;"/> 66 </treerow> 67 <treechildren id="unmapped-citations-children"/> 68 </treeitem> 69 <treeitem id="ambiguous-citations-item" container="true" open="true" hidden="true"> 70 <treerow> 71 <treecell label="&zotero.rtfScan.ambiguousCitations.label;"/> 72 </treerow> 73 <treechildren id="ambiguous-citations-children"/> 74 </treeitem> 75 <treeitem id="mapped-citations-item" container="true" open="true" hidden="true"> 76 <treerow> 77 <treecell label="&zotero.rtfScan.mappedCitations.label;"/> 78 </treerow> 79 <treechildren id="mapped-citations-children"/> 80 </treeitem> 81 </treechildren> 82 </tree> 83 </wizardpage> 84 85 <wizardpage id="style-page" label="&zotero.rtfScan.stylePage.label;" 86 onpageadvanced="Zotero_RTFScan.stylePageAdvanced()" 87 onpageshow="Zotero_RTFScan.stylePageShowing()"> 88 <groupbox flex="1"> 89 <caption label="&zotero.bibliography.style.label;"/> 90 <listbox id="style-listbox" onselect="Zotero_File_Interface_Bibliography.styleChanged()" flex="1"/> 91 </groupbox> 92 <groupbox> 93 <hbox align="center"> 94 <caption label="&zotero.bibliography.locale.label;"/> 95 <menulist id="locale-menu" oncommand="Zotero_File_Interface_Bibliography.localeChanged(this.value)"/> 96 </hbox> 97 </groupbox> 98 <groupbox> 99 <caption label="&zotero.integration.prefs.displayAs.label;"/> 100 <radiogroup id="displayAs" orient="horizontal"> 101 <radio id="footnotes" label="&zotero.integration.prefs.footnotes.label;" selected="true"/> 102 <radio id="endnotes" label="&zotero.integration.prefs.endnotes.label;"/> 103 </radiogroup> 104 </groupbox> 105 </wizardpage> 106 107 <wizardpage id="format-page" label="&zotero.rtfScan.formatPage.label;" 108 onpageshow="Zotero_RTFScan.formatPageShowing()"> 109 <description width="700">&zotero.rtfScan.formatPage.description;</description> 110 <progressmeter id="progress-indicator" mode="undetermined"/> 111 </wizardpage> 112 113 <wizardpage id="complete-page" label="&zotero.rtfScan.completePage.label;"> 114 <description width="700">&zotero.rtfScan.completePage.description;</description> 115 </wizardpage> 116 </wizard>