帆软报表设计器源代码。
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

55 lines
1.1 KiB

package com.fr.design.mainframe;
import com.fr.base.io.BaseBook;
import com.fr.file.FILE;
import com.fr.module.BaseStableKey;
import com.fr.module.StableKey;
import com.fr.stable.fun.mark.Aftermath;
import com.fr.stable.fun.mark.Mutable;
/**
* Created by Administrator on 2016/3/17/0017.
*/
public interface App<T extends BaseBook> extends Mutable, Aftermath {
String MARK_STRING = "DesignerApp";
StableKey<App> KEY = new BaseStableKey<App>();
int CURRENT_LEVEL = 1;
/**
* 默认延伸
*
* @return 类型
*/
String[] defaultExtensions();
/**
* 打开模板
*
* @param tplFile
* 文件
* @return 报表
*/
JTemplate<T, ?> openTemplate(FILE tplFile);
/**
* 做为输出文件.
*
* @param tplFile
* 文件
* @return 报表
*/
T asIOFile(FILE tplFile);
/**
* 输出workbook等对象
* @param tplFile 文件
* @param needCheck 是否需要check
* @return
*/
default T asIOFile(FILE tplFile, boolean needCheck) {
return asIOFile(tplFile);
}
}