VKRep
Class TReportAbstract.TSection

java.lang.Object
  |
  +--VKRep.TReportAbstract.TSection
Enclosing class:
TReportAbstract

protected class TReportAbstract.TSection
extends java.lang.Object

Title: Class TSection represents VK Reports Section.

Description: The object of this class full describe one report section (verticaly or horizontaly).

Copyright: Copyright (c) 2003

Company:

Version:
1.0
Author:
not attributable

Field Summary
 int colsCount
          How many columns keep section.
 java.util.Vector contents
          The array of BIFF (TBiffRec objects) records which consists of section.
 int rowsCount
          How many rows keep section.
 int sectionLength
          For txt, HTML, RTF report this variable define length section in bytes.
 java.lang.String sectionName
          Name of section.
 int sectionNum
          Number of section. 0 - 12 default section number, and your own defined since 13.
 int sectionStartPosition
          For txt, HTML, RTF report this variable define offset in blank file of start section.
 boolean sectionUsed
          Before make report VK Reports generator parse blank and define for each default section used it in report or not.
 int[] widths
          Not used
 
Constructor Summary
TReportAbstract.TSection()
          Constructor.
 
Method Summary
 void clear()
          Clean up section object for repeat use.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

sectionName

public java.lang.String sectionName
Name of section. There are 13 default sections with default names:
Section Names for VK Reports For txt, HTML For RTF For XLS4 vertical For XLS4 horisontal
FILE HEADER - - - -
REPORT HEADER \lquote REPORT HEADER\rquote 'REPORT HEADER' REPORTHEADER H_REPORTHEADER
GROUP HEADER \lquote GROUP HEADER\rquote 'GROUP HEADER' GROUPHEADER H_GROUP HEADER
SUBGROUP HEADER \lquote SUBGROUP HEADER\rquote 'SUBGROUP HEADER' SUBGROUPHEADER H_SUBGROUPHEADER
SUBSUBGROUP HEADER \lquote SUBSUBGROUP HEADER\rquote 'SUBSUBGROUP HEADER' SUBSUBGROUPHEADER H_SUBSUBGROUPHEADER
SUPERSUBGROUP HEADER \lquote SUPERSUBGROUP HEADER\rquote 'SUPERSUBGROUP HEADER' SUPERSUBGROUPHEADER H_SUPERSUBGROUPHEADER
BODY \lquote BODY\rquote 'BODY' BODY H_BODY
SUPERSUBGROUP FOOTER \lquote SUPERSUBGROUP FOOTER\rquote 'SUPERSUBGROUP FOOTER' SUPERSUBGROUPFOOTER H_SUPERSUBGROUPFOOTER
SUBSUBGROUP FOOTER \lquote SUBSUBGROUP FOOTER\rquote 'SUBSUBGROUP FOOTER' SUBSUBGROUPFOOTER H_SUBSUBGROUPFOOTER
SUBGROUP FOOTER \lquote SUBGROUP FOOTER\rquote 'SUBGROUPFOOTER' SUBGROUPFOOTER H_SUBGROUPFOOTER
GROUP FOOTER \lquote GROUP FOOTER\rquote 'GROUP FOOTER' GROUPFOOTER H_GROUPFOOTER
REPORT FOOTER \lquote REPORT FOOTER\rquote 'REPORT FOOTER' REPORTFOOTER H_REPORTFOOTER
FILE FOOTER - - - -
You can define your own section with any name in doSectionPrepare event.


sectionNum

public int sectionNum
Number of section. 0 - 12 default section number, and your own defined since 13. Each section number have static final constant with name:


sectionStartPosition

public int sectionStartPosition
For txt, HTML, RTF report this variable define offset in blank file of start section.


sectionLength

public int sectionLength
For txt, HTML, RTF report this variable define length section in bytes.


sectionUsed

public boolean sectionUsed
Before make report VK Reports generator parse blank and define for each default section used it in report or not. Varable sectionUsed show this one.


contents

public java.util.Vector contents
The array of BIFF (TBiffRec objects) records which consists of section. Used only for XLS4 report.


rowsCount

public int rowsCount
How many rows keep section. Used only for XLS4 report.


colsCount

public int colsCount
How many columns keep section. Used only for XLS4 report.


widths

public int[] widths
Not used

Constructor Detail

TReportAbstract.TSection

public TReportAbstract.TSection()
Constructor. Initialise empty object.

Method Detail

clear

public void clear()
Clean up section object for repeat use.