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

@ -20,7 +20,7 @@
*
* 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) {
buf.append(sLine).append('\n');
}
reader.close();
is.close();
}
catch (IOException e) {
}
xIs.closeInput();
return buf.toString();
}
}
@ -688,6 +691,7 @@ public abstract class ConfigurationDialogBase extends WeakBase implements XConta
if (sNewName!=null) {
styleMap[nCurrentFamily].put(sNewName, new HashMap<String,String>());
clearControls(dlg);
sCurrentStyleName=null;
styleNameChange(dlg);
}
updateStyleControls(dlg);

View file

@ -20,7 +20,7 @@
*
* 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
// In addition it handles style maps for formatting attributes
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() {
super();