类 ExcelBuilderImpl

java.lang.Object
com.sh.wf.excel.write.ExcelBuilderImpl
所有已实现的接口:
ExcelBuilder

public class ExcelBuilderImpl extends Object implements ExcelBuilder
  • 构造器详细资料

    • ExcelBuilderImpl

      public ExcelBuilderImpl(WriteWorkbook writeWorkbook)
  • 方法详细资料

    • addContent

      public void addContent(List data, WriteSheet writeSheet)
      从接口复制的说明: ExcelBuilder
      WorkBook increase value
      指定者:
      addContent 在接口中 ExcelBuilder
      参数:
      data - java basic type or java model extend BaseModel
      writeSheet - Write the sheet
    • addContent

      public void addContent(List data, WriteSheet writeSheet, WriteTable writeTable)
      从接口复制的说明: ExcelBuilder
      WorkBook increase value
      指定者:
      addContent 在接口中 ExcelBuilder
      参数:
      data - java basic type or java model extend BaseModel
      writeSheet - Write the sheet
      writeTable - Write the table
    • fill

      public void fill(Object data, FillConfig fillConfig, WriteSheet writeSheet)
      从接口复制的说明: ExcelBuilder
      WorkBook fill value
      指定者:
      fill 在接口中 ExcelBuilder
      参数:
      data - Object
      fillConfig - FillConfig
      writeSheet - WriteSheet
    • finish

      public void finish(boolean onException)
      从接口复制的说明: ExcelBuilder
      Close io
      指定者:
      finish 在接口中 ExcelBuilder
      参数:
      onException - boolean
    • addContent

      public void addContent(List data, WriteSheet writeSheet, WriteTable writeTable, String password)
      从接口复制的说明: ExcelBuilder
      add password
      指定者:
      addContent 在接口中 ExcelBuilder
      参数:
      data - List
      writeSheet - WriteSheet
      writeTable - WriteTable
      password - String
    • merge

      public void merge(int firstRow, int lastRow, int firstCol, int lastCol)
      从接口复制的说明: ExcelBuilder
      Creates new cell range. Indexes are zero-based.
      指定者:
      merge 在接口中 ExcelBuilder
      参数:
      firstRow - Index of first row
      lastRow - Index of last row (inclusive), must be equal to or larger than firstRow
      firstCol - Index of first column
      lastCol - Index of last column (inclusive), must be equal to or larger than firstCol
    • writeContext

      public WriteContext writeContext()
      从接口复制的说明: ExcelBuilder
      Gets the written data
      指定者:
      writeContext 在接口中 ExcelBuilder
      返回:
      WriteContext