CN107656911A - Form processing method and its system - Google Patents

Form processing method and its system Download PDF

Info

Publication number
CN107656911A
CN107656911A CN201710816050.0A CN201710816050A CN107656911A CN 107656911 A CN107656911 A CN 107656911A CN 201710816050 A CN201710816050 A CN 201710816050A CN 107656911 A CN107656911 A CN 107656911A
Authority
CN
China
Prior art keywords
cell
size
viewing area
width
height
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
CN201710816050.0A
Other languages
Chinese (zh)
Other versions
CN107656911B (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.)
Beijing Jingdong Century Trading Co Ltd
Beijing Jingdong Shangke Information Technology Co Ltd
Original Assignee
Beijing Jingdong Century Trading Co Ltd
Beijing Jingdong Shangke Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Jingdong Century Trading Co Ltd, Beijing Jingdong Shangke Information Technology Co Ltd filed Critical Beijing Jingdong Century Trading Co Ltd
Priority to CN201710816050.0A priority Critical patent/CN107656911B/en
Publication of CN107656911A publication Critical patent/CN107656911A/en
Application granted granted Critical
Publication of CN107656911B publication Critical patent/CN107656911B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/166Editing, e.g. inserting or deleting
    • G06F40/177Editing, e.g. inserting or deleting of tables; using ruled lines
    • G06F40/18Editing, e.g. inserting or deleting of tables; using ruled lines of spreadsheets
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/103Formatting, i.e. changing of presentation of documents
    • G06F40/106Display of layout of documents; Previewing

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Health & Medical Sciences (AREA)
  • Artificial Intelligence (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Computational Linguistics (AREA)
  • General Health & Medical Sciences (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

Present disclose provides a kind of form processing method, and applied to the electronic equipment with display unit, this method includes:Obtain the dimension information of the viewing area of display unit;Obtain the dimension information of at least one form;According to the dimension information of the viewing area of acquisition and the dimension information of at least one form, judge whether the size of at least one form exceedes the size of viewing area, obtain judged result;And according to judged result, determine the exhibition method of at least one form on the display region.The disclosure additionally provides a kind of list processing system, computer system and computer-readable recording medium.

Description

Form processing method and its system
Technical field
This disclosure relates to field of computer technology, more particularly, to a kind of form processing method and its system, computer System and computer-readable recording medium.
Background technology
With the development of science and technology, the function on electronic equipment is more and more.User can be in the display of electronic equipment Information is browsed on screen, the information on display screen can also be operated.Therefore, user can be convenient to use electronic equipment and obtain Take substantial amounts of information.
During present inventive concept is realized, inventor has found that at least there are the following problems in the prior art:In electronics During the display screen display form of equipment, the form display area on the display screen sometimes, causing can not displaying table completely Lattice, it have impact on the experience of user.
The content of the invention
In view of this, present disclose provides a kind of form processing method and its system.
An aspect of this disclosure provides a kind of form processing method, applied to the electronic equipment with display unit, The above method includes the dimension information for obtaining the viewing area of above-mentioned display unit;Obtain the dimension information of at least one form; According to the dimension information of the above-mentioned viewing area of acquisition and the dimension information of above-mentioned at least one form, judge above-mentioned at least one Whether the size of form exceedes the size of above-mentioned viewing area, obtains judged result;And according to above-mentioned judged result, it is determined that on State exhibition method of at least one form on above-mentioned viewing area.
In accordance with an embodiment of the present disclosure, according to above-mentioned judged result, determine above-mentioned at least one form in above-mentioned viewing area , will be upper in the case that exhibition method on domain is included in size of the size more than above-mentioned viewing area of above-mentioned at least one form State at least one form and be converted into picture, with the above-mentioned at least one form of above-mentioned picture presentation on above-mentioned viewing area;And In the case of size of the size not less than above-mentioned viewing area of above-mentioned at least one form, on above-mentioned viewing area directly Show above-mentioned at least one form.
In accordance with an embodiment of the present disclosure, the dimension information for obtaining above-mentioned at least one form is above-mentioned at least one including obtaining The width of the height of row and row in form;Obtain the outside displaying content to be shown together with above-mentioned at least one form with it is above-mentioned The distance between at least one form information, at least a portion of said external displaying content are located at outside above-mentioned at least one form Portion;And according to acquire above-mentioned height, above-mentioned width, above-mentioned range information, calculate the chi of above-mentioned at least one form Very little information.
In accordance with an embodiment of the present disclosure, obtaining the width of the height of row and row in above-mentioned at least one form includes obtaining successively Take the height and width of each cell in above-mentioned at least one form;The cell institute is calculated according to the height of said units lattice The height being expert at;And the width according to the width calculation of the said units lattice cell column.
In accordance with an embodiment of the present disclosure, calculating that the height that the cell is expert at includes according to the height of said units lattice will Height of the height highest cell of cell highly as the row in the row;And the width calculation according to said units lattice Width of the width of the cell column including the most wide cell width of width during this is arranged as the row.
In accordance with an embodiment of the present disclosure, above-mentioned at least one form size exceed above-mentioned viewing area size feelings Under condition, above-mentioned at least one form is converted into picture including each cell in the above-mentioned at least one form of acquisition corresponding Coordinate information in form;Obtain the size information of each above-mentioned cell;And according to above-mentioned coordinate information and above-mentioned every Above-mentioned at least one form is converted into picture by the size information of one cell.
Another aspect of the present disclosure additionally provides a kind of list processing system, is set applied to the electronics with display unit Standby, said system includes the first acquisition module, the dimension information of the viewing area for obtaining above-mentioned display unit;Second obtains Module, for obtaining the dimension information of at least one form;Judge module, the size for the above-mentioned viewing area according to acquisition The dimension information of information and above-mentioned at least one form, judges whether the size of above-mentioned at least one form exceedes above-mentioned viewing area The size in domain, obtains judged result;And determining module, for according to above-mentioned judged result, determining above-mentioned at least one form Exhibition method on above-mentioned viewing area.
In accordance with an embodiment of the present disclosure, above-mentioned determining module includes converting unit, in above-mentioned at least one form In the case that size exceedes the size of above-mentioned viewing area, above-mentioned at least one form is converted into picture, in above-mentioned viewing area With the above-mentioned at least one form of above-mentioned picture presentation on domain;And display unit, for the size in above-mentioned at least one form In the case of size not less than above-mentioned viewing area, above-mentioned at least one form is directly shown on above-mentioned viewing area.
In accordance with an embodiment of the present disclosure, above-mentioned second acquisition module includes first acquisition unit, for obtain it is above-mentioned at least The width of the height of row and row in one form;Second acquisition unit, to be opened up for obtaining together with above-mentioned at least one form Outside displaying the distance between content and above-mentioned at least one form information shown, said external show at least a portion of content Outside above-mentioned at least one form;And first computing unit, for according to acquire above-mentioned height, above-mentioned width Degree, above-mentioned range information, calculate the dimension information of above-mentioned at least one form.
In accordance with an embodiment of the present disclosure, above-mentioned first acquisition unit includes the first acquisition subelement, for obtaining successively State the height and width of each cell at least one form;First computation subunit, for the height according to said units lattice Degree calculates the height that the cell is expert at;And second computation subunit, for should according to the width calculation of said units lattice The width of cell column.
In accordance with an embodiment of the present disclosure, the first computation subunit is additionally operable to the height highest unit of cell in the row Height of the lattice highly as the row;And second computation subunit be additionally operable to include by this arrange in the most wide cell width of width Width as the row.
In accordance with an embodiment of the present disclosure, above-mentioned converting unit includes the second acquisition subelement, for obtaining above-mentioned at least one Coordinate information of each cell in corresponding form in individual form;3rd obtain subelement, for obtain it is above-mentioned each The size information of cell;And conversion subunit, for the size according to above-mentioned coordinate information and each above-mentioned cell Above-mentioned at least one form is converted into picture by information.
Another aspect of the present disclosure additionally provides a kind of computer system, including one or more processors;Memory, use In storing one or more programs, wherein, when said one or multiple programs are by said one or multiple computing devices, make Obtain said one or multiple processors realize the as above form processing method described in any one.
Another aspect of the present disclosure provides a kind of computer-readable recording medium, is stored thereon with executable instruction, should Instruction makes processor realize the as above form processing method described in any one when being executed by processor.
Another aspect of the present disclosure provides a kind of computer program, and above computer program includes the executable finger of computer Order, above-mentioned instruction are used to realize the as above form processing method described in any one when executed.
In accordance with an embodiment of the present disclosure, the dimension information by the viewing area that obtains display unit and at least one form Dimension information, then compare the size of viewing area and the size of form, it can be determined that go out form in viewing area Whether the border of viewing area can be exceeded during upper displaying, so as to determine the displaying side of form on a display screen according to the result of judgement Formula, easily there is form exhibition when showing form on the electronic equipment of small size so at least partially overcoming in correlation technique Show infull technical problem, and then the displaying chart technique effect completely in the viewing area of electronic equipment.
Brief description of the drawings
By the description to the embodiment of the present disclosure referring to the drawings, the above-mentioned and other purposes of the disclosure, feature and Advantage will be apparent from, in the accompanying drawings:
Fig. 1 diagrammatically illustrate according to the embodiment of the present disclosure can be with the exemplary of application table processing method and its system System architecture;
Fig. 2 diagrammatically illustrates the flow chart of the form processing method according to the embodiment of the present disclosure;
Fig. 3 A diagrammatically illustrate determines that at least one form is being shown according to the embodiment of the present disclosure according to judged result The flow chart of exhibition method on region;
Fig. 3 B diagrammatically illustrate the flow chart of the dimension information of at least one form of acquisition according to the embodiment of the present disclosure;
Fig. 3 C diagrammatically illustrate the height of row and the width of row at least one form of acquisition according to the embodiment of the present disclosure The flow chart of degree;
Fig. 3 D diagrammatically illustrate the flow chart that at least one form is converted into picture according to the embodiment of the present disclosure;
Fig. 4 diagrammatically illustrates the block diagram of list processing system in accordance with an embodiment of the present disclosure;
Fig. 5 A diagrammatically illustrate the block diagram of determining module in accordance with an embodiment of the present disclosure;
Fig. 5 B diagrammatically illustrate the block diagram of the second acquisition module in accordance with an embodiment of the present disclosure;
Fig. 5 C diagrammatically illustrate the block diagram of first acquisition unit in accordance with an embodiment of the present disclosure;
Fig. 5 D diagrammatically illustrate the block diagram of converting unit in accordance with an embodiment of the present disclosure;And
Fig. 6 diagrammatically illustrates the frame of the computer system for being adapted for carrying out form processing method according to the embodiment of the present disclosure Figure.
Embodiment
Hereinafter, it will be described with reference to the accompanying drawings embodiment of the disclosure.However, it should be understood that these descriptions are simply exemplary , and it is not intended to limit the scope of the present disclosure.In addition, in the following description, the description to known features and technology is eliminated, with Avoid unnecessarily obscuring the concept of the disclosure.
Term as used herein is not intended to limit the disclosure just for the sake of description specific embodiment.Used here as Word " one ", " one (kind) " and "the" etc. should also include " multiple ", the meaning of " a variety of ", unless context clearly refers in addition Go out.In addition, term " comprising " as used herein, "comprising" etc. indicate the presence of the feature, step, operation and/or part, But it is not excluded that in the presence of or other one or more features of addition, step, operation or parts.
All terms (including technology and scientific terminology) as used herein have what those skilled in the art were generally understood Implication, unless otherwise defined.It should be noted that term used herein should be interpreted that with consistent with the context of this specification Implication, without should by idealization or it is excessively mechanical in a manner of explain.
Embodiment of the disclosure provide it is a kind of be applied to display unit electronic equipment form processing method and Its system.This method includes obtaining the dimension information of the viewing area of display unit, obtains the dimension information of at least one form, According to the dimension information of the viewing area of acquisition and the dimension information of at least one form, judging the size of at least one form is The no size more than viewing area, judged result is obtained, and according to judged result, determine at least one form in viewing area On exhibition method.
Fig. 1 diagrammatically illustrate according to the embodiment of the present disclosure can be with the exemplary of application table processing method and its system System architecture.
As shown in figure 1, terminal device 101,102,103, network can be included according to the system architecture 100 of the embodiment 104 and server 105.Network 104 is to the offer communication link between terminal device 101,102,103 and server 105 Medium.Network 104 can include various connection types, such as wired, wireless communication link or fiber optic cables etc..
User can be interacted with using terminal equipment 101,102,103 by network 104 with server 105, to receive or send out Send message etc..Various telecommunication customer end applications can be installed on terminal device 101,102,103, such as office software application, (merely illustrative) such as web browser applications, searching class application, JICQ, mailbox client, social platform softwares.
Terminal device 101,102,103 can be the various electronic equipments for having display screen and supporting document browsing, bag Include but be not limited to smart mobile phone, tablet personal computer, pocket computer on knee and desktop computer etc..
Server 105 can be to provide the server of various services, such as utilize terminal device 101,102,103 to user The website browsed provides the back-stage management server (merely illustrative) supported.Back-stage management server can be to the use that receives The data such as family request analyze etc. processing, and by result (such as according to user's acquisition request or the webpage of generation, believe Breath or data etc.) feed back to terminal device.
It should be noted that the form processing method that the embodiment of the present disclosure is provided can typically be performed by server 105. Correspondingly, the list processing system that the embodiment of the present disclosure is provided can be typically arranged in server 105.The embodiment of the present disclosure The form processing method provided can also by different from server 105 and can with terminal device 101,102,103 and/or clothes The server or server cluster that business device 105 communicates perform.Correspondingly, the list processing system that the embodiment of the present disclosure is provided It can be arranged at different from server 105 and the service that can be communicated with terminal device 101,102,103 and/or server 105 In device or server cluster.Or the form processing method that is provided of the embodiment of the present disclosure can also by terminal device 101, 102 or 103 perform, or can also be by the other-end equipment execution different from terminal device 101,102 or 103.Accordingly Ground, the list processing system that the embodiment of the present disclosure is provided can also be arranged in terminal device 101,102 or 103, or are set In the other-end equipment different from terminal device 101,102 or 103.
For example, pending form can be stored in originally in terminal device 101,102 or 103 any one (for example, Terminal device 101, but not limited to this) among, or be stored on External memory equipment and terminal device 101 can be imported into In.Then, terminal device 101 can be performed locally the form processing method that the embodiment of the present disclosure is provided, or will wait to locate Reason form is sent to other-end equipment, server or server cluster, and the other-end by receiving the pending form is set Standby, server or server cluster perform the form processing method that the embodiment of the present disclosure is provided.
It should be understood that the number of the terminal device, network and server in Fig. 1 is only schematical.According to realizing need Will, can have any number of terminal device, network and server.
Fig. 2 diagrammatically illustrates the flow chart of the form processing method according to the embodiment of the present disclosure.
As shown in Fig. 2 this method includes operation S210~S240, wherein:
S210 is being operated, is obtaining the dimension information of the viewing area of display unit.
S220 is being operated, is obtaining the dimension information of at least one form.
In operation S230, according to the dimension information of the viewing area of acquisition and the dimension information of at least one form, judge Whether the size of at least one form exceedes the size of viewing area, obtains judged result.
In operation S240, according to judged result, the exhibition method of at least one form on the display region is determined.
In accordance with an embodiment of the present disclosure, form can be shown on the display unit of electronic equipment completely in order to realize, It can first judge whether the size of at least one form exceedes the size of viewing area, so as to determine at least one according to judged result The exhibition method of individual form on the display region.
In accordance with an embodiment of the present disclosure, the display unit on electronic equipment can be subjected to subregion, obtains multiple viewing areas Domain, each viewing area can be used for showing different contents, and the size of each viewing area can be all identical, can also portion Split-phase is same.For example, one of viewing area is selected to be used to show at least one form from display unit, by other viewing areas Domain is used to show the text information outside form.
In accordance with an embodiment of the present disclosure, after the display unit on electronic equipment is carried out into subregion, can also automatically select One of viewing area is used to show form to be presented.
In accordance with an embodiment of the present disclosure, at least one form can include a form, can also include multiple forms, its Particular number can determine according to actual conditions, not limit herein.Further, the size of different forms can with identical, Can be different.No matter form size it is identical or different, in order that each form can intactly show on an electronic device, The form can be determined according to the dimension information of the form got and the dimension information of the viewing area got before displaying Exhibition method on the viewing area.
In accordance with an embodiment of the present disclosure, in the case of having multiple viewing areas on display unit, form shows accordingly Show that exhibition method when being shown on region can be with identical, can also be different.For example, exhibition methods of the form A on the A of viewing area Can be with identical with exhibition methods of the form B on the B of viewing area, can also be different.
In accordance with an embodiment of the present disclosure, the dimension information by the viewing area that obtains display unit and at least one form Dimension information, then compare the size of viewing area and the size of form, it can be determined that go out form in viewing area Whether the border of viewing area can be exceeded during upper displaying, so as to determine the displaying side of form on a display screen according to the result of judgement Formula, easily there is form exhibition when showing form on the electronic equipment of small size so at least partially overcoming in correlation technique Show infull technical problem, and then the completely technique effect of displaying form in the viewing area of electronic equipment.
Below with reference to Fig. 3 A~Fig. 3 D, the method shown in Fig. 2 is described further in conjunction with specific embodiments.
Fig. 3 A diagrammatically illustrate determines that at least one form is being shown according to the embodiment of the present disclosure according to judged result The flow chart of exhibition method on region.
As shown in Figure 3A, determine that the exhibition method of at least one form on the display region can include according to judged result S241 and S242 is operated, wherein:
, will be at least one in the case where the size of at least one form exceedes the size of viewing area in operation S241 Form is converted into picture, on the display region with least one form of picture presentation.
Operation S242, at least one form size not less than the size of viewing area in the case of, in viewing area At least one form is directly shown on domain.
In accordance with an embodiment of the present disclosure, the exhibition method of form displaying on the display region can include a variety of, herein not Limit.For example, corresponding form can be shown on the display region with pictorial manner, now, user can be carried out to picture Other operations such as amplification, diminution and cutting;Or corresponding form can be shown on the display region with former form, i.e., with line The mode of bar shows form on the display region, and now, user can carry out edit operation to form.On it should be noted that It is only schematical to state the mode that form is shown on the display region, improper restriction is not caused to the disclosure, form is aobvious It can be a part for the embodiment of the present disclosure to show any exhibition method on region.
In accordance with an embodiment of the present disclosure, in the case that the size for judging form exceedes the size of viewing area, system Automatically form can be converted into picture, picture interception is carried out to form without craft, reach automation conversion picture to protect Demonstrate,prove the effect that can be completely shown.
Fig. 3 B diagrammatically illustrate the flow chart of the dimension information of at least one form of acquisition according to the embodiment of the present disclosure.
As shown in Figure 3 B, operation S221~S223 can be included by obtaining the dimension information of at least one form, wherein:
In operation S221, the width of the height of row and row at least one form is obtained.
In operation S222, obtain the outside displaying content and at least one form to be shown together with least one form it Between range information, outside displaying content at least a portion be located at outside at least one form.
In operation S223, according to get height, width, range information, calculate the dimension information of at least one form.
In accordance with an embodiment of the present disclosure, each form can include at least a line and at least one row, obtain the chi of form Very little information can include obtaining the width of the height of row and row in form, and the outside displaying content shown together with form with The distance between form information.Wherein, outside displaying content can be word, picture etc., be illustrated in the outside of form.Computational chart The dimension information of lattice can be calculated according to the row height, column width, range information of acquisition.
In accordance with an embodiment of the present disclosure, shown simultaneously by the row height of form, column width and with form other outer For the distance between portion's displaying content to determine the size of form, form can be more accurately determined in viewing area by having reached The effect of shared space size, thus can prevent form from can not completely show on an electronic device.
Fig. 3 C diagrammatically illustrate the height of row and the width of row at least one form of acquisition according to the embodiment of the present disclosure The flow chart of degree.
As shown in Figure 3 C, obtain at least one form the height of row and the width of row can include operation S2211~ S2213, wherein:
S2211 is being operated, is obtaining the height and width of each cell at least one form successively.
In operation S2212, the height that the cell is expert at is calculated according to the height of cell.
S2213 is being operated, according to the width of the width calculation of the cell cell column.
In accordance with an embodiment of the present disclosure, multiple units can be included in form, every a line is by least one unit in form Lattice are formed, and each row are made up of at least one cell in form, therefore, obtain the height of row and row at least one form Width can calculate the height that the cell is expert at by the height of computing unit lattice, pass through the width gauge of computing unit lattice Calculate the width of the cell column.
In accordance with an embodiment of the present disclosure, by the height and width of the cell in computation sheet, give and how to calculate A kind of mode of form size.It should be noted that the mode of computation sheet size can also be the length for obtaining lines in form Degree.Therefore, obtaining at least one form the mode of the height of row and the width of row has a variety of, does not limit herein.
In accordance with an embodiment of the present disclosure, calculating the height that the cell is expert at according to the height of cell is included the row Height of the height highest cell of middle cell highly as the row;According to the width calculation of cell cell place Width of the width of row including the most wide cell width of width during this is arranged as the row.
In accordance with an embodiment of the present disclosure, the height of cell can be with identical in the same row, can also be different.In cell Height difference in the case of, using the height highest cell of cell in the row highly as the height of the row.Same The width of cell can be with identical in row, can also be different.In the case of the width difference of cell, cell during this is arranged Width of the most wide cell width of width as the row.Reach the effect of accurate computation sheet size, be advantageous to form Complete displaying.
Fig. 3 D diagrammatically illustrate the flow chart that at least one form is converted into picture according to the embodiment of the present disclosure.
As shown in Figure 3 D, the method at least one form being converted into picture includes operation S2411~S2413, wherein:
In operation S2411, coordinate information of each cell in corresponding form at least one form is obtained.
S2412 is being operated, is obtaining the size information of each cell.
In operation S2413, at least one form is converted into according to the size information of coordinate information He each cell Picture.
In accordance with an embodiment of the present disclosure, it is automatic according to the size information of cell coordinate information in the table and cell Form is converted into picture, without craft to form carry out picture interception, meanwhile, can intelligence judge whether need form Picture is converted into, has reached the effect of automation conversion picture.
Fig. 4 diagrammatically illustrates the block diagram of list processing system in accordance with an embodiment of the present disclosure.
As shown in figure 4, list processing system 400 include identification the first acquisition module 410, the second acquisition module 420, Judge module 430 and determining module 440.Wherein:
First acquisition module 410 is used for the dimension information for obtaining the viewing area of display unit.
Second acquisition module 420 is used for the dimension information for obtaining at least one form.
Judge module 430 is used for the dimension information of viewing area and the dimension information of at least one form according to acquisition, Judge whether the size of at least one form exceedes the size of viewing area, obtain judged result.
Determining module 440 is used for according to judged result, determines the exhibition method of at least one form on the display region.
In accordance with an embodiment of the present disclosure, the dimension information by the viewing area that obtains display unit and at least one form Dimension information, then compare the size of viewing area and the size of form, it can be determined that go out form in viewing area Whether the border of viewing area can be exceeded during upper displaying, so as to determine the displaying side of form on a display screen according to the result of judgement Formula, easily there is form exhibition when showing form on the electronic equipment of small size so at least partially overcoming in correlation technique Show infull technical problem, and then the displaying chart technique effect completely in the viewing area of electronic equipment.
Fig. 5 A diagrammatically illustrate the block diagram of determining module in accordance with an embodiment of the present disclosure.
As shown in Figure 5A, determining module 440 includes converting unit 441 and display unit 442.Wherein:
Converting unit 441 is used in the case where the size of at least one form exceedes the size of viewing area, will at least One form is converted into picture, on the display region with least one form of picture presentation.
In the case that display unit 442 is used for size at least one form not less than the size of viewing area, aobvious Show and at least one form is directly shown on region.
In accordance with an embodiment of the present disclosure, in the case that the size for judging form exceedes the size of viewing area, by table Lattice are converted into picture, carry out picture interception to form without craft, have reached the effect of automation conversion picture.
Fig. 5 B diagrammatically illustrate the block diagram of the second acquisition module in accordance with an embodiment of the present disclosure.
As shown in Figure 5 B, the second acquisition module 420 includes first acquisition unit 421, second acquisition unit 422 and first is counted Calculate unit 423.Wherein:
First acquisition unit 421 is used to obtain the width of the height of row and row at least one form.
Second acquisition unit 422 is used to obtain the outside displaying content and at least one to show together with least one form The distance between individual form information, at least a portion of outside displaying content are located at outside at least one form.
First computing unit 423 be used for according to be calculated height, width, range information, calculate at least one form Dimension information.
In accordance with an embodiment of the present disclosure, the height of row of computation sheet, the width of row and form and other displayings are passed through Pre-determined distance during content displaying between the two, has reached that more can accurately to calculate form shared in viewing area The effect of space size.
Fig. 5 C diagrammatically illustrate the block diagram of first acquisition unit in accordance with an embodiment of the present disclosure.
As shown in Figure 5 C, first acquisition unit 421 includes the first acquisition subelement 4211, the and of the first computation subunit 4212 Second computation subunit 4213.Wherein:
First acquisition subelement 4211 is used for the height and width for obtaining each cell at least one form successively.
First computation subunit 4212 is used for the height for calculating the cell according to the height of cell and being expert at.
Second computation subunit 4213 is used for the width according to the width calculation of the cell cell column.
In accordance with an embodiment of the present disclosure, by the height and width of the cell in computation sheet, give and how to calculate A kind of mode of form size.It should be noted that the mode of computation sheet size can also be the length for obtaining lines in form Degree.
In accordance with an embodiment of the present disclosure, the first computation subunit 4212 is additionally operable to the height highest of cell in the row Height of the cell highly as the row.Second computation subunit 4213 be additionally operable to include by this arrange in the most wide cell of width Width of the width as the row.
In accordance with an embodiment of the present disclosure, the height of cell can be with identical in the same row, can also be different.In cell Height difference in the case of, using the height highest cell of cell in the row highly as the height of the row.Same The width of cell can be with identical in row, can also be different.In the case of the width difference of cell, cell during this is arranged Width of the most wide cell width of width as the row.Reach the effect of accurate computation sheet size, be advantageous to form Complete displaying.
Fig. 5 D diagrammatically illustrate the block diagram of converting unit in accordance with an embodiment of the present disclosure.
As shown in Figure 5 D, converting unit 441 includes the second acquisition subelement the 4411, the 3rd acquisition subelement 4412 and conversion Subelement 4413.Wherein:
Second acquisition subelement 4411 is used to obtain seat of each cell in corresponding form at least one form Mark information.
3rd acquisition subelement 4412 is used for the size information for obtaining each cell.
Conversion subunit 4413 is used at least one form according to the size information of coordinate information and each cell It is converted into picture.
In accordance with an embodiment of the present disclosure, it is automatic according to the size information of cell coordinate information in the table and cell Form is converted into picture, without craft to form carry out picture interception, meanwhile, can intelligence judge whether need form Picture is converted into, has reached the effect of automation conversion picture.
It should be noted that in embodiment of the disclosure in list processing system part and embodiment of the disclosure at form Reason method part is corresponding, and the description of list processing system part is with specific reference to form processing method part, herein no longer Repeat.
Fig. 6 diagrammatically illustrates the frame of the computer system for being adapted for carrying out form processing method according to the embodiment of the present disclosure Figure.Computer system shown in Fig. 6 is only an example, the function and use range of the embodiment of the present disclosure should not be brought and appointed What is limited.
Another aspect of the present disclosure additionally provides a kind of computer system, including one or more processors;Memory, use In storing one or more programs, wherein, when one or more programs are executed by one or more processors so that one or Multiple processors realize the form processing method of as above any one.
As shown in fig. 6, including processor 601 according to the computer system 600 of the embodiment of the present disclosure, it can be according to storage Program in read-only storage (ROM) 602 is loaded into random access storage device (RAM) 603 from storage part 608 Program and perform various appropriate actions and processing.Processor 601 can for example include general purpose microprocessor (such as CPU), refer to Make set processor and/or related chip group and/or special microprocessor (for example, application specific integrated circuit (ASIC)), etc..Processing Device 610 can also include being used for the onboard storage device for caching purposes.Processor 610 can include being used to perform with reference to figure 2, Fig. 3 A Single treatment unit either multiple processing of the different actions of the method flow according to the embodiment of the present disclosure of~Fig. 3 D descriptions Unit.
In RAM 603, it is stored with system 600 and operates required various programs and data.Processor 601, ROM 602 with And RAM 603 is connected with each other by bus 604.Processor 601 is held by performing the program in ROM 602 and/or RAM 603 Row is above with reference to Fig. 2, the various operations of Fig. 3 A~Fig. 3 D descriptions.It is noted that described program can also be stored in except ROM 602 In one or more memories beyond RAM 603.Processor 601 can also be stored in one or more of by execution Program in memory performs above with reference to Fig. 2, the various operations of Fig. 3 A~Fig. 3 D descriptions.
In accordance with an embodiment of the present disclosure, system 600 can also include input/output (I/O) interface 605, input/output (I/O) interface 606 is also connected to bus 604.System 600 can also include be connected to I/O interfaces 605 with one in lower component Item is multinomial:Importation 606 including keyboard, mouse etc.;Including such as cathode-ray tube (CRT), liquid crystal display (LCD) Deng and loudspeaker etc. output par, c 607;Storage part 608 including hard disk etc.;And including such as LAN card, modulatedemodulate Adjust the communications portion 609 of the NIC of device etc..Communications portion 609 performs communication process via the network of such as internet. Driver 610 is also according to needing to be connected to I/O interfaces 605.Detachable media 611, such as disk, CD, magneto-optic disk, semiconductor Memory etc., it is arranged on as needed on driver 610, in order to which the computer program read from it is pacified as needed Load storage part 608.
In accordance with an embodiment of the present disclosure, it may be implemented as computer software journey above with reference to the method for flow chart description Sequence.For example, embodiment of the disclosure includes a kind of computer program product, it includes carrying meter on a computer-readable medium Calculation machine program, the computer program include the program code for being used for the method shown in execution flow chart.In such embodiments, The computer program can be downloaded and installed by communications portion 609 from network, and/or be pacified from detachable media 611 Dress.When the computer program is performed by processor 601, the above-mentioned function of being limited in the system of the embodiment of the present disclosure is performed.Root According to embodiment of the disclosure, system as described above, unit, module, unit etc. can by computer program module come Realize.
It should be noted that the computer-readable medium shown in the disclosure can be computer-readable signal media or meter Calculation machine readable storage medium storing program for executing either the two any combination.Computer-readable recording medium for example can be --- but not Be limited to --- electricity, magnetic, optical, electromagnetic, system, device or the device of infrared ray or semiconductor, or it is any more than combination.Meter The more specifically example of calculation machine readable storage medium storing program for executing can include but is not limited to:Electrical connection with one or more wires, just Take formula computer disk, hard disk, random access storage device (RAM), read-only storage (ROM), erasable type and may be programmed read-only storage Device (EPROM or flash memory), optical fiber, portable compact disc read-only storage (CD-ROM), light storage device, magnetic memory device, Or above-mentioned any appropriate combination.In the disclosure, computer-readable recording medium can any include or store journey The tangible medium of sequence, the program can be commanded the either device use or in connection of execution system, device.And at this In open, computer-readable signal media can be included in a base band or the data-signal as carrier wave part propagation, Wherein carry computer-readable program code.The data-signal of this propagation can take various forms, including but unlimited In electromagnetic signal, optical signal or above-mentioned any appropriate combination.Computer-readable signal media can also be that computer can Any computer-readable medium beyond storage medium is read, the computer-readable medium, which can send, propagates or transmit, to be used for By instruction execution system, device either device use or program in connection.Included on computer-readable medium Program code can be transmitted with any appropriate medium, be included but is not limited to:Wirelessly, electric wire, optical cable, RF etc., or it is above-mentioned Any appropriate combination.In accordance with an embodiment of the present disclosure, computer-readable medium can include above-described ROM 602 And/or one or more memories beyond RAM 603 and/or ROM 602 and RAM 603.
Flow chart and block diagram in accompanying drawing, it is illustrated that according to the system of the various embodiments of the disclosure, method and computer journey Architectural framework in the cards, function and the operation of sequence product.At this point, each square frame in flow chart or block diagram can generation The part of one module of table, program segment or code, a part for above-mentioned module, program segment or code include one or more For realizing the executable instruction of defined logic function.It should also be noted that some as replace realization in, institute in square frame The function of mark can also be with different from the order marked in accompanying drawing generation.For example, two square frames succeedingly represented are actual On can perform substantially in parallel, they can also be performed in the opposite order sometimes, and this is depending on involved function.Also It is noted that the combination of each square frame and block diagram in block diagram or flow chart or the square frame in flow chart, can use and perform rule Fixed function or the special hardware based system of operation are realized, or can use the group of specialized hardware and computer instruction Close to realize.
As on the other hand, the disclosure additionally provides a kind of computer-readable recording medium, the computer-readable storage medium Matter can be included in the equipment described in above-described embodiment;Can also be individualism, and without be incorporated the equipment in. Above computer readable storage medium storing program for executing carries one or more program, when said one or multiple programs by one this set During standby execution so that the equipment performs:The dimension information of the viewing area of display unit is obtained, obtains the chi of at least one form Very little information, according to the dimension information of the viewing area of acquisition and the dimension information of at least one form, judge at least one form Size whether exceed viewing area size, obtain judged result, and according to judged result, determine that at least one form exists Exhibition method on viewing area.Alternatively, according to judged result, the displaying side of at least one form on the display region is determined In the case that formula is included in size of the size more than viewing area of at least one form, at least one form is converted into figure Piece, on the display region with least one form of picture presentation, and at least one form size not less than viewing area Size in the case of, directly show at least one form on the display region.Alternatively, the size of at least one form is obtained Information includes:The width of the height of row and row at least one form is obtained, obtains what is shown together with least one form Outside displaying the distance between content and at least one form information, at least a portion of outside displaying content is positioned at least one Outside form, and according to be calculated height, width, range information, calculate the dimension information of at least one form.It is optional Ground, obtaining the width of the height of row and row at least one form includes obtaining each cell at least one form successively Height and width, the height that the cell is expert at, and the width calculation according to cell are calculated according to the height of cell The width of the cell column.Alternatively, calculating that the height that the cell is expert at includes according to the height of cell should Height of the height highest cell of cell highly as the row in row, and according to the width calculation of the cell unit Width of the width of lattice column including the most wide cell width of width during this is arranged as the row.Alternatively, at least one In the case that the size of individual form exceedes the size of viewing area, at least one form is converted into picture includes obtaining at least one Coordinate information of each cell in corresponding form in individual form, obtain the size information of each cell, Yi Jigen At least one form is converted into picture according to the size information of coordinate information He each cell.
Embodiment of the disclosure is described above.But the purpose that these embodiments are merely to illustrate that, and It is not intended to limit the scope of the present disclosure.Although respectively describing each embodiment more than, but it is not intended that each reality Use can not be advantageously combined by applying the measure in example.The scope of the present disclosure is defined by the appended claims and the equivalents thereof.Do not take off From the scope of the present disclosure, those skilled in the art can make a variety of alternatives and modifications, and these alternatives and modifications should all fall at this Within scope of disclosure.

Claims (14)

1. a kind of form processing method, applied to the electronic equipment with display unit, methods described includes:
Obtain the dimension information of the viewing area of the display unit;
Obtain the dimension information of at least one form;
According to the dimension information of the viewing area of acquisition and the dimension information of at least one form, judge described at least Whether the size of one form exceedes the size of the viewing area, obtains judged result;And
According to the judged result, exhibition method of at least one form on the viewing area is determined.
2. according to the method for claim 1, wherein, according to the judged result, determine at least one form in institute The exhibition method stated on viewing area includes:
In the case where the size of at least one form exceedes the size of the viewing area, by least one form Picture is converted into, with least one form described in the picture presentation on the viewing area;And
In the case of size of the size not less than the viewing area of at least one form, on the viewing area Directly show at least one form.
3. according to the method for claim 1, wherein, obtaining the dimension information of at least one form includes:
Obtain the width of the height of row and row at least one form;
Obtain between the outside displaying content to be shown together with least one form and at least one form away from From information, at least a portion of the outside displaying content is located at outside at least one form;And
According to acquire the height, the width, the range information, calculate the size letter of at least one form Breath.
4. according to the method for claim 3, wherein, obtain the width bag of the height of row and row at least one form Include:
The height and width of each cell at least one form are obtained successively;
The height that the cell is expert at is calculated according to the height of the cell;And
According to the width of the width calculation of the cell cell column.
5. the method according to claim 11, wherein:
Calculating the height that the cell is expert at according to the height of the cell is included the height highest of cell in the row Height of the cell highly as the row;And
According to the width of the width calculation of the cell cell column include by this arrange in the most wide cell of width Width of the width as the row.
6. according to the method for claim 2, wherein, exceed the viewing area in the size of at least one form In the case of size, at least one form is converted into picture includes:
Obtain coordinate information of each cell in corresponding form at least one form;
Obtain the size information of each cell;And
At least one form is converted into by picture according to the size information of the coordinate information and each cell.
7. a kind of list processing system, applied to the electronic equipment with display unit, the system includes:
First acquisition module, the dimension information of the viewing area for obtaining the display unit;
Second acquisition module, for obtaining the dimension information of at least one form;
Judge module, for the dimension information of the viewing area according to acquisition and the size letter of at least one form Breath, judges whether the size of at least one form exceedes the size of the viewing area, obtains judged result;And
Determining module, for according to the judged result, determining displaying of at least one form on the viewing area Mode.
8. system according to claim 7, wherein, the determining module includes:
Converting unit, in the case of in the size of at least one form more than the size of the viewing area, by institute State at least one form and be converted into picture, with least one form described in the picture presentation on the viewing area;And
Display unit, in the case of size of the size not less than the viewing area of at least one form, At least one form is directly shown on the viewing area.
9. system according to claim 7, wherein, second acquisition module includes:
First acquisition unit, for obtaining the width of the height of row and row at least one form;
Second acquisition unit, for obtain the outside displaying content to be shown together with least one form with it is described at least The distance between one form information, at least a portion of the outside displaying content are located at outside at least one form; And
First computing unit, for according to acquire the height, the width, the range information, calculate described in extremely The dimension information of a few form.
10. system according to claim 9, wherein, the first acquisition unit includes:
First obtains subelement, for obtaining the height and width of each cell at least one form successively;
First computation subunit, for calculating the height that the cell is expert at according to the height of the cell;And
Second computation subunit, the width for the cell column of the width calculation according to the cell.
11. system according to claim 10, wherein:
First computation subunit is additionally operable to the height highest cell using cell in the row highly as the height of the row;With And
Second computation subunit be additionally operable to include using this arrange in the most wide cell width of width as the row width.
12. system according to claim 8, wherein, the converting unit includes:
Second obtains subelement, for obtaining coordinate letter of each cell in corresponding form at least one form Breath;
3rd obtains subelement, for obtaining the size information of each cell;And
Conversion subunit, for will be described at least one according to the size information of the coordinate information and each cell Form is converted into picture.
13. a kind of computer system, including:
One or more processors;
Memory, for storing one or more programs,
Wherein, when one or more of programs are by one or more of computing devices so that one or more of Processor realizes the form processing method any one of claim 1 to 6.
14. a kind of computer-readable recording medium, is stored thereon with executable instruction, the instruction makes processing when being executed by processor Device realizes the form processing method any one of claim 1 to 6.
CN201710816050.0A 2017-09-11 2017-09-11 Form processing method and system Active CN107656911B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710816050.0A CN107656911B (en) 2017-09-11 2017-09-11 Form processing method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710816050.0A CN107656911B (en) 2017-09-11 2017-09-11 Form processing method and system

Publications (2)

Publication Number Publication Date
CN107656911A true CN107656911A (en) 2018-02-02
CN107656911B CN107656911B (en) 2021-08-17

Family

ID=61129528

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710816050.0A Active CN107656911B (en) 2017-09-11 2017-09-11 Form processing method and system

Country Status (1)

Country Link
CN (1) CN107656911B (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109815461A (en) * 2018-12-07 2019-05-28 北京天健源达科技股份有限公司 A method of editor's table
CN110659527A (en) * 2018-06-29 2020-01-07 微软技术许可有限责任公司 Form detection in electronic forms
CN112286603A (en) * 2020-09-28 2021-01-29 长沙市到家悠享网络科技有限公司 Table display method and device, electronic equipment and storage medium
CN112632921A (en) * 2020-11-26 2021-04-09 腾讯科技(深圳)有限公司 Display processing method, device, terminal and storage medium for multimedia data
CN112784543A (en) * 2020-06-08 2021-05-11 北京金山办公软件股份有限公司 Picture adjusting method, device, equipment and storage medium
CN113111285A (en) * 2021-04-15 2021-07-13 西安诺瓦星云科技股份有限公司 Form processing method and device, electronic equipment and computer readable storage medium
CN113268686A (en) * 2021-05-25 2021-08-17 山东卓创资讯股份有限公司 Processing method for multiple browsing modes of form in information at APP (application) end

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6833844B1 (en) * 1999-06-21 2004-12-21 Kabushiki Kaisha Toshiba System display apparatus and storing medium
CN102446051A (en) * 2010-10-11 2012-05-09 英业达股份有限公司 Webpage display adjustment system and display adjustment method thereof
CN103853806A (en) * 2013-09-26 2014-06-11 深圳海联讯科技股份有限公司 Method and device for converting table
CN104571862A (en) * 2014-12-30 2015-04-29 北京奇虎科技有限公司 Method and device for displaying data in mobile terminal page
CN105069023A (en) * 2015-07-17 2015-11-18 孙巍 Method, device and system for playing webpage image-text in television
CN106886511A (en) * 2016-06-21 2017-06-23 阿里巴巴集团控股有限公司 A kind of processing method and processing device of network form

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6833844B1 (en) * 1999-06-21 2004-12-21 Kabushiki Kaisha Toshiba System display apparatus and storing medium
CN102446051A (en) * 2010-10-11 2012-05-09 英业达股份有限公司 Webpage display adjustment system and display adjustment method thereof
CN103853806A (en) * 2013-09-26 2014-06-11 深圳海联讯科技股份有限公司 Method and device for converting table
CN104571862A (en) * 2014-12-30 2015-04-29 北京奇虎科技有限公司 Method and device for displaying data in mobile terminal page
CN105069023A (en) * 2015-07-17 2015-11-18 孙巍 Method, device and system for playing webpage image-text in television
CN106886511A (en) * 2016-06-21 2017-06-23 阿里巴巴集团控股有限公司 A kind of processing method and processing device of network form

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11556703B2 (en) 2018-06-29 2023-01-17 Microsoft Technology Licensing, Llc Table detection in spreadsheet
CN110659527A (en) * 2018-06-29 2020-01-07 微软技术许可有限责任公司 Form detection in electronic forms
CN110659527B (en) * 2018-06-29 2023-03-28 微软技术许可有限责任公司 Form detection in electronic forms
CN109815461A (en) * 2018-12-07 2019-05-28 北京天健源达科技股份有限公司 A method of editor's table
CN109815461B (en) * 2018-12-07 2024-02-09 北京天健源达科技股份有限公司 Method for editing form
CN112784543A (en) * 2020-06-08 2021-05-11 北京金山办公软件股份有限公司 Picture adjusting method, device, equipment and storage medium
CN112286603A (en) * 2020-09-28 2021-01-29 长沙市到家悠享网络科技有限公司 Table display method and device, electronic equipment and storage medium
CN112632921A (en) * 2020-11-26 2021-04-09 腾讯科技(深圳)有限公司 Display processing method, device, terminal and storage medium for multimedia data
CN112632921B (en) * 2020-11-26 2022-02-11 腾讯科技(深圳)有限公司 Display processing method, device, terminal and storage medium for multimedia data
CN113111285A (en) * 2021-04-15 2021-07-13 西安诺瓦星云科技股份有限公司 Form processing method and device, electronic equipment and computer readable storage medium
CN113111285B (en) * 2021-04-15 2024-06-04 西安诺瓦星云科技股份有限公司 Form processing method, form processing device, electronic equipment and computer readable storage medium
CN113268686B (en) * 2021-05-25 2022-08-26 山东卓创资讯股份有限公司 Processing method for multiple browsing modes of form in information at APP (application) end
CN113268686A (en) * 2021-05-25 2021-08-17 山东卓创资讯股份有限公司 Processing method for multiple browsing modes of form in information at APP (application) end

Also Published As

Publication number Publication date
CN107656911B (en) 2021-08-17

Similar Documents

Publication Publication Date Title
CN107656911A (en) Form processing method and its system
CN109460513A (en) Method and apparatus for generating clicking rate prediction model
CN107295095A (en) The method and apparatus for pushing and showing advertisement
CN107656768A (en) Control the method and its system of page jump
CN107844371A (en) Task processing method, system and electronic equipment
CN107463675A (en) Data processing method and its system
US10969922B2 (en) Messaging system for providing multi-zone messages
CN107329585A (en) Method and apparatus for inputting word
CN107578052A (en) Kinds of goods processing method and system
CN106919711A (en) The method and apparatus of the markup information based on artificial intelligence
CN106896937A (en) Method and apparatus for being input into information
US20170154362A1 (en) System and method for supporting sale
CN108595448A (en) Information-pushing method and device
US8819537B2 (en) Information generation device, information generation method, information generation program, and recording medium
CN109597956A (en) Page display method and device
CN107451869A (en) Method and apparatus for pushed information
CN107679022A (en) Uncommon word processing method and its system
CN107515947A (en) picture loading method and its system
CN109993619A (en) Data processing method
CN113515717B (en) Navigation page updating method and device, electronic equipment and storage medium
CN107577664A (en) Method and apparatus for display information
CN109474884B (en) Data processing method and system
CN108121969A (en) For handling the method and apparatus of image
CN107562845A (en) Method for pushing, system and electronic equipment
CN109903107A (en) Method and apparatus for generating information

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant