CN103092630A - Interface data output device and interface data output method - Google Patents

Interface data output device and interface data output method Download PDF

Info

Publication number
CN103092630A
CN103092630A CN2013100653164A CN201310065316A CN103092630A CN 103092630 A CN103092630 A CN 103092630A CN 2013100653164 A CN2013100653164 A CN 2013100653164A CN 201310065316 A CN201310065316 A CN 201310065316A CN 103092630 A CN103092630 A CN 103092630A
Authority
CN
China
Prior art keywords
information
interface element
ranks
parameter
interface
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.)
Granted
Application number
CN2013100653164A
Other languages
Chinese (zh)
Other versions
CN103092630B (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

Images

Landscapes

  • User Interface Of Digital Computer (AREA)

Abstract

The invention provides an interface data output device and an interface data output method. The interface data output device comprises a collection unit, a rank dividing unit, a processing unit and an export unit, wherein the collection unit is sued for collecting information of interface elements; the rank dividing unit is used for generating reference parameters for dividing ranks according to the information of the interface elements; the processing unit is used for comparing the information of the interface elements with the reference parameters for dividing the ranks to obtain rank information of each interface element; the export unit sets form information of an exported target according to the reference parameters for dividing the ranks and outputs the exported target according to the form information and the information of the interface elements. By means of the technical scheme, the interface elements in a loose structure can be ranked and output to Excel, Grid and hypertext markup language (HTML), when the interface information which needs to be exported is input, rank division, rank combination and input of the interface elements can be achieved automatically, and ranked output which is obtained as is seen is achieved.

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
The Table structuring generally can not passed through as the Html interface element in the WinForm interface, a loosely organized WinForm interface, the self-defined document that for example provides in some management softwares, its interface element size and distribution differ and intersect, the concept that there is no row and column can not directly output to the office software as Excel; And the derivation form that carries can not be by general office software identification, and interoperability is poor; If a device can be arranged, loosely organized interfacial structure can be output into the discernible output of other softwares by the universal standard, so just can be the operations such as the user realizes in other software inediting data, copies, stickup, increased undoubtedly the ease for use of this product, and with the interoperability of other softwares.
Therefore, need a kind of interface data export technique, can be with loosely organized interface element ranks output.
Summary of the invention
The present invention just is being based on the problems referred to above, has proposed a kind of new interface data export technique, can be with loosely organized interface element ranks output.
In view of this, according to an aspect of the present invention, provide a kind of interface data output unit, having comprised: collecting unit, for the information of acquisition interface element; The ranks division unit is used for dividing according to parameter according to the Information generation ranks of described interface element; Processing unit, the information of more described interface element and described ranks are divided according to parameter, obtain the ranks information of each interface element; Lead-out unit is divided according to parameter according to described ranks the format information of deriving target is set, according to the described derivation target of the information output of described format information and described interface element.
The collection of interface element information parameter, need to consider the table element of multiple lines and multiple rows, the rational ranks that generate are divided according to parameter, can guarantee to realize that high efficiency target derives, for providing a good solution with Winform interface ranks output, and the parameter information that produces in operational process can be the operations such as self-adaptation demonstration that realize the copying of interface, stickup, interface the basis is provided.
In technique scheme, preferably, described collecting unit comprises: the traversal subelement, travel through each described interface element, information with 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 respectively, and 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; Adjust subelement, adjusts the coordinate that coordinate in described interface element information parameter table has the interface element of common factor, the coordinate of respective interface element in described interface element information parameter table is adjusted in the shared zone according to the interface element of described multiple lines and multiple rows when the derivation.
When occuring to occur simultaneously in the zone of interface element, can adjust the coordinate of the interface element that occurs to occur simultaneously, to guarantee accurate output interface element.
In technique scheme, preferred, described ranks division unit comprises: extract subelement, extract the coordinate of the interface element in described interface element information parameter table and the coordinate that extracts is sorted; Get rid of subelement, remove the coordinate that repeats, and result is divided according to parameter as described ranks, described ranks division is saved to ranks according to parameter divides according to parameter list.
In technique scheme, preferably, described processing unit specifically is used for for each described interface element, divide according to the position in parameter according to the ranks in parameter list in described ranks division according to the upper left corner point coordinate in the described element parameter table of comparisons and lower right corner point coordinate, determine initial column information, end column information and initial row information, the termination row information of described interface element.
In above-mentioned arbitrary technical scheme, preferred, described format information comprises ranks number, ranks width and/or the ranks height of described derivation target; Described lead-out unit comprises: generate subelement, be used for according to the information of described interface element, Merge Cells being set, generate grand, style sheet and/or the script information of described derivation target according to described Merge Cells and described format information, based on grand, style sheet and/or the described derivation target of script information output of described derivation target.
Pass through technique scheme, can realize a kind of ranks output unit of interface, can be with the output of structureless window elements implementation structure by this device, as the User Defined document being exported to the structured documents such as Excel, Html, xml, quoting of extending is also the document after editor can be written into or realize paste operation etc. again, with the ease for use of increase software product and the interoperability between office software.
According to another aspect of the invention, also provide a kind of interface data output intent, having comprised: step 602, the information of acquisition interface element; Step 604 is divided according to parameter according to the Information generation ranks of described interface element; Step 606, the information of more described interface element and described ranks are divided according to parameter, obtain the ranks information of each interface element; Step 608 is divided according to parameter according to described ranks the format information of deriving target is set, according to the described derivation target of the information output of described format information and described interface element.
The collection of interface element information parameter, need to consider the table element of multiple lines and multiple rows, the rational ranks that generate are divided according to parameter, can guarantee to realize that high efficiency target derives, for providing a good solution with Winform interface ranks output, and the parameter information that produces in operational process can be the operations such as self-adaptation demonstration that realize the copying of interface, stickup, interface the basis is provided.
In technique scheme, preferably, described step 602 specifically comprises: travel through each described interface element, information with 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 respectively, and 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 has the coordinate of the interface element of common factor, according to the shared zone of interface element when deriving of described multiple lines and multiple rows, adjusts the coordinate of respective interface element in described interface element information parameter table.
When occuring to occur simultaneously in the zone of interface element, can adjust the coordinate of the interface element that occurs to occur simultaneously, to guarantee accurate output interface element.
In technique scheme, preferred, described step 604 specifically comprises: extract the coordinate of the interface element in described interface element information parameter table and the coordinate that extracts is sorted; Remove the coordinate that repeats, and result is divided according to parameter as described ranks, described ranks are divided according to parameter be saved to the ranks division according to parameter list.
In technique scheme, preferably, described step 606 specifically comprises: for each described interface element, divide according to the position in parameter according to the ranks in parameter list in described ranks division according to the upper left corner point coordinate in the described element parameter table of comparisons and lower right corner point coordinate, determine initial column information, end column information and initial row information, the termination row information of described interface element.
In above-mentioned arbitrary technical scheme, preferred, described format information comprises ranks number, ranks width and/or the ranks height of described derivation target; Described step 608 specifically comprises: according to the information of described interface element, Merge Cells is set, generate grand, style sheet and/or the script information of described derivation target according to described Merge Cells and described format information, based on grand, style sheet and/or the described derivation target of script information output of described derivation target.
Pass through technique scheme, can realize a kind of ranks output intent of interface, can be with the output of structureless window elements implementation structure by this device, as the User Defined document being exported to the structured documents such as Excel, Html, xml, quoting of extending is also the document after editor can be written into or realize paste operation etc. again, with the ease for use of increase software product and the interoperability between office software.
Description of drawings
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 that need export according to an embodiment of the invention processing;
Fig. 5 shows the interface ranks output map for surface chart shown in Figure 4;
Fig. 6 shows the process flow diagram of interface data output intent according to an embodiment of the invention.
Embodiment
In order more clearly to 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.Need to prove, in the situation that do not conflict, the application's embodiment and the feature in embodiment can make up mutually.
A lot of details have been set forth 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 subjected to 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, the 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 is used for dividing according to parameter according to the Information generation ranks of described interface element; Processing unit 106, the information of more described interface element and described ranks are divided according to parameter, obtain the ranks information of each interface element; Lead-out unit 108 is divided according to parameter according to described ranks the format information of deriving target is set, according to the described derivation target of the information output of described format information and described interface element.
The collection of interface element information parameter, need to consider the table element of multiple lines and multiple rows, the rational ranks that generate are divided according to parameter, can guarantee to realize that high efficiency target derives, for providing a good solution with Winform interface ranks output, and the parameter information that produces in operational process can be the operations such as self-adaptation demonstration that realize the copying of interface, stickup, interface the basis is provided.
In technique scheme, preferably, described collecting unit 102 comprises: traversal subelement 1022, travel through each described interface element, information with 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 respectively, and 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; Adjust subelement 1024, adjusting coordinate in described interface element information parameter table has the coordinate of the interface element of common factor, according to the shared zone of interface element when deriving of described multiple lines and multiple rows, adjust the coordinate of respective interface element in described interface element information parameter table.
When occuring to occur simultaneously in the zone of interface element, can adjust the coordinate of the interface element that occurs to occur simultaneously, to guarantee accurate output interface element.
In technique scheme, preferred, described ranks division unit 104 comprises: extract subelement 1042, extract the coordinate of the interface element in described interface element information parameter table and the coordinate that extracts is sorted; Get rid of subelement 1044, remove the coordinate that repeats, and result is divided according to parameter as described ranks, described ranks division is saved to ranks according to parameter divides according to parameter list.
In technique scheme, preferably, described processing unit 106 specifically is used for for each described interface element, divide according to the position in parameter according to the ranks in parameter list in described ranks division according to the upper left corner point coordinate in the described element parameter table of comparisons and lower right corner point coordinate, determine initial column information, end column information and initial row information, the termination row information of described interface element.
In above-mentioned arbitrary technical scheme, preferred, described format information comprises ranks number, ranks width and/or the ranks height of described derivation target; Described lead-out unit 108 comprises: generate subelement 1082, be used for according to the information of described interface element, Merge Cells being set, generate grand, style sheet and/or the script information of described derivation target according to described Merge Cells and described format information, based on grand, style sheet and/or the described derivation target of script information output of described derivation target.
Pass through technique scheme, can realize a kind of ranks output unit of interface, can be with the output of structureless window elements implementation structure by this device, as the User Defined document being exported to the structured documents such as Excel, Html, xml, quoting of extending is also the document after editor can be written into or realize paste operation etc. again, with the ease for use of increase software product and the interoperability between office software.
Fig. 2 shows the process flow diagram of interface data output intent according to an embodiment of the invention.
Step 202, the interface element of the interface chamber that traversal is imported into obtains each element information and is saved in parameter list; Step 204, information extraction from parameter list generates respectively the coordinate information of row and column, and is saved in the ranks division according to parameter; Step 206, element information parameter list comparison ranks are divided according to parameter list, generate the initial row columns and rows row pooling information of each interface element; Step 208, generating target according to the element information parameter list derives.
Wherein, step 202 specifically can comprise: the traversal interface element, and respectively with the element of multiple lines and multiple rows and the element information of walking alone and all being listed as: 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 the element information parameter list; In processing element information parameter table, the element interface zone has the element of common factor, adjusts the forward element lower right corner point coordinate in position, makes it with right side and below element without common factor; According to the shared zone of actual derivation, multiple lines and multiple rows element right side, the point coordinate of multiple lines and multiple rows element right side and below element in adjusting element information parameter list.
Wherein, described step 604 specifically can comprise: extract x in the element information parameter list 1, x 2Point coordinate also carries out quicksort to the coordinate that extracts, and removes and repeats point coordinate, result is saved in row divides according in parameter list; Extract the y in the 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 606 specifically can comprise: with the x in the element parameter table of comparisons 1Point coordinate contrast row are divided parameter list, draw the initial row of this element; With the x in the element parameter table of comparisons 2Point coordinate contrast row are divided according to parameter list, draw the end column of this element; In like manner draw initial row and the termination row information of element.
Described step 608 specifically can comprise: divide ranks number, ranks width, the elevation information of deriving according to the parameter list Offered target according to ranks, according to the element information table, Merge Cells is set, generate based on these parameters grand or style sheet or the relevant script information of control that target derives, derive 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 that needs output from caller, also can be as database or the file data of having preserved interface information.
In step 304, the traversal interface element is respectively with the element of multiple lines and multiple rows and the element information of walking alone and all being listed as: 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 the element information parameter list.
In step 306, in processing element information parameter table, the element interface zone has the element of common factor, adjusts the forward element lower right corner point coordinate in position, makes it with right side and below element without common factor.
In step 308, according to the shared zone of actual derivation, multiple lines and multiple rows element right side, the point coordinate of multiple lines and multiple rows element right side and below element in the adjusting parameter list.
In step 310, extract x in the element information parameter list 1, x 2Point coordinate carries out quicksort, removes and repeats point coordinate, and result is saved in row and divides the parameter table of comparisons; Extract y in the element information parameter list 1, y 2Point coordinate carries out quicksort, removes and repeats point coordinate, and result is saved in row and divides according to parameter list.
In step 312, with x in the element parameter table of comparisons 1Point coordinate contrast row are divided according to parameter list, draw the initial row of this element; With x in the element parameter table of comparisons 2Point coordinate contrast row are divided according to parameter list, draw the end column of this element; In like manner draw initial row and the termination row information of element.
In step 314, divide ranks number, ranks width, the elevation information of deriving according to the parameter list Offered target according to ranks, according to interface element information parameter table, Merge Cells is set, generates grand or style sheet or the relevant script information of control that target derives, derive element content.
Based on interface element output intent of the present invention, to interface procession output shown in Figure 4, the target accurately that obtains as shown in Figure 5 derives.
For median surface, interface element shown in Figure 4, the crosswise spots coordinate information of collection and vertical point coordinate information as shown in following table 1 and table 2, namely obtain interface element information parameter table respectively.
? 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
Obtaining row division as shown in table 3 below according to the program element information in interface element information parameter table divides according to parameter list according to parameter list and row as shown in table 4 below.
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
Generate the horizontal information parameter table of element as shown in table 5 below and element bus message parameter list as shown in table 6 below according to interface element information parameter table and ranks division according to parameter list.
Element term The 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 The 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, the interface data output intent, can comprise the following steps: step 602, the information of acquisition interface element according to an embodiment of the invention; Step 604 is divided according to parameter according to the Information generation ranks of described interface element; Step 606, the information of more described interface element and described ranks are divided according to parameter, obtain the ranks information of each interface element; Step 608 is divided according to parameter according to described ranks the format information of deriving target is set, according to the described derivation target of the information output of described format information and described interface element.
The collection of interface element information parameter, need to consider the table element of multiple lines and multiple rows, the rational ranks that generate are divided according to parameter, can guarantee to realize that high efficiency target derives, for providing a good solution with Winform interface ranks output, and the parameter information that produces in operational process can be the operations such as self-adaptation demonstration that realize the copying of interface, stickup, interface the basis is provided.
In technique scheme, preferably, described step 602 specifically comprises: travel through each described interface element, information with 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 respectively, and 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 has the coordinate of the interface element of common factor, according to the shared zone of interface element when deriving of described multiple lines and multiple rows, adjusts the coordinate of respective interface element in described interface element information parameter table.
When occuring to occur simultaneously in the zone of interface element, can adjust the coordinate of the interface element that occurs to occur simultaneously, to guarantee accurate output interface element.
In technique scheme, preferred, described step 604 specifically comprises: extract the coordinate of the interface element in described interface element information parameter table and the coordinate that extracts is sorted; Remove the coordinate that repeats, and result is divided according to parameter as described ranks, described ranks are divided according to parameter be saved to the ranks division according to parameter list.
In technique scheme, preferably, described step 606 specifically comprises: for each described interface element, divide according to the position in parameter according to the ranks in parameter list in described ranks division according to the upper left corner point coordinate in the described element parameter table of comparisons and lower right corner point coordinate, determine initial column information, end column information and initial row information, the termination row information of described interface element.
In above-mentioned arbitrary technical scheme, preferred, described format information comprises ranks number, ranks width and/or the ranks height of described derivation target; Described step 608 specifically comprises: according to the information of described interface element, Merge Cells is set, generate grand, style sheet and/or the script information of described derivation target according to described Merge Cells and described format information, based on grand, style sheet and/or the described derivation target of script information output of described derivation target.
Pass through technique scheme, loosely organized interface element ranks can be outputed to Excel, Grid, HTML, the interface information that needs derivation by input, ranks division, the ranks automatically completed interface element merge, export, and realize a kind of ranks output of What You See Is What You Get.
The above is only the preferred embodiments of the present invention, is not limited to the present invention, and 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 modification of doing, be equal to replacement, improvement etc., within all should being included in protection scope of the present invention.

Claims (10)

1. an interface data output unit, is characterized in that, comprising:
Collecting unit is for the information of acquisition interface element;
The ranks division unit is used for dividing according to parameter according to the Information generation ranks of described interface element;
Processing unit, the information of more described interface element and described ranks are divided according to parameter, obtain the ranks information of each interface element;
Lead-out unit is divided according to parameter according to described ranks the format information of deriving target is set, according to the described derivation target of the information output of described format information and described interface element.
2. interface data output unit according to claim 1, is characterized in that, described collecting unit comprises:
The traversal subelement, travel through each described interface element, information with 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 respectively, and 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;
Adjust subelement, adjusts the coordinate that coordinate in described interface element information parameter table has the interface element of common factor, the coordinate of respective interface element in described interface element information parameter table is adjusted in the shared zone according to the interface element of described multiple lines and multiple rows when the derivation.
3. interface data output unit according to claim 2, 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 that extracts is sorted;
Get rid of subelement, remove the coordinate that repeats, and result is divided according to parameter as described ranks, described ranks division is saved to ranks according to parameter divides according to parameter list.
4. interface data output unit according to claim 3, it is characterized in that, described processing unit specifically is used for for each described interface element, divide according to the position in parameter according to the ranks in parameter list in described ranks division according to the upper left corner point coordinate in the described element parameter table of comparisons and lower right corner point coordinate, determine initial column information, end column information and initial row information, the termination row information of described interface element.
5. the described interface data output unit of any one according to claim 1 to 4, is characterized in that, described format information comprises ranks number, ranks width and/or the ranks height of described derivation target;
Described lead-out unit comprises: generate subelement, be used for according to the information of described interface element, Merge Cells being set, generate grand, style sheet and/or the script information of described derivation target according to described Merge Cells and described format information, based on grand, style sheet and/or the described derivation target of script information output of described derivation target.
6. an interface data output intent, is characterized in that, comprising:
Step 602, the information of acquisition interface element;
Step 604 is divided according to parameter according to the Information generation ranks of described interface element;
Step 606, the information of more described interface element and described ranks are divided according to parameter, obtain the ranks information of each interface element;
Step 608 is divided according to parameter according to described ranks the format information of deriving target is set, according to the described derivation target of the information output of described format information and described interface element.
7. interface data output intent according to claim 6, is characterized in that, described step 602 specifically comprises:
Travel through each described interface element, information with 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 respectively, and 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 has the coordinate of the interface element of common factor, according to the shared zone of interface element when deriving of described multiple lines and multiple rows, adjusts the coordinate of respective interface element in described interface element information parameter table.
8. interface data output intent according to claim 7, 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 that extracts is sorted;
Remove the coordinate that repeats, and result is divided according to parameter as described ranks, described ranks are divided according to parameter be saved to the ranks division according to parameter list.
9. interface data output intent according to claim 8, is characterized in that, described step 606 specifically comprises:
For each described interface element, divide according to the position in parameter according to the ranks in parameter list in described ranks division according to the upper left corner point coordinate in the described element parameter table of comparisons and lower right corner point coordinate, determine initial column information, end column information and initial row information, the termination row information of described interface element.
10. the described interface data output intent of any one according to claim 6 to 9, is characterized in that, described format information comprises ranks number, ranks width and/or the ranks height of described derivation target;
Described step 608 specifically comprises: according to the information of described interface element, Merge Cells is set, generate grand, style sheet and/or the script information of described derivation target according to described Merge Cells and described format information, based on grand, style sheet and/or the described derivation target of script information output of described derivation target.
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 true CN103092630A (en) 2013-05-08
CN103092630B 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)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105512044A (en) * 2015-12-25 2016-04-20 北京奇虎科技有限公司 Method and system for updating object base used for keyword drive test
CN109829147A (en) * 2019-01-31 2019-05-31 恒生电子股份有限公司 Report deriving 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 (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090245645A1 (en) * 2008-03-28 2009-10-01 Smart Technologies Inc. Method and tool for recognizing a hand-drawn table
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

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090245645A1 (en) * 2008-03-28 2009-10-01 Smart Technologies Inc. Method and tool for recognizing a hand-drawn table
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

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105512044A (en) * 2015-12-25 2016-04-20 北京奇虎科技有限公司 Method and system for updating object base used for keyword drive test
CN105512044B (en) * 2015-12-25 2018-01-09 北京奇虎科技有限公司 Update method and system for the library of object of keyword driving test
CN109829147A (en) * 2019-01-31 2019-05-31 恒生电子股份有限公司 Report deriving method and device
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

Also Published As

Publication number Publication date
CN103092630B (en) 2015-12-23

Similar Documents

Publication Publication Date Title
CN101968783B (en) Method and device of converting XML document into Excel document
CN104572084B (en) User interface generation and data distributing method, device in card business
CN105045775A (en) Method and apparatus for generating Excel document in designated format
CN104714766A (en) Method for direct printing in WEB report browser
CN111881662A (en) Form generation method, device, processing equipment and storage medium
CN104615725A (en) Web-based online self-defined reporting method
CN103092630A (en) Interface data output device and interface data output method
CN103455473A (en) WEB form definition and application method based on hypertext markup language (HTML)
CN104809246A (en) Method and device for processing charging data
CN104850623A (en) Dynamic extension method and system for multidimensional data analysis model
CN106339381B (en) Information processing method and device
CN108958735A (en) A kind of UI reconstructing method of terminal assemblyization application
CN113591827A (en) Text image processing method and device, electronic equipment and readable storage medium
CN106919548A (en) A kind of text intelligent arranging methods of exhibiting and device
CN104714983A (en) Generating method and device for distributed indexes
CN104020967A (en) WEB batch-printing method based on fully-domestic CPU and OS and commonly used for multiple browsers
CN104317600B (en) A kind of configurable curve drawing generating method and system
CN103150391A (en) General database table webpage displaying method based on configuration files
CN103761395A (en) Method for generating dynamic report of virtual terminal of intelligent substation
CN110457669A (en) The sheet disposal method and system based on B/S framework for facilitating service logic to control
CN105338104A (en) Business request responding method, analysis method and analysis system
CN103605640A (en) Form adaption method and device
CN105701071B (en) A kind of document header footer method of adjustment and device
CN107832282A (en) A kind of implementation method for defining Visual Report Forms
CN103942187A (en) Page makeup method 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