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

  1. gControlsWidth = 300;
  2. gPreviewWidth = 270;
  3. gPreviewHeight = 400;
  4.  
  5. gMaxLabelWidth = max(    zstring_width(zstring: '$$$/Dialogs/Background/VertAlign'),
  6.                         zstring_width(zstring: '$$$/Dialogs/Background/HorizAlign'),
  7.                         zstring_width(zstring: '$$$/Dialogs/Background/Rotation'),
  8.                         zstring_width(zstring: '$$$/Dialogs/Background/Opacity')
  9.                     );
  10.  
  11. dialog(name: '$$$/Dialogs/Background', target_id: 'cncl') {
  12.     view (align_children: align_left) {
  13.         view (align_children: align_top) {
  14.             view (width: gControlsWidth, align_children: align_fill) {
  15.                 cluster(name: '$$$/Dialogs/Background/TypeCluster') {
  16.                     view(align_children: align_left) {
  17.                         radio(    group_id: 'rgrp', name: '$$$/Dialogs/Background/AddBackground', item_id: 'rad3');
  18.                         radio(    group_id: 'rgrp', name: '$$$/Dialogs/Background/AddWatermark', item_id: 'rad4');
  19.                         view (align_children: align_row) {
  20.                             check_box(    name: '$$$/Dialogs/Background/OnScreen',
  21.                                         item_id: 'scrn');
  22.                             check_box(    name: '$$$/Dialogs/Background/OnPrint',
  23.                                         item_id: 'prnt');
  24.                         }
  25.                     }
  26.                 }
  27.                 cluster(name: '$$$/Dialogs/Background/SourceCluster') {
  28.                     view(align_children: align_left) {
  29.                         view(align_children: align_row) {
  30.                             static_text(    item_id: 'srce',
  31.                                             width: max_char_width()*16);
  32.                             button(    name: '$$$/Dialogs/Background/ChooseFile',
  33.                                     item_id: 'chse');
  34.                         }
  35.                         view(align_children: align_row) {
  36.                             static_text(name: '$$$/Dialogs/Background/ChoosePage');
  37.                             edit_text(    numeric: true,
  38.                                         SpinEdit: true,
  39.                                         item_id: 'page',
  40.                                         width: max_char_width()*4);
  41.                         }
  42.                     }
  43.                 }
  44.  
  45.                 cluster(name: '$$$/Dialogs/Background/TargetCluster') {
  46.                     view() {
  47.                         radio(    group_id: 'rgr2',
  48.                                 name: '$$$/Dialogs/Background/AllPagesLabel',
  49.                                 item_id: 'rad1');
  50.                         view(align_children: align_row) {
  51.                             radio(    group_id: 'rgr2',
  52.                                     name: '$$$/Dialogs/Background/PageRangeLabel',
  53.                                     item_id: 'rad2');
  54.                             static_text(name: '$$$/Dialogs/Background/From');
  55.                             edit_text(    item_id: 'from',
  56.                                         numeric: true,
  57.                                         SpinEdit: true,
  58.                                         width: max_char_width()*3);
  59.                             static_text(name: '$$$/Dialogs/Background/To');
  60.                             edit_text(    item_id: 'topg',
  61.                                         numeric: true,
  62.                                         SpinEdit: true,
  63.                                         width: max_char_width()*3);
  64.                         }
  65.                     }
  66.                 }
  67.  
  68.                 cluster(name: '$$$/Dialogs/Background/LayoutCluster') {
  69.                     view() {
  70.                         view(align_children: align_row) {
  71.                             view(width: gMaxLabelWidth, align_children: align_right) {
  72.                                 static_text(name: '$$$/Dialogs/Background/VertAlign');
  73.                             }
  74.                             popup(    item_id: 'vert',
  75.                                     width: max_char_width()*6);
  76.                         }
  77.                         view(align_children: align_row) {
  78.                             view(width: gMaxLabelWidth, align_children: align_right) {
  79.                                 static_text(name: '$$$/Dialogs/Background/HorizAlign');
  80.                             }
  81.                             popup(    item_id: 'horz',
  82.                                     width: max_char_width()*6);
  83.                         }
  84.                         view(align_children: align_row) {
  85.                             view(width: gMaxLabelWidth, align_children: align_right) {
  86.                                 static_text(name: '$$$/Dialogs/Background/Rotation');
  87.                             }
  88.                             edit_text(    item_id: 'rotn',
  89.                                         numeric: true,
  90.                                         SpinEdit: true,
  91.                                         width: max_char_width()*3);
  92.                         }
  93.                         view(align_children: align_row) {
  94.                             view(width: gMaxLabelWidth, align_children: align_right) {
  95.                                 static_text(name: '$$$/Dialogs/Background/Opacity');
  96.                             }
  97.                             slider(    item_id: 'opsl',
  98.                                     width: max_char_width()*10,
  99.                                     alignment: align_fill);
  100.                             edit_text(    item_id: 'opct',
  101.                                         numeric: true,
  102.                                         SpinEdit: true,
  103.                                         width: max_char_width()*4);
  104.                         }
  105.  
  106.                     }
  107.                 }
  108.             }
  109.  
  110.             cluster(name: '$$$/Dialogs/Background/Preview',
  111.                     alignment: align_row) 
  112.             {
  113.                 user_item( item_id: 'prev', 
  114.                             width: gPreviewWidth,
  115.                             height: gPreviewHeight);
  116.             }
  117.         }
  118.  
  119.         ok_cancel_help();
  120.     }
  121. }