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

  1. gMaxZoomWidth=max(
  2.     zstring_width(zstring: '$$$avFixedZoom'),
  3.     zstring_width(zstring: '$$$avFitView'),
  4.     zstring_width(zstring: '$$$avFitPage'),
  5.     zstring_width(zstring: '$$$avFitHeight'),
  6.     zstring_width(zstring: '$$$avFitWidth'),
  7.     zstring_width(zstring: '$$$avFitVisible'),
  8.     zstring_width(zstring: '$$$avInheritZoom'));
  9.  
  10. gZoomPopupWidth = 100;
  11.  
  12. gIndentExpl = max(
  13.     zstring_width(zstring: '$$$/Dialogs/GotoView/Zoom'),
  14.     zstring_width(zstring: '$$$/Dialogs/GotoView/Page')) + (max_char_width() * 1);
  15.  
  16. gIndentDoc = max(
  17.     zstring_width(zstring: '$$$/Dialogs/GotoView/File'),
  18.     zstring_width(zstring: '$$$/Dialogs/GotoView/OpenPreference')) + (max_char_width() * 1);
  19.  
  20. gIndentName = zstring_width(zstring: '$$$/Dialogs/GotoView/DestinationName') + (max_char_width() * 1);
  21.  
  22.  
  23.  
  24. gMaxButtonWidth = max(
  25.     zstring_width(zstring: '$$$/Dialogs/GotoView/ChooseNamedDest'),
  26.     zstring_width(zstring: '$$$/Dialogs/GotoView/ChoosePathName'));
  27.  
  28. gLabelFirst = max(
  29.     zstring_width(zstring: '$$$/Dialogs/GotoView/File'),
  30.     zstring_width(zstring: '$$$/Dialogs/GotoView/OpenPreference'));
  31. gLabelSecond = max(
  32.     zstring_width(zstring: '$$$/Dialogs/GotoView/Zoom'),
  33.     zstring_width(zstring: '$$$/Dialogs/GotoView/Page'),
  34.     zstring_width(zstring: '$$$/Dialogs/GotoView/DestinationName'));
  35.  
  36. gPathWidth = (max_char_width() * 17) + gLabelSecond;
  37.  
  38. gOpenWidth = max(
  39.     zstring_width(zstring: '$$$avGotoViewObeyUserPreference'),
  40.     zstring_width(zstring: '$$$avGotoViewOpenInNewWindow'),
  41.     zstring_width(zstring: '$$$avGotoViewOpenInCurrentWindow'));
  42.  
  43. gPageWidth = (max_char_width() * 8);
  44.  
  45. dialog(name: '$$$/Dialogs/GotoView/RemoteTitle', first_tab: 'brow')
  46. {
  47.     view(align_children: align_left)
  48.     {
  49.         cluster(item_id: 'cls1', name: '$$$/Dialogs/GotoView/Document', align_children: align_left, alignment: align_fill)
  50.         {
  51.             view(align_children: align_row)
  52.             {
  53.                 view(align_children: align_row, width: gPathWidth)
  54.                 {
  55.                     static_text(item_id: 'lPat', name: '$$$/Dialogs/GotoView/File', alignment: align_right, width: gLabelFirst);
  56.                     static_text(item_id: 'path', name: '$$$/Dialogs/FileNotSpecified', alignment: align_fill);
  57.                 }
  58.                 button(item_id: 'brow', name: '$$$/Dialogs/FileBrowse', next_tab: 'open');
  59.             }
  60.             view(align_children: align_row)
  61.             {
  62.                 static_text(item_id: 'lOpe', name: '$$$/Dialogs/GotoView/OpenPreference', alignment: align_right, width: gLabelFirst);
  63.                 popup(item_id: 'open', width: gOpenWidth, next_tab: 'expl');
  64.             }
  65.         }
  66.         cluster(item_id: 'cls2', name: '$$$/Dialogs/GotoView/Options', align_children: align_left, alignment: align_fill)
  67.         {
  68.             radio(item_id: 'expl', name: '$$$/Dialogs/GotoView/Explicit', next_tab: 'rNam');
  69.             group()
  70.             {
  71.                 view(align_children: align_row)
  72.                 {
  73.                     gap(width: max_char_width() * 2);
  74.                     static_text(item_id: 'lPag', name: '$$$/Dialogs/GotoView/Page', alignment: align_right, width: gLabelSecond);
  75.                     edit_text(item_id: 'page',  width: gPageWidth, next_tab: 'zoom');
  76.                     static_text(item_id: 'sPgs', name: '$$$/Dialogs/CreateLink/NumOfPages', width: max_char_width()*8);
  77.                 }
  78.                 view(align_children: align_row)
  79.                 {
  80.                     gap(width: max_char_width() * 2);
  81.                     static_text(item_id: 'lZoo', name: '$$$/Dialogs/GotoView/Zoom', alignment: align_right, width: gLabelSecond);
  82.                     popup(item_id: 'zoom', width: gMaxZoomWidth, next_tab: 'bNam');
  83.                 }
  84.             }
  85.             radio(item_id: 'rNam', name: '$$$/Dialogs/GotoView/Named', next_tab: 'page');
  86.             view(align_children: align_row)
  87.             {
  88.                 view(align_children: align_row, width: gPathWidth)
  89.                 {
  90.                     gap(width: max_char_width() * 2);
  91.                     static_text(item_id: 'lNam', name: '$$$/Dialogs/GotoView/DestinationName', alignment: align_right, width: gLabelSecond);
  92.                     static_text(item_id: 'sNam', name: '$$$/Dialogs/GotoView/DestNotSpecified', alignment: align_fill);
  93.                 }
  94.                 button(item_id: 'bNam', name: '$$$/Dialogs/GotoView/ChooseName');
  95.             }
  96.         }
  97.         ok_cancel();
  98.     }
  99. }
  100.