aspose.cells

Class CellValueFormatStrategy

Utility class containing constants. Specifies how to apply style for the value of the cell.

Field Summary
const  NumberNONE
Not formatted.
const  NumberCELL_STYLE
Only formatted with the cell's original style.
const  NumberDISPLAY_STYLE
Formatted with the cell's displayed style.
const  NumberDISPLAY_STRING
Gets the displayed string shown in ms excel. The main difference from DISPLAY_STYLE is this option also considers the effect of column width. If the column width is too small to show the formatted string completely, "#" may be shown, just like what ms excel does.
 

    • Field Detail

      • NONE

        const Number NONE
        Not formatted.
      • CELL_STYLE

        const Number CELL_STYLE
        Only formatted with the cell's original style.
      • DISPLAY_STYLE

        const Number DISPLAY_STYLE
        Formatted with the cell's displayed style.
      • DISPLAY_STRING

        const Number DISPLAY_STRING
        Gets the displayed string shown in ms excel. The main difference from DISPLAY_STYLE is this option also considers the effect of column width. If the column width is too small to show the formatted string completely, "#" may be shown, just like what ms excel does.