|
|
|
@ -10,7 +10,6 @@ import com.fr.design.DesignModelAdapter;
|
|
|
|
|
import com.fr.design.ExtraDesignClassManager; |
|
|
|
|
import com.fr.design.actions.AllowAuthorityEditAction; |
|
|
|
|
import com.fr.design.actions.ExitAuthorityEditAction; |
|
|
|
|
import com.fr.design.actions.file.WebPreviewUtils; |
|
|
|
|
import com.fr.design.actions.file.export.CSVExportAction; |
|
|
|
|
import com.fr.design.actions.file.export.EmbeddedExportExportAction; |
|
|
|
|
import com.fr.design.actions.file.export.ExcelExportAction; |
|
|
|
@ -53,7 +52,6 @@ import com.fr.design.menu.ToolBarDef;
|
|
|
|
|
import com.fr.design.module.DesignModuleFactory; |
|
|
|
|
import com.fr.design.parameter.ParameterDefinitePane; |
|
|
|
|
import com.fr.design.parameter.ParameterInputPane; |
|
|
|
|
import com.fr.design.preview.MobilePreview; |
|
|
|
|
import com.fr.design.preview.PagePreview; |
|
|
|
|
import com.fr.design.preview.ViewPreview; |
|
|
|
|
import com.fr.design.preview.WriteEnhancePreview; |
|
|
|
@ -891,7 +889,7 @@ public class JWorkBook extends JTemplate<WorkBook, WorkBookUndoState> {
|
|
|
|
|
public PreviewProvider[] supportPreview() { |
|
|
|
|
Set<PreviewProvider> set = ExtraDesignClassManager.getInstance().getArray(PreviewProvider.MARK_STRING); |
|
|
|
|
return ArrayUtils.addAll(new PreviewProvider[]{ |
|
|
|
|
new PagePreview(), new WritePreview(), new ViewPreview(), new WriteEnhancePreview(), new MobilePreview() |
|
|
|
|
new PagePreview(), new WritePreview(), new ViewPreview(), new WriteEnhancePreview() |
|
|
|
|
}, set.toArray(new PreviewProvider[set.size()])); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
@ -924,8 +922,7 @@ public class JWorkBook extends JTemplate<WorkBook, WorkBookUndoState> {
|
|
|
|
|
*/ |
|
|
|
|
@Override |
|
|
|
|
public void previewMenuActionPerformed(PreviewProvider provider) { |
|
|
|
|
setPreviewType(provider); |
|
|
|
|
WebPreviewUtils.preview(this, provider); |
|
|
|
|
super.previewMenuActionPerformed(provider); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|