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

  1. gLabelTitle = zstring_width(zstring: '$$$/Dialogs/DocInfo/Title');
  2. gLabelAuthor = zstring_width(zstring: '$$$/Dialogs/DocInfo/Author');
  3. gLabelSubject = zstring_width(zstring: '$$$/Dialogs/DocInfo/Subject');
  4. gLabelKeywords = zstring_width(zstring: '$$$/Dialogs/DocInfo/Keywords');
  5. gLabelCreated = zstring_width(zstring: '$$$/Dialogs/DocInfo/Created');
  6. gLabelModified = zstring_width(zstring: '$$$/Dialogs/DocInfo/Modified');
  7. gLabelApplication = zstring_width(zstring: '$$$/Dialogs/DocInfo/Application');
  8.  
  9. gLabelProducer = zstring_width(zstring: '$$$/Dialogs/PDFInfo/Producer');
  10. gLabelVersion = zstring_width(zstring: '$$$/Dialogs/PDFInfo/Version');
  11. gLabelPageSize = zstring_width(zstring: '$$$/Dialogs/PDFInfo/PageSize');
  12. gLabelLinearized = zstring_width(zstring: '$$$/Dialogs/PDFInfo/Linearized');
  13. gLabelTagged = zstring_width(zstring: '$$$/Dialogs/PDFInfo/Tagged');
  14. gLabelNumPages = zstring_width(zstring: '$$$/Dialogs/PDFInfo/NumPages');
  15. gLabelBaseURL = zstring_width(zstring: '$$$/Dialogs/PDFInfo/BaseURL');
  16. gLabelPathName = zstring_width(zstring: '$$$/Dialogs/PDFInfo/PathName');
  17. gLabelFileSize = zstring_width(zstring: '$$$/Dialogs/PDFInfo/FileSize');
  18. gLabelIndex = zstring_width(zstring: '$$$/Dialogs/PDFInfo/Index');
  19. gLabelTrapped = zstring_width(zstring: '$$$/Dialogs/PDFInfo/Trapped');
  20.  
  21. gLabelItemWidth = max(
  22.     gLabelTitle,
  23.     gLabelSubject,
  24.     gLabelAuthor,
  25.     gLabelKeywords,    
  26.     gLabelCreated,    
  27.     gLabelModified,    
  28.     gLabelApplication
  29.     );
  30.  
  31. gLabelWidth1 = max(
  32.     gLabelProducer,
  33.     gLabelVersion,
  34.     gLabelPathName,
  35.     gLabelFileSize,
  36.     gLabelPageSize,
  37.     gLabelTagged) + max_char_width();
  38.  
  39. gLabelWidth2 = max(
  40.     gLabelNumPages,
  41.     gLabelLinearized) + max_char_width();
  42.  
  43.  
  44. gStaticItemWidth = gDocPropertiesPanelWidth - gLabelWidth1 - 4 * gMarginWidth - 2 * max_char_width();
  45.  
  46. gPathGapWidth = gLabelWidth1 - gLabelPathName;
  47.  
  48. gPathWidth = gStaticItemWidth;
  49.  
  50. dialog(name: '$$$/Dialogs/GetDocInfo', margin_height: 0, margin_width: 0)
  51. {
  52.     view(align_children: align_left, dwidth: gDocPropertiesPanelWidth, dheight: gDocPropertiesPanelHeight)
  53.     {
  54.         cluster(name: '$$$/Dialogs/DocInfo', alignment: align_fill, align_children: align_left)
  55.         {
  56.             view(align_children: align_row, alignment: align_fill)
  57.             {
  58.                 view(width: gLabelItemWidth, align_children: align_right)
  59.                 {
  60.                     static_text(name: '$$$/Dialogs/DocInfo/Title');
  61.                 }
  62.                 static_text(item_id: 'titl', alignment: align_fill);
  63.             }
  64.             
  65.             view(align_children: align_row, alignment: align_fill)
  66.             {
  67.                 view(width: gLabelItemWidth, align_children: align_right)
  68.                 {
  69.                     static_text(name: '$$$/Dialogs/DocInfo/Author');
  70.                 }
  71.                 static_text(item_id: 'auth', alignment: align_fill);
  72.             }
  73.  
  74.             view(align_children: align_row, alignment: align_fill)
  75.             {
  76.                 view(width: gLabelItemWidth, align_children: align_right)
  77.                 {
  78.                     static_text(name: '$$$/Dialogs/DocInfo/Subject');
  79.                 }
  80.                 static_text(item_id: 'subj', alignment: align_fill);
  81.             }
  82.  
  83.             view(align_children: align_top, alignment: align_fill)
  84.             {
  85.                 view(width: gLabelItemWidth, align_children: align_right)
  86.                 {
  87.                     static_text(name: '$$$/Dialogs/DocInfo/Keywords');
  88.                 }
  89.                 static_text(item_id: 'kwrd', height: 3 * gEditTextHeight + 5, alignment: align_fill, multiline: true, readonly: true);
  90.             }
  91.  
  92.             view(align_children: align_row, alignment: align_fill)
  93.             {
  94.                 view(width: gLabelItemWidth, align_children: align_right)
  95.                 {
  96.                     static_text(name: '$$$/Dialogs/DocInfo/Created');
  97.                 }
  98.                 static_text(item_id: 'cdat', alignment: align_fill);
  99.             }
  100.  
  101.             view(align_children: align_row, alignment: align_fill)
  102.             {
  103.                 view(width: gLabelItemWidth, align_children: align_right)
  104.                 {
  105.                     static_text(name: '$$$/Dialogs/DocInfo/Modified');
  106.                 }
  107.                 static_text(item_id: 'mdat', alignment: align_fill);
  108.             }
  109.  
  110.             view(align_children: align_row, alignment: align_fill)
  111.             {
  112.                 view(width: gLabelItemWidth, align_children: align_right)
  113.                 {
  114.                     static_text(name: '$$$/Dialogs/DocInfo/Application');
  115.                 }
  116.                 static_text(item_id: 'appl', alignment: align_fill);
  117.             }
  118.         }
  119.  
  120.         cluster(name: '$$$/Dialogs/PDFInfo', alignment: align_fill, align_children: align_left)
  121.         {
  122.             view(align_children: align_top, alignment: align_fill)
  123.             {
  124.                 gap(width: gLabelWidth1 - gLabelProducer);
  125.                 static_text(name: '$$$/Dialogs/PDFInfo/Producer', width: gLabelProducer);
  126.                 static_text(item_id: 'prod', alignment: align_fill);
  127.             }
  128.  
  129.             view(align_children: align_row, alignment: align_fill)
  130.             {
  131.                 gap(width: gLabelWidth1 - gLabelVersion);
  132.                 static_text(name: '$$$/Dialogs/PDFInfo/Version', width: gLabelVersion);
  133.                 static_text(item_id: 'vers', alignment: align_fill);
  134.             }
  135.  
  136.             view(align_children: align_row, alignment: align_fill)
  137.             {
  138.                 gap(width: gPathGapWidth);
  139.                 static_text(item_id: 'plbl', name: '$$$/Dialogs/PDFInfo/PathName', width: gLabelPathName);
  140.                 static_text(item_id: 'path', alignment: align_fill);
  141.             }
  142.  
  143.             view(align_children: align_row, alignment: align_fill)
  144.             {
  145.                 gap(width: gLabelWidth1 - gLabelFileSize);
  146.                 static_text(name: '$$$/Dialogs/PDFInfo/FileSize', width: gLabelFileSize);
  147.                 static_text(item_id: 'size', alignment: align_fill);
  148.             }
  149.  
  150.             view(align_children: align_row, alignment: align_fill)
  151.             {
  152.                 gap(width: gLabelWidth1 - gLabelPageSize);
  153.                 static_text(name: '$$$/Dialogs/PDFInfo/PageSize', width: gLabelPageSize);
  154.                 static_text(item_id: 'psiz', width: (gStaticItemWidth - gLabelWidth2) * 2 / 3);
  155.                 gap(width: gLabelWidth2 - gLabelNumPages);
  156.                 static_text(name: '$$$/Dialogs/PDFInfo/NumPages', width: gLabelNumPages);
  157.                 static_text(item_id: 'npgs', alignment: align_fill);
  158.             }
  159.  
  160.             view(align_children: align_row, alignment: align_fill)
  161.             {
  162.                 gap(width: gLabelWidth1 - gLabelTagged);
  163.                 static_text(name: '$$$/Dialogs/PDFInfo/Tagged', width: gLabelTagged);
  164.                 static_text(item_id: 'tggd', width: (gStaticItemWidth - gLabelWidth2) * 2 / 3);
  165.                 gap(width: gLabelWidth2 - gLabelLinearized);
  166.                 static_text(name: '$$$/Dialogs/PDFInfo/Linearized', width: gLabelLinearized);
  167.                 static_text(item_id: 'lind', alignment: align_fill);
  168.             }
  169.         }
  170.     }
  171. }
  172.