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
/
10002
< prev
next >
Wrap
Text File
|
2003-07-19
|
5KB
|
150 lines
gEditItemWidth = max_char_width() * 8;
gStdSecSetBitNum = max(
zstring_width(zstring: '$$$avSecurityStandardHandlerAcro3'),
zstring_width(zstring: '$$$avSecurityStandardHandlerAcro5'),
zstring_width(zstring: '$$$avSecurityStandardHandlerAcro6')) + (gStaticTextHeight * 2);
gStdSecSetChangeDoc = max(
zstring_width(zstring: '$$$avSecurityStdChgNone'),
zstring_width(zstring: '$$$avSecurityStdChgDocAsmbly'),
zstring_width(zstring: '$$$avSecurityStdChgFormFill'),
zstring_width(zstring: '$$$avSecurityStdChgAnnotFill'),
zstring_width(zstring: '$$$avSecurityStdChgAll'));
gStdSecSetPrintDoc = max(
zstring_width(zstring: '$$$avSecurityStdPrntNone'),
zstring_width(zstring: '$$$avSecurityStdPrntBasic'),
zstring_width(zstring: '$$$avSecurityStdPrntPS'));
gStdDropListWidth = max(gStdSecSetChangeDoc, gStdSecSetPrintDoc) + (gStaticTextHeight * 6);
gLabelDocPassword = zstring_width(zstring: '$$$/Dialogs/StdSecurity/DocPasswordLable');
gLabelAuthorPassword = zstring_width(zstring: '$$$/Dialogs/StdSecurity/AuthorPasswordLable');
gLabelEncryptionLevelLabel = zstring_width(zstring: '$$$/Dialogs/StdSecurity/CryptBitLabel');
gLabelChangeDocLabel= zstring_width(zstring: '$$$/Dialogs/StdSecurity/ChangeDocLabel');
gLabelPrintingLable= zstring_width(zstring: '$$$/Dialogs/StdSecurity/PrintingLable');
gLabelItemWidth = max(
gLabelDocPassword,
gLabelAuthorPassword,
gLabelEncryptionLevelLabel,
gLabelChangeDocLabel,
gLabelPrintingLable)+ max_char_width();
gVerticalGapHeight = gStaticTextHeight / 4;
gMaxWidth = max(gStdSecSetBitNum, gStdSecSetChangeDoc, gStdSecSetPrintDoc) + gLabelItemWidth;
dialog(name: '$$$/Dialogs/StdSecurity', target_id: 'OpPs')
{
group()
{
view(align_children: align_row)
{
static_text(name: '$$$/Dialogs/StdSecurity/CompatibilityLable',
next_tab: 'mode');
popup(item_id: 'mode', width: gStdSecSetBitNum, next_tab: 'Copy');
}
group()
{
view(align_children: align_row)
{
static_text(name: '$$$/Dialogs/StdSecurity/BitsLable');
static_text(item_id: 'bits', dwidth : gLabelItemWidth);
}
check_box(item_id: 'UsrX', name: '$$$/Dialogs/StdSecurity/RequireDocPassword');
view(align_children: align_row)
{
gap(width: gLabelItemWidth - gLabelDocPassword);
static_text(name: '$$$/Dialogs/StdSecurity/DocPasswordLable');
edit_text(item_id: 'UsPs', width: gEditItemWidth, password: true);
}
view(align_children: align_row)
{
gap(width: gLabelItemWidth - gLabelDocPassword);
picture(item_id: 'icon', width: 16, height: 16);
static_text(name: '$$$/Dialogs/StdSecurity/DocPasswordInfo', dwidth: gMaxWidth, height: gStaticTextHeight);
}
}
cluster(name: '$$$/Dialogs/StdSecurity/Permission/ClusterLabel', align_children: align_row)
{
group()
{
check_box(item_id: 'ryes', name: '$$$/Dialogs/StdSecurity/AuthorPasswordCheck', next_tab: 'OwPs');
view(align_children: align_row)
{
gap(width: gLabelItemWidth - gLabelAuthorPassword);
static_text(name: '$$$/Dialogs/StdSecurity/AuthorPasswordLable');
edit_text(item_id: 'OwPs', width: gEditItemWidth, password: true);
}
view(align_children: align_offscreen)
{
group(item_id: 'grp1', alignment: align_row)
{
view(align_children: align_row)
{
gap( width: gLabelItemWidth - gLabelPrintingLable );
static_text(item_id: 'prt2', name: '$$$/Dialogs/StdSecurity/PrintingLable',
next_tab: 'Prt2');
popup(item_id: 'Prt2', width: gStdDropListWidth, next_tab: 'Copy');
}
view(align_children: align_row)
{
gap( width: gLabelItemWidth - gLabelChangeDocLabel );
static_text(item_id: 'chg2', name: '$$$/Dialogs/StdSecurity/ChangeDocLabel',
next_tab: 'Chg2');
popup(item_id: 'Chg2', width: gStdDropListWidth, next_tab: 'prt2');
}
view(align_children: align_row)
{
gap( height: gVerticalGapHeight );
check_box(item_id: 'Copy', name: '$$$/Dialogs/StdSecurity/40BitSelecting');
}
}
group(item_id: 'grp2', alignment: align_row)
{
view(align_children: align_row)
{
gap( width: gLabelItemWidth - gLabelPrintingLable );
static_text(item_id: 'prt1', name: '$$$/Dialogs/StdSecurity/PrintingLable',
next_tab: 'Prt1');
popup(item_id: 'Prt1', width: gStdDropListWidth, next_tab: 'Acce');
}
view(align_children: align_row)
{
gap( width: gLabelItemWidth - gLabelChangeDocLabel );
static_text(item_id: 'chg1', name: '$$$/Dialogs/StdSecurity/ChangeDocLabel',
next_tab: 'Chg1');
popup(item_id: 'Chg1', width: gStdDropListWidth, next_tab: 'Prt1');
}
view(align_children: align_row)
{
gap( height: gVerticalGapHeight );
check_box(item_id: 'Exct', name: '$$$/Dialogs/StdSecurity/128BitExtract');
}
view(align_children: align_row)
{
gap( height: gVerticalGapHeight );
check_box(item_id: 'Acce', name: '$$$/Dialogs/StdSecurity/128BitAccess');
}
}
}
view(align_children: align_row)
{
gap( height: gVerticalGapHeight );
check_box(item_id: 'TXMD', name: '$$$/Dialogs/StdSecurity/TextMetadata');
}
}
}
ok_cancel_help();
}
}