CN101046800A - Sub-report lead-in method - Google Patents

Sub-report lead-in method Download PDF

Info

Publication number
CN101046800A
CN101046800A CN 200710097823 CN200710097823A CN101046800A CN 101046800 A CN101046800 A CN 101046800A CN 200710097823 CN200710097823 CN 200710097823 CN 200710097823 A CN200710097823 A CN 200710097823A CN 101046800 A CN101046800 A CN 101046800A
Authority
CN
China
Prior art keywords
subreport
row
main form
cell
introducing
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN 200710097823
Other languages
Chinese (zh)
Inventor
蒋步星
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
BEIJING RUNQIAN INFORMATION SYSTEM TECHNOLOGY Co Ltd
Original Assignee
BEIJING RUNQIAN INFORMATION SYSTEM TECHNOLOGY Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by BEIJING RUNQIAN INFORMATION SYSTEM TECHNOLOGY Co Ltd filed Critical BEIJING RUNQIAN INFORMATION SYSTEM TECHNOLOGY Co Ltd
Priority to CN 200710097823 priority Critical patent/CN101046800A/en
Publication of CN101046800A publication Critical patent/CN101046800A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Measuring Or Testing Involving Enzymes Or Micro-Organisms (AREA)

Abstract

The present invention belongs to the field of computer technology, relates to a report processing method, in particular, it relates to a method for making subreport be introduced into main report in grid-type report tool. Said method is characterized by that firstly, the unit lattice correspondent to subreport in main report can be expanded, then the subreport unit lattice is introduced into the unit lattice correspondent to the main report, so that the introduction of subreport can be implemented.

Description

One sub-report introducing method
Technical field
The invention belongs to field of computer technology, relate to a kind of report processing method, be specifically related to a kind of method that in the grid type report tool, subreport is incorporated in the main form.
Background technology
In any case being many report tools, subreport is used to handle the technological means that some can not adopt with the complex report forms of its basic model realization.Some the relatively independent zone design that is about to form becomes a subreport and designs generation separately, it is joined in the main form after finishing again.
For traditional control formula report tool (the form picture is piled up by some basic controls and formed), the concrete means that add subreport are: in certain rectangular area with exchange premium master form behind the content scaling of subreport.Because this class instrument is form line notion clearly not, therefore can not consider to add behind the subreport alignment problem of form line between boss's form.
For emerging grid type report tool (the form picture surrounds by some straight-line segments are crossing), though also can prolong the means (being called embedded) of attacking control formula report tool simply, be about to solve the demonstration and the printing problem of form like this in the cell of exchange premium master form behind the subreport convergent-divergent.But because the grid type report tool all has form line notion clearly, the problem that embedded means will bring the form line of boss's form not align, directly influence regular and interface attractive in appearance of data on the form, even influence the utilization again (as export to EXCEL, the uneven report data of ruling can't be organized into the form of EXCEL) of form.
Summary of the invention
The objective of the invention is to provides a kind of method that adds subreport for the grid type report tool.The form line that this method can guarantee to add the main form behind the subreport still aligns, and will guarantee that the layout of form meets professional custom add a plurality of subreports simultaneously in main form after.
For a grid type form, can add a plurality of subreports on the main form, each subreport will be added in the cell on the main form (can be to merge lattice).
Technical scheme of the present invention comprises the steps:
(1) investigate each subreport and on main form corresponding cell, insert ranks at main form and make this cell (as merging lattice) ranks number that takies be not less than the ranks number of subreport.
(2) the corresponding unit lattice of each subreport on main form are fissioned into elementary cell lattice (i.e. cancellation merges).
(3) data in the cell on the subreport are inserted successively by its position on subreport in the zone of main form corresponding unit lattice (fissioning into a plurality of elementary cell lattice).
Further, in the method for above-mentioned introducing subreport, establish the cell C on the corresponding main form of subreport S in the step (1),, then in main form, do not do insert action if row/columns of C is not less than row/columns of S.
Further, establish the line number that line number-C of n=S takies, capable if n is inserted in bottom of C item in main form, n>0, and merge with C this n is capable, make C become bigger merging lattice, its line number has been not less than the line number of S.On the direction of row, also do the operation (row are inserted on the right at C) of symmetry.
Further again, it is capable simultaneously the cell of lower sideline on same straight line before all lower sidelines and the C change greatly also all to be become big n downwards, thereby becomes merging lattice (or bigger merging lattice).Do the operation of symmetry at column direction.
Further, in the method for above-mentioned introducing subreport, if merge lattice in addition among the subreport S, then the elementary cell lattice in the main form corresponding unit lattice zone are also merged the corresponding with it merging lattice of formation in the step (3), data also former state are inserted.
Further, the ground that should be noted that especially, in the method for above-mentioned introducing subreport, must all just can carry out step (2) and step (3) behind the completing steps (1) at all subreports, and can not just carry out step (2) and step (3) immediately, otherwise will cause the ruling of final form not meet professional custom (in giving an example in the back explanation will be arranged) to some subreport completing steps (1) back
Further, recursively carry out aforesaid operations, the subreport of subreport also can be introduced into, thereby finish the introducing work of multilayer subreport.
Beneficial effect of the present invention is:
(1) the main form behind the introducing subreport keeps snap to grid.
(2) layout of whole form meets professional custom behind a plurality of subreports of introducing.
Description of drawings
Fig. 1 is the process flow diagram of the method for the invention.
Embodiment
Below in conjunction with example actual act of the present invention is described.
Example 1, correct many subreports are introduced action.
If sublist 1 is the form that 3 following row 4 are listed as:
A B C D
1 a11 a12 a13 a14
2 a21 a22 a23 a24
3 a31 a32 a33 a34
If sublist 2 is the form that 3 following row 4 are listed as:
A B C D
1 b11 b12 b13 b14
2 b21 b22 b23 b24
3 b31 b32 b33 b34
These two sublists are introduced in the following master meter:
A B C D
1 a b c Sublist 2
2 e Sublist 1 g
3 i k l
(1) investigate two subreports and on main form corresponding cell, insert ranks at main form and make this cell (as merging lattice) ranks number that takies be not less than the ranks number of subreport.
It is as follows to obtain master meter:
A B C D E F G H I J
1 a b c
2 e g
3
4 i k l
5
(2) the corresponding unit lattice of each subreport on main form are fissioned into the elementary cell lattice, i.e. cancellation merges).
It is as follows to obtain master meter:
A B C D E F G H I J
1 a b c
2 e g
3
4 i k l
5
(3) data in the cell on the subreport are inserted successively by its position on subreport in the zone of main form corresponding unit lattice (fissioning into a plurality of elementary cell lattice).
It is as follows to obtain master meter:
A B C D E F G H I J
1 a b c b11 b12 b13 b14
2 e a11 a12 a13 a14 g b21 b22 b23 b24
3 a21 a22 a23 a24 b31 b32 b33 b34
4 i a31 a32 a33 a34 k l
5
Example 2, many subreports of mistake are introduced action
Still adopt the master meter and the sublist of example 1.All just carry out step (2) and step (3) behind the completing steps (1) if not elder generation at all subreports, but just carry out step (2) and step (3) immediately at each subreport completing steps (1) back, then the result of the action is with as follows:
Introduce sublist 1 back:
A B C D E F G
1 a b c Sublist 2
2 e a11 a12 a13 a14 g
3 i a21 a22 a23 a24 k l
4 a31 a32 a33 a34
Introduce sublist 2 backs:
A B C D E F G H I J
1 a b c b11 b12 b13 b14
2 e a11 a12 a13 a14 g b21 b22 b23 b24
3 b31 b32 b33 b34
4 i a21 a22 a23 a24 k l
5 a31 a32 a33 a34
After introducing sublist 2, the 1st of the sublist of introducing 1 the row has been widened earlier, and at this moment the final form ruling of Xing Chenging does not meet professional custom.
Obviously, those skilled in the art can carry out various changes and modification to the present invention and not break away from the spirit and scope of the present invention.Like this, if of the present invention these are revised and modification belongs within the scope of claim of the present invention and equivalent technologies thereof, then the present invention also is intended to comprise these changes and modification interior.

Claims (5)

1. the subreport introducing method of a grid type report tool comprises the steps:
(1) investigate each subreport and on main form corresponding cell, insert the ranks number that ranks number that ranks make this cell take is not less than subreport at main form.
(2) the corresponding unit lattice of each subreport on main form are fissioned into the elementary cell lattice.
(3) data in the cell on the subreport are inserted in the zone of main form corresponding unit lattice successively by its position on subreport.
2. subreport introducing method according to claim 1 is characterized in that: the action of only just inserting ranks when the row/columns of subreport during greater than the row of its corresponding unit lattice on main form/columns in the step (1).
3. according to claim 1,2 described subreport introducing methods, it is characterized in that: when inserting row/row, main form will carry out on following/the right of subreport corresponding unit lattice, and the cell merging on row/row that will insert and on it/left side.
4. subreport introducing method according to claim 1 is characterized in that: must all just can carry out step (2) behind the completing steps (1) at all subreports.
5. subreport introducing method according to claim 1 is characterized in that: its step can recurrence be carried out to finish the introducing of multilayer subreport.
CN 200710097823 2007-04-18 2007-04-18 Sub-report lead-in method Pending CN101046800A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 200710097823 CN101046800A (en) 2007-04-18 2007-04-18 Sub-report lead-in method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 200710097823 CN101046800A (en) 2007-04-18 2007-04-18 Sub-report lead-in method

Publications (1)

Publication Number Publication Date
CN101046800A true CN101046800A (en) 2007-10-03

Family

ID=38771417

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 200710097823 Pending CN101046800A (en) 2007-04-18 2007-04-18 Sub-report lead-in method

Country Status (1)

Country Link
CN (1) CN101046800A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101261622B (en) * 2008-05-12 2011-12-07 金蝶软件(中国)有限公司 Data dividing method and apparatus
CN104391832A (en) * 2014-11-18 2015-03-04 浪潮电子信息产业股份有限公司 Method for combining data in multiple EXCEL data sheets by using VBA (Visual Basic for Applications)
CN105975452A (en) * 2016-05-12 2016-09-28 中国电子科技集团公司第四十研究所 Test form integrating method and system based on mapping configuration file and index template
CN106557583A (en) * 2016-11-29 2017-04-05 用友网络科技股份有限公司 Archival storage and archives storage method
CN106598927A (en) * 2016-11-30 2017-04-26 国云科技股份有限公司 Method for rapidly creating Excel
CN108197147A (en) * 2017-11-29 2018-06-22 中国联合网络通信集团有限公司 Number card database O&M method and device
CN111881659A (en) * 2020-09-28 2020-11-03 江西汉辰信息技术股份有限公司 Processing method and system of table picture, readable storage medium and computer equipment

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101261622B (en) * 2008-05-12 2011-12-07 金蝶软件(中国)有限公司 Data dividing method and apparatus
CN104391832A (en) * 2014-11-18 2015-03-04 浪潮电子信息产业股份有限公司 Method for combining data in multiple EXCEL data sheets by using VBA (Visual Basic for Applications)
CN105975452A (en) * 2016-05-12 2016-09-28 中国电子科技集团公司第四十研究所 Test form integrating method and system based on mapping configuration file and index template
CN105975452B (en) * 2016-05-12 2019-02-05 中国电子科技集团公司第四十一研究所 Testing journal sheet's integration method and system based on Map Profile and indicator template
CN106557583A (en) * 2016-11-29 2017-04-05 用友网络科技股份有限公司 Archival storage and archives storage method
CN106598927A (en) * 2016-11-30 2017-04-26 国云科技股份有限公司 Method for rapidly creating Excel
CN106598927B (en) * 2016-11-30 2019-08-30 国云科技股份有限公司 A method of quickly generating Excel list
CN108197147A (en) * 2017-11-29 2018-06-22 中国联合网络通信集团有限公司 Number card database O&M method and device
CN111881659A (en) * 2020-09-28 2020-11-03 江西汉辰信息技术股份有限公司 Processing method and system of table picture, readable storage medium and computer equipment

Similar Documents

Publication Publication Date Title
CN101046800A (en) Sub-report lead-in method
RU2581163C1 (en) Multi-display control device and multi-display system
CN1910621B (en) Method and mechanism for programmable filtering of texture map data in 3D graphics subsystems
CN1722175A (en) Method and apparatus for operating improved stencil shadow awl
CN109872396B (en) Rapid cross-section contour generation method suitable for triangular mesh model
CN1085866C (en) Character string outputting method and apparatus capable of varying sizes of characters
CN114925435B (en) BIM family manufacturing method for assembled pipe well pipe group module
CN105574808A (en) Stream line texture mapping unit system structure
CN1888992A (en) Variable separation orthometric subalgebric curve composition difference interpolating digital processing method
CN103617124A (en) Flash memory management method and device
CN101826213A (en) Method for filling area based on chain code description
CN105068535B (en) A kind of first iterating control signal extracting method of XY motion platforms
CN108416445A (en) A kind of design method that the storage of quantum real signal is realized with quantum wire
CN116882017A (en) Deep design method for parameterization of steel structure net rack based on BIM technology
CN1591253A (en) Programmable controller
WO2023078353A1 (en) Generative design method for prefabricated concrete component
CN102360395A (en) Method for batch drawing unfolded drawing of trapezoid decorating plate in batch for curtain wall
CN104517273A (en) Image super-resolution processing method and apparatus
CN111104744B (en) Auxiliary type selection method for sand and stone crushing equipment
CN100470559C (en) Astringe detecting probe method used for large scale varying duty real time process flow simulate
CN111045623A (en) Method for processing graphics commands in multi-GPU (graphics processing Unit) splicing environment
JP7340494B2 (en) Controller programming device and method
CN113721802B (en) Vector capturing method
CN113361226B (en) Method for reducing size of layout file and electronic equipment
CN1822044A (en) Method for arranging three dimension figure

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication