...
TableStyle$ = TEXTITEM$(1)
Expression Data:
Code Block |
---|
TEXTITEM1= |Formatted:=True ParameterBold:=True, ParameterBackColor:=wdColorGray25, Font:=Arial 8.5 OutsideBorder:=wdLineStyleSingle wdLineWidth100pt wdColorAutomatic InsideGrid:=wdLineStyleSingle wdLineWidth050pt wdColorAutomatic CaseNumbers:=True TableAlignment:=wdAlignRowLeft| |
...
Expression Reference:
Code Block |
---|
Word table style information Example: ParameterBold:=True, ParameterBackColor:=wdColorBlack, Font:=Arial 8.5 OutsideBorder:=wdLineStyleSingle wdLineWidth100pt wdColorAutomatic InsideGrid:=wdLineStyleSingle wdLineWidth050pt wdColorAutomatic CaseNumbers:=True TableAlignment:=wdAlignRowCenter |
...
Finally on the top level we make the overall report:
...
Example report
...
...
Report_document$
...
Word_file_name$
.TODO: ----name” and “QEntityData”.
You have to modify the total report report.rtf in order to let the overall summary report do its work.
In the template of the total report report.rtf we added #ENTITY#(xx).Document_Tag$#. This is the reference to the parameters Document_Tag$# in the relevant Entities. You have to check whether the QEntityID of the two references in the template are correct. If you modify the RTF document, please remember to check it in Quaestor using the Tools>RTF Template Check... option.
----
...
Example report
:Word_file_name$ = "Report_" + STR$(TIME(0)) + ".doc"
Report_document$ = WINWORD$ Report.rtf(Word_file_name$, 0 , ENTITY#(xx).Document_Tag$, ENTITY#(xxx).Document_Tag$
)
...
where “xx” is
...
the value of
of entityQEntityID
Chapter 1: Main Dimensions
...
and “xxx” of
...
entity Chapter 2: Deck data
...
.