CN100538706C - A kind of method and apparatus that shows electrical form - Google Patents

A kind of method and apparatus that shows electrical form Download PDF

Info

Publication number
CN100538706C
CN100538706C CNB2007101519491A CN200710151949A CN100538706C CN 100538706 C CN100538706 C CN 100538706C CN B2007101519491 A CNB2007101519491 A CN B2007101519491A CN 200710151949 A CN200710151949 A CN 200710151949A CN 100538706 C CN100538706 C CN 100538706C
Authority
CN
China
Prior art keywords
style data
style
data
user
unit
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
CNB2007101519491A
Other languages
Chinese (zh)
Other versions
CN101118563A (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 CNB2007101519491A priority Critical patent/CN100538706C/en
Publication of CN101118563A publication Critical patent/CN101118563A/en
Application granted granted Critical
Publication of CN100538706C publication Critical patent/CN100538706C/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention discloses a kind of electrical form display packing and device, described method comprises: obtain the style data of form, this style data and corresponding form sign are stored in the style data storehouse of presetting; Form sign according to active sheet is searched from described style data storehouse and the corresponding style data of active sheet; And by this style data demonstration active sheet.So, by implementing the present invention, the user can be provided with the style of form according to the needs of oneself, and can show this form according to the style that has been provided with when showing forms once more, has greatly improved the result of use of form.

Description

A kind of method and apparatus that shows electrical form
Technical field
The present invention relates to the Computer Graphic Demonstration technology, particularly relate to a kind of method and apparatus that shows electrical form.
Background technology
At present, electrical form has been widely used in the data handling system of various platforms as a kind of instrument of demonstrating data, as MIS (Management Information System, management information system), CRM (Customer Relationship Management, customer relation management), ERP (EnterpriseResourse Planning, Enterprise Resources Plan) etc.
In above-mentioned data handling system, different application program forms use different electrical forms (hereinafter to be referred as form) to show the data of different content.General, no matter which kind of difference is the content of form exist, and it all is to be made of a plurality of row, column and gauge outfit.Wherein, each row is used to show the data of a certain type, as the amount of money, quantity, date etc.Usually, the user usually wishes to show according to the needs of himself style of form in using the process of form, for example, a certain row of show or hide, the display width of a certain row etc. is set.But at present, the user can only adjust the style of form in the operational process of application program, if the user closes forms or has withdrawed from application program after adjusting, when he enters these forms once more, form in forms and the forms is drawn by the style of acquiescence again by system, and user's adjustment that form is done before can't embody, therefore, the user can only reset the style of form, causes very large inconvenience for user's use.
Summary of the invention
The purpose of this invention is to provide a kind of electrical form display packing, to solve in the prior art when the user reopens the application program forms after, can't be in these forms according to the problem of the style demonstration active sheet that is provided with before this user.
For addressing the above problem, the invention discloses a kind of electrical form display packing, described method comprises:
Obtain the style data of form according to user's input, described style data has comprised and has shown the relevant data of form style;
This style data and corresponding form sign are stored in the style data storehouse of presetting;
Form sign according to active sheet is searched from described style data storehouse and the corresponding style data of active sheet; And by this style data demonstration active sheet.
The invention also discloses another electrical form display packing, this method comprises:
Obtain the style data of form according to user's input, described style data has comprised and has shown the relevant data of form style;
This style data and corresponding form sign and user ID are stored in the style data storehouse of presetting;
From described style data storehouse, search with active user's the user ID and the form of active sheet and identify corresponding style data; And by this style data demonstration active sheet.
Preferably, the described style data that obtains form comprises:
The style item of tabulation, described style item comprises the row name of this form;
Draw this form style data according to the input of user on described style item.
Preferably, describedly show that by style data active sheet comprises: show active sheet according to the style item in the style data.
The invention also discloses a kind of electrical form display device, described device comprises:
The style data acquiring unit is used for obtaining according to user's input the style data of form, and described style data has comprised and shown the relevant data of form style;
The style data storehouse is used to store style data and corresponding form sign;
Storage unit, the style data and the corresponding form sign that are used for form that the style data acquiring unit is obtained are stored in the style data storehouse;
Query unit is used for searching corresponding style data according to the form sign of active sheet from the style data storehouse;
The form display unit, the style data that is used for obtaining according to query unit shows active sheet.
The invention also discloses another electrical form display device, described device comprises:
The style data acquiring unit is used for obtaining according to user's input the style data of form, and described style data has comprised and shown the relevant data of form style;
The style data storehouse is used to store style data and corresponding form sign and user ID;
Storage unit is used for the style data of form that the style data acquiring unit is obtained and corresponding form sign and user ID and is stored in the style data storehouse;
Query unit is used for searching corresponding style data according to active user's the user ID and the form sign of active sheet from the style data storehouse;
The form display unit is used for according to searching the style data demonstration active sheet that the unit obtains.
Preferably, described style data acquiring unit also comprises:
The unit is set, is used for the style item of tabulation, this style item comprises the row name of form;
The style data output unit is used for according to the user at the style data that the input and output form on the unit is set.
Preferably, described query unit is searched the style data that draws and is comprised the style item, and described form display unit shows active sheet according to the style item of style data.
The invention discloses a kind of data handling system, comprise data processing unit, input block and output unit, described system also comprises:
The style data acquiring unit is used for obtaining according to user's input the style data of form, and described style data has comprised and shown the relevant data of form style;
The style data storehouse is used to store the style data and the corresponding form sign of the form that the style data acquiring unit obtained;
Query unit is used for searching corresponding style data according to the form sign of active sheet from the style data storehouse;
The form display unit, the style data that is used for obtaining according to query unit shows active sheet.
Preferably, described style data storehouse also stores style data and the corresponding form sign and the user ID of the form that the style data acquiring unit obtained; Described query unit also is used for searching corresponding style data according to the form sign of active user's user ID and active sheet from the style data storehouse.
Compared with prior art, one embodiment of the invention has following effect:
In the prior art, the user can adjust the style of form in the forms, for example by hiding or showing a certain data rows or the width etc. of this data rows is set, but because shown forms generally load in the internal memory in the application program operational process, when forms are closed, application program withdraws from or cycle power after, because the user reenters these forms and means that these forms are re-loaded to internal memory, and the process that loads is the process that system repaints forms and form, therefore, be provided with because of redrawing and embody what form style in these forms did before the user.The present invention is by obtaining the style data of form, and this style data and corresponding form sign be stored in the style data storehouse, when needs reload forms demonstration form, form sign according to this form finds out corresponding style data from the style data storehouse, then according to the form in these style data demonstration forms, make this form to show again, solved the problem that prior art exists well according to the style that is provided with before.
Description of drawings
Fig. 1 is the flow chart of steps of the embodiment 1 of a kind of electrical form display packing of the present invention;
Fig. 2 is the flow chart of steps of the embodiment 2 of a kind of electrical form display packing of the present invention;
Fig. 3 is the structured flowchart of an embodiment of a kind of electrical form display device of the present invention.
Embodiment
For above-mentioned purpose of the present invention, feature and advantage can be become apparent more, the present invention is further detailed explanation below in conjunction with the drawings and specific embodiments.
Fig. 1 shows the flow chart of steps of the embodiment 1 of control electrical form display packing of the present invention.Referring to Fig. 1 this embodiment is further described:
Step 101: the style data that obtains form.
Step 102: described style data and corresponding form sign are stored in the style data storehouse of presetting.
In actual applications,, in different application program forms, may show the electrical form of different content, for example, be used to show the electrical form of billing information or the electrical form of demonstration employee information etc. based on different purposes and effect.Described form sign is used for each electrical form of unique identification.
Described style data has comprised and has shown the relevant data of form style, the font that shows in the row name of for example hiding in this form or showing, the width of each row and the form, color etc., and wherein, each class data can become a kind of style item.Preferably, can obtain the style data of form according to following method:
The style item of tabulation, described style item comprises the row name of this form; Draw the style data of this form according to the input of user on described style item.
Need to prove, be preferable methods with a row style item as form, and the content of style item can be set by those skilled in the art when enforcement is of the present invention according to actual needs voluntarily, and the present invention does not do qualification to this.For example, at first all row names of tabulation and corresponding with each row name whether Show Options, col width, font, DISPLAY ORDER etc.; Then, need to select row name that shows and col width, the font that should be listed as; At last, according to selecting or the content of input draws the style data of this form, this style data has promptly comprised the row name that this form need show and the width of each row etc.
The present invention does not limit the form in described style data storehouse, and relevant database both can be adopted in this style data storehouse, and SQL SERVER, ORACLE etc. as common also can adopt document data bank to store in addition, as text, XML file etc.
Step 103: the form sign according to active sheet is searched from described style data storehouse and the corresponding style data of active sheet.
The form that described active sheet promptly need show in the application program forms in real time.When needs show certain application program forms, from the style data storehouse of presetting, search and obtain corresponding style data according to the form sign of form in these forms.
Step 104: press style data and show active sheet.
Active sheet according in the style data demonstration current application program forms that obtained from the style data storehouse comprises the row name that this form show or hide is set, DISPLAY ORDER, col width and the font etc. of each row.
More than introduced embodiments of the invention 1, the difference of embodiments of the invention 2 and the foregoing description 1 is also to store in the style data storehouse with form style data and form and identifies corresponding user ID.Referring to Fig. 2 embodiment 2 is further described:
Step 201: obtain the form style data.
Step 202: described style data and corresponding form sign and user ID are stored in the style data storehouse of presetting.
At the form in the same forms, each user is provided with its style respectively and obtains the style data of this form, then style data and corresponding form sign and user ID is stored in the style data storehouse.
Step 203: the form of searching from described style data storehouse with active user sign and active sheet identifies corresponding style data.
When need with the form of a certain forms when different user shows, from the style data storehouse, searching and obtain corresponding style data according to this user's the user ID and the form sign of active sheet.For example, in certain unit, manager and office worker can the login management infosystems, and check data by the form in the same forms, but the two display styles to this form has different requirements.
Step 204: the style data that obtains by above-mentioned steps shows active sheet.
In embodiment 2, even for the form in the same application forms, different users can be provided with its style respectively according to the needs of oneself, when showing form, also can show respectively according to each user's style data, make the table content that shows more be close to user's demand, improved the result of use of form greatly.
Below in conjunction with applied environment, said method is done step explanation by a concrete example:
Suppose that electrical form is used to show contract information, its content example is as follows:
Contract status Contract type Contract NO Annex
Find out that easily this form comprises 4 data rows: contract status, contract type, Contract NO, annex.
Step 301: obtain the form style data.
By certain rule list all row names and corresponding col widths, whether show and font alignment for user's input:
The row name Col width Whether show Alignment thereof
1 Contract status 16.40 Be Left-justify
2 Contract type 16.40 Be Left-justify
3 Contract NO 9.50 Be Left-justify
4 Annex 21.30 Not Left-justify
Then, obtain style data according to user's input.
Step 302: the style data that obtains and corresponding form sign and user ID are stored in the style data storehouse.
In this example, adopt text as style data library storage style data, the memory contents example is as follows:
<style setting 〉
<user ID〉9900</user ID 〉
<form sign〉A01</the form sign 〉
<data rows 〉
<row name〉contract status</the row name 〉
<col width〉16.40</col width 〉
<show be</show
<alignment〉left-justify</alignment 〉
</data rows 〉
<data rows 〉
<row name〉contract type</the row name 〉
<col width〉16.40</col width 〉
<show be</show
<alignment〉left-justify</alignment 〉
</data rows 〉
<data rows 〉
<row name〉Contract NO</the row name 〉
<col width〉9.50</col width 〉
<show be</show
<alignment〉left-justify</alignment 〉
</data rows 〉
<data rows 〉
<row name〉annex</the row name 〉
<col width〉21.30</col width 〉
<show not</show
<alignment〉left-justify</alignment 〉
</data rows 〉
</style setting 〉
Need explanation, usually corresponding application program forms of form in the practical application, above table identifies available forms sign and replaces in this case, but, in the time of if same form need being shown in different application program forms, adopt the unique form sign of this form then to be preferable methods.
Step 303: when the user enters the application program forms and shows this form, from above-mentioned text, obtain corresponding style data, show table content according to this style data then according to user ID and form sign.
A kind of display packing of controlling electrical form of the present invention has below been described in conjunction with specific embodiments.Below with reference to above related content a kind of display device of controlling electrical form of the present invention is introduced.Referring to Fig. 3, Fig. 3 shows a kind of structured flowchart of controlling the display device of electrical form of the present invention, and described device 300 comprises:
Style data acquiring unit 310 is used to obtain the style data of form;
Style data storehouse 311 is used to store style data and corresponding form sign and user ID;
Storage unit 312 is used for the style data of form that style data acquiring unit 310 is obtained and corresponding form sign and user ID and is stored in style data storehouse 311;
Query unit 313 is used for searching corresponding style data according to the form sign of active user's sign and active sheet from style data storehouse 311;
Form display unit 314, the style data that is used for obtaining according to query unit 313 shows active sheet
Wherein, described style data acquiring unit 310 also comprises: unit 311 is set, is used for the style item of tabulation, this style item comprises the row name of form; Style data output unit 312 is used for according to the user at the style data that the input and output form on the unit is set.
Wherein, described query unit is searched the style data that draws and is comprised the style item, and described form display unit shows active sheet according to the style item of style data.
According to the description of said apparatus, this device is realized that the embodiment that the control electrical form shows is described below:
The style item of unit tabulation at first, is set; At the style data that the input and output form on the unit is set, storage unit is stored in the style data storehouse with this style data and corresponding form sign and user ID to the style data output unit then according to the user; Afterwards, when needs show form, query unit is searched corresponding style data according to active user's the user ID and the form sign of active sheet from the style data storehouse, then, show active sheet by the form display unit according to the style data that query unit obtains.
In another electrical form display device disclosed by the invention, the style data acquiring unit is used to obtain the style data of form; The style data storehouse is used to store style data and corresponding form sign; Storage unit, the style data and the corresponding form sign that are used for form that the style data acquiring unit is obtained are stored in the style data storehouse; Query unit is used for searching corresponding style data according to the form sign of active sheet from the style data storehouse; The form display unit, the style data that is used for obtaining according to query unit shows active sheet.Be with the difference of said apparatus 300, in this device: style data library storage style data is not stored user ID with corresponding form sign, though this device can not show form according to different user as device 300, but still can show form according to the style data that was provided with last time.
The invention also discloses a kind of data handling system, comprise data processing unit, input block and output unit, this system also comprises in addition:
The style data acquiring unit is used to obtain the style data of form;
The style data storehouse is used to store the style data and the corresponding form sign of the form that the style data acquiring unit obtained;
Query unit is used for searching corresponding style data according to the form sign of active sheet from the style data storehouse;
The form display unit, the style data that is used for obtaining according to query unit shows active sheet.
Wherein, described style data storehouse also stores style data and the corresponding form sign and the user ID of the form that the style data acquiring unit obtained; Described query unit also is used for searching corresponding style data according to the form sign of active user's user ID and active sheet from the style data storehouse.
Data handling system of the present invention can show as personal computer, notebook, mobile phone, palm PC in actual applications and other has system of data-handling capacity etc.
Can be about not detailed part in the description of system of the present invention referring to above-mentioned description about device.
For device, system embodiment, because it is substantially corresponding to method embodiment, so description is fairly simple, relevant part gets final product referring to the part explanation of method embodiment.
More than to a kind of method, device and a kind of data handling system that shows electrical form provided by the present invention, be 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)

1, a kind of electrical form display packing is characterized in that, described method comprises:
Obtain the style data of form according to user's input, described style data has comprised and has shown the relevant data of form style;
This style data and corresponding form sign are stored in the style data storehouse of presetting;
Form sign according to active sheet is searched from described style data storehouse and the corresponding style data of active sheet; And by this style data demonstration active sheet.
2, a kind of electrical form display packing is characterized in that, described method comprises:
Obtain the style data of form according to user's input, described style data has comprised and has shown the relevant data of form style;
This style data and corresponding form sign and user ID are stored in the style data storehouse of presetting;
From described style data storehouse, search with active user's the user ID and the form of active sheet and identify corresponding style data; And by this style data demonstration active sheet.
3, method according to claim 2 is characterized in that, the described style data that obtains form comprises:
The style item of tabulation, described style item comprises the row name of this form;
Draw this form style data according to the input of user on described style item.
4, method according to claim 3 is characterized in that, describedly shows that by style data active sheet comprises: show active sheet according to the style item in the style data.
5, a kind of electrical form display device is characterized in that, described device comprises:
The style data acquiring unit is used for obtaining according to user's input the style data of form, and described style data has comprised and shown the relevant data of form style;
The style data storehouse is used to store style data and corresponding form sign;
Storage unit, the style data and the corresponding form sign that are used for form that the style data acquiring unit is obtained are stored in the style data storehouse;
Query unit is used for searching corresponding style data according to the form sign of active sheet from the style data storehouse;
The form display unit, the style data that is used for obtaining according to query unit shows active sheet.
6, a kind of electrical form display device is characterized in that, described device comprises:
The style data acquiring unit is used for obtaining according to user's input the style data of form, and described style data has comprised and shown the relevant data of form style;
The style data storehouse is used to store style data and corresponding form sign and user ID;
Storage unit is used for the style data of form that the style data acquiring unit is obtained and corresponding form sign and user ID and is stored in the style data storehouse;
Query unit is used for searching corresponding style data according to active user's the user ID and the form sign of active sheet from the style data storehouse;
The form display unit, the style data that is used for obtaining according to query unit shows active sheet.
7, device according to claim 6 is characterized in that, described style data acquiring unit also comprises:
The unit is set, is used for the style item of tabulation, this style item comprises the row name of form;
The style data output unit is used for according to the user at the style data that the input and output form on the unit is set.
8, device according to claim 7 is characterized in that, described query unit is searched the style data that draws and comprised the style item, and described form display unit shows active sheet according to the style item of style data.
9, a kind of data handling system comprises data processing unit, input block and output unit, it is characterized in that, described system also comprises:
The style data acquiring unit is used for obtaining according to user's input the style data of form, and described style data has comprised and shown the relevant data of form style;
The style data storehouse is used to store the style data and the corresponding form sign of the form that the style data acquiring unit obtained;
Query unit is used for searching corresponding style data according to the form sign of active sheet from the style data storehouse;
The form display unit, the style data that is used for obtaining according to query unit shows active sheet.
10, system according to claim 9 is characterized in that, described style data storehouse also stores style data and the corresponding form sign and the user ID of the form that the style data acquiring unit obtained; Described query unit also is used for searching corresponding style data according to the form sign of active user's user ID and active sheet from the style data storehouse.
CNB2007101519491A 2007-09-21 2007-09-21 A kind of method and apparatus that shows electrical form Active CN100538706C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB2007101519491A CN100538706C (en) 2007-09-21 2007-09-21 A kind of method and apparatus that shows electrical form

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB2007101519491A CN100538706C (en) 2007-09-21 2007-09-21 A kind of method and apparatus that shows electrical form

Publications (2)

Publication Number Publication Date
CN101118563A CN101118563A (en) 2008-02-06
CN100538706C true CN100538706C (en) 2009-09-09

Family

ID=39054677

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2007101519491A Active CN100538706C (en) 2007-09-21 2007-09-21 A kind of method and apparatus that shows electrical form

Country Status (1)

Country Link
CN (1) CN100538706C (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101373464B (en) * 2008-09-24 2011-04-20 金蝶软件(中国)有限公司 Method, apparatus and system for automatically adopting form setting
CN103902511B (en) * 2012-12-26 2017-07-28 远光软件股份有限公司 The data conversion amplification display method and system of a kind of data form
CN103593473A (en) * 2013-11-28 2014-02-19 国家电网公司 Form displaying method and system
CN104731813A (en) * 2013-12-23 2015-06-24 珠海金山办公软件有限公司 Form file display method and system
CN106776510A (en) * 2016-11-17 2017-05-31 金蝶软件(中国)有限公司 Word embeds form generation method and device

Also Published As

Publication number Publication date
CN101118563A (en) 2008-02-06

Similar Documents

Publication Publication Date Title
US20140068404A1 (en) Method of representing business units in sales performance management using entity tables and system comprising same
US9235561B2 (en) Contextual report element mapping to web service input parameter
WO2007149942A2 (en) Auditing, tracking, or inspection of data, objects, or their modifications
CN102027469A (en) Dynamic image composition
CN102541535B (en) The method and system of publishing industry business architecture model
US20160103927A1 (en) Automatic sizing of wrap packages of cards
CN100538706C (en) A kind of method and apparatus that shows electrical form
CN102207861A (en) Method for expressing personalized information in business
CN106940721B (en) Data processing method and system for user-defined selection box
US9652203B1 (en) Application development framework using configurable data types
CN105426508A (en) Webpage generation method and apparatus
CN103824104A (en) Two-dimensional code fabrication system and application method thereof
CN103577524A (en) Business object representations and detail boxes display
US9652740B2 (en) Fan identity data integration and unification
US20130184016A1 (en) Method to send a short message service (sms) campaign to a related object by selecting the base object
CN112270594B (en) Salary data display method, device, computer equipment and storage medium
CN110941610B (en) Excel data file processing method and device
US8056073B2 (en) Method, computer program product, and system for merging multiple same class instance states
CN111639264A (en) Data searching method, device, equipment and computer readable storage medium
CN105677776A (en) Data processing method and device
CN101159049A (en) Dynamic configuring arrange method and system
Saxena et al. Business intelligence
CN115409014A (en) Document template generation method and device, computer equipment and storage medium
CN111352624A (en) Interface display method, information processing method and device
US20180075006A1 (en) System and method for logical identification of differences between spreadsheets

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