Get the weight of the bold style of the text font used in the cell.
 

1 excel.Cell.getFontBoldWeigh

<excel.Cell.getFontBoldWeigh>
    <cl /> +
</excel.Cell.getFontBoldWeigh>
Example
Copy
<xsql-script>

	<body>
	
		<set name='wb'>
		    <excel.Workbook />
		</set>
		
		<set name="sheet_1">
		    <excel.Workbook.createSheet name="Sheet 1">
		        <wb/>
		    </excel.Workbook.createSheet>
		</set>
		
		<set name="cell_r2c5">
		    <excel.Sheet.createCell row="15" col="3">
		        <sheet_1/>
		    </excel.Sheet.createCell>
		</set>
		
		<excel.Cell.setCellStyle css="font-size: 20; font-color: red; font-weight: bold; font-name: arial; ">
		    <wb/>
		    <excel.Cell.setCellValue>
		        <cell_r2c5/>
		        <string>CELDA DE PRUEBA</string>
		    </excel.Cell.setCellValue>
		</excel.Cell.setCellStyle>
		
		<println>Font bold weight:
		    <excel.Cell.getFontBoldweight>
		        <wb/>
		        <cell_r2c5/>
		    </excel.Cell.getFontBoldweight>
		</println>
		<println>Font color:
		    <excel.Cell.getFontColor>
		        <wb/>
		        <cell_r2c5/>
		    </excel.Cell.getFontColor>
		</println>
		<println>Font italic:
		    <excel.Cell.getFontItalic>
		        <wb/>
		        <cell_r2c5/>
		    </excel.Cell.getFontItalic>
		</println>
		<println>Font name:
		    <excel.Cell.getFontName>
		        <wb/>
		        <cell_r2c5/>
		    </excel.Cell.getFontName>
		</println>
		<println>Font size
		    <excel.Cell.getFontSize>
		        <wb/>
		        <cell_r2c5/>
		    </excel.Cell.getFontSize>
		</println>
		<println>Font strikeout:
		    <excel.Cell.getFontStrikeout>
		        <wb/>
		        <cell_r2c5/>
		    </excel.Cell.getFontStrikeout>
		</println>
		<println>Font underline:
		    <excel.Cell.getFontUnderline>
		        <wb/>
		        <cell_r2c5/>
		    </excel.Cell.getFontUnderline>
		</println>
		
		<excel.Workbook.write>
		    <wb/>
		    <file name="test.xls" type="absolute"/>
		</excel.Workbook.write>
	
	</body>

</xsql-script>