CN102841885A - Method and device for building object anchoring relationship - Google Patents

Method and device for building object anchoring relationship Download PDF

Info

Publication number
CN102841885A
CN102841885A CN2011101681726A CN201110168172A CN102841885A CN 102841885 A CN102841885 A CN 102841885A CN 2011101681726 A CN2011101681726 A CN 2011101681726A CN 201110168172 A CN201110168172 A CN 201110168172A CN 102841885 A CN102841885 A CN 102841885A
Authority
CN
China
Prior art keywords
anchor point
grappling
point position
module
relation
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN2011101681726A
Other languages
Chinese (zh)
Other versions
CN102841885B (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.)
Peking University Founder Group Co Ltd
Beijing Founder Electronics Co Ltd
Original Assignee
Peking University Founder Group Co Ltd
Beijing Founder Electronics 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 Peking University Founder Group Co Ltd, Beijing Founder Electronics Co Ltd filed Critical Peking University Founder Group Co Ltd
Priority to CN201110168172.6A priority Critical patent/CN102841885B/en
Publication of CN102841885A publication Critical patent/CN102841885A/en
Application granted granted Critical
Publication of CN102841885B publication Critical patent/CN102841885B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Processing Or Creating Images (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The invention provides a method and a device for building an object anchoring relationship. The method disclosed by the invention comprises the following steps of: presenting content of a block document in a layout region; providing an interface to receive selecting and dragging operations of an object in the presented content, and building an anchoring relationship between an anchor point position determined by the dragging operation and the selected object. According to the method and the device disclosed by the invention, after an anchoring object is selected, the dragging operation is carried out to determine the anchor point position, so as to quickly build the anchoring relationship between the anchoring object and the anchor point position. Compared with a mode of determining the anchoring relationship in a menu manner, efficiency of building the anchoring relationship is improved. Time delay generated by a wrong choice of a user can be avoided by judging the anchoring object and the content at the anchor point position in advance, and user experience is increased when anchoring efficiency of building the object is improved.

Description

Set up the method and apparatus of object grappling relation
Technical field
The present invention relates to digital type-setting domain, in process of typeset, set up the method and apparatus that grappling concerns.
Background technology
Digitized electronic document being carried out run into the situation that has character and picture in the electronic document through regular meeting in the process of typeset, for this situation, the user can set up the grappling relation between the two.
Set up the grappling relation and also can be described as the anchor point function, grappling is to liking the project of adding or anchoring to particular text, like image or text box etc.When the grappling object anchors in the project of text, can reset text, the grappling object moves with the literal object that comprises anchor point.The grappling relation set up in some characters of grappling object and word flow (being anchor point), when this anchor point character flows, is anchored object and also and then flows.Can the grappling object be used for the object that all will be capable with particular text or text block is associated, for example, with sidenote and caption, numeral or the icon of particular word word association.Anchor point feature richness in the type-setting domain relevance between object, can realize the positioning action between object accurately.
In existing software for composing, if need set up the grappling relation, need earlier the grappling object to be copied in the literal object, choose this grappling object then, through right button or begin column menu the grappling attribute is set again.
Present this set mode owing to need the user in one layout region, constantly is provided with the grappling relation through the mode of opening menu in assignment procedure, setting up procedure is loaded down with trivial details, and efficient is lower.
Summary of the invention
The present invention aims to provide a kind of method and apparatus of setting up object grappling relation, and is above-mentioned when grappling being set concerning through the mode of opening menu to solve, the problem that efficient is lower.
In an embodiment of the present invention, a kind of method of setting up object grappling relation is provided, has comprised: the content that in one layout region, presents piece formula document; The interface is provided, to receive selection and drag operation to the object in the said content that appears; Between the object of said drag operation determined anchor point position and said selection, set up the grappling relation.
The present invention also provides a kind of device of setting up object grappling relation, comprising: present module, be used for appearing in one layout region the content of piece formula document; Receiver module is used to provide the interface, to receive selection and the drag operation to the object in the said content that appears; The grappling module is used between the object of said drag operation determined anchor point position and said selection, setting up the grappling relation.
Method and apparatus of the present invention through the drag operation function of selecting behind the grappling object is provided, can be confirmed the anchor point position, thereby set up the grappling relation between grappling object and the anchor point position fast.Compare with the mode of confirming the grappling relation through menu-style, improved the efficient of setting up the grappling relation.
Description of drawings
Accompanying drawing described herein is used to provide further understanding of the present invention, constitutes the application's a part, and illustrative examples of the present invention and explanation thereof are used to explain the present invention, do not constitute improper qualification of the present invention.In the accompanying drawings:
Fig. 1 shows the process flow diagram of embodiment one;
Fig. 2 shows the process flow diagram of embodiment two;
Fig. 3 shows the process flow diagram of embodiment three;
Fig. 4 shows the apparatus structure block diagram of embodiment four.
Embodiment
Below with reference to accompanying drawing and combine embodiment, specify the present invention.
Referring to Fig. 1, Fig. 1 is the process flow diagram of the embodiment of the invention one, may further comprise the steps:
S11: the content that in one layout region, presents piece formula document;
This embodiment can be applicable to the piece formula and sets type, and in the piece formula was set type, the content that is appeared in the one layout region existed with the form of piece.In the content that is appeared, literal piece, picture block etc. can be arranged.
S12: the interface is provided, to receive selection and drag operation to the object in the said content that appears;
To the user interface of selection is provided, this interface can be the form of the visible frame of broken lines of user, and the zone of frame of broken lines generally includes whole composing interface.The user is alternative and execution drag operation in this zone.
S13: between the object of said drag operation determined anchor point position and said selection, set up the grappling relation.
After drag operation, can confirm corresponding anchor point position, between object of selecting and anchor station, set up the grappling relation.Adopt the mode of selecting and pulling definite anchor point position, can simplify user's operation, improve the user in the zone that the piece formula is set type, set up the grappling relation between the object fast.
Scheme for present embodiment; Also can be before alternative or anchor point position, whether the object that judges is selected or the content of anchor point position are to set up the object that grappling connects, after correct judgment; Carrying out follow-up step; Specify through embodiment two below,, may further comprise the steps referring to Fig. 2:
S21: use the cursor alternative.
In the zone of setting type, to the user interface of selection is provided, the user uses the cursor alternative in this interface.
S22: judge whether this object can be used as the anchor point object, if can, execution in step S23 then, otherwise execution in step S21.
Since in the zone of setting type, have a plurality of objects, like frame, the page number of one layout region, indication wire etc., these objects can not be as selecteed object.
Can set up the sign of each object in advance, and the object and the pairing sign that will can be used as the grappling object be stored in the relation table, during storage, can be according to relation storage one to one.During judgement, the sign of object of judging current selection whether in relation table, if, then the object selected of explanation can be used as the grappling object, carries out S23; If do not exist, explain that then this object cannot send information to the user as the grappling object, and carry out S21, receive user's selection again.
S23: buffer memory grappling object, preserve positional information.
The grappling target cache in storer, and is preserved the coordinate information of its position.
S24: the switched and selected instrument, continue to click and select.
After having selected the grappling object, continue to select the anchor station.
S25: judge whether to be the word flow object, if, execution in step S26 then; If deny, then execution in step S27.
When selecting the anchor point position, also chosen the object at this place, anchor point position, judge whether the object of selecting once more is the word flow object; Whether the sign of confirming once more alternative is in relation table; If, and be the sign of word flow object, execution in step S26 then; Otherwise send prompting, and execution in step S24 to the user.
S26: according to anchor point position, cursor position location.
S27: between anchor point position of selecting and grappling object, set up the grappling relation.
In embodiment two, through prejudging the content of grappling object and anchor point position, the time delays that can avoid the wrong choosing of user to produce when object grappling efficient is set up in raising, has increased user experience.
Set up grappling when concerning, the user can join the place, anchor station with the grappling object through the form of placeholder.When buffer memory grappling object, but the attribute information of buffer memory grappling object also, so that set up grappling relation back adjustment grappling object.Specify through embodiment three below,, may further comprise the steps referring to Fig. 3:
S31: use the cursor alternative.
In the zone of setting type, to the user interface of selection is provided, the user uses the cursor alternative in this interface.
S32: judge whether this object can be used as the anchor point object, if can, execution in step S33 then, otherwise execution in step S31.
Since in the zone of setting type, have a plurality of objects, like frame, the page number of one layout region, indication wire etc., these objects can not be as selecteed object.
Can set up the sign of each object in advance, and the object and the pairing sign that will can be used as the grappling object be stored in the relation table, during storage, can be according to relation storage one to one.During judgement, the sign of object of judging current selection whether in relation table, if, then the object selected of explanation can be used as the grappling object, carries out S33; If do not exist, explain that then this object cannot send information to the user as the grappling object, and carry out S31, receive user's selection again.
S33: buffer memory grappling object, the relevant attribute information of buffer memory simultaneously.
In storer, the attribute information that buffer memory is relevant comprises the coordinate information of rotation, stretching and the position thereof of object with the grappling target cache.The coordinate information of grappling object's position is its coordinate on the composing space of a whole page.
S34: the switched and selected instrument, continue to click and select.
After having selected the grappling object, continue to select the anchor station.
S35: judge whether to be the word flow object, if, execution in step S36 then; If deny, then execution in step S37.
When selecting the anchor point position, also chosen the object at this place, anchor point position, judge whether the object of selecting once more is the word flow object; Whether the sign of confirming once more alternative is in relation table; If, and be the sign of word flow object, execution in step S36 then; Otherwise send prompting, and execution in step S34 to the user.
S36: according to anchor point position, cursor position location.
The anchor station can be confirmed through the form of placeholder, when the user chooses the anchor station, set up placeholder in this position.
Because the position of placeholder is certain line position on the literal block object at its place; Do not belong to same coordinate system with the coordinate of grappling object; For the follow-up grappling relation of setting up, need placeholder be converted to respect to the position coordinates on the composing space of a whole page at the coordinate position on the literal block object.
S37: between anchor point position of selecting and grappling object, set up the grappling relation.
In step S33, obtain the position coordinates of grappling object on the composing space of a whole page; In step S36, obtained the position coordinates of placeholder on the composing space of a whole page; Fixing distance between the two; Thereby realize the grappling between the two, when moved the position of literal object piece, the position of grappling object also can together be moved.
Set up after the grappling relation, can be through attribute information at step S33 buffer memory, adjustment grappling object is as stretching, rotate grappling object etc.
In above-mentioned each embodiment, for improving user's experience, also can show the cursor motion track in the drag operation process, to improve user's operating experience.
Through above-mentioned step, adopt the mode of placeholder can set up the grappling relation fast, improved the efficient of setting up the grappling relation; In addition, through the relation on attributes of storage, can be convenient to after setting up the grappling relation, some attributes of adjustment grappling object are like the anglec of rotation, stretch ratio etc.
Specified the embodiment of the inventive method above, the embodiment of the invention also provides a kind of device of setting up the grappling object, and this device can adopt the form of integrated circuit to realize, for example, is embedded into the form in the semi-conductor chip.Can set up the grappling object in the composing space of a whole page fast through this device.Specify a kind of preferred apparatus structure below in conjunction with accompanying drawing,, comprising referring to Fig. 4:
Present module 41, be used for appearing the content of piece formula document in one layout region;
Receiver module 42 is used to provide the interface, to receive selection and the drag operation that presents the object in the content that module 41 appears to said, confirms the anchor point position through drag operation;
Grappling module 43 is set up the grappling relation between the said drag operation determined anchor point position that is used for receiving through said receiver module 42 and the object of said selection.
Further, said receiver module 42 comprises:
Interface display module 421 is used to provide the interface;
Object Selection module 422 is used for the interface that provides in said interface display module 421, receives the selection to the object in the said content that appears;
Anchor point determination module 423 is used for the interface that provides in said interface display module 421, inserts placeholder in the determined position of said drag operation, with the position of said placeholder as said anchor point position.
Further, grappling module 43 comprises:
Coordinate module 431 is used for confirming that Object Selection module 422 receives the coordinate of selecteed object, confirms the coordinate of the anchor point position that anchor point determination module 423 is confirmed;
Set up module 432, be used to set up and the coordinate of the coordinate of the said object that stationary coordinate module 431 is confirmed and said anchor point between distance.
Further, this device also comprises: identification module 44 is used for setting up in advance the relation table of type identification; If judge that the selecteed object of said Object Selection module 422 receptions and the type identification that is determined anchor point position content that anchor point determination module 423 receives are in said relation table, then trigger said coordinate module 431 executable operations.
Can find out that from above description the above embodiments of the present invention have realized following technique effect: after the user selects the grappling object,, can confirm the anchor point position, thereby set up the grappling relation between grappling object and the anchor point position fast through drag operation.Compare with the mode of confirming the grappling relation through menu-style, improved the efficient of setting up the grappling relation.Through prejudging the content of grappling object and anchor point position, the time delays that can avoid the wrong choosing of user to produce when object grappling efficient is set up in raising, has increased user experience.
Obviously; It is apparent to those skilled in the art that above-mentioned each module of the present invention or each step can realize that they can concentrate on the single calculation element with the general calculation device; Perhaps be distributed on the network that a plurality of calculation element forms; Alternatively, they can be realized with the executable program code of calculation element, carried out by calculation element thereby can they be stored in the memory storage; Perhaps they are made into each integrated circuit modules respectively, perhaps a plurality of modules in them or step are made into the single integrated circuit module and realize.Like this, the present invention is not restricted to any specific hardware and software combination.
The above is merely the preferred embodiments of the present invention, is not limited to the present invention, and for a person skilled in the art, the present invention can have various changes and variation.All within spirit of the present invention and principle, any modification of being done, be equal to replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (10)

1. a method of setting up object grappling relation is characterized in that, comprising:
The content that in one layout region, presents piece formula document;
The interface is provided, to receive selection and drag operation to the object in the said content that appears;
Between the object of said drag operation determined anchor point position and said selection, set up the grappling relation.
2. method according to claim 1 is characterized in that, the process that receives said Object Selection comprises:
Confirm the coordinate of said object.
3. method according to claim 2 is characterized in that, the said process of setting up the grappling relation comprises:
Distance between the coordinate of foundation and fixing said object and the coordinate of said anchor point.
4. method according to claim 1 is characterized in that, the process of said definite anchor point position comprises:
Insert placeholder in the determined position of said drag operation, with the position of said placeholder as said anchor point position.
5. method according to claim 1 is characterized in that, in said drag operation process, also comprises:
The track that shows said drag operation.
6. method according to claim 1 is characterized in that, receives after the selection and definite said anchor point position to the object in the said content that appears, and also comprises:
Set up the relation table of type identification in advance;
If judge that the type identification of said object and anchor point position content is in said relation table, then carry out the follow-up step of setting up said grappling relation.
7. a device of setting up object grappling relation is characterized in that, comprising:
Present module, be used for appearing the content of piece formula document in one layout region;
Receiver module is used to provide the interface, to receive selection and the drag operation to the object in the said content that appears;
The grappling module is used between the object of said drag operation determined anchor point position and said selection, setting up the grappling relation.
8. device according to claim 7 is characterized in that, said receiver module comprises:
Interface display module is used to provide the interface;
The Object Selection module is used at said interface, receives the selection to the object in the said content that appears;
The anchor point determination module is used at said interface, inserts placeholder in the determined position of said drag operation, with the position of said placeholder as said anchor point position.
9. device according to claim 7 is characterized in that, said grappling module comprises:
The coordinate module is used for confirming the coordinate of said object and anchor point position;
Set up module, be used to set up and the coordinate of the coordinate of fixing said object and said anchor point between distance.
10. device according to claim 7 is characterized in that, also comprises:
Identification module is used for setting up in advance the relation table of type identification; If judge that the type identification of said object and anchor point position content is in said relation table, then trigger said grappling module executable operations.
CN201110168172.6A 2011-06-21 2011-06-21 Set up the method and apparatus of object anchoring relationship Expired - Fee Related CN102841885B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201110168172.6A CN102841885B (en) 2011-06-21 2011-06-21 Set up the method and apparatus of object anchoring relationship

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201110168172.6A CN102841885B (en) 2011-06-21 2011-06-21 Set up the method and apparatus of object anchoring relationship

Publications (2)

Publication Number Publication Date
CN102841885A true CN102841885A (en) 2012-12-26
CN102841885B CN102841885B (en) 2016-02-17

Family

ID=47369258

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201110168172.6A Expired - Fee Related CN102841885B (en) 2011-06-21 2011-06-21 Set up the method and apparatus of object anchoring relationship

Country Status (1)

Country Link
CN (1) CN102841885B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107132963A (en) * 2017-05-08 2017-09-05 深圳乐信软件技术有限公司 Red message display method, elimination method and related device
CN107450809A (en) * 2016-05-30 2017-12-08 阿里巴巴集团控股有限公司 Page interaction, device and electric terminal
CN110427853A (en) * 2019-07-24 2019-11-08 北京一诺前景财税科技有限公司 A kind of method of smart tickets information extraction processing
CN114564246A (en) * 2022-02-18 2022-05-31 北京炎黄盈动科技发展有限责任公司 Method, device, equipment and medium for drawing graph anchor points on line

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0574225A1 (en) * 1992-06-11 1993-12-15 Esselte Dymo N.V. Label printing apparatus
CN1609846A (en) * 2003-06-13 2005-04-27 微软公司 Digital ink annotation process and system for recognizing, anchoring and reflowing digital ink annotations
JP2006285896A (en) * 2005-04-05 2006-10-19 Sharp Corp Device and method for displaying electronic document, and computer program

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0574225A1 (en) * 1992-06-11 1993-12-15 Esselte Dymo N.V. Label printing apparatus
CN1609846A (en) * 2003-06-13 2005-04-27 微软公司 Digital ink annotation process and system for recognizing, anchoring and reflowing digital ink annotations
JP2006285896A (en) * 2005-04-05 2006-10-19 Sharp Corp Device and method for displaying electronic document, and computer program
CN100429646C (en) * 2005-04-05 2008-10-29 夏普株式会社 Method and apparatus for displaying electronic document including handwritten data

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107450809A (en) * 2016-05-30 2017-12-08 阿里巴巴集团控股有限公司 Page interaction, device and electric terminal
CN107132963A (en) * 2017-05-08 2017-09-05 深圳乐信软件技术有限公司 Red message display method, elimination method and related device
CN107132963B (en) * 2017-05-08 2020-09-08 深圳乐信软件技术有限公司 Red dot message display method, red dot message elimination method and corresponding devices
CN110427853A (en) * 2019-07-24 2019-11-08 北京一诺前景财税科技有限公司 A kind of method of smart tickets information extraction processing
CN114564246A (en) * 2022-02-18 2022-05-31 北京炎黄盈动科技发展有限责任公司 Method, device, equipment and medium for drawing graph anchor points on line

Also Published As

Publication number Publication date
CN102841885B (en) 2016-02-17

Similar Documents

Publication Publication Date Title
CN204856601U (en) Continuity
EP2955697A1 (en) Controlling display of superimposed information in an augmented reality system
CN106502520A (en) For navigating and playing the user interface of content
JP5948842B2 (en) Information processing apparatus, information processing method, and program
US9996220B2 (en) Multi-zone interface switching method and device
CN106658220B (en) Subtitle creating device, display module and subtitle create display systems
US10740798B2 (en) Mobile terminal and operating method therefor
CN103546639A (en) Device for quick access to specified interface of application for mobile terminal
CN107765976B (en) Message pushing method, terminal and system
KR20140099606A (en) Sharing Method of Service Page and Electronic Device operating the same
CN102841885B (en) Set up the method and apparatus of object anchoring relationship
CN110308860B (en) Screen capturing method and related device
CN104185086A (en) Method and device for providing video information
CN106156189B (en) Label generation method and device, and information acquisition method and device
CN104780253B (en) A kind of book management method
CN106126029A (en) A kind of background picture changing method and mobile terminal
CN105446597B (en) The methods of exhibiting of the function introduction information of application program shows device and terminal
CN105354051B (en) Method and device for presenting information flow card and electronic equipment
JP5754117B2 (en) External input device, display data creation method, program
JP2009181186A (en) Information providing server, information display terminal, information providing system, information providing program, information display program, information providing method and information display method
CN103853347B (en) Information release method based on gravity sensing horizontal screen display of mobile terminal
JP2008140060A (en) Content acquisition management device and content acquisition management program
JP2016057758A (en) Display control method, information processing program, and information processing apparatus
CN105487761B (en) A kind of control method and mobile terminal of application program
CN106293353B (en) Expansion control method and device for list elements

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
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20160217

Termination date: 20190621