public class ImageParamParser extends ReportsTagParser<String>
| 修飾子とタイプ | フィールドと説明 |
|---|---|
static String |
DEFAULT_TAG
デフォルトタグ
|
static String |
PARAM_HEIGHT
画像の高さ調整用のパラメータ
|
static String |
PARAM_RESIZE_BASE
リサイズ基準指定用のパラメータ(セル基準:
"cell", 元画像基準: "image") |
static String |
PARAM_SCALE
画像サイズ倍率用のパラメータ
|
static String |
PARAM_VALUE
置換変数のパラメータ
|
static String |
PARAM_WIDTH
画像の幅調整用のパラメータ
|
| コンストラクタと説明 |
|---|
ImageParamParser()
コンストラクタ
|
ImageParamParser(String tag)
コンストラクタ
|
| 修飾子とタイプ | メソッドと説明 |
|---|---|
ParsedReportInfo |
parse(org.apache.poi.ss.usermodel.Sheet sheet,
org.apache.poi.ss.usermodel.Cell tagCell,
Object data) |
void |
replaceImageValue(org.apache.poi.ss.usermodel.Sheet sheet,
org.apache.poi.ss.usermodel.Cell cell,
String filePath,
Integer dx1,
Integer dy1,
Double scale,
org.bbreak.excella.reports.tag.ImageParamParser.ResizeBase resizeBase)
セルのパラメータ置換
|
boolean |
useControlRow()
タグを制御行として扱うか否かを取得する。
|
getParamDatapublic ImageParamParser()
public ImageParamParser(String tag)
tag - タグpublic ParsedReportInfo parse(org.apache.poi.ss.usermodel.Sheet sheet, org.apache.poi.ss.usermodel.Cell tagCell, Object data) throws org.bbreak.excella.core.exception.ParseException
parse クラス内 ReportsTagParser<String>org.bbreak.excella.core.exception.ParseExceptionpublic void replaceImageValue(org.apache.poi.ss.usermodel.Sheet sheet,
org.apache.poi.ss.usermodel.Cell cell,
String filePath,
Integer dx1,
Integer dy1,
Double scale,
org.bbreak.excella.reports.tag.ImageParamParser.ResizeBase resizeBase)
throws org.bbreak.excella.core.exception.ParseException
sheet - 処理シートcell - タグセルfilePath - 置換イメージファイルパスdx1 - 画像の幅調整値dy1 - 画像の高さ調整値scale - 画像の倍率値resizeBase - リサイズ基準org.bbreak.excella.core.exception.ParseExceptionpublic boolean useControlRow()
ReportsTagParseruseControlRow クラス内 ReportsTagParser<String>Copyright © 2009–2023. All rights reserved.