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

  1. gPageLayoutMagWidth  = max(
  2.     zstring_width(zstring: '$$$avDefault'),
  3.     zstring_width(zstring: '$$$avFitPage'),
  4.     zstring_width(zstring: '$$$avFitWidth'),
  5.     zstring_width(zstring: '$$$avFitVisible'),
  6.     zstring_width(zstring: '$$$avDefault'),
  7.     zstring_width(zstring: '$$$avSinglePage'),
  8.     zstring_width(zstring: '$$$avOneColumn'),
  9.     zstring_width(zstring: '$$$avTwoColumns'));
  10. gInitialViewStaticWidth = max(
  11.     zstring_width(zstring: '$$$/Dialogs/OpenInfo/InitialView/PgNumStatic'),
  12.     zstring_width(zstring: '$$$/Dialogs/OpenInfo/InitialView/Magnification'),
  13.     zstring_width(zstring: '$$$/Dialogs/OpenInfo/InitialView/PageLayout'));
  14.  
  15. dialog(name: '$$$/Dialogs/OpenInfo', target_id: 'info')
  16. {
  17.     group()
  18.     {
  19.         view(align_children: align_distribute, alignment: align_fill, item_id: 'grp1')
  20.         {
  21.             cluster(name: '$$$/Dialogs/OpenInfo/InitialView/ClusterName', align_children: align_distribute,
  22.                 alignment: align_fill)
  23.             {
  24.                 group()
  25.                 {
  26.                     radio(item_id: 'rad1', name: '$$$/Dialogs/OpenInfo/InitialView/PageOnly');
  27.                     radio(item_id: 'rad2', name: '$$$/Dialogs/OpenInfo/InitialView/BkAndPg');
  28.                     radio(item_id: 'rad3', name: '$$$/Dialogs/OpenInfo/InitialView/ThmbAndPg');
  29.                     radio(item_id: 'rad4', name: '$$$/Dialogs/OpenInfo/InitialView/OCAndPg');
  30.                 }
  31.                 gap(width: max_char_width()*1);    
  32.                 group()
  33.                 {
  34.                     view(align_children: align_row, alignment: align_left)
  35.                     {
  36.                         static_text(name: '$$$/Dialogs/OpenInfo/InitialView/PgNumStatic', width: gInitialViewStaticWidth, alignment: align_right);
  37.                         edit_text(item_id: 'edt1', width: max_char_width() * 6);
  38.                         static_text(item_id: 'pgof', name: '$$$/Dialogs/OpenInfo/InitialView/PgTotal');
  39.                     }
  40.                     view(align_children: align_row, alignment: align_left)
  41.                     {
  42.                         static_text(name: '$$$/Dialogs/OpenInfo/InitialView/Magnification', width: gInitialViewStaticWidth, alignment: align_right);
  43.                         edit_text(item_id: 'pop1', PopupEdit: true, width: gPageLayoutMagWidth);
  44.                     }
  45.                     view(align_children: align_row, alignment: align_left)
  46.                     {
  47.                         static_text(name: '$$$/Dialogs/OpenInfo/InitialView/PageLayout', width: gInitialViewStaticWidth, alignment: align_right);
  48.                         popup(item_id: 'pop2', width: gPageLayoutMagWidth);
  49.                     }
  50.                 }
  51.             }
  52.         }
  53.         view(align_children: align_distribute, alignment: align_fill, item_id: 'grp2')
  54.         {
  55.             cluster(name: '$$$/Dialogs/OpenInfo/WindowOptions/ClusterName', align_children: align_top)
  56.             {
  57.                 group()
  58.                 {
  59.                     check_box(item_id: 'chk1', name: '$$$/Dialogs/OpenInfo/WindowOptions/ResizeWinToPage');
  60.                     check_box(item_id: 'chk2', name: '$$$/Dialogs/OpenInfo/WindowOptions/CenterWin');
  61.                     check_box(item_id: 'chk3', name: '$$$/Dialogs/OpenInfo/WindowOptions/OpenFullScr');
  62.                     check_box(item_id: 'chk4', name: '$$$/Dialogs/OpenInfo/WindowOptions/DisplayDocTitle');
  63.                 }
  64.             }
  65.             cluster(name: '$$$/Dialogs/OpenInfo/UserInterfaceOptions/ClusterName', align_children: align_top)
  66.             {
  67.                 group()
  68.                 {
  69.                     check_box(item_id: 'chk5', name: '$$$/Dialogs/OpenInfo/UIOptions/HideMenubar');
  70.                     check_box(item_id: 'chk6', name: '$$$/Dialogs/OpenInfo/UIOptions/HideToolbar');
  71.                     check_box(item_id: 'chk7', name: '$$$/Dialogs/OpenInfo/UIOptions/HideWinCntrl');
  72.                 }
  73.             }
  74.         }
  75.         ok_cancel();
  76.     }
  77. }
  78.