-
Notifications
You must be signed in to change notification settings - Fork 2
bibitoo/converter
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
调用方式见Excel2Html类中的main方法。 实例如下: StringBuffer stringOut = new StringBuffer(); ExcelToHtml toHtml = create(new FileInputStream(args[0]), stringOut); toHtml.setCompleteHTML(false);//if true,output the html\title and body tag toHtml.setSheetBorderOut(false);//if false,do not output sheet boder ,top A,B,C...and left row number toHtml.setStyleOut(false);//if false, do not output style String resultImagePath = "result/images/data/";//设置的这个文件夹必须能有权限读写 toHtml.setResultImagePath(resultImagePath);//图片保存路径 toHtml.printPage(); String result = stringOut.toString(); <dependency> <groupId>cc.landking.converter</groupId> <artifactId>office</artifactId> <version>0.0.1-SNAPSHOT</version> </dependency>
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published