|
|
@ -3,6 +3,7 @@ package com.fr.design.mainframe; |
|
|
|
import com.fr.base.Parameter; |
|
|
|
import com.fr.base.Parameter; |
|
|
|
import com.fr.base.TRL; |
|
|
|
import com.fr.base.TRL; |
|
|
|
import com.fr.base.extension.FileExtension; |
|
|
|
import com.fr.base.extension.FileExtension; |
|
|
|
|
|
|
|
import com.fr.base.info.TemplateSaveInfoContext; |
|
|
|
import com.fr.base.io.BaseBook; |
|
|
|
import com.fr.base.io.BaseBook; |
|
|
|
import com.fr.base.iofile.attr.DesignBanCopyAttrMark; |
|
|
|
import com.fr.base.iofile.attr.DesignBanCopyAttrMark; |
|
|
|
import com.fr.base.iofile.attr.TemplateIdAttrMark; |
|
|
|
import com.fr.base.iofile.attr.TemplateIdAttrMark; |
|
|
@ -1884,6 +1885,8 @@ public abstract class JTemplate<T extends BaseBook, U extends BaseUndoState<?>> |
|
|
|
CallbackSaveWorker worker = new CallbackSaveWorker(new Callable<Boolean>() { |
|
|
|
CallbackSaveWorker worker = new CallbackSaveWorker(new Callable<Boolean>() { |
|
|
|
@Override |
|
|
|
@Override |
|
|
|
public Boolean call() throws Exception { |
|
|
|
public Boolean call() throws Exception { |
|
|
|
|
|
|
|
TemplateSaveInfoContext.getInstance().startRecord(); |
|
|
|
|
|
|
|
TemplateSaveInfoContext.getInstance().collectInfo(template.suffix()); |
|
|
|
return saveRealFileByWorker(); |
|
|
|
return saveRealFileByWorker(); |
|
|
|
} |
|
|
|
} |
|
|
|
}, this); |
|
|
|
}, this); |
|
|
|