Bugfixing configuration UI + renaming to 1.2 beta

git-svn-id: svn://svn.code.sf.net/p/writer2latex/code/trunk@140 f0f2a975-2e09-46c8-9428-3b39399b9f3c
This commit is contained in:
henrikjust 2012-03-12 14:01:35 +00:00
parent 8140cf28f0
commit b379785fba
13 changed files with 23 additions and 19 deletions

View file

@ -34,8 +34,8 @@
<!-- configure the directories --> <!-- configure the directories -->
<property name="jarfile" value="writer2latex"/> <property name="jarfile" value="writer2latex"/>
<property name="basename" value="writer2latex11"/> <property name="basename" value="writer2latex12"/>
<property name="distrofile" value="${basename}9beta.zip" /> <property name="distrofile" value="${basename}beta.zip" />
<!--<property name="sourcedistrofile" value="${basename}source.zip" />--> <!--<property name="sourcedistrofile" value="${basename}source.zip" />-->
<property name="src" location="source/java"/> <property name="src" location="source/java"/>
<property name="source.distro" location="source/distro" /> <property name="source.distro" location="source/distro" />

View file

@ -1,7 +1,7 @@
Version history for Writer2LaTeX Version history for Writer2LaTeX
================================ ================================
Version 1.1.9 beta (March 2012) Version 1.2 beta (March 2012)
- Filters: - Filters:
- Added user interface to edit custom configuration - Added user interface to edit custom configuration
- Added help files - Added help files

View file

@ -1,7 +1,7 @@
Writer2LaTeX version 1.1.9 (beta test release) Writer2LaTeX version 1.2 (beta test release)
============================================== ============================================
This is the distribution of Writer2LaTeX version 1.1.9 This is the distribution of Writer2LaTeX version 1.2 beta
Latest version can be found at the web site Latest version can be found at the web site
http://writer2latex.sourceforge.net http://writer2latex.sourceforge.net

View file

@ -1,6 +1,6 @@
Changelog for Writer2LaTeX version 1.0 -> 1.2 Changelog for Writer2LaTeX version 1.0 -> 1.2
---------- version 1.1.9 ---------- ---------- version 1.2 beta ----------
[w2x] Bugfix: Ignore empty element attribute in style maps [w2x] Bugfix: Ignore empty element attribute in style maps

Binary file not shown.

View file

@ -20,7 +20,7 @@
* *
* All Rights Reserved. * All Rights Reserved.
* *
* Version 1.2 (2012-03-07) * Version 1.2 (2012-03-11)
* *
*/ */
@ -443,9 +443,12 @@ public abstract class ConfigurationDialogBase extends WeakBase implements XConta
while ((sLine = reader.readLine())!=null) { while ((sLine = reader.readLine())!=null) {
buf.append(sLine).append('\n'); buf.append(sLine).append('\n');
} }
reader.close();
is.close();
} }
catch (IOException e) { catch (IOException e) {
} }
xIs.closeInput();
return buf.toString(); return buf.toString();
} }
} }
@ -688,6 +691,7 @@ public abstract class ConfigurationDialogBase extends WeakBase implements XConta
if (sNewName!=null) { if (sNewName!=null) {
styleMap[nCurrentFamily].put(sNewName, new HashMap<String,String>()); styleMap[nCurrentFamily].put(sNewName, new HashMap<String,String>());
clearControls(dlg); clearControls(dlg);
sCurrentStyleName=null;
styleNameChange(dlg); styleNameChange(dlg);
} }
updateStyleControls(dlg); updateStyleControls(dlg);

View file

@ -20,7 +20,7 @@
* *
* All Rights Reserved. * All Rights Reserved.
* *
* Version 1.2 (2012-03-07) * Version 1.2 (2012-03-12)
* *
*/ */
@ -496,7 +496,7 @@ public final class ConfigurationDialog extends ConfigurationDialogBase implement
// This page handles the options use_color, use_soul, use_ulem and use_hyperref // This page handles the options use_color, use_soul, use_ulem and use_hyperref
// In addition it handles style maps for formatting attributes // In addition it handles style maps for formatting attributes
private class CharactersHandler extends AttributePageHandler { private class CharactersHandler extends AttributePageHandler {
private final String[] sLaTeXAttributeNames = { "bold", "italic", "small-caps", "superscript", "subscipt" }; private final String[] sLaTeXAttributeNames = { "bold", "italic", "small-caps", "superscript", "subscript" };
protected CharactersHandler() { protected CharactersHandler() {
super(); super();

View file

@ -20,7 +20,7 @@
* *
* All Rights Reserved. * All Rights Reserved.
* *
* Version 1.2 (2012-03-11) * Version 1.2 (2012-03-12)
* *
*/ */
@ -32,8 +32,8 @@ package writer2latex.api;
public class ConverterFactory { public class ConverterFactory {
// Version information // Version information
private static final String VERSION = "1.1.9"; private static final String VERSION = "1.2";
private static final String DATE = "2012-03-11"; private static final String DATE = "2012-03-12";
/** Return the Writer2LaTeX version in the form /** Return the Writer2LaTeX version in the form
* (major version).(minor version).(patch level)<br/> * (major version).(minor version).(patch level)<br/>

View file

@ -5,7 +5,7 @@
<identifier value="org.openoffice.da.writer2latex.oxt"/> <identifier value="org.openoffice.da.writer2latex.oxt"/>
<version value="1.1.9" /> <version value="1.2" />
<dependencies> <dependencies>
<OpenOffice.org-minimal-version value="3.0" d:name="OpenOffice.org 3.0"/> <OpenOffice.org-minimal-version value="3.0" d:name="OpenOffice.org 3.0"/>

View file

@ -5,7 +5,7 @@
<identifier value="org.openoffice.da.writer2xhtml.oxt" /> <identifier value="org.openoffice.da.writer2xhtml.oxt" />
<version value="1.1.9" /> <version value="1.2" />
<dependencies> <dependencies>
<OpenOffice.org-minimal-version value="3.0" d:name="OpenOffice.org 3.0"/> <OpenOffice.org-minimal-version value="3.0" d:name="OpenOffice.org 3.0"/>

View file

@ -4,7 +4,7 @@
xmlns:xlink="http://www.w3.org/1999/xlink"> xmlns:xlink="http://www.w3.org/1999/xlink">
<identifier value="org.openoffice.da.writer4latex.oxt" /> <identifier value="org.openoffice.da.writer4latex.oxt" />
<version value="1.1.9" /> <version value="1.2" />
<dependencies> <dependencies>
<OpenOffice.org-minimal-version value="3.0" d:name="OpenOffice.org 3.0"/> <OpenOffice.org-minimal-version value="3.0" d:name="OpenOffice.org 3.0"/>
</dependencies> </dependencies>

View file

@ -2,5 +2,5 @@
<description xmlns="http://openoffice.org/extensions/description/2006" <description xmlns="http://openoffice.org/extensions/description/2006"
xmlns:d="http://openoffice.org/extensions/description/2006"> xmlns:d="http://openoffice.org/extensions/description/2006">
<identifier value="org.openoffice.da.writer2latex.xhtml-config-sample.oxt" /> <identifier value="org.openoffice.da.writer2latex.xhtml-config-sample.oxt" />
<version value="1.1.9" /> <version value="1.2" />
</description> </description>

View file

@ -1,5 +1,5 @@
Writer2LaTeX source version 1.1.9 Writer2LaTeX source version 1.2 beta
================================= ====================================
Writer2LaTeX is (c) 2002-2012 by Henrik Just. Writer2LaTeX is (c) 2002-2012 by Henrik Just.
The source is available under the terms and conditions of the The source is available under the terms and conditions of the