CN105868168A - A document operation method and a terminal - Google Patents

A document operation method and a terminal Download PDF

Info

Publication number
CN105868168A
CN105868168A CN201610178761.5A CN201610178761A CN105868168A CN 105868168 A CN105868168 A CN 105868168A CN 201610178761 A CN201610178761 A CN 201610178761A CN 105868168 A CN105868168 A CN 105868168A
Authority
CN
China
Prior art keywords
text
text box
content
box
operation object
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201610178761.5A
Other languages
Chinese (zh)
Inventor
吴大鹏
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Jinli Communication Equipment Co Ltd
Original Assignee
Shenzhen Jinli Communication Equipment 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 Shenzhen Jinli Communication Equipment Co Ltd filed Critical Shenzhen Jinli Communication Equipment Co Ltd
Priority to CN201610178761.5A priority Critical patent/CN105868168A/en
Publication of CN105868168A publication Critical patent/CN105868168A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/194Calculation of difference between files
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/166Editing, e.g. inserting or deleting

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Health & Medical Sciences (AREA)
  • Artificial Intelligence (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Computational Linguistics (AREA)
  • General Health & Medical Sciences (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Machine Translation (AREA)

Abstract

The embodiments of the invention provide a document operation method and a terminal. The method comprises the steps of performing first operation on operation objects in a first textbox, the operation objects including text content, image content, link relationships, the text format, the image format or the textbox format; determining a second textbox associated with the first textbox, the first textbox and the second textbox being located in the same document or in different documents; according to the first operation, performing second operation corresponding to the first operation on operation objects in the second textbox. According to the embodiments of the invention, document correlation synchronization can be realized.

Description

The operational approach of a kind of document and terminal
Technical field
The present invention relates to electronic technology field, be specifically related to operational approach and the terminal of a kind of document.
Background technology
Along with the development of electronic technology, increasing user uses electronic equipment to process electronic document (example Such as PPT document).Under some scenes, identical document content can be fabricated to the document of different language by user, It is convenient for the communication across language.Such as, speaker makes the PPT document of two parts of identical contents, in one Literary composition, an English, the PPT of Chinese is shown on the computer of oneself, and by English PPT by projection Instrument shows on the projection screen.If speaker is repaiied for the content in Chinese PPT during speech Change, now cannot be synchronized on projector on the English PPT of display, therefore the spectators of the English PPT of viewing without Method sees the amendment content of speaker, the interactive and Consumer's Experience of impact speech.
Summary of the invention
Embodiments provide operational approach and the terminal of a kind of document, it is possible to achieve the behaviour of associated document Synchronize.
First aspect, embodiments provides the operational approach of a kind of document, including:
Operation object in first text box is carried out the first operation, described operation object include content of text, Image content, linking relationship, text formatting, picture format or text box form;
Determine the second text box being associated with described first text box, described first text box and described second Text box is in same document, or described first text box is respectively at different from described second text box In document;
According to described first operation, the operation object in described second text box is carried out and described first operation The second corresponding operation.
Second aspect, embodiments provides a kind of terminal, including:
First operating unit, for carrying out the first operation, described operation to the operation object in the first text box Object includes content of text, image content, linking relationship, text formatting, picture format or text box form;
First determines unit, for determining the second text box being associated with described first text box, and described the One text box and described second text box are in same document, or described first text box and described second Text box is respectively in different document;
Second operating unit, for according to described first operation, to the operation object in described second text box Carry out second operation corresponding with described first operation.
By implementing the embodiment of the present invention, terminal is carrying out the first operation to the operation object in the first text box Time, the second text box being associated is found according to the first text box, and according to the first operation to the second text box In operation object carry out corresponding second operation, it is not necessary to carry out individually operated for each text box, i.e. The operation associated of document can be realized, reduce operating procedure and the operating time of user, be user-friendly to.
Accompanying drawing explanation
For the technical scheme being illustrated more clearly that in the embodiment of the present invention, institute in embodiment being described below The accompanying drawing used is needed to be briefly described, it should be apparent that, the accompanying drawing in describing below is the one of the present invention A little embodiments, for those of ordinary skill in the art, on the premise of not paying creative work, also Other accompanying drawing can be obtained according to these accompanying drawings.
Fig. 1 is the schematic flow sheet of the operational approach of a kind of document that the embodiment of the present invention provides;
Figure 1A is the schematic diagram of the display interface of a kind of document that the embodiment of the present invention provides;
Figure 1B is the schematic diagram of the display interface of the another kind of document that the embodiment of the present invention provides;
Fig. 2 is the schematic flow sheet of the operational approach of the another kind of document that the embodiment of the present invention provides;
Fig. 3 is the schematic flow sheet of the operational approach of the another kind of document that the embodiment of the present invention provides;
Fig. 4 is the structural representation of a kind of terminal that the embodiment of the present invention provides;
Fig. 5 is the structural representation of the another kind of terminal that the embodiment of the present invention provides;
Fig. 6 is the structural representation of the another kind of terminal that the embodiment of the present invention provides;
Fig. 7 is the structural representation of the another kind of terminal that the embodiment of the present invention provides.
Detailed description of the invention
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clearly Chu, it is fully described by, it is clear that described embodiment is a part of embodiment of the present invention rather than all Embodiment.Based on the embodiment in the present invention, those of ordinary skill in the art are not making creative labor The every other embodiment obtained under dynamic premise, broadly falls into the scope of protection of the invention.
Embodiments provide operational approach and the terminal of a kind of document, it is possible to achieve the association behaviour of document Make.It is described in detail individually below.
Terminal in following embodiment can include but not limited to: mobile phone, panel computer, notebook computer, Palm PC, projector, mobile internet device (English: mobile internet device, MID) or its His all kinds of terminal units.
Refer to Fig. 1, be the schematic flow sheet of the operational approach of a kind of document that the embodiment of the present invention provides.As Shown in Fig. 1, the operational approach of the document can include but not limited to following steps.
S101, the operation object in the first text box is carried out the first operation.
In the embodiment of the present invention, terminal carries out the first operation to the operation object in the first text box.It is right to operate As including content of text, image content, linking relationship, text formatting, picture format or text box form. First operation includes but not limited to: the operation of synchro edit content of text, synchro edit image content operate, together Step editor's linked operation, the operation of synchronous vacations text formatting, the operation of synchronous vacations picture format, synchronous vacations Text box format operation.Wherein, the operation of synchro edit content of text includes: synchronization interpolation content of text operation, The operation of synchronous vacations content of text or the operation of synchronization removal content of text.The operation of synchro edit image content includes: Synchronize to add image content operation, the operation of synchronous vacations image content or the operation of synchronization removal image content.With Step editor's linked operation includes: synchronize to add linked operation, synchronous vacations linked operation or synchronization removal link Operation.
Wherein, the first document includes but not limited to: PPT document.
Such as, refer to Figure 1A, be the schematic diagram of the display interface of a kind of document that the embodiment of the present invention provides. In figure ia, label 10 is a document, and label 1 is the first text box, the text in the first text box 1 Content is " this is a Fructus Persicae ", and terminal receives the amendment operation of user, " this is a Fructus Persicae " is repaiied Change " this is pears " into.
S102, determine the second text box being associated with the first text box.
In the embodiment of the present invention, the second text box of the first text box association can be one, it is also possible to for many Individual, the embodiment of the present invention is not especially limited.First text box and the second text box may be at same document In, it is also possible to it is respectively in different document.Such as, the first text box and the second text box are in first In document, but it is positioned at the diverse location in the first document.Or, the first text box is in the first document, Second text box is in the second document.Wherein, the first document and the second document can be stored in same terminal On, such as, it is stored in terminal 1, it is also possible to be respectively stored in different terminals, such as, first Document stores on the terminal 1, and the second document is stored in terminal 2.If the first document and the second document are all deposited On the terminal 1, then terminal 1 determines the second text box being associated with the first text box in storage.If the first literary composition On the terminal 1, the second document is stored in terminal 2 in shelves storage, then terminal 1 sends to terminal 2 and synchronizes behaviour Instruct, control terminal 2 and determine the second text box associated with the first text box.
Wherein, the second document includes but not limited to: PPT document.
Such as, refer to Figure 1B, be the signal of the display interface of the another kind of document that the embodiment of the present invention provides Figure.In fig. ib, label 10 is a document, and label 20 is the second text box, in the second text box 20 Content of text be " This is a peach ".
As a kind of implementation, determine the step of the second text box being associated with the first text box particularly as follows:
Mark according to the first text box and the incidence relation of default text box mark, determine and the first literary composition The mark of the second text box that the mark of this frame is associated;
Mark according to the second text box determines the second text box.
Concrete, terminal can pre-set mark and the association of default text box mark of the first text box Relation, after the mark getting the first text box, finds corresponding according to the mark of the first text box The mark of the second text box, the mark further according to the second text box finds the second text box.Wherein, text box Mark can be the numbering of text box, such as, each text box is numbered by terminal respectively, passes through The numbering of text box realizes the association of text box.Such as, numbered the 1 of the first text box, the second text box Numbered 20, numbering 1 and numbering 20 are associated by terminal.The mark of text box can also be text box Type, the type of text box includes: title, content etc., and terminal realizes literary composition by the type of text box The association of this frame.The mark of text box can also be the page number at text box place, and terminal passes through text box place The page number realize the association of text box.Terminal can be combined with numbering with the page number to realize the association of text box, Such as by page 1 numbered 1 text box and page five in numbered 2 text box be associated.Eventually End can be combined with text box type and the text box place page number to carry out the association of text box.Such as by first The text box that in text box that in Ye, title is corresponding and page five, title is corresponding is associated.By text box Mark is associated being exactly found the text box of the association of correspondence, contributes to realizing between associated text frame Operation synchronize.
Above-mentioned incidence relation can be stored in terminal with the form of related information list, and this related information arranges Table records the mark of the most related text box.Such as, this related information list stores on the terminal 1, Terminal 1 finds the second text box of the mark correspondence of the first text box according to this related information list.Or, This related information list is stored in terminal 2, and terminal 1, when terminal 2 sends simultaneously operating instruction, synchronizes Operational order carries the mark of the first text box, terminal 2 according to the mark of the first text box at related information List is found the mark of the second text box, and then finds the second text box of correspondence.
Specifically, related information list can use such as but not limited to such as table 1 below structure:
Table 1
The mark of text box The mark of the text box of association
1 20
2 6、9
3 10
As shown in Table 1, the text box of the text box association being designated 1 is designated 20, is designated the text of 2 The text box of frame association is designated 6 and 9, and the text box of the text box association being designated 3 is designated 10.
S103, according to first operation, the operation object in the second text box is carried out with first operation corresponding Second operation.
In the embodiment of the present invention, after determining the second text box, terminal is for the operation in the second text box Object carries out second operation corresponding with the first operation.Such as, the first operation is synchro edit content of text Operation, then the second operation is editor's content of text operation.
As a kind of implementation, terminal can be according to the first operation, determine that the first operation is targeted first Target operation object in text box, and according to the target operation object in the first text box, determine the second literary composition Target operation object in this frame, and then the target operation object in the second text box is carried out and the first operation The second corresponding operation.
Concrete, the target operation object in the first text box can be the operation object in the first text box Locally, it is also possible to be in the first text box operation object whole.Accordingly, the mesh in the second text box Mark operation object can be the local of the operation object in the second text box, it is also possible to be in the second text box Operate the whole of object.If the content of text in the first text box and the content of text in the second text box use Identical language, then directly can search the target operation object pair in the first text box in the second text box The target operation object answered.If the content of text in the first text box and the content of text in the second text box are adopted With different language, then the target operation object in the first text box can be translated as the language of the second text box The content of text that speech is corresponding, and then in the second text box, the mesh of correspondence is searched according to the content of text after translation Mark operation object, and then the second of the first operation correspondence is performed for the target operation object in the second text box Operation.Content without being respectively directed in two text boxes is individually edited, and can realize associated text frame The operation of Chinese version content synchronizes.And the location being realized target operation object by translation is more accurate.
Optionally, if the content of text in the first text box and the content of text in the second text box use identical Language, then can with combining target operation object position in the first text box determine in the second text box Target operation object.Such as, the content of text in the first text box and the second text box is that " this is one Individual Fructus Persicae ", the first operation is amendment operation, " Fructus Persicae " is revised as " pears ", and " Fructus Persicae " is first Position in text box is the 5th word and the 6th word, then find the 5th in the second text box Word and the 6th word, be revised as " pears ".Association literary composition is realized by the position of target operation object Operation between Dang synchronizes, and can facilitate implementation the operation between the different document that language is identical, content is identical Synchronize.
As a kind of implementation, the first operation operates for synchro edit content of text, and operation object is text Content;After the content of text in the first text box is performed the operation of synchro edit content of text, obtain and pass through The content of text in the first text box after the operation of synchro edit content of text, and according to through synchro edit The content of text in the first text box after content of text operation, enters the content of text in the second text box Row replacement operation.Content without being respectively directed in two text boxes is individually edited, and can realize association The operation of text box Chinese version content synchronizes.Wherein, if the content of text in the first text box and the second text Content of text in frame uses identical language, then can directly be replaced by the content of text in the second text box For the content of text in the first text box after synchro edit content of text operates.If in the first text box Content of text and the second text box in content of text use different language, the then word in Chinese document With word in English document it is possible that situation corresponding to position, in such cases in order to accomplish to synchronize Accurately, need first to be translated as by the content of text in the first text box after synchro edit content of text operates The content of text of the language of the second text box, then the content of text in the second text box is replaced with the literary composition of translation This content.Realize by the way of translating and replacing between the different document of different language, identical content Operation synchronizes, it can be ensured that the accuracy of synchronization.
Visible, in the method described by Fig. 1, terminal is carrying out to the operation object in the first text box During one operation, find the second text box being associated according to the first text box, and according to the first operation to second Operation object in text box carries out corresponding second operation, it is not necessary to individually grasp for each text box Make, the operation associated of document can be realized, reduce operating procedure and the operating time of user, facilitate user to make With.
Refer to Fig. 2, be the schematic flow sheet of the operational approach of the another kind of document that the embodiment of the present invention provides. As in figure 2 it is shown, the operational approach of the document can include but not limited to following steps.
S201, the operation object in the first text box is carried out the first operation.
S202, determine the second text box being associated with the first text box.
Step S201 in the embodiment of the present invention and S202 can be found in the S101 in embodiment illustrated in fig. 1 and S102, here is omitted.
S203, according to first operation, determine the object run pair in the first text box that the first operation is targeted As.
In the embodiment of the present invention, the target operation object in the first text box is that the operation in the first text box is right Elephant is partially or completely.Such as, referring to Figure 1A, the content of text in the first text box is for " this is one Individual Fructus Persicae ", the amendment operation that the first operation triggers for user, is revised as " Fructus Persicae " in the first text box " pears ", then target operation object is " Fructus Persicae ".
S204, according to the target operation object in the first text box, determine the object run in the second text box Object.
In the embodiment of the present invention, if first operation for the first text box in target operation object be first literary composition Local content in this frame, then the target operation object in the second text box is also the local in the second text box Content, if the first operation for the first text box in target operation object be whole interior in the first text box Hold, then the target operation object in the second text box is also the full content in the second text box.
If the content of text in the first text box and the content of text in the second text box use identical language, Then directly can search the object run that the target operation object in the first text box is corresponding in the second text box Object.If the content of text in the first text box and the content of text in the second text box use different language, Then the target operation object in the first text box can be translated as in the text that the language of the second text box is corresponding Hold, and then in the second text box, search the target operation object of correspondence according to the content of text after translation.Logical Cross and translate the location of target operation object in the different document realizing different language, identical content so that be fixed Position is more accurate.
Such as, refer to Figure 1B, be the schematic diagram that the second text box is corresponding, if the target in the first text box Operation object is " Fructus Persicae ", then " Fructus Persicae " is translated as English " peach " by terminal, in the second text box Find " peach " target operation object as the second text box of correspondence.
S205, the target operation object in the second text box is carried out second operation corresponding with the first operation.
Concrete, if the office that the target operation object in the first text box is the operation object in the first text box Portion's content, then find the part of correspondence in the second text box according to this local content, for corresponding part Perform the second operation that the first operation is corresponding.If the target operation object in the first text box is the first text box In operation object full content, then according to this full content find in the second text box correspondence whole Content, performs, for corresponding full content, the second operation that the first operation is corresponding.
Such as, the content in the first text box and the second text box is " this is a Fructus Persicae ", the first operation For target operation object be " Fructus Persicae ", then in the second text box, search target behaviour that " Fructus Persicae " is corresponding Make object, perform, for the content " Fructus Persicae " in the second text box, the second operation that the first operation is corresponding.Example As, the first operation is for revising operation, then the second operation also operates for amendment, by " the Fructus Persicae in the first text box Son " be revised as " pears ", then " Fructus Persicae " in the second text box is performed identical operation, by the second text " Fructus Persicae " in frame is revised as " pears ".Or, the content in the first text box is that " this is one to Chinese content Individual Fructus Persicae ", the content in the second text box is English content " This is a peach ", the first operation for Target operation object is the full content " this is a Fructus Persicae " of the first text box, then by " this of the first text box It is a Fructus Persicae " it is translated as English " This is a peach ", the second text box finds " This is a Peach " full content of corresponding the second text box, the full content for the second text box performs the first behaviour Making the second corresponding operation, the such as first operation is deletion action, then the second operation is also deletion action, will " this is a Fructus Persicae " in first text box all deletes, the most correspondingly, by the second text box " This is a peach " all delete.Content without being respectively directed in two text boxes carries out list Solely editor, the operation that can realize associated text frame Chinese version content synchronizes.
Visible, in the method described by Fig. 2, terminal is carrying out to the operation object in the first text box During one operation, find the second text box being associated according to the first text box, and according to the first operation to second Operation object in text box carries out corresponding second operation, it is not necessary to individually grasp for each text box Make, the operation associated of document can be realized, reduce operating procedure and the operating time of user, facilitate user to make With.
Refer to Fig. 3, be the schematic flow sheet of the operational approach of the another kind of document that the embodiment of the present invention provides. As it is shown on figure 3, the operational approach of the document can include but not limited to following steps.
S301, the operation object in the first text box is carried out the first operation.
In the embodiment of the present invention, the first operation operates for synchro edit content of text, in operation object is text Hold.
S302, determine the second text box being associated with the first text box.
Step S301 in the embodiment of the present invention and S302 can be found in the S101 in embodiment illustrated in fig. 1 and S102, here is omitted.
S303, according to synchro edit content of text operate, it is thus achieved that through synchro edit content of text operate after The first text box in content of text.
In the embodiment of the present invention, after the text in the first text box is carried out synchro edit content of text operation, Obtain the full text content in the first text box after operation.Such as, the content of text in the first text box For " this is a Fructus Persicae ", the first operation is amendment operation, " Fructus Persicae " is revised as " pears ", then revises Content of text in first text box is " this is pears " afterwards.
S304, according to through synchro edit content of text operate after the first text box in content of text, Content of text in second text box is replaced operation.
Concrete, if the content of text in the first text box and the content of text in the second text box use identical Language, then directly the content of text in the second text box is replaced with and carries out synchro edit content of text operation Full text content in rear first text box.If in the content of text in the first text box and the second text box Content of text use different language, then by the first text box after synchro edit content of text operates In full text content translate, be translated into the content of text of the language of the employing of the second text box, The full text content in the second text box is replaced with the content of text after translation again, thus realizes different language Speech, identical content associated document operation synchronize, by text box Chinese version content is replaced permissible Guarantee the accuracy synchronized.
Such as, the content in the first text box and the second text box is " this is a Fructus Persicae ", the first operation For amendment operation, " Fructus Persicae " in the first text box is revised as " pears ", then the first text box after amendment In full text content be " this is pears ", then by the full text content in the second text box, " this is One Fructus Persicae " replace with " this is pears ".Or, the content in the first text box is Chinese content " this It is a Fructus Persicae ", the content in the second text box is English content " This is a peach ", and the first operation is Add operation, added " fresh " before Fructus Persicae, then the content of text in the first text box becomes that " this is One fresh Fructus Persicae ", then it is English " This by the full text content translation in amended first text box Is a fresh peach ", and then the content " This is a peach " in the second text box is replaced with " This is a Fresh peach ", the operation that can realize associated text frame Chinese version content synchronizes, by replacing in full and can solve Certainly because of the inaccurate problem in the Chinese and English the most corresponding location caused of text position, by the phase between different language Translation replacement may insure that the accuracy of synchronization mutually.
As a kind of implementation, if in the content of text in the first text box and the text in the second text box Hold and use different language, then whole by the first text box after synchro edit content of text operates Content of text is translated, then the content of text after translation and the second text box Chinese version content is made comparisons, The content of difference being replaced, identical content retains.Such as, in the first text box content be Chinese content " this is a Fructus Persicae ", the content in the second text box is English content " This is a peach ", First operation is amendment operation, and " Fructus Persicae " is revised as " pears ", then the content of text in the first text box becomes For " this is pears ", then it is English " This by the full text content translation in amended first text box Is a pear ", and then by the content " This is a pear " after translation and content " the This is in the second text box A peach " to compare, it is determined that only one of which word is different, then terminal is by " peach " in the second text box Being revised as " pear ", remainder all retains, then the content of text in the second text box becomes " This is a pear ".
Visible, in the method described by Fig. 3, terminal is carrying out to the operation object in the first text box During one operation, find the second text box being associated according to the first text box, and by the first literary composition after the first operation Content in this frame carries out translating and replace the content in the second text box, it is achieved in associated text frame Chinese version The synchronization held, can solve because the Chinese and English the most corresponding location caused of text position is inaccurate by replacing in full Problem, may insure that the accuracy of synchronization by the mutually translation between different language replacement.
The above-mentioned method illustrating the embodiment of the present invention, following for being easy to preferably implement the present invention in fact Execute the such scheme of example, correspondingly, be also provided below for coordinating the terminal implementing such scheme.
Refer to Fig. 4, be the structural representation of a kind of terminal that the embodiment of the present invention provides.As shown in Figure 4, This terminal 40 includes: the first operating unit 401, first determine unit 402 and the second operating unit 403, Wherein,
First operating unit 401, for the operation object in the first text box is carried out the first operation, it is right to operate As including content of text, image content, linking relationship, text formatting, picture format or text box form;
First determines unit 402, for determining the second text box being associated with the first text box, the first text Frame and the second text box are in same document, or the first text box and the second text box are respectively at different In document;
Second operating unit 403, for according to first operation, the operation object in the second text box is carried out with The second operation that first operation is corresponding.
As a kind of implementation, first determines that unit 402 includes:
Second determines unit, for the mark according to the first text box and the association of default text box mark Relation, determines the mark of the second text box that the mark with the first text box is associated;
3rd determines unit, for determining the second text box according to the mark of the second text box.
It will be appreciated that the function of each functional unit of the terminal 40 of the present embodiment can be according to above-mentioned Fig. 1 method The method of embodiment implements, and here is omitted.
Please also refer to Fig. 5, it it is the structural representation of the another kind of terminal that the embodiment of the present invention provides.Wherein, Terminal 40 shown in Fig. 5 is that terminal 40 as shown in Figure 4 is optimized and obtains.Compared with Fig. 4, Fig. 5 The second described operating unit 403 includes that the 4th determines that unit the 4031, the 5th determines unit 4032 and the 3rd Operating unit 4033, wherein,
4th determines unit 4031, for according to the first operation, determining the first text that the first operation is targeted Target operation object in frame, the target operation object in the first text box is that the operation in the first text box is right Elephant is partially or completely;
5th determines unit 4032, for according to the target operation object in the first text box, determines the second literary composition Target operation object in this frame, the target operation object in the second text box is the operation in the second text box Object is partially or completely;
3rd operating unit 4033, for carrying out the target operation object in the second text box and the first operation The second corresponding operation.
It will be appreciated that the function of each functional unit of the terminal 40 of the present embodiment can be according to above-mentioned Fig. 2 method The method of embodiment implements, and here is omitted.
Please also refer to Fig. 6, it it is the structural representation of the another kind of terminal that the embodiment of the present invention provides.Wherein, Terminal 40 shown in Fig. 6 is that terminal 40 as shown in Figure 4 is optimized and obtains.Compared with Fig. 4, Fig. 6 The second described operating unit 403 includes obtaining unit 4034 and the first replacement unit 4035, wherein,
Obtain unit 4034, for operating according to synchro edit content of text, it is thus achieved that through synchro edit text The content of text in the first text box after content operation;
First replacement unit 4035, for according to the first text after operating through synchro edit content of text Content of text in frame, is replaced operation to the content of text in the second text box.
As a kind of implementation, the first replacement unit 4035 includes:
Translation unit, for according to the literary composition in the first text box after operating through synchro edit content of text This content, turns over the content of text in the first text box after operating through synchro edit content of text Translate;
Second replacement unit, for according to the content of text in the first text box after translation, to the second text Content of text in frame is replaced operation.
It will be appreciated that the function of each functional unit of the terminal 40 of the present embodiment can be according to above-mentioned Fig. 3 method The method of embodiment implements, and here is omitted.
Refer to Fig. 7, be the structural representation of the another kind of terminal that the present invention provides.As it is shown in fig. 7, terminal 70 may include that at least one processor 701, such as central processing unit (English: central processing unit, CPU), at least one bus 702, at least one input equipment 703 and at least one output device 704, Memorizer 705.Wherein, bus 702 is for realizing the communication connection between these assemblies;Input equipment 703 The concretely contact panel of terminal, including touch screen and touch screen, for detecting in terminal touch panel Operational order;Output device 704 can include terminal display screen (English: Display), be used for exporting, Display image or data;Memorizer 705 can be high-speed RAM display, it is also possible to be non-labile Display (English: non-volatile memory), for example, at least one disk display, memorizer 705 Optionally can also is that at least one is located remotely from the display device of aforementioned processor 701.As it is shown in fig. 7, Memorizer 705 as a kind of Computer display medium can include operating system, network communication module, Subscriber Interface Module SIM and the operation sequence of document.
In the terminal 70 shown in Fig. 7, processor 701 may be used for the literary composition of storage in run memory 705 The operation sequence of shelves, and perform following operation:
Processor 701 carries out the first operation to the operation object in the first text box, and operation object includes text Content, image content, linking relationship, text formatting, picture format or text box form;
Processor 701 determines the second text box being associated with the first text box, the first text box and the second literary composition This frame is in same document, or the first text box and the second text box are respectively in different document;
Operation object in second text box, according to the first operation, is carried out and the first operation phase by processor 701 The second corresponding operation.
Further, processor 701 determines the second text box being associated with the first text box, including:
The incidence relation that processor 701 identifies according to mark and the default text box of the first text box, really The mark of fixed the second text box being associated with the mark of the first text box;
Processor 701 determines the second text box according to the mark of the second text box.
Further, the operation object in the second text box, according to the first operation, is carried out by processor 701 Second operation corresponding with the first operation, including:
Processor 701, according to the first operation, determines the target behaviour in the first text box that the first operation is targeted Make object, the target operation object in the first text box be in the first text box operation object local or All;
Processor 701, according to the target operation object in the first text box, determines the target in the second text box Operation object, the target operation object in the second text box be in the second text box operation object local or Person is whole;
Processor 701 carries out second corresponding with the first operation to the target operation object in the second text box Operation.
Further, the first operation operates for synchro edit content of text, and operation object is content of text;
Operation object in second text box, according to the first operation, is carried out and the first operation phase by processor 701 The second corresponding operation, including:
Processor 701 operates according to synchro edit content of text, it is thus achieved that operate through synchro edit content of text The content of text in the first text box afterwards;
Processor 701 is according in the text in the first text box after operating through synchro edit content of text Hold, the content of text in the second text box is replaced operation.
Further, the content of text of the first text box and the content of text of the second text box are different language; Processor 701 according to through synchro edit content of text operate after the first text box in content of text, Content of text in second text box is replaced operation, including:
Processor 701 is according in the text in the first text box after operating through synchro edit content of text Hold, the content of text in the first text box after operating through synchro edit content of text is translated;
Processor 701 is according to the content of text in the first text box after translation, to the literary composition in the second text box This content is replaced operation.
It will be appreciated that the execution step of processor 701 specifically can be found in Fig. 1 or Fig. 2 or Fig. 3 embodiment Content, here is omitted.
In sum, terminal is when carrying out the first operation to the operation object in the first text box, according to first Text box finds the second text box being associated, and according to the first operation to the operation object in the second text box Carry out corresponding second operation, it is not necessary to carry out individually operated for each text box, document can be realized Operation associated, reduce operating procedure and the operating time of user, be user-friendly to.
Further, after terminal operates first, the content in the first text box carries out translating and replace the second literary composition Content in this frame, it is achieved the synchronization of associated text frame Chinese version content, by replace in full can solve because of in The inaccurate problem in the most corresponding location caused, English text position, by the mutual translation between different language And replace the accuracy that may insure that synchronization.
One of ordinary skill in the art will appreciate that all or part of flow process realizing in above-described embodiment method, Can be by computer program and complete to instruct relevant hardware, described program can be stored in a calculating In machine read/write memory medium, this program is upon execution, it may include such as the flow process of the embodiment of above-mentioned each method. Wherein, storage medium can be magnetic disc, CD, read-only store-memory body (English: read only memory, Or random store-memory body (English: random access memory, RAM) etc. ROM).
Step in embodiment of the present invention method can carry out order according to actual needs and adjust, merges and delete.
Unit in embodiment of the present invention terminal can merge according to actual needs, divides and delete.
Above disclosed only one preferred embodiment of the present invention, can not limit this with this certainly Bright interest field, one of ordinary skill in the art will appreciate that all or part of stream realizing above-described embodiment Journey, and according to the equivalent variations that the claims in the present invention are made, still fall within the scope that invention is contained.

Claims (10)

1. the operational approach of a document, it is characterised in that including:
Operation object in first text box is carried out the first operation, described operation object include content of text, Image content, linking relationship, text formatting, picture format or text box form;
Determine the second text box being associated with described first text box, described first text box and described second Text box is in same document, or described first text box is respectively at different from described second text box In document;
According to described first operation, the operation object in described second text box is carried out and described first operation The second corresponding operation.
Method the most according to claim 1, it is characterised in that described determine and described first text box The second text box being associated, including:
Mark according to described first text box and the incidence relation of default text box mark, determine and institute State the mark of described second text box that the mark of the first text box is associated;
Mark according to described second text box determines described second text box.
Method the most according to claim 1 and 2, it is characterised in that described according to described first operation, Operation object in described second text box is carried out second operation corresponding with described first operation, including:
According to described first operation, determine the object run in the first text box that described first operation is targeted Object, the target operation object in described first text box is the office of the operation object in described first text box Portion or all;
According to the target operation object in described first text box, determine the target behaviour in described second text box Making object, the target operation object in described second text box is the operation object in described second text box Partially or completely;
Target operation object in described second text box is carried out second behaviour corresponding with described first operation Make.
Method the most according to claim 1 and 2, it is characterised in that described first operation is for synchronizing to compile Collecting content of text operation, described operation object is content of text;
Described according to described first operation, the operation object in described second text box is carried out and described first Operate the second corresponding operation, including:
Operate according to described synchro edit content of text, it is thus achieved that after synchro edit content of text operates Content of text in described first text box;
According to the content of text in described first text box after operating through synchro edit content of text, right Content of text in described second text box is replaced operation.
Method the most according to claim 4, it is characterised in that the content of text of described first text box It is different language with the content of text of described second text box;
It is described according to the content of text in described first text box after operating through synchro edit content of text, Content of text in described second text box is replaced operation, including:
According to the content of text in described first text box after operating through synchro edit content of text, right Content of text in described described first text box after synchro edit content of text operates is translated;
According to the content of text in described first text box after translation, to the text in described second text box Content is replaced operation.
6. a terminal, it is characterised in that including:
First operating unit, for carrying out the first operation, described operation to the operation object in the first text box Object includes content of text, image content, linking relationship, text formatting, picture format or text box form;
First determines unit, for determining the second text box being associated with described first text box, and described the One text box and described second text box are in same document, or described first text box and described second Text box is respectively in different document;
Second operating unit, for according to described first operation, to the operation object in described second text box Carry out second operation corresponding with described first operation.
Terminal the most according to claim 6, it is characterised in that described first determines that unit includes:
Second determines unit, identifies for the mark according to described first text box and default text box Incidence relation, determines the mark of described second text box being associated with the mark of described first text box;
3rd determines unit, for determining described second text box according to the mark of described second text box.
8. according to the terminal described in claim 6 or 7, it is characterised in that described second operating unit includes:
4th determines unit, for according to described first operation, determines that described first operates targeted first Target operation object in text box, the target operation object in described first text box is described first text Operation object in frame is partially or completely;
5th determines unit, for according to the target operation object in described first text box, determines described the Target operation object in two text boxes, the target operation object in described second text box is described second literary composition Operation object in this frame is partially or completely;
3rd operating unit, for carrying out and described first the target operation object in described second text box Operate the second corresponding operation.
9. according to the terminal described in claim 6 or 7, it is characterised in that described first operation is for synchronizing to compile Collecting content of text operation, described operation object is content of text;
Described second operating unit includes:
Obtain unit, for operating according to described synchro edit content of text, it is thus achieved that through synchro edit text The content of text in described first text box after content operation;
First replacement unit, for according to described first text after operating through synchro edit content of text Content of text in frame, is replaced operation to the content of text in described second text box.
Terminal the most according to claim 9, it is characterised in that in the text of described first text box Holding the content of text with described second text box is different language;
Described first replacement unit includes:
Translation unit, for according in described first text box after operating through synchro edit content of text Content of text, to described through synchro edit content of text operate after described first text box in literary composition This content is translated;
Second replacement unit, for according to the content of text in described first text box after translation, to described Content of text in second text box is replaced operation.
CN201610178761.5A 2016-03-26 2016-03-26 A document operation method and a terminal Pending CN105868168A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610178761.5A CN105868168A (en) 2016-03-26 2016-03-26 A document operation method and a terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610178761.5A CN105868168A (en) 2016-03-26 2016-03-26 A document operation method and a terminal

Publications (1)

Publication Number Publication Date
CN105868168A true CN105868168A (en) 2016-08-17

Family

ID=56626100

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610178761.5A Pending CN105868168A (en) 2016-03-26 2016-03-26 A document operation method and a terminal

Country Status (1)

Country Link
CN (1) CN105868168A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110162798A (en) * 2018-08-09 2019-08-23 腾讯科技(深圳)有限公司 Document translation method, apparatus, computer readable storage medium and computer equipment
CN112925855A (en) * 2021-04-12 2021-06-08 平安科技(深圳)有限公司 Theme template synchronization method, device and equipment and storage medium
WO2023124377A1 (en) * 2021-12-31 2023-07-06 钉钉(中国)信息技术有限公司 Document review method and apparatus

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070195081A1 (en) * 2006-02-23 2007-08-23 Olivier Fischer Authoring tool
CN101110028A (en) * 2006-07-21 2008-01-23 软件股份公司 System and methods for generating runtime messages
CN101477517A (en) * 2009-01-21 2009-07-08 传神联合(北京)信息技术有限公司 Multi-point remote synchronizing method for OFFICE documents editing

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070195081A1 (en) * 2006-02-23 2007-08-23 Olivier Fischer Authoring tool
CN101110028A (en) * 2006-07-21 2008-01-23 软件股份公司 System and methods for generating runtime messages
CN101477517A (en) * 2009-01-21 2009-07-08 传神联合(北京)信息技术有限公司 Multi-point remote synchronizing method for OFFICE documents editing

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110162798A (en) * 2018-08-09 2019-08-23 腾讯科技(深圳)有限公司 Document translation method, apparatus, computer readable storage medium and computer equipment
CN110162798B (en) * 2018-08-09 2022-05-20 腾讯科技(深圳)有限公司 Document translation method, device, computer readable storage medium and computer equipment
CN112925855A (en) * 2021-04-12 2021-06-08 平安科技(深圳)有限公司 Theme template synchronization method, device and equipment and storage medium
WO2023124377A1 (en) * 2021-12-31 2023-07-06 钉钉(中国)信息技术有限公司 Document review method and apparatus

Similar Documents

Publication Publication Date Title
CN104216600B (en) A kind of method and intelligent touch screen terminal equipment of the function that application program is provided
CN105528418B (en) A kind of design documentation generation method and device
CN101667118A (en) Method and device for multi-language version development and replacement
CN111524206A (en) Method and device for generating thinking guide graph
CN109145272B (en) Text rendering and layout method, device, equipment and storage medium
CN108924622A (en) A kind of method for processing video frequency and its equipment, storage medium, electronic equipment
JP7240505B2 (en) Voice packet recommendation method, device, electronic device and program
CN113448562B (en) Automatic logic code generation method and device and electronic equipment
CN105868168A (en) A document operation method and a terminal
CN111831815B (en) Control method and device for questionnaire display, storage medium and electronic equipment
US20230409816A1 (en) Document update method and apparatus, device, and medium
CN104182531A (en) Video name processing method and system
CN111666100A (en) Software framework generation method and device, electronic equipment and storage medium
CN106648349B (en) Information display method and device
CN115293124A (en) Automatic generation method and device for software engineering document
US11119727B1 (en) Digital tutorial generation system
JP2013020437A (en) Requirements management support device
CN109101429A (en) A kind of method and device of the browser page debugging of set-top box
CN115344159A (en) File processing method and device, electronic equipment and readable storage medium
US20160292140A1 (en) Associative input method and terminal
CN102142004A (en) Service processing method and service engine
US9972109B2 (en) Implementing out of order access to reversal operations in images
JP2013142971A (en) Device and method for processing program
US20240046048A1 (en) Synchronizing translation with source multimedia
Hunziker et al. Corpus2Wiki: A MediaWiki-based Tool for Automatically Generating Wikiditions in Digital Humanities

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20160817

WD01 Invention patent application deemed withdrawn after publication