src/org/tiefaces/components/websheet/utility/ColorUtility.java
private static XColor findAutomaticFillColor(final ThemesTable themeTable,
			final CTSolidColorFillProperties colorFill) {
		// if there's no solidFill, then use automaticFill color
		if (colorFill == null) {
			return null;
		}	
		CTSchemeColor ctsColor = colorFill.getSchemeClr();
		if (ctsColor != null) {
			return getXColorFromSchemeClr(ctsColor, themeTable);
		} else {
			CTSRgbColor ctrColor = colorFill.getSrgbClr();
			if (ctrColor != null) {
				return getXColorFromRgbClr(ctrColor);
			}
		}
		return null;
	}
private static XColor findAutomaticFillColor(final ThemesTable themeTable,
			final CTSolidColorFillProperties colorFill) {
		// if there's no solidFill, then use automaticFill color
		if (colorFill == null) {
			return null;
		}	
		CTSchemeColor ctsColor = colorFill.getSchemeClr();
		if (ctsColor != null) {
			return getXColorFromSchemeClr(ctsColor, themeTable);
		} else {
			CTSRgbColor ctrColor = colorFill.getSrgbClr();
			if (ctrColor != null) {
				return getXColorFromRgbClr(ctrColor);
			}
		}
		return null;
	}
private static XColor findAutomaticFillColor ( final ThemesTable themeTable , final CTSolidColorFillProperties colorFill ) { // if there's no solidFill, then use automaticFill color
 if ( colorFill == null ) { return null ; } CTSchemeColor ctsColor = colorFill . getSchemeClr ( ) ; if ( ctsColor != null ) { return getXColorFromSchemeClr ( ctsColor , themeTable ) ; } else { CTSRgbColor ctrColor = colorFill . getSrgbClr ( ) ; if ( ctrColor != null ) { return getXColorFromRgbClr ( ctrColor ) ; } } return null ; }
Find automatic fill color.

@param themeTable
the theme table
@param colorFill
the color fill
@return the x color
Find automatic fill color .