replib.dll
Classes:
Functions:
Methods:
- &(refer object Cell)
- &(refer object RECT)
- AddVectElem(refer object BaseString)
- Bottom(void)
- Cell(copy)
- Cell(refer object Cell)
- Cell(refer object Cell, boolean)
- Cell(void)
- Check(int, int)
- ClearSpec(void)
- Copy(refer object Cell)
- CopyEktosRec(refer object Cell)
- EnableUnicode(boolean)
- Exp(number)
- GetBorders(void)
- GetRect(void)
- GetSpec(void)
- GetText(void)
- GetType(void)
- GetVectElem(int)
- GetVectElem(void)
- Height(void)
- IsMap(void)
- Left(void)
- MoveTo(int, int)
- PrepareForSave(void)
- PrepareForShow(void)
- Reset(void)
- Right(void)
- SetBorders(refer object CLBorder)
- SetEmpty(void)
- SetHeight(int)
- SetList(int, refer object Vector)
- SetPropFont(refer object BaseString, number, int, refer object ColorRef, int)
- SetPropFont(refer object BaseString, number, int, refer object ColorRef, int, int)
- SetText(refer object BaseString)
- SetVectElem(int, refer object BaseString)
- SetVectElem(refer object BaseString)
- SetWidth(int)
- ShiftTo(int, int)
- Top(void)
- Width(void)
- bottom(void)
- left(void)
- right(void)
- top(void)
- |(refer object Cell)
- |(refer object RECT)
returns RECT or EMPTY
returns RECT or EMPTY
returns RECT
returns cell type (
R_TEXT
R_BMP
R_FUNC
R_COMBO
R_FUNC_RES
R_TABLE
R_CHECKBOX
R_RADIOBUTTO
)
returns RECT
returns RECT
#module root.graph.report
If the object of this class is within data for
filling then the cell is not filled and
error does not occur
#module root.graph.report
ReportName - report name
TableName - table name
CellName - cell name (if set)
x - horizontal cell index
y - vertical cell index
cell - cell pointer
Methods:
- Init(any, refer object BaseString, any, int, int, pointer object Cell)
#module root.graph.report.windows
The EditReport class is designed for creating an editable report
within the modeless window.
If the descendant class override the CanClose method, then
it should necessarily call the EditReport::CanClose(void)
================================================================
If there is a report with the DATA type in the project, then the
virtual function is called on loading (which should be overridden
for a descendant)
----------------------------------------
new EditReport::Callback(refer any) = <|
param str;
|>;
Parameter
str - report name
1. If only DATA type is present (old style support)
Returns
vector of vectors with data for DATA tables which
must be created
--------------------------
2. If DATA type and DATA_HEADER || DATA_FOOTER type are present
Should return
vector with objects of RetDataForReport type
class RetDataForReport {
header; //data for DATA_FOOTER table - can be EMPTY
data; //vector with data for DATA tables -
must be present
footer; //data for DATA_FOOTER table -
can be EMPTY
};
with data for tables
or EMPTY
if it returns EMPTY then work is performed as for an ordinary report
If the Callback function did not return EMPTY, then
the following names are assigned to the created in this way tables:
_DATA_[TABLE NUMBER] (_DATA_0, _DATA_1, ...)
and call to the tables of DATA type by the name
defined in the report-generator is ignored
if a report contained the table of the NONE type, then it is drawn
only on the first page, that is included in the header of the first
page
//================================================================
Methods:
automatic report creation (header, data)
param orient, name, data;
orient - paper orientation
name - report name
data - vector of strings vectors
dop - optional parameters
dop[0] - TRUE report with DATA fields
dop[1] - vector of cell sizes (by width) in pixels
dop[2] - vector of Boolean values for setting the not_edit
parameter
If the Callback function did not return EMPTY, then the following
names are assigned to the created in this way tables:
_DATA_[TABLE NUMBER] (_DATA_0, _DATA_1, ...)
and call to the tables of DATA type by the name
defined in the report-generator is ignored
if a report contained the table of the NONE type, then it is drawn
only on the first page, that is included in the header of the first
page
Creates an empty report
param vect;
vect - vector. Each element of this vector consists of two
(three) elements
vect[0] - report name, which is used afterwards in order to
refer to a report
vect[1] - file name or an object of the SerializeReport class
optional parameter
optional parameter
flg_resize - if == TRUE then the size (by height) can be
changed according to the string length
#module root.graph.report.windows
The EditReportWnd class is designed for creating an editable
report within the modeless window.
INDISPENSABLE WINDOW PROPERTIES - CLIP CHILDREN, VSCROLL, HSCROLL
If the descendant class override the CanClose method,
then it should necessarily call the EditReportWnd::CanClose(void)
================================================================
If there is a report with the DATA type in the project, then the
virtual function is called on loading (which should be overridden
for a descendant)
----------------------------------------
new EditReportWnd::Callback(refer any) = <|
param str;
|>;
Parameter
str - report name
1. If only DATA type is present (old style support)
Returns
vector of vectors with data for DATA tables which
must be created
--------------------------
2. If DATA type and DATA_HEADER || DATA_FOOTER type are present
Should return
vector with objects of RetDataForReport type
class RetDataForReport {
header; //data for DATA_FOOTER table - can be EMPTY
data; //vector with data for DATA tables -
must be present
footer; //data for DATA_FOOTER table - can be EMPTY
};
with data for tables
or EMPTY
if it returns EMPTY then work is performed as for an ordinary report
If the Callback function did not return EMPTY, then the following
names are assigned to the created in this way tables:
_DATA_[TABLE NUMBER] (_DATA_0, _DATA_1, ...)
and call to the tables of DATA type by the name
defined in the report-generator is ignored
if a report contained the table of the NONE type, then it is drawn
only on the first page, that is included in the header of the first
page
//================================================================
Virtual function
EditReportWnd::Notify(refer any, int) = <|
param name_report, page_print;
|>;
is called by the EditReportWnd for the notification about
printer output of a new page
is called before the StartPage
name_report - report name
page_print - page number
================================================================
Methods:
- ()(refer any, refer object String, int, int)
- ()(refer any, refer object String, refer object String)
- Callback(refer any)
- CanClose(void)
- CheckDrawControl(...)
- ClearGroupForPage(void)
- CreateGroupForPage(refer object Vector)
- CreateUnionForPrint(refer any, refer object Vector, boolean)
- EditReportWnd(refer ...)
- ExportToMetaFile(refer object String)
- Fill(refer any, refer object String, refer object Vector, ...)
- FillCell(refer any, refer object String, int, int, refer any, ...)
- FillCell(refer any, refer object String, refer object String, refer any, ...)
- GetCellInfo(int, int)
- GetNumPages(void)
- GetRecord(refer any, refer object String, int, int)
- GetRecord(refer any, refer object String, refer object String)
- GetRectTable(refer any, refer object String)
- GetReportForSave(void)
- GetReportsAsText(void)
- GetSizeMM(void)
- GetTable(refer any, refer object String)
- Load(refer object Vector, ...)
- Notify(refer any, int)
- OnHScroll(int, int)
- OnPaint(void)
- OnVScroll(int, int)
- Open(void)
- Print(...)
- Print(int, int, ...)
- Print(refer object MDC, ...)
- Print(refer object MDC, int, int, ...)
- PrintDlg(...)
- PrintDlg(int, int, ...)
- ResetUnionsForPrint(refer any)
- RunAllFuncRes(void)
- RunFuncRes(void)
- Save(refer any, refer object String)
- SetBgColorCell(refer any, refer object String, int, int, refer object ColorRef, ...)
- SetBgColorCell(refer any, refer object String, refer object String, refer any, ...)
- SetCellAlign(refer any, refer object String, int, int, int, ...)
- SetCellAlign(refer any, refer object String, refer object String, int, ...)
- SetFlgPrintNumPage(boolean)
- SetOrientPrinter(int)
- SetReadOnlyAttribute(any, object String, int, int, boolean)
- SetReadOnlyAttribute(any, object String, object String, boolean)
- SetSizeMM(any)
- VScroll(int)
- VisibleTable(any, refer object String, boolean, boolean, ...)
#rus Получить содержимое ячейки
#rus параметры
#rus name_report - имя репорта которое они было передано в функцию Load
#rus name - имя таблицы определенной в репрт-генераторе или если это подтаблица
#rus путь к ней типа NAME1\\NAME2....
#rus int i - индекс ячейки по верикали (счет от нуля)
#rus int j - индекс ячейки по горизонтали (счет от нуля)
#rus возвращает:
#rus Возвращает копию содержимого ячейки
#rus при ошибке возвращает EMPTY
#rus Получить содержимое ячейки
#rus параметры
#rus name_report - имя репорта которое они было передано в функцию Load
#rus name - имя таблицы определенной в репрт-генераторе
#rus nameCell - имя ячейки
#rus возвращает:
#rus Возвращает содержимоe ячейки
Parameter
str - report name
1. If only DATA type is present (old style support)
Returns
vector of vectors with data for DATA tables
which must be created
--------------------------
2. If DATA type and DATA_HEADER || DATA_FOOTER type are present
Should return
vector with objects of RetDataForReport type
class RetDataForReport {
header; //data for DATA_FOOTER table - can be EMPTY
data; //vector with data for DATA tables -
must be present
footer; //data for DATA_FOOTER table - can be EMPTY
};
with data for tables
or EMPTY
if it returns EMPTY then work is performed as for an ordinary report
necessarily must be called by a descendant before closing
Deletes a union of reports for printing on one page
Creates a union of reports for printing on one page
parameters
names - vector that consists of report names (that were
previously passed via the Load function)
Creates a union of tables into one large cell for printer output
Parameters
name_report - report name that was passed to the Load function
Vector names - vector that contains table names that will be
joined into one table which consists of one cell
boolean rect_visible - draws a rectangle around the table ==
TRUE
or not == FALSE
Returns
if the current report has the DATA type or table name was
previously placed to the similar union then it returns FALSE
otherwise TRUE
See parameters of GWnd::GWnd constructors
param name;
metafile name
param name_report, name, vect [, Redraw];
fills a separate cell and redraws it
name_report - report name that was passed to the Load function
name - table name defined in the report-generator
vect - vector of vectors that contain filling elements
Redraw - optional parameter of Boolean type, if
Redraw == TRUE, then when new information is entered the
update of the table to which the information was entered
only is performed.
If Redraw == FALSE or omitted, then redrawing is not
performed. It allows to quickly perform the update for
many tables and perform general update of a window (for
instance by calling self->Invalidate(TRUE)).
Filling element String, MBmp, number.
If a string is placed to a cell marked as 'function'
it will be converted to the function and executed
the function necessarily has to receive two parameters
MDC pointer and RECT
If the function returns String or MBmp then they
will be drawn within a cell
fills a separate cell and redraws it
parameters
param name_report, name, i, j, item [, Redraw];
name_report - report name that was passed to the Load function
name - table name defined in the report-generator or
(if it is a sub-table)
path to it of the NAME1\\NAME2.... type
int i - vertical cell index (counting from zero)
int j - horizontal cell index (counting from zero)
item - filling element String, MBmp, number.
If a string is placed to a cell marked as 'function'
it will be converted to the function and executed
the function necessarily has to receive two
parameters MDC pointer and RECT
If the function returns String or MBmp then they
will be drawn within a cell
If the cell type is sub-table then the filling
element represents a vector of vectors that contain
sub-table filling elements
Redraw - optional parameter of Boolean type, if
Redraw == TRUE, then when new information is entered the
update of the table to which the information was entered
only is performed.
If Redraw == FALSE or omitted, then redrawing is not
performed. It allows to quickly perform the update for
many tables and perform general update of a window (for
instance by calling self->Invalidate(TRUE)).
returns:
TRUE or FALSE
fills a separate cell and redraws it
parameters
param name_report, name, nameCell, item [, Redraw];
name_report - report name that was passed to the Load function
name - table name defined in the report-generator
nameCell - cell or sub-table name
item - filling element String, MBmp, number.
If a string is placed to a cell marked as 'function'
it will be converted to the function and executed
the function necessarily has to receive two
parameters MDC pointer and RECT
If the function returns String or MBmp then they
will be drawn within a cell
If the cell type is sub-table then the filling
element represents a vector of vectors that contain
sub-table filling elements
Redraw - optional parameter of Boolean type, if
Redraw == TRUE, then when new information is entered the
update of the table to which the information was entered
only is performed.
If Redraw == FALSE or omitted, then redrawing is not
performed. It allows to quickly perform the update for
many tables and perform general update of a window (for
instance by calling self->Invalidate(TRUE)).
returns:
TRUE or FALSE
returns the CellInfo structure
with the following fields
ReportName - report name
TableName - table name
CellName - cell name (if it is set)
x - horizontal cell index
y - vertical cell index
cell - cell pointer
or
EMPTY
The number of pages received by a printer
Gets the cell content
parameters
name_report - report name that was passed to the Load function
name - table name defined in the report-generator or
(if it is a sub-table)
path to it of the NAME1\\NAME2.... type
int i - vertical cell index (counting from zero)
int j - horizontal cell index (counting from zero)
returns:
Returns the coy of the cell content
returns EMPTY in case of an error
Gets the cell content
parameters
name_report - report name that was passed to the Load function
name - table name defined in the report-generator
nameCell - cell name
returns:
Returns the cell content
param name_report, name;
fills a separate cell and redraws it
name_report - report name that was passed to the Load function
name - table name defined in the report-generator
Returns a vector that consists of the objects of the SerializeReport
class
Returns the string that contains text from report cells
#rus возвращает вектор содержащий размеры мм в пикселах для репортов
Gets the table content, the content of read_only cells is not returned
parameters
name_report - report name that was passed to the Load function
name - table name defined in the report-generator
returns:
returns a vector of vectors that contain copies of filling elements
returns EMPTY in case of an error
param vect;
vect - vector. Each element of this vector consists of two
(three) elements
vect[0] - report name, which is used afterwards in
order to refer to a report
vect[1] - file name or an object of the SerializeReport
class optional parameter
optional parameter
flg_resize - if == TRUE then the size (by height) can be
changed according to the string length
This virtual function is called by the EditReportWnd for the
notification about printer output of a new page
is called before the StartPage
name_report - report name
page_print - page number
Window opening
Printer output
optional parameter
num_page_to_print - printed page number or a vector that
consists of page numbers
Printer output
x, y parameters - offset on paper in mm;
optional parameter
num_page_to_print - printed page number or a vector that
consists of page numbers
Printer output
Printer opening and closing must be performed in the calling
function
optional parameter
[0] num_page_to_print - printed page number or EMPTY
[1] (not for a union) num_page_to_print - if == FALSE whether
the EndPage is called automatically
Printer output
Printer opening and closing must be performed in the calling
function
parameters
mdc - MDC object
x, y - offset on paper in mm;
optional parameter
[0] num_page_to_print - printed page number or EMPTY
[1] (not for a union) num_page_to_print - if == FALSE whether
the EndPage is called automatically
#rus Выдача на принтер
#rus необъязательный параметр
#rus num_page_to_print - номер печатаемой страницы и
#rus ли вектор из номеров страниц
#rus Выдача на принтер
#rus параметры x, y сдвиг на бумаге в мм;
#rus необъязательный параметр
#rus num_page_to_print - номер печатаемой страницы и
#rus ли вектор из номеров страниц
deletes a union of tables into one large cell for printer output <EndComment>
executes all the functions within cells marked as R_FUNC_RES
executes all the functions of the R_FUNC_RES type
sets alignment of a separate cell and redraws it
parameters
param name_report, name, nameCell, item [, Redraw];
name_report - report name that was passed to the Load function
name - table name defined in the report-generator
#rus Заполнение отдельной ячейки, и перерисовка ее
#rus параметры
param name_report, name, i, j, item [, Redraw];
#rus name_report - имя репорта которое они было передано в функцию Load
#rus name - имя таблицы определенной в репрт-генераторе или если это подтаблица
#rus путь к ней типа NAME1\\NAME2....
#rus int i - индекс ячейки по верикали (счет от нуля)
#rus int j - индекс ячейки по горизонтали (счет от нуля)
#rus color - новый фон ячейки
#rus Redraw - необъязательный параметр типа boolean, если
#rus Redraw == TRUE, то при вставке новой информации
#rus производится обновление только таблицы в котрую произведена
#rus вставка информации.
#rus Если Redraw == FALSE или отсутсвует, то перерисовка
#rus не производится. Это позволяет быстро произвести обновление
#rus многих таблиц, и произвести общее обновление окна (например
#rus вызвав self->Invalidate(TRUE)).
#rus возвращает:
#rus TRUE или FALSE
#rus Заполнение отдельной ячейки, и перерисовка ее
#rus параметры
param name_report, name, nameCell, item [, Redraw];
#rus name_report - имя репорта которое они было передано в функцию Load
#rus name - имя таблицы определенной в репрт-генераторе
#rus nameCell - имя ячейки или подтаблицы
#rus color - новый фон ячейки
#rus Redraw - необъязательный параметр типа boolean, если
#rus Redraw == TRUE, то при вставке новой информации
#rus производится обновление только таблицы в котрую произведена
#rus вставка информации.
#rus Если Redraw == FALSE или отсутсвует, то перерисовка
#rus не производится. Это позволяет быстро произвести обновление
#rus многих таблиц, и произвести общее обновление окна (например
#rus вызвав self->Invalidate(TRUE)).
#rus возвращает:
#rus TRUE или FALSE
sets alignment of a separate cell and redraws it
parameters
param name_report, name, i, j, item [, Redraw];
name_report - report name that was passed to the Load function
name - table name defined in the report-generator
int i - vertical cell index (counting from zero)
int j - horizontal cell index (counting from zero)
int flag - formed by alignment flags (MAT_CENTER,
MAT_LEFT,
MAT_RIGHT,
MAT_VCENTER,
MAT_BOTTOM,
MAT_TOP)
Redraw - optional parameter of Boolean type, if
Redraw == TRUE, then when new information is entered the
update of the table to which the information was entered
only is performed.
If Redraw == FALSE or omitted, then redrawing is not
performed. It allows to quickly perform the update for
many tables and perform general update of a window (for
instance by calling self->Invalidate(TRUE)).
returns:
TRUE or FALSE
sets alignment of a separate cell and redraws it
parameters
param name_report, name, nameCell, item [, Redraw];
name_report - report name that was passed to the Load function
name - table name defined in the report-generator
nameCell - cell name
int flag - formed by alignment flags (MAT_CENTER,
MAT_LEFT,
MAT_RIGHT,
MAT_VCENTER,
MAT_BOTTOM,
MAT_TOP)
Redraw - optional parameter of Boolean type, if
Redraw == TRUE, then when new information is entered the
update of the table to which the information was entered
only is performed.
If Redraw == FALSE or omitted, then redrawing is not
performed. It allows to quickly perform the update for
many tables and perform general update of a window (for
instance by calling self->Invalidate(TRUE)).
returns:
TRUE or FALSE
sets paper orientation when printing
param name_report, name, i, j, read_only;
Sets the ReadOnly flag for a separate cell.
name_report - report name that was passed to the Load function
name - table name defined in the report-generator
i - vertical cell index (counting from zero)
j - horizontal cell index (counting from zero)
read_only - new flag value
returns:
old flag value.
param name_report, name, nameCell, read_only;
Sets the ReadOnly flag for a separate cell.
name_report - report name that was passed to the Load function
name - table name defined in the report-generator
nameCell - cell name
read_only - new flag value
returns:
old flag value.
param size_mm;
#rus устанавливает размеры мм в пикселах для репортов
size_mm либо число, либо вектор чисел
private
param name_report, name, visible, glue, repaint;
name_report - report name that was passed to the Load function
name - table name
visible - whether to display table or not (TRUE/FALSE)
glue - whether to raise/lower underlying tables (TRUE/FALSE)
optional parameter :
Redraw - optional parameter of Boolean type, if
Redraw == TRUE, then when new information is entered the
update of the table to which the information was entered
only is performed.
If Redraw == FALSE or omitted, then redrawing is not
performed. It allows to quickly perform the update for
many tables and perform general update of a window (for
instance by calling self->Invalidate(TRUE)).
Methods:
- Add(refer object String)
- ListTempFile(void)
- ~ListTempFile(void)
Methods:
- CheckSize(refer object MDC, int, int)
- CheckSize(void)
- CheckType(void)
- CheckVisible(int, int)
- DelControl(void)
- GetRect(void)
- Init(void)
- IsVisible(void)
- MComCtrl(pointer object GWnd, int, object Position, pointer object Cell)
- UpdateCell(void)
- Visible(boolean)
#module root.graph.report.windows
The ModalEditReportWnd class is designed for creating an
editable report within the modal window.
If the descendant class override the CanClose method,
then it should necessarily call the EditReportWnd::CanClose(void)
Methods:
See parameters of GWnd::GWnd constructors.
param vect, [flg_resize];
vect - vector. Each element of this vector consists of two
elements
vect[0] - report name, which is used afterwards in order to
refer to a report
vect[1] - file name or an object of the SerializeReport class
optional parameter
flg_resize - if == TRUE then the size (by height) can be
changed according to the string length
#module root.graph.report.windows
If the descendant class override the CanClose method,
then it should necessarily call the ReportWnd::CanClose(void)
Virtual functions that should overridden for a descendant
//-----------------------------------------------------
new ReportWnd::Callback(int, int)
param direct, num_strok;
This is a virtual function which is called by a report in order to
fill a table
direct - SB_LINEUP, SB_LINEDOWN, SB_PAGEUP, SB_PAGEDOWN
num_strok - the number of filled tables of the H_DATA type
returns a vector of vectors with table data or EMPTY
//-----------------------------------------------------
new ReportWnd::Notify(refer object String) = <|
param message;
This is a virtual function which is called by a report in order to
notify about performed report fillings
message
"RP_BEGIN" //set to the beginning for printer output
"RP_START_PAGE" //it is sent before page calculation, if it is
necessary to perform
enable, disable for the ("REP_FOOTER", "REP_AUTOGLUE", "REP_HEADER") group
if the flag for the "REP_HEADER" is set to disable then the DATA tables are printed beginning with the
HEADER tables position
"RP_START_FILL" // starts filling with data
"RP_END_FILL" // ends filling with data
"RP_NODATA"
"RP_ERROR_DATA"
//-----------------------------------------------------
Methods:
- ModalReportWnd(object String, object SerializeReport, int)
- ModalReportWnd(object String, object String, int)
- ModalReportWnd(object String, refer object GWnd, object SerializeReport, int)
- ModalReportWnd(object String, refer object GWnd, object String, int)
- ModalReportWnd(refer object String)
- ModalReportWnd(refer object String, refer object GWnd)
param WinName, Report, NumbData;
WinName - window resource name
Report - serialized report object
NumbData - the number of records of the DATA type
param WinName, ReportName, NumbData;
WinName - window resource name
ReportName - path to the loaded report
NumbData - the number of records of the DATA type
param WinName, parent, Report, NumbData;
WinName - window resource name
parent - parent class
Report - serialized report object
NumbData - the number of records of the DATA type
param WinName, parent, ReportName, NumbData;
WinName - window resource name
parent - parent class
ReportName - path to the loaded report
NumbData - the number of records of the DATA type
WinName - window resource name
param WinName, parent
WinName - window resource name
parent - parent class
Methods:
- RCheck(boolean)
- RCheck(copy)
Methods:
- RCheckBoxCtrl(pointer object GWnd, int, pointer object Cell)
- ~RCheckBoxCtrl(void)
Methods:
- ==(refer object RComCtrl)
- RComCtrl(copy)
- RComCtrl(int, refer object BaseString)
- RComCtrl(void)
- ~RComCtrl(void)
Methods:
- CheckSize(refer object MDC, int, int)
- CheckSize(void)
- CheckType(void)
- CheckVisible(int, int)
- GetRect(void)
- IsVisible(void)
- RFixCtrl(boolean, pointer object GWnd, int, pointer object Cell)
- Update(void)
- UpdateCell(void)
- Visible(boolean)
- ~RFixCtrl(void)
Methods:
- CheckControl(refer object Position)
- CheckControl1(refer object Position)
- CheckSize(int, int)
- CheckSize(refer object Position)
- CheckVisible(int, int)
- IsVisible(void)
- RRadioTable(pointer object ReportDC, pointer object RTable, refer object Position)
- RestartControl(refer object Position)
- Update(void)
- Visible(boolean, pointer object Cell)
- ~RRadioTable(void)
#module root.graph.report
The Report class is designed for displaying and printing a report
it has:
the member of the orient class contains a constant from the PR_ group
Methods:
- ()(refer object String, int, int)
- ()(refer object String, refer object String)
- BgShow(refer object GWnd)
- BgShow(refer object GWnd, int, int)
- BgShow(refer object GWnd, number)
- BgShowCell(refer object String, int, int, refer object GWnd)
- BgShowCell(refer object String, int, int, refer object GWnd, int, int)
- BgShowCell(refer object String, int, int, refer object GWnd, number)
- BgShowCell(refer object String, refer object String, refer object GWnd)
- BgShowCell(refer object String, refer object String, refer object GWnd, int, int)
- BgShowCell(refer object String, refer object String, refer object GWnd, number)
- CreateObjectSerializeReport(void)
- CreateUnionForPrint(refer object Vector, boolean)
- Fill(refer object String, refer object Vector)
- FillCell(refer object String, int, int, refer any)
- FillCell(refer object String, refer object String, refer any)
- GetRecord(refer object String, int, int)
- GetRecord(refer object String, refer object String)
- GetRectReport(void)
- GetRectTable(refer object String)
- GetTable(refer object String)
- Load(refer object SerializeReport)
- Load(refer object String)
- Print(void)
- PrintPage(refer object MDC)
- PrintPage(refer object MDC, int, int)
- PrintPage(refer object MDC, int, int, any, refer int, ...)
- PrintTable(refer object MDC, refer int, int, refer int, refer int, any, int, refer object RECT, refer object RECT, ...)
- Report(boolean, int, refer object Vector, ...)
- Report(copy)
- Report(refer object Report)
- Report(refer object SerializeReport)
- Report(refer object String)
- Report(void)
- ResetUnionsForPrint(void)
- RunFuncRes(refer object GWnd)
- SaveAs(refer object String)
- SetBgColorCell(refer object String, int, int, refer object ColorRef)
- SetBgColorCell(refer object String, refer object String, refer object ColorRef)
- SetCellAlign(refer object String, int, int, int)
- SetCellAlign(refer object String, refer object String, int)
- SetReadOnlyAttribute(object String, int, int, boolean)
- SetReadOnlyAttribute(object String, object String, boolean)
- SetShowDot(boolean)
- Show(refer object MDC)
- Show(refer object MDC, int, int)
- Show(refer object MDC, number)
- UpdateResizeCells(void)
- VisibleTable(refer object String, boolean, boolean)
#rus Получить содержимое ячейки
#rus параметры
#rus refer object String name - имя таблицы определенной в репрт-генераторе
#rus int i - индекс ячейки по верикали (счет от нуля)
#rus int j - индекс ячейки по горизонтали (счет от нуля)
#rus возвращает:
#rus Возвращает копию содержимого ячейки
#rus при ошибке возвращает EMPTY
#rus Получить содержимое ячейки
#rus параметры
#rus refer object String name - имя таблицы определенной в репрт-генераторе
#rus refer object String nameCell - имя ячейки
#rus возвращает:
#rus Возвращает содержимоe ячейки
Output to a window, redraws only the cells contents (for background
modification of cell values)
param wnd, x, y;
Output to a window, redraws only the cells contents (for background
modification of cell values)
refer object GWnd wnd;
x, y - report offset
Output to a window, redraws only the cells contents (for background
modification of cell values)
param wnd, scale;
refer object GWnd wnd;
scale - scale from 0 to 1.0
Output to a window, redraws only the cells contents (for background
modification of cell values)
param name, i, j, wnd, scale;
refer object String name - table name defined in the report-
generator
int i - vertical cell index (counting from zero)
int j - horizontal cell index (counting from zero)
refer object GWnd wnd;
Output to a window, redraws only the cells contents (for background
modification of cell values)
param name, i, j, wnd, scale;
refer object String name - table name defined in the report-
generator
int i - vertical cell index (counting from zero)
int j - horizontal cell index (counting from zero)
refer object GWnd wnd;
x, y - report offset
Output to a window, redraws only the cells contents (for background
modification of cell values)
param name, i, j, wnd, scale;
refer object String name - table name defined in the report-
generator
int i - vertical cell index (counting from zero)
int j - horizontal cell index (counting from zero)
refer object GWnd wnd;
scale - scale from 0 to 1.0
Output to a window, redraws only the cells contents (for background
modification of cell values)
param name, nameCell, wnd, scale;
refer object String name - table name defined in the report-generator
nameCell - cell name
refer object GWnd wnd;
Output to a window, redraws only the cells contents (for background
modification of cell values)
param name, nameCell, wnd, scale;
refer object String name - table name defined in the report-
generator
nameCell - cell name
refer object GWnd wnd;
x, y - report offset
Output to a window, redraws only the cells contents (for background
modification of cell values)
param name, nameCell, wnd, scale;
refer object String name - table name defined in the report-
generator
nameCell - cell name
refer object GWnd wnd;
scale - scale from 0 to 1.0
Returns an object of the SerializeReport class
for the following write to disk or a database.
(for more information see the SerializeReport)
Creates a union of tables into one large cell for printer output
Parameters
Vector names - vector that contains table names that will be
joined into one table which consists of one cell
boolean rect_visible - draws a rectangle around the table ==
TRUE
or not == FALSE
Returns
if the current report has the DATA type or table name was
previously placed to the similar union then it returns FALSE
otherwise TRUE
param name, vect;
name - table name defined in the report-generator
vect - vector of vectors that contain filling elements
Filling element String, MBmp, number.
If a string is placed to a cell marked as 'function'
it will be converted to the function and executed
the function necessarily has to receive two parameters
MDC pointer and RECT
If the cell type is sub-table then the filling element
represents a vector of vectors that contain sub-table
filling elements
If the function returns String or MBmp then they
will be drawn within a cell
param name, i, j, item;
Filling of a separate cell
name - table name defined in the report-generator
i - vertical cell index (counting from zero)
j - horizontal cell index (counting from zero)
item - filling element String, MBmp, number.
If a string is placed to a cell marked as 'function'
it will be converted to the function and executed
the function necessarily has to receive two
parameters MDC pointer and RECT
If the function returns String or MBmp then they
will be drawn within a cell
If the cell type is sub-table then the filling element
represents a vector of vectors that contain sub-table
filling elements
returns:
TRUE or FALSE
param name, nameCell, item;
Filling of a separate cell
name - table name defined in the report-generator
nameCell - cell or sub-table name
item - filling element String, MBmp, number.
If a string is placed to a cell marked as 'function'
it will be converted to the function and executed
the function necessarily has to receive two
parameters MDC pointer and RECT
If the function returns String or MBmp then they
will be drawn within a cell
If the cell type is sub-table then the filling element
represents a vector of vectors that contain sub-table
filling elements
returns:
TRUE or FALSE
Gets the cell content
parameters
refer object String name - table name defined in the report-
generator
int i - vertical cell index (counting from zero)
int j - horizontal cell index (counting from zero)
returns:
Returns the copy of the cell content
returns EMPTY in case of an error
Gets the cell content
parameters
refer object String name - table name defined in the report-
generator
refer object String nameCell - cell name
returns:
Returns the cell content
Returns the RECT of a report
Returns the RECT of the named table
Gets the table content, the content of read_only cells is not returned
parameters
refer object String name - table name defined in the report-
generator
returns:
returns a vector of vectors that contain copies of filling elements
returns EMPTY in case of an error
Reads a report from an object of the SerializeReport class
Reads a report from a file
Output to a printer
Output to a printer
Output to a printer
Output to a printer
Creates an automatic report on basis of the vector of cell elements
Copy-constructor
Copy-constructor
Reads a report from an object of the SerializeReport class
Reads the filename (report) from a file
Creates an empty report
deletes a union of tables into one large cell for printer output <EndComment>
Executes all the function of the R_FUNC_RES type
param name, i, j, item;
#rus Заполнение отдельной ячейки
#rus name - имя таблицы определенной в репрт-генераторе
#rus i - индекс ячейки по верикали (счет от нуля)
#rus j - индекс ячейки по горизонтали (счет от нуля)
#rus color - новый фон ячейки
#rus возвращает:
#rus TRUE или FALSE
param name, nameCell, item;
#rus Заполнение отдельной ячейки
#rus name - имя таблицы определенной в репрт-генераторе
#rus nameCell - имя ячейки или подтаблицы
#rus color - новый фон ячейки
#rus возвращает:
#rus TRUE или FALSE
sets alignment of a separate cell
parameters
refer object String name - table name defined in the report-
generator
int i - vertical cell index (counting from zero)
int j - horizontal cell index (counting from zero)
int flag - formed by alignment flags (MAT_CENTER,
MAT_LEFT,
MAT_RIGHT,
MAT_VCENTER,
MAT_BOTTOM,
MAT_TOP)
returns:
TRUE or FALSE
sets alignment of a separate cell
parameters
refer object String name - table name defined in the report-
generator
refer object String nameCell - cell name
int flag - formed by alignment flags (MAT_CENTER,
MAT_LEFT,
MAT_RIGHT,
MAT_VCENTER,
MAT_BOTTOM,
MAT_TOP)
returns:
TRUE or FALSE
param name, i, j, ReadOnly;
Sets the ReadOnly parameter for a cell
name - table name defined in the report-generator
i - vertical cell index (counting from zero)
j - horizontal cell index (counting from zero)
ReadOnly - new flag value.
Returns the old flag value.
param name, nameCell, ReadOnly;
Sets the ReadOnly parameter for a cell
name - table name defined in the report-generator
nameCell - cell name
ReadOnly - new flag value.
Returns the old flag value.
draws dots in empty cells
Output to a window
param mdc, x, y;
Output to a window, redraws only the cells contents (for background
modification of cell values)
x, y - report offset
Output to a window
param mdc, scale;
scale - scale from 0 to 1.0
param name, visible, glue;
name - table name
visible - whether to display table or not (TRUE/FALSE)
glue - whether to raise/lower underlying tables (TRUE/FALSE)
#module root.graph.report.windows
If the descendant class override the CanClose method,
then it should necessarily call the ReportWnd::CanClose(void)
Virtual functions that should overridden for a descendant
//-----------------------------------------------------
new ReportWnd::Callback(int, int)
param direct, num_strok;
This is a virtual function which is called by a report in order to
fill a table
direct - SB_LINEUP, SB_LINEDOWN, SB_PAGEUP, SB_PAGEDOWN
num_strok - the number of filled tables of the H_DATA type
returns a vector of vectors with table data or EMPTY
//-----------------------------------------------------
new ReportWnd::Notify(refer object String) = <|
param message;
This is a virtual function which is called by a report in order to
notify about performed report fillings
message
"RP_BEGIN" //set to the beginning for printer output
"RP_START_PAGE" //it is sent before page calculation, if it is
necessary to perform
enable, disable for the ("REP_FOOTER", "REP_AUTOGLUE", "REP_HEADER") group
if the flag for the "REP_HEADER" is set to disable
then the DATA tables are printed beginning with the
HEADER tables position
"RP_START_FILL" // starts filling with data
"RP_END_FILL" // ends filling with data
"RP_NODATA"
"RP_ERROR_DATA"
//-----------------------------------------------------
Methods:
- Callback(int, int)
- CanClose(void)
- Enable(refer object String)
- Enable(refer object String, boolean)
- FillAndShow(refer object String, refer object Vector)
- FillCellAndShow(refer object String, int, int, refer any)
- FillCellAndShow(refer object String, refer object String, refer any)
- GetNumTableData(void)
- GetRectReport(void)
- Load(object SerializeReport, int)
- Load(object String, int)
- Notify(refer object String)
- OnKeyDown(int)
- OnPaint(void)
- OnSize(int, int, int)
- Print(refer object MDC)
- Print(void)
- ReportWnd(object String, object SerializeReport, int)
- ReportWnd(object String, refer object GWnd)
- ReportWnd(object String, refer object GWnd, object SerializeReport, int)
- ReportWnd(object String, refer object GWnd, object String, int)
- ReportWnd(refer object String)
- ReportWnd(refer object String, refer object String, int)
- Scale(number)
- Scale(void)
- ScrollData(int)
- UpdateSize(int, int)
param direct, num_strok;
This is a virtual function which is called by a report in order to
fill a table
direct - SB_LINEUP, SB_LINEDOWN, SB_PAGEUP, SB_PAGEDOWN
num_strok - the number of filled tables of the H_DATA type
returns a vector of vectors with table data or EMPTY
necessarily must be called by a descendant before closing
Parameters
String name - can be table name or
group name "REP_FOOTER", "REP_AUTOGLUE", "REP_HEADER"
TRUE - enable
FALSE - disable
Parameters
String name - can be table name or
group name "REP_FOOTER", "REP_AUTOGLUE", "REP_HEADER"
if the flag for the "REP_HEADER" is set to
disable then the DATA tables are printed beginning with the HEADER
tables position
boolean flag - TRUE - enable
FALSE - disable
For tables that do not have the DATA type
Filling and redrawing within a separate cell
(only value is redrawn)
param name, vect;
name - table name defined in the report-generator
vect - vector of vectors that contain filling elements
Filling element String, MBmp, number.
If a string is placed to a cell marked as 'function'
it will be converted to the function and executed
the function necessarily has to receive two parameters
MDC pointer and RECT
If the function returns String or MBmp then they
will be drawn within a cell
For tables that do not have the DATA type
Filling and redrawing within a separate cell
(only value is redrawn)
parameters
refer object String name - table name defined in the report-
generator
int i - vertical cell index (counting from zero)
int j - horizontal cell index (counting from zero)
refer any item - filling element String, MBmp, number.
If a string is placed to a cell marked as 'function'
it will be converted to the function and executed
the function necessarily has to receive two
parameters MDC pointer and RECT
If the function returns String or MBmp then they
will be drawn within a cell
returns:
TRUE or FALSE
For tables that do not have the DATA type
Filling and redrawing within a separate cell
(only value is redrawn)
parameters
param name, i, j, item;
name - table name defined in the report-generator
nameCell - cell name
item - filling element String, MBmp, number.
If a string is placed to a cell marked as 'function'
it will be converted to the function and executed
the function necessarily has to receive two
parameters MDC pointer and RECT
If the function returns String or MBmp then they
will be drawn within a cell
returns:
TRUE or FALSE
Returns the number of tables filled with data
returns the report size
param Report, NumbData;
Reads a report from the object specified via the Report parameter.
NumbData - the number of records of the DATA type.
param ReportName, NumbData;
Reads (report) from the file specified via the ReportName parameter
NumbData - the number of records of the DATA type.
This is a virtual function which is called by a report in order to
notify about performed report fillings
"RP_BEGIN" //set to the beginning for printer output
"RP_START_FILL"
"RP_END_FILL"
"RP_NODATA"
"RP_ERROR_DATA"
Printer opening and closing must be
performed in the calling function
The old value of DATA tables is restored
when redrawing after printing
The old value of DATA tables is restored when redrawing after printing
param WinName, ReportName, NumbData;
WinName - window resource name
Report - serialized report object
NumbData - the number of records of the DATA type
param WinName, parent;
WinName - window resource name
parent - parent class
param WinName, parent, ReportName, NumbData;
WinName - window resource name
parent - parent class
Report - serialized report object
NumbData - the number of records of the DATA type
param WinName, parent, ReportName, NumbData;
WinName - window resource name
parent - parent class
ReportName - path to the loaded report
NumbData - the number of records of the DATA type
WinName - window resource name
param WinName, ReportName, NumbData;
WinName - window resource name
ReportName - path to the loaded report
NumbData - the number of records of the DATA type
When output is performed to a window
scale - scale from 0 to 1.0
When output is performed to a window
scale - scale from 0 to 1.0
param drect;
drect - SB_LINEUP, SB_LINEDOWN, SB_PAGEUP, SB_PAGEDOWN
#module root.graph.report.windows
header - data for DATA_FOOTER table - can be EMPTY
data - vector with data for DATA tables - must be present
footer - data for DATA_FOOTER table - can be EMPTY
#module root.graph.report
The SerializeReport class is designed for report writing and reading
Methods:
param name;
Reads the SerializeReport object from the file
specified via the name parameter
param name;
Writes the SerializeReport object to the file
specified via the name parameter
param name;
#rus Записывает объект SerializeReport в файл name
Copies the SerializeReport object
Creates an empty object
Methods:
- Draw(refer object MDC, int, int)
- tmpMetaFile(copy)
- tmpMetaFile(int, int, int, int, refer object Vector)
param orient, vect;
#rus orient - ориентация бумаги
#rus rep - object Report
param orient, vect;
orient - paper orientation
vect - report vector ("Report" type)
- &, method of class Cell
- AddReport, method of class EditReport
- BgShow, method of class Report
- BgShowCell, method of class Report
- Callback, method of class EditReport
- Callback, method of class EditReportWnd
- Callback, method of class ReportWnd
- CanClose, method of class EditReportWnd
- CanClose, method of class ReportWnd
- Cell, class
- CellEmpty, class
- CellInfo, class
- ClearGroupForPage, method of class EditReportWnd
- CreateGroupForPage, method of class EditReportWnd
- CreateObjectSerializeReport, method of class Report
- CreateUnionForPrint, method of class EditReportWnd
- CreateUnionForPrint, method of class Report
- EditReport, class
- EditReport, method of class EditReport
- , method of class EditReportWnd
- EditReportWnd, method of class EditReportWnd
- Enable, method of class ReportWnd
- ExportToMetaFile, method of class EditReportWnd
- Fill, method of class EditReportWnd
- Fill, method of class Report
- FillAndShow, method of class ReportWnd
- FillCell, method of class EditReportWnd
- FillCell, method of class Report
- FillCellAndShow, method of class ReportWnd
- GetCellInfo, method of class EditReportWnd
- GetNumPages, method of class EditReportWnd
- GetNumTableData, method of class ReportWnd
- GetRecord, method of class EditReportWnd
- GetRecord, method of class Report
- GetRect, method of class Cell
- GetRectReport, method of class Report
- GetRectReport, method of class ReportWnd
- GetRectTable, method of class EditReportWnd
- GetRectTable, method of class Report
- GetReportForSave, method of class EditReportWnd
- GetReportsAsText, method of class EditReportWnd
- GetSizeMM, method of class EditReportWnd
- GetTable, method of class EditReportWnd
- GetTable, method of class Report
- GetType, method of class Cell
- ListTempFile, class
- Load, method of class EditReport
- Load, method of class EditReportWnd
- Load, method of class Report
- Load, method of class ReportWnd
- Load, method of class SerializeReport
- MComCtrl, class
- ModalEditReportWnd, class
- ModalEditReportWnd, method of class ModalEditReportWnd
- ModalReportWnd, class
- ModalReportWnd, method of class ModalReportWnd
- Notify, method of class EditReportWnd
- Notify, method of class ReportWnd
- Open, method of class EditReportWnd
- Open, method of class ModalEditReportWnd
- Print, method of class EditReportWnd
- Print, method of class Report
- Print, method of class ReportWnd
- PrintDlg, method of class EditReportWnd
- PrintDoubleReport, function
- PrintPage, method of class Report
- PrintReportsTile, function
- RCheck, class
- RCheckBoxCtrl, class
- RComCtrl, class
- , method of class Report
- Report, method of class Report
- ReportWnd, class
- ReportWnd, method of class ReportWnd
- ResetUnionsForPrint, method of class EditReportWnd
- ResetUnionsForPrint, method of class Report
- RetDataForReport, class
- RFixCtrl, class
- RRadioTable, class
- RunAllFuncRes, method of class EditReportWnd
- RunFuncRes, method of class EditReportWnd
- RunFuncRes, method of class Report
- Save, method of class EditReportWnd
- Save, method of class SerializeReport
- Scale, method of class ReportWnd
- ScrollData, method of class ReportWnd
- SerializeReport, class
- SerializeReport, method of class SerializeReport
- SetBgColorCell, method of class EditReportWnd
- SetBgColorCell, method of class Report
- SetCellAlign, method of class EditReportWnd
- SetCellAlign, method of class Report
- SetOrientPrinter, method of class EditReportWnd
- SetReadOnlyAttribute, method of class EditReportWnd
- SetReadOnlyAttribute, method of class Report
- SetShowDot, method of class Report
- SetSizeMM, method of class EditReportWnd
- Show, method of class Report
- tmpMetaFile, class
- VisibleTable, method of class EditReportWnd
- VisibleTable, method of class Report
- VScroll, method of class EditReportWnd
- |, method of class Cell