asposecells.api

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  intNONE
Does not set style for the parsed value.
const  intBUILT_IN
Set the style as built-in number/datetime when the parsed value are plain numeric/datetime values.
const  intEXACT_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 int NONE
        Does not set style for the parsed value.
      • BUILT_IN

        const int 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 int EXACT_FORMAT
        Set the exact custom format for the parsed value to make the formatted value be same with the original input one.