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
/
10112
< prev
next >
Wrap
Text File
|
2003-07-19
|
5KB
|
149 lines
gDownsamplingWidth = max(
zstring_width(zstring: '$$$avDocOptAverageD'),
zstring_width(zstring: '$$$avDocOptSubsampling'),
zstring_width(zstring: '$$$avDocOptBicubicD'));
gPanelWidth = gDownsamplingWidth + max_digit_width()*10 + zstring_width(zstring: '$$$/Dialogs/PDFOptimizeImg/ImagesAbove') + zstring_width(zstring: '$$$/Dialogs/PDFOptimizeImg/dpi') + 170;
gCompressionWidth = max(
zstring_width(zstring: '$$$avDocOptJPEG2K'),
zstring_width(zstring: '$$$avDocOptJPEG'),
zstring_width(zstring: '$$$avDocOptZip'),
zstring_width(zstring: '$$$avDocOptJBIG2'),
zstring_width(zstring: '$$$avDocOptCCITT3'),
zstring_width(zstring: '$$$avDocOptCCITT4'),
zstring_width(zstring: '$$$avDocOptRun'));
gQualityWidth = max(
zstring_width(zstring: '$$$avDocOptLow'),
zstring_width(zstring: '$$$avDocOptMediumLow'),
zstring_width(zstring: '$$$avDocOptMedium'),
zstring_width(zstring: '$$$avDocOptMediumHigh'),
zstring_width(zstring: '$$$avDocOptHigh'),
zstring_width(zstring: '$$$avDocOptLossy'),
zstring_width(zstring: '$$$avDocOptLossless'));
gLabelWidth = max(
zstring_width(zstring: '$$$/Dialogs/PDFOptimizeImg/Compression'),
zstring_width(zstring: '$$$/Dialogs/PDFOptimizeImg/Format'),
zstring_width(zstring: '$$$/Dialogs/PDFOptimizeImg/ColorSpace'),
zstring_width(zstring: '$$$/Dialogs/PDFOptimizeImg/Resolution'));
gSliderWidth = gPanelWidth - 50
- zstring_width(zstring: '$$$/Dialogs/PDFOptimizeImg/ckAcroscan')
- zstring_width(zstring: '$$$/Dialogs/PDFOptimizeImg/Compression')
- zstring_width(zstring: '$$$/Dialogs/PDFOptimizeImg/Quality') - 40;
dialog(name: '$$$/Dialogs/PDFOptimizeImg')
{
view(align_children: align_left, alignment: align_fill)
{
cluster(name: '$$$/Dialogs/PDFOptimizeImg', dwidth: gPanelWidth, dheight: gPrefsPanelWidth-190, align_children: align_left)
{
view(align_children: align_left, alignment: align_fill)
{
static_text(name: '$$$/Dialogs/PDFOptimizeImg/ColorSettings');
view(align_children: align_right)
{
view(align_children: align_row)
{
check_box(item_id: 'ckds');
popup(item_id: 'cdsp', width: gDownsamplingWidth);
edit_text(item_id:'crsn', width: max_digit_width()*5);
static_text(name: '$$$/Dialogs/PDFOptimizeImg/ImagesAbove');
edit_text(item_id:'cabv', width: max_digit_width()*5);
static_text(name: '$$$/Dialogs/PDFOptimizeImg/dpi');
}
}
view(align_children: align_right)
{
view(align_children: align_row)
{
check_box(item_id: 'ckcp');
static_text(name: '$$$/Dialogs/PDFOptimizeImg/cCompression');
popup(item_id: 'ccmp', width: gCompressionWidth);
static_text(name: '$$$/Dialogs/PDFOptimizeImg/cQuality');
popup(item_id: 'cqlt', width: gQualityWidth);
}
}
static_text(name:'$$$/Dialogs/EmptyStr');
static_text(name: '$$$/Dialogs/PDFOptimizeImg/GraySettings');
view(align_children: align_right)
{
view(align_children: align_row)
{
check_box(item_id: 'gkds');
popup(item_id: 'gdsp', width: gDownsamplingWidth);
edit_text(item_id:'grsn', width: max_digit_width()*5);
static_text(name: '$$$/Dialogs/PDFOptimizeImg/ImagesAbove');
edit_text(item_id:'gabv', width: max_digit_width()*5);
static_text(name: '$$$/Dialogs/PDFOptimizeImg/dpi');
}
}
view(align_children: align_right)
{
view(align_children: align_row)
{
check_box(item_id: 'gkcp');
static_text(name: '$$$/Dialogs/PDFOptimizeImg/gCompression');
popup(item_id: 'gcmp', width: gCompressionWidth);
static_text(name: '$$$/Dialogs/PDFOptimizeImg/gQuality');
popup(item_id: 'gqlt', width: gQualityWidth);
}
}
static_text(name:'$$$/Dialogs/EmptyStr');
static_text(name: '$$$/Dialogs/PDFOptimizeImg/MonoSettings');
view(align_children: align_right)
{
view(align_children: align_row)
{
check_box(item_id: 'mkds');
popup(item_id: 'mdsp', width: gDownsamplingWidth);
edit_text(item_id:'mrsn', width: max_digit_width()*5);
static_text(name: '$$$/Dialogs/PDFOptimizeImg/ImagesAbove');
edit_text(item_id:'mabv', width: max_digit_width()*5);
static_text(name: '$$$/Dialogs/PDFOptimizeImg/dpi');
}
}
view(align_children: align_right)
{
view(align_children: align_row)
{
check_box(item_id: 'mkcp');
static_text(name: '$$$/Dialogs/PDFOptimizeImg/mCompression');
popup(item_id: 'mcmp', width: gCompressionWidth);
static_text(name: '$$$/Dialogs/PDFOptimizeImg/mQuality');
popup(item_id: 'mqlt', width: gQualityWidth);
}
}
}
}
cluster(name: '$$$/Dialogs/PDFOptimizeImg/Acroscan', dwidth: gPanelWidth, dheight:70, align_children: align_left)
{
view(align_children: align_left, alignment: align_fill)
{
view(align_children: align_row)
{
check_box(item_id: 'ckAS', name: '$$$/Dialogs/PDFOptimizeImg/ckAcroscan');
static_text(name: '$$$/Dialogs/PDFOptimizeImg/Compression');
slider(item_id: 'sldr', width: gSliderWidth);
static_text(name: '$$$/Dialogs/PDFOptimizeImg/Quality');
}
check_box(item_id: 'ckES', name: '$$$/Dialogs/PDFOptimizeImg/imgRmEdges');
}
}
}
}