aspose.cells

Class TxtLoadStyleStrategy

Utility class containing constants. Specifies how to apply style for parsed values when converting string value to number or datetime.

Field Summary
const  NumberNONE
Does not set style for the parsed value.
const  NumberBUILT_IN
Set the style as built-in number/datetime when the parsed value are plain numeric/datetime values.
const  NumberEXACT_FORMAT
Set the exact custom format for the parsed value to make the formatted value be same with the original input one.
 

    • Field Detail

      • NONE

        const Number NONE
        Does not set style for the parsed value.
      • BUILT_IN

        const Number BUILT_IN
        Set the style as built-in number/datetime when the parsed value are plain numeric/datetime values. When ms excel parsing datetime or numeric values according to user's input(such as CSV file), the formatting of those values may be changed, such as leading/tailing zeros of number, year/month/day order of datetime, ...etc. This type is for simulating ms excel's behavior.
      • EXACT_FORMAT

        const Number EXACT_FORMAT
        Set the exact custom format for the parsed value to make the formatted value be same with the original input one.