home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Chip 2004 September (Special)
/
Chip-Special_2004-09_Digitalni-Hudba.bin
/
servis
/
reader
/
Data1.cab
/
AcroRd32.exe1
/
EXVW
/
10014
< prev
next >
Wrap
Text File
|
2003-07-17
|
6KB
|
130 lines
gEditItemWidth = max_char_width() * 25;
gStaticItemWidth = gEditItemWidth + gEditTextPad;
gLabelFilePath = zstring_width(zstring: '$$$/Dialogs/GetDocInfo/FilePath');
gLabelTitle = zstring_width(zstring: '$$$/Dialogs/GetDocInfo/Title');
gLabelSubject = zstring_width(zstring: '$$$/Dialogs/GetDocInfo/Subject');
gLabelAuthor = zstring_width(zstring: '$$$/Dialogs/GetDocInfo/Author');
gLabelKeywords = zstring_width(zstring: '$$$/Dialogs/GetDocInfo/Keywords');
gLabelBaseURL = zstring_width(zstring: '$$$/Dialogs/GetDocInfo/BaseURL');
gLabelCreator = zstring_width(zstring: '$$$/Dialogs/GetDocInfo/Creator');
gLabelProducer = zstring_width(zstring: '$$$/Dialogs/GetDocInfo/Producer');
gLabelPDFVersion = zstring_width(zstring: '$$$/Dialogs/GetDocInfo/PDFVersion');
gLabelCreated = zstring_width(zstring: '$$$/Dialogs/GetDocInfo/Created');
gLabelModified = zstring_width(zstring: '$$$/Dialogs/GetDocInfo/Modified');
gLabelFileSize = zstring_width(zstring: '$$$/Dialogs/GetDocInfo/FileSize');
gLabelOptimized = zstring_width(zstring: '$$$/Dialogs/GetDocInfo/Optimized');
gLabelEncrypted = zstring_width(zstring: '$$$/Dialogs/GetDocInfo/Encrypted');
gLabelPageSize = zstring_width(zstring: '$$$/Dialogs/GetDocInfo/PageSize');
gLabelNumPages = zstring_width(zstring: '$$$/Dialogs/GetDocInfo/NumPages');
gTaggedPDF = zstring_width(zstring: '$$$/Dialogs/GetDocInfo/TaggedPDF');
gLabelItemWidth = max(
gLabelFilePath,
gLabelTitle,
gLabelSubject,
gLabelAuthor,
gLabelKeywords,
gLabelBaseURL,
gLabelCreator,
gLabelProducer,
gLabelCreated,
gLabelModified,
gLabelFileSize,
gLabelOptimized,
gLabelEncrypted,
gLabelPageSize) + max_char_width();
gVerticalGapHeight = gStaticTextHeight / 4;
gMaxOptStatic = max(
zstring_width(zstring: '$$$avYes'),
zstring_width(zstring: '$$$avNo'));
dialog(name: '$$$/Dialogs/GetDocInfo')
{
view(align_children: align_left)
{
view(align_children: align_top)
{
static_text(item_id: 'ptst', name: '$$$/Dialogs/GetDocInfo/FilePath', width: gLabelItemWidth, alignment: align_right);
static_text(item_id: 'path', width: gStaticItemWidth, height: gStaticTextHeight*2);
}
view(align_children: align_row)
{
static_text(name: '$$$/Dialogs/GetDocInfo/Title', width: gLabelItemWidth, alignment: align_right);
edit_text(item_id: 'titl', width: gEditItemWidth);
}
view(align_children: align_row)
{
static_text(name: '$$$/Dialogs/GetDocInfo/Subject', width: gLabelItemWidth, alignment: align_right);
edit_text(item_id: 'subj', width: gEditItemWidth);
}
view(align_children: align_row)
{
static_text(name: '$$$/Dialogs/GetDocInfo/Author', width: gLabelItemWidth, alignment: align_right);
edit_text(item_id: 'auth', width: gEditItemWidth);
}
view(align_children: align_row)
{
static_text(name: '$$$/Dialogs/GetDocInfo/Keywords', width: gLabelItemWidth, alignment: align_right);
edit_text(item_id: 'kwrd', width: gEditItemWidth);
}
view(align_children: align_row)
{
static_text(name: '$$$/Dialogs/GetDocInfo/BaseURL', width: gLabelItemWidth, alignment: align_right);
edit_text(item_id: 'burl', width: gEditItemWidth);
}
gap( height: gVerticalGapHeight );
view(align_children: align_row)
{
static_text(name: '$$$/Dialogs/GetDocInfo/Creator', width: gLabelItemWidth, alignment: align_right);
static_text(item_id: 'crea', width: gStaticItemWidth);
}
view(align_children: align_row)
{
static_text(name: '$$$/Dialogs/GetDocInfo/Producer', width: gLabelItemWidth, alignment: align_right);
static_text(item_id: 'prod', width: gStaticItemWidth);
}
view(align_children: align_row)
{
static_text(name: '$$$/Dialogs/GetDocInfo/Created', width: gLabelItemWidth, alignment: align_right);
static_text(item_id: 'cdat', width: gStaticItemWidth);
}
view(align_children: align_row)
{
static_text(name: '$$$/Dialogs/GetDocInfo/Modified', width: gLabelItemWidth, alignment: align_right);
static_text(item_id: 'mdat', width: gStaticItemWidth);
}
view(align_children: align_row)
{
static_text(name: '$$$/Dialogs/GetDocInfo/FileSize', width: gLabelItemWidth, alignment: align_right);
static_text(item_id: 'fsiz', width: gStaticItemWidth);
}
view(align_children: align_row)
{
static_text(name: '$$$/Dialogs/GetDocInfo/Encrypted', width: gLabelItemWidth, alignment: align_right);
static_text(item_id: 'encd', width: gStaticItemWidth);
}
gap( height: gVerticalGapHeight );
view(align_children: align_row)
{
static_text(name: '$$$/Dialogs/GetDocInfo/PDFVersion', width: gLabelItemWidth, alignment: align_right);
static_text(item_id: 'pdfv', width: gStaticItemWidth/2+gLabelItemWidth-gLabelOptimized);
static_text(name: '$$$/Dialogs/GetDocInfo/Optimized');
static_text(item_id: 'optd', width: max_char_width()*7);
}
view(align_children: align_row)
{
static_text(name: '$$$/Dialogs/GetDocInfo/PageSize', width: gLabelItemWidth, alignment: align_right);
static_text(item_id: 'pgsz', width: gStaticItemWidth/2+gLabelItemWidth-gTaggedPDF);
static_text(name: '$$$/Dialogs/GetDocInfo/TaggedPDF');
static_text(item_id: 'tpdf', width: max_char_width()*7);
}
view(align_children: align_row)
{
static_text(name: '$$$/Dialogs/GetDocInfo/NumPages', width: gLabelItemWidth, alignment: align_right);
static_text(item_id: 'npgs', width: gStaticItemWidth/2);
}
gap( height: gVerticalGapHeight );
ok_cancel();
}
}