类 CustomCellService.StyleCellsBatchRequest

java.lang.Object
cn.isliu.core.service.CustomCellService.StyleCellsBatchRequest
封闭类:
CustomCellService

public static class CustomCellService.StyleCellsBatchRequest extends Object
批量设置单元格样式请求
  • 构造器详细资料

    • StyleCellsBatchRequest

      public StyleCellsBatchRequest()
  • 方法详细资料

    • getRanges

      public List<String> getRanges()
      获取单元格范围列表(用于API请求)
      返回:
      单元格范围列表
    • getCellRanges

      public List<CustomCellService.CellRange> getCellRanges()
      获取单元格结构化范围列表
      返回:
      单元格结构化范围列表
    • setCellRanges

      public void setCellRanges(List<CustomCellService.CellRange> cellRanges)
      设置单元格结构化范围列表
      参数:
      cellRanges - 单元格结构化范围列表
    • addCellRange

      public void addCellRange(CustomCellService.CellRange cellRange)
      添加单元格结构化范围
      参数:
      cellRange - 单元格结构化范围
    • addCellRange

      public void addCellRange(String sheetId, String startPosition, String endPosition)
      添加单元格结构化范围
      参数:
      sheetId - 工作表ID
      startPosition - 开始位置
      endPosition - 结束位置
    • getStyle

      public CustomCellService.Style getStyle()
    • setStyle

      public void setStyle(CustomCellService.Style style)