public interface IReport
修飾子とタイプ | メソッドと説明 |
---|---|
void |
addRow(int row)
現在のページに行を追加します。
|
void |
addRow(int dst,
int src)
現在のページに、templateから書式をコピーして行を追加します。
|
void |
appendTo(String dstName)
現在処理中のページを、指定されたページに追加します。
|
void |
appendTo(String dstName,
boolean bBreak)
現在処理中のページを、指定されたページに追加します。
|
void |
clearCell(int col,
int row)
セルをクリアします。
|
void |
clearCell(String pos)
セルをクリアします。
|
void |
copyCell(int fcol,
int frow,
int tcol,
int trow)
セルの値をコピーします。
|
void |
copyCell(String fpos,
String tpos)
セルの値をコピーします。
|
void |
endPage()
現在処理中のページに改ページを追加します。
|
void |
endPage(int row)
現在処理中のページに改ページを追加します。
|
void |
endRow()
行の処理を終了します。
|
void |
exit()
処理を終了します。
|
Object |
getAttribute(String name)
スクリプトに設定されている変数を取得します。
|
String |
getContentType()
サーブレットのContentTypeヘッダを取得します。
|
String |
getExtension()
ファイルの拡張子を返します。
|
jp.co.sds_corp.util.common.CmnProperty |
getProperty()
初期情報の変換に使用するリソースを返します。
|
Object |
getResult()
帳票の出力結果をオブジェクトとして取得します。
|
jp.co.sds_corp.util.script.IScriptParser |
getScriptParser()
スクリプトを実行するオブジェクトを取得します。
|
ISource |
getSource()
データを取得するオブジェクトを取得します。
|
String |
getType()
帳票の種別を返します。
|
void |
init(jp.co.sds_corp.util.config.IConfiguration config)
設定情報で初期化します。
|
boolean |
isDebug()
デバッグフラグを取得します。
|
void |
loadFile(String file)
ファイルを読み込みます。
|
void |
loadPage(String sheetName)
ページを読み込みます。
|
void |
loadPage(String newName,
String orgName)
ページに名前をつけて読み込みます。
|
void |
log(String message)
ログを出力します。
|
void |
print()
帳票を出力します。
|
void |
print(OutputStream out)
帳票を出力します。
|
void |
setAttribute(String name,
Object obj)
スクリプトに変数を設定します。
|
void |
setBorder(int col,
int row,
int location,
Border border)
セルに罫線を設定します。
|
void |
setBorder(String pos,
int location,
Border border)
セルに罫線を設定します。
|
void |
setCell(int col,
int row,
Object data)
セルに値を設定します。
|
void |
setCell(String pos,
Object data)
セルに値を設定します。
|
void |
setCellFormula(int col,
int row,
String formula)
セルに式を設定します。
|
void |
setCellFormula(String pos,
String formula)
セルに式を設定します。
|
void |
setDebug(boolean var)
デバッグフラグを設定します。
|
void |
setProperty(jp.co.sds_corp.util.common.CmnProperty prop)
初期情報の変換に使用するリソースを設定します。
|
void |
setScriptParser(jp.co.sds_corp.util.script.IScriptParser var)
スクリプトを実行するオブジェクトを設定します。
|
void |
setSource(ISource var)
データを取得するオブジェクトを設定します。
|
void |
setupResponse(Object response)
サーブレットのヘッダを設定します。
|
void |
setupResponse(Object response,
String filename)
サーブレットのヘッダを設定します。
|
void |
setupResponse(Object response,
String filename,
String encode)
サーブレットのヘッダを設定します。
|
void init(jp.co.sds_corp.util.config.IConfiguration config) throws Exception
config
- 設定情報Exception
String getType()
void setProperty(jp.co.sds_corp.util.common.CmnProperty prop)
prop
- リソースjp.co.sds_corp.util.common.CmnProperty getProperty()
void setScriptParser(jp.co.sds_corp.util.script.IScriptParser var)
var
- 設定するデータjp.co.sds_corp.util.script.IScriptParser getScriptParser()
void setSource(ISource var)
var
- 設定するデータISource getSource()
void setDebug(boolean var)
var
- 設定するデータboolean isDebug()
void setAttribute(String name, Object obj) throws Exception
name
- 変数名obj
- オブジェクトException
Object getAttribute(String name) throws Exception
name
- 変数名Exception
Object getResult()
void print(OutputStream out) throws Exception
out
- 出力先Exception
String getContentType()
void setupResponse(Object response) throws Exception
response
- HttpServletResponseException
void setupResponse(Object response, String filename) throws Exception
response
- HttpServletResponsefilename
- 出力するファイル名Exception
void setupResponse(Object response, String filename, String encode) throws Exception
response
- HttpServletResponsefilename
- 出力するファイル名encode
- ファイル名のEncodeException
String getExtension()
void loadPage(String sheetName) throws Exception
sheetName
- ページ名Exception
void loadPage(String newName, String orgName) throws Exception
newName
- 新しいページ名orgName
- 読み込むページ名Exception
void appendTo(String dstName) throws Exception
dstName
- 追加するページException
void appendTo(String dstName, boolean bBreak) throws Exception
dstName
- 追加するページbBreak
- 改ページフラグException
void endPage(int row) throws Exception
row
- 改ページを追加する行Exception
void setCell(String pos, Object data) throws Exception
pos
- セルの位置data
- 設定する値Exception
void setCell(int col, int row, Object data) throws Exception
col
- セルの桁row
- セルの行data
- 設定する値Exception
void setCellFormula(String pos, String formula) throws Exception
pos
- セルの位置formula
- 設定する値Exception
void setCellFormula(int col, int row, String formula) throws Exception
col
- セルの桁row
- セルの行formula
- 設定する値Exception
void setBorder(String pos, int location, Border border) throws Exception
pos
- セルの位置location
- 罫線の位置border
- 罫線Exception
void setBorder(int col, int row, int location, Border border) throws Exception
col
- セルの桁row
- セルの行location
- 罫線の位置border
- 罫線Exception
void copyCell(String fpos, String tpos) throws Exception
fpos
- コピー元のセルの位置tpos
- コピー先のセルの位置Exception
void copyCell(int fcol, int frow, int tcol, int trow) throws Exception
fcol
- コピー元のセルの桁frow
- コピー元のセルの行tcol
- コピー先のセルの桁trow
- コピー先のセルの行Exception
void clearCell(int col, int row) throws Exception
col
- セルの桁row
- セルの行Exception
void addRow(int dst, int src) throws Exception
dst
- 追加する位置src
- 書式の行の位置Exception
void log(String message)
message
- ログメッセージCopyright © 2021 S.D.S Co.,Ltd.. All rights reserved.