Formatting in TMW documents is not preserved. I've added an identity
tranformation, TMW->TMW, to help me debug this problem.
This commit is contained in:
parent
9025fb42d6
commit
83f499b7a8
6 changed files with 218 additions and 91 deletions
|
@ -93,6 +93,12 @@ public class ConverterGUI implements FontConversion, FontConverterConstants {
|
|||
"Attention required",
|
||||
JOptionPane.ERROR_MESSAGE);
|
||||
return false;
|
||||
} else if (50 == returnCode) {
|
||||
JOptionPane.showMessageDialog(cd,
|
||||
"Error doing RTF->RTF identity copy.",
|
||||
"Attention required",
|
||||
JOptionPane.ERROR_MESSAGE);
|
||||
return false;
|
||||
} else if (43 == returnCode) {
|
||||
JOptionPane.showMessageDialog(cd,
|
||||
"Though an output file has been created, this conversion did nothing.\nDid you choose the correct original file?\nDid you choose the correct type of conversion?",
|
||||
|
@ -192,13 +198,15 @@ public class ConverterGUI implements FontConversion, FontConverterConstants {
|
|||
if (null == owner) {
|
||||
convDialog
|
||||
= new ConvertDialog(new ConverterGUI(),
|
||||
CHOICES,
|
||||
ThdlOptions.getBooleanOption("thdl.debug")
|
||||
? DEBUG_CHOICES : CHOICES,
|
||||
true);
|
||||
} else {
|
||||
convDialog
|
||||
= new ConvertDialog(owner,
|
||||
new ConverterGUI(),
|
||||
CHOICES,
|
||||
ThdlOptions.getBooleanOption("thdl.debug")
|
||||
? DEBUG_CHOICES : CHOICES,
|
||||
true);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue