package org.apache.poi.xssf.binary;
import org.apache.poi.ss.usermodel.ClientAnchor;
import org.apache.poi.ss.usermodel.RichTextString;
import org.apache.poi.ss.util.CellAddress;
import org.apache.poi.util.Internal;
import org.apache.poi.xssf.usermodel.XSSFComment;
@Internal
class extends XSSFComment {
private final CellAddress ;
private final String ;
private final XSSFBRichTextString ;
private boolean = true;
(CellAddress cellAddress, String author, String comment) {
super(null, null, null);
this.cellAddress = cellAddress;
this.author = author;
this.comment = new XSSFBRichTextString(comment);
}
@Override
public void (boolean visible) {
throw new IllegalArgumentException("XSSFBComment is read only.");
}
@Override
public boolean () {
return visible;
}
@Override
public CellAddress () {
return cellAddress;
}
@Override
public void (CellAddress addr) {
throw new IllegalArgumentException("XSSFBComment is read only");
}
@Override
public void (int row, int col) {
throw new IllegalArgumentException("XSSFBComment is read only");
}
@Override
public int () {
return cellAddress.getRow();
}
@Override
public void (int row) {
throw new IllegalArgumentException("XSSFBComment is read only");
}
@Override
public int getColumn() {
return cellAddress.getColumn();
}
@Override
public void setColumn(int col) {
throw new IllegalArgumentException("XSSFBComment is read only");
}
@Override
public String () {
return author;
}
@Override
public void (String author) {
throw new IllegalArgumentException("XSSFBComment is read only");
}
@Override
public XSSFBRichTextString () {
return comment;
}
@Override
public void (RichTextString string) {
throw new IllegalArgumentException("XSSFBComment is read only");
}
@Override
public ClientAnchor () {
return null;
}
}