Get the font color of the cell.
 

1 excel.Cell.getFillForegroundColor

<excel.Cell.getFillForegroundColor>
    <wb /> +
    <cl /> +
</excel.Cell.getFillForegroundColor>
Example

A new document is created and the color of any cell is requested. The result obatined should be #000000.

Copy
<xsql-script>
	<body>
		<set name='wb'>
		    <excel.Workbook />
		</set>
		
		
		<set name="sheet_1">
		    <excel.Workbook.createSheet name="Hoja 1">
		        <wb/>
		    </excel.Workbook.createSheet>
		</set>
		
		<set name="cell_r2c2">
		    <excel.Sheet.createCell row="3" col="1">
		        <sheet_1/>
		    </excel.Sheet.createCell>
		</set>
		
		<excel.Cell.setCellValue>
		    <cell_r2c2/>
		    <println>
		    	<excel.Cell.getFillForegroundColor>
		            <wb/>
		        	<cell_r2c2/>
		    	</excel.Cell.getFillForegroundColor>
		    </println>
		</excel.Cell.setCellValue>
		
		<excel.Workbook.write>
		    <wb/>
		    <file name="test.xls"/>
		</excel.Workbook.write>
	</body>
</xsql-script>