Enum SnowDocFactory.Config

    • Enum Constant Detail

      • RESOLUTION

        public static final SnowDocFactory.Config RESOLUTION
        Resolution for document layout (default: 300)
      • BIT_DEPTH

        public static final SnowDocFactory.Config BIT_DEPTH
        Bits per pixel for document output (default: 24)
      • PAGE_WIDTH

        public static final SnowDocFactory.Config PAGE_WIDTH
        Width of page in pixels at document resolution
      • PAGE_HEIGHT

        public static final SnowDocFactory.Config PAGE_HEIGHT
        Height of page in pixels at document resolution
      • LOCALE

        public static final SnowDocFactory.Config LOCALE
        Locale for date and number processing, in LICD String format (en-US)
      • DOCUMENT_ID

        public static final SnowDocFactory.Config DOCUMENT_ID
        User-defined string for identifying documents
      • XLSX_MAX_PAGE_RENDER

        public static final SnowDocFactory.Config XLSX_MAX_PAGE_RENDER
        DEPRECATED: Cancels xlsx rendering after the specified number of cells has been rendered
      • XLSX_USE_PRINT_AREA

        public static final SnowDocFactory.Config XLSX_USE_PRINT_AREA
        Boolean for xlsx files to obey the print area written in the file. default - true
      • XLSX_PRINT_AREA_SHEETS

        public static final SnowDocFactory.Config XLSX_PRINT_AREA_SHEETS
        List of sheets to apply print area to, if desired. Zero Indexed. Ignored if print area is true. Zero Indexed. default - all sheets.
        Formatting: Comma separated, positive whole numbers only.
        Example: "0,2,3" means sheets [0,2,4] will use XLSX_USE_PRINT_AREA, all other sheets will be true
      • XLSX_MAX_COLUMN_PAGE_WIDTH

        public static final SnowDocFactory.Config XLSX_MAX_COLUMN_PAGE_WIDTH
        Limits the potential width of a generated page from an XLSX sheet. Without a print area or dimension setting, Rastermaster will allow each page to be as wide as it need to display all the data. Without this, computer generated files run the risk of becoming picture that either take up dozens of gigabytes of space, or just failing in general. Formatting: positive int value. Default: 512
      • LEFT_MARGIN

        public static final SnowDocFactory.Config LEFT_MARGIN
        Customizable attributes unique to ascii
      • DATE

        public static final SnowDocFactory.Config DATE
        Date to use for documents with a 'current date' field
    • Method Detail

      • values

        public static SnowDocFactory.Config[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (SnowDocFactory.Config c : SnowDocFactory.Config.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static SnowDocFactory.Config valueOf​(java.lang.String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null