(form "00814" (size 34 16)
  (help "00814_TIP_0")
  (heading "PLOTTING BORDER PROPERTIES"
  )

  (label (position 2 3) (text "Border ID"))
  (field "border_id" (position 15 3) (display_length 15) (input disallowed)
    (max_length 32) (null disallowed))

  (label (position 2 4) (text "Border description"))
  (field "border_desc" (position 15 4) (display_length 15) (input allowed)
    (max_length 100) (null allowed)
    (help "00812_TIP_2"))

  (label (position 2 5) (text "Preferred sheet"))
  (field "border_sheet" (position 15 5) (display_length 15) (input allowed)
    (max_length 32) (null allowed) (auto_next off) (translate upper)
    (help "00812_TIP_3"))

  (label (position 2 7) (text "Viewport dimensions from sheet boundaries (cm)")) 

  (label (position 2 8) (text "Left"))
  (field "left_offset" (position 8 8) (display_length 4) (input allowed)
    (max_length 8) (null disallowed) (format real_8) (default "0.5")
    (low_bound 0) (decimals 2)
    (help "00812_TIP_4"))

  (label (position 2 9) (text "Right"))
  (field "right_offset" (position 8 9) (display_length 4) (input allowed)
    (max_length 8) (null disallowed) (format real_8) (default "0.5")
    (low_bound 0) (decimals 2)
    (help "00812_TIP_5"))

  (label (position 18 8) (text "PLT_BOTTOM1"))
  (field "bottom_offset" (position 24 8) (display_length 4) (input allowed)
    (max_length 8) (null disallowed) (format real_8) (default "0.5")
    (low_bound 0) (decimals 2)
    (help "00812_TIP_6"))

  (label (position 18 9) (text "Top"))
  (field "top_offset" (position 24 9) (display_length 4) (input allowed)
    (max_length 8) (null disallowed) (format real_8) (default "0.5")
    (low_bound 0) (decimals 2)
    (help "00812_TIP_7"))

  (label (position 2 11) (text "Draw lines around the border"))
  (field "draw_lines" (position 24 11) (display_length 1) (input allowed)
    (max_length 1) (null disallowed) (default "Y") (translate upper)
    (value_in "Y" "N")
    (help "00812_TIP_8"))
  
  (label (position 2 12) (text "Pen number"))
  (field "pen" (position 12 12) (display_length 3) (input allowed)
    (max_length 3) (null disallowed) (default "1") (format integer_4)
    (low_bound 1) (high_bound 999)
    (dependency (value "draw_lines") == "Y")
    (help "00812_TIP_9"))
  
  (label (position 2 13) (text "Line priority"))
  (field "priority" (position 12 13) (display_length 3) (input allowed)
    (max_length 3) (null disallowed) (default "125") (format integer_4)
    (low_bound 0) (high_bound 125)
    (dependency (value "draw_lines") == "Y")
    (help "00812_TIP_10"))

  (default_buttons)
)
