Serialized Form


Package VKRep

Class VKRep.TReportAbstract implements Serializable

Serialization Methods

readObject

private void readObject(java.io.ObjectInputStream ois)
                 throws java.lang.ClassNotFoundException,
                        java.io.IOException
Implements Serializable interface.

Throws:
java.lang.ClassNotFoundException
java.io.IOException

writeObject

private void writeObject(java.io.ObjectOutputStream oos)
                  throws java.io.IOException
Implements Serializable interface.

Throws:
java.io.IOException
Serialized Fields

listener

VKRepListener listener
Object which implements VKRepListener interface. It the same VKRepListeners array field, but it is not an array and if listener != null TReportAbstract prefer listener field instead of VKRepListeners field.

See Also:
TReportAbstract.VKRepListeners

sections

TReportAbstract.TSection[] sections
Array of TSection object. The maximum objects in this array defines MAX_SECTION_NUM constant.

See Also:
TReportAbstract.MAX_SECTION_NUM

lastDynSection

int lastDynSection
This variable hold last number dynamic user define section.


outputBufferCount

int outputBufferCount
Counter for output buffer.


charByName

byte charByName
Variable charByName hold symbol for data request by name.

See Also:
TReportAbstract.REQUEST_DATA_BY_NAME_SYMBOL

charByNum

byte charByNum
Variable charByName hold symbol for data request by num.

See Also:
TReportAbstract.REQUEST_DATA_BY_NUM_SYMBOL

inputBlank

java.lang.String inputBlank
File name for input blank. Used if blankInputStream is null.

See Also:
TReportAbstract.blankInputStream

outputReport

java.lang.String outputReport
File name for output report. Used if reportOutStream is null.

See Also:
TReportAbstract.reportOutStream

streamBufferSize

int streamBufferSize
Size of inputBuffer and outputBuffer. When invoke an execute() method VK Reports allocate two buffers. One for input (inputBuffer) and other is for output (outputBuffer). The size of both is streamBufferSize by default is STREAM_BUFFER_SIZE. Input buffer fill full input blank from inputBlank file or blankInputStream stream (prefer blankInputStream if not is null). Output buffer fill gradually (with incremented outputBufferCount variable) and flush to the output file (outputReport) or output stream (reportOutStream) (prefer reportOutStream if not is null) when the output buffer is full.

See Also:
TReportAbstract.inputBuffer, TReportAbstract.outputBuffer, TReportAbstract.STREAM_BUFFER_SIZE, TReportAbstract.inputBlank, TReportAbstract.outputReport, TReportAbstract.blankInputStream, TReportAbstract.reportOutStream, TReportAbstract.outputBufferCount, TReportAbstract.execute()

inputBuffer

byte[] inputBuffer
Input buffer. Input blank (file or stream) must be less then STREAM_BUFFER_SIZE.

See Also:
TReportAbstract.STREAM_BUFFER_SIZE, TReportAbstract.inputBlank, TReportAbstract.outputReport, TReportAbstract.blankInputStream, TReportAbstract.reportOutStream, TReportAbstract.outputBufferCount, TReportAbstract.streamBufferSize

outputBuffer

byte[] outputBuffer
Output buffer. Output buffer fill gradually (with incremented outputBufferCount variable) and flush to the output file (outputReport) or output stream (reportOutStream) (prefer reportOutStream if not is null) when the output buffer is full.

See Also:
TReportAbstract.STREAM_BUFFER_SIZE, TReportAbstract.inputBlank, TReportAbstract.outputReport, TReportAbstract.blankInputStream, TReportAbstract.reportOutStream, TReportAbstract.outputBufferCount, TReportAbstract.streamBufferSize

realInputBlankLength

int realInputBlankLength
Real input blank (file or stream) length. Fill after the input blank load to the input buffer inputBuffer. realInputBlankLength must be less then STREAM_BUFFER_SIZE constant.

See Also:
TReportAbstract.STREAM_BUFFER_SIZE, TReportAbstract.inputBlank, TReportAbstract.outputReport, TReportAbstract.blankInputStream, TReportAbstract.reportOutStream, TReportAbstract.outputBufferCount, TReportAbstract.streamBufferSize

blankInputStream

java.io.InputStream blankInputStream
Blank input stream. If defined then prefer blankInputStream instead of inputBlank file name for source blank.

See Also:
TReportAbstract.inputBuffer, TReportAbstract.outputBuffer, TReportAbstract.STREAM_BUFFER_SIZE, TReportAbstract.inputBlank, TReportAbstract.outputReport, TReportAbstract.reportOutStream, TReportAbstract.outputBufferCount

reportOutStream

java.io.OutputStream reportOutStream
Report output stream. If defined then prefer reportOutStream instead of outputReport file name for result report.

See Also:
TReportAbstract.inputBuffer, TReportAbstract.outputBuffer, TReportAbstract.STREAM_BUFFER_SIZE, TReportAbstract.inputBlank, TReportAbstract.outputReport, TReportAbstract.blankInputStream, TReportAbstract.outputBufferCount

rptEvent

VKRepEvent rptEvent
This is Event object that pass to all Event handlers.


offsetXLSInput

int offsetXLSInput
It is work variable input XLS4 file counter. For read information from XLS4 input stream.


BOutStreamA

TReportAbstract.BOutStream BOutStreamA
Horisontal XLS4 report consist of two parts. This pats merge in output stream in end work. BOutStreamA is first of this part.

See Also:
TReportAbstract.BOutStreamB

BOutStreamB

TReportAbstract.BOutStream BOutStreamB
Horisontal XLS4 report consist of two parts. This pats merge in output stream in end work. BOutStreamB is second of this part.

See Also:
TReportAbstract.BOutStreamA

outCase

int outCase
Horisontal XLS4 report consist of two parts. First part BOutStreamA, the second BOutStreamB. The variable outCase define in which stream in that moment will be out of output report.


XLSDimension

short[] XLSDimension
Dimantion XLS4 BIFF record.


XLSCOL

short[] XLSCOL
Column XLS4 BIFF record.


XLSRow

short[] XLSRow
Row XLS4 BIFF record.


XLSBlank

short[] XLSBlank
Null (or blank) XLS4 BIFF record.


XLSRK

short[] XLSRK
RK XLS4 BIFF record. This is intricate BIFF record with integer or float number.


XLSNumber

short[] XLSNumber
Float number XLS4 BIFF record.


XLSLabel

short[] XLSLabel
Label XLS4 BIFF record.


XLSBool

short[] XLSBool
Boolean XLS4 BIFF record.

Class VKRep.TReportHorizontal implements Serializable

Class VKRep.TReportVertical implements Serializable

Class VKRep.TVKRptContainerAbstract implements Serializable

Class VKRep.TVKRptContainerCrossTab implements Serializable

Serialized Fields

rptObjH

TReportHorizontal rptObjH
The object of main horizontal report generator. It may be any TReportHorizontal descendant class object (TXLS4ReportHorizontal ( :-) it only one horizontal class now ), ....)


rptObjV

TReportVertical rptObjV
The object of main vertical report generator. It may be TReportVertical descendant class object (TXLS4ReportVertical, ....). You use only compatibility by format objects. It meens that you not use TXLS4ReportHorizontal as horizontal report and TWordReport as a vertical report. Now there is only one TReportHorizontal class - TXLS4ReportHorizontal, so you can do only XLS4 cross-tab report. Use for this TXLS4ReportHorizontal and TXLS4ReportVertical objects.


listenerH

VKRepListener listenerH
The horizontal Listener object. That is exactly "only one" code to fill data of rptObj "input blank".


listenerV

VKRepListener listenerV
The vertical Listener object. That is exactly "only one" code to fill data of rptObj "input blank".


bOutStream

TVKRptContainerAbstract.BOutStream bOutStream
Intermediate stream for hold stream from horizontal process to vertical process.

Class VKRep.TVKRptContainerHorizontal implements Serializable

Serialized Fields

rptObj

TReportHorizontal rptObj
The object of main report generator. It may be any TReportHorizontal descendant class object (TXLS4ReportHorizontal ( :-) it only one horizontal class now ), ....)


listener

VKRepListener listener
The Listener object. That is exactly "only one" code to fill data of rptObj "input blank".

Class VKRep.TVKRptContainerVertical implements Serializable

Serialized Fields

rptObj

TReportVertical rptObj
The object of main report generator. It may be any TReportVertical descendant class object (TWordReport, TXLS4ReportVertical, ....)


listener

VKRepListener listener
The Listener object. That is exactly "only one" code to fill data of rptObj "input blank".

Class VKRep.TWordReport implements Serializable

Class VKRep.TXLS4ReportHorizontal implements Serializable

Serialized Fields

biffBody

java.util.Vector biffBody

lastHandle

int lastHandle

currCol

int currCol

Class VKRep.TXLS4ReportVertical implements Serializable

Serialized Fields

biffBody

java.util.Vector biffBody

lastHandle

int lastHandle

currRow

int currRow

Class VKRep.VKRepEvent implements Serializable

Serialized Fields

errorMessage

java.lang.String errorMessage
Error Message for reportError event.


eof

boolean eof
End Of File boolean indicator for moveTop and moveNext events.


recno

int recno
Record number for moveTop and moveNext events.


sectionName

char[] sectionName
Current section name. Use in sectionBegin, sectionEnd, sectionComplete, sectionCheck, dataRequest, requestByName, requestByNum, sectionPrepare events.


sectionNum

int sectionNum
Current section number. Use in sectionBegin, sectionEnd, sectionComplete, sectionCheck, dataRequest, requestByName, requestByNum, sectionPrepare events.


check

boolean check
Boolean indicator for control end of data source or necessity of change data in cell or data by mark.


dataIndex

int dataIndex
Use in requestByNum event for indicate number of mark.


dataName

java.lang.String dataName
Use in requestByName event for indicate name of mark.


rowAbs

int rowAbs
Use in dataRequest event for indicate absolute and relative cell coordinates.


colAbs

int colAbs
Use in dataRequest event for indicate absolute and relative cell coordinates.


rowRel

int rowRel
Use in dataRequest event for indicate absolute and relative cell coordinates.


colRel

int colRel
Use in dataRequest event for indicate absolute and relative cell coordinates.


dataInput

java.lang.Object dataInput
Use in dataRequest event. May consists of Integer, String, Double, Date objects - old content of cell.


dataOutput

java.lang.Object dataOutput
Use in dataRequest event. May consists of Integer, String, Double, Date objects - new content of cell.


outData

byte[] outData
Use in requestByName, requestByNum events - it is new text in output blank instead of mark.


outDataLen

int outDataLen
The length of outData. Should fill with outData for place outData in output stream (file).


outPrivateData

byte[] outPrivateData
Intermediate array for store intermediate data.


outPrivateDataLen

int outPrivateDataLen
The length of outPrivateData.