程序包 com.deepoove.poi
类 XWPFTemplate
- java.lang.Object
-
- com.deepoove.poi.XWPFTemplate
-
- 所有已实现的接口:
Closeable,AutoCloseable
public class XWPFTemplate extends Object implements Closeable
-
-
字段概要
字段 修饰符和类型 字段 说明 static StringTEMPLATE_TAG_NAME
-
方法概要
-
-
-
字段详细资料
-
TEMPLATE_TAG_NAME
public static final String TEMPLATE_TAG_NAME
-
-
方法详细资料
-
compile
public static XWPFTemplate compile(String absolutePath)
-
compile
public static XWPFTemplate compile(File templateFile)
-
compile
public static XWPFTemplate compile(InputStream inputStream)
-
compile
public static XWPFTemplate compile(org.apache.poi.xwpf.usermodel.XWPFDocument document)
-
compile
public static XWPFTemplate compile(String absolutePath, Configure config)
-
compile
public static XWPFTemplate compile(File templateFile, Configure config)
-
compile
public static XWPFTemplate compile(org.apache.poi.xwpf.usermodel.XWPFDocument document, Configure config)
-
compile
public static XWPFTemplate compile(InputStream inputStream, Configure config)
-
create
public static XWPFTemplate create(DocumentRenderData data)
-
create
public static XWPFTemplate create(DocumentRenderData data, Style templateTagStyle)
-
render
public XWPFTemplate render(Object model)
-
render
public XWPFTemplate render(Object model, OutputStream out) throws IOException
-
write
public void write(OutputStream out) throws IOException
-
writeAndClose
public void writeAndClose(OutputStream out) throws IOException
-
writeToFile
public void writeToFile(String path) throws IOException
-
reload
public void reload(NiceXWPFDocument doc)
-
close
public void close() throws IOException
-
getElementTemplates
public List<MetaTemplate> getElementTemplates()
-
getXWPFDocument
public NiceXWPFDocument getXWPFDocument()
-
getConfig
public Configure getConfig()
-
getResolver
public Resolver getResolver()
-
-