Issue #458 Saving font settings to preserve font panel selection after program restart: individual behavior for each file

This commit is contained in:
Honfika
2014-01-01 21:12:27 +01:00
parent 3f30c5247a
commit 9b15a255c6
25 changed files with 295 additions and 203 deletions
@@ -430,6 +430,13 @@ public final class SWF {
return file;
}
public String getShortFileName() {
if (file == null) {
return "";
}
return new File(file).getName();
}
private void findFileAttributes() {
for (Tag t : tags) {
if (t instanceof FileAttributesTag) {
@@ -713,7 +720,7 @@ public final class SWF {
outdir += File.separator;
}
outdir += "scripts" + File.separator;
ret.addAll(TagNode.exportNodeAS(tags, handler, list, outdir, exportMode, evl));
ret.addAll(TagNode.exportNodeAS(handler, list, outdir, exportMode, evl));
return ret;
}