Browse Source

公式界面

remotes/1611766341912730171/master
richie 5 years ago
parent
commit
9043085fb5
  1. 7
      src/main/java/com/fanruan/api/design/ui/factory/FormulaFactory.java
  2. 27
      src/main/java/com/fanruan/api/design/work/formula/FormulaUIKit.java

7
src/main/java/com/fanruan/api/design/ui/factory/FormulaFactory.java

@ -1,7 +0,0 @@
package com.fanruan.api.design.ui.factory;
/*
* FormulaFactory:公式编辑管理器
* */
public class FormulaFactory extends com.fr.design.formula.FormulaFactory{
}

27
src/main/java/com/fanruan/api/design/work/formula/FormulaUIKit.java

@ -0,0 +1,27 @@
package com.fanruan.api.design.work.formula;
import com.fr.design.formula.UIFormula;
/**
* 获取公式编辑器面板工具类
*/
public class FormulaUIKit {
/**
* 获取普通公式面板
*
* @return 公式面板
*/
public static UIFormula createFormulaPane() {
return com.fr.design.formula.FormulaFactory.createFormulaPane();
}
/**
* 获取可设置导出excel时是否保留公式的公式面板
*
* @return 公式面板
*/
public static UIFormula createFormulaPaneWhenReserveFormula() {
return com.fr.design.formula.FormulaFactory.createFormulaPaneWhenReserveFormula();
}
}
Loading…
Cancel
Save