home *** CD-ROM | disk | FTP | other *** search
/ Monster Media 1993 #2 / Image.iso / cad / tabpro20.zip / TABPRO.DCL < prev    next >
Text File  |  1993-07-30  |  9KB  |  352 lines

  1. //
  2. // TabPro.DCL - Copyright 1993 by Mountain Software
  3. //
  4. // This file is used by TabPro, the AutoCAD Spreadsheet Interface
  5. //
  6. // THIS SOFTWARE IS PROVIDED "AS IS" WITHOUT EXPRESS OR IMPLIED
  7. // WARRANTY.  ALL IMPLIED WARRANTIES OF FITNESS FOR ANY PARTICULAR
  8. // PURPOSE AND OF MERCHANTABILITY ARE HEREBY DISCLAIMED.
  9. //
  10. //*===================================================================*
  11.  
  12. dcl_settings : default_dcl_settings { audit_level = 1; }
  13.  
  14. tabpro : dialog
  15. {
  16.     label = "TabPro (c) Mountain Software";
  17.     initial_focus = "file";
  18.     //*----- File -----
  19.     :column {
  20.         :row {
  21.         //*----- File
  22.             : button {
  23.                 label = "File ";
  24.                 fixed_width=true;
  25.                 width = 5;
  26.                 key = "file";
  27.                 mnemonic = "F";
  28.             }
  29.             : edit_box {
  30.                 key = "file_box";
  31.                 width = 25;
  32.             }
  33.         }
  34.         :row {
  35.         //*----- Range
  36.             : button {
  37.                 label = "Range";
  38.                 fixed_width=true;
  39.                 width = 5;
  40.                 key = "range";
  41.                 mnemonic = "R";
  42.             }
  43.             : edit_box {
  44.                 key = "range_box";
  45.                 width = 25;
  46.             }
  47.         }
  48.         : boxed_column {
  49.             label = "Text Parameters";
  50.         //*----- Text Layer
  51.             : row {
  52.                 : button {
  53.                     label = "Layer...";
  54.                     fixed_width=true;
  55.                     width = 5;
  56.                     key = "layer";
  57.                     mnemonic = "L";
  58.                 }
  59.                 : popup_list {
  60.                     key = "layer_list";
  61.                     width = 15;
  62.                     popup_height = 7;
  63.                     alignment = right;
  64.                 }
  65.             }
  66.         //*----- Text Style
  67.             : row {
  68.                 : button {
  69.                     label = "Style...";
  70.                     fixed_width=true;
  71.                     width = 5;
  72.                     key = "style";
  73.                     mnemonic = "S";
  74.                 }
  75.                 : popup_list {
  76.                     key = "style_list";
  77.                     width = 15;
  78.                     popup_height = 7;
  79.                     alignment = right;
  80.                 }
  81.             }
  82.         //*----- Grid
  83.             : row {
  84.                 : button {
  85.                     label = "Grid... ";
  86.                     fixed_width=true;
  87.                     width = 5;
  88.                     key = "grid";
  89.                     mnemonic = "G";
  90.                 }
  91.         //*----- Grid Layer
  92.                 : popup_list {
  93.                     mnemonic = "L";
  94.                     key = "grid_layer";
  95.                     width = 15;
  96.                     popup_height = 7;
  97.                     alignment = right;
  98.                 }
  99.             }
  100.         //*----- Text Size
  101.             : edit_box {
  102.                 label = "Height";
  103.                 mnemonic = "H";
  104.                 key = "text_ht";
  105.                 edit_width = 18;
  106.             }
  107.         //*----- Row Spacing
  108.             : row {
  109.                 : edit_box {
  110.                     label = "Row Scale";
  111.                     mnemonic = "R";
  112.                     key = "row_sf";
  113.                     edit_width = 5;
  114.                 }
  115.                 : slider {
  116.                     key = "row_slider";
  117.                     width = 12;
  118.                     fixed_width = true;
  119.                     min_value = 100;
  120.                     max_value = 500;
  121.                 }
  122.             }
  123.         //*----- Column Spacing
  124.             : row {
  125.                 : edit_box {
  126.                     label = "Column Offset";
  127.                     mnemonic = "C";
  128.                     key = "col_of";
  129.                     edit_width = 5;
  130.                 }
  131.                 : slider {
  132.                     key = "col_slider";
  133.                     width = 12;
  134.                     fixed_width = true;
  135.                     min_value = 0;
  136.                     max_value = 400;
  137.                 }
  138.             }
  139.         }
  140.     }
  141.     ok_cancel_help_errtile;
  142. }
  143.  
  144. ok_cancel1 : column {
  145.     : row {
  146.         fixed_width = true;
  147.         alignment = centered;
  148.         : ok_button { key = "accept_1"; }
  149.         : spacer { width = 2; }
  150.         cancel_button;
  151.     }
  152. }
  153.  
  154. Grid : dialog
  155. {
  156.     label = "Table Grid";
  157.     allow_accept=true;
  158.     : boxed_radio_row {
  159.         label = "Border";
  160.         : radio_button {
  161.             key = "border_0";
  162.             label = "None";
  163.             mnemonic = "N";
  164.         }
  165.         : radio_button {
  166.             key = "border_1";
  167.             label = "Thin";
  168.             mnemonic = "T";
  169.         }
  170.         : radio_button {
  171.             key = "border_2";
  172.             label = "Medium";
  173.             mnemonic = "M";
  174.         }
  175.         : radio_button {
  176.             key = "border_3";
  177.             label = "tHick";
  178.             mnemonic = "H";
  179.         }
  180.     }
  181.     spacer;
  182.     : boxed_radio_row {
  183.         label = "Grid Lines";
  184.         mnemonic = "D";
  185.         : radio_button {
  186.             key = "grid_0";
  187.             label = "nOne";
  188.             mnemonic = "O";
  189.         }
  190.         : radio_button {
  191.             key = "grid_1";
  192.             label = "Dotted";
  193.             mnemonic = "D";
  194.         }
  195.         : radio_button {
  196.             key = "grid_2";
  197.             label = "dAshed";
  198.             mnemonic = "A";
  199.         }
  200.         : radio_button {
  201.             key = "grid_3";
  202.             label = "Continuous";
  203.             mnemonic = "C";
  204.         }
  205.     }
  206.     spacer;
  207.     ok_cancel1;
  208. }
  209.  
  210.  
  211. Range : dialog
  212. {
  213.     label = "Named Ranges";
  214.     : list_box {
  215.         key = "range_list";
  216.         width = 35;
  217.         allow_accept=true;
  218.     }
  219.     ok_cancel1;
  220. }
  221.  
  222. //  Duplication of the Style Icon Menu
  223.  
  224. icon_box : image_button
  225. {
  226.     height = 4;
  227.     width = 12;
  228.     fixed_height = true;
  229.     fixed_width = true;
  230.     color=graphics_background;
  231.     allow_accept=true;
  232. }
  233.  
  234. icon_dialog : dialog
  235. {
  236.     label = "Icon Menu";
  237.     : row {
  238.         : list_box {
  239.             key = "name_list";
  240.             width = 20;
  241.             allow_accept=true;
  242.         }
  243.         : column {
  244.             : row {
  245.                 : icon_box { key = "01"; }
  246.                 : icon_box { key = "02"; }
  247.                 : icon_box { key = "03"; }
  248.                 : icon_box { key = "04"; }
  249.             }
  250.             : row {
  251.                 : icon_box { key = "05"; }
  252.                 : icon_box { key = "06"; }
  253.                 : icon_box { key = "07"; }
  254.                 : icon_box { key = "08"; }
  255.             }
  256.             : row {
  257.                 : icon_box { key = "09"; }
  258.                 : icon_box { key = "10"; }
  259.                 : icon_box { key = "11"; }
  260.                 : icon_box { key = "12"; }
  261.             }
  262.             : row {
  263.                 : icon_box { key = "13"; }
  264.                 : icon_box { key = "14"; }
  265.                 : icon_box { key = "15"; }
  266.                 : icon_box { key = "16"; }
  267.             }
  268.             : row {
  269.                 : icon_box { key = "17"; }
  270.                 : icon_box { key = "18"; }
  271.                 : icon_box { key = "19"; }
  272.                 : icon_box { key = "20"; }
  273.             }
  274.         }
  275.     }
  276.     : row {
  277.         fixed_width = true;
  278.         alignment = centered;
  279.         : button {
  280.             label = "Previous";
  281.             key = "previous";
  282.             mnemonic = "P";
  283.         }
  284.         : spacer { width = 2; }
  285.         : button {
  286.             label = "Next";
  287.             key = "next";
  288.             mnemonic = "N";
  289.         }
  290.         : spacer { width = 2; }
  291.         ok_button;
  292.         : spacer { width = 2; }
  293.         cancel_button;
  294.         : spacer { width = 2; }
  295.         help_button;
  296.     }
  297.     errtile;
  298. }
  299.  
  300. style_dialog : dialog
  301. {
  302.     label = "Style Settings";
  303.     : edit_box {
  304.         label = "Style Name";
  305.         mnemonic = "S";
  306.         key = "style_name";
  307.         edit_width = 15;
  308.     }
  309.     : edit_box {
  310.         label = "Font Filename";
  311.         mnemonic = "F";
  312.         key = "font_file";
  313.         edit_width = 15;
  314.     }
  315.     : edit_box {
  316.         label = "Text Height";
  317.         mnemonic = "H";
  318.         key = "height";
  319.         edit_width = 10;
  320.     }
  321.     : edit_box {
  322.         label = "Width Factor";
  323.         mnemonic = "W";
  324.         key = "width_factor";
  325.         edit_width = 10;
  326.     }
  327.     : edit_box {
  328.         label = "Obliqueing Angle";
  329.         mnemonic = "O";
  330.         key = "obl_ang";
  331.         edit_width = 10;
  332.     }
  333.     : boxed_row {
  334.         : toggle {
  335.             label = "Backwards";
  336.             key = "backwards";
  337.             value = "0";
  338.         }
  339.         : toggle {
  340.             label = "Upside Down";
  341.             key = "upside_down";
  342.             value = "0";
  343.         }
  344.         : toggle {
  345.             label = "Vertical";
  346.             key = "vertical";
  347.             value = "0";
  348.         }
  349.     }
  350.     ok_cancel_help_errtile;
  351. }
  352.