Report by the selected objects |
The mode is intended for formation of the report for the selected objects into document WORD.
Formation of reports occurs on the basis of in advance prepared templates of documents. Templates consist of an unchangeable and changeable part. So-called key fields of a template are in the changeable part. The program automatically carries out replacement of key fields onto the necessary information. Key fields conditionally are divided into two types: regulated and controlled by the user.
Regulated key fields are known in advance to the program, and in any case it will execute their search and the clearing in case of data absence. Keys of object's semantics act as fields controlled by the user. For fields, controlled by the user, the program will execute search of key fields and their replacement by value of corresponding semantics of processed object, as well as their clearing in case of absence of corresponding semantics.
Below is a list of regulated key fields.
Filling the table by data can be carried out on a format of a line. The program automatically will replace the following key fields with the information corresponding to the first element from the list of a line format and further each column of the table is filled with the information corresponding to an element of a line format.
The generalized template can consist of forms of several documents, and a format of coordinates representation, measures of lines, the areas and other geometrical parameters can be various for each separately taken sheet, therefore the variant of management by these parameters via a name of a key field is stipulated. For example, if you use the key field AREA the information will be displayed in the format specified by default. For a key field: AREA0 - information will be displayed with a rounding to the nearest whole, AREA1 - with a rounding to nearest tenth, AREA2 - rounded to two decimal places. This principle operates and for lines.
LINE, LINEOBJ - default format, LINE0, LINEOBJ0 - with a rounding to the nearest whole, LINE1, LINEOBJ1 - with a rounding to nearest tenth, LINE2, LINEOBJ2 - rounded to two decimal places.
For displaying the various representation of angular variables the following variants of key fields are stipulated:
DIR0, DIROBJ0 "ddd mm ss.ss" DIR1, DIROBJ1 "ddd mm ss.s" DIR2, DIROBJ2 "ddd mm ss" DIR3, DIROBJ3 "ddd mm.m " DIR4, DIROBJ4 "ddd mm.mm" DIR5, DIROBJ5 "ddd mm.mmm" DIR6, DIROBJ6 "ddd mm" DIR7, DIROBJ7 "ddd.dddd" Fields DIR are used for the description of sections, and fields DIROBJ for the description of internal objects. For displaying rhumbs: RUMB direction (SW, NW, NE, SE) and a rhumb of a piece of the metrics of object. The rhumb will be displayed according to a format of a line "ddd mm ss.ss"; RUMBN direction of a piece of the object metrics (SW, NW, NE, SE); RUMBU rhumb of a piece of the object metrics will be displayed according to those settings which have been set in parameters of the project.
RUMBU0 "ddd mm ss.ss" RUMBU1 "ddd mm ss.s" RUMBU2 "ddd mm ss" RUMBU3 "ddd mm.m" RUMBU4 "ddd mm.mm" RUMBU5 "ddd mm.mmm" RUMBU6 "ddd mm" RUMBU7 "ddd.dddd" To display various representation of cartographical schemes of land tenure the following variants of key fields are stipulated: PICTURE, PICTURE1, PICTURE2 - the cartographical scheme of object in the specified scale and structure of objects of designing. Below there are the examples of documents templates.
EXAMPLE 1. Variants of tables for selected objects
Composition of lines of the table identified by key fields # STROBJINFO1# - # STROBJINFO8#, is described in a text file Dot.ini. Dot.ini file should be in the folder with templates of documents and should be specified in dialog «Print the summary report on the selected objects».
Composition of the file Dot.ini:
[REPORT] AutoCount=8 STROBJINFO1= FIELD;SECTION;ROTATION_NUMBER;ROTATION_TYPE;YEAR; STROBJINFO2= FIELD;PLAN;FACT;CULTURE;GROUND_TYPE; STROBJINFO3= FIELD;RAVINE;GROUND_STRUCTUR;INTENSIFIC;YEAR_CHEMICAL; STROBJINFO4= FIELD;AREA_DOC;CENTRE_XY;CENTRE_BL;SEM9; STROBJINFO5= FIELD;AREA;AREA0;AREA1;AREA2; STROBJINFO6= FIELD;PERIMETER;PERIMETER0;PERIMETER1;PERIMETER2; STROBJINFO7= FIELD;LENGTH;LENGTH0;LENGTH1;LENGTH2; STROBJINFO8= FIELD;XC;YC;BC;LC;HC |