|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Title:
Description: Event listener interface for VK Reports.
Copyright: Copyright (c) 2003
Company:
Method Summary | |
void |
dataRequest(VKRepEvent e)
In cell based reports (XLS4 Vertical, XLS4 Horizontal, ...) |
void |
endReport(VKRepEvent e)
VK Reports fire this event when report process has ended. |
void |
moveNext(VKRepEvent e)
When VK Reports required to move data source to the next row moveNext event is raised. |
void |
moveTop(VKRepEvent e)
When VK Reports required to move data source to top moveTop event is raised. |
void |
reportError(VKRepEvent e)
VK Reports fire this event when error raised in report process. |
void |
requestByName(VKRepEvent e)
Event requestByName is aimed for supply the mark by name (~name1~) of a new data. |
void |
requestByNum(VKRepEvent e)
Event requestByNum is aimed for supply the mark by number (@0001, @0002, ...) of a new data. |
void |
sectionBegin(VKRepEvent e)
This is notify event to show your program that section copy process is started. |
void |
sectionCheck(VKRepEvent e)
After sectionBegin event VK Reports fire sectionCheck event to ask main process about out the current section into the output stream (file) or not. |
void |
sectionComplete(VKRepEvent e)
This is notify event to show your program that section copy process is completed. |
void |
sectionEnd(VKRepEvent e)
This is notify event to show your program that section copy process is ended. |
void |
sectionPrepare(VKRepEvent e)
This event need for prepare your own sections. |
void |
startReport(VKRepEvent e)
VK Reports fire this event when report is going to start. |
Method Detail |
public void startReport(VKRepEvent e)
e
- VKRepEvent object.public void endReport(VKRepEvent e)
e
- VKRepEvent object.public void reportError(VKRepEvent e)
e
- VKRepEvent object.public void moveTop(VKRepEvent e)
By default: e.recno = 1; e.eof = true;
e
- VKRepEvent object.public void moveNext(VKRepEvent e)
By default: e.recno = < current record >; e.eof = < last settings >;
e
- VKRepEvent object.public void sectionBegin(VKRepEvent e)
INput variable set: e.sectionName = < current section name >; e.sectionNum = < current section number >;
e
- VKRepEvent object.public void sectionEnd(VKRepEvent e)
INput variable set: e.sectionName = < current section name >; e.sectionNum = < current section number >;
e
- VKRepEvent object.public void sectionComplete(VKRepEvent e)
INput variable set: e.sectionName = < current section name >; e.sectionNum = < current section number >;
e
- VKRepEvent object.public void sectionCheck(VKRepEvent e)
INput variable set: e.sectionName = < current section name >; e.sectionNum = < current section number >; OUTput variable set: e.check = < true/false >;
e
- VKRepEvent object.public void dataRequest(VKRepEvent e)
INput variable set: e.check = < false >; e.rowAbs = < Absolute row in output report >; e.colAbs = < Absolute collumn in output report >; e.rowRel = < Relative row in input blank >; e.colRel = < Relative collumn in input blank >; e.dataInput = < Content of the cell >; dataInput is Object type and may keep Integer, Double, Boolean, String variable. e.dataOutput = < null >; dataOutput is Object type and may keep Integer, Double, Boolean, String variable. e.outDataLen = < 0 >; e.outData = < empty array of char >; OUTput variable set: e.check = < true/false >; true/false - do you supply cell of data or not? e.dataOutput = < New content of the cell >; dataOutput is Object type and may keep Integer, Double, Boolean, String variable. Note: 1) Date in XLS4 is keep like an Double. 2) The String variable march better pass to report in e.outData and e.outDataLen event variable. 3) XLS4 holds only 255 bytes string. e.outDataLen = < Length of outData array >; e.outData = < fill of your data string array of char >;The String much better pass from your handler throw outData and outDataLen fields. In this case you should fill outData, set outDataLen (in Excel 4 string may not be greet then 255 chars) and set dataOutput = null. If you want to pass NULL in output you should set check = true, dataOutput = null, outDataLen = 0. In case check = true, dataOutput != null, outDataLen != 0 VK Reports prefer dataOutput field. If output e.check = false the VK Reports try to apply requestByName and requestByNum for content of cell of blank.
e
- VKRepEvent object.public void requestByName(VKRepEvent e)
INput variable set: e.dataName = < name of mark ("name1" for example) >; e.outDataLen = < 0 >; e.outData = < empty array of char >; OUTput variable set: e.outDataLen = < Length of outData array >; e.outData = < fill of your data string array of char >;
e
- VKRepEvent object.public void requestByNum(VKRepEvent e)
INput variable set: e.dataIndex = < number of mark (1, 2, ... for example) >; e.outDataLen = < 0 >; e.outData = < empty array of char >; OUTput variable set: e.outDataLen = < Length of outData array >; e.outData = < fill of your data string array of char >;
e
- VKRepEvent object.public void sectionPrepare(VKRepEvent e)
e
- VKRepEvent object.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |