CN102184193A - Quick file processing method compatible with general office software - Google Patents
Quick file processing method compatible with general office software Download PDFInfo
- Publication number
- CN102184193A CN102184193A CN 201110098268 CN201110098268A CN102184193A CN 102184193 A CN102184193 A CN 102184193A CN 201110098268 CN201110098268 CN 201110098268 CN 201110098268 A CN201110098268 A CN 201110098268A CN 102184193 A CN102184193 A CN 102184193A
- Authority
- CN
- China
- Prior art keywords
- data
- type
- document
- processing method
- document processing
- 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
Links
Images
Abstract
The invention discloses a quick file processing method which comprises the steps of: reading data from a file; analyzing the read data; and normally packaging processable type of data in the analyzed data, and simply packaging unprocessable type of data in the analyzed data, wherein the processable type is one or more in all data types supported by the file. Therefore, some types of data in the file are simply packaged, processing speed can be increased; meanwhile, the integrity of file data can be ensured while the file is stored, therefore, the quick file processing method is completely compatible with the general office software.
Description
[technical field]
The present invention relates to the office software field, relate in particular to quick document processing method with general office software compatibility.
[background technology]
Mobile phone is popularized gradually in recent years, and the quantity that has a mobile phone in China is about 7.4 hundred million according to statistics.At present, smart mobile phone becomes the mainstream model in the mobile phone gradually, and described smart mobile phone generally all is equipped with mobile phone operating system, and data-handling capacity is also all more intense, can realize sophisticated functionss such as recreation, mail, office software by smart mobile phone.
Yet, on smart mobile phone, realize very big difficulty still being arranged with the document function of same office software on computers, such as having very big difference on the travelling speed, data presentation is incomplete, object data does not show, editor preserves the back object data and loses, and this mainly is the restriction that is subjected to conditions such as the data-handling capacity of smart mobile phone and screen resolution.
Therefore, wish to propose a kind of can improvedly be suitable for smart mobile phone that use with quick document process scheme general office software compatibility.
[summary of the invention]
One of the technical problem to be solved in the present invention is to provide the quick document processing method of a kind of and general office software compatibility.
In order to address the above problem, according to an aspect of the present invention, the invention provides a kind of document processing method, it comprises: reading of data from document; Resolve the described data that read; Data to the type handled in the data after resolving normally encapsulate, and the data that can not handle type in the data after resolving are carried out simplified package, and the wherein said type of handling is one or more in all data types of supporting of described document.
In a further embodiment, to the encapsulating of paragraph one by one of the data after resolving, to the data of each paragraph encapsulating of type one by one.
In a further embodiment, described to handle type pre-defined by program developer or user.
In a further embodiment, all data types of described document support comprise one or more in text, keisen type, AutoShape type, picture/mb-type, link type, characters in a fancy style type, subtype, multimedia type, field type, bookmark type, barcode types, annotations and comments type, directory index type and the functional image type.
In a further embodiment, the data of each data type of supporting for document, the mode of normal encapsulation has just defined when carrying out software development and has finished.
In a further embodiment, it also comprises: the data that can not handle type are depicted as predetermined icon.
At one further among the embodiment, it also comprises: judge that whether the described data of handling type are direct paint type, for the direct data of paint type, according to the type of described data described data being carried out view draws, for the data of paint type not directly, directly described data are depicted as corresponding predetermined icon, wherein said directly paint type be described handle in the type one or more.
At one more further among the embodiment, it also comprises: clicking a correspondence not directly behind the predetermined icon of data of paint type, switch view also carries out independent view according to described type to described data and draws.
Compared with prior art, only the data of some types in the document are carried out simplified package in the present invention, like this can speed up processing, when file is preserved, also can guarantee the integrality of document data simultaneously, thereby realize and the complete compatibility of general office software.
About other purposes of the present invention, feature and advantage are described in detail in embodiment below in conjunction with accompanying drawing.
[description of drawings]
In conjunction with reaching ensuing detailed description with reference to the accompanying drawings, the present invention will be more readily understood, the structure member that wherein same Reference numeral is corresponding same, wherein:
Fig. 1 is the document processing method schematic flow sheet in one embodiment among the present invention;
Fig. 2 is the document views method for drafting schematic flow sheet in one embodiment among the present invention;
Fig. 3 is the document views control method schematic flow sheet in one embodiment among the present invention; With
Fig. 4 is the document storing method schematic flow sheet in one embodiment among the present invention.
[embodiment]
For above-mentioned purpose of the present invention, feature and advantage can be become apparent more, the present invention is further detailed explanation below in conjunction with the drawings and specific embodiments.
Detailed description of the present invention mainly presents by program, step, logical block, process or other symbolistic descriptions, the running of the technical scheme among its direct or indirect simulation the present invention.Affiliated those of skill in the art use these descriptions herein and state that the others skilled in the art in affiliated field effectively introduce their work essence.
Alleged herein " embodiment " or " embodiment " are meant that special characteristic, structure or the characteristic relevant with described embodiment can be contained at least one implementation of the present invention at least.Different local in this manual " in one embodiment " that occur also nonessentially all refer to same embodiment, must not be yet with other embodiment mutually exclusive separately or select embodiment.In addition, represent the sequence of modules in method, process flow diagram or the functional block diagram of one or more embodiment and revocablely refer to any particular order, also be not construed as limiting the invention.
The present invention proposes a kind of quick document processing method, and its data to some types in the document are carried out simplified package, and the data that can save like this these types normally encapsulate a large amount of computing that is brought, thereby have accelerated processing speed.In addition, the data with described simplified package when file is preserved also are written back in the document, can guarantee the integrality of document data like this, have prevented that data from losing in operating process, thereby realize the complete compatibility with general office software.Document mentioned herein can be the file that office software (office software) generates, the DOC file that generates such as the word processing program word of Microsoft etc., and described office software can comprise the word processing program word of Microsoft etc.Document (such as the doc file) with word processing program (such as word) is that example is introduced the document process scheme among the present invention below.
Fig. 1 is the schematic flow sheet of document processing method in an embodiment 100 among the present invention.Described document processing method 100 may further comprise the steps or operates.
Subsequently, described method 100 begins the data after resolving are encapsulated from step 103 to step 110.Usually, a document has generally comprised one or more paragraphs, when encapsulation encapsulating of paragraph one by one.Like this, in step 103, from internal memory, read a paragraph in the data after the parsing.
Each paragraph generally comprises the data of one or more types, and the type of described data comprises text, keisen type, AutoShape type, picture/mb-type, link type, characters in a fancy style type, subtype, multimedia type, field type, bookmark type, barcode types, annotations and comments type, directory index type and functional image type etc.When encapsulation encapsulating of type one by one.Like this, in step 104, from described paragraph, read the data of a type.
In step 105, judge whether described data are to handle type.The described type of handling can be by pre-defined by word processing program developer or user, the described type of handling is one or more in all data types of supporting of described document (word processing program in other words), such as setting text for can handle type, other types all are to handle type, can set text and keisen type for another example for can handle type, other types all are to handle type.
If described data are for can handle type, then the type according to described data normally encapsulates described data in step 106, promptly being packaged into needs when view is drawn and can recognition data, if the type such as described data is a text, then the packaged type according to text encapsulates described data, if the type of described data is a picture, then the packaged type according to picture/mb-type encapsulates described data, if the type of described data is the AutoShape data, then the packaged type according to the AutoShape type encapsulates described data etc.If described data not for can handle type, are then carried out simplified package to described data in step 107.
It is identical or similar to the process of the data encapsulation of the type with the word processing program (such as word2003) of general or standard that described normal encapsulation is meant.The data memory format of normal encapsulation or conventional encapsulation just defines when carrying out the Office exploitation, be that view needs when drawing and can recognition data, the structure of different development company's definition is not necessarily identical, and normal usually encapsulation needs a large amount of calculating and processing.After the data to a type normally encapsulate, can carry out the view drafting according to the data after the encapsulation and show these data are carried out view, after the normal encapsulation of image data quilt such as a child, can after the view drafting, this picture former state be shown.Normal encapsulation process in this example can adopt existing any one scheme, such as the data encapsulation scheme that can adopt word processing program word2003.
Described simplified package is meant not according to the word processing program of general or the standard data to the type and normally encapsulates, and just the data of the type are carried out simplified package, data after the simplified package can not be discerned it when view is drawn, such as described data integral body is carried to appointed positions etc., simplified package needs any calculated amount hardly, therefore the data that can save like this these types normally encapsulate a large amount of computing that is brought, thereby have accelerated processing speed.Because the data to the type normally do not encapsulate, therefore carry out the view drafting according to the data after the simplified package and can not demonstrate original data, such as a child's image data by simplified package after, when view is drawn, can not discern, thereby this picture former state can not be shown the data of described simplified package.Simplified package can be so that these data still can be write in the document by former state in the process of document storing, and are unlikely to be lost.Like this, the document after the quick document processing method in utilizing the present invention is handled still can use when using the common language handling procedure, and the described data that can not handle type still can show on this common language handling procedure and edit.That is to say that described quick document processing method 100 can be realized compatible with described common language handling procedure.
In sum, one of the important feature of described document processing method 100, advantage or benefit are: when the data in the document are encapsulated, unlike of the prior art, all types of data are all normally encapsulated, perhaps the data that can handle type are all normally encapsulated, abandon the data that to handle type, but selectively normally encapsulate at the data of part type, data at the part type are carried out simplified package, can reduce calculated amount greatly like this, avoid preserving losing of back data.
Fig. 2 is the schematic flow sheet of document views method for drafting in an embodiment 200 among the present invention.Carry out on the data basis after the encapsulation that described document views method for drafting 200 can the document processing method 100 in Fig. 1 obtains, it may further comprise the steps or operates.
As indicated above, a document has generally comprised one or more paragraphs, and the view that carries out of paragraph is drawn equally one by one when carrying out the view drafting.Like this, in step 201, from internal memory, obtain a paragraph in the data after the encapsulation of a document.
Same, in step 202, from described paragraph, read the data of a type.
If described data are for can handle type, continue in step 204 then to judge that whether described data are direct paint type, if, then according to the type of described data described data being carried out view in step 205 draws, otherwise, then described data are depicted as the predetermined icon of a correspondence in step 206, different data types can corresponding different predetermined icons.Described directly paint type also can be pre-defined by the developer or the user of word processing program as handling type, and described directly paint type is the described subclass of handling type.For instance, for categorical datas such as keisen or AutoShapes, if directly it being carried out view draws, may cause drafting complete or draw the problem that waits more slowly, therefore can be earlier the data of these types be depicted as predetermined icon, should not view data presented be arranged predetermined this position of icon representation, after clicking this predetermined icon, separately the data of this icon correspondence are carried out view again and draw (hereinafter will describe in detail), can be set at direct paint type for the text data, can directly described text data be carried out view like this and draw to show.Carrying out view for one type data draws and can carry out with reference to the view drafting scheme of existing word processing program.
If described data are for can not handle type, then in step 207, described data are depicted as a predetermined icon, should be scheduled to icon can be different from the predetermined icon in the step 206 to distinguish, should not view data presented be arranged predetermined this position of icon representation, clicking and to show to these data still behind the predetermined icon that this was owing to the data that can not handle type are not normally encapsulated among Fig. 1.
Obviously, the document views method for drafting of Fig. 2 also can be regarded as the part of the document processing method of Fig. 1.
In a preferred embodiment, described document views method for drafting 200 can only draw one in the document the part paragraph or the partial data in the paragraph, can determine the data that the needs view is drawn according to user's control, carry out view through step 202-step 208 afterwards and draw.
In the present invention, the data that can not handle type in the document directly are depicted as predetermined icon, the data of the not directly paint type in the document also are depicted as predetermined icon, can greatly reduce the burden that view is drawn like this, processing speed is accelerated greatly, also can prevent from the data of some type are carried out drawing when view is drawn complete or drawn the problem that waits more slowly.
Fig. 3 is the schematic flow sheet of document views control method in an embodiment 300 among the present invention.Carry out on the basis of document views method for drafting 200 that described document views control method 300 can be in Fig. 2, it may further comprise the steps or operates.
If the type that should be scheduled to the icon correspondence for can handle type, is then carried out independent view drafting at step 304 switch view and according to the type of being somebody's turn to do predetermined icon correspondence to described data.For instance, after clicking described predetermined icon, former view can be closed, again the data of this predetermined icon correspondence be carried out view and draw, rather than on the basis of former view, further the data of this predetermined icon correspondence be carried out view and draw.Owing to be that the independent view that the data of this predetermined icon correspondence are carried out is drawn, thereby can have effectively prevented the not congruent problem of view drafting.The view drawing process can carry out with reference to the view drafting scheme of existing word processing program equally.If the type that should be scheduled to the icon correspondence then can click event not made response for can not handle type in step 305.
Obviously, the document views control method among Fig. 3 also can be regarded as the part of the document views method for drafting of Fig. 2.
In conjunction with Fig. 2 and Fig. 3 as can be seen, for the data that can not handle type in the document, its drafting is become predetermined icon always, data for the not directly paint type in the document, just when first drafting or acquiescence drafting, it is depicted as predetermined icon, and when obtaining special selection instruction switch view and it is carried out independent view draw, can reduce the burden of drafting like this, simultaneously also can be the data of paint type be not directly carried out more detailed drafting in chosen back.
The user can carry out edit-modify to described document.For the data that can not handle type, can carry out deletion action, such as predetermined icon deletion, so just deleted all data of its correspondence with correspondence.For the data that can handle the not directly paint type in the type, after these data are carried out independent view drafting, can carry out various editing operations to it, such as deletion, insertion and attribute modification etc.For the directly data of paint type that can handle in the type, after these data are carried out the view drafting, can carry out various editing operations to it, such as deletion, insertion and attribute modification etc.Need adjust when the data of described document are made amendment and preserve location index etc.Described editor's data can be kept in the data after the encapsulation, can preserve in the palindrome files after preserving.
Fig. 4 is the schematic flow sheet of document storing method in an embodiment 400 among the present invention.Described document storing method can be carried out after opening document, and it may further comprise the steps or operates.
Step 401 is received the instruction of preserving document, clicks the save button in the application interface of word processing program such as the user.
Step 402 writes the data in the internal memory in the described document according to predefined mode, and the data in the described internal memory comprise data after the parsing of document and the data after the encapsulation.The flow process of document storing just defines when carrying out the Office exploitation, but the document format after preserving is fixed, the flow process of different development company's definition is not necessarily identical, the influence of the data after but writing data in the document and can being encapsulated, after carrying out simplified package for the data of not handling type, when editing, still the data after the simplified package can be write back in the internal memory origin-location, not handle the losing of data of type after can preventing from like this to preserve.
When in smart mobile phone, using other Office softwares that document is checked, because screen is less, performance is not as desktop computer, so generally can only check to literal in the document and picture, after editing, preserve, also only comprise literal and picture in the document after the preservation, if other object data is arranged in the document, these data have just been lost after preservation so.Document process scheme in the application of the invention, can realize the complete compatibility of smart mobile phone and desktop document, in using smart mobile phone browser document process, can check the object in the document, and can edit, and can guarantee not lose at data and the document format edited after preserving to the object of checking.
Above the present invention has been carried out the enough detailed description with certain singularity.Under those of ordinary skill in the field should be appreciated that the description among the embodiment only is exemplary, under the prerequisite that does not depart from true spirit of the present invention and scope, make change and all should belong to protection scope of the present invention.The present invention's scope required for protection is limited by described claims, rather than limit by the foregoing description among the embodiment.
Claims (8)
1. document processing method is characterized in that it comprises:
Reading of data from document;
Resolve the described data that read; With
Data to the type handled in the data after resolving normally encapsulate, and the data that can not handle type in the data after resolving are carried out simplified package, and the wherein said type of handling is one or more in all data types of supporting of described document.
2. document processing method according to claim 1 is characterized in that, to the encapsulating of paragraph one by one of the data after resolving, to the data of each paragraph encapsulating of type one by one.
3. document processing method according to claim 1 is characterized in that, described to handle type pre-defined by program developer or user.
4. document processing method according to claim 1, it is characterized in that all data types of described document support comprise one or more in text, keisen type, AutoShape type, picture/mb-type, link type, characters in a fancy style type, subtype, multimedia type, field type, bookmark type, barcode types, annotations and comments type, directory index type and the functional image type.
5. document processing method according to claim 1 is characterized in that, the data of each data type of supporting for document, and the mode of normal encapsulation has just defined when carrying out software development and has finished.
6. according to the arbitrary described document processing method of claim 1-5, it is characterized in that it also comprises: the data that can not handle type are depicted as predetermined icon.
7. document processing method according to claim 6 is characterized in that it also comprises:
Judge that whether the described data of handling type are direct paint type, for the direct data of paint type, according to the type of described data described data being carried out view draws, for the data of paint type not directly, directly described data are depicted as corresponding predetermined icon, wherein said directly paint type be described handle in the type one or more.
8. document processing method according to claim 7 is characterized in that it also comprises:
Clicking a correspondence not directly behind the predetermined icon of the data of paint type, switch view also carries out independent view according to described type to described data and draws.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN 201110098268 CN102184193A (en) | 2011-04-19 | 2011-04-19 | Quick file processing method compatible with general office software |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN 201110098268 CN102184193A (en) | 2011-04-19 | 2011-04-19 | Quick file processing method compatible with general office software |
Publications (1)
Publication Number | Publication Date |
---|---|
CN102184193A true CN102184193A (en) | 2011-09-14 |
Family
ID=44570370
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN 201110098268 Pending CN102184193A (en) | 2011-04-19 | 2011-04-19 | Quick file processing method compatible with general office software |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102184193A (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104516861A (en) * | 2014-11-26 | 2015-04-15 | 无锡永中软件有限公司 | Multimedia interactive document processing method |
WO2016015564A1 (en) * | 2014-07-31 | 2016-02-04 | 广州金山网络科技有限公司 | Method and apparatus for displaying document |
CN106599066A (en) * | 2016-11-16 | 2017-04-26 | 广州视源电子科技股份有限公司 | Document loading method and system |
CN109145263A (en) * | 2017-06-19 | 2019-01-04 | 珠海金山办公软件有限公司 | A kind of document processing method and device, computer readable storage medium |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1434960A (en) * | 2000-04-14 | 2003-08-06 | 皮克塞(研究)有限公司 | Systems and methods for digital file processing |
CN1446344A (en) * | 2000-06-19 | 2003-10-01 | 科雷洛吉克系统公司 | Heuristic method of classification |
CN1499364A (en) * | 2002-11-05 | 2004-05-26 | 深圳市中兴通讯股份有限公司 | Automatic method for converting graphic display |
CN101202794A (en) * | 2006-11-16 | 2008-06-18 | Sap股份公司 | Web control simulators for mobile devices |
CN101477564A (en) * | 2009-01-21 | 2009-07-08 | 北京千家悦网络科技有限公司 | Intelligent layout method for displaying wide web page on narrow-screen equipment |
-
2011
- 2011-04-19 CN CN 201110098268 patent/CN102184193A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1434960A (en) * | 2000-04-14 | 2003-08-06 | 皮克塞(研究)有限公司 | Systems and methods for digital file processing |
CN1446344A (en) * | 2000-06-19 | 2003-10-01 | 科雷洛吉克系统公司 | Heuristic method of classification |
CN1499364A (en) * | 2002-11-05 | 2004-05-26 | 深圳市中兴通讯股份有限公司 | Automatic method for converting graphic display |
CN101202794A (en) * | 2006-11-16 | 2008-06-18 | Sap股份公司 | Web control simulators for mobile devices |
CN101477564A (en) * | 2009-01-21 | 2009-07-08 | 北京千家悦网络科技有限公司 | Intelligent layout method for displaying wide web page on narrow-screen equipment |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2016015564A1 (en) * | 2014-07-31 | 2016-02-04 | 广州金山网络科技有限公司 | Method and apparatus for displaying document |
CN104516861A (en) * | 2014-11-26 | 2015-04-15 | 无锡永中软件有限公司 | Multimedia interactive document processing method |
CN104516861B (en) * | 2014-11-26 | 2017-04-12 | 无锡永中软件有限公司 | Multimedia interactive document processing method |
CN106599066A (en) * | 2016-11-16 | 2017-04-26 | 广州视源电子科技股份有限公司 | Document loading method and system |
CN109145263A (en) * | 2017-06-19 | 2019-01-04 | 珠海金山办公软件有限公司 | A kind of document processing method and device, computer readable storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US7676785B2 (en) | Hosted application as a designer in an integrated development environment | |
US9727538B2 (en) | Editing a fragmented document | |
US10459603B2 (en) | Extension activation for related documents | |
US20010007988A1 (en) | Method and system in an electronic spreadsheet for adding or removing elements from a cell named range according to different modes | |
CN102663002B (en) | Method and system for structured-document rendering | |
US20180275835A1 (en) | System and method for on-screen graphical user interface encapsulation and reproduction | |
US9092131B2 (en) | Highlighting of tappable web page elements | |
CN103853729A (en) | Page loading method and system | |
US8739065B2 (en) | Computing device, storage medium and method for managing software menus using the computing device | |
CN102184193A (en) | Quick file processing method compatible with general office software | |
US20060271567A1 (en) | System and method for user edit merging with preservation of unrepresented data | |
US7913166B2 (en) | Method and apparatus for implied editing action through directional and ordered data selection | |
US20030233614A1 (en) | System and method for in-context editing of components | |
CN110286971B (en) | Processing method and system, medium and computing device | |
CN108536584B (en) | Automatic testing method based on Sikuli | |
CN102157005B (en) | Document view drawing method applied to small-screen equipment | |
CN110737372A (en) | newly-added primitive operation method and system for electronic whiteboard and electronic whiteboard | |
CN106528946B (en) | A kind of method of batch insertion AutoCAD segment | |
CN103020199A (en) | Virtual file system suitable for different operating system platforms and application thereof | |
CN102929851B (en) | A kind of graphic file modification method in document | |
Costanich | Developing C# Apps for IPhone and IPad Using MonoTouch: IOS Apps Development for. NET Developers | |
CN115878851A (en) | Method and device for editing XML file, electronic equipment and storage medium | |
Pippi | Python for Google App Engine | |
CN117032864A (en) | Method and device for loading history page, terminal equipment and storage medium | |
CN110147349A (en) | A kind of document data bank management method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C12 | Rejection of a patent application after its publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20110914 |