[go: up one dir, main page]

CN101916174B - Display method and device thereof, treatment method and device thereof for electronic document handwriting - Google Patents

Display method and device thereof, treatment method and device thereof for electronic document handwriting Download PDF

Info

Publication number
CN101916174B
CN101916174B CN 201010221030 CN201010221030A CN101916174B CN 101916174 B CN101916174 B CN 101916174B CN 201010221030 CN201010221030 CN 201010221030 CN 201010221030 A CN201010221030 A CN 201010221030A CN 101916174 B CN101916174 B CN 101916174B
Authority
CN
China
Prior art keywords
character
handwriting
rectangular area
place
person
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN 201010221030
Other languages
Chinese (zh)
Other versions
CN101916174A (en
Inventor
侯中华
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hanwang Technology Co Ltd
Original Assignee
Hanwang Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hanwang Technology Co Ltd filed Critical Hanwang Technology Co Ltd
Priority to CN 201010221030 priority Critical patent/CN101916174B/en
Publication of CN101916174A publication Critical patent/CN101916174A/en
Application granted granted Critical
Publication of CN101916174B publication Critical patent/CN101916174B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • User Interface Of Digital Computer (AREA)

Abstract

The invention discloses display and treatment methods and devices for electronic document handwriting, belonging to the technical field of electronic display, ensuring that handwriting of electronic documents is displayed again without being lost in scaling and resetting of typefaces. The display method of electronic document handwriting comprises the steps of: calculating a scaling coefficient according to the height and the width of a rectangular region in which current characters are located and the height and the width of a rectangular region in which corresponding characters in a database are located; calculating an output display coordinate of each handwriting point of the characters in the rectangular region according to the scaling coefficient, the starting coordinate of the rectangular region in which the current characters are located, and the starting coordinate of the rectangular region in which the corresponding characters in the database are located; and outputting and displaying each handwriting point according to the output display coordinate. The display method is mainly applicable to electronic display devices, and is especially applicable to e-book.

Description

The display packing of electronic document handwriting and device, disposal route and device
Technical field
The present invention relates to the electronic document field, relate in particular to a kind of display packing and device, disposal route and device of electronic document handwriting.
Background technology
At present, a lot of display devices can be by the interactive mode of handwriting input conduct with the user.Take e-book as example, during the electronic document of user in reading described e-book, can be by the mode of handwriting input, directly mark and preserve at electronic document, such as the emphasis sentence is added underscore, perhaps the blank space between literal is done operation and the preservations such as literal annotations and comments.Close when opening again at the electronic document of having done mark, described mark can be again together shown with described electronic document content, just as we traditional paper book makes marks.
In the prior art, the person's handwriting of handwriting input content can be preserved into dual mode: preserve or preserve in the mode of point set in the mode of picture.
If the person's handwriting of described handwriting input content is preserved in the mode of picture, then the person's handwriting picture of described handwriting input content is with separate between the electronic document content, when the composing change of described electronic document content or font size change, the text point of described electronic document can change thereupon, and the person's handwriting in the person's handwriting picture of described handwriting input content can't be done corresponding change with described electronic document content, therefore, the person's handwriting of described handwriting input content just can not show again.And the person's handwriting of preserving described handwriting input content in the mode of picture needs a large amount of storage spaces, can affect the efficient of display device system.
The person's handwriting of preserving described handwriting input content in the mode of point set does not need a large amount of storage spaces.Specific implementation is as follows: recorded electronic documentation page information, described electronic document page information comprise the font size information in page number information and the current page, and record simultaneously the coordinate information of the point set of the person's handwriting that consists of the handwriting input content in the described current page.When again opening described electronic document and need to show simultaneously the person's handwriting of described handwriting input content, as long as find with the page number information of the described page or leaf that again is opened and the electronic document page information that font size information is complementary, within showing described electronic document page information, described current page consists of the point set of the person's handwriting of handwriting input content, and just can described handwriting input content is together shown with described electronic document content.
Adopt technique scheme to realize the preservation of handwriting input content, when the literal level of zoom of described electronic document content changed, every page of upper content that shows will change in the described electronic document, and then original page number will be upset.Because original page number and font size all change, and current page number information and font size information can't be complementary with the page number information of preserving in the database and font size information, then the person's handwriting of described handwriting input content can not be shown.
Summary of the invention
Embodiments of the invention provide a kind of display packing and device, disposal route and device of electronic document handwriting, can guarantee that electronic document amplifies, dwindles in font, or handwriting can again be shown and do not lose when again setting type.
For achieving the above object, embodiments of the invention adopt following technical scheme:
A kind of display packing of electronic document handwriting comprises:
Height value, the width value of the rectangular area at respective symbols place calculate the height of the rectangular area at described character place, the zoom factor of width during the input person's handwriting stored in height value, width value and the database according to the rectangular area at current character place;
Output display coordinate according to each person's handwriting point in the rectangular area at the described character of the coordinate Calculation place of the origin coordinates of the rectangular area at the respective symbols place of storing in the origin coordinates of the rectangular area at the zoom factor of the height of the rectangular area at described character place, width, current character place and the database, person's handwriting point;
According to each person's handwriting point of described output display coordinate output display.
A kind of disposal route of electronic document handwriting comprises:
When the person's handwriting input is arranged, obtain the coordinate of each person's handwriting point;
With the rectangular area information contrast of all characters on the coordinate of described person's handwriting point and the current page, find the character at described person's handwriting point place;
To the sign of the character of person's handwriting input be arranged in the rectangular area, the coordinate of all person's handwriting points is saved in database as a handwriting record in the rectangular area at described rectangular area origin coordinates, height value, width value and described character place.
A kind of display device of electronic document handwriting comprises:
The first computing unit, height value, the width value of the rectangular area at respective symbols place calculate the height of the rectangular area at described character place, the zoom factor of width during the input person's handwriting that is used for storing according to height value, width value and the database of the rectangular area at current character place;
The second computing unit is used for the output display coordinate of each person's handwriting point in the rectangular area at the described character of coordinate Calculation place of origin coordinates, person's handwriting point of the rectangular area at the origin coordinates of rectangular area at zoom factor, current character place of height, width according to the rectangular area at described character place and the respective symbols place that database is stored;
The output display unit is used for according to each person's handwriting point of described output display coordinate output display.
A kind for the treatment of apparatus of electronic document handwriting comprises:
The 3rd acquiring unit is used for obtaining the coordinate of each point in the described person's handwriting when the person's handwriting input is arranged;
Search the unit, be used for the rectangular area information of all characters on the coordinate of described person's handwriting point and the current page is contrasted, find the character at described person's handwriting point place;
Storage unit is used for and will the sign of the character of person's handwriting input be arranged in the rectangular area, and the coordinate of all person's handwriting points is saved in database as a handwriting record in the rectangular area at described rectangular area origin coordinates, height value, width value and described character place.
The demonstration of a kind of electronic document handwriting that the embodiment of the invention provides, disposal route and device, the person's handwriting of handwriting input is preserved in the mode of point set, can with together convergent-divergent or again composing of character, described point set be preserved with corresponding character information respectively together according to the character zone difference at each some place in order to make described person's handwriting.Rectangular area origin coordinates, height value, width value and the sign of described character in document of character are together saved as a handwriting record with the coordinate of the person's handwriting point set in the described character rectangular area.When again setting type or changing the zoom factor of character, when again showing electronic document, during each character in showing described electronic document, rectangular area information calculations zoom factor according to the corresponding character of storing in the rectangular area information of current character and the handwriting record, after obtaining the zoom factor of described character, calculate the output display coordinate that consists of each point of person's handwriting in the rectangular area of described character according to zoom factor, after obtaining the output display coordinate of described person's handwriting, according to all the person's handwriting points in the rectangular area of the described character of described output display coordinate output display.Because being the convergent-divergent according to character, the coordinate that described person's handwriting is put again output display calculates, so can realize that described person's handwriting is with the in proportion convergent-divergent of electronic document character content, when again setting type or changing the zoom factor of character, when again showing electronic document, described person's handwriting is not lost, the handwriting input content can be with convergent-divergent or again set type after the corresponding convergent-divergent of character content or again set type.
Description of drawings
In order to be illustrated more clearly in the technical scheme of the embodiment of the invention, the accompanying drawing of required use was done to introduce simply during the below will describe embodiment, apparently, accompanying drawing in the following describes only is some embodiments of the present invention, for those of ordinary skills, under the prerequisite of not paying creative work, can also obtain according to these accompanying drawings other accompanying drawing.
Fig. 1 is the process flow diagram of the display packing of the described electronic document handwriting of the embodiment of the invention;
Fig. 2 is the process flow diagram preferred embodiment of the display packing of the described electronic document handwriting of the embodiment of the invention;
Fig. 3 is the process flow diagram of the disposal route of the described electronic document handwriting of the embodiment of the invention;
Fig. 4 is the structural drawing of the display device of the described electronic document handwriting of the embodiment of the invention;
Fig. 5 is the structural drawing preferred embodiment of the display device of the described electronic document handwriting of the embodiment of the invention;
Fig. 6 is the structural drawing of the treating apparatus of the described electronic document handwriting of the embodiment of the invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the invention, the technical scheme in the embodiment of the invention is clearly and completely described, obviously, described embodiment only is the present invention's part embodiment, rather than whole embodiment.Based on the embodiment among the present invention, those of ordinary skills belong to the scope of protection of the invention not making the every other embodiment that obtains under the creative work prerequisite.
The embodiment of the invention provides a kind of display packing of electronic document handwriting, as shown in Figure 1, comprising:
Height value, the width value of the rectangular area at respective symbols place calculate the height of the rectangular area at described character place, the zoom factor of width during the input person's handwriting 101, stored in height value, width value and the database according to the rectangular area at current character place.
102, after obtaining described zoom factor, according to the output display coordinate of each person's handwriting point in the rectangular area at the described character of the coordinate Calculation place of the origin coordinates of the rectangular area at the respective symbols place of storing in the origin coordinates of the rectangular area at the zoom factor of the height of the rectangular area at described character place, width, current character place and the database, person's handwriting point.
103, according to each person's handwriting point of described output display coordinate output display.
The display packing of a kind of electronic document handwriting that the embodiment of the invention provides, when again setting type or changing the zoom factor of character, when again showing electronic document, during each character in showing described electronic document, according to the rectangular area information calculations zoom factor of the corresponding character of storing in the rectangular area information of current character and the handwriting record, described rectangular area information comprises height value, width value, the origin coordinates of rectangular area.After obtaining the zoom factor of described character, calculate the output display coordinate that consists of each point of person's handwriting in the rectangular area of described character according to zoom factor, after obtaining the output display coordinate of described person's handwriting, according to all the person's handwriting points in the rectangular area of the described character of described output display coordinate output display.Because being the convergent-divergent according to character, the output display coordinate of described person's handwriting point calculates, so can realize that described person's handwriting is with the in proportion convergent-divergent of electronic document character content, when again setting type or changing the zoom factor of character, when again showing electronic document, described person's handwriting is not lost, the handwriting input content can be with convergent-divergent or again set type after the corresponding convergent-divergent of character content or again set type.
As a kind of improvement of the present embodiment, the embodiment of the invention provides the display packing of another kind of electronic document handwriting, as shown in Figure 2, comprising:
201, in order to simplify the operating process of searching database, height and width according to the reference position of the composing coordinate of current display page, end position, character, calculate the number of the character that current page shows, further obtain the sign of each character that current page can show.When every one page content of output display electronic document, at first search database, obtain the handwriting record information of all characters in the current page.
202, obtained the handwriting record information of all characters in the current page after, when each character of output display, according to the identification information of described character, search corresponding handwriting record information.
203, according to searching the result of described handwriting record information, judge in the rectangular area at described character place whether handwriting record is arranged.If find the handwriting record information of described character, then in the rectangular area at described character place handwriting record is arranged; If do not find the handwriting record information of described character, then there is not handwriting record in the rectangular area at described character place.When in the rectangular area at described character place handwriting record being arranged, carry out 204; When not having handwriting record in the rectangular area at described character place, flow process finishes.
As this step preferred embodiment, the sign of described character can for: according to described character place the section, the row, character the position each character in the text flow is identified, such as for first paragraph, the third line, the 5th character, the sign of described character is exactly 135.
When output display one page content, each character will occupy a rectangular area, the height of the rectangular area at the described character of the present embodiment place can for: the height value of character and line space and.And the width of the rectangular area at described character place has following several account form:
The first, when the described character section of being initial character, the width of the rectangular area at described character place is: the width value of the white space that section is first and the width value of described character with.When the white space of section head had the person's handwriting input, at the electronic document character scale or after again setting type, described person's handwriting input also can the section of following initial character be again shown and can not be lost person's handwriting.
The second, when the described character section of being trailing character, the width of the rectangular area at described character place is: the width value of width value and the described character of the white space of section tail with.When the white space of section tail had the person's handwriting input, at the electronic document character scale or after again setting type, described person's handwriting input also can the section of following trailing character be again shown and can not be lost person's handwriting.
The 3rd, when in the described character section of being during character, the width of the rectangular area at described character place be the width value of described character and adjacent white space width value and.Allow the current interior Zone Full of one layout region of page or leaf that shows all be covered by the rectangular area of character, can make the person's handwriting of input in the one layout region, at the electronic document character scale or after again setting type, the character that described person's handwriting input also can be followed its place is again shown and can not be lost person's handwriting.
204, call the handwriting record information of described character.
Height value, the width value of the rectangular area at respective symbols place calculate the height of the rectangular area at described character place, the zoom factor of width during the input person's handwriting 205, stored in height value, width value and the database according to the rectangular area at current character place.
The present embodiment provides a kind of embodiment of preferred calculating zoom factor:
μ1=m1/m、μ2=n1/n;
Wherein, m is the height value of the rectangular area at the described character place of storing in the database, and m1 is the height value that described current page shows the rectangular area at character place, and μ 1 is the high zoom factor of the rectangular area at described character place;
N is the width value of the rectangular area at the described character place of storing in the database, and n1 is the width value that described current page shows the rectangular area at character place, and μ 2 is the wide zoom factor of the rectangular area at described character place.
206, after obtaining described zoom factor, according to the output display coordinate of each person's handwriting point in the rectangular area at the described character of the coordinate Calculation place of the origin coordinates of the rectangular area at the respective symbols place of storing in the origin coordinates of the rectangular area at the zoom factor of the height of the rectangular area at described character place, width, current character place and the database, person's handwriting point.
The present embodiment provides a kind of embodiment of output display coordinate of preferred calculating person's handwriting point:
dx4=dx3+(dx1-dx0)*μ2,dy4=dy3+(dy1-dy0)*μ1;
Wherein, (dx0, dy0) is the origin coordinates of respective symbols in the described database, and (dx1, dy1) is the coordinate of described person's handwriting point;
(dx3, dy3) is the origin coordinates of described current character, and (dx4, dy4) is the coordinate of described current person's handwriting point;
μ 1 is the high zoom factor of the rectangular area at described character place, and μ 2 is the wide zoom factor of the rectangular area at described character place.
The present embodiment provides the embodiment of the output display coordinate of another kind of preferred calculating person's handwriting point: what store in the database can be the relative coordinate of described person's handwriting point and described respective symbols origin coordinates.
If: the described person's handwriting point of storing in the described database and the relative coordinate of described respective symbols are (dx5, dy5), the origin coordinates of described current character is (dx6, dy6), the coordinate of described current person's handwriting point is (dx7, dy7), the high zoom factor of the rectangular area at described character place is μ 1, and the wide zoom factor of the rectangular area at described character place is μ 2.
Then the account form of the output display coordinate of described person's handwriting point is: dx7=dx6+dx5* μ 2, dy7=dy6+dy5* μ 1.
207, according to each person's handwriting point of described output display coordinate output display.
The display packing of the electronic document handwriting that the present embodiment provides, when again setting type or changing the zoom factor of character, when again showing electronic document, during each character in showing described electronic document, according to the rectangular area information calculations zoom factor of the corresponding character of storing in the rectangular area information of current character and the handwriting record, described rectangular area information comprises height value, width value, the origin coordinates of rectangular area.After obtaining the zoom factor of described character, calculate the output display coordinate that consists of each point of person's handwriting in the rectangular area of described character according to zoom factor, after obtaining the output display coordinate of described person's handwriting, according to all the person's handwriting points in the rectangular area of the described character of described output display coordinate output display.Because being the convergent-divergent according to character, the output display coordinate of described person's handwriting point calculates, so can realize that described person's handwriting is with the in proportion convergent-divergent of electronic document character content, when again setting type or changing the zoom factor of character, when again showing electronic document, described person's handwriting is not lost, the handwriting input content can be with convergent-divergent or again set type after the corresponding convergent-divergent of character content or again set type.
The display packing of the described electronic document handwriting of the present embodiment does not need all accessing databases of character of every output display, when every one page content of output display electronic document, at first searches database, obtains the handwriting record information of all characters in the current page.When each character of output display, whether find handwriting record with described character place according to the identification information of described character, just can judge in the rectangular area at described character place whether handwriting record is arranged according to described handwriting record.
The embodiment of Fig. 1 to Fig. 2 need to use origin coordinates, height value, the width value of the character of storing in the database, the information such as coordinate of person's handwriting point, in order to obtain described information, can by but be not limited to the described method of following embodiment and realize.
The embodiment of the invention provides a kind of disposal route of electronic document handwriting, as shown in Figure 3, it is characterized in that, comprising:
301, when the person's handwriting input is arranged, obtain the coordinate of each person's handwriting point in the described person's handwriting.
302, with the rectangular area information contrast at all character places on the coordinate of described person's handwriting point and the current page, find the character at place, rectangular area, described person's handwriting point place.
When output display one page content, each character will occupy a rectangular area, the height of the rectangular area at the described character of the present embodiment place can for: the height value of character and line space and.And the width of the rectangular area at described character place has following several account form:
The first, when the described character section of being initial character, the width of the rectangular area at described character place is: the width value of the white space that section is first and the width value of described character with.When the white space of section head had the person's handwriting input, at the electronic document character scale or after again setting type, described person's handwriting input also can the section of following initial character be again shown and can not be lost person's handwriting.
The second, when the described character section of being trailing character, the width of the rectangular area at described character place is: the width value of width value and the described character of the white space of section tail with.When the white space of section tail had the person's handwriting input, at the electronic document character scale or after again setting type, described person's handwriting input also can the section of following trailing character be again shown and can not be lost person's handwriting.
The 3rd, when in the described character section of being during character, the width of the rectangular area at described character place be the width value of described character and adjacent white space width value and.Allow the current interior Zone Full of one layout region of page or leaf that shows all be covered by the rectangular area of character, can make the person's handwriting of input in the one layout region, at the electronic document character scale or after again setting type, the character that described person's handwriting input also can be followed its place is again shown and can not be lost person's handwriting.
303, will the sign of the character of person's handwriting input be arranged in the rectangular area, the coordinate of all person's handwriting points is saved in database as a handwriting record in the rectangular area at the origin coordinates of described rectangular area, height value, width value and described character place.
Preferred embodiment a kind of as step 303 also can will have the person's handwriting point in the rectangular area at sign, rectangular area height value, rectangular area width value and described character place of character of person's handwriting input to be saved in database with respect to the relative coordinate of the origin coordinates of described character as a handwriting record in the rectangular area.
As the present embodiment preferred embodiment, the sign of described character can for: according to described character place the section, the row, character the position each character in the text flow is identified, such as for first paragraph, the third line, the 5th word, the sign of described character is exactly 135.
The disposal route of a kind of electronic document handwriting that the present embodiment provides is preserved the person's handwriting of handwriting input in the mode of point set, saved storage space.Can with together convergent-divergent or again composing of character, described point set be preserved with corresponding character information respectively together according to the character zone difference at each point coordinate place in order to make described person's handwriting.Rectangular area origin coordinates, height value, width value and the sign of described character in document of character are together saved as a handwriting record with the coordinate of the person's handwriting point set in the described character rectangular area.When again setting type or changing the zoom factor of character, when again showing electronic document, with electronic document character content convergent-divergent in proportion, described person's handwriting is not lost with described person's handwriting, the handwriting input content can be with convergent-divergent or again set type after the corresponding convergent-divergent of character content or again set type.
The embodiment of the invention provides a kind of display device of electronic document handwriting, as shown in Figure 4, comprising: the first computing unit 41, the second computing unit 42, output display unit 43.
Wherein, described the first computing unit 41 is according to the height value of the rectangular area at current character place, the height value of the rectangular area at respective symbols place during the input person's handwriting stored in width value and the database, width value calculates the height of the rectangular area at described character place, the zoom factor of width, after having obtained described zoom factor, described the second computing unit 42 is according to the height of the rectangular area at described character place, the zoom factor of width, the origin coordinates of the rectangular area at the respective symbols place of storing in the origin coordinates of the rectangular area at current character place and the database, the output display coordinate of each person's handwriting point in the rectangular area at the described character of the coordinate Calculation of person's handwriting point place, after obtaining the output display coordinate of person's handwriting point, described output display unit 43 is according to each person's handwriting point of described output display coordinate output display.
The display device of a kind of electronic document handwriting that the embodiment of the invention provides, when again setting type or changing the zoom factor of character, when again showing electronic document, during each character in showing described electronic document, the first computing unit is according to the rectangular area information calculations zoom factor of the corresponding character of storing in the rectangular area information of current character and the handwriting record, and described rectangular area information comprises height value, width value, the character origin coordinates of rectangular area.After obtaining the zoom factor of described character, the second computing unit calculates the output display coordinate that consists of each point of person's handwriting in the rectangular area of described character according to zoom factor, after obtaining the output display coordinate of described person's handwriting, the output display unit is according to all the person's handwriting points in the rectangular area of the described character of described output display coordinate output display.Because being the convergent-divergent according to character, the output display coordinate of described person's handwriting point calculates, so can realize that described person's handwriting is with the in proportion convergent-divergent of electronic document character content, when again setting type or changing the zoom factor of character, when again showing electronic document, described person's handwriting is not lost, the handwriting input content can be with convergent-divergent or again set type after the corresponding convergent-divergent of character content or again set type.
A kind of improvement as the present embodiment, the embodiment of the invention provides the display device of another kind of electronic document handwriting, as shown in Figure 5, comprising: the first acquiring unit 51, second acquisition unit 52, judging unit 53, call unit 54, the first computing unit 55, the second computing unit 56, output display unit 57.
Wherein, when the every one page content of output display, at first search database, described the first acquiring unit 51 obtains the handwriting record information of all characters in the current page.Described second acquisition unit 52 is when each character of output display, identification information according to described character, find corresponding handwriting record information, judging unit 53 judges according to described handwriting record information in the rectangular area at described character place whether handwriting record is arranged.When in the rectangular area at described character place handwriting record being arranged, described call unit 54 calls the handwriting record information of described character.
Described the first computing unit 55 is according to the height value of the rectangular area at current character place, the height value of the rectangular area at respective symbols place during the input person's handwriting stored in width value and the database, width value calculates the height of the rectangular area at described character place, the zoom factor of width, after having obtained described zoom factor, described the second computing unit 56 is according to the height of the rectangular area at described character place, the zoom factor of width, the origin coordinates of the rectangular area at the respective symbols place of storing in the origin coordinates of the rectangular area at current character place and the database, the output display coordinate of each person's handwriting point in the rectangular area at the described character of the coordinate Calculation of person's handwriting point place, after obtaining the output display coordinate of person's handwriting point, described output display unit 57 is according to each person's handwriting point of described output display coordinate output display.
The display device of the electronic document handwriting that the present embodiment provides, when again setting type or changing the zoom factor of character, when again showing electronic document, during each character in showing described electronic document, the first computing unit is according to the rectangular area information calculations zoom factor of the corresponding character of storing in the rectangular area information of current character and the handwriting record, and described rectangular area information comprises height value, width value, the origin coordinates of rectangular area.After obtaining the zoom factor of described character, the second computing unit calculates the output display coordinate that consists of each point of person's handwriting in the rectangular area of described character according to zoom factor, after obtaining the output display coordinate of described person's handwriting, the output display unit is according to all the person's handwriting points in the rectangular area of the described character of described output display coordinate output display.Because being the convergent-divergent according to character, the output display coordinate of described person's handwriting point calculates, so can realize that described person's handwriting is with the in proportion convergent-divergent of electronic document character content, when again setting type or changing the zoom factor of character, when again showing electronic document, described person's handwriting is not lost, the handwriting input content can be with convergent-divergent or again set type after the corresponding convergent-divergent of character content or again set type.
The display device of the described electronic document handwriting of the present embodiment, do not need all accessing databases of character of every output display, when every one page content of output display electronic document, at first search database, the first acquiring unit obtains the handwriting record information of all characters in the current page.Described second acquisition unit is when each character of output display, identification information according to described character, find corresponding handwriting record information, judging unit can judge in the rectangular area at described character place whether handwriting record is arranged according to described handwriting record information.
As the display device of the described electronic document handwriting of the present embodiment preferred embodiment: wherein, height value, the width value of the rectangular area at corresponding character place calculate zoom factor and can be following account form during the input person's handwriting stored in height value, width value and the database of the first computing unit according to the rectangular area at current character place:
μ1=m1/m、μ2=n1/n;
Wherein, m is the height value of the rectangular area at the described character place of storing in the database, and m1 is the height value that described current page shows the rectangular area at character place, and μ 1 is the high zoom factor of the rectangular area at described character place.
N is the width value of the rectangular area at the described character place of storing in the database, and n1 is the width value that described current page shows the rectangular area at character place, and μ 2 is the wide zoom factor of the rectangular area at described character place.
Another preferred embodiment as the display device of the described electronic document handwriting of the present embodiment: wherein, the second computing unit can be following account form according to the output display coordinate of each person's handwriting point in the rectangular area at the described character of the coordinate Calculation place of the origin coordinates of respective symbols in the origin coordinates of described zoom factor, current character and the database, person's handwriting point:
dx4=dx3+(dx1-dx0)*μ2,dy4=dy3+(dy1-dy0)*μ1;
Wherein, (dx0, dy0) is the origin coordinates of respective symbols in the described database, and (dx1, dy1) is the coordinate of described person's handwriting point;
(dx3, dy3) is the origin coordinates of described current character, and (dx4, dy4) is the coordinate of described current person's handwriting point;
μ 1 is the high zoom factor of the rectangular area at described character place, and μ 2 is the wide zoom factor of the rectangular area at described character place.
When output display one page content, each character will occupy a rectangular area, the height of the rectangular area at the described character of the present embodiment place can for: the height value of character and line space and.And the width of the rectangular area at described character place has following several account form:
The first, when the described character section of being initial character, the width of the rectangular area at described character place is: the width value of the white space that section is first and the width value of described character with.When the white space of section head had the person's handwriting input, at the electronic document character scale or after again setting type, described person's handwriting input also can the section of following initial character be again shown and can not be lost person's handwriting.
The second, when the described character section of being trailing character, the width of the rectangular area at described character place is: the width value of width value and the described character of the white space of section tail with.When the white space of section tail had the person's handwriting input, at the electronic document character scale or after again setting type, described person's handwriting input also can the section of following trailing character be again shown and can not be lost person's handwriting.
The 3rd, when in the described character section of being during character, the width of the rectangular area at described character place be the width value of described character and adjacent white space width value and.Allow the current interior Zone Full of one layout region of page or leaf that shows all be covered by the rectangular area of character, can make the person's handwriting of input in the one layout region, at the electronic document character scale or after again setting type, the character that described person's handwriting input also can be followed its place is again shown and can not be lost person's handwriting.
The embodiment of the invention provides a kind for the treatment of apparatus of electronic document handwriting, as shown in Figure 6, comprising: the 3rd acquiring unit 61, search unit 62, storage unit 63.
Wherein, when the person's handwriting input was arranged, described the 3rd acquiring unit 61 obtained the coordinate of each point in the described person's handwriting.The described unit 62 of searching is with the rectangle positional information contrast of all characters on the coordinate of described person's handwriting point and the current page, find the character at described person's handwriting point place, described storage unit 63 will have the coordinate of the point of all person's handwritings in the rectangular area of sign, rectangular area origin coordinates, rectangular area height value, rectangular area width value and described character of character of person's handwriting input to be saved in handwriting record in the rectangular area.
The treating apparatus of a kind of electronic document handwriting that the present embodiment provides, the person's handwriting of handwriting input is preserved in the mode of point set, can with together convergent-divergent or again composing of character, described point set be preserved with corresponding character information respectively together according to the character zone difference at each some place in order to make described person's handwriting.Rectangular area origin coordinates, height value, width value and the sign of described character in document at character place are together saved as a handwriting record with the coordinate of the person's handwriting point set in the described character rectangular area.When again setting type or changing the zoom factor of character, when again showing electronic document, with electronic document character content convergent-divergent in proportion, described person's handwriting is not lost with described person's handwriting, the handwriting input content can be with convergent-divergent or again set type after the corresponding convergent-divergent of character content or again set type.
As the present embodiment preferred embodiment, there is following several definition mode the rectangular area of described character:
The height of the rectangular area at described character place can for: the height value of character and line space and.And the width of the rectangular area at described character place has following several account form:
The first, when the described character section of being initial character, the width of the rectangular area at described character place is: the width value of the white space that section is first and the width value of described character with.When the white space of section head had the person's handwriting input, at the electronic document character scale or after again setting type, described person's handwriting input also can the section of following initial character be again shown and can not be lost person's handwriting.
The second, when the described character section of being trailing character, the width of the rectangular area at described character place is: the width value of width value and the described character of the white space of section tail with.When the white space of section tail had the person's handwriting input, at the electronic document character scale or after again setting type, described person's handwriting input also can the section of following trailing character be again shown and can not be lost person's handwriting.
The 3rd, when in the described character section of being during character, the width of the rectangular area at described character place be the width value of described character and adjacent white space width value and.Allow the current interior Zone Full of one layout region of page or leaf that shows all be covered by the rectangular area of character, can make the person's handwriting of input in the one layout region, at the electronic document character scale or after again setting type, the character that described person's handwriting input also can be followed its place is again shown and can not be lost person's handwriting.
As the present embodiment preferred embodiment, the sign of described character can for: according to described character place the section, the row, character the position each character in the text flow is identified.For example, second segment, fourth line, the 6th character is designated 246.
The above; be the specific embodiment of the present invention only, but protection scope of the present invention is not limited to this, anyly is familiar with those skilled in the art in the technical scope that the present invention discloses; can expect easily changing or replacing, all should be encompassed within protection scope of the present invention.Therefore, protection scope of the present invention should be as the criterion by described protection domain with claim.

Claims (11)

1. the display packing of an electronic document handwriting is characterized in that, comprising:
When each character of output display, according to the identification information of described character, search the handwriting record information in the database;
Judge according to the result who searches the handwriting record information in the database in the rectangular area at described character place whether handwriting record is arranged;
When in the rectangular area at described character place handwriting record being arranged, call the handwriting record information of described character;
Height value, the width value of the rectangular area at respective symbols place when the input person's handwriting of storing in height value, width value and the database according to the rectangular area at current character place calculates the height of the rectangular area at described current character place, the zoom factor of width;
According to the height of the rectangular area at described current character place, the zoom factor of width, the output display coordinate of each person's handwriting point in the rectangular area at the described current character of the coordinate Calculation place of the origin coordinates of the rectangular area at the respective symbols place of storing in the origin coordinates of the rectangular area at current character place and the database, person's handwriting point;
According to each person's handwriting point of described output display coordinate output display.
2. the display packing of electronic document handwriting according to claim 1 is characterized in that, at the identification information according to described character, searches before the handwriting record information in the database, and described method also comprises:
When the every one page content of output display, search database, obtain the handwriting record information of all characters in the current page;
Described when each character of output display, identification information according to described character, the handwriting record information of searching in the database is: when each character of output display, according to the identification information of described character, search the handwriting record information of all characters in the current page.
3. the display packing of electronic document handwriting according to claim 1 and 2, it is characterized in that, height value, the width value of the rectangular area at respective symbols place calculate the height of the rectangular area at described character place during the input person's handwriting stored in height value, width value and the database of described rectangular area according to the current character place, the zoom factor of width is: μ l=m1/m, μ 2=nl/n;
Wherein, m is the height value of the rectangular area at the described character place of storing in the database, and m1 is the height value that described current page shows the rectangular area at character place, and μ l is the high zoom factor of the rectangular area at described current character place;
N is the width value of the rectangular area at the described character place of storing in the database, and n1 is the width value that described current page shows the rectangular area at character place, and μ 2 is the wide zoom factor of the rectangular area at described current character place.
4. the display packing of electronic document handwriting according to claim 1 and 2, it is characterized in that, the output display coordinate of each person's handwriting point is in the rectangular area at the origin coordinates of the rectangular area at the respective symbols place of storing in the origin coordinates of the rectangular area at the height of described rectangular area according to described current character place, the zoom factor of width, current character place and the database, the described current character of the coordinate Calculation place of person's handwriting point: dx4=dx3+ (dx1-dx0) * μ 2dy4=dy3+ (dy1-dy0) * μ l;
Wherein, (dx0, dy0) is the origin coordinates of the rectangular area at respective symbols place in the described database, and (dx1, dy1) is the coordinate of described person's handwriting point;
(dx3, dy3) is the origin coordinates of the rectangular area at described current character place, and (dx4, dy4) is the coordinate of described current person's handwriting point;
μ l is the high zoom factor of the rectangular area at described current character place, and μ 2 is the wide zoom factor of the rectangular area at described current character place.
5. the display packing of electronic document handwriting according to claim 1 and 2 is characterized in that, the height of the rectangular area at described current character place is: the height value of described current character and line space and;
When the described current character section of being initial character, the width of the rectangular area at described current character place is: the width value of the white space that section is first and the width value of described current character with;
When the described current character section of being trailing character, the width of the rectangular area at described current character place is: the width value of width value and the described current character of the white space of section tail with;
When in the described current character section of being during character, the width of the rectangular area at described current character place be the width value of described current character and adjacent white space width value and.
6. the disposal route of an electronic document handwriting is characterized in that, comprising:
When the person's handwriting input is arranged, obtain the coordinate of each person's handwriting point;
With the rectangular area information contrast at all character places on the coordinate of described person's handwriting point and the current page, find the character of described person's handwriting point correspondence;
The sign that the character of person's handwriting input is arranged in the rectangular area with the place, the coordinate of all person's handwriting points is saved in database as a handwriting record in the rectangular area at the described character place that described rectangular area origin coordinates, height value, width value and person's handwriting point are corresponding, and described sign comprises section, the row at described character place, the positional information of character.
7. the disposal route of electronic document handwriting according to claim 6 is characterized in that, the height of the rectangular area at described character place is: the height value of character and line space and;
When the described character section of being initial character, the width of the rectangular area at described character place is: the width value of the white space that section is first and the width value of described character with;
When the described character section of being trailing character, the width of the rectangular area at described character place is: the width value of width value and the described character of the white space of section tail with;
When in the described character section of being during character, the width of the rectangular area at described character place be the width value of described character and adjacent white space width value and.
8. the disposal route of electronic document handwriting according to claim 6 is characterized in that,
Being designated of described character: each character in the text flow is identified according to the section at described character place, position capable, character.
9. the display device of an electronic document handwriting is characterized in that, comprising:
Second acquisition unit is used for according to the identification information of described character, searching the handwriting record information in the database when each character of output display;
Judging unit is in the rectangular area of judging described character place according to the result who searches the handwriting record information of database whether handwriting record being arranged;
Call unit is used for calling the handwriting record information of described character when in the rectangular area at described character place handwriting record being arranged;
The first computing unit is used for calculating the height of the rectangular area at described current character place, the zoom factor of width according to height value, the width value of the rectangular area at respective symbols place when the input person's handwriting that height value, width value and the database of the rectangular area at current character place are stored;
The second computing unit is used for the output display coordinate of each person's handwriting point in the rectangular area at the described current character of coordinate Calculation place of origin coordinates, person's handwriting point of the rectangular area at the origin coordinates of rectangular area at zoom factor, current character place of height, width according to the rectangular area at described current character place and the respective symbols place that database is stored;
The output display unit is used for according to each person's handwriting point of described output display coordinate output display.
10. the display device of electronic document handwriting according to claim 9 is characterized in that, described device also comprises:
The first acquiring unit is used for searching database when the every one page content of output display, obtains the handwriting record information of all characters in the current page;
Described second acquisition unit is when each character of output display, identification information according to described character, the handwriting record information of searching in the database is: described second acquisition unit is when each character of output display, according to the identification information of described character, search the handwriting record information of all characters in the current page.
11. the treating apparatus of an electronic document handwriting is characterized in that, comprising:
The 3rd acquiring unit is used for obtaining the coordinate of each person's handwriting point when the person's handwriting input is arranged;
Search the unit, be used for the rectangular area information of all characters on the coordinate of described person's handwriting point and the current page is contrasted, find the character of described person's handwriting point correspondence;
Storage unit, be used for and will the sign of the character of person's handwriting input be arranged in the rectangular area, the coordinate of all person's handwriting points is saved in database as a handwriting record in the rectangular area at the described character place that described rectangular area origin coordinates, height value, width value and person's handwriting point are corresponding, and described sign comprises section, the row at described character place, the positional information of character.
CN 201010221030 2010-06-28 2010-06-28 Display method and device thereof, treatment method and device thereof for electronic document handwriting Active CN101916174B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 201010221030 CN101916174B (en) 2010-06-28 2010-06-28 Display method and device thereof, treatment method and device thereof for electronic document handwriting

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 201010221030 CN101916174B (en) 2010-06-28 2010-06-28 Display method and device thereof, treatment method and device thereof for electronic document handwriting

Publications (2)

Publication Number Publication Date
CN101916174A CN101916174A (en) 2010-12-15
CN101916174B true CN101916174B (en) 2013-01-09

Family

ID=43323694

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 201010221030 Active CN101916174B (en) 2010-06-28 2010-06-28 Display method and device thereof, treatment method and device thereof for electronic document handwriting

Country Status (1)

Country Link
CN (1) CN101916174B (en)

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102968407B (en) * 2011-08-31 2015-09-09 汉王科技股份有限公司 The building method of double-layer PDF file and device
CN104462068B (en) * 2013-09-12 2017-11-07 北大方正集团有限公司 Character conversion system and character conversion method
CN105446689B (en) * 2015-12-16 2018-12-07 广州视睿电子科技有限公司 Method and system for remote annotation synchronization
CN106776527B (en) * 2016-12-14 2020-03-17 掌阅科技股份有限公司 Electronic book data display method and device and terminal equipment
CN107608612A (en) * 2017-08-21 2018-01-19 广州视源电子科技股份有限公司 Alignment display method of handwriting, electronic device and readable storage medium
CN109358799B (en) * 2018-09-11 2021-06-15 北京思骏教育科技有限公司 Method for adding handwritten annotation information input by user on handwriting equipment
CN111352599A (en) * 2019-05-07 2020-06-30 鸿合科技股份有限公司 Data processing method and device for remote whiteboard and electronic equipment
CN113655934B (en) * 2021-08-30 2024-07-16 咪咕数字传媒有限公司 Electronic file display method, electronic file display device, computing equipment and computer storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1749938A (en) * 2004-09-16 2006-03-22 亿燿企业股份有限公司 Mobile phone external handwriting original trace arrangement input device and arrangement method
CN1848108A (en) * 2005-04-05 2006-10-18 夏普株式会社 Method and apparatus for displaying electronic document including handwritten data
CN101539905A (en) * 2009-04-27 2009-09-23 浙江大学 Embedded multi-format electronic document marking method

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1749938A (en) * 2004-09-16 2006-03-22 亿燿企业股份有限公司 Mobile phone external handwriting original trace arrangement input device and arrangement method
CN1848108A (en) * 2005-04-05 2006-10-18 夏普株式会社 Method and apparatus for displaying electronic document including handwritten data
CN101539905A (en) * 2009-04-27 2009-09-23 浙江大学 Embedded multi-format electronic document marking method

Also Published As

Publication number Publication date
CN101916174A (en) 2010-12-15

Similar Documents

Publication Publication Date Title
CN101916174B (en) Display method and device thereof, treatment method and device thereof for electronic document handwriting
US10489682B1 (en) Optical character recognition employing deep learning with machine generated training data
Slimane et al. A new arabic printed text image database and evaluation protocols
KR850007127A (en) Hand-written character and figure recognition display device
US9286526B1 (en) Cohort-based learning from user edits
US20210141999A1 (en) Method for displaying handwritten note in electronic book, electronic device and computer storage medium
CN110147549A (en) For executing the method and system of text error correction
JP2013089196A (en) Electronic comic editing device, method and program
George Coloured Dots and the Question of Regional Origins in Early Qur'ans (Part I)
JP6135331B2 (en) Electronic device, program, search system, and search method
EP2447854A1 (en) Method and system of automatic diacritization of Arabic
CN109726369B (en) Intelligent templated bibliography technology implementation method based on standard documents
CN107092585A (en) Mongolian display method and system based on scalable vector graphics
US20200126274A1 (en) Chinese character information recording method
CN103136453B (en) The automatic volume group method of document function topic and automatic marking method
JP2012234344A (en) Character recognition device for recognizing character on business form, mask processing method, and mask processing program
US10216993B2 (en) Intelligent document elements harvest and presentation system and method
CN107147820B (en) information processing device
Slimane et al. Database and evaluation protocols for arabic printed text recognition
JP6080586B2 (en) Character recognition system, character recognition program, and character recognition method
KR20210050202A (en) Automatic sentence correction device using correction database built on text with correction code inserted and operating method thereof
CN109753907B (en) Online information marking method and system based on image recognition
JP5482018B2 (en) Electronic dictionary and program
US20150095314A1 (en) Document search apparatus and method
EP3287952A1 (en) Input control program, input control device, input control method, character correction program, character correction device, and character correction 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
C14 Grant of patent or utility model
GR01 Patent grant