CN105279139B - A kind of form data displaying is regular to be configured and computational methods and system - Google Patents

A kind of form data displaying is regular to be configured and computational methods and system Download PDF

Info

Publication number
CN105279139B
CN105279139B CN201510860707.4A CN201510860707A CN105279139B CN 105279139 B CN105279139 B CN 105279139B CN 201510860707 A CN201510860707 A CN 201510860707A CN 105279139 B CN105279139 B CN 105279139B
Authority
CN
China
Prior art keywords
rule
form data
font size
data displaying
resolution ratio
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.)
Active
Application number
CN201510860707.4A
Other languages
Chinese (zh)
Other versions
CN105279139A (en
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.)
China Construction Bank Corp
Original Assignee
China Construction Bank Corp
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 China Construction Bank Corp filed Critical China Construction Bank Corp
Priority to CN201510860707.4A priority Critical patent/CN105279139B/en
Publication of CN105279139A publication Critical patent/CN105279139A/en
Application granted granted Critical
Publication of CN105279139B publication Critical patent/CN105279139B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention discloses a kind of form datas to show rule configuration and computational methods, including:Obtain the resolution ratio and table type of screen;According to the resolution ratio and table type, corresponding form data displaying rule is obtained;The form data displaying rule is parsed, filling table shows item;Generate table.The present invention can provide flexibly configurable method to the user, screened to different data dimensions according to configuration rule during form data is shown, and further obtain the information bandwagon effect that user wants.The invention also discloses a kind of form datas to show rule configuration and computing system.

Description

A kind of form data displaying is regular to be configured and computational methods and system
Technical field
The present invention relates to form data processing technology field more particularly to a kind of displaying rule configuration of form data and calculate Method and system.
Background technology
When human resources correlation form data is shown, need constantly to change displaying rule according to business demand variation. For example, in human resources correlation table, under different resolution, different font sizes, Chinese and English, number, symbol character occupy-place ratio Rate is different.In these fixed tables, length is fixed, then Chinese and English number of the character number filled due to full half-angle It is different and inconsistent, lead to not embody the line feed that some differences require according to automatic line feed.In webpage, excel documents, The byte ratio (the byte ratio of i.e. full half-angle, hereafter with full half-angle ratio) of Chinese and English character is 2:1, but account for position is long Degree but changes with font size, resolution ratio.If fixed table can place 20 Chinese characters, the English character that can be placed But it is not simple 40 characters, it may be possible to 39, it is also possible to it is 41, it is when Chinese and English mixes, then more complicated.These exhibitions Show that regular flexibility is big, the pattern that is related to it is complicated and changeable, it is desirable that corresponding program has stronger logic processing capability and quickly Adaptability.But the program of traditional customized development according to demand is difficult to adapt to the frequent variation of displaying rule, and face demand Variation, the transformation for spending larger cost into line program is needed, for example, more data dimension involved in displaying rule participates in It calculates, therefore caused code revision will keep the maintenance of program more difficult.Therefore, how form data displaying process In, it provides flexibly configurable method to the user, different data dimensions is screened according to configuration rule, and further obtains The desired information bandwagon effect in family is taken, is a urgent problem to be solved.
Invention content
The present invention provides a kind of form datas to show rule configuration and computational methods, can show process in form data In, it provides flexibly configurable method to the user, different data dimensions is screened according to configuration rule, and further obtains Take the desired information bandwagon effect in family.
The present invention provides a kind of form datas to show rule configuration and computational methods, including:
Obtain the resolution ratio and table type of screen;
According to the resolution ratio and table type, corresponding form data displaying rule is obtained;
The form data displaying rule is parsed, filling table shows item;
Generate table.
Preferably, described according to the resolution ratio and table type, it is specific to obtain corresponding form data displaying rule For:
The display byte number of filler under different font sizes is obtained according to the resolution ratio.
Preferably, the parsing form data displaying rule, filling table displaying item are specially:
According to the priority orders of font size, it is adapted to the content filled in corresponding display byte number;
Whether the content filled in described in judgement meets fill rule under the font size, if so, by described fill in Hold filling to table, if it is not, then:
Next font size is selected, until the content filled in meets fill rule under font size.
A kind of displaying rule configuration of form data and computing system, including:
First acquisition unit, the resolution ratio for obtaining screen and table type;
Second acquisition unit, for according to the resolution ratio and table type, obtaining corresponding form data displaying rule Then;
Resolution unit, for parsing the form data displaying rule, filling table shows item;
Generation unit, for generating table.
Preferably, the second acquisition unit is specifically used for:
The display byte number of filler under different font sizes is obtained according to the resolution ratio.
Preferably, the resolution unit is specifically used for:
According to the priority orders of font size, it is adapted to the content filled in corresponding display byte number;
Whether the content filled in described in judgement meets fill rule under the font size, if so, by described fill in Hold filling to table, if it is not, then:
Next font size is selected, until the content filled in meets fill rule under font size.
By said program it is found that a kind of form data displaying rule provided by the invention configures and computational methods, by obtaining The resolution ratio of screen and the type of table are taken, and according to the resolution ratio and table type got, obtains corresponding table letter Breath displaying rule, and the displaying of the form data to getting rule parses, filling table shows item, can be in form data During displaying, provides flexibly configurable method to the user, different data dimensions is screened according to configuration rule, and Further obtain the information bandwagon effect that user wants.
Description of the drawings
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below There is attached drawing needed in technology description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this Some embodiments of invention for those of ordinary skill in the art without creative efforts, can be with Obtain other attached drawings according to these attached drawings.
Fig. 1 is a kind of flow chart of form data displaying rule configuration and computational methods disclosed in the embodiment of the present invention one;
Fig. 2 is a kind of flow chart of form data displaying rule configuration and computational methods disclosed in the embodiment of the present invention two;
Fig. 3 is a kind of structural representation of form data displaying rule configuration and computing system disclosed in the embodiment of the present invention one Figure;
Fig. 4 is a kind of structural representation of form data displaying rule configuration and computing system disclosed in the embodiment of the present invention two Figure.
Specific implementation mode
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation describes, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts every other Embodiment shall fall within the protection scope of the present invention.
As shown in Figure 1, for a kind of form data displaying rule configuration and computational methods disclosed in the embodiment of the present invention one, In the present embodiment, the method may include following steps:
S101, the resolution ratio and table type for obtaining screen;
When carrying out form data displaying, the displaying rule for being pre-configured with all kinds of tables is needed, is arranged one for each table A rule template.The parameter of regularity of configuration includes:Based under different screen resolutions, different font size, the displaying of each filler Byte number;Under different screen resolutions, different font sizes, each full half-angle character occupy-place ratio;Need some left sides of rule process Symbol, right symbol etc..
S102, foundation resolution ratio and table type obtain corresponding form data displaying rule;
The type of resolution ratio and table based on the screen got, and then get corresponding displaying rule.
S103, parsing form data displaying rule, filling table show item;
When each filler progress content to table is filled in, form data displaying rule is parsed, according to solution Analysis result will need the fills filled in table to show in item.
S104, table is generated.
In conclusion in the above-described embodiments, the type of resolution ratio and table by obtaining screen, and foundation is got Resolution ratio and table type, obtain corresponding form data displaying rule, and the displaying rule of the form data to getting It being parsed, filling table shows item, can provide flexibly configurable method to the user during form data is shown, Different data dimensions is screened according to configuration rule, and further obtains the information bandwagon effect that user wants.
As shown in Fig. 2, for a kind of form data displaying rule configuration and computational methods disclosed in the embodiment of the present invention two, In the present embodiment, the method may include following steps:
S201, the resolution ratio and table type for obtaining screen;
When carrying out form data displaying, the displaying rule for being pre-configured with all kinds of tables is needed, is arranged one for each table A rule template.The parameter of regularity of configuration includes:Based under different screen resolutions, different font size, the displaying of each filler Byte number;Under different screen resolutions, different font sizes, each full half-angle character occupy-place ratio;Need some left sides of rule process Symbol, right symbol etc..
S202, the display byte number that filler under different font sizes is obtained according to resolution ratio;
The type of resolution ratio and table based on the screen got obtains under this resolution ratio filler under different font sizes Display byte number.
S203, the priority orders according to font size, are adapted to the content filled in corresponding display byte number;
Then parsing form data displaying rule can be according to the excellent of font size when being filled in each filler progress content First grade sequence, is adapted to the content filled in corresponding display byte number.
Whether S204, the content filled in of judgement meet fill rule under font size, if so, into S205, if it is not, then into Enter S206:
S205, the fills that will fill in table;
If related need the content filled in meet fill rule under the font size, i.e., by folds, control back gauge after, still It can be filled into table, then the fills that can directly will fill in are to table.
S206, next font size is selected, until the content filled in meets fill rule under font size;
If correlation needs the content filled in not meet fill rule under the font size, next font size is attempted to, until most Until meeting fill rule eventually.
S207, table is generated.
It is described in detail below using 1 employee's Basic Information Table configuration rule of table as example.
1 employee's Basic Information Table configuration rule of table
According to 100%, 125%, 150% 3 kind of screen resolution, each filler under 12,11,10,9 font sizes is respectively configured Display byte number.In view of the difference of position size shared by full half-angle character, what a table business personnel presets in advance exists Under some resolution ratio, under some font size, the number of words of a line displaying is that how many a bandwagon effects are best, to fill in table 1, wherein entirely Half-angle character ratio is in excel, and the length of the how many a half-angle characters of investigation is identical as the length of ten double byte characters, half The number of angle character divided by 10, i.e., full half-angle character ratio, is configured to parameter, when showing rule parsing, preferably to fit Answer the bandwagon effect of double byte character.Simultaneously, it is contemplated that under different screen resolutions and font size, in the resume that is shown as multirow Hold, needs that its resume maximum number of lines is arranged.
In general filling displaying item, only primitive rule need to be considered.By taking work unit's filler as an example, in screen point When resolution is 100%, the byte number of filling content is obtained first, is then gone one by one since No. 12 words by font size priority Match, until meeting the requirements, corresponding contents can be put into the filler by confirmation with corresponding font size.According to 1 employee's Basic Information Table of table The definition of configuration rule can be used No. 12 words and be put into the filler when the byte number for filling content is less than or equal to 64 byte;When The byte number of content is filled more than 64 bytes and when being less than or equal to 72 byte, No. 11 words can be used and be put into the filler;Work as filling When the byte number of content is more than 72 bytes and is less than or equal to 84 byte, No. 10 words can be used and be put into the filler.In view of work The byte number of unit correlation filling content does not exceed 84 bytes, therefore No. 9 words are not defined, once occur being more than 84 words The case where section, is considered as abnormality processing.
And for this relative complex filler of resume, displaying rule is more, needs to carry out more, increasingly complex Parsing is.In the present invention, Chinese and English character ratio under different font sizes, different resolution is configured as rule.Together When, for symbol to be treated, such as:Left symbol, right symbol, are also added in configuration rule, to support form data exhibition Show relevant computational methods.
The resolution rules of resume filler, mainly comprise the following steps:
Step 1 calculates the character string, i.e., the half-angle character number for the content that show in the table, according to word in parameter Occupy-place length of the ratiometric conversion at full-shape is accorded with, occupy-place length of the character string under the font size resolution ratio is counted.
Step 2, the occupy-place length of the character string compared with the length of table, if occupy-place length is less than form length, It is then not necessarily to processing, directly shows, otherwise continues with, such as step 3, step 4, step 5.
Step 3 is cut character string by the full-shape byte number of form length, after cutting out the first row, repeats step 1, occupy-place length of this line under the ratio is calculated, if it is greater than form length, then cuts additional several bytes.
Step 4 cuts the first row and then judges the last character of the first row and remaining character string first character Whether be all letter, if so, the character of the first row recycles forward from the last one, judge the number of letter, remaining character from First recycles forward, judges the number of letter, if number, which is added, is more than form length, does not handle, otherwise, if remaining The beginning letter number of character is one, then is put into lastrow, otherwise the last letter of the first row is put into remaining character. In order to handle don ' t, the words such as student ' s, character " ' " it is also considered as letter.
If the judgement of step 5, step 4 is not letter, equally judge whether to be number.If so, the word of the first row Symbol recycles forward from the last one, judges that the number of number, remaining character recycle forward from first, judges the number of number. If number, which is added, is more than form length, do not handle, otherwise, if the leading digit number of remaining character is one, puts Otherwise lastrow is put into the last number of the first row in remaining character.In order to handle 20.44,2014.05,2015-07, 2015/5/29 equal words, character " ", "-", "/" are also considered as number.
Step 6, judge remaining character string beginning whether right symbol, if so, just the last character of the first row is put To in remaining character string.Two steps of step 4, step 5 are executed again, and word is avoided to be separated.If what band got off is symbol, such as Fruit is that right symbol is not handled then, if it is left symbol, then left symbol band is got off.Wherein, left symbol, right symbol can be put into configuration Rule.
Step 7 judges that the whether left symbol of the last character of the first row is then put into remaining character if it is left symbol In string.
Above step is handled, then the first row is disposed.Again remaining character string, at steps 1 and 2,3,4,5,6,7 Reason is gone down, until not meeting step 2.
Wherein, left symbol (use-separation) includes:〖-【-{-《"-'-[- '-"-<-"-"-(- "-"-[--(- "-《-【- {-‘-「-『-(-『;
Right symbol (use-separation) includes:"-,-,-.--;-:-)-”-》-】}-~-|-'-.- "- > -]-'-"-" --】And "-, -- ,-.--;-:-)-”-》-】-}-|-.-,--;-:-)-]-}-|-’- >-」-』-〗-…-〗。
In " 1 employee's Basic Information Table configuration rule of table ", there is the setting of resume maximum number of lines, once filling content exceeds The line number then needs to introduce new rule, i.e.,:Consideration is combined to two fillers of resume and kinsfolk, it is common to determine How fills are carried out.
In resume and kinsfolk's filler resolution rules, the different situations based on resume and kinsfolk are specific to grasp Make as follows:
The display of resume and kinsfolk is calculated according to dependency rule, line feed algorithm, respectively obtains resume row in table Number, kinsfolk's number, spouse, parent, children's sum.
Judge which rule of the above data fit obtained (referring to " 2 resume of table is advised with the configuration of kinsfolk's filler Then "), and according to rule kinsfolk and resume are shown:
(1) when resume line number is less than or equal to the resume maximum number of lines of current font size, and kinsfolk's number is less than or equal to 7, Kinsfolk and resume are normally shown.
(2) when resume line number is less than or equal to the resume maximum number of lines of current font size, kinsfolk's number is more than 7, spouse, father When female, children's sum is less than or equal to 7, kinsfolk only shows that spouse, parent, children, resume normally show.
(3.1) when resume line number is more than the resume of current font size, maximum number of lines and kinsfolk's number less than or equal to 7, family Front yard member normally shows;At this point, resume occupies kinsfolk's blank line, and the displayable resume line number of blank line is calculated, if meter After calculation resume can show line number be more than or equal to current resume line number, then biographic information down anacoluthon occupy kinsfolk's blank line according to Line number after calculating is shown.
(3.2) when resume line number is more than the resume maximum number of lines of current font size, and kinsfolk's number is less than or equal to 7, family Front yard member normally shows;At this point, resume occupies kinsfolk's blank line, and the displayable resume line number of blank line is calculated, if meter Resume can show that line number is less than current resume line number after calculation, then reduce font size, re-fetch current font size in information table parameter After resume maximum number of lines, then according to 1~4.3 recalculate and judge display, if after calculating, resume can show that line number is more than In current resume line number, then the line number after resume foundation calculates is shown.
(3.3) when resume line number is more than the resume maximum number of lines of current font size, and kinsfolk's number is less than or equal to 7, family Front yard member normally shows;At this point, resume occupies kinsfolk's blank line and calculates the displayable resume line number of blank line, if calculating Resume can show that line number is less than current resume line number afterwards, then reduce font size, re-fetch the letter of current font size in information table parameter After going through maximum number of lines, then according to 1~4.3 recalculate and judge display, if after calculating, it is current simple that resume can show that line number is less than Line number is gone through, then resume is shown according to the line number after calculating, and folds not complete display portion.
(4.1) when resume line number be more than current font size resume maximum number of lines, kinsfolk's number be more than 7, spouse, parent, When children's sum is less than or equal to 7, kinsfolk only shows that spouse, parent, children, resume normally show;At this point, resume occupies house Front yard member's blank line, and the displayable resume line number of blank line is calculated, if after calculating, it is current that resume can show that line number is more than or equal to Resume line number, then biographic information anacoluthon down, occupies in kinsfolk's blank line and is shown according to the line number after calculating.
(4.2) when resume line number be more than current font size resume maximum number of lines, kinsfolk's number be more than 7, spouse, parent, When children's sum is less than or equal to 7, kinsfolk only shows that spouse, parent, children, resume normally show;At this point, resume occupies house Front yard member's blank line, and the displayable resume line number of blank line is calculated, if resume can show that line number is less than current resume after calculating Line number then reduces font size, re-fetches in information table parameter after the resume maximum number of lines of current font size, then carries out weight according to 1~4.3 New calculate judges display, if after calculating, resume can show that line number is more than or equal to current resume line number, then after resume is according to calculating Line number is shown.
(4.3) when resume line number be more than current font size resume maximum number of lines, kinsfolk's number be more than 7, spouse, parent, When children's sum is less than or equal to 7, kinsfolk only shows that spouse, parent, children, resume normally show;At this point, resume occupies house Front yard member's blank line, and the displayable resume line number of blank line is calculated, if resume can show that line number is less than current resume after calculating Line number then reduces font size, re-fetches in information table parameter after the resume maximum number of lines of current font size, then carries out weight according to 1~4.3 New calculate judges display, if after calculating, resume can show that line number is less than current resume line number, then resume is according to the line number after calculating It has been shown that, and fold not complete display portion.
(5) when above (1)~(4.3) have all judged, if spouse, parent, children's sum are more than 7, kinsfolk First 7 are only shown according to sequence.
In conclusion the present invention is adapted to continually changing business demand, displaying rule complicated in form data are parsed Then, exploitation and the scalability cost of application program are reduced.Data processing can be calculated based on the configuration and computational methods Logic and the technology decision-making of developer detach;Scalability, the maintainability of complex logic code can be effectively improved; The expansion needs that Future Data calculates demand can quickly be coped with;Multidimensional in all kinds of business tables can be met to a certain extent Degrees of data process demand, and support to be transformed and be multiplexed between different systems at lower cost;It can provide to the user More friendly regular configuration interface, keeps user easy to operate, convenient, easy-to-use.
As shown in figure 3, for a kind of form data displaying rule configuration and computing system disclosed in the embodiment of the present invention one, In the present embodiment, the system comprises:
First acquisition unit 301, the resolution ratio for obtaining screen and table type;
When carrying out form data displaying, the displaying rule for being pre-configured with all kinds of tables is needed, is arranged one for each table A rule template.The parameter of regularity of configuration includes:Based under different screen resolutions, different font size, the displaying of each filler Byte number;Under different screen resolutions, different font sizes, each full half-angle character occupy-place ratio;Need some left sides of rule process Symbol, right symbol etc..
Second acquisition unit 302 obtains corresponding form data displaying rule according to resolution ratio and table type;
The type of resolution ratio and table based on the screen got, and then get corresponding displaying rule.
Resolution unit 303, for parsing form data displaying rule, filling table shows item;
When each filler progress content to table is filled in, form data displaying rule is parsed, according to solution Analysis result will need the fills filled in table to show in item.
Generation unit 304, for generating table.
In conclusion in the above-described embodiments, the type of resolution ratio and table by obtaining screen, and foundation is got Resolution ratio and table type, obtain corresponding form data displaying rule, and the displaying rule of the form data to getting It being parsed, filling table shows item, can provide flexibly configurable method to the user during form data is shown, Different data dimensions is screened according to configuration rule, and further obtains the information bandwagon effect that user wants.
As shown in figure 4, for a kind of form data displaying rule configuration and computing system disclosed in the embodiment of the present invention two, In the present embodiment, the system comprises:
First acquisition unit 401, the resolution ratio for obtaining screen and table type;
When carrying out form data displaying, the displaying rule for being pre-configured with all kinds of tables is needed, is arranged one for each table A rule template.The parameter of regularity of configuration includes:Based under different screen resolutions, different font size, the displaying of each filler Byte number;Under different screen resolutions, different font sizes, each full half-angle character occupy-place ratio;Need some left sides of rule process Symbol, right symbol etc..
Second acquisition unit 402, the display byte number for obtaining filler under different font sizes according to the resolution ratio;
The type of resolution ratio and table based on the screen got obtains under this resolution ratio filler under different font sizes Display byte number.
Resolution unit 403, for the priority orders according to font size, with the content filled in and corresponding display byte number into Row adaptation;
Whether the content filled in described in judgement meets fill rule under the font size, if so, by described fill in Hold filling to table, if it is not, then:
Next font size is selected, until the content filled in meets fill rule under font size;
Then parsing form data displaying rule can be according to the excellent of font size when being filled in each filler progress content First grade sequence, is adapted to the content filled in corresponding display byte number.
If related need the content filled in meet fill rule under the font size, i.e., by folds, control back gauge after, still It can be filled into table, then the fills that can directly will fill in are to table.
If correlation needs the content filled in not meet fill rule under the font size, next font size is attempted to, until most Until meeting fill rule eventually.
Generation unit 404, for generating table.
In conclusion the present invention is adapted to continually changing business demand, displaying rule complicated in form data are parsed Then, exploitation and the scalability cost of application program are reduced.Data processing can be calculated based on the configuration and computational methods Logic and the technology decision-making of developer detach;Scalability, the maintainability of complex logic code can be effectively improved; The expansion needs that Future Data calculates demand can quickly be coped with;Multidimensional in all kinds of business tables can be met to a certain extent Degrees of data process demand, and support to be transformed and be multiplexed between different systems at lower cost;It can provide to the user More friendly regular configuration interface, keeps user easy to operate, convenient, easy-to-use.
If the function described in the present embodiment method is realized in the form of SFU software functional unit and as independent product pin It sells or in use, can be stored in a computing device read/write memory medium.Based on this understanding, the embodiment of the present invention The part of the part that contributes to existing technology or the technical solution can be expressed in the form of software products, this is soft Part product is stored in a storage medium, including some instructions are used so that computing device (can be personal computer, Server, mobile computing device or network equipment etc.) execute all or part of step of each embodiment the method for the present invention Suddenly.And storage medium above-mentioned includes:USB flash disk, read-only memory (ROM, Read-Only Memory), is deposited mobile hard disk at random The various media that can store program code such as access to memory (RAM, Random Access Memory), magnetic disc or CD.
Each embodiment is described by the way of progressive in this specification, the highlights of each of the examples are with it is other The difference of embodiment, just to refer each other for same or similar part between each embodiment.
The foregoing description of the disclosed embodiments enables those skilled in the art to implement or use the present invention. Various modifications to these embodiments will be apparent to those skilled in the art, as defined herein General Principle can be realized in other embodiments without departing from the spirit or scope of the present invention.Therefore, of the invention It is not intended to be limited to the embodiments shown herein, and is to fit to and the principles and novel features disclosed herein phase one The widest range caused.

Claims (4)

1. a kind of form data displaying rule configuration and computational methods, which is characterized in that including:
Obtain the resolution ratio and table type of screen;
According to the resolution ratio and table type, corresponding form data displaying rule is obtained;
The form data displaying rule is parsed, filling table shows item;
Generate table;
Wherein, the parameter of regularity of the form data displaying rule includes:Based under different screen resolutions, different font size, often The displaying byte number of a filler;Under different screen resolutions, different font sizes, each full half-angle character occupy-place ratio;And it needs Want some left symbols, the right symbol of rule process;
It is described according to the resolution ratio and table type, obtaining corresponding form data displaying rule is specially:
The display byte number of filler under different font sizes is obtained according to the resolution ratio.
2. according to the method described in claim 1, it is characterized in that, the parsing form data displaying rule, fills table Lattice show that item is specially:
According to the priority orders of font size, it is adapted to the content filled in corresponding display byte number;
Whether the content filled in described in judgement meets fill rule under the font size, if so, the content filled in is filled out It is charged to table, if it is not, then:
Next font size is selected, until the content filled in meets fill rule under font size.
3. a kind of form data displaying rule configuration and computing system, which is characterized in that including:
First acquisition unit, the resolution ratio for obtaining screen and table type;
Second acquisition unit, for according to the resolution ratio and table type, obtaining corresponding form data displaying rule;Its In, the parameter of regularity of the form data displaying rule includes:Based under different screen resolutions, different font sizes, each fill The displaying byte number of item;Under different screen resolutions, different font sizes, each full half-angle character occupy-place ratio;And need rule Some left symbols, the right symbol of processing;
Resolution unit, for parsing the form data displaying rule, filling table shows item;
Generation unit, for generating table;
The second acquisition unit is specifically used for:
The display byte number of filler under different font sizes is obtained according to the resolution ratio.
4. system according to claim 3, which is characterized in that the resolution unit is specifically used for:
According to the priority orders of font size, it is adapted to the content filled in corresponding display byte number;
Whether the content filled in described in judgement meets fill rule under the font size, if so, the content filled in is filled out It is charged to table, if it is not, then:
Next font size is selected, until the content filled in meets fill rule under font size.
CN201510860707.4A 2015-11-30 2015-11-30 A kind of form data displaying is regular to be configured and computational methods and system Active CN105279139B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510860707.4A CN105279139B (en) 2015-11-30 2015-11-30 A kind of form data displaying is regular to be configured and computational methods and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510860707.4A CN105279139B (en) 2015-11-30 2015-11-30 A kind of form data displaying is regular to be configured and computational methods and system

Publications (2)

Publication Number Publication Date
CN105279139A CN105279139A (en) 2016-01-27
CN105279139B true CN105279139B (en) 2018-10-19

Family

ID=55148169

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510860707.4A Active CN105279139B (en) 2015-11-30 2015-11-30 A kind of form data displaying is regular to be configured and computational methods and system

Country Status (1)

Country Link
CN (1) CN105279139B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105824790B (en) * 2016-03-15 2019-03-01 上海缔安科技股份有限公司 A kind of equipment table adaptation method, computer equipment and mobile terminal
CN106843793A (en) * 2017-02-16 2017-06-13 济南浪潮高新科技投资发展有限公司 A kind of data display method and device
CN116861868A (en) * 2018-03-28 2023-10-10 福建榕基软件工程有限公司 Resume generation method and terminal based on automatic typesetting
CN109359280B (en) * 2018-09-12 2023-12-05 深圳市卡牛科技有限公司 Data display method, device, computer equipment and storage medium
CN112529643A (en) * 2020-12-21 2021-03-19 航天信息股份有限公司 Electronic invoice processing method and device, storage medium and electronic equipment
CN113111285A (en) * 2021-04-15 2021-07-13 西安诺瓦星云科技股份有限公司 Form processing method and device, electronic equipment and computer readable storage medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102339314A (en) * 2011-09-24 2012-02-01 国网电力科学研究院 Cross-terminal data form description and presentation method based on extensive makeup language (XML)
CN103455475A (en) * 2012-06-01 2013-12-18 腾讯科技(深圳)有限公司 Typesetting method, equipment and system

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101441656A (en) * 2008-12-23 2009-05-27 金蝶软件(中国)有限公司 Method and apparatus for processing form setting scheme and enterprise resource planning system
CN103678317B (en) * 2012-08-31 2017-07-25 百度在线网络技术(北京)有限公司 The automatic adaptation method and system of page layout
CN104050947A (en) * 2013-03-15 2014-09-17 联想(北京)有限公司 Display control method and electronic device
CN104516867A (en) * 2013-09-30 2015-04-15 北大方正集团有限公司 Table reordering method and table reordering system

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102339314A (en) * 2011-09-24 2012-02-01 国网电力科学研究院 Cross-terminal data form description and presentation method based on extensive makeup language (XML)
CN103455475A (en) * 2012-06-01 2013-12-18 腾讯科技(深圳)有限公司 Typesetting method, equipment and system

Also Published As

Publication number Publication date
CN105279139A (en) 2016-01-27

Similar Documents

Publication Publication Date Title
CN105279139B (en) A kind of form data displaying is regular to be configured and computational methods and system
US8479092B1 (en) Content layout for an electronic document
Batagelj et al. Pajek.
CN100478876C (en) Method and system for creating and laying out a graphic within an application program
CN107766309B (en) Data table generation method and device, storage medium and electronic device
CN105761048B (en) A kind of E-seal label lid method and system with seal on the perforation function
US20150066933A1 (en) Computer-implemented methods and systems for generating visual representations of complex and voluminous marketing and sales and other data
CN102317931A (en) Multiple row header areas and/or multiple column header areas for display in summary table
Leao et al. A semi-continuous MIP model for the irregular strip packing problem
US10318624B1 (en) Infinite canvas
SA516371776B1 (en) Generating Unconstrained Voronoi Grids in a Domain Containing Complex Internal Boundaries
US9384575B2 (en) Space constrained small format visual analytic labeling
CN106030567A (en) Section based reorganization of document components
WO2011119142A1 (en) Adjusting an automatic template layout by providing a constraint
CN102830979A (en) CAD (computer-aided design) drawing information batch processing method based on ObjectArx
CN103049493B (en) For determining the method for the position of appearing of target pages element, device and equipment
CN103518195A (en) Apparatus, system and method for vector-based form field document
CN109146382A (en) E-commerce order distribution method and Related product
CN103136791A (en) Data association method and data association device used for airplane digitalization maintenance and application
CN108170425A (en) A kind of amending method of program code, modification device and terminal device
CN105045464A (en) Method and device for prompting of form filling progress
CN104361415A (en) Selection method and device for show information
CN105183853A (en) Method and device used for presenting label page
US7444591B1 (en) Methods involving text attribute recognition
CN106326522A (en) 3D fonts for automation of design for manufacturing

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant