org.apache.poi.xssf.model

## Interface Themes

- All Known Implementing Classes:
    ThemesTable

      public interface Themes

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `XSSFColor` | `getThemeColor(int idx)` Convert a theme "index" (as used by fonts etc) into a color.
    `void` | `inheritFromThemeAsRequired(XSSFColor color)` If the colour is based on a theme, then inherit information (currently just colours) from it as required.

- - ### Method Detail

    - #### getThemeColor

          XSSFColor getThemeColor(int idx)

      Convert a theme "index" (as used by fonts etc) into a color.
      Parameters:
        `idx` - A theme "index"
      Returns:
        The mapped XSSFColor, or null if not mapped.

    - #### inheritFromThemeAsRequired

          void inheritFromThemeAsRequired(XSSFColor color)

      If the colour is based on a theme, then inherit information (currently just colours) from it as required.

Copyright 2020 The Apache Software Foundation or its licensors, as applicable.