Interface Workbook

    • Method Detail

      • addSheet

        Sheet addSheet​(String name)
        Creates a new sheet at the right of known sheets of this workbook.
        Parameters:
        name - the new sheet name.
        Returns:
        the created sheet.
      • getColor

        Color getColor​(ColorDescriptor colorDescriptor)
        Returns the color associated to the specified descriptor. This methods creates the color if it's not already part of the workbook. It helps to ensure the workbook does not contain duplicate color objects for the same descriptor.
        Parameters:
        colorDescriptor - the descriptor of the color to create.
        Returns:
        the created color.