[Idrs-commit] CVS: Idrs/dev/src/net/sourceforge/idrs/core/report FieldChunk.java,1.6,1.7 IDRSBody.ja
Brought to you by:
bigman921
Update of /cvsroot/idrs/Idrs/dev/src/net/sourceforge/idrs/core/report
In directory usw-pr-cvs1:/tmp/cvs-serv25478/dev/src/net/sourceforge/idrs/core/report
Modified Files:
FieldChunk.java IDRSBody.java NavNextChunk.java
NavPrevChunk.java NavigateChunk.java RepeatLine.java
Log Message:
completed data paging
Index: FieldChunk.java
===================================================================
RCS file: /cvsroot/idrs/Idrs/dev/src/net/sourceforge/idrs/core/report/FieldChunk.java,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -d -r1.6 -r1.7
*** FieldChunk.java 27 Feb 2002 23:56:31 -0000 1.6
--- FieldChunk.java 21 Sep 2002 16:13:03 -0000 1.7
***************
*** 76,81 ****
*/
public String toString(IDRSHead head) throws Exception {
! System.out.println("Field Type : " + this.fieldType);
! System.out.println("This.Rep : " + rep);
String val;
switch (this.fieldType) {
--- 76,81 ----
*/
public String toString(IDRSHead head) throws Exception {
! // System.out.println("Field Type : " + this.fieldType);
! // System.out.println("This.Rep : " + rep);
String val;
switch (this.fieldType) {
***************
*** 86,90 ****
}
! System.out.println("Val : " + val);
return val;
}
--- 86,90 ----
}
! // System.out.println("Val : " + val);
return val;
}
Index: IDRSBody.java
===================================================================
RCS file: /cvsroot/idrs/Idrs/dev/src/net/sourceforge/idrs/core/report/IDRSBody.java,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -d -r1.6 -r1.7
*** IDRSBody.java 11 Apr 2002 20:37:06 -0000 1.6
--- IDRSBody.java 21 Sep 2002 16:13:03 -0000 1.7
***************
*** 79,83 ****
String output = head.getText(this);
Line ln;
! System.out.println("lines : " + lines.length);
for (i=0; i< lines.length; i++) {
ln = lines[i];
--- 79,83 ----
String output = head.getText(this);
Line ln;
! // System.out.println("lines : " + lines.length);
for (i=0; i< lines.length; i++) {
ln = lines[i];
Index: NavNextChunk.java
===================================================================
RCS file: /cvsroot/idrs/Idrs/dev/src/net/sourceforge/idrs/core/report/NavNextChunk.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** NavNextChunk.java 16 Sep 2002 15:21:04 -0000 1.1
--- NavNextChunk.java 21 Sep 2002 16:13:03 -0000 1.2
***************
*** 30,36 ****
protected int adjustPosition(DB db) throws Exception {
! System.out.println("Curr Location : " + db.getCurrLocation());
! System.out.println("Num Recs : " + db.getNumRecs());
! return db.getCurrLocation();
}
}
--- 30,46 ----
protected int adjustPosition(DB db) throws Exception {
! int currPos = db.getCurrLocation();
!
! /*System.out.println("Name : " + db.getID());
! System.out.println("Current Pos: " + currPos);
! System.out.println("Number Rows : " + db.getNumberRows());
! System.out.println("Num Recs : " + db.getNumRecs());*/
!
! // if (currPos >= db.getNumberRows()) {
! return db.getFirstRec() + db.getNumRecs();
! //}
! //else {
! //return currPos;
! // }
}
}
Index: NavPrevChunk.java
===================================================================
RCS file: /cvsroot/idrs/Idrs/dev/src/net/sourceforge/idrs/core/report/NavPrevChunk.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** NavPrevChunk.java 16 Sep 2002 15:21:04 -0000 1.1
--- NavPrevChunk.java 21 Sep 2002 16:13:03 -0000 1.2
***************
*** 30,34 ****
protected int adjustPosition(DB db) throws Exception {
!
return db.getFirstRec() - db.getNumRecs();
--- 30,34 ----
protected int adjustPosition(DB db) throws Exception {
!
return db.getFirstRec() - db.getNumRecs();
Index: NavigateChunk.java
===================================================================
RCS file: /cvsroot/idrs/Idrs/dev/src/net/sourceforge/idrs/core/report/NavigateChunk.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** NavigateChunk.java 16 Sep 2002 15:21:04 -0000 1.1
--- NavigateChunk.java 21 Sep 2002 16:13:03 -0000 1.2
***************
*** 67,70 ****
--- 67,71 ----
adjustedPos = adjustPosition(db);
+ System.out.println("Begining : " + adjustedPos);
returnLink = returnLink || ((adjustedPos >= 0) && (adjustedPos <= db.getNumberRows()));
Index: RepeatLine.java
===================================================================
RCS file: /cvsroot/idrs/Idrs/dev/src/net/sourceforge/idrs/core/report/RepeatLine.java,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -d -r1.5 -r1.6
*** RepeatLine.java 4 Mar 2002 23:05:34 -0000 1.5
--- RepeatLine.java 21 Sep 2002 16:13:03 -0000 1.6
***************
*** 188,192 ****
public String toString(IDRSHead head) {
! System.out.println("in RepeatLine toString()");
return "";
}
--- 188,192 ----
public String toString(IDRSHead head) {
! // System.out.println("in RepeatLine toString()");
return "";
}
|