home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
DOS/V Power Report 2003 August
/
VPR0308.ISO
/
ADOBEREADER60
/
Installer
/
Data1.cab
/
RdLang32.JPN
/
EXVW
/
10117
< prev
next >
Wrap
Text File
|
2003-05-22
|
5KB
|
120 lines
gLabelMethod = zstring_width(zstring: '$$$/Dialogs/Security/Method');
gLabelCompatibility = zstring_width(zstring: '$$$/Dialogs/Security/Compatibility');
gLabelOptions = max(
gLabelMethod,
gLabelCompatibility
);
gButtonWidth = max(
zstring_width(zstring: '$$$/Dialogs/Security/DisplaySettings'),
zstring_width(zstring: '$$$/Dialogs/Security/ChangeSettings')
);
gExplanationWidth = zstring_width(zstring: '$$$avSecurityExplanation');
gMaxTextWidth = gDocPropertiesPanelWidth - 20;
gMaxRowsNeeded = (gExplanationWidth / gMaxTextWidth) + 1;
gLabelPrinting = zstring_width(zstring: '$$$/Dialogs/Security/Permissions/Printing');
gLabelChanging = zstring_width(zstring: '$$$/Dialogs/Security/Permissions/Changeable');
gLabelAssembly = zstring_width(zstring: '$$$/Dialogs/Security/Permissions/Assembly');
gLabelExtraction = zstring_width(zstring: '$$$/Dialogs/Security/Permissions/Extract');
gLabelAccessibility = zstring_width(zstring: '$$$/Dialogs/Security/Permissions/Accessibility');
gLabelCommenting = zstring_width(zstring: '$$$/Dialogs/Security/Permissions/EditNotes');
gLabelFormFill = zstring_width(zstring: '$$$/Dialogs/Security/Permissions/FormFill');
gLabelSign = zstring_width(zstring: '$$$/Dialogs/Security/Permissions/Sign');
gLabelSpawnTemplates = zstring_width(zstring: '$$$/Dialogs/Security/Permissions/Spawn');
gLabelPermissions = max(
gLabelPrinting,
gLabelChanging,
gLabelAssembly,
gLabelExtraction,
gLabelAccessibility,
gLabelCommenting,
gLabelFormFill,
gLabelSign,
gLabelSpawnTemplates
);
dialog(name: '$$$/Dialogs/Security/Permissions', margin_height: 0, margin_width: 0)
{
view(align_children: align_fill, dwidth: gDocPropertiesPanelWidth, dheight: gDocPropertiesPanelHeight)
{
cluster(name: '$$$/Dialogs/Security', align_children: align_left, alignment: align_fill)
{
static_text(item_id: 'expl', alignment: align_fill, height: gStaticTextHeight * (gMaxRowsNeeded + 1) );
view(align_children: align_row, alignment: align_fill)
{
gap(width: gLabelOptions - gLabelMethod);
static_text(name: '$$$/Dialogs/Security/Method');
popup(item_id: 'hdlr', alignment: align_fill);
button(item_id: 'sets', name: '$$$/Dialogs/Security/ChangeSettings', width: gButtonWidth, alignment: align_right);
}
view(align_children: align_row, alignment: align_fill)
{
gap(width: gLabelOptions - gLabelCompatibility);
static_text(name: '$$$/Dialogs/Security/Compatibility');
static_text(item_id: 'comp', alignment: align_fill);
button(item_id: 'disp', name: '$$$/Dialogs/Security/DisplaySettings', width: gButtonWidth, alignment: align_right);
}
}
cluster(name: '$$$/Dialogs/Security/RestrictionsSummary', align_children: align_left, alignment: align_fill)
{
view(align_children: align_row, alignment: align_fill)
{
gap(width: gLabelPermissions - gLabelPrinting);
static_text(name: '$$$/Dialogs/Security/Permissions/Printing');
static_text(item_id: 'prnt', alignment: align_fill);
}
view(align_children: align_row, alignment: align_fill)
{
gap(width: gLabelPermissions - gLabelChanging);
static_text(name: '$$$/Dialogs/Security/Permissions/Changeable');
static_text(item_id: 'chng', alignment: align_fill);
}
view(align_children: align_row, alignment: align_fill)
{
gap(width: gLabelPermissions - gLabelAssembly);
static_text(name: '$$$/Dialogs/Security/Permissions/Assembly');
static_text(item_id: 'assm', alignment: align_fill);
}
view(align_children: align_row, alignment: align_fill)
{
gap(width: gLabelPermissions - gLabelExtraction);
static_text(name: '$$$/Dialogs/Security/Permissions/Extract');
static_text(item_id: 'xtrc', alignment: align_fill);
}
view(align_children: align_row, alignment: align_fill)
{
gap(width: gLabelPermissions - gLabelAccessibility);
static_text(name: '$$$/Dialogs/Security/Permissions/Accessibility');
static_text(item_id: 'accs', alignment: align_fill);
}
view(align_children: align_row, alignment: align_fill)
{
gap(width: gLabelPermissions - gLabelCommenting);
static_text(name: '$$$/Dialogs/Security/Permissions/EditNotes');
static_text(item_id: 'cmmt', alignment: align_fill);
}
view(align_children: align_row, alignment: align_fill)
{
gap(width: gLabelPermissions - gLabelFormFill);
static_text(name: '$$$/Dialogs/Security/Permissions/FormFill');
static_text(item_id: 'fill', alignment: align_fill);
}
view(align_children: align_row, alignment: align_fill)
{
gap(width: gLabelPermissions - gLabelSign);
static_text(name: '$$$/Dialogs/Security/Permissions/Sign');
static_text(item_id: 'sign', alignment: align_fill);
}
view(align_children: align_row, alignment: align_fill)
{
gap(width: gLabelPermissions - gLabelSpawnTemplates);
static_text(name: '$$$/Dialogs/Security/Permissions/Spawn');
static_text(item_id: 'spwn', alignment: align_fill);
}
}
}
}