public static class CustomCellService.StyleCellsBatchRequest extends Object
| 构造器和说明 |
|---|
StyleCellsBatchRequest() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
addCellRange(CustomCellService.CellRange cellRange)
添加单元格结构化范围
|
void |
addCellRange(String sheetId,
String startPosition,
String endPosition)
添加单元格结构化范围
|
List<CustomCellService.CellRange> |
getCellRanges()
获取单元格结构化范围列表
|
String |
getParams() |
List<String> |
getRanges()
获取单元格范围列表(用于API请求)
|
CustomCellService.Style |
getStyle() |
String |
getType() |
void |
setCellRanges(List<CustomCellService.CellRange> cellRanges)
设置单元格结构化范围列表
|
void |
setParams(String params) |
void |
setStyle(CustomCellService.Style style) |
void |
setType(String type) |
public List<CustomCellService.CellRange> getCellRanges()
public void setCellRanges(List<CustomCellService.CellRange> cellRanges)
cellRanges - 单元格结构化范围列表public void addCellRange(CustomCellService.CellRange cellRange)
cellRange - 单元格结构化范围public void addCellRange(String sheetId, String startPosition, String endPosition)
sheetId - 工作表IDstartPosition - 开始位置endPosition - 结束位置public CustomCellService.Style getStyle()
public void setStyle(CustomCellService.Style style)
public String getType()
public void setType(String type)
public String getParams()
public void setParams(String params)
Copyright © 2025. All rights reserved.