home *** CD-ROM | disk | FTP | other *** search
/ DOS/V Power Report 2003 August / VPR0308.ISO / ADOBEREADER60 / Installer / Data1.cab / RdLang32.JPN / EXVW / 10120 < prev    next >
Text File  |  2003-05-22  |  4KB  |  119 lines

  1. gTypeWidth = 300;
  2. gOptionsWidth = 300;
  3. gEntryWidth = 650;
  4. gEntryHeight = 200;
  5. gNumberWidth = 30;
  6. gMaxLabelWidth = max(    zstring_width(zstring: '$$$/Dialogs/HeaderFooter/PageRange'),
  7.                         zstring_width(zstring: '$$$/Dialogs/HeaderFooter/From'),
  8.                         zstring_width(zstring: '$$$/Dialogs/HeaderFooter/Alternation'),
  9.                         zstring_width(zstring: '$$$/Dialogs/HeaderFooter/Margins')
  10.                     );
  11.  
  12. dialog(name: '$$$/Dialogs/HeaderFooter') {
  13.     view (align_children: align_left) {
  14.         tab_group(    item_id: 'tabs',
  15.                     width: gEntryWidth,
  16.                     height: gEntryHeight);
  17.         view (align_children: align_top) {
  18.             view (align_children: align_left) {
  19.                 cluster(name: '$$$/Dialogs/HeaderFooter/InsertDate',
  20.                         align_children: align_row,
  21.                         width: gTypeWidth) 
  22.                 {
  23.                     static_text(name: '$$$/Dialogs/HeaderFooter/Style1');
  24.                     popup(    item_id: 'dstl',
  25.                             alignment: align_fill);
  26.                     button(    item_id: 'dins',
  27.                             name: '$$$/Dialogs/HeaderFooter/InsertButton1');
  28.                 }
  29.                 cluster(name: '$$$/Dialogs/HeaderFooter/InsertPageNum',
  30.                         align_children: align_row,
  31.                         width: gTypeWidth) 
  32.                 {
  33.                     static_text(name: '$$$/Dialogs/HeaderFooter/Style2');
  34.                     popup(    item_id: 'pstl',
  35.                             alignment: align_fill);
  36.                     button(    item_id: 'pins',
  37.                             name: '$$$/Dialogs/HeaderFooter/InsertButton2');
  38.                 }
  39.                 cluster(name: '$$$/Dialogs/HeaderFooter/InsertCustom',
  40.                         align_children: align_right,
  41.                         width: gTypeWidth) 
  42.                 {
  43.                     view (    alignment: align_fill,
  44.                             align_children: align_row) {
  45.                         static_text(name: '$$$/Dialogs/HeaderFooter/TextLabel');
  46.                         edit_text( item_id: 'ctxt',
  47.                                     alignment: align_fill);
  48.                     }
  49.                     button(    item_id: 'cins',
  50.                             name: '$$$/Dialogs/HeaderFooter/InsertButton3');
  51.                 }
  52.             }
  53.             cluster(name: '$$$/Dialogs/HeaderFooter/PageOptions',
  54.                     align_children: align_fill,
  55.                     width: gOptionsWidth) {
  56.                 view (align_children: align_row) {
  57.                     view(    width: gMaxLabelWidth,
  58.                             align_children: align_right) {
  59.                         static_text(name: '$$$/Dialogs/HeaderFooter/PageRange');
  60.                     }
  61.                     popup(    item_id: 'prpu',
  62.                             alignment: align_fill);
  63.                 }
  64.                 view (align_children: align_row) {
  65.                     view(    width: gMaxLabelWidth,
  66.                             align_children: align_right) {
  67.                         static_text(name: '$$$/Dialogs/HeaderFooter/From');
  68.                     }
  69.                     edit_text(    item_id: 'from',
  70.                                 numeric: true,
  71.                                 SpinEdit: true,
  72.                                 width: gNumberWidth);
  73.                     gap(width:5);
  74.                     static_text(name: '$$$/Dialogs/HeaderFooter/To');
  75.                     edit_text(    item_id: 'topg',
  76.                                 numeric: true,
  77.                                 SpinEdit: true,
  78.                                 width: gNumberWidth);
  79.                 }
  80.                 view (align_children: align_row) {
  81.                     view (    width: gMaxLabelWidth,
  82.                             align_children: align_right) {
  83.                         static_text(name: '$$$/Dialogs/HeaderFooter/Alternation');
  84.                     }
  85.                     popup(    item_id: 'alpu',
  86.                             alignment: align_fill);
  87.                 }
  88.                 view (align_children: align_row) {
  89.                     view (    width: gMaxLabelWidth,
  90.                             align_children: align_right) {
  91.                         static_text(name: '$$$/Dialogs/HeaderFooter/Margins');
  92.                     }
  93.                     view (align_children: align_center) {
  94.                         edit_text(    item_id: 'topm',
  95.                                     numeric: true,
  96.                                     SpinEdit: true,
  97.                                     width: gNumberWidth);
  98.                         view (align_children: align_row) {
  99.                             edit_text(    item_id: 'lftm',
  100.                                         numeric: true,
  101.                                         SpinEdit: true,
  102.                                         width: gNumberWidth);
  103.                             edit_text(    item_id: 'rgtm',
  104.                                         numeric: true,
  105.                                         SpinEdit: true,
  106.                                         width: gNumberWidth);
  107.                         }
  108.                         edit_text(    item_id: 'botm',
  109.                                     numeric: true,
  110.                                     SpinEdit: true,
  111.                                     width: gNumberWidth);
  112.                         static_text(item_id: 'unts', alignment: align_fill);
  113.                     }
  114.                 }
  115.             }
  116.         }
  117.         ok_cancel_other_help(other_name: '$$$/Dialogs/HeaderFooter/Preview');
  118.     }
  119. }