(form "20190" (size 45 18)
  (heading "Create Attribute Report From Block Model")
  (label (position  2  3) (text "Output Type as"))
  (label (position  2  4) (text "Output as"))
  (label (position  2  5) (text "Output file"))
  (label (position  4  6) (text "Location"))
  (label (position  4  7) (text "Id"))
  (label (position  2  9) (text "Output attributes"))
  (label (position  2 10) (text "Output block size"))
  (label (position  2 11) (text "Constrain report"))
  (field "fileType" (position 11  3) (display_length  8) (input allowed)
    (value_in "String" "CSV")
    (default "String")
    (null allowed) (max_length 9)
    )
  (field "type" (position 11  3) (display_length  8) (input allowed)
    (value_in "Outlines" "Centroids")
    (default "Centroids")
    (null allowed) (max_length 9)
    )
  (field "location" (position 10  6) (display_length 10) (input allowed)
    (null allowed) (max_length 26)
    (file output (link "id") (extension "*.str"))
    )
  (field "id" (position 10  7) (display_length 10) (input allowed)
    (format real_8) (null allowed) (max_length 16)
    (help (field "location")))
  (field "report_attributes" (position 15  9) (display_length  4) 
    (input allowed)
    (value_in "all" "some" "none")
    (default "all")
    (translate lower) (null allowed) (max_length 4)
    )
  (field "block_size" (position 15  10) 
    (display_length  1)
    (input allowed)
    (value_in "Y" "N")
    (default "N")
    (null disallowed) (max_length 4)
    )
  (field "constrain" (position 15 11) (display_length  1) (input allowed)
    (value_in "Y" "N")
    (default "N")
    (translate upper) (null allowed) (max_length 1)
    )
   (scroll_block "attributes" (position 25 7) (size 16 5)
     (extra 0 1)
     (scroll_size 16 50)
     (repeat interactive (grow 0 1) (instances 1 (min 1) (max 50)))
    (top
      (label
          (position 1 0)
          (text "Output Attributes")
        )
    )
        
    (main
      (field "attribute" (position 1 0) (display_length 12) (input allowed)
        (max_length "BM_MAX_ATT_NAME_LEN") (null allowed)
        )
    )
  )

  (label (position  2 13) (text "Classification attribute"))

  (field "class_att" (position 17 13) 
    (display_length  10)
    (input allowed)
    (null allowed) (max_length "BM_MAX_ATT_NAME_LEN")
    )

  (label (position  2 14) (text "Classification range"))

  (field "class_range" (position 17 14) 
    (display_length  10)
    (input allowed) (format range)
    (null allowed) (max_length "MAX_RNG_LENGTH")
    )

  (label (position  2 15) (text "Output Resolution"))

  (field "cent_type" (position 17 15) 
    (display_length  14)
    (input allowed)
    (null disallowed) 
    (max_length 30)
    (value_in "User block resolution" "Maximum resolution" "Existing blocks")
    (default "User block resolution")
    )

  (field "outputIJK" (position 17 14) 
    (display_length  2)
    (input allowed)
    (value_in "Y" "N") (default "N")
    (null disallowed) (max_length 10)
    )

  (field "ijkType" (position 17 14) 
    (display_length  10)
    (input allowed)
    (value_in exclusive "Single value" "Separate values")
    (default "Separate values")
    (null disallowed) (max_length 30)
    )

  (field "xSize" (position 17 14) 
    (display_length  2)
    (input allowed)
    (null disallowed) (max_length 10)
    )

  (field "ySize" (position 17 14)
    (display_length  2)
    (input allowed)
    (null disallowed) (max_length 10)
    )

  (field "zSize" (position 17 14)
    (display_length  2)
    (input allowed)
    (null disallowed) (max_length 10)
    )

  (default_buttons)
)
