CN104731813A - Form file display method and system - Google Patents

Form file display method and system Download PDF

Info

Publication number
CN104731813A
CN104731813A CN201310717820.8A CN201310717820A CN104731813A CN 104731813 A CN104731813 A CN 104731813A CN 201310717820 A CN201310717820 A CN 201310717820A CN 104731813 A CN104731813 A CN 104731813A
Authority
CN
China
Prior art keywords
content
converted
identified
picture
cell
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.)
Pending
Application number
CN201310717820.8A
Other languages
Chinese (zh)
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 Kingsoft Office Software Inc
Zhuhai Kingsoft Office Software Co Ltd
Original Assignee
Beijing Kingsoft Office Software Inc
Zhuhai Kingsoft Office Software 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 Kingsoft Office Software Inc, Zhuhai Kingsoft Office Software Co Ltd filed Critical Beijing Kingsoft Office Software Inc
Priority to CN201310717820.8A priority Critical patent/CN104731813A/en
Priority to PCT/CN2014/093817 priority patent/WO2015096634A1/en
Publication of CN104731813A publication Critical patent/CN104731813A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/24Querying
    • G06F16/248Presentation of query results
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/26Visual data mining; Browsing structured data

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computational Linguistics (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

An embodiment of the invention provides a form file display method and system. Form content of form files can be identified, independent form regions and objects can be arrayed vertically, and the quantity of form content displayed through a device with a narrow screen is increased. The quantity of information displayed through the screen simultaneously is large, the user's using experience is fine, and the complex manual operation for displayed content switching is avoided for the user; compared with the prior art, the method and system has the advantages of simple operation and convenience for usage.

Description

Form document display packing and system
Technical field
The present invention relates to equipment display technique field, particularly relate to form document display packing and system.
Background technology
Along with the development of science and technology, mobile office technology has also entered into the life of people.By mobile office technology, user can open office software in the terminal, understands the content stored in office software.
Multiple form can have been deposited in a form document page handled by office software, each form is an independent table area, such as shown in Fig. 1, in a form document page, deposit the student information table 001 of attached primary school one class and the student information table 002 of attached primary school two classes simultaneously.Edit because the content in form document generally has at computing machine etc. in the equipment of larger width screen, therefore many times deposited multiple forms are transversely arranged.In this case, when opening form document in the mobile terminals such as mobile phone, because the screen width of mobile terminal is less, therefore transversely arranged multiple forms all cannot show in the screen of mobile terminal.This just needs user to drag slider bar or presses specific keys to realize rolling or the switching of screen display content, with the content helping user to see other parts.
But this mode needs user repeatedly to carry out manual operation, complex operation.Meanwhile, although can see each form by operation, show form negligible amounts in the screen of mobile terminal, the information causing prior art sub-screen simultaneously to show is less simultaneously, and the use sense that also have impact on user is subject to.Certainly, other have in the equipment of less width screen and also have same problem.
Summary of the invention
The object of the embodiment of the present invention is to provide a kind of form document display packing and system, to realize the object showing more multilist content in the equipment with less width screen.
For achieving the above object, the embodiment of the invention discloses a kind of form document display packing, described method comprises:
Read form document, identify the table content in described form document, wherein, described table content comprises object and independent table area, and wherein, described object comprises at least one in text box, picture and chart;
Identified described table content is carried out vertical array and shown.
Optionally, the described step of identified described table content being carried out vertical array and also showing, comprising:
Identified independent table area is converted to HTML (Hypertext Markup Language) html data, by identified not for the object of picture is converted to picture;
Identified picture, the picture be converted to, the independent table area that is converted to html data are carried out vertical array and show in webpage.
Optionally, the described step of identified described table content being carried out vertical array and also showing, comprising:
Identified described table content is carried out vertical array in form document program and shows;
Or, identified described table content is converted to the table content that text program is supported, in text program, carries out vertical array and show;
Or, identified described table content is converted to picture and carries out vertical array and show;
Or, identified described table content is converted to the table content that Portable document form PDF program is supported, in PDF program, carries out vertical array and show.
Optionally, described identified picture, the picture be converted to, the independent table area that is converted to html data are carried out vertical array and the step of display in webpage, comprising:
Identified picture, the picture be converted to, the independent table area that is converted to html data are carried out vertical array and insert white space between adjacent table content in webpage;
Vertically disposed table content after inserting white space is shown in described webpage.
Optionally, described reading form document, identifies the table content in described form document, comprising:
Read form document, travel through the cell in described form document, when determining that the content of a cell is not for time empty, using this cell as current cell;
The content be labeled as by described current cell in independent table area is not empty cell, traversing content in the cell adjacent with described current cell is not empty adjacent cells lattice, be not that the adjacent cells lattice of sky are as current cell using described content, circulation performs this step, until meet the following conditions: adjacent with current cell and the content being positioned at each cell outside described independent table area is sky;
Maximum row, minimum row, maximum column and minimum row in the row and column of the content be labeled as in independent table area not belonging to multiple cells of outermost in empty cell are surrounded the table area formed and is identified as independent table area.
Optionally, at reading form document, after identifying the table content in described form document, described method also comprises:
Read the attribute of a configuration of the independent table area identified, the read attribute of a configuration is converted to the attribute of a configuration of cascading style list language;
Described identified picture, the picture be converted to, the independent table area that is converted to html data are carried out vertical array and the step of display in webpage, comprising:
Identified picture, the picture be converted to, the independent table area that is converted to html data are carried out vertical array and use the attribute of a configuration of the attribute of a configuration as vertically disposed independent table area of described cascading style list language in webpage, the vertically disposed independent table area of the attribute of a configuration with described cascading style list language is shown.
Optionally, described identified picture, the picture be converted to, the independent table area that is converted to html data are carried out vertical array and the step of display in webpage, comprising:
Choose identified picture, the picture be converted to according to order of choosing from top to bottom, be converted to the independent table area of html data, when the institute of the superiors' cell in region shared by identified at least two table content is expert at identical, according to order from left to right choose the superiors' cell in shared region identical table content of being expert at, selected table content is carried out vertical array according to order from top to bottom in webpage and shows.
A kind of form document display system, described system comprises: read module and display module,
Described read module, for reading form document, identifies the table content in described form document, and wherein, described table content comprises object and independent table area, and wherein, described object comprises at least one in text box, picture and chart;
Described display module, for carrying out vertical array by identified described table content and show.
Optionally, described display module comprises: transform subblock and the first display sub-module,
Described transform subblock, for identified independent table area is converted to HTML (Hypertext Markup Language) html data, by identified not for the object of picture is converted to picture;
Described first display sub-module, for carrying out vertical array by identified picture, the picture be converted to, the independent table area that is converted to html data and show in webpage.
Optionally, described display module comprises: the second display sub-module, the 3rd display sub-module, the 4th display sub-module or the 5th display sub-module,
Described second display sub-module, for carrying out vertical array by identified described table content and showing in form document program;
Described 3rd display sub-module, for identified described table content being converted to the table content that text program is supported, carrying out vertical array and showing in text program;
Described 4th display sub-module, for being converted to picture by identified described table content and carrying out vertical array and show;
Described 5th display sub-module, for identified described table content being converted to the table content that Portable document form PDF program is supported, carrying out vertical array and showing in PDF program.
Optionally, described first display sub-module comprises: intron module and arrangement submodule,
Described intron module, for carrying out vertical array by identified picture, the picture be converted to, the independent table area that is converted to html data and insert white space between adjacent table content in webpage;
Described arrangement submodule, for showing in described webpage the vertically disposed table content after insertion white space.
Optionally, described read module comprises: traversal submodule, expansion submodule and recognin module,
Described traversal submodule, for reading form document, travels through the cell in described form document, when determining that the content of a cell is not for time empty, using this cell as current cell;
Described expansion submodule, for the cell that the content be labeled as by described current cell in independent table area is not sky, traversing content in the cell adjacent with described current cell is not empty adjacent cells lattice, be not that the adjacent cells lattice of sky are as current cell using described content, circulation performs this step, until meet the following conditions: adjacent with current cell and the content being positioned at each cell outside described independent table area is sky;
Described recognin module, is identified as independent table area for maximum row, minimum row, maximum column and the minimum row in the row and column of the content be labeled as in independent table area not belonging to multiple cells of outermost in empty cell are surrounded the table area formed.
Optionally, also comprise: attribute changes module, for reading form document, after identifying the table content in described form document at described read module, read the attribute of a configuration of the independent table area identified, the read attribute of a configuration is converted to the attribute of a configuration of cascading style list language;
Described first display sub-module is specifically set to: identified picture, the picture be converted to, the independent table area that is converted to html data are carried out vertical array and use the attribute of a configuration of the attribute of a configuration as vertically disposed independent table area of described cascading style list language in webpage, shows the vertically disposed independent table area of the attribute of a configuration with described cascading style list language.
Optionally, described first display sub-module, comprising: choose submodule and vertical submodule,
Describedly choose submodule, for choosing identified picture, the picture be converted to according to order of choosing from top to bottom, be converted to the independent table area of html data, when the institute of the superiors' cell in region shared by identified at least two table content is expert at identical, according to order from left to right choose the superiors' cell in shared region identical table content of being expert at;
Described vertical submodule, for carrying out vertical array according to order from top to bottom by selected table content and showing in webpage.
The form document display packing that the embodiment of the present invention provides and system, can identify that independent table area and object are carried out vertical array by the table content in form document, makes in the equipment of less width screen, show form content quantity simultaneously and improve.The information that the present invention shows in screen is simultaneously more, and user's use sense, by good, does not need user to carry out manual operation frequently to switch shown content yet, simple to operate in terms of existing technologies, easy to use.
Accompanying drawing explanation
In order to be illustrated more clearly in the embodiment of the present invention or technical scheme of the prior art, be briefly described to the accompanying drawing used required in embodiment or description of the prior art below, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
Fig. 1 is the independent table area schematic diagram in form document;
The process flow diagram of a kind of form document display packing that Fig. 2 provides for the embodiment of the present invention;
The schematic diagram of table content in the form document that Fig. 3 provides for the embodiment of the present invention;
The process flow diagram of independent table area is identified in the another kind of form document display packing that Fig. 4 provides for the embodiment of the present invention;
The process flow diagram of vertical array and Graphics Processing is carried out in the another kind of form document display packing that Fig. 5 provides for the embodiment of the present invention;
Fig. 6 for the embodiment of the present invention provide a kind of use form document display packing of the present invention to process after the display interface schematic diagram that obtains;
The process flow diagram of the another kind of form document display packing that Fig. 7 provides for the embodiment of the present invention;
The structural representation of a kind of form document display system that Fig. 8 provides for the embodiment of the present invention;
The structural representation of display module in the another kind of form document display system that Fig. 9 provides for the embodiment of the present invention;
The structural representation of the another kind of form document display system that Figure 10 provides for the embodiment of the present invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, be clearly and completely described the technical scheme in the embodiment of the present invention, obviously, described embodiment is only the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, belong to the scope of protection of the invention.
As shown in Figure 2, a kind of form document display packing that the embodiment of the present invention provides, the method can comprise:
S100, reading form document, identify the table content in described form document, wherein, described table content comprises object and independent table area, and wherein, described object comprises at least one in text box, picture and chart;
Form document can input and output, display data, formula also can be utilized to realize some algorithms, therefore become a kind of office software be widely used.Form document software on market has multiple, as: EXCEL, it is the assembly in Microsoft OFFICE software, also has the form document etc. in domestic Kingsoft WPS in addition.Content in a form document can have multiple, removes outside the most basic cell, can also there is the objects such as picture, text box, chart, hyperlink, symbol.Be understandable that, clip art is also a kind of picture, and chart can have various ways, such as column diagram, pie chart, broken line graph, area-graph, scatter diagram etc.Each object all will take certain table area in form document, include at least one cell in this table area.Be understandable that, each independent of each other to liking, can freely dragging position.
As shown in Figure 3, the content in cell 003 is not sky for empty and in the cell be connected with cell 003 content, and therefore cell 003 forms an independent table area.Accordingly, the form 001 in Fig. 3 is by multiple content for empty cell forms, and the content in cell outside the form 001 be connected with outermost cell in form 001 is sky, and therefore form 001 forms an independent table area.Accordingly, the form 002 in Fig. 3 also forms an independent table area.Picture 004 in Fig. 3 is independently object.
Wherein, it is not empty cell that described independent table area comprises one or more content, when described independent table area comprises multiple content not for empty cell, described independent table area is the maximum row in described multiple content not row and column belonging to the cell of outermost in empty cell, minimum row, maximum column and minimum row surround the table area formed, the content of the cell outside the described independent table area be connected with outermost cell in described independent table area is sky, when described independent table area comprises a content not for empty cell, sky is with the content of the cell be connected of described independent table area,
For the form 001 in Fig. 3, in form 001, content is not the maximum behavior eighth row in the row and column described in the cell of outermost in empty cell, minimum behavior the 4th row, the maximum F that is classified as arranges, minimumly be classified as C row, then maximum row, minimum row, maximum column and minimum row surround the table area that formed the also i.e. region that covers of form 001 as shown in Figure 3.
Therefore, in actual applications, all the elements can determined in independent table area by " cell expansion " are not empty cell.The mode of " cell expansion " is: first traversal from left to right from the 1st row in the form document page, if do not find that content is not empty cell, then continue from left to right to travel through the 2nd row, by that analogy, until finding content is not empty cell, using this cell as the cell in independent table area, whether be determined at the content of the adjacent cell of this cell further not for empty, be not that the adjacent cells lattice of sky are as the cell in independent table area using content, determine further with content for whether the content of the adjacent cell of empty adjacent cells lattice is for empty, be not that the cell of sky is as the cell in independent table area using content ... traversal is gone down in such a manner, until terminate the traversal to this independent table area when the content in cell outside the independent table area adjacent with the cell in independent table area is sky.
According to above-mentioned principle, the embodiment of the present invention provides a kind of concrete grammar of the table content identified in form document as shown in Figure 4, specifically can comprise the following steps:
S101, reading form document, travel through the cell in described form document, when determining that the content of a cell is for time empty, using this cell as current cell;
S102, the content be labeled as by described current cell in independent table area are not empty cell, traversing content in the cell adjacent with described current cell is not empty adjacent cells lattice, be not that the adjacent cells lattice of sky are as current cell using described content, circulation performs this step, until meet the following conditions: adjacent with current cell and the content being positioned at each cell outside described independent table area is sky;
S103, maximum row, minimum row, maximum column and the minimum row in the row and column of the content be labeled as in independent table area not belonging to multiple cells of outermost in empty cell are surrounded the table area formed be identified as independent table area.
Still be described for the cell 003 in the page of form document shown in Fig. 3 and form 001:
From cell A1, travel through the 1st row, the content of the cell in the 1st row is sky;
Travel through the 2nd row, the content of determining unit lattice D2 is not empty, and namely the content of cell 003 is not empty yet, and travel through the content of the cell be connected with cell D2 further, determine to be sky, then recognition unit lattice 003 are an independent table area.
Travel through the 3rd row, the content of the cell in the 3rd row is sky;
Travel through the 4th row, the content of determining unit lattice C4 is not empty, using cell C4 as the cell in independent table area, using cell C4 as current cell, and the adjacent cells lattice of traversal current cell;
The content of determining unit lattice D4, cell D5, cell C5 is not empty, using cell D4, cell D5, cell C5 as the cell in independent table area, using cell D4, cell D5, cell C5 as current cell;
The cell that further traversal is adjacent with this three current cells of D4, D5, C5, the content of determining unit lattice E4, E5, E5, D6, C6 is not empty, using cell E4, E5, E5, D6, C6 as the cell in independent table area, using cell E4, E5, E5, D6, C6 as current cell;
The adjacent cells lattice of further these five current cells of traversal E4, E5, E5, D6, C6, content in determining unit lattice F4, F5, F6, F7, E7, D7, C7 is not empty, using cell F4, F5, F6, F7, E7, D7, C7 as the cell in independent table area, using cell F4, F5, F6, F7, E7, D7, C7 as current cell;
The adjacent cells lattice of further these seven current cells of Traversal Unit lattice F4, F5, F6, F7, E7, D7, C7, content in determining unit lattice C8, D8, E8, F8 is not empty, using cell C8, D8, E8, F8 as the cell in independent table area, using cell C8, D8, E8, F8 as current cell;
The adjacent cells lattice of further these four current cells of Traversal Unit lattice C8, D8, E8, F8, determine these four current cells adjacent and the content being positioned at each cell outside this independent table area is sky, the traversal of this independent table area terminates, can continue to travel through remaining cell to traverse other independent table areas, as form 002.
For according to travel through each content in the form 1 obtained for empty cell determines the process of independent table area, be illustrated for form 1 in foregoing teachings, repeated no more.
S200, identified described table content is carried out vertical array and shown.
Concrete, the concrete implementation of step S200 can be any one in following five kinds of schemes:
Scheme one, as shown in Figure 5, step S200 comprises: step S210 and step S220.
S210, identified independent table area is converted to HTML (Hypertext Markup Language) html data, by identified not for the object of picture is converted to picture;
In order to make the form document content in computing machine be presented by webpage in the terminal, needing to carry out format conversion to form document content, being converted to the html data that mobile terminal can show.Equally, because picture can, at webpage, also be show in html page, therefore in order to be shown in the terminal by the object of identification, the object not for picture can be converted to picture.
S220, identified picture, the picture be converted to, the independent table area that is converted to html data are carried out vertical array and show in webpage.
The width of the screen of mobile terminal is less, and length is longer relative to width, therefore vertical array display can make full use of the screen length of mobile terminal, reduces the content of laterally display simultaneously, improves the table content quantity simultaneously shown in the screen of mobile terminal.
Concrete, identified picture, the picture be converted to can be chosen according to order of choosing from top to bottom, be converted to the independent table area of html data, when the institute of the superiors' cell in region shared by identified at least two table content is expert at identical, according to order from left to right choose the superiors' cell in shared region identical table content of being expert at, selected table content is carried out vertical array according to order from top to bottom and shows.
Like this, when vertical array, in the permutation table lattice file of the top, be first positioned at the table content of the top, such as, independent table area 003 shown in Fig. 3, be then arranged in order the table content of below.When two table content having horizontal level identical, first arrange the table content in left side.Such as form 001 and form 002, form 001 is positioned at above form 002, finally arranges picture 004.
In actual applications, step S220 can comprise:
Identified picture, the picture be converted to, the independent table area that is converted to html data are carried out vertical array and insert white space between adjacent table content in webpage;
Vertically disposed table content after inserting white space is shown in described webpage.
Be aliasing in not make vertically disposed table content and affect user's resolution together, can insert white space, to make user easily distinguish, display effect is also more attractive in appearance.Concrete, the table content shown in Fig. 3 can obtain display effect as shown in Figure 6 in the terminal after process of the present invention.
Scheme two, step S200 can comprise: identified described table content is carried out vertical array in form document program and shows.
Be understandable that, along with office software application on mobile terminals, the mobile terminals such as mobile phone opened the office software such as form document program (as Excel), text program (as Word) and becomes a reality.Therefore, the table content in original form document is still carried out in form document program show and be more conducive to user in the terminal to the use of table content.Concrete, identified table content can be copied and carry out arranging and showing in newly-established worksheet.Certainly, also can directly carry out arranging and showing in the former worksheet at these table content places, the present invention limit.
Scheme three, step S200 can comprise: identified described table content is converted to the table content that text program is supported, carries out vertical array and show in text program.
Because the compatibility between form document program and text program is extremely strong, therefore identified described table content is converted to the table content that text program supports and just the table content in form document can be shown in text.Such as: the form in Excel is converted into the form that Word supports.User is maximum to the use of text program, therefore, identified described table content is carried out vertical array in text program and shows, can meet the demand that user is processed table content by text program.
Scheme four, identified described table content is converted to picture and carries out vertical array and show.
The table content that each identifies all can be converted to picture, when table content is picture, can not change.After all table content are all converted to picture, can arrange the position of picture, each picture is carried out vertical array and shows.
Scheme five, identified described table content is converted to the table content that Portable document form PDF program supports, in PDF program, carries out vertical array and show.
Portable document form (PDF, Portable Document Format) file is widely used by people, therefore identified table content can also be converted to PDF, then carry out vertical array and display.
Certainly, the present invention does not limit above-mentioned five kinds of modes, in actual applications, other modes can also be used to carry out vertical array and display to identified content.
The form document display packing that the present embodiment provides, can identify that independent table area and object are carried out vertical array by the table content in form document, makes in the equipment of less width screen, show form content quantity simultaneously and improves.The information that the present invention shows in screen is simultaneously more, and user's use sense, by good, does not need user to carry out manual operation frequently to switch shown content yet, simple to operate in terms of existing technologies, easy to use.
On basis embodiment illustrated in fig. 5, as shown in Figure 7, in the another kind of form document display packing that the embodiment of the present invention provides, after step S100, the method can also comprise:
The attribute of a configuration of the independent table area that S110, reading identify, is converted to the attribute of a configuration of cascading style list language by the read attribute of a configuration;
Concrete, the attribute of a configuration of independent table area can be font attribute, frame attribute, fill area attribute, alignment properties etc.
Cascading style list language is the markup language of one also allowing style information to be separated with web page contents for controlling webpage pattern.Use cascading style list langauge style can control the uncontrollable attribute of many only use HTML.Cascading style list language determines how browser will describe the form of expression of html element element.
Step S220 can comprise:
S221, identified picture, the picture be converted to, the independent table area that is converted to html data are carried out vertical array and use the attribute of a configuration of the attribute of a configuration as vertically disposed independent table area of described cascading style list language in webpage;
S222, the vertically disposed independent table area of the attribute of a configuration with described cascading style list language to be shown.
Wherein, the execution sequence of step S110 and step S210 can have multiple, and step S110 as shown in Figure 7 first performs, and certainly, step S210 also can first perform, or step S110 and step S210 performs simultaneously.
The attribute of a configuration that can read independent table area embodiment illustrated in fig. 7, is converted into the attribute of a configuration of cascading style list language, and uses the attribute of a configuration be converted to control the display of vertically disposed independent table area.The continuity that can realize display effect embodiment illustrated in fig. 7, thus provide more information in the terminal, shown independent table area is also more attractive in appearance.
Corresponding with embodiment illustrated in fig. 2, present invention also offers a kind of form document display system, as shown in Figure 8, this system can comprise: read module 100 and display module 200,
Read module 100, for reading form document, identifies the table content in described form document, and wherein, described table content comprises object and independent table area, and wherein, described object comprises at least one in text box, picture and chart;
Wherein, it is not empty cell that described independent table area comprises one or more content, when described independent table area comprises multiple content not for empty cell, described independent table area is the maximum row in described multiple content not row and column belonging to the cell of outermost in empty cell, minimum row, maximum column and minimum row surround the table area formed, the content of the cell outside the described independent table area be connected with outermost cell in described independent table area is sky, when described independent table area comprises a content not for empty cell, sky is with the content of the cell be connected of described independent table area.
Wherein, read module 100 can comprise: traversal submodule, expansion submodule and recognin module,
Described traversal submodule, for reading form document, travels through the cell in described form document, when determining that the content of a cell is not for time empty, using this cell as current cell;
Described expansion submodule, for the cell that the content be labeled as by described current cell in independent table area is not sky, traversing content in the cell adjacent with described current cell is not empty adjacent cells lattice, be not that the adjacent cells lattice of sky are as current cell using described content, circulation performs this step, until meet the following conditions: adjacent with current cell and the content being positioned at each cell outside described independent table area is sky;
Described recognin module, is identified as independent table area for maximum row, minimum row, maximum column and the minimum row in the row and column of the content be labeled as in independent table area not belonging to multiple cells of outermost in empty cell are surrounded the table area formed.
Display module 200, for carrying out vertical array by identified described table content and show.
Concrete, display module 200 can have following five kinds of building forms at least:
Mode one, as shown in Figure 9, display module 200 comprises: transform subblock 210 and the first display sub-module 220,
Transform subblock 210, for identified independent table area is converted to HTML (Hypertext Markup Language) html data, by identified not for the object of picture is converted to picture;
First display sub-module 220, for carrying out vertical array by identified picture, the picture be converted to, the independent table area that is converted to html data and show in webpage.
In order to make the form document content in computing machine present in the terminal, needing to carry out format conversion to form document content, being converted to the html data that mobile terminal can show.Equally, because picture can show in html page, therefore in order to be shown in the terminal by the object of identification, the object not for picture can be converted to picture.
Mode two, display module 200 comprise: the second display sub-module,
Described second display sub-module, for carrying out vertical array by identified described table content and showing in form document program.
Mode three, display module 200 comprise: the 3rd display sub-module,
Described 3rd display sub-module, for identified described table content being converted to the table content that text program is supported, carrying out vertical array and showing in text program.
Mode four, display module 200 comprise: the 4th display sub-module, for identified described table content being converted to picture and carrying out vertical array and show;
Mode five, display module 200 comprise: the 5th display sub-module, for identified described table content being converted to the table content that Portable document form PDF program is supported, carrying out vertical array and show in PDF program
The width of the screen of mobile terminal is less, and length is longer relative to width, therefore vertical array display can make full use of the screen length of mobile terminal, reduces the content of laterally display simultaneously, improves the table content quantity simultaneously shown in the screen of mobile terminal.
In other embodiments of the present invention, the first display sub-module 220 can comprise: choose submodule and vertical submodule,
Describedly choose submodule, for choosing identified picture, the picture be converted to according to order of choosing from top to bottom, be converted to the independent table area of html data, when the institute of the superiors' cell in region shared by identified at least two table content is expert at identical, according to order from left to right choose the superiors' cell in shared region identical table content of being expert at;
Described vertical submodule, for carrying out vertical array according to order from top to bottom by selected table content and showing in webpage.
In other embodiments of the present invention, the first display sub-module 220 can comprise: intron module and arrangement submodule,
Described intron module, for carrying out vertical array by identified picture, the picture be converted to, the independent table area that is converted to html data and insert white space between adjacent table content in webpage;
Described arrangement submodule, for showing the vertically disposed table content after insertion white space.
Be aliasing in not make vertically disposed table content and affect user's resolution together, can insert white space, to make user easily distinguish, display effect is also more attractive in appearance.Concrete, the table content shown in Fig. 3 can obtain display effect as shown in Figure 6 in the terminal after process of the present invention.
The form document display system that the present embodiment provides, can identify that independent table area and object are carried out vertical array by the table content in form document, makes in the equipment of less width screen, show form content quantity simultaneously and improves.The information that the present invention shows in screen is simultaneously more, and user's use sense, by good, does not need user to carry out manual operation frequently to switch shown content yet, simple to operate in terms of existing technologies, easy to use.
As shown in Figure 10, on basis embodiment illustrated in fig. 9, the another kind of form document display system that the embodiment of the present invention provides, can also comprise: attribute changes module 300, for reading form document at described read module 100, after identifying the table content in described form document, read the attribute of a configuration of the independent table area identified, the read attribute of a configuration is converted to the attribute of a configuration of cascading style list language;
Described first display sub-module 220 is specifically set to: identified picture, the picture be converted to, the independent table area that is converted to html data are carried out vertical array and use the attribute of a configuration of the attribute of a configuration as vertically disposed independent table area of described cascading style list language in webpage, shows the vertically disposed independent table area of the attribute of a configuration with described cascading style list language.
The attribute of a configuration that can read independent table area embodiment illustrated in fig. 10, is converted into the attribute of a configuration of cascading style list language, and uses the attribute of a configuration be converted to control the display of vertically disposed independent table area.The continuity that can realize display effect embodiment illustrated in fig. 10, thus provide more information in the terminal, shown independent table area is also more attractive in appearance.
It should be noted that, in this article, the such as relational terms of first and second grades and so on is only used for an entity or operation to separate with another entity or operational zone, and not necessarily requires or imply the relation that there is any this reality between these entities or operation or sequentially.And, term " comprises ", " comprising " or its any other variant are intended to contain comprising of nonexcludability, thus make to comprise the process of a series of key element, method, article or equipment and not only comprise those key elements, but also comprise other key elements clearly do not listed, or also comprise by the intrinsic key element of this process, method, article or equipment.When not more restrictions, the key element limited by statement " comprising ... ", and be not precluded within process, method, article or the equipment comprising described key element and also there is other identical element.
Each embodiment in this instructions all adopts relevant mode to describe, between each embodiment identical similar part mutually see, what each embodiment stressed is the difference with other embodiments.Especially, for system embodiment, because it is substantially similar to embodiment of the method, so description is fairly simple, relevant part illustrates see the part of embodiment of the method.
The foregoing is only preferred embodiment of the present invention, be not intended to limit protection scope of the present invention.All any amendments done within the spirit and principles in the present invention, equivalent replacement, improvement etc., be all included in protection scope of the present invention.

Claims (14)

1. a form document display packing, is characterized in that, described method comprises:
Read form document, identify the table content in described form document, wherein, described table content comprises object and independent table area, and wherein, described object comprises at least one in text box, picture and chart;
Identified described table content is carried out vertical array and shown.
2. method according to claim 1, is characterized in that, the described step of identified described table content being carried out vertical array and also showing, comprising:
Identified independent table area is converted to HTML (Hypertext Markup Language) html data, by identified not for the object of picture is converted to picture;
Identified picture, the picture be converted to, the independent table area that is converted to html data are carried out vertical array and show in webpage.
3. method according to claim 1, is characterized in that, the described step of identified described table content being carried out vertical array and also showing, comprising:
Identified described table content is carried out vertical array in form document program and shows;
Or, identified described table content is converted to the table content that text program is supported, in text program, carries out vertical array and show;
Or, identified described table content is converted to picture and carries out vertical array and show;
Or, identified described table content is converted to the table content that Portable document form PDF program is supported, in PDF program, carries out vertical array and show.
4. method according to claim 2, is characterized in that, described identified picture, the picture be converted to, the independent table area that is converted to html data is carried out vertical array and the step of display in webpage, comprising:
Identified picture, the picture be converted to, the independent table area that is converted to html data are carried out vertical array and insert white space between adjacent table content in webpage;
Vertically disposed table content after inserting white space is shown in described webpage.
5. method according to any one of claim 1 to 4, is characterized in that, described reading form document, identifies the table content in described form document, comprising:
Read form document, travel through the cell in described form document, when determining that the content of a cell is not for time empty, using this cell as current cell;
The content be labeled as by described current cell in independent table area is not empty cell, traversing content in the cell adjacent with described current cell is not empty adjacent cells lattice, be not that the adjacent cells lattice of sky are as current cell using described content, circulation performs this step, until meet the following conditions: adjacent with current cell and the content being positioned at each cell outside described independent table area is sky;
Maximum row, minimum row, maximum column and minimum row in the row and column of the content be labeled as in independent table area not belonging to multiple cells of outermost in empty cell are surrounded the table area formed and is identified as independent table area.
6. method according to claim 2, is characterized in that, at reading form document, after identifying the table content in described form document, described method also comprises:
Read the attribute of a configuration of the independent table area identified, the read attribute of a configuration is converted to the attribute of a configuration of cascading style list language;
Described identified picture, the picture be converted to, the independent table area that is converted to html data are carried out vertical array and the step of display in webpage, comprising:
Identified picture, the picture be converted to, the independent table area that is converted to html data are carried out vertical array and use the attribute of a configuration of the attribute of a configuration as vertically disposed independent table area of described cascading style list language in webpage, the vertically disposed independent table area of the attribute of a configuration with described cascading style list language is shown.
7. method according to claim 2, is characterized in that, described identified picture, the picture be converted to, the independent table area that is converted to html data is carried out vertical array and the step of display in webpage, comprising:
Choose identified picture, the picture be converted to according to order of choosing from top to bottom, be converted to the independent table area of html data, when the institute of the superiors' cell in region shared by identified at least two table content is expert at identical, according to order from left to right choose the superiors' cell in shared region identical table content of being expert at, selected table content is carried out vertical array according to order from top to bottom in webpage and shows.
8. a form document display system, is characterized in that, described system comprises: read module and display module,
Described read module, for reading form document, identifies the table content in described form document, and wherein, described table content comprises object and independent table area, and wherein, described object comprises at least one in text box, picture and chart;
Described display module, for carrying out vertical array by identified described table content and show.
9. system according to claim 8, is characterized in that, described display module comprises: transform subblock and the first display sub-module,
Described transform subblock, for identified independent table area is converted to HTML (Hypertext Markup Language) html data, by identified not for the object of picture is converted to picture;
Described first display sub-module, for carrying out vertical array by identified picture, the picture be converted to, the independent table area that is converted to html data and show in webpage.
10. system according to claim 8, is characterized in that, described display module comprises: the second display sub-module, the 3rd display sub-module, the 4th display sub-module or the 5th display sub-module,
Described second display sub-module, for carrying out vertical array by identified described table content and showing in form document program;
Described 3rd display sub-module, for identified described table content being converted to the table content that text program is supported, carrying out vertical array and showing in text program;
Described 4th display sub-module, for being converted to picture by identified described table content and carrying out vertical array and show;
Described 5th display sub-module, for identified described table content being converted to the table content that Portable document form PDF program is supported, carrying out vertical array and showing in PDF program.
11. systems according to claim 9, is characterized in that, described first display sub-module comprises: intron module and arrangement submodule,
Described intron module, for carrying out vertical array by identified picture, the picture be converted to, the independent table area that is converted to html data and insert white space between adjacent table content in webpage;
Described arrangement submodule, for showing in described webpage the vertically disposed table content after insertion white space.
System according to any one of 12. according to Claim 8 to 11, is characterized in that, described read module comprises: traversal submodule, expansion submodule and recognin module,
Described traversal submodule, for reading form document, travels through the cell in described form document, when determining that the content of a cell is not for time empty, using this cell as current cell;
Described expansion submodule, for the cell that the content be labeled as by described current cell in independent table area is not sky, traversing content in the cell adjacent with described current cell is not empty adjacent cells lattice, be not that the adjacent cells lattice of sky are as current cell using described content, circulation performs this step, until meet the following conditions: adjacent with current cell and the content being positioned at each cell outside described independent table area is sky;
Described recognin module, is identified as independent table area for maximum row, minimum row, maximum column and the minimum row in the row and column of the content be labeled as in independent table area not belonging to multiple cells of outermost in empty cell are surrounded the table area formed.
13. systems according to claim 9, it is characterized in that, also comprise: attribute changes module, for reading form document at described read module, after identifying the table content in described form document, read the attribute of a configuration of the independent table area identified, the read attribute of a configuration is converted to the attribute of a configuration of cascading style list language;
Described first display sub-module is specifically set to: identified picture, the picture be converted to, the independent table area that is converted to html data are carried out vertical array and use the attribute of a configuration of the attribute of a configuration as vertically disposed independent table area of described cascading style list language in webpage, shows the vertically disposed independent table area of the attribute of a configuration with described cascading style list language.
14. systems according to claim 9, is characterized in that, described first display sub-module, comprising: choose submodule and vertical submodule,
Describedly choose submodule, for choosing identified picture, the picture be converted to according to order of choosing from top to bottom, be converted to the independent table area of html data, when the institute of the superiors' cell in region shared by identified at least two table content is expert at identical, according to order from left to right choose the superiors' cell in shared region identical table content of being expert at;
Described vertical submodule, for carrying out vertical array according to order from top to bottom by selected table content and showing in webpage.
CN201310717820.8A 2013-12-23 2013-12-23 Form file display method and system Pending CN104731813A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201310717820.8A CN104731813A (en) 2013-12-23 2013-12-23 Form file display method and system
PCT/CN2014/093817 WO2015096634A1 (en) 2013-12-23 2014-12-15 Tabular file display method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310717820.8A CN104731813A (en) 2013-12-23 2013-12-23 Form file display method and system

Publications (1)

Publication Number Publication Date
CN104731813A true CN104731813A (en) 2015-06-24

Family

ID=53455710

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310717820.8A Pending CN104731813A (en) 2013-12-23 2013-12-23 Form file display method and system

Country Status (2)

Country Link
CN (1) CN104731813A (en)
WO (1) WO2015096634A1 (en)

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105760352A (en) * 2016-02-02 2016-07-13 锐达互动科技股份有限公司 Method for importing selected Excel table row and column arrangement mode into whiteboard software
CN105760353A (en) * 2016-02-02 2016-07-13 锐达互动科技股份有限公司 Method for importing Excel tables into white board software without table cell text format change
CN106709032A (en) * 2016-12-29 2017-05-24 深圳市华傲数据技术有限公司 Method and device for extracting structured information from spreadsheet document
CN107704444A (en) * 2017-10-11 2018-02-16 远光软件股份有限公司 The methods of exhibiting of multicolumn multiple row form
CN109164999A (en) * 2018-08-29 2019-01-08 郑州云海信息技术有限公司 A kind of method, apparatus that table is adaptively shown, equipment and readable storage medium storing program for executing
CN109992750A (en) * 2017-12-29 2019-07-09 珠海金山办公软件有限公司 Table objects screening technique, device, electronic equipment and storage medium
CN109992751A (en) * 2017-12-29 2019-07-09 珠海金山办公软件有限公司 Amplification display method, device, electronic equipment and the storage medium of table objects
CN109992759A (en) * 2017-12-29 2019-07-09 珠海金山办公软件有限公司 Table objects edit methods, device, electronic equipment and storage medium
CN112596650A (en) * 2020-12-25 2021-04-02 维沃移动通信有限公司 Chart processing method and device and electronic equipment
CN113268686A (en) * 2021-05-25 2021-08-17 山东卓创资讯股份有限公司 Processing method for multiple browsing modes of form in information at APP (application) end

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107480269B (en) * 2017-08-17 2021-01-22 阿里巴巴(中国)有限公司 Object display method and system, medium and computing equipment
CN109325211A (en) * 2018-08-07 2019-02-12 信利半导体有限公司 A kind of EXCEL display methods
CN111259641B (en) * 2020-01-15 2023-08-11 深圳震有科技股份有限公司 Excel data processing method, terminal and storage medium
CN111274781A (en) * 2020-01-21 2020-06-12 北京三快在线科技有限公司 Table display method and device, storage medium and electronic equipment
CN111444452B (en) * 2020-02-21 2023-06-23 广州杰赛科技股份有限公司 Webpage conversion method and device and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101067819A (en) * 2007-06-07 2007-11-07 北京大学 Web page resource issuing method and issuing system
CN102457528A (en) * 2010-10-19 2012-05-16 北京邮电大学 Method for adaptively issuing web content facing to mobile phone terminal and system thereof
CN103279455A (en) * 2013-06-28 2013-09-04 中国农业银行股份有限公司 Spreadsheet style processing method and device
CN103384346A (en) * 2012-12-28 2013-11-06 深圳海联讯科技股份有限公司 PPT file processing method and device
CN103389969A (en) * 2012-05-07 2013-11-13 腾讯科技(深圳)有限公司 Method, device and system for previewing PDF (portable document format) file on mobile terminal

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5798759A (en) * 1996-12-31 1998-08-25 International Business Machines Corporation Method and apparatus for mobile device screen reformatting
DE10036929C2 (en) * 2000-07-28 2003-04-10 Siemens Ag Method for outputting a table and associated device
CN1936882A (en) * 2006-10-13 2007-03-28 北京北大方正电子有限公司 Paging form data-processing method and system
CN100538706C (en) * 2007-09-21 2009-09-09 金蝶软件(中国)有限公司 A kind of method and apparatus that shows electrical form
JP5465015B2 (en) * 2010-01-06 2014-04-09 キヤノン株式会社 Apparatus and method for digitizing documents

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101067819A (en) * 2007-06-07 2007-11-07 北京大学 Web page resource issuing method and issuing system
CN102457528A (en) * 2010-10-19 2012-05-16 北京邮电大学 Method for adaptively issuing web content facing to mobile phone terminal and system thereof
CN103389969A (en) * 2012-05-07 2013-11-13 腾讯科技(深圳)有限公司 Method, device and system for previewing PDF (portable document format) file on mobile terminal
CN103384346A (en) * 2012-12-28 2013-11-06 深圳海联讯科技股份有限公司 PPT file processing method and device
CN103279455A (en) * 2013-06-28 2013-09-04 中国农业银行股份有限公司 Spreadsheet style processing method and device

Cited By (20)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105760352B (en) * 2016-02-02 2018-07-20 锐达互动科技股份有限公司 Import the method in the Excel table ranks arrangement modes to whiteboarding software chosen
CN105760353A (en) * 2016-02-02 2016-07-13 锐达互动科技股份有限公司 Method for importing Excel tables into white board software without table cell text format change
CN105760352A (en) * 2016-02-02 2016-07-13 锐达互动科技股份有限公司 Method for importing selected Excel table row and column arrangement mode into whiteboard software
CN105760353B (en) * 2016-02-02 2018-08-07 锐达互动科技股份有限公司 Excel tables are imported in whiteboarding software and do not change the method for cell text formatting
CN106709032B (en) * 2016-12-29 2019-12-20 深圳市华傲数据技术有限公司 Method and device for extracting structured information in electronic form document
CN106709032A (en) * 2016-12-29 2017-05-24 深圳市华傲数据技术有限公司 Method and device for extracting structured information from spreadsheet document
CN107704444A (en) * 2017-10-11 2018-02-16 远光软件股份有限公司 The methods of exhibiting of multicolumn multiple row form
CN107704444B (en) * 2017-10-11 2021-03-16 远光软件股份有限公司 Display method of multi-column and multi-column table
CN109992751A (en) * 2017-12-29 2019-07-09 珠海金山办公软件有限公司 Amplification display method, device, electronic equipment and the storage medium of table objects
CN109992759A (en) * 2017-12-29 2019-07-09 珠海金山办公软件有限公司 Table objects edit methods, device, electronic equipment and storage medium
CN109992750A (en) * 2017-12-29 2019-07-09 珠海金山办公软件有限公司 Table objects screening technique, device, electronic equipment and storage medium
CN109992750B (en) * 2017-12-29 2023-12-01 珠海金山办公软件有限公司 Table object screening method and device, electronic equipment and storage medium
CN109992759B (en) * 2017-12-29 2023-12-01 珠海金山办公软件有限公司 Table object editing method and device, electronic equipment and storage medium
CN109992751B (en) * 2017-12-29 2023-12-01 珠海金山办公软件有限公司 Method and device for magnifying and displaying table objects, electronic equipment and storage medium
CN109164999A (en) * 2018-08-29 2019-01-08 郑州云海信息技术有限公司 A kind of method, apparatus that table is adaptively shown, equipment and readable storage medium storing program for executing
CN109164999B (en) * 2018-08-29 2022-03-08 郑州云海信息技术有限公司 Form self-adaptive display method, device, equipment and readable storage medium
CN112596650A (en) * 2020-12-25 2021-04-02 维沃移动通信有限公司 Chart processing method and device and electronic equipment
CN112596650B (en) * 2020-12-25 2022-12-20 维沃移动通信有限公司 Chart processing method and device and electronic equipment
CN113268686A (en) * 2021-05-25 2021-08-17 山东卓创资讯股份有限公司 Processing method for multiple browsing modes of form in information at APP (application) end
CN113268686B (en) * 2021-05-25 2022-08-26 山东卓创资讯股份有限公司 Processing method for multiple browsing modes of form in information at APP (application) end

Also Published As

Publication number Publication date
WO2015096634A1 (en) 2015-07-02

Similar Documents

Publication Publication Date Title
CN104731813A (en) Form file display method and system
JP7354294B2 (en) System and method for providing responsive editing and display integrating hierarchical fluid components and dynamic layout
US9389759B2 (en) Environment for responsive graphical designs
US20130185619A1 (en) Value-driven visualization primitives for tabular data of spreadsheets
CN104350487B (en) The method for drafting of 3D webpage and the terminal using the method
US20140208203A1 (en) Key-Frame based Authoring and Generation of Highly Resizable Document Layout
CN104239305A (en) Electronic document generating and displaying method and apparatus
US11112927B2 (en) Digital content automated layout system
CN105760401A (en) Report data interaction method and system based on mobile terminal
CN103309560A (en) Multi-interface information display method and terminal
CN102520855A (en) Electronic equipment with touch screen and page turning method for electronic equipment
US20120331378A1 (en) System and method for timeline visualization and interaction
CN111061473A (en) Visual component editing method and device for quickly building page
JP2012064207A (en) Host device and content display method of the same
CN113836470A (en) Method, equipment and medium for constructing responsive data display page
CN105630893A (en) Display method and device of photo title
CN110019037A (en) A kind of pdf document methods of exhibiting, device, equipment and storage medium
CN106372070A (en) Method and device for displaying data in graphic interface
CN103970890A (en) Real-time webpage data generation method and device
Brückner et al. Learning GUI completions with user-defined constraints
CN109445767A (en) A kind of novel response type navigation design implementation method applied to multiple terminals
KR101667266B1 (en) Adaptive web design system and method
CN105159570A (en) Determining method and determining device for slidable display area of spreadsheet document
US11126786B2 (en) Method for displaying data on a mobile terminal
KR20090118179A (en) Method to display and zoom in a portion of screen in mobile internet device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information

Address after: Jinshan software building No. 8 Jingshan Hill Road, Lane 519015 Lianshan Jida Zhuhai city in Guangdong Province

Applicant after: Zhuhai Kingsoft Office Software Co., Ltd.

Applicant after: Beijing Kingsoft office software Limited by Share Ltd

Address before: Jinshan software building No. 8 Jingshan Hill Road, Lane 519015 Lianshan Jida Zhuhai city in Guangdong Province

Applicant before: Zhuhai Kingsoft Office Software Co., Ltd.

Applicant before: Beijing Kingsoft WPS Office Co., Ltd.

COR Change of bibliographic data
RJ01 Rejection of invention patent application after publication

Application publication date: 20150624

RJ01 Rejection of invention patent application after publication