home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Chip 2004 September (Special)
/
Chip-Special_2004-09_Digitalni-Hudba.bin
/
servis
/
reader
/
Data1.cab
/
RdLang32.CZE
/
EXVW
/
10131
< prev
next >
Wrap
Text File
|
2003-07-19
|
5KB
|
124 lines
gLabelMethod = zstring_width(zstring: '$$$/Dialogs/Security/Method');
gLabelCompatibility = zstring_width(zstring: '$$$/Dialogs/Security/Compatibility');
gLabelOptions = max(
gLabelMethod,
gLabelCompatibility
);
gButtonWidth = zstring_width(zstring: '$$$/Dialogs/Security/DisplaySettings');
gExplanationWidth = zstring_width(zstring: '$$$avSecurityExplanationReader');
gMaxTextWidth = gDocPropertiesPanelWidth - 20;
gMaxRowsNeeded = (gExplanationWidth / gMaxTextWidth) + 1;
gLabelPrinting = zstring_width(zstring: '$$$/Dialogs/Security/Permissions/Printing');
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');
gLabelSubmit = zstring_width(zstring: '$$$/Dialogs/Security/Permissions/Submit');
gLabelMetaData = zstring_width(zstring: '$$$/Dialogs/Security/Permissions/MetaData');
gLabelPermissions = max(
gLabelPrinting,
gLabelAssembly,
gLabelExtraction,
gLabelAccessibility,
gLabelCommenting,
gLabelFormFill,
gLabelSign,
gLabelSpawnTemplates,
gLabelSubmit,
gLabelMetaData
);
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');
static_text(item_id: 'hdlr', alignment: align_fill);
button(item_id: 'disp', name: '$$$/Dialogs/Security/DisplaySettings', width: gButtonWidth);
}
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);
}
}
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 - 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);
}
view(align_children: align_row, alignment: align_fill)
{
gap(width: gLabelPermissions - gLabelSubmit);
static_text(name: '$$$/Dialogs/Security/Permissions/Submit');
static_text(item_id: 'sbmt', alignment: align_fill);
}
view(align_children: align_row, alignment: align_fill)
{
gap(width: gLabelPermissions - gLabelMetaData);
static_text(name: '$$$/Dialogs/Security/Permissions/MetaData');
static_text(item_id: 'meta', alignment: align_fill);
}
}
}
}