|
|
@ -52,7 +52,6 @@ import com.fr.design.menu.ToolBarDef; |
|
|
|
import com.fr.design.module.DesignModuleFactory; |
|
|
|
import com.fr.design.module.DesignModuleFactory; |
|
|
|
import com.fr.design.parameter.ParameterDefinitePane; |
|
|
|
import com.fr.design.parameter.ParameterDefinitePane; |
|
|
|
import com.fr.design.parameter.ParameterInputPane; |
|
|
|
import com.fr.design.parameter.ParameterInputPane; |
|
|
|
import com.fr.design.preview.MobilePreview; |
|
|
|
|
|
|
|
import com.fr.design.preview.PagePreview; |
|
|
|
import com.fr.design.preview.PagePreview; |
|
|
|
import com.fr.design.preview.ViewPreview; |
|
|
|
import com.fr.design.preview.ViewPreview; |
|
|
|
import com.fr.design.preview.WriteEnhancePreview; |
|
|
|
import com.fr.design.preview.WriteEnhancePreview; |
|
|
@ -890,7 +889,7 @@ public class JWorkBook extends JTemplate<WorkBook, WorkBookUndoState> { |
|
|
|
public PreviewProvider[] supportPreview() { |
|
|
|
public PreviewProvider[] supportPreview() { |
|
|
|
Set<PreviewProvider> set = ExtraDesignClassManager.getInstance().getArray(PreviewProvider.MARK_STRING); |
|
|
|
Set<PreviewProvider> set = ExtraDesignClassManager.getInstance().getArray(PreviewProvider.MARK_STRING); |
|
|
|
return ArrayUtils.addAll(new PreviewProvider[]{ |
|
|
|
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()])); |
|
|
|
}, set.toArray(new PreviewProvider[set.size()])); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|