public class CellCommentOperator extends Object
| コンストラクタと説明 |
|---|
CellCommentOperator() |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
CellCommentHandler |
getCommentHandler()
セルのコメントを実際に処理する実装を取得する。
|
void |
loadArrayCellComment(ArrayCommentSetter commentSetter,
org.apache.poi.ss.usermodel.Cell cell,
Object beanObj,
int index,
FieldAccessor field,
Configuration config)
セルのコメントを抽出し、
XlsArrayColumns フィールドに設定する。 |
void |
loadCellComment(CommentSetter commentSetter,
org.apache.poi.ss.usermodel.Cell cell,
Object beanObj,
FieldAccessor field,
Configuration config)
セルのコメントを抽出し、フィールドに設定する。
|
void |
loadMapCellComment(MapCommentSetter commentSetter,
org.apache.poi.ss.usermodel.Cell cell,
Object beanObj,
String key,
FieldAccessor field,
Configuration config)
セルのコメントを抽出し、
XlsMapColumns フィールドに設定する。 |
void |
saveArrayCellComment(ArrayCommentGetter commentGetter,
org.apache.poi.ss.usermodel.Cell cell,
Object beanObj,
int index,
FieldAccessor field,
Configuration config)
XlsArrayColumns フィールドのセルにコメントを書き込む |
void |
saveCellComment(CommentGetter commentGetter,
org.apache.poi.ss.usermodel.Cell cell,
Object beanObj,
FieldAccessor field,
Configuration config)
セルにコメントを書き込む
|
void |
saveMapCellComment(MapCommentGetter commentGetter,
org.apache.poi.ss.usermodel.Cell cell,
Object beanObj,
String key,
FieldAccessor field,
Configuration config)
XlsMapColumns フィールドのセルにコメントを書き込む |
void |
setCommentHandler(CellCommentHandler commentHandler)
セルのコメントを実際に処理する実装を設定する。
|
public void loadCellComment(CommentSetter commentSetter, org.apache.poi.ss.usermodel.Cell cell, Object beanObj, FieldAccessor field, Configuration config)
commentSetter - 抽出したコメントの設定先cell - 抽出するセルbeanObj - コメントを設定するBeanオブジェクトfield - 処理対象のフィールドconfig - システム設定IllegalArgumentException - cell == null.public void saveCellComment(CommentGetter commentGetter, org.apache.poi.ss.usermodel.Cell cell, Object beanObj, FieldAccessor field, Configuration config)
commentGetter - 書込み対象のコメントの取得先cell - コメントを書き込むセルbeanObj - コメントを設定するBeanオブジェクトfield - 処理対象のフィールドconfig - システム設定public void loadMapCellComment(MapCommentSetter commentSetter, org.apache.poi.ss.usermodel.Cell cell, Object beanObj, String key, FieldAccessor field, Configuration config)
XlsMapColumns フィールドに設定する。commentSetter - 抽出したコメントの設定先cell - 抽出するセルbeanObj - コメントを設定するBeanオブジェクトkey - マップのキーfield - 処理対象のフィールドconfig - システム設定IllegalArgumentException - cell == null.public void saveMapCellComment(MapCommentGetter commentGetter, org.apache.poi.ss.usermodel.Cell cell, Object beanObj, String key, FieldAccessor field, Configuration config)
XlsMapColumns フィールドのセルにコメントを書き込むcommentGetter - 書込み対象のコメントの取得先cell - コメントを書き込むセルbeanObj - コメントを設定するBeanオブジェクトkey - マップのキーfield - 処理対象のフィールドconfig - システム設定public void loadArrayCellComment(ArrayCommentSetter commentSetter, org.apache.poi.ss.usermodel.Cell cell, Object beanObj, int index, FieldAccessor field, Configuration config)
XlsArrayColumns フィールドに設定する。commentSetter - 抽出したコメントの設定先cell - 抽出するセルbeanObj - コメントを設定するBeanオブジェクトindex - 配列のインデックスfield - 処理対象のフィールドconfig - システム設定IllegalArgumentException - cell == null.public void saveArrayCellComment(ArrayCommentGetter commentGetter, org.apache.poi.ss.usermodel.Cell cell, Object beanObj, int index, FieldAccessor field, Configuration config)
XlsArrayColumns フィールドのセルにコメントを書き込むcommentGetter - 書込み対象のコメントの取得先cell - コメントを書き込むセルbeanObj - コメントを設定するBeanオブジェクトindex - 配列のインデックスfield - 処理対象のフィールドconfig - システム設定public CellCommentHandler getCommentHandler()
public void setCommentHandler(CellCommentHandler commentHandler)
commentHandler - セルのコメントを実際に処理する実装。Copyright © 2025 mygreen. All rights reserved.