Movatterモバイル変換


[0]ホーム

URL:


CN101446938A - Method for generating table and processing device thereof - Google Patents

Method for generating table and processing device thereof
Download PDF

Info

Publication number
CN101446938A
CN101446938ACNA2008101827745ACN200810182774ACN101446938ACN 101446938 ACN101446938 ACN 101446938ACN A2008101827745 ACNA2008101827745 ACN A2008101827745ACN 200810182774 ACN200810182774 ACN 200810182774ACN 101446938 ACN101446938 ACN 101446938A
Authority
CN
China
Prior art keywords
markup language
gauge outfit
data
html
volume data
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
CNA2008101827745A
Other languages
Chinese (zh)
Other versions
CN101446938B (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.)
Kingdee Software China Co Ltd
Original Assignee
Kingdee Software China 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 Kingdee Software China Co LtdfiledCriticalKingdee Software China Co Ltd
Priority to CN2008101827745ApriorityCriticalpatent/CN101446938B/en
Publication of CN101446938ApublicationCriticalpatent/CN101446938A/en
Application grantedgrantedCritical
Publication of CN101446938BpublicationCriticalpatent/CN101446938B/en
Activelegal-statusCriticalCurrent
Anticipated expirationlegal-statusCritical

Links

Images

Landscapes

Abstract

The embodiment of the invention discloses a method for generating a table and a processing device thereof. The method for generating the table comprises the following steps: table head data and table body data described by a extensible markup language are obtained and are analyzed into a hypertext markup language form by a java script language; a generation command is called to obtain the table head data and the table body data that are analyzed into the hypertext marking language form and the table is generated according to the table head data and the table body data that are analyzed into the hypertext marking language form; the generated table is displayed. Correspondingly, the processing device is also provided by the embodiment of the invention. The method for generating the table provided by the embodiment of the invention can be operated cross an operating system and a browser. Therefore, the adaptability of the method for generating the table is stronger.

Description

Generate the method and the treating apparatus of form
Technical field
The present invention relates to field of computer technology, specifically relate to a kind of method and treating apparatus that generates form.
Background technology
In webpage WEB exploitation, the application that can edit form is very extensive.What is called can be edited form, that is to say various operations such as form can increase, modification.The form of editing of the prior art mainly adopts the ActiveX technology to generate.The ActiveX technology is based on a kind of technology of Window operating system, is to be constructed by the The Component Object Model (COM, Component Object Model) of the Microsoft of Microsoft to form.Based on These characteristics, the ActiveX technology is generally only used under Window operating system, and in other operating systems, generally can not support to use.Outbalance is the application of ActiveX control in the ActiveX technology.ActiveX control is a dynamic link library, is based on that COM operates.Because browser itself can not be carried out ActiveX control, therefore ActiveX control need be downloaded to this machine, Window operating system by this machine is called ActiveX control, could use ActiveX control that the various attributes of form are set, generate gauge outfit data and table volume data, generate with the table volume data according to the gauge outfit data again and can edit form.
In research and practice process to prior art, the inventor finds that there is following problem in prior art:
Prior art generates the method that can edit form, mainly be to adopt the ActiveX technology, and adopt this Technology Need download plug-in such as ActiveX control, and generally be applied to Window operating system, therefore more difficult cross operating system is operated, the browser-cross ability is also poor, thereby it is relatively poor to make that this generation can be edited the applicability of method of form.
Summary of the invention
The technical matters that the embodiment of the invention will solve provides a kind of method and treating apparatus that generates form, can cross operating system and the browser-cross operation, make that the method applicability of this generation form is stronger.
For solving the problems of the technologies described above, embodiment provided by the present invention is achieved through the following technical solutions:
The embodiment of the invention provides a kind of method that generates form, comprising:
Obtain the gauge outfit data and the table volume data that adopt extend markup language to describe, the gauge outfit data and the table volume data that will adopt extend markup language to describe by the Java script resolve to the HTML (Hypertext Markup Language) form;
Call and generate order and obtain described gauge outfit data and the table volume data that resolves to the HTML (Hypertext Markup Language) form, and generate form according to the gauge outfit data and the table volume data of the HTML (Hypertext Markup Language) form after the described parsing;
The form that shows described generation.
Preferably, comprise the head set of definition in the gauge outfit data that the described employing extend markup language that obtains is described;
Described gauge outfit data according to the HTML (Hypertext Markup Language) form after the described parsing comprise when generating form with the table volume data: a cell of the head of described definition being gathered correspondence is merged into a cell.
Preferably, described gauge outfit data according to the HTML (Hypertext Markup Language) form after the described parsing comprise when generating form with the table volume data: nested junior unit lattice in cell, and for the junior unit lattice are provided with the DIV label.
Preferably, the different attribute information that comprises definition in the gauge outfit data that the described employing extend markup language that obtains is described;
Described gauge outfit data according to the HTML (Hypertext Markup Language) form after the described parsing comprise when generating form with the table volume data: the different attribute information that is described definition generates control.
Comprise when preferably, described gauge outfit data according to the HTML (Hypertext Markup Language) form after the described parsing generate form with the table volume data: the mapping relations of set-point beating keyboard key and operating unit lattice.
Comprise when preferably, described gauge outfit data according to the HTML (Hypertext Markup Language) form after the described parsing generate form with the table volume data: for the operating unit lattice are provided with event command, for described table volume data is provided with the ordering order.
The embodiment of the invention provides a kind for the treatment of apparatus, comprising:
Resolution unit is used to obtain the gauge outfit data and the table volume data that adopt extend markup language to describe, and the gauge outfit data and the table volume data that will adopt extend markup language to describe by the Java script resolve to the HTML (Hypertext Markup Language) form;
Generation unit is used to call and generates order and obtain described gauge outfit data and the table volume data that resolves to the HTML (Hypertext Markup Language) form, and generates form according to the gauge outfit data and the table volume data of the HTML (Hypertext Markup Language) form after the described parsing;
Display unit is used to show the form of described generation.
Preferably, comprise the head set of definition in the gauge outfit data that described employing extend markup language is described;
Described generation unit comprises:
Order is provided with the unit, is used to be provided with generate order, comprises in the described generation order being provided with the indication that the corresponding cell of head set of described definition is merged into a cell;
Performance element, be used to call described generation order and obtain described gauge outfit data and the table volume data that resolves to the HTML (Hypertext Markup Language) form, and generating form according to the gauge outfit data of the HTML (Hypertext Markup Language) form after the described parsing and table volume data, the corresponding cell of head set with described definition when generating form is merged into a cell.
Preferably, described generation unit comprises:
Order is provided with the unit, is used to be provided with generate order, comprises in the described generation order being provided with nested junior unit lattice in cell, and the indication of DIV label is set for the junior unit lattice;
Performance element, be used to call described generation order and obtain described gauge outfit data and the table volume data that resolves to the HTML (Hypertext Markup Language) form, and generate form according to the gauge outfit data of the HTML (Hypertext Markup Language) form after the described parsing and table volume data, when generating form in cell nested junior unit lattice, for the junior unit lattice are provided with the DIV label.
Preferably, the different attribute information that comprises definition in the gauge outfit data that described employing extend markup language is described;
Described generation unit comprises:
Order is provided with the unit, is used to be provided with generate order, comprises in the described generation order that the different attribute information that promising described definition is set generates the indication of control;
Performance element, be used to call described generation order and obtain described gauge outfit data and the table volume data that resolves to the HTML (Hypertext Markup Language) form, and generate form according to the gauge outfit data of the HTML (Hypertext Markup Language) form after the described parsing and table volume data, be that the different attribute information of described definition generates control when generating form.
Technique scheme as can be seen, embodiment of the invention technical scheme is to obtain gauge outfit data and the table volume data that adopts extend markup language to describe, and be gauge outfit data and table volume data to be resolved to the HTML (Hypertext Markup Language) form by the Java script, and then call and generate order and generate form according to the gauge outfit data and the table volume data that resolve to behind the HTML (Hypertext Markup Language) form, and the WEB webpage mainly is to adopt HTML (Hypertext Markup Language), the Java script also is to be embedded in the HTML (Hypertext Markup Language), therefore do not need download plug-in just can in webpage, carry out, in addition in any operating system, architecture platform, browser execution all be HTML (Hypertext Markup Language), therefore can cross operating system, platform and browser are operated, thereby applicability improves greatly.
Description of drawings
In order to be illustrated more clearly in the embodiment of the invention or technical scheme of the prior art, to do to introduce simply to the accompanying drawing of required use in embodiment or the description of the Prior Art below, apparently, accompanying drawing in describing below only is some embodiments of the present invention, for those of ordinary skills, under the prerequisite of not paying creative work, can also obtain other accompanying drawing according to these accompanying drawings.
Fig. 1 is that the embodiment of the invention one generates the tableaux method process flow diagram;
Fig. 2 is that the embodiment of the invention two generates the tableaux method process flow diagram;
Fig. 3 is that the embodiment of the invention drags the cell synoptic diagram;
Fig. 4 is an embodiment of the invention treating apparatus structural representation.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the invention, the technical scheme in the embodiment of the invention is clearly and completely described, obviously, described embodiment only is the present invention's part embodiment, rather than whole embodiment.Based on the embodiment among the present invention, those of ordinary skills belong to the scope of protection of the invention not making the every other embodiment that is obtained under the creative work prerequisite.
The embodiment of the invention provides a kind of method that generates form, can cross operating system and the browser-cross operation, make that the method applicability of this generation form is stronger.
The embodiment of the invention mainly be adopt Dynamic Hyper Text Makeup Language (DHTML, DynamicHTML)+(JS, JavaScript) technology realizes generating form to the Java script.DHTML is to create dynamic web content by waiting in conjunction with HTML, user side script (Client Side Script, for example JavaScript), cascading style sheets and document object model.JS is a kind of script (Script) language, and it is directly write code in the html document, just compiles when browser reads code, carries out.JS can support multiple browser.
Seeing also Fig. 1, is that the embodiment of the invention one generates the tableaux method process flow diagram, comprises step:
Step 101, obtain the gauge outfit data and the table volume data that adopt extend markup language to describe, will adopt the gauge outfit data that extend markup language describes and show volume data by the Java script to resolve to the HTML (Hypertext Markup Language) form;
In the embodiment of the invention, what obtain is gauge outfit data and the table volume data that adopts extend markup language to describe.Extend markup language is a kind of extendible technology, can be cited in different operating system, architecture platform and browser, and much language is all supported extend markup language is discerned and resolved, so extendability is strong.
In this step, because need in webpage, use, so obtain the gauge outfit data and the table volume data that adopt extend markup language to describe earlier, the gauge outfit data and the table volume data that will adopt extend markup language to describe by the Java script resolves to the HTML (Hypertext Markup Language) form again, and the content after the parsing just can be used as gauge outfit data and the table volume data that can edit form.
Step 102, call and generate order and obtain described gauge outfit data and the table volume data that resolves to the HTML (Hypertext Markup Language) form, and generate form according to the gauge outfit data and the table volume data of the HTML (Hypertext Markup Language) form after the described parsing;
After step will adopt the gauge outfit data of extend markup language description and show volume data and resolve to the HTML (Hypertext Markup Language) form in front, this step is called and is generated order and obtain described gauge outfit data and the table volume data that resolves to the HTML (Hypertext Markup Language) form, and generates form according to the gauge outfit data and the table volume data of the HTML (Hypertext Markup Language) form after the described parsing.
When the gauge outfit data according to the HTML (Hypertext Markup Language) form after the described parsing generate form with the table volume data, comprising:
When in the gauge outfit data, comprising the head set of definition, the head of described definition is gathered corresponding cell be merged into a cell.Like this, just can form the multilist header structure.
Nested junior unit lattice in cell are for the junior unit lattice are provided with the DIV label.Like this, just can be so that cell can drag, and can be that the part row, column is fixed, the part row, column can drag according to scroll bar.
When in the gauge outfit data, comprising the different attribute information of definition, be the different attribute information generation control of described definition.Like this, just can generate various different controls, comprise basic control or complicated control etc.
The mapping relations of set-point beating keyboard key and operating unit lattice.Like this, just can support the full keyboard operation, make the interface more friendly.
For the operating unit lattice are provided with event command, for described table volume data is provided with the ordering order.Like this, can more convenient user use.
The form of step 103, the described generation of demonstration.
After generating form, show the form of described generation.
From embodiment one as can be seen, the embodiment of the invention is to obtain gauge outfit data and the table volume data that adopts extend markup language to describe, and be gauge outfit data and table volume data to be resolved to the HTML (Hypertext Markup Language) form by the Java script, and then call and generate order and generate form according to the gauge outfit data and the table volume data that resolve to behind the HTML (Hypertext Markup Language) form, and the WEB webpage mainly is to adopt HTML (Hypertext Markup Language), the Java script also is to be embedded in the HTML (Hypertext Markup Language), therefore do not need download plug-in just can in webpage, carry out, in addition in any operating system, architecture platform, browser execution all be HTML (Hypertext Markup Language), therefore can cross operating system, platform and browser are operated, thereby applicability improves greatly.
Seeing also Fig. 2, is that the embodiment of the invention two generates the tableaux method process flow diagram, and embodiment two compares with embodiment one, describes embodiment of the invention technical scheme more in detail particularly.
As shown in Figure 2, comprise step:
Step 201, the gauge outfit data of obtaining the description of employing extend markup language and table volume data;
In the embodiment of the invention, gauge outfit data of obtaining and table volume data are to adopt extend markup language (XML, eXtensible Markup Language) language to describe.
The gauge outfit data mainly refer to the descriptor of every row of form.The gauge outfit data of the embodiment of the invention are to describe the definition information of each row of form by XML, comprising: whether the title of row, row are whether the control type, row of alignment direction, the row of width, the row of the title hiding, be listed as, row is read-only, the default value that is listed as etc.
The table volume data mainly refers to the specifying information content at every row, just the value of cell.Be by the corresponding grid column of gauge outfit title when the description list volume data, the title of definition tables row in the table volume data just so just can determine that this shows the column position at volume data place.The table volume data also is to adopt XML to be described.
Above-mentioned by XML describe the gauge outfit data and the table volume data, can utilize the strong characteristics of XML extendability.
Below be to adopt illustrating of gauge outfit data that XML describes:
<? xml version=" 1.0 "? 〉: show the XML form
<row set 〉
<row 〉
<title〉column</title 〉
<hide not</hide
<head set 〉
<head〉material<head 〉
</head set 〉
<width〉200</width 〉
<alignment direction〉left-justify</alignment direction 〉
<control〉text control</control 〉
<default value〉pipe tobacco</default value 〉
</row 〉
…………
<row set 〉
Below be to adopt illustrating of table volume data that XML describes:
<?xml?version="1.0"?>
<row set 〉
<OK 〉
<column〉pipe tobacco</column 〉
………………
</OK 〉
…………
<row set 〉
Step 202, the gauge outfit data and the table volume data that will adopt extend markup language to describe resolve to the HTML (Hypertext Markup Language) form;
After gauge outfit data and table volume data employing XML, gauge outfit data and the table volume data that can utilize the function among the JS will adopt XML to describe resolve to html format.
For example utilize the application programming interface function (API among the JS, Application ProgrammingInterface), the gauge outfit data and the table volume data that adopt XML to describe are resolved to html format, and the content of the html format after the parsing just can be used as gauge outfit data and the table volume data that can edit form.Need to prove, also can utilize other functions that have similar functions among the JS to resolve.
Step 203, call and generate order and obtain described gauge outfit data and the table volume data that resolves to the HTML (Hypertext Markup Language) form, and generate form according to the gauge outfit data and the table volume data of the HTML (Hypertext Markup Language) form after the described parsing;
After step will adopt the gauge outfit data of XML description and show volume data and resolve to html format in front, this step is called and is generated order and obtain described gauge outfit data and the table volume data that resolves to html format, and generates form according to the gauge outfit data and the table volume data of the html format after the described parsing.
The generation order that this step is called, it can be a SET order, the function of this order is exactly to generate form according to gauge outfit data and table volume data, and different indications can be set in this order gauge outfit data and table volume data are carried out different disposal, thereby make the form edited that generates have greater functionality.
(1) generate form in the embodiment of the invention with multilist header structure:
When in the gauge outfit data, comprising the head set of definition, in order, can be provided with the indication that the corresponding cell of head set of definition is merged into a cell, when the call instruction generation can be edited form, the corresponding cell of head set of described definition will be merged into a cell so.Like this, just can form the multilist header structure.
For example, the gauge outfit of definition is " material " in the head set, if the cell of two row all is the gauge outfit as " material ", then these two cells are merged into a cell, set is as the gauge outfit of corresponding " material ", and this gauge outfit still is that cell of every row is different as the structure of gauge outfit with other just.
(2) form that the generation unit lattice can drag in the embodiment of the invention:
The form that HTML provides generally can not drag, and does not have scroll bar, and therefore when webpage represented, it was not easily that the user uses, and experiences poor yet.The embodiment of the invention can be provided with nested junior unit lattice in cell in order, the indication of DIV label is set for the junior unit lattice; Generate when can edit form in call instruction so, will be in cell nested junior unit lattice, for the junior unit lattice are provided with the DIV label.The DIV label also is the basic label of HTML, and scroll bar is arranged, therefore carry out nested by cell with the DIV label with form, just can be so that cell can drag, have rolling effect, and can be that the part row, column is fixed, the part row, column can drag according to scroll bar in addition.
Below illustrating, see also Fig. 3, is that the embodiment of the invention drags the cell synoptic diagram.
Among Fig. 3, a cell is divided into four junior unit lattice, just nested four junior unit lattice A, B, C, D in cell.Vertical, the horizontal scroll bar of A, B, C cell are fixed, and when the D cell is operated, when for example the D cell is vertically dragged scroll bar, the C cell detects moving of D cell, to follow vertical rolling simultaneously, like this, D, C cell are rolling, A, B cell then maintain static, and promptly the row of A, B correspondence is motionless; When the D cell was laterally dragged scroll bar, the B cell will be followed horizontal rolling simultaneously, and like this, D, B cell are rolling, and A, C cell then maintain static, and promptly the row of A, C correspondence are motionless.
(3) generate form in the embodiment of the invention with multiple control:
When in the gauge outfit data, comprising the multiple different attribute information of definition, the different attribute information that promising described definition can be set in order generates the indication of control, when the call instruction generation can be edited form, will be that the different attribute information of described definition generates control so.Like this, just can generate various different controls, comprise basic control or complicated control etc.
The control that existing HTML provided generally has only basic control, for example edit box, radio box, multiselect frame, combobox etc.The embodiment of the invention can be on the basis of the original control of HTML, and according to the multiple different attribute information that defines in the gauge outfit data, packing generates text box, integer frame, the number frame that floats, different controls such as Dan Xuan/multiselect frame, date control and prompting control.
Said text box can be imported literal, numerical value, Chinese character; The integer frame, only with input digit, and initial can not be 0; The floating number frame, only with input value, radix point, and initial can not be 0; Dan Xuan/multiselect frame provides Dan Xuan and multiselect to choose mode for two kinds; Combobox provides a plurality of candidate values; The date control provides multiple date input modes such as date of entry, time on date, year, days; The prompting control provides and ejects the expansion that dialog box is selected.
Therefore, the control type that the embodiment of the invention provides is more abundant, thereby more convenient user uses.
(4) generate the form of supporting the full keyboard operation in the embodiment of the invention:
Can set-point beating keyboard key in order and the mapping relations of operating unit lattice, so when the call instruction generation can be edited form, the contingent various operations of cell institute in the form that is generated just produce mapping relations with keyboard key, for example the enter key correspondence is represented the next unit lattice, and cell selection operation etc. is carried out in the corresponding expression of key up and down.Like this, just can support the full keyboard operation, be user-friendly to, make the interface more friendly.
(5) generate the form of supporting event response and ranking function in the embodiment of the invention:
Event command that can each cell of setting operation in order, so when the call instruction generation can be edited form, cell in the form that is generated just produces corresponding relation with incident, and cell is clicked or during double click operation, will be triggered events corresponding follow-up like this.
Incident mainly comprises click event, double-click incident, value change events, and is as follows:
Setting for click event:
Table.onContentRowClick=function(i,j){
…………
}/* describes: click event.
* parameter: i: click row-coordinate; J: click the row coordinate
*/
Foregoing is illustrated in click when can edit form, responds this incident, and can obtain clicking the row-coordinate of form in the event response process, the row coordinate.
Setting for the incident of double-click:
Table.onContentRowDblClick=function(i,j){
…………
}/* describes: the double-click incident.
* parameter: i: click row-coordinate; J: click the row coordinate
*/
Foregoing is illustrated in and hits when can edit form, responds this incident, and can obtain clicking the row-coordinate of form in the event response process, the row coordinate.
Setting for the value change events:
Table.onChange=function(i,j){
………
}/* describes: the value change events.
* parameter: i: click row-coordinate; J: click the row coordinate
*/
Foregoing is illustrated in editor's form during data, and changing as data value then responds this incident, and can obtain clicking the row-coordinate of form, row coordinate in the event response process.
In addition, can also be in order for the table volume data is provided with the ordering order, for example logarithm value size ordering according to value, character string then according to the character boundary ordering, sort according to the date sequencing by the date.Like this, can more convenient user use.
The form ofstep 204, the described generation of demonstration.
After generating form, the form of described generation is shown to the user, the user can carry out editable operation to the form of this generation.
From embodiment two as can be seen, the embodiment of the invention is to obtain gauge outfit data and the table volume data that adopts extend markup language to describe, and be gauge outfit data and table volume data to be resolved to the HTML (Hypertext Markup Language) form by the Java script, and then call and generate order and generate form and show according to resolving to gauge outfit data behind the HTML (Hypertext Markup Language) form and table volume data, and the WEB webpage mainly is to adopt HTML (Hypertext Markup Language), the Java script also is to be embedded in the HTML (Hypertext Markup Language), therefore do not need download plug-in just can in webpage, carry out, in addition in any operating system, architecture platform, browser execution all be HTML (Hypertext Markup Language), therefore can cross operating system, platform and browser are operated, thereby applicability improves greatly.
In addition, the technical scheme among the embodiment two can also provide multilist greatest service energy, supporter lattice drag function and support the full keyboard operation, can generate multiple control or the like in addition, and is therefore more user-friendly.
Foregoing describes the method that the embodiment of the invention generates form in detail, and corresponding, the embodiment of the invention provides a kind for the treatment of apparatus.
Seeing also Fig. 4, is embodiment of the invention treating apparatus structural representation.
As shown in Figure 4, treating apparatus comprises:resolution unit 401,generation unit 402,display unit 403.
Resolution unit 401 is used to obtain the gauge outfit data and the table volume data that adopt extend markup language to describe, and the gauge outfit data and the table volume data that will adopt extend markup language to describe by the Java script resolve to the HTML (Hypertext Markup Language) form;
Generation unit 402 is used to call and generates order and obtain described gauge outfit data and the table volume data that resolves to the HTML (Hypertext Markup Language) form, and generates form according to the gauge outfit data and the table volume data of the HTML (Hypertext Markup Language) form after the described parsing;
Display unit 403 is used to show the form of described generation.
This treating apparatus has different embodiments:
Embodiment one:
Comprise the head set of definition in the gauge outfit data that described employing extend markup language is described; Describedgeneration unit 402 can be to comprise:
Order is provided withunit 4021, is used to be provided with generate order, comprises in the described generation order being provided with the indication that the corresponding cell of head set of described definition is merged into a cell;
Performance element 4022, be used to call described generation order and obtain described gauge outfit data and the table volume data that resolves to the HTML (Hypertext Markup Language) form, and generating form according to the gauge outfit data of the HTML (Hypertext Markup Language) form after the described parsing and table volume data, the corresponding cell of head set with described definition when generating form is merged into a cell.
Embodiment two:
Describedgeneration unit 402 can be to comprise:
Order is provided withunit 4021, is used to be provided with generate order, comprises in the described generation order being provided with nested junior unit lattice in cell, and the indication of DIV label is set for the junior unit lattice;
Performance element 4022, be used to call described generation order and obtain described gauge outfit data and the table volume data that resolves to the HTML (Hypertext Markup Language) form, and generate form according to the gauge outfit data of the HTML (Hypertext Markup Language) form after the described parsing and table volume data, when generating form in cell nested junior unit lattice, for the junior unit lattice are provided with the DIV label.
Embodiment three:
The different attribute information that comprises definition in the gauge outfit data that described employing extend markup language is described;
Describedgeneration unit 402 comprises:
Order is provided withunit 4021, is used to be provided with generate order, comprises in the described generation order that the different attribute information that promising described definition is set generates the indication of control;
Performance element 4022, be used to call described generation order and obtain described gauge outfit data and the table volume data that resolves to the HTML (Hypertext Markup Language) form, and generate form according to the gauge outfit data of the HTML (Hypertext Markup Language) form after the described parsing and table volume data, be that the different attribute information of described definition generates control when generating form.
In addition, the mapping relations of all right set-point beating keyboard key and operating unit lattice in order, when the call instruction generation can be edited form, the contingent various operations of cell institute in the form that is generated just produced mapping relations with keyboard key so.
The event command of all right each cell of setting operation in order, so when the call instruction generation can be edited form, cell in the form that is generated just produces corresponding relation with incident, and cell is clicked or during double click operation, will be triggered events corresponding follow-up like this.
Can also be in order for the table volume data is provided with the ordering order, for example logarithm value size ordering according to value, character string then according to the character boundary ordering, sort according to the date sequencing by the date.
In sum, the embodiment of the invention is to obtain gauge outfit data and the table volume data that adopts extend markup language to describe, and be gauge outfit data and table volume data to be resolved to the HTML (Hypertext Markup Language) form by the Java script, and then call and generate order and generate form according to the gauge outfit data and the table volume data that resolve to behind the HTML (Hypertext Markup Language) form, and the WEB webpage mainly is to adopt HTML (Hypertext Markup Language), the Java script also is to be embedded in the HTML (Hypertext Markup Language), therefore do not need download plug-in just can in webpage, carry out, in addition in any operating system, architecture platform, browser execution all be HTML (Hypertext Markup Language), therefore can cross operating system, platform and browser are operated, thereby applicability improves greatly.
More than a kind of method and treating apparatus that generates form that the embodiment of the invention provided is described in detail, used specific case herein principle of the present invention and embodiment are set forth, the explanation of above embodiment just is used for helping to understand method of the present invention and core concept thereof; Simultaneously, for one of ordinary skill in the art, according to thought of the present invention, the part that all can change in specific embodiments and applications, in sum, this description should not be construed as limitation of the present invention.

Claims (10)

CN2008101827745A2008-12-042008-12-04Method for generating table and processing device thereofActiveCN101446938B (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN2008101827745ACN101446938B (en)2008-12-042008-12-04Method for generating table and processing device thereof

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN2008101827745ACN101446938B (en)2008-12-042008-12-04Method for generating table and processing device thereof

Publications (2)

Publication NumberPublication Date
CN101446938Atrue CN101446938A (en)2009-06-03
CN101446938B CN101446938B (en)2011-10-12

Family

ID=40742622

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN2008101827745AActiveCN101446938B (en)2008-12-042008-12-04Method for generating table and processing device thereof

Country Status (1)

CountryLink
CN (1)CN101446938B (en)

Cited By (18)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN102053838A (en)*2010-12-312011-05-11山东中创软件商用中间件股份有限公司Form building method and device in rich client platform
CN102103584B (en)*2009-12-172012-12-26珠海金山软件有限公司Method and system for editing table by utilizing computer
CN104123394A (en)*2014-08-132014-10-29中国银行股份有限公司Method for processing report file of database
CN106557491A (en)*2015-09-252017-04-05北京奇虎科技有限公司A kind of method and apparatus for showing list data in webpage
CN106570114A (en)*2016-10-242017-04-19深圳市证通电子股份有限公司Production method and system for rapidly customizing editable web form
CN107766310A (en)*2017-09-262018-03-06杭州迪普科技股份有限公司A kind of grid cell lattice edit methods and device
CN108228176A (en)*2016-12-152018-06-29北京国双科技有限公司The creation method and creating device of a kind of table
CN104228368B (en)*2014-07-312018-08-31东莞市福欣电脑科技有限公司A kind of method of continuous not print page under WINDOWS systems
CN109002425A (en)*2018-06-192018-12-14平安科技(深圳)有限公司Acquisition methods, terminal device and the medium of enterprise's upstream-downstream relationship
CN109491703A (en)*2018-11-072019-03-19网易(杭州)网络有限公司Method, apparatus, storage medium and the electronic device that table merges
CN110209882A (en)*2018-02-112019-09-06鼎复数据科技(北京)有限公司A kind of quick mapping method for text mark
CN110262736A (en)*2019-06-202019-09-20北京字节跳动网络技术有限公司Data form creation method and device
CN110662185A (en)*2019-08-292020-01-07深圳市梦网科技发展有限公司Sending method and device of chart short message and terminal equipment
CN111832268A (en)*2020-06-302020-10-27北京印象笔记科技有限公司 Information interaction method, readable storage medium and electronic device
CN111932483A (en)*2020-09-282020-11-13江西汉辰信息技术股份有限公司Picture processing method and device, storage medium and computer equipment
CN112084759A (en)*2020-09-112020-12-15北京中油瑞飞信息技术有限责任公司List construction method and device based on industrial application platform
CN112558957A (en)*2020-12-082021-03-26中国联合网络通信集团有限公司Method and device for generating webpage table, electronic equipment and readable storage medium
CN113705183A (en)*2021-07-162021-11-26厦门海迈科技股份有限公司Web service-oriented electronic form data generation and maintenance method and related equipment

Cited By (25)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN102103584B (en)*2009-12-172012-12-26珠海金山软件有限公司Method and system for editing table by utilizing computer
CN102053838A (en)*2010-12-312011-05-11山东中创软件商用中间件股份有限公司Form building method and device in rich client platform
CN104228368B (en)*2014-07-312018-08-31东莞市福欣电脑科技有限公司A kind of method of continuous not print page under WINDOWS systems
CN104123394A (en)*2014-08-132014-10-29中国银行股份有限公司Method for processing report file of database
CN106557491A (en)*2015-09-252017-04-05北京奇虎科技有限公司A kind of method and apparatus for showing list data in webpage
CN106570114A (en)*2016-10-242017-04-19深圳市证通电子股份有限公司Production method and system for rapidly customizing editable web form
CN108228176A (en)*2016-12-152018-06-29北京国双科技有限公司The creation method and creating device of a kind of table
CN107766310B (en)*2017-09-262021-02-26杭州迪普科技股份有限公司Grid cell editing method and device
CN107766310A (en)*2017-09-262018-03-06杭州迪普科技股份有限公司A kind of grid cell lattice edit methods and device
CN110209882A (en)*2018-02-112019-09-06鼎复数据科技(北京)有限公司A kind of quick mapping method for text mark
CN109002425A (en)*2018-06-192018-12-14平安科技(深圳)有限公司Acquisition methods, terminal device and the medium of enterprise's upstream-downstream relationship
CN109002425B (en)*2018-06-192022-03-22平安科技(深圳)有限公司Method for acquiring upstream and downstream relations of enterprise, terminal device and medium
CN109491703A (en)*2018-11-072019-03-19网易(杭州)网络有限公司Method, apparatus, storage medium and the electronic device that table merges
CN110262736B (en)*2019-06-202021-09-17北京字节跳动网络技术有限公司Data table creating method and device
CN110262736A (en)*2019-06-202019-09-20北京字节跳动网络技术有限公司Data form creation method and device
CN110662185A (en)*2019-08-292020-01-07深圳市梦网科技发展有限公司Sending method and device of chart short message and terminal equipment
CN110662185B (en)*2019-08-292021-12-14深圳市梦网科技发展有限公司Sending method and device of chart short message and terminal equipment
CN111832268A (en)*2020-06-302020-10-27北京印象笔记科技有限公司 Information interaction method, readable storage medium and electronic device
CN111832268B (en)*2020-06-302024-09-03北京印象笔记科技有限公司Information interaction method, readable storage medium and electronic device
CN112084759A (en)*2020-09-112020-12-15北京中油瑞飞信息技术有限责任公司List construction method and device based on industrial application platform
CN111932483A (en)*2020-09-282020-11-13江西汉辰信息技术股份有限公司Picture processing method and device, storage medium and computer equipment
CN112558957A (en)*2020-12-082021-03-26中国联合网络通信集团有限公司Method and device for generating webpage table, electronic equipment and readable storage medium
CN112558957B (en)*2020-12-082024-02-13中国联合网络通信集团有限公司Method and device for generating webpage form, electronic equipment and readable storage medium
CN113705183A (en)*2021-07-162021-11-26厦门海迈科技股份有限公司Web service-oriented electronic form data generation and maintenance method and related equipment
CN113705183B (en)*2021-07-162024-09-20厦门海迈科技股份有限公司Web service-oriented electronic form data generation and maintenance method and related equipment

Also Published As

Publication numberPublication date
CN101446938B (en)2011-10-12

Similar Documents

PublicationPublication DateTitle
CN101446938A (en)Method for generating table and processing device thereof
US10460013B2 (en)Using server side font preparation to achieve WYSIWYG and cross platform fidelity on web based word processor
Vanderdonckt et al.Flexible reverse engineering of web pages with vaquista
US20040114258A1 (en)Device and method for combining dynamic mathematical expressions and other multimedia objects within a document
US20040215719A1 (en)Method and system for designing, editing and publishing web page content in a live internet session
CN105068815A (en)Page editor interaction apparatus and method
CA2414378A1 (en)System and method for controlling user interface features of a web application
CN101615121A (en)The style editor of BS platform information delivery system
CN104699602A (en)Method for detecting influence and computer
CN102637168A (en)Method for realizing automatic language translation in graphical user interface
JP6866551B2 (en) Computer algebra methods, devices, devices and programs
CN109583591A (en)Method and system for simplified knowledge engineering
CN113961183A (en)Visual programming method, device, equipment and storage medium
CN110427187A (en)A kind of list visual layout method based on the parsing of HTML Custom Attributes
US20130212557A1 (en)Systems and methods for managing related files in a software development environment
CN101408843B (en)Method and device for generating program menu
CN107644034A (en)Dynamic Display based on DOM tree structure clicks on the method, apparatus and system of figure
CN109086040A (en)A kind of method and system quickly generating html code
CN105739962B (en)Table cell editing machine control extended method based on HTML and system
CN104111823B (en)A kind of online interaction block formula edit methods and editing machine
EP1821219A1 (en)Document processing device and document processing method
CN109032601A (en)Design drawing cooperates cut map device and method online
US9311059B2 (en)Software development tool that provides context-based data schema code hinting
JP5476709B2 (en) Web page editing program and Web page editing apparatus
US11010140B2 (en)Integration of workflow and logical data objects using visual programming

Legal Events

DateCodeTitleDescription
C06Publication
PB01Publication
C10Entry into substantive examination
SE01Entry into force of request for substantive examination
C14Grant of patent or utility model
GR01Patent grant

[8]ページ先頭

©2009-2025 Movatter.jp