CN103092630B - Interface data output unit and interface data output intent - Google Patents

Interface data output unit and interface data output intent Download PDF

Info

Publication number
CN103092630B
CN103092630B CN201310065316.4A CN201310065316A CN103092630B CN 103092630 B CN103092630 B CN 103092630B CN 201310065316 A CN201310065316 A CN 201310065316A CN 103092630 B CN103092630 B CN 103092630B
Authority
CN
China
Prior art keywords
information
interface element
ranks
interface
coordinate
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
CN201310065316.4A
Other languages
Chinese (zh)
Other versions
CN103092630A (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.)
CHANJET INFORMATION TECHNOLOGY Co Ltd
Original Assignee
CHANJET INFORMATION 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 CHANJET INFORMATION TECHNOLOGY Co Ltd filed Critical CHANJET INFORMATION TECHNOLOGY Co Ltd
Priority to CN201310065316.4A priority Critical patent/CN103092630B/en
Publication of CN103092630A publication Critical patent/CN103092630A/en
Application granted granted Critical
Publication of CN103092630B publication Critical patent/CN103092630B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • User Interface Of Digital Computer (AREA)

Abstract

The invention provides a kind of interface data output unit and a kind of interface data output intent, wherein, interface data output unit comprises: collecting unit, for the information of acquisition interface element; Ranks division unit, for generating ranks partitioning standards parameter according to the information of interface element; Processing unit, compares information and the ranks partitioning standards parameter of interface element, obtains the line information of each interface element; Lead-out unit, derives the format information of target according to ranks partitioning standards optimum configurations, export derivation target according to the information of format information and interface element.By technical scheme of the present invention, loosely organized interface element ranks can be outputted to Excel, Grid, HTML, by input need derive interface information, automatically complete the ranks of interface element are divided, ranks merge, export, realize a kind of What You See Is What You Get ranksization output.

Description

Interface data output unit and interface data output intent
Technical field
The present invention relates to field of computer technology, in particular to a kind of interface data output unit and a kind of interface data output intent.
Background technology
WinForm interface generally can not as Html interface element by Table structuring, a loosely organized WinForm interface, the self-defined document such as, provided in some management softwares, its interface element size and distribution differ and intersect, there is no the concept of row and column, directly can not output to the office software as Excel; And the derivation form carried can not by general office software identification, interoperability is poor; If a device can be had, loosely organized interfacial structure can be output into the discernible output of other softwares by the universal standard, so just can be that user realizes at other software edit data, copies, the operation such as stickup, add the ease for use of this product undoubtedly, and with the interoperability of other softwares.
Therefore, need a kind of interface data export technique, loosely organized interface element ranksization can be exported.
Summary of the invention
The present invention, just based on the problems referred to above, proposes a kind of new interface data export technique, loosely organized interface element ranksization can be exported.
In view of this, according to an aspect of the present invention, provide a kind of interface data output unit, comprising: collecting unit, for the information of acquisition interface element; Ranks division unit, for generating ranks partitioning standards parameter according to the information of described interface element; Processing unit, the information of more described interface element and described ranks partitioning standards parameter, obtain the line information of each interface element; Lead-out unit, derives the format information of target, exports described derivation target according to the information of described format information and described interface element according to described ranks partitioning standards optimum configurations.
The collection of interface element information parameter, need the table element considering multiple lines and multiple rows, the rational ranks partitioning standards parameter generated, can ensure that realizing high efficiency target derives, a good solution is provided for Winform interface ranksization being exported, and the parameter information produced in operational process, can be and realize the copying of interface, pastes, the operation such as the self-adaptation display at interface provides basis.
In technique scheme, preferably, described collecting unit comprises: traversal subelement, travel through each described interface element, respectively the information of the information of the interface element of multiple lines and multiple rows and the single-row interface element of single file is saved to interface element information parameter table, the information of wherein said interface element comprises element term, element type, element upper left corner point coordinate and/or element lower right corner point coordinate; Adjustment subelement, adjusting coordinate in described interface element information parameter table has the coordinate of the interface element of common factor, according to region shared by the interface element of described multiple lines and multiple rows is when deriving, adjusts the coordinate of respective interface element in described interface element information parameter table.
When occurring in the region of interface element to occur simultaneously, can the coordinate that the interface element occured simultaneously occurs be adjusted, to ensure accurate output interface element.
In technique scheme, preferably, described ranks division unit comprises: extract subelement, extract the coordinate of the interface element in described interface element information parameter table and sort to the coordinate extracted; Get rid of subelement, remove the coordinate repeated, and using result as described ranks partitioning standards parameter, described ranks partitioning standards parameter is saved to ranks partitioning standards parameter list.
In technique scheme, preferably, described processing unit is specifically for for each described interface element, position according to the upper left corner point coordinate in described interface element information parameter table and lower right corner point coordinate in the ranks partitioning standards parameter in described ranks partitioning standards parameter list, determines the initial column information of described interface element, end column information and initial row information, termination row information.
In above-mentioned arbitrary technical scheme, preferably, described format information comprises the ranks number of described derivation target, ranks width and/or ranks height; Described lead-out unit comprises: generate subelement, for arranging Merge Cells according to the information of described interface element, generate grand, style sheet and/or the script information of described derivation target according to described Merge Cells and described format information, export described derivation target based on grand, the style sheet of described derivation target and/or script information.
Pass through technique scheme, a kind of ranks output unit of interface can be realized, structureless window elements implementing structured can be exported by this device, as User Defined document is exported to the structured documents such as Excel, Html, xml, quoting of extending also the document after editor can be loaded into or realize paste operation etc., to increase the interoperability between the ease for use of software product and office software.
According to another aspect of the invention, additionally provide a kind of interface data output intent, comprising: step 602, the information of acquisition interface element; Step 604, generates ranks partitioning standards parameter according to the information of described interface element; Step 606, the information of more described interface element and described ranks partitioning standards parameter, obtain the line information of each interface element; Step 608, derives the format information of target, exports described derivation target according to the information of described format information and described interface element according to described ranks partitioning standards optimum configurations.
The collection of interface element information parameter, need the table element considering multiple lines and multiple rows, the rational ranks partitioning standards parameter generated, can ensure that realizing high efficiency target derives, a good solution is provided for Winform interface ranksization being exported, and the parameter information produced in operational process, can be and realize the copying of interface, pastes, the operation such as the self-adaptation display at interface provides basis.
In technique scheme, preferably, described step 602 specifically comprises: travel through each described interface element, respectively the information of the information of the interface element of multiple lines and multiple rows and the single-row interface element of single file is saved to interface element information parameter table, the information of wherein said interface element comprises element term, element type, element upper left corner point coordinate and/or element lower right corner point coordinate; Adjusting coordinate in described interface element information parameter table and have the coordinate of the interface element of common factor, according to region shared by the interface element of described multiple lines and multiple rows is when deriving, adjusting the coordinate of respective interface element in described interface element information parameter table.
When occurring in the region of interface element to occur simultaneously, can the coordinate that the interface element occured simultaneously occurs be adjusted, to ensure accurate output interface element.
In technique scheme, preferably, described step 604 specifically comprises: extract the coordinate of the interface element in described interface element information parameter table and sort to the coordinate extracted; Remove the coordinate repeated, and using result as described ranks partitioning standards parameter, described ranks partitioning standards parameter is saved to ranks partitioning standards parameter list.
In technique scheme, preferably, described step 606 specifically comprises: for each described interface element, position according to the upper left corner point coordinate in described interface element information parameter table and lower right corner point coordinate in the ranks partitioning standards parameter in described ranks partitioning standards parameter list, determines the initial column information of described interface element, end column information and initial row information, termination row information.
In above-mentioned arbitrary technical scheme, preferably, described format information comprises the ranks number of described derivation target, ranks width and/or ranks height; Described step 608 specifically comprises: the information according to described interface element arranges Merge Cells, generate grand, style sheet and/or the script information of described derivation target according to described Merge Cells and described format information, export described derivation target based on grand, the style sheet of described derivation target and/or script information.
Pass through technique scheme, a kind of ranks output intent of interface can be realized, structureless window elements implementing structured can be exported by this device, as User Defined document is exported to the structured documents such as Excel, Html, xml, quoting of extending also the document after editor can be loaded into or realize paste operation etc., to increase the interoperability between the ease for use of software product and office software.
Accompanying drawing explanation
Fig. 1 shows the block diagram of interface data output unit according to an embodiment of the invention;
Fig. 2 shows the process flow diagram of interface data output intent according to an embodiment of the invention;
Fig. 3 shows the process flow diagram of interface data output intent according to still another embodiment of the invention
Fig. 4 shows the surface chart needing according to an embodiment of the invention to carry out output processing;
Fig. 5 shows the interface ranks output map for the surface chart shown in Fig. 4;
Fig. 6 shows the process flow diagram of interface data output intent according to an embodiment of the invention.
Embodiment
In order to more clearly understand above-mentioned purpose of the present invention, feature and advantage, below in conjunction with the drawings and specific embodiments, the present invention is further described in detail.It should be noted that, when not conflicting, the feature in the embodiment of the application and embodiment can combine mutually.
Set forth a lot of detail in the following description so that fully understand the present invention; but; the present invention can also adopt other to be different from other modes described here and implement, and therefore, protection scope of the present invention is not by the restriction of following public specific embodiment.
Fig. 1 shows the block diagram of interface data output unit according to an embodiment of the invention.
As shown in Figure 1, interface data output unit 100 according to an embodiment of the invention, comprising: collecting unit 102, for the information of acquisition interface element; Ranks division unit 104, for generating ranks partitioning standards parameter according to the information of described interface element; Processing unit 106, the information of more described interface element and described ranks partitioning standards parameter, obtain the line information of each interface element; Lead-out unit 108, derives the format information of target, exports described derivation target according to the information of described format information and described interface element according to described ranks partitioning standards optimum configurations.
The collection of interface element information parameter, need the table element considering multiple lines and multiple rows, the rational ranks partitioning standards parameter generated, can ensure that realizing high efficiency target derives, a good solution is provided for Winform interface ranksization being exported, and the parameter information produced in operational process, can be and realize the copying of interface, pastes, the operation such as the self-adaptation display at interface provides basis.
In technique scheme, preferably, described collecting unit 102 comprises: traversal subelement 1022, travel through each described interface element, respectively the information of the information of the interface element of multiple lines and multiple rows and the single-row interface element of single file is saved to interface element information parameter table, the information of wherein said interface element comprises element term, element type, element upper left corner point coordinate and/or element lower right corner point coordinate; Adjustment subelement 1024, adjust coordinate in described interface element information parameter table and have the coordinate of the interface element of common factor, according to region shared by the interface element of described multiple lines and multiple rows is when deriving, adjust the coordinate of respective interface element in described interface element information parameter table.
When occurring in the region of interface element to occur simultaneously, can the coordinate that the interface element occured simultaneously occurs be adjusted, to ensure accurate output interface element.
In technique scheme, preferably, described ranks division unit 104 comprises: extract subelement 1042, extract the coordinate of the interface element in described interface element information parameter table and sort to the coordinate extracted; Get rid of subelement 1044, remove the coordinate repeated, and using result as described ranks partitioning standards parameter, described ranks partitioning standards parameter is saved to ranks partitioning standards parameter list.
In technique scheme, preferably, described processing unit 106 is specifically for for each described interface element, position according to the upper left corner point coordinate in described interface element information parameter table and lower right corner point coordinate in the ranks partitioning standards parameter in described ranks partitioning standards parameter list, determines the initial column information of described interface element, end column information and initial row information, termination row information.
In above-mentioned arbitrary technical scheme, preferably, described format information comprises the ranks number of described derivation target, ranks width and/or ranks height; Described lead-out unit 108 comprises: generate subelement 1082, for arranging Merge Cells according to the information of described interface element, generate grand, style sheet and/or the script information of described derivation target according to described Merge Cells and described format information, export described derivation target based on grand, the style sheet of described derivation target and/or script information.
Pass through technique scheme, a kind of ranks output unit of interface can be realized, structureless window elements implementing structured can be exported by this device, as User Defined document is exported to the structured documents such as Excel, Html, xml, quoting of extending also the document after editor can be loaded into or realize paste operation etc., to increase the interoperability between the ease for use of software product and office software.
Fig. 2 shows the process flow diagram of interface data output intent according to an embodiment of the invention.
Step 202, travels through the interface element of the interface chamber imported into, obtains each element information and be saved in parameter list; Step 204, information extraction from parameter list, generates the coordinate information of row and column respectively, and is saved in ranks partitioning standards parameter; Step 206, element information parameter list comparison ranks partitioning standards parameter list, generates the initial row columns and rows row pooling information of each interface element; Step 208, generating target according to element information parameter list derives.
Wherein, step 202 specifically can comprise: traversal interface element, respectively by the element of multiple lines and multiple rows and the element information solely arranged of walking alone: element term, subscript (when element is array), element type, element upper left corner point coordinate (x 1, y 1), element lower right corner point coordinate (x 2, y 2) be saved in element information parameter list; In processing element information parameter table, element interface zone has the element of common factor, the forward element lower right corner point coordinate in adjustment position, makes it with right side and below element without common factor; Derive shared region according to actual on the right side of multiple lines and multiple rows element, to regulate in element information parameter list on the right side of multiple lines and multiple rows element and the point coordinate of below element.
Wherein, described step 204 specifically can comprise: extract x in element information parameter list 1, x 2point coordinate also carries out quicksort to the coordinate extracted, and removes and repeats point coordinate, result be saved in row partitioning standards parameter list; Extract the y in element information parameter list 1, y 2point coordinate carries out quicksort, removes and repeats point coordinate, and result is saved in row and divides parameter according to the table of comparisons.
Wherein, described step 206 specifically can comprise: by the x in the element parameter table of comparisons 1point coordinate contrast row divide parameter list, draw the initial row of this element; By the x in the element parameter table of comparisons 2point coordinate contrast row partitioning standards parameter list, draws the end column of this element; In like manner draw initial row and the termination row information of element.
Described step 208 specifically can comprise: ranks number, ranks width, the elevation information of deriving according to ranks partitioning standards parameter list Offered target, according to element information table, Merge Cells is set, generate the grand or style sheet of target derivation based on these parameters or control relevant script information, deriving element content.
Further illustrate according to technical scheme of the present invention below in conjunction with Fig. 3.
As shown in Figure 3, in step 302, receive the interface chamber needing to export from caller, also can as saved database or the file data of interface information.
In step 304, traversal interface element, respectively by the element of multiple lines and multiple rows and the element information solely arranged of walking alone: element term, subscript (when element is array), element type, element upper left corner point coordinate (x 1, y 1), element lower right corner point coordinate (x 2, y 2) be saved in element information parameter list.
In step 306, in processing element information parameter table, element interface zone has the element of common factor, the forward element lower right corner point coordinate in adjustment position, makes it with right side and below element without common factor.
In step 308, derive shared region according to actual on the right side of multiple lines and multiple rows element, in regulating parameter table on the right side of multiple lines and multiple rows element and the point coordinate of below element.
In step 310, extract x in element information parameter list 1, x 2point coordinate carries out quicksort, removes and repeats point coordinate, and result is saved in row and divides parameter lookup table; Extract y in element information parameter list 1, y 2point coordinate carries out quicksort, and remove and repeat point coordinate, result is saved in row partitioning standards parameter list.
In step 312, by x in the element parameter table of comparisons 1point coordinate contrast row partitioning standards parameter list, draws the initial row of this element; By x in the element parameter table of comparisons 2point coordinate contrast row partitioning standards parameter list, draws the end column of this element; In like manner draw initial row and the termination row information of element.
In step 314, according to ranks number, ranks width, elevation information that ranks partitioning standards parameter list Offered target is derived, Merge Cells is set according to interface element information parameter table, generates the grand or style sheet of target derivation or control relevant script information, deriving element content.
Based on interface element output intent of the present invention, export the interface processionization shown in Fig. 4, the target accurately obtained as shown in Figure 5 derives.
For median surface, the interface element shown in Fig. 4, the crosswise spots coordinate information of collection and longitudinal point coordinate information, respectively as shown in following table 1 and table 2, namely obtain interface element information parameter table.
300 360 420 480 960 960 1035 1035 1080
1095 1140 1140 2160 2160 2415 2475 2475 2640 2700
2700 2700 3255 3300 3315 3315 3360 3360 3360 3360
3840 4455 4500 4560 4560 4635 4680 4695 4695 4740
5235 5295 5340 5400 5415 5760 5760 5835 6120 6675
6735 6735 6780 6840 6960 6960 8115 8160 9420
Table 1
60 480 495 600 660 660 720 915 975
975 1035 1140 1200 1200 1260 1260 1320 1455 1515
1515 1575 1575 1635 1680 1740 1740 1800 1800 1860
1995 2055 2055 2115 2115 2175 2415 2880 3150 3150
3420 3420 3690 3690 3960 3960 4230 4230 4500 4500
4770 4770 5040 5040 5310 5820 5820 5820 5880 6135
6135 6135 6195
Table 2
Row partitioning standards parameter list as shown in table 3 below and row partitioning standards parameter list as shown in table 4 below is obtained according to the interface element information in interface element information parameter table.
0 300 360 420 480 960 1035 1080 1095 1140
2160 2415 2475 2640 2700 3255 3300 3315 3360 3840
4455 4500 4560 4635 4680 4695 4740 5235 5295 5340
5400 5415 5760 5835 6120 6675 6735 6780 6840 6960
8115 8160 9420
Table 3
0 60 480 495 600 660 720 915 975 1035
1140 1200 1260 1320 1455 1515 1575 1635 1680 1740
1800 1860 1995 2055 2115 2175 2415 2880 3150 3420
3690 3960 4230 4500 4770 5040 5310 5820 5880 6135
6195
Table 4
The horizontal information parameter table of element as shown in table 5 below and the longitudinal information parameter table of element as shown in table 6 below is generated according to interface element information parameter table and ranks partitioning standards parameter list.
Element term Element subscript Element type Grid column Begin column End column
txt1 9 textbox 21 32
txt1 8 textbox 37 39
txt1 7 textbox 29 34
txt1 6 textbox 7 10
txt1 5 textbox 16 22
txt1 4 textbox 30 35
txt1 0 textbox 9 11
txt1 1 textbox 18 24
txt1 2 textbox 9 11
txt1 3 textbox 18 24
Grid1 grid 0 2 4
Grid1 grid 1 5 9
Grid1 grid 2 10 17
Grid1 grid 3 18 21
Grid1 grid 4 22 31
Grid1 grid 5 32 38
Grid1 grid 6 39 40
lbHead label 14 30
lb1 9 label 19 19
lb1 8 label 34 35
lb1 7 label 24 26
lb1 6 label 3 5
lb1 5 label 13 14
lb1 4 label 26 27
lb1 0 label 1 5
lb1 1 label 14 16
Image1 image 38 41
lb1 2 label 4 7
lb1 3 label 14 16
Table 5
Element term Element subscript Element type Table row Begin column End line
txt1 9 textbox 37 38
txt1 8 textbox 37 38
txt1 7 textbox 18 21
txt1 6 textbox 20 23
txt1 5 textbox 19 22
txt1 4 textbox 10 13
txt1 0 textbox 5 7
txt1 1 textbox 4 6
txt1 2 textbox 12 15
txt1 3 textbox 11 14
Grid1 grid 0 27 27
Grid1 grid 1 28 28
Grid1 grid 2 29 29
Grid1 grid 3 30 30
Grid1 grid 4 31 31
Grid1 grid 5 32 32
Grid1 grid 6 33 33
Grid1 grid 7 34 34
Grid1 grid 8 35 35
lbHead label 1 2
lb1 9 label 38 39
lb1 8 label 37 38
lb1 7 label 19 22
lb1 6 label 21 24
lb1 5 label 20 23
lb1 4 label 11 14
lb1 0 label 6 8
lb1 1 label 5 7
Image1 image 2 25
lb1 2 label 13 16
lb1 3 label 12 15
Table 6
Fig. 6 shows the process flow diagram of interface data output intent according to an embodiment of the invention.
As shown in Figure 6, interface data output intent according to an embodiment of the invention, can comprise the following steps: step 602, the information of acquisition interface element; Step 604, generates ranks partitioning standards parameter according to the information of described interface element; Step 606, the information of more described interface element and described ranks partitioning standards parameter, obtain the line information of each interface element; Step 608, derives the format information of target, exports described derivation target according to the information of described format information and described interface element according to described ranks partitioning standards optimum configurations.
The collection of interface element information parameter, need the table element considering multiple lines and multiple rows, the rational ranks partitioning standards parameter generated, can ensure that realizing high efficiency target derives, a good solution is provided for Winform interface ranksization being exported, and the parameter information produced in operational process, can be and realize the copying of interface, pastes, the operation such as the self-adaptation display at interface provides basis.
In technique scheme, preferably, described step 602 specifically comprises: travel through each described interface element, respectively the information of the information of the interface element of multiple lines and multiple rows and the single-row interface element of single file is saved to interface element information parameter table, the information of wherein said interface element comprises element term, element type, element upper left corner point coordinate and/or element lower right corner point coordinate; Adjusting coordinate in described interface element information parameter table and have the coordinate of the interface element of common factor, according to region shared by the interface element of described multiple lines and multiple rows is when deriving, adjusting the coordinate of respective interface element in described interface element information parameter table.
When occurring in the region of interface element to occur simultaneously, can the coordinate that the interface element occured simultaneously occurs be adjusted, to ensure accurate output interface element.
In technique scheme, preferably, described step 604 specifically comprises: extract the coordinate of the interface element in described interface element information parameter table and sort to the coordinate extracted; Remove the coordinate repeated, and using result as described ranks partitioning standards parameter, described ranks partitioning standards parameter is saved to ranks partitioning standards parameter list.
In technique scheme, preferably, described step 606 specifically comprises: for each described interface element, position according to the upper left corner point coordinate in described interface element information parameter table and lower right corner point coordinate in the ranks partitioning standards parameter in described ranks partitioning standards parameter list, determines the initial column information of described interface element, end column information and initial row information, termination row information.
In above-mentioned arbitrary technical scheme, preferably, described format information comprises the ranks number of described derivation target, ranks width and/or ranks height; Described step 608 specifically comprises: the information according to described interface element arranges Merge Cells, generate grand, style sheet and/or the script information of described derivation target according to described Merge Cells and described format information, export described derivation target based on grand, the style sheet of described derivation target and/or script information.
Pass through technique scheme, loosely organized interface element ranks can be outputted to Excel, Grid, HTML, by input need derive interface information, automatically complete the ranks of interface element are divided, ranks merge, export, realize a kind of What You See Is What You Get ranksization output.
The foregoing is only the preferred embodiments of the present invention, be not limited to the present invention, for a person skilled in the art, the present invention can have various modifications and variations.Within the spirit and principles in the present invention all, any amendment done, equivalent replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (8)

1. an interface data output unit, is characterized in that, comprising:
Collecting unit, for the information of acquisition interface element;
Ranks division unit, for generating ranks partitioning standards parameter according to the information of described interface element;
Processing unit, the information of more described interface element and described ranks partitioning standards parameter, obtain the line information of each interface element;
Lead-out unit, derives the format information of target, exports described derivation target according to the information of described format information and described interface element according to described ranks partitioning standards optimum configurations;
Wherein, described collecting unit comprises:
Traversal subelement, travel through each described interface element, respectively the information of the information of the interface element of multiple lines and multiple rows and the single-row interface element of single file is saved to interface element information parameter table, the information of wherein said interface element comprises element term, element type, element upper left corner point coordinate and/or element lower right corner point coordinate;
Adjustment subelement, adjusting coordinate in described interface element information parameter table has the coordinate of the interface element of common factor, according to region shared by the interface element of described multiple lines and multiple rows is when deriving, adjusts the coordinate of respective interface element in described interface element information parameter table.
2. interface data output unit according to claim 1, is characterized in that, described ranks division unit comprises:
Extract subelement, extract the coordinate of the interface element in described interface element information parameter table and the coordinate extracted is sorted;
Get rid of subelement, remove the coordinate repeated, and using result as described ranks partitioning standards parameter, described ranks partitioning standards parameter is saved to ranks partitioning standards parameter list.
3. interface data output unit according to claim 2, it is characterized in that, described processing unit is specifically for for each described interface element, position according to the upper left corner point coordinate in described interface element information parameter table and lower right corner point coordinate in the ranks partitioning standards parameter in described ranks partitioning standards parameter list, determines the initial column information of described interface element, end column information and initial row information, termination row information.
4. interface data output unit according to any one of claim 1 to 3, is characterized in that, described format information comprises the ranks number of described derivation target, ranks width and/or ranks height;
Described lead-out unit comprises: generate subelement, for arranging Merge Cells according to the information of described interface element, generate grand, style sheet and/or the script information of described derivation target according to described Merge Cells and described format information, export described derivation target based on grand, the style sheet of described derivation target and/or script information.
5. an interface data output intent, is characterized in that, comprising:
Step 602, the information of acquisition interface element;
Step 604, generates ranks partitioning standards parameter according to the information of described interface element;
Step 606, the information of more described interface element and described ranks partitioning standards parameter, obtain the line information of each interface element;
Step 608, derives the format information of target, exports described derivation target according to the information of described format information and described interface element according to described ranks partitioning standards optimum configurations;
Wherein, described step 602 specifically comprises:
Travel through each described interface element, respectively the information of the information of the interface element of multiple lines and multiple rows and the single-row interface element of single file is saved to interface element information parameter table, the information of wherein said interface element comprises element term, element type, element upper left corner point coordinate and/or element lower right corner point coordinate;
Adjusting coordinate in described interface element information parameter table and have the coordinate of the interface element of common factor, according to region shared by the interface element of described multiple lines and multiple rows is when deriving, adjusting the coordinate of respective interface element in described interface element information parameter table.
6. interface data output intent according to claim 5, is characterized in that, described step 604 specifically comprises:
Extract the coordinate of the interface element in described interface element information parameter table and the coordinate extracted is sorted;
Remove the coordinate repeated, and using result as described ranks partitioning standards parameter, described ranks partitioning standards parameter is saved to ranks partitioning standards parameter list.
7. interface data output intent according to claim 6, is characterized in that, described step 606 specifically comprises:
For each described interface element, position according to the upper left corner point coordinate in described interface element information parameter table and lower right corner point coordinate in the ranks partitioning standards parameter in described ranks partitioning standards parameter list, determines the initial column information of described interface element, end column information and initial row information, termination row information.
8. the interface data output intent according to any one of claim 5 to 7, is characterized in that, described format information comprises the ranks number of described derivation target, ranks width and/or ranks height;
Described step 608 specifically comprises: the information according to described interface element arranges Merge Cells, generate grand, style sheet and/or the script information of described derivation target according to described Merge Cells and described format information, export described derivation target based on grand, the style sheet of described derivation target and/or script information.
CN201310065316.4A 2013-03-01 2013-03-01 Interface data output unit and interface data output intent Active CN103092630B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310065316.4A CN103092630B (en) 2013-03-01 2013-03-01 Interface data output unit and interface data output intent

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310065316.4A CN103092630B (en) 2013-03-01 2013-03-01 Interface data output unit and interface data output intent

Publications (2)

Publication Number Publication Date
CN103092630A CN103092630A (en) 2013-05-08
CN103092630B true CN103092630B (en) 2015-12-23

Family

ID=48205241

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310065316.4A Active CN103092630B (en) 2013-03-01 2013-03-01 Interface data output unit and interface data output intent

Country Status (1)

Country Link
CN (1) CN103092630B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105512044B (en) * 2015-12-25 2018-01-09 北京奇虎科技有限公司 Update method and system for the library of object of keyword driving test
CN109829147B (en) * 2019-01-31 2023-06-30 恒生电子股份有限公司 Report export method and device
CN114077466A (en) * 2020-08-12 2022-02-22 北京智邦国际软件技术有限公司 Automatic layout algorithm for multiple rows and multiple columns of fields in Web interface form

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101661512A (en) * 2009-09-25 2010-03-03 万斌 System and method for identifying traditional form information and establishing corresponding Web form
CN102722475A (en) * 2012-05-09 2012-10-10 深圳市万兴软件有限公司 Method for converting form in portable document format (PDF) document into Excel form

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8634645B2 (en) * 2008-03-28 2014-01-21 Smart Technologies Ulc Method and tool for recognizing a hand-drawn table

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101661512A (en) * 2009-09-25 2010-03-03 万斌 System and method for identifying traditional form information and establishing corresponding Web form
CN102722475A (en) * 2012-05-09 2012-10-10 深圳市万兴软件有限公司 Method for converting form in portable document format (PDF) document into Excel form

Also Published As

Publication number Publication date
CN103092630A (en) 2013-05-08

Similar Documents

Publication Publication Date Title
CN105447336B (en) Analysis of Microbial Diversity system based on biological cloud platform
CN103092630B (en) Interface data output unit and interface data output intent
CN101876967B (en) Method for generating PDF text paragraphs
CN101968783B (en) Method and device of converting XML document into Excel document
CN102737108B (en) Method and device for processing flow diagram
CN104573131B (en) Generate the method and terminal installation of item detail page data
CN103279454A (en) Document automatic generation method, device and system
CN103064685A (en) Method and device for configuring webpage in modularization mode
CN104797084B (en) The method and device of printed circuit board layout
CN107391652A (en) A kind of templating form interface defines system and method
CN104765939B (en) Pickup conversion DWG form electric diagram method and devices
CN104615725A (en) Web-based online self-defined reporting method
CN105760172A (en) Statement generation method based on itext
CN109492196B (en) System and method for extracting Excel table data
CN103856969A (en) Method, device and system for counting network element characteristic parameters
CN110991152A (en) Method and system for step-by-step data acquisition and automatic summarization
CN106919548A (en) A kind of text intelligent arranging methods of exhibiting and device
CN110119503B (en) Excel-based planning project multi-class data report and format editing method
CN111078014A (en) Multidimensional data acquisition and application method and system
CN105302567A (en) Device and method for dynamically generating report template
CN105335159A (en) Anychart chart display method
CN104601732A (en) Method for merging multichannel data quickly
CN102103584B (en) Method and system for editing table by utilizing computer
CN103605640A (en) Form adaption method and device
CN105701071B (en) A kind of document header footer method of adjustment and device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant