경로없을 경우 이미지 메모 처리 수정

master
mjkhan21 4 months ago
parent f1078395b0
commit 674cb492eb

@ -4,6 +4,7 @@ import java.util.ArrayList;
import java.util.List;
import java.util.Map;
import java.util.function.Supplier;
import java.util.stream.IntStream;
import com.fasterxml.jackson.core.type.TypeReference;
@ -21,6 +22,10 @@ public class CellDef {
/** 빈 셀 정보 */
public static CellDef EMPTY = new CellDef().setLabel("").setField("");
public static int[] intArray(int endExclusive) {
return IntStream.range(0, endExclusive).toArray();
}
/**CellDef .
* @param defs CellDef
* @param factory function

@ -15,6 +15,8 @@ import com.microsoft.schemas.vml.CTFill;
import com.microsoft.schemas.vml.CTShape;
import com.microsoft.schemas.vml.STFillType;
import cokr.xit.foundation.Assert;
/**()
* @author mjkhan
*/
@ -82,6 +84,8 @@ public class Comment {
* @param path
*/
public void setImageComment(String path) {
if (Assert.isEmpty(path)) return;
create("");
setBackgroundImage("", path);
}

Loading…
Cancel
Save