Interface TableStyle

    • Method Detail

      • getName

        String getName()
        Returns:
        name (may be a built-in name)
      • getIndex

        int getIndex()
        Some clients may care where in the table style list this definition came from, so we'll track it. The spec only references these by name, unlike Dxf records, which these definitions reference by index (XML definition order). Nice of MS to be consistent when defining the ECMA standard. Use org.apache.poi.xssf.usermodel.XSSFBuiltinTableStyle.isBuiltinStyle(TableStyle) to determine whether the index is for a built-in style or explicit user style
        Returns:
        index from org.apache.poi.xssf.model.StylesTable.getExplicitTableStyle(String) or org.apache.poi.xssf.usermodel.XSSFBuiltinTableStyle.ordinal()
      • isBuiltin

        boolean isBuiltin()
        Returns:
        true if this is a built-in style defined in the OOXML specification, false if it is a user style