public class DocumentGenerator extends AbstractGenerator implements IGenerator
ReportFactory
を参照してください。
<Document generator="foo.bar" type="Excel" template="table.xls" sheet="Sheet1"> <Script language="JavaScript"> Report.setCell( "E4", bean.table ); for ( i = 0; i < bean.list.size(); i++ ) { var data = bean.list.get( i ); Report.addRow( 6+i, 6 ); Report.setCell( 3, 6+i, data.name ); } </Script> </Document>
修飾子とタイプ | クラスと説明 |
---|---|
class |
DocumentGenerator.Bean |
コンストラクタと説明 |
---|
DocumentGenerator(SetupParam param) |
修飾子とタイプ | メソッドと説明 |
---|---|
void |
generate(File path) |
void |
generate(String file) |
void |
generate(Window parent) |
countKey, select, selectKey
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
select
public DocumentGenerator(SetupParam param) throws Exception
Exception
public void generate(Window parent) throws Exception
generate
インタフェース内 IGenerator
Exception
public void generate(File path) throws Exception
generate
インタフェース内 IGenerator
Exception
public void generate(String file) throws Exception
generate
インタフェース内 IGenerator
Exception
Copyright © 2021 S.D.S Co.,Ltd.. All rights reserved.