类 RangeTemplateCellType

java.lang.Object
com.grapecity.documents.excel.BaseCellType
com.grapecity.documents.excel.RangeTemplateCellType

public class RangeTemplateCellType extends BaseCellType
RangeTemplate provide a template from a range of referenced worksheet, it can apply to a cell. It will render the cell same as the template and fill data differently. If the param row, col, rowCount, colCount not set, it will use the sheet's usedrange as the range scope.
  • 构造器详细资料

    • RangeTemplateCellType

      public RangeTemplateCellType()
    • RangeTemplateCellType

      public RangeTemplateCellType(IWorksheet worksheet)
      Use a worksheet and it's used range info to create a RangeTemplateCellType.
      参数:
      worksheet - An IWorksheet object that used to be referenced. The sheet could be an individual sheet outside the workbook.
    • RangeTemplateCellType

      public RangeTemplateCellType(IWorksheet worksheet, int row, int column, int rowCount, int columnCount)
      Use a worksheet and specific range to create a RangeTemplateCellType.
      参数:
      worksheet - An IWorksheet object that used to be referenced. The sheet could be an individual sheet outside the workbook.
      row - the template scope start row.
      column - the template scope start column.
      rowCount - the template scope row count.
      columnCount - the template scope column count.
    • RangeTemplateCellType

      public RangeTemplateCellType(IRange range)
      Use a specific range to create a RangeTemplateCellType.
      参数:
      range - An IRange object that used to be referenced.