home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World Komputer 1997 May
/
Pcwk0597.iso
/
borland
/
ib
/
setups
/
intrabld
/
data.z
/
CRAWLER.JRP
< prev
next >
Wrap
Text File
|
1996-12-11
|
7KB
|
242 lines
/****************************************************************************\
* *
* Crawler.jrp -- The bulk of this form was generated by the report expert. *
* The only addition was to add <href="url"> tags to the *
* streamSource1.detailBand.HTML3 object. *
* *
* Crawler.jrp is the report which summarizes the data gathered by crawler.jfm*
* This report is best viewed through the netscape navigator web browser. When*
* viewed through the browser the urls become hyperlinks, so you can *
* instantaneously jump to your indexed pages. *
* *
* *
* Dependencies: localurl.qry *
* *
* * *
* Links to: *
* *
* Updated 11/09/96 by IntraBuilder Samples Group *
* $Revision: 1.4 $ *
* *
* Copyright (c) 1996, Borland International, Inc. All rights reserved. *
* *
\****************************************************************************/
// {End Header} Do not remove this comment//
// Generated on 11/09/96
//
var r = new CRAWLERReport();
if (CRAWLER.arguments.length == 2) {
r.startPage = CRAWLER.arguments[0];
r.endPage = CRAWLER.arguments[1];
}
r.render();
class CRAWLERReport extends Report {
with (this) {
title = "Crawler Results";
linkText = "Next Page";
}
with (this.localurl1 = new Query()){
left = 7005;
top = 0;
sql = ' SELECT * FROM "localurl.db" localurl ORDER BY URL';
active = true;
}
with (this.localurl1.rowset) {
}
with (this.printer) {
duplex = 1;
orientation = 1;
paperSource = 15;
paperSize = 1;
resolution = 4;
color = 2;
trueTypeFonts = 2;
}
with (this.streamSource1 = new StreamSource(this)){
}
with (this.streamSource1.group1 = new Group(this.streamSource1)){
groupBy = "URL";
}
with (this.streamSource1.group1.headerBand) {
height = 0;
}
with (this.streamSource1.group1.footerBand) {
height = 0;
}
with (this.streamSource1.detailBand) {
height = 0;
}
with (this.streamSource1.detailBand.HTML1 = new HTML(this.streamSource1.detailBand)){
height = 200;
width = 8000;
variableHeight = true;
color = "black";
fontBold = false;
text = {||"<A href='"+this.form.localurl1.rowset.fields["URL"].value+"'>"+this.form.localurl1.rowset.fields["URL"].value+" </A>"};
}
with (this.streamSource1.detailBand.HTML2 = new HTML(this.streamSource1.detailBand)){
height = 200;
left = 200;
top = 200;
width = 3800;
variableHeight = true;
color = "black";
fontBold = false;
text = {||this.form.localurl1.rowset.fields["Last modified"].value};
}
with (this.streamSource1.detailBand.HTML3 = new HTML(this.streamSource1.detailBand)){
height = 200;
left = 4000;
top = 200;
width = 2000;
variableHeight = true;
color = "black";
fontBold = false;
text = {||this.form.localurl1.rowset.fields["Type of file"].value};
}
with (this.streamSource1.detailBand.HTML4 = new HTML(this.streamSource1.detailBand)){
height = 200;
left = 6000;
top = 200;
width = 2000;
variableHeight = true;
color = "black";
fontBold = false;
text = {||this.form.localurl1.rowset.fields["Size of File"].value};
}
with (this.pageTemplate1 = new PageTemplate(this)){
height = 15840;
width = 9000;
marginTop = 0;
marginLeft = 0;
marginBottom = 0;
marginRight = 0;
gridLineWidth = 1;
}
with (this.pageTemplate1.streamFrame1 = new StreamFrame(this.pageTemplate1)){
height = 11376;
top = 1750;
width = 8000;
}
with (this.pageTemplate1.HTML1 = new HTML(this.pageTemplate1)){
height = 500;
left = 1250;
top = 300;
width = 6750;
color = "80c0";
text = "<H2>Web Objects Found by Crawler</H2>";
}
with (this.pageTemplate1.HTML2 = new HTML(this.pageTemplate1)){
height = 300;
left = 1250;
top = 800;
width = 6750;
color = "black";
text = {||new Date()};
}
with (this.pageTemplate1.HTML3 = new HTML(this.pageTemplate1)){
height = 222;
left = 360;
top = 13140;
width = 1045;
color = "black";
text = {||this.parent.parent.reportPage};
}
with (this.pageTemplate1.HTML4 = new HTML(this.pageTemplate1)){
height = 300;
top = 1400;
width = 4000;
color = "black";
text = "<H3>URL / Last Modified</H3>";
}
with (this.pageTemplate1.HTML6 = new HTML(this.pageTemplate1)){
height = 300;
left = 4000;
top = 1400;
width = 2000;
color = "black";
text = "<H3>Type of File</H3>";
}
with (this.pageTemplate1.HTML7 = new HTML(this.pageTemplate1)){
height = 300;
left = 6000;
top = 1400;
width = 2000;
color = "black";
text = "<H3>Size of File</H3>";
}
with (this.pageTemplate1.image1 = new Image(this.pageTemplate1)){
height = 1250;
width = 1250;
dataSource = "filename WEBSRC11.JPG";
alignment = 4;
}
with (this.reportGroup) {
groupBy = "";
}
with (this.reportGroup.headerBand) {
height = 0;
}
with (this.reportGroup.footerBand) {
height = 0;
}
this.firstPageTemplate = this.form.pageTemplate1
this.form.pageTemplate1.nextPageTemplate = this.form.pageTemplate1
this.form.pageTemplate1.streamFrame1.streamSource = this.form.streamSource1
this.form.streamSource1.rowset = this.form.localurl1.rowset
}