(form "00227" (size 80  21)
  (heading "DEFINE A STRING ENTITY")
  (field "entity_name" (position 15 2) (display_length 32) (max_length "PLT_OBJECT_NAME_LENGTH")
    (input disallowed)
  )
  (field "num_string_rows" (position 18 2) (display_length 32) (max_length 32)
    (input disallowed) (default "-1")
  )
  (field "num_point_rows" (position 21 2) (display_length 32) (max_length 32)
    (input disallowed) (default "-1")
  )
  (scroll_block "main" (position  2 3) (size 76  17) (extra  0  0)
    (scroll_size 76 53) 
    (main
      (field "use_string_ops" (position  24  1) (display_length 1)
        (input allowed) (translate upper) (null disallowed) 
        (auto_next off)
        (value_in "Y" "N") 
        (default "Y")
        )
      (scroll_block "string_ops" (position  18  3) (size 17  12) 
        (extra  16  1) (scroll_size 130 18) 
        (repeat interactive (grow  14  0) (instances  1 (min  1) (max 9)))
        
	(main
          (field "str_attribute" (position 1  0) (display_length  8) 
            (input allowed)
            (value_in "field" 
                      "symbol" 
                      "image"
                      "sym in field" 
                      "note" 
                      "note+field" 
                      "(field)")
            (default "field")
            (translate lower) (null allowed) (max_length 12)
            )
          (field "str_field" (position 1  1) (display_length  8) 
            (input allowed)
            (default "STR")
            (value_in "" "STR" "Y" "X" "Z" "DESC" "D1" "D2" "D3" "D4" "D5" "D6"
                      "D7" "D8" "D9" "D10" "D11" "D12" "D13" "D14" "D15" "D16" 
                      "D17" "D18" "D19" "D20" "D21" "D22" "D23" "D24" "D25" "D26" 
                      "D27" "D28" "D29" "D30" "D31" "D32" "D33" "D34" "D35" "D36" 
                      "D37" "D38" "D39" "D40" "D41" "D42" "D43" "D44" "D45" "D46" 
                      "D47" "D48" "D49" "D50" "D51" "D52" "D53" "D54" "D55" "D56" 
                      "D57" "D58" "D59" "D60" "D61" "D62" "D63" "D64" "D65" "D66" 
                      "D67" "D68" "D69" "D70" "D71" "D72" "D73" "D74" "D75" "D76" 
                      "D77" "D78" "D79" "D80" "D81" "D82" "D83" "D84" "D85" "D86" 
                      "D87" "D88" "D89" "D90" "D91" "D92" "D93" "D94" "D95" "D96" 
                      "D97" "D98" "D99" "D100" "STRSEG" "PTS" "LOC" "ID")
            (translate upper) (null allowed) (max_length 6)
            )
          (field "str_ndec" (position 1  2) (display_length  8) 
            (input allowed)
            (default "0")
            (format integer_4) (null disallowed) (max_length 2)
            )
          (field "str_notation" (position 1  3) (display_length  8) 
            (input allowed)
            (max_length 14)
            (null allowed)
            )
          (field "str_symbol" (position 1  4) (display_length  8) 
            (input allowed)
            (translate lower) (null allowed) (max_length 12)
            )
          (field "str_image" (position 1  4) (display_length  8) 
            (input allowed)
            (null allowed) (max_length 252)
            )
          (field "str_filled" (position 1  5) (display_length  8) 
            (input allowed) (max_length 4)
            (default "No")
            (value_in "Yes" "No")
            )
          (field "str_position" (position 1  6) (display_length  8) 
            (input allowed)
            (value_in "start"  
                      "b1-2"  
                      "last"  
                      "centre"  
                      "centroid"  
                      "frequency")
            (default "centre")
            (translate lower) (null allowed) (max_length 9)
            )
          (field "str_direction" (position 1  7) (display_length  8) 
            (input allowed)
            (value_in "none" "angle" "forward" "backward" "centre")
            (default "none")
            (translate lower) (null allowed) (max_length 8)
            ) 
          (field "str_bearing" (position 1  8) (display_length  8) 
            (input allowed)
            (default "0.0")
            (low_bound 0) (high_bound 360)
            (translate upper) (format real_8) (null disallowed) (max_length 3)
            )
          (field "str_distance" (position 1 9) (display_length  8) 
            (input allowed)
            (default "5.0")
            (translate upper) (format real_8) (null disallowed) (max_length 6)
            )
          (field "str_distance_type" (position 1  10) (display_length  8) 
            (input allowed)
            (value_in "actual" "percentage")
            (default "actual")
            (translate lower) (null disallowed) (max_length 11)
            )
          (field "str_text_angle" (position 1 11) (display_length  8) 
            (input allowed)
            (default "0.0")
            (low_bound 0) (high_bound 360)
            (translate upper) (null disallowed) (max_length 5)
            )
          (field "str_text_angle_type" (position 1 12) (display_length  8) 
            (input allowed)
            (value_in "absolute" "relative" "bearing")
            (default "absolute")
            (translate lower) (null disallowed) (max_length 8)
            )
          (field "str_horiz_just" (position 1 13) (display_length  8) 
            (input allowed)
            (value_in "left" "centre" "right")
            (default "centre")
            (translate lower) (null disallowed) (max_length 6)
            )
          (field "str_vert_just" (position 1 14) (display_length  8) 
            (input allowed)
            (value_in "top" "centre" "bottom")
            (default "centre")
            (translate lower) (null disallowed) (max_length 6)
            )
          (field "str_font" (position 1  15) (display_length 4) (input allowed)
            (max_length 50))
          (field "str_bold_font" (position 1  16) (display_length 2) (input allowed))
          (field "str_italic_font" (position 1  17) (display_length 2) (input allowed))
          (field "str_underline_font" (position 1  18) (display_length 2) (input allowed))
          (field "str_text_height" (position 1 19) (display_length  8) 
            (input allowed)
            (default "1.8")
            (translate upper) (null disallowed) (max_length 6)
            )
          (field "str_priority" (position 1 20) (display_length  8) 
            (input allowed)
            (low_bound 0) (high_bound 125)
            (default "101")
            (format integer_4) (null disallowed) (max_length 3)
            )
          (field "str_pen" (position 1 21) (display_length  8) (input allowed)
            (low_bound 1) (high_bound 999)
            (default "1")
            (format integer_4) (null disallowed) (max_length 3)
            )
          (field "str_allow_pen_mods" (position  24  1) (display_length 1)
            (input allowed) (translate upper) (null disallowed) 
            (auto_next off)
            (value_in "Y" "N") 
            (default "Y")
            )

        )
      )



      (field "use_point_ops" (position  62  1) (display_length 1)
        (input allowed) (translate upper) (null disallowed) 
        (auto_next off)
        (value_in "Y" "N") 
        (default "Y")
        )
      (scroll_block "point_ops" (position  56  3) (size 17  12) 
        (extra  16  1) (scroll_size 130 18)
        (repeat interactive (grow  14  0) (instances  1 (min  1) (max 9)))
      
      (main
          (field "pnt_attribute" (position 1  0) (display_length  8)
            (input allowed)
            (value_in "field" 
                      "symbol" 
                      "image"
                      "sym in field" 
                      "note" 
                      "note+field" 
                      "(field)")
            (default "field")
            (translate lower) (null allowed) (max_length 12)
            )
          (field "pnt_field" (position 1  1) (display_length  8) 
            (input allowed)
            (default "STR")
            (value_in "" "STR" "Y" "X" "Z" "DESC" "D1" "D2" "D3" "D4" "D5" "D6"
                      "D7" "D8" "D9" "D10" "D11" "D12" "D13" "D14" "D15" "D16" 
                      "D17" "D18" "D19" "D20" "D21" "D22" "D23" "D24" "D25" "D26" 
                      "D27" "D28" "D29" "D30" "D31" "D32" "D33" "D34" "D35" "D36" 
                      "D37" "D38" "D39" "D40" "D41" "D42" "D43" "D44" "D45" "D46" 
                      "D47" "D48" "D49" "D50" "D51" "D52" "D53" "D54" "D55" "D56" 
                      "D57" "D58" "D59" "D60" "D61" "D62" "D63" "D64" "D65" "D66" 
                      "D67" "D68" "D69" "D70" "D71" "D72" "D73" "D74" "D75" "D76" 
                      "D77" "D78" "D79" "D80" "D81" "D82" "D83" "D84" "D85" "D86" 
                      "D87" "D88" "D89" "D90" "D91" "D92" "D93" "D94" "D95" "D96" 
                      "D97" "D98" "D99" "D100" "STRSEG" "PTS" "LOC" "ID" "PTSTR" "PTSEG")
            (translate upper) (null allowed) (max_length 6)
            )
          (field "pnt_ndec" (position 1  2) (display_length  8) 
            (input allowed)
            (default "0")
            (format integer_4) (null disallowed) (max_length 2)
            )
          (field "pnt_notation" (position 1  3) (display_length  8)
            (input allowed)
            (max_length 14)
            (null allowed)
            )
          (field "pnt_symbol" (position 1  4) (display_length  8) 
            (input allowed)
            (translate lower) (null allowed) (max_length 12)
            )
          (field "pnt_image" (position 1  4) (display_length  8) 
            (input allowed)
            (null allowed) (max_length 252)
            )
          (field "pnt_filled" (position 1  5) (display_length  8) 
            (input allowed) (max_length 4)
            (default "No")
            (value_in "Yes" "No")
            )

          (field "pnt_direction" (position 1  6) (display_length  8) 
            (input allowed)
            (value_in "none" "angle" "forward" "backward" "centre")
            (default "none")
            (translate lower) (null allowed) (max_length 8)
            ) 
          (field "pnt_bearing" (position 1  7) (display_length  8) 
            (input allowed)
            (default "0.0")
            (low_bound 0) (high_bound 360)
            (translate upper) (format real_8) (null disallowed) (max_length 3)
            )
          (field "pnt_distance" (position 1  8) (display_length  8) 
            (input allowed)
            (default "5.0")
            (translate upper) (format real_8) (null disallowed) (max_length 6)
            )
          (field "pnt_distance_type" (position 1  9) (display_length  8) 
            (input allowed)
            (value_in "actual" "percentage")
            (default "actual")
            (translate lower) (null disallowed) (max_length 11)
            )
          (field "pnt_offset" (position 1 10) (display_length  8) 
            (input allowed)
            (low_bound -500) (high_bound 500)
            (default "0.0")
            (translate upper) (format real_8) (null disallowed) (max_length 5)
            )
          (field "pnt_text_angle" (position 1 12) (display_length  8)
            (input allowed)
            (default "0.0")
            (low_bound 0) (high_bound 360)
            (translate upper) (null disallowed) (max_length 5)
            )
          (field "pnt_text_angle_type" (position 1 13) (display_length  8) 
            (input allowed)
            (value_in "absolute" "relative" "bearing")
            (default "absolute")
            (translate lower) (null disallowed) (max_length 8)
            )
          (field "pnt_horiz_just" (position 1 14) (display_length  8) 
            (input allowed)
            (value_in "left" "centre" "right")
            (default "centre")
            (translate lower) (null disallowed) (max_length 6)
            )
          (field "pnt_vert_just" (position 1 15) (display_length  8) 
            (input allowed)
            (value_in "top" "centre" "bottom")
            (default "centre")
            (translate lower) (null disallowed) (max_length 6)
            )
          (field "pnt_font" (position 1  16) (display_length 4) (input allowed)
            (max_length 50))
          (field "pnt_bold_font" (position 1  17) (display_length 2) (input allowed))
          (field "pnt_italic_font" (position 1  18) (display_length 2) (input allowed))
          (field "pnt_underline_font" (position 1  19) (display_length 2) (input allowed))
          (field "pnt_text_height" (position 1 20) (display_length  8) 
            (input allowed)
            (default "1.8")
            (translate upper) (null disallowed) (max_length 6)
            )
          (field "pnt_priority" (position 1 21) (display_length  8) 
            (input allowed)
            (low_bound 0) (high_bound 125)
            (default "101")
            (format integer_4) (null disallowed) (max_length 3)
            )
          (field "pnt_pen" (position 1  22) (display_length  8) 
            (input allowed)
            (low_bound 1) (high_bound 999)
            (default "1")
            (format integer_4) (null disallowed) (max_length 3)
            )
          (field "pnt_allow_pen_mods" (position  24  1) (display_length 1)
            (input allowed) (translate upper) (null disallowed) 
            (auto_next off)
            (value_in "Y" "N") 
            (default "Y")
            )

         )
      )

      (field "use_line_ops" (position  22  19) (display_length 1)
        (input allowed) (translate upper) (null disallowed) 
        (auto_next off)
        (value_in "Y" "N") 
        (default "Y")
        )
      (scroll_block "line_ops" (position  2  20) (size 37  13) 
        (extra  0  0) (scroll_size 35 13)
	    (main
          (field "line_type" (position 21  0) (display_length  8) 
            (input allowed)
            (value_in "--------" "-- - --" "-- -- --" "--- ---" "-- .. --" "-- . --" "--  --  --" "SPECIAL")
            (default "--------")
            (translate none) (null allowed) (max_length 10)
            )
          (field "line_priority" (position 21  1) (display_length  3) 
            (input allowed)
            (low_bound 0) (high_bound 125)
            (default "0")
            (format integer_4) (null disallowed) (max_length 3)
            )
          (field "line_pen" (position 21  2) (display_length  3)
            (input allowed)
            (low_bound 1) (high_bound 999)
            (default "1")
            (format integer_4) (null disallowed) (max_length 3)
            )
          (field "line_allow_pen_mods" (position  24  1) (display_length 1)
            (input allowed) (translate upper) (null disallowed) 
            (auto_next off)
            (value_in "Y" "N") 
            (default "Y")
            )
          (field "line_pattern_length" (position 21  3) (display_length  5) 
            (input allowed)
            (low_bound 0) (high_bound 2000)
            (default "25")
            (translate upper) (format real_8) (null disallowed) (max_length 5)
            )
          (field "line_segments" (position 25  5) (display_length  1) 
            (input allowed)
            (low_bound 1) (high_bound 8)
            (default "4")
            (format integer_4) (null disallowed) (max_length 1)
            )
          (field "line_segment1" (position 4  8) (display_length  3) 
            (input allowed)
            (null allowed) (max_length 6)
            )
          (field "line_segment2" (position 24  8) (display_length  3) 
            (input allowed)
            (null allowed) (max_length 6))
          (field "line_segment3" (position 4 9) (display_length  3) 
            (input allowed)
            (null allowed) (max_length 6))
          (field "line_segment4" (position 24 9) (display_length  3) 
            (input allowed)
            (null allowed) (max_length 6))
          (field "line_segment5" (position 4 10) (display_length  3) 
            (input allowed)
            (null allowed) (max_length 6))
          (field "line_segment6" (position 24 10) (display_length  3) 
            (input allowed)
            (null allowed) (max_length 6))
          (field "line_segment7" (position 4 11) (display_length  3) 
            (input allowed)
            (null allowed) (max_length 6))
          (field "line_segment8" (position 24 11) (display_length  3)
            (input allowed)
            (null allowed) (max_length 6))
        )
      )


      (field "use_cliff_ops" (position  68  19) (display_length 1)
        (input allowed) (translate upper) (null disallowed) 
        (auto_next off)
        (value_in "Y" "N") 
        (default "Y")
        )
      (scroll_block "cliff_ops" (position  47  20) (size 26  7) 
        (extra  0  0) (scroll_size 26 7)
	    (main
          (field "cliff_toe_offset" (position 14  0) (display_length  8) 
            (input allowed)
            (default "1")
            (format integer_4) (null disallowed)
            )
          (field "cliff_style" (position 14  1) (display_length  8) 
            (input allowed)
            (default "dashes")
            (value_in "dashes" "wide dashes" "half v" "full v" "doublesmalldashes")
            (translate lower) (null disallowed) (max_length 20)
            )
          (field "cliff_frequency" (position 14  2) (display_length  8) 
            (input allowed)
            (default "100")
            (low_bound 1) (high_bound 999999)
            (translate upper) (format real_8) (null disallowed)
            )
          (field "cliff_width" (position 14  3) (display_length  8) 
            (input allowed)
            (default "10")
            (low_bound 0) (high_bound 999999)
            (translate upper) (format real_8) (null disallowed)
            )
          (field "cliff_pen" (position 14  4) (display_length  3) 
            (input allowed)
            (default "1")
            (low_bound 1) (high_bound 999)
            (format integer_4) (null disallowed)
            )
          (field "cliff_allow_pen_mods" (position  24  1) (display_length 1)
            (input allowed) (translate upper) (null disallowed) 
            (auto_next off)
            (value_in "Y" "N") 
            (default "Y")
            )

          (field "cliff_priority" (position 14  5) (display_length  3) 
            (input allowed)
            (default "0")
            (low_bound 0) (high_bound 125)
            (format integer_4) (null disallowed) 
            )
        )
      )

      (field "use_pattern_ops" (position  22  37) (display_length 1)
        (input allowed) (translate upper) (null disallowed) 
        (auto_next off)
        (value_in "Y" "N") 
        (default "Y")
        )
      (scroll_block "pattern_ops" (position  2  38) (size 30  13) 
        (extra  0  0) (scroll_size 30 13)
        (main
          (field "pattern_name" (position 16  2) (display_length 10) 
            (input allowed)
            (translate lower) (null allowed) (max_length 16)
            )
          (field "pattern_lookup_file" (position 16  3) (display_length 10) 
            (input allowed)
            (translate lower) (null allowed) (max_length 40)
            )
          (field "pattern_lookup_field" (position 16  4) (display_length  5) 
            (input allowed)
            (translate upper) (format string_field)
            (max_length 5)
            (default "D1")
            )
          (field "pattern_style" (position 15 7) (display_length  9) 
            (input allowed)
            (value_in "normal" "outermost" "ignore")
            (default "normal")
            (translate none) (null allowed) (max_length 9)
            )
          (field "pattern_option" (position 15 8) (display_length  7) 
            (input allowed)
            (value_in "segment" "string")
            (default "string") 
            (translate none) (null allowed) (max_length 7)
            )
          (field "pattern_scale" (position 15 9) (display_length 10) 
            (input allowed)
            (low_bound .01) (high_bound 999999)
            (default "500")
            (translate upper) (format real_8) (null disallowed) (max_length 10)
            )
          (field "pattern_rotation_angle" (position 15 10) (display_length  5)
            (input allowed)
            (default "0")
            (low_bound 0) (high_bound 360)
            (translate upper) (format real_8) (null disallowed) (max_length 5)
            )
          (field "pattern_pen" (position 15 11) (display_length  3) 
            (input allowed)
            (default "1")
            (low_bound 0) (high_bound 999)
            (format integer_4) (null disallowed) (max_length 3)
            )
          (field "pattern_allow_pen_mods" (position  24  1) (display_length 1)
            (input allowed) (translate upper) (null disallowed) 
            (auto_next off)
            (value_in "Y" "N") 
            (default "Y")
            )
          (field "pattern_priority" (position 15 12) (display_length  3) 
            (input allowed)
            (default "0")
            (low_bound 0) (high_bound 125)
            (format integer_4) (null disallowed) (max_length 3)
            )
        )
      )

      (field "use_colour_ops" (position  62  37) (display_length 1)
        (input allowed) (translate upper) (null disallowed) 
        (auto_next off)
        (value_in "Y" "N") 
        (default "Y")
        )
      (scroll_block "colour_ops" (position  42  38) (size 30  11) 
        (extra  0  0) (scroll_size 30 11)
	    (main
          (field "colour_fill_option" (position 15 3) (display_length  7) 
            (input allowed)
            (value_in "segment" "string") (default "segment")
            (translate lower) (null allowed)
            )
          (field "colour_lookup_file" (position 17  6) (display_length 10) 
            (input allowed)
            (translate lower) (null allowed) (max_length 40)
            )
          (field "colour_lookup_field" (position 17  7) (display_length  6) 
            (input allowed)
            (translate upper) (format string_field) (default "D1") 
            (null allowed)
            )
          (field "colour_method" (position 21  8) (display_length  5) 
            (input allowed)
            (translate none) 
            (value_in "match" "bounds") 
            (default "match")
            (auto_next off) 
            (null disallowed)
            )
          (field "colour_pen" (position 15  10) (display_length 3) 
            (input allowed)
            (format integer_4) (low_bound 1) (high_bound 999) (null disallowed)
            (default "1") 
            )
          (field "colour_allow_pen_mods" (position  24  1) (display_length 1)
            (input allowed) (translate upper) (null disallowed) 
            (auto_next off)
            (value_in "Y" "N") 
            (default "Y")
            )

        )
      )
    )
  )
  (default_buttons)
)
