com.aspose.cells

Class TxtValueQuoteType

  • java.lang.Object
    • com.aspose.cells.TxtValueQuoteType
public class TxtValueQuoteType 
extends java.lang.Object

Utility class containing constants. Specifies the type of using quotation marks for values in text format files.

Field Summary
static final intNORMAL
All values that contain special characters such as quotation mark, separator character will be quoted. Same with the behavior of ms excel for exporting text file.
static final intALWAYS
All values will be quoted always.
static final intMINIMUM
Only quote values when needed. Such as, if one value contains quotation mark but the quotation mark is not at the begin of this value, this value will not be quoted.
static final intNEVER
All values will not be quoted. The exported text file with this type may not be read back correctly because the needed quotation marks being absent.
 

    • Field Detail

      • NORMAL

        public static final int NORMAL
        All values that contain special characters such as quotation mark, separator character will be quoted. Same with the behavior of ms excel for exporting text file.
      • ALWAYS

        public static final int ALWAYS
        All values will be quoted always.
      • MINIMUM

        public static final int MINIMUM
        Only quote values when needed. Such as, if one value contains quotation mark but the quotation mark is not at the begin of this value, this value will not be quoted.
      • NEVER

        public static final int NEVER
        All values will not be quoted. The exported text file with this type may not be read back correctly because the needed quotation marks being absent.