CN102157005B - Document view drawing method applied to small-screen equipment - Google Patents
Document view drawing method applied to small-screen equipment Download PDFInfo
- Publication number
- CN102157005B CN102157005B CN2011100983926A CN201110098392A CN102157005B CN 102157005 B CN102157005 B CN 102157005B CN 2011100983926 A CN2011100983926 A CN 2011100983926A CN 201110098392 A CN201110098392 A CN 201110098392A CN 102157005 B CN102157005 B CN 102157005B
- Authority
- CN
- China
- Prior art keywords
- data
- type
- document
- treatment
- drafting
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Images
Abstract
The invention discloses a document view drawing method applied to small-screen equipment. The method comprises the following steps of: reading data from a document; analyzing and packaging the read data; judging whether the packaged data can be drawn directly, carrying out view drawing on the data which can be drawn directly according to the type of the data, and drawing the data which cannot be drawn directly into pre-set icons, wherein the type that the data can be drawn directly is one or more of all data types which are supported by the document; and switching views and carrying out individual view drawing on the data according to the type after clicking one of the pre-set icons corresponding to the data which cannot be drawn directly. Therefore, the data in the types can be displayed fully, and the problem of incomplete drawing is avoided possibly.
Description
[technical field]
The present invention relates to the office software field, be particularly suited for the document views method for drafting that small screen device uses.
[background technology]
Mobile phone is popularized gradually in recent years, and the quantity that has a mobile phone in China according to statistics is about 7.4 hundred million.At present, smart mobile phone becomes the mainstream model in the mobile phone gradually, and said 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 through 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.For instance, the screen of smart mobile phone is generally smaller, and is bigger at last in smart mobile phone such as 4 cun screens, but when showing common word document, still can have a lot of problems.Such as, infull problem possibly appear showing for some bigger object datas (like picture or keisen).In addition, also there is other problems in the operation office software on smart mobile phone, and slow such as travelling speed, object data do not show, editor preserves the back object data and loses etc.
Therefore, hope to propose a kind of document views that can improvedly be suitable for small screen device (such as smart mobile phone) use and draw scheme.
[summary of the invention]
One of technical matters that the present invention will solve is to provide a kind of document views drafting scheme that small screen device uses that is suitable for.
In order to address the above problem, according to an aspect of the present invention, the invention provides a kind of document views method for drafting, it comprises: reading of data from document; The said data that read are resolved and encapsulated; Judge that whether data after the said encapsulation are direct paint type; For the direct data of paint type; According to said type of data said data being carried out view draws; For the data of paint type not directly, directly said data are depicted as corresponding predetermined icon, wherein said directly paint type is the subclass of all data types of said document support.
In a further embodiment, 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 said type to said data and draws.
In a further embodiment, said directly paint type is defined by program developer or user in advance.
In a further embodiment, all data types of said 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, said the said data that read are resolved and encapsulation comprises: resolve the said data that read; But normally encapsulate with data to the treatment type in the data after resolving; To in the data after resolving can not treatment type data carry out simplified package; The subclass of all data types that but wherein said treatment type is said document to be supported, but said directly paint type is the subclass of said treatment type.
In an embodiment further, 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, but said treatment type is defined by program developer or user in advance.
In an embodiment further,, it also comprises: data that can not treatment type are depicted as predetermined icon.
Compared with prior art; Data with some types when in the present invention document being carried out the view drafting are depicted as predetermined icon; Switch view also carries out the view drafting to the data of these types separately after obtaining specific instruction; Like this can so that the data of these types fully shown, avoid drawing not congruent problem as much as possible.
About other purposes of the present invention, characteristic and advantage will combine accompanying drawing in embodiment, to describe in detail below.
[description of drawings]
In conjunction with reference to accompanying drawing and ensuing detailed description, 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 make above-mentioned purpose of the present invention, feature and advantage can be more obviously understandable, below in conjunction with accompanying drawing and embodiment the present invention done further detailed explanation.
Detailed description of the present invention mainly appears through 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 here and state that the others skilled in the art in affiliated field effectively introduce their work essence.
Alleged here " embodiment " or " embodiment " are meant that special characteristic, structure or the characteristic relevant with said embodiment can be contained at least one implementation of the present invention at least.Different local in this manual " in one embodiment " that occur and nonessential all refer to same embodiment, must not be yet with other embodiment mutually exclusive separately or select embodiment.In addition, represent that the sequence of modules and revocable in method, process flow diagram or the functional block diagram of one or more embodiment refers to any particular order, also be not construed as limiting the invention.
According to an aspect of the present invention; The present invention proposes a kind of quick document processing method; 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 said 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.Mentioned document can be the file that office software (office software) generates among this paper, the DOC file that generates such as the word processing program word of Microsoft etc., and said 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.Said document processing method 100 may further comprise the steps or operates.
Subsequently, said 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 said type of 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 said paragraph, read the data of a type.
In step 105, but judge whether said data are treatment type.But said treatment type can be through being defined by word processing program developer or user in advance; One or more in all data types that but said treatment type is a said document (word processing program in other words) to be supported; But such as setting text is treatment type; Other types all are can not treatment type, but can set text for another example and the keisen type is a treatment type, and other types all are can not treatment type.
If but said data are treatment type; Then in step 106, said data are normally encapsulated according to said type of data; Promptly being packaged into needs when view is drawn and can recognition data, if be text such as said type of data, then the packaged type according to text encapsulates said data; If said type of data is a picture; Then the packaged type according to picture/mb-type encapsulates said data, if said type of data is the AutoShape data, then the packaged type according to the AutoShape type encapsulates said data etc., then in step 107, said data are carried out simplified package if but said data are not treatment type.
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 said 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 usually normal 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.
Said 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 said whole data is carried to appointed positions etc.; Simplified package needs any calculated amount hardly, and the data that therefore 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 can not this picture former state be shown the data of said 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 said data that can not treatment type still can show on this common language handling procedure and edit.That is to say that said quick document processing method 100 can be realized compatible with said common language handling procedure.
In sum; One of the important feature of said document processing method 100, advantage or benefit are: when the data in the document are encapsulated; Unlike that kind of the prior art all types of data are all normally encapsulated, but perhaps the data of treatment type are all normally encapsulated, abandon can not treatment type data; But the data that selectively are directed against the part type normally encapsulate; Data to the part type are carried out simplified package, can reduce calculated amount greatly like this, avoid preserving losing of back data simultaneously.
According to another aspect of the present invention, the present invention proposes a kind of document views method for drafting that small screen device uses that is suitable for, and said small screen device comprises electronic equipments such as smart mobile phone, PDA.Said document views method for drafting is depicted as predetermined icon with the data of some types when document being carried out the view drafting; Switch view also carries out the view drafting to the data of these types separately after obtaining specific instruction; Like this can so that the data of these types fully shown, avoid drawing not congruent problem as much as possible.
Fig. 2 is the schematic flow sheet of document views method for drafting in an embodiment 200 among the present invention.The enterprising row in data basis after the encapsulation that said 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 said paragraph, read the data of a type.
If but said data are treatment type; Continue in step 204 then to judge that whether said data are direct paint type; If, then in step 205, said data are carried out view and draw according to said type of data, otherwise; Then in step 206, said data are depicted as the predetermined icon of a correspondence, different data types can corresponding different predetermined icons.Said directly but paint type is the same as treatment type, also can be defined in advance by the developer or the user of word processing program, but said directly paint type is the subclass of said treatment type.For instance; For categorical datas such as keisen or AutoShapes; Draw if directly it is carried out view, 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 corresponding data of this icon are carried out view again and draw (hereinafter will be described in detail), can be set at direct paint type, can directly said text data be carried out view like this and draw to show for the text data.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 said data are can not treatment type; Then in step 207, said 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, and click and should still can not show these data behind the predetermined icon, this is because data that can not treatment 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; Said document views method for drafting 200 can only be drawn part paragraph or a partial data in the paragraph in the document; Can confirm 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, with in the document can not treatment type data directly be 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.Special, owing to can the data definition of some types be paint type not directly, thereby can avoid document being carried out overview not congruent problem of data drafting to these types when drawing.
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 said document views control method 300 can be in Fig. 2, it may further comprise the steps or operates.
But if should be scheduled to the corresponding type of icon be treatment type, then also carry out independent view drafting according to being scheduled to the corresponding type of icon to said data at step 304 switch view.For instance, after clicking said predetermined icon, can former view be closed, again the corresponding data of this predetermined icon carried out view and draw, rather than on the basis of former view, further the corresponding data of this predetermined icon carried out view and draw.Owing to be that the independent view that the corresponding data of this predetermined icon 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 should the corresponding type of predetermined icon be can not treatment type, then in step 305, can click event not make response.
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.
It should be noted that in a special embodiment, but said treatment type can comprise all types that said document or word processing program can be supported.In this case; But be equivalent to not be provided with treatment type; All types of data in the document all can normally encapsulate, and the document processing method 100 among Fig. 1 can directly get into step 106 from step 104, and does not get into step 105 and step 107; Document views method for drafting 200 among Fig. 2 can directly get into 204 from step 202; And not getting into step 203 and step 207, the document views control method 300 among Fig. 3 can directly get into 304 from step 302, and does not get into step 303 and 305.
Can find out in conjunction with Fig. 2 and Fig. 3; For in the document can not treatment type data; Its drafting is become predetermined icon always,, just when first drafting or acquiescence drafting, it is depicted as predetermined icon for the data of the not directly paint type in the document; 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 carry out more detailed drafting to the data of paint type not directly being chosen the back, thereby avoid occurring drawing not congruent problem.
The user can carry out edit-modify to said document.For data that can not treatment type, can carry out deletion action, such as predetermined icon deletion, so just deleted all data of its correspondence with correspondence.But, 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 data of the not directly paint type in the treatment type.But, 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. for the directly data of paint type in the treatment type.Need adjust when the data of said document are made amendment and preserve location index etc.Said editor's data can be kept in the data after the encapsulation, after preserving, can preserve in the palindrome files.
Fig. 4 is the schematic flow sheet of document storing method in an embodiment 400 among the present invention.Said 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 said document according to predefined mode, and the data in the said internal memory comprise the data after data and the encapsulation after the parsing of document.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 definition is not necessarily identical, but the influence of the data after writing data in the document and can being encapsulated, after the data of treatment type are not carried out simplified package; When editing, still can the data after the simplified package be write back in the internal memory origin-location losing of the data of treatment type not after can preventing like this to preserve.
Step 403 is preserved and is accomplished.At this moment, the data of treatment type are not preserved in the said document too.
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 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.
Preceding text have carried out the enough detailed description with certain singularity to the present invention.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 described claims, rather than limit the foregoing description among the embodiment.
Claims (5)
1. document views method for drafting is characterized in that it comprises:
Reading of data from document;
Resolve the said data that read;
But the data to the treatment type in the data after resolving normally encapsulate, in the data after resolving can not treatment type data carry out simplified package;
Judge but whether the data after the said encapsulation are treatment type;
If but said data are treatment type; Continue to judge that whether data after the said encapsulation are direct paint type,, said data are carried out the view drafting according to said type of data for the direct data of paint type; For the data of paint type not directly; Directly said data are depicted as corresponding predetermined icon, click should predetermined icon after, switch view also carries out independent view according to type that should predetermined icon corresponding data to this predetermined icon corresponding data and draws;
Said data are can not treatment type, and said data are depicted as a predetermined icon;
The subclass of all data types that but wherein said treatment type is said document to be supported, but said directly paint type is the subclass of said treatment type.
2. document views method for drafting according to claim 1 is characterized in that, said directly paint type is defined by program developer or user in advance.
3. document views method for drafting according to claim 1; It is characterized in that all data types of said 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.
4. document views method for drafting 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.
5. document views method for drafting according to claim 1 is characterized in that, but said treatment type is defined by program developer or user in advance.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2011100983926A CN102157005B (en) | 2011-04-19 | 2011-04-19 | Document view drawing method applied to small-screen equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2011100983926A CN102157005B (en) | 2011-04-19 | 2011-04-19 | Document view drawing method applied to small-screen equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN102157005A CN102157005A (en) | 2011-08-17 |
CN102157005B true CN102157005B (en) | 2012-11-21 |
Family
ID=44438484
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2011100983926A Active CN102157005B (en) | 2011-04-19 | 2011-04-19 | Document view drawing method applied to small-screen equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102157005B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108897537A (en) * | 2018-05-11 | 2018-11-27 | 永中软件股份有限公司 | Document display method, computer-readable medium and a kind of computer |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1752979A (en) * | 2004-09-23 | 2006-03-29 | 捷讯研究有限公司 | Web browser graphical user interface and method for implementing same |
CN1926547A (en) * | 2004-03-02 | 2007-03-07 | 皇家飞利浦电子股份有限公司 | Hierarchical broadcast of UI assets |
JP2008040380A (en) * | 2006-08-10 | 2008-02-21 | Seiko Epson Corp | Multi-display system |
CN101382870A (en) * | 2008-10-15 | 2009-03-11 | 深圳市杰特电信控股有限公司 | Electronic drafting method |
CN101652741A (en) * | 2007-03-09 | 2010-02-17 | 奥多比公司 | The system and method that is used for navigation of display data |
-
2011
- 2011-04-19 CN CN2011100983926A patent/CN102157005B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1926547A (en) * | 2004-03-02 | 2007-03-07 | 皇家飞利浦电子股份有限公司 | Hierarchical broadcast of UI assets |
CN1752979A (en) * | 2004-09-23 | 2006-03-29 | 捷讯研究有限公司 | Web browser graphical user interface and method for implementing same |
JP2008040380A (en) * | 2006-08-10 | 2008-02-21 | Seiko Epson Corp | Multi-display system |
CN101652741A (en) * | 2007-03-09 | 2010-02-17 | 奥多比公司 | The system and method that is used for navigation of display data |
CN101382870A (en) * | 2008-10-15 | 2009-03-11 | 深圳市杰特电信控股有限公司 | Electronic drafting method |
Also Published As
Publication number | Publication date |
---|---|
CN102157005A (en) | 2011-08-17 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
AU2020203136B2 (en) | System and method for the generation of an adaptive user interface in a website building system | |
US20210303108A1 (en) | System and method for on-screen graphical user interface encapsulation and reproduction | |
US9619441B2 (en) | Editing a fragmented document | |
US6826729B1 (en) | Gallery user interface controls | |
US7676785B2 (en) | Hosted application as a designer in an integrated development environment | |
US20130091451A1 (en) | System and method for visually browsing of open windows | |
EP2810151B1 (en) | Extension activation for related documents | |
US20060224991A1 (en) | Method and apparatus for application window grouping and management | |
CN103853729A (en) | Page loading method and system | |
CN103761218A (en) | Method for annotating and commenting electronic document on computer | |
US7370060B2 (en) | System and method for user edit merging with preservation of unrepresented data | |
CN104915186B (en) | A kind of method and apparatus making the page | |
CN101311920A (en) | Computer archive annotation information annotating and display method | |
US7698636B2 (en) | System and method for in-context editing of components | |
CN103902562A (en) | Method and device for upgrading terminal databases | |
CN102184193A (en) | Quick file processing method compatible with general office software | |
CN103150456B (en) | Under a kind of MATLAB environment, gui system makes method and system | |
CN103207918A (en) | Method, system and device for managing animation effect of presentation files | |
CN110286971B (en) | Processing method and system, medium and computing device | |
CN108241460A (en) | Picture suspension display methods, system and computer readable storage medium | |
CN102073554B (en) | Method and device for recovering files closed abnormally | |
CN108536584B (en) | Automatic testing method based on Sikuli | |
CN105630757A (en) | Data editing method and apparatus | |
CN102157005B (en) | Document view drawing method applied to small-screen equipment | |
CN117032864A (en) | Method and device for loading history page, terminal equipment and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
CP03 | Change of name, title or address |
Address after: 214000 Jiangsu Province, Wuxi City District Zhenze Wuxi Road No. 18 (National) fish Software Park building D block Patentee after: Evermore software Limited by Share Ltd Address before: A road of national hi tech Industrial Development Zone, Wuxi City, Jiangsu province 214135 No. 18 Wuxi (National) software park D District 5, 6 layers of Taurus Patentee before: Wuxi Evermore Software Co., Ltd. |
|
CP03 | Change of name, title or address |