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

Method for generating table and processing device thereof Download PDF

Info

Publication number
CN101446938B
CN101446938B CN2008101827745A CN200810182774A CN101446938B CN 101446938 B CN101446938 B CN 101446938B CN 2008101827745 A CN2008101827745 A CN 2008101827745A CN 200810182774 A CN200810182774 A CN 200810182774A CN 101446938 B CN101446938 B CN 101446938B
Authority
CN
China
Prior art keywords
markup language
gauge outfit
data
html
generation
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
CN2008101827745A
Other languages
Chinese (zh)
Other versions
CN101446938A (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 Ltd filed Critical Kingdee Software China Co Ltd
Priority to CN2008101827745A priority Critical patent/CN101446938B/en
Publication of CN101446938A publication Critical patent/CN101446938A/en
Application granted granted Critical
Publication of CN101446938B publication Critical patent/CN101446938B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

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, and the gauge outfit data that described employing extend markup language is described comprise the head set of definition or the different attribute information of definition; Call to generate to order and obtain described gauge outfit data and the table volume data that resolves to the HTML (Hypertext Markup Language) form; Generate form according to described gauge outfit data and the table volume data that resolves to the HTML (Hypertext Markup Language) form; Gauge outfit data according to the HTML (Hypertext Markup Language) form after the described parsing comprise when volume data generates form with showing: a cell of the head of described definition being gathered correspondence is merged into a cell, perhaps nested junior unit lattice in cell, for the junior unit lattice are provided with the DIV label, perhaps be that the different attribute information of described definition generates control; The form that shows described generation.
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, be used to 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, and the gauge outfit data that described employing extend markup language is described comprise the head set of definition or the different attribute information of definition;
Generation unit is used to call generate to order and obtains described gauge outfit data and the table volume data that resolves to the HTML (Hypertext Markup Language) form, and according to described gauge outfit data and the table volume data generation form that resolves to the HTML (Hypertext Markup Language) form;
Display unit is used to show the form of described generation;
Described generation unit comprises that order is provided with unit and performance element, described order is provided with the unit and is used to be provided with the generation order, comprise in the described generation order and be provided with the indication that the corresponding cell of head set of described definition is merged into a cell, described 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 according to described gauge outfit data and the table volume data generation form that resolves to the HTML (Hypertext Markup Language) form, the corresponding cell of head set with described definition when generating form is merged into a cell; Perhaps,
Described generation unit comprises that order is provided with unit and performance element, described order is provided with the unit and is used to be provided with the generation order, comprise in the described generation order and be provided with nested junior unit lattice in cell, the indication of DIV label is set for the junior unit lattice, described performance element is used to call described generation order and obtains described gauge outfit data and the table volume data that resolves to the HTML (Hypertext Markup Language) form, and according to described gauge outfit data and the table volume data generation form that resolves to the HTML (Hypertext Markup Language) form, when generating form in cell nested junior unit lattice, for the junior unit lattice are provided with the DIV label; Perhaps,
Described generation unit comprises that order is provided with unit and performance element, described order is provided with the unit and is used to be provided with the generation order, comprise in the described generation order that the different attribute information that promising described definition is set generates the indication of control, described performance element is used to call described generation order and obtains described gauge outfit data and the table volume data that resolves to the HTML (Hypertext Markup Language) form, and, be that the different attribute information of described definition generates control when generating form according to described gauge outfit data and the table volume data generation form that resolves to the HTML (Hypertext Markup Language) 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 is to adopt Dynamic Hyper Text Makeup Language (DHTML, Dynamic HTML)+Java script (JS, JavaScript) technology realization generation form.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:
Figure GDA0000067164790000061
Figure GDA0000067164790000071
Below be to adopt illustrating of table volume data that XML describes:
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 Programming Interface), 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:
Figure GDA0000067164790000101
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:
Figure GDA0000067164790000102
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:
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 of step 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; Described generation unit 402 can be to comprise:
Order is provided with unit 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:
Described generation unit 402 can be to comprise:
Order is provided with unit 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;
Described generation unit 402 comprises:
Order is provided with unit 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 (4)

1. a method that generates form is characterized in that, 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, and the gauge outfit data that described employing extend markup language is described comprise the head set of definition or the different attribute information of definition;
Call to generate to order and obtain described gauge outfit data and the table volume data that resolves to the HTML (Hypertext Markup Language) form;
Generate form according to described gauge outfit data and the table volume data that resolves to the HTML (Hypertext Markup Language) form, comprise: the corresponding cell of head set of described definition is merged into a cell, perhaps nested junior unit lattice in cell, for the junior unit lattice are provided with the DIV label, perhaps be that the different attribute information of described definition generates control;
The form that shows described generation.
2. the method for generation form according to claim 1 is characterized in that:
Described gauge outfit data and table volume data generation form according to the HTML (Hypertext Markup Language) form after the described parsing also comprises:
The mapping relations of set-point beating keyboard key and operating unit lattice.
3. the method for generation form according to claim 1 is characterized in that:
Described gauge outfit data and table volume data generation form according to the HTML (Hypertext Markup Language) form after the described parsing also comprises:
For the operating unit lattice are provided with event command, for described table volume data is provided with the ordering order.
4. a treating apparatus is characterized in that, comprising:
Resolution unit, be used to 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, and the gauge outfit data that described employing extend markup language is described comprise the head set of definition or the different attribute information of definition;
Generation unit is used to call generate to order and obtains described gauge outfit data and the table volume data that resolves to the HTML (Hypertext Markup Language) form, and according to described gauge outfit data and the table volume data generation form that resolves to the HTML (Hypertext Markup Language) form;
Display unit is used to show the form of described generation;
Described generation unit comprises that order is provided with unit and performance element, described order is provided with the unit and is used to be provided with the generation order, comprise in the described generation order and be provided with the indication that the corresponding cell of head set of described definition is merged into a cell, described 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 according to described gauge outfit data and the table volume data generation form that resolves to the HTML (Hypertext Markup Language) form, the corresponding cell of head set with described definition when generating form is merged into a cell; Perhaps,
Described generation unit comprises that order is provided with unit and performance element, described order is provided with the unit and is used to be provided with the generation order, comprise in the described generation order and be provided with nested junior unit lattice in cell, the indication of DIV label is set for the junior unit lattice, described performance element is used to call described generation order and obtains described gauge outfit data and the table volume data that resolves to the HTML (Hypertext Markup Language) form, and according to described gauge outfit data and the table volume data generation form that resolves to the HTML (Hypertext Markup Language) form, when generating form in cell nested junior unit lattice, for the junior unit lattice are provided with the DIV label; Perhaps,
Described generation unit comprises that order is provided with unit and performance element, described order is provided with the unit and is used to be provided with the generation order, comprise in the described generation order that the different attribute information that promising described definition is set generates the indication of control, described performance element is used to call described generation order and obtains described gauge outfit data and the table volume data that resolves to the HTML (Hypertext Markup Language) form, and, be that the different attribute information of described definition generates control when generating form according to described gauge outfit data and the table volume data generation form that resolves to the HTML (Hypertext Markup Language) form.
CN2008101827745A 2008-12-04 2008-12-04 Method for generating table and processing device thereof Active CN101446938B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2008101827745A CN101446938B (en) 2008-12-04 2008-12-04 Method for generating table and processing device thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2008101827745A CN101446938B (en) 2008-12-04 2008-12-04 Method for generating table and processing device thereof

Publications (2)

Publication Number Publication Date
CN101446938A CN101446938A (en) 2009-06-03
CN101446938B true CN101446938B (en) 2011-10-12

Family

ID=40742622

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2008101827745A Active CN101446938B (en) 2008-12-04 2008-12-04 Method for generating table and processing device thereof

Country Status (1)

Country Link
CN (1) CN101446938B (en)

Families Citing this family (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102103584B (en) * 2009-12-17 2012-12-26 珠海金山软件有限公司 Method and system for editing table by utilizing computer
CN102053838A (en) * 2010-12-31 2011-05-11 山东中创软件商用中间件股份有限公司 Form building method and device in rich client platform
CN104228368B (en) * 2014-07-31 2018-08-31 东莞市福欣电脑科技有限公司 A kind of method of continuous not print page under WINDOWS systems
CN104123394B (en) * 2014-08-13 2018-05-15 中国银行股份有限公司 Processing method for the report file of database
CN106557491A (en) * 2015-09-25 2017-04-05 北京奇虎科技有限公司 A kind of method and apparatus for showing list data in webpage
CN106570114B (en) * 2016-10-24 2020-02-14 深圳市证通电子股份有限公司 Method and system for making quick customized editable webpage table
CN108228176A (en) * 2016-12-15 2018-06-29 北京国双科技有限公司 The creation method and creating device of a kind of table
CN107766310B (en) * 2017-09-26 2021-02-26 杭州迪普科技股份有限公司 Grid cell editing method and device
CN110209882A (en) * 2018-02-11 2019-09-06 鼎复数据科技(北京)有限公司 A kind of quick mapping method for text mark
CN109002425B (en) * 2018-06-19 2022-03-22 平安科技(深圳)有限公司 Method for acquiring upstream and downstream relations of enterprise, terminal device and medium
CN109491703A (en) * 2018-11-07 2019-03-19 网易(杭州)网络有限公司 Method, apparatus, storage medium and the electronic device that table merges
CN110262736B (en) * 2019-06-20 2021-09-17 北京字节跳动网络技术有限公司 Data table creating method and device
CN110662185B (en) * 2019-08-29 2021-12-14 深圳市梦网科技发展有限公司 Sending method and device of chart short message and terminal equipment
CN112084759A (en) * 2020-09-11 2020-12-15 北京中油瑞飞信息技术有限责任公司 List construction method and device based on industrial application platform
CN111932483B (en) * 2020-09-28 2021-01-08 江西汉辰信息技术股份有限公司 Picture processing method and device, storage medium and computer equipment
CN112558957B (en) * 2020-12-08 2024-02-13 中国联合网络通信集团有限公司 Method and device for generating webpage form, electronic equipment and readable storage medium

Also Published As

Publication number Publication date
CN101446938A (en) 2009-06-03

Similar Documents

Publication Publication Date Title
CN101446938B (en) Method for generating table and processing device thereof
US11769002B2 (en) Extended data grid components with multi-level navigation
US8032837B2 (en) System and method for controlling user interface features of a web application
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
US20100169832A1 (en) Floating Hierarchical Menu of Navigation History
CN103019557B (en) Page switching method and device
US20060123345A1 (en) Platform-independent markup language-based gui format
CN102637168A (en) Method for realizing automatic language translation in graphical user interface
CN112083920A (en) Front-end page design method, device, storage medium and equipment
CN106162302B (en) Layout method and device for Launcher main interface and smart television
CN110297636A (en) A kind of automatic production of HTML page and parameter management method based on page configuration file, system and device
CN109583591A (en) Method and system for simplified knowledge engineering
CN110427187A (en) A kind of list visual layout method based on the parsing of HTML Custom Attributes
CN104424318A (en) Method and device for controlling page elements
WO2016022137A1 (en) Replicating a web technology
CN105279245A (en) Method for collecting contents on webpage and electronic device
Nolan et al. Interactive and animated scalable vector graphics and R data displays
JP5384490B2 (en) Improved navigation handling in web pages
CN105739962B (en) Table cell editing machine control extended method based on HTML and system
CN109522508A (en) Page authoring method, editing machine construction method, device and electronic equipment
CN109086040A (en) A kind of method and system quickly generating html code
CN104020996B (en) Instruction front-end system and corresponding instruction front-end interactive method
US20080120355A1 (en) System and method for generating mathematical equations and symbolic scientific expressions in html and css
CN107644034A (en) Dynamic Display based on DOM tree structure clicks on the method, apparatus and system of figure

Legal Events

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