CN109635261A - Online document content edition method, device, storage medium and electronic equipment - Google Patents

Online document content edition method, device, storage medium and electronic equipment Download PDF

Info

Publication number
CN109635261A
CN109635261A CN201811365835.1A CN201811365835A CN109635261A CN 109635261 A CN109635261 A CN 109635261A CN 201811365835 A CN201811365835 A CN 201811365835A CN 109635261 A CN109635261 A CN 109635261A
Authority
CN
China
Prior art keywords
target
edit control
control set
instruction
online document
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
CN201811365835.1A
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.)
Tianjin ByteDance Technology Co Ltd
Original Assignee
Tianjin ByteDance 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 Tianjin ByteDance Technology Co Ltd filed Critical Tianjin ByteDance Technology Co Ltd
Priority to CN201811365835.1A priority Critical patent/CN109635261A/en
Publication of CN109635261A publication Critical patent/CN109635261A/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/166Editing, e.g. inserting or deleting
    • G06F40/177Editing, e.g. inserting or deleting of tables; using ruled lines
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/103Formatting, i.e. changing of presentation of documents
    • G06F40/106Display of layout of documents; Previewing

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)
  • User Interface Of Digital Computer (AREA)

Abstract

The disclosure proposes a kind of online document content edition method, device, storage medium and electronic equipment, and this method includes the selection instruction received for object content in online document, and determines the target type of object content;Call target edit control set corresponding with target type, and displaying target edit control set;The edit instruction at least one target edit control set is received, and online document is edited according to edit instruction.By the disclosure different edit control set can be popped up for different types of content, reduce the selection cost of editor user, so that editor user does not need the effective edit control for selecting certain several pairs of Current Content to be edited in huge toolbar, it can be effectively reduced the learning cost and operating cost of edit control, promote editorial efficiency.

Description

Online document content edition method, device, storage medium and electronic equipment
Technical field
This disclosure relates to field of computer technology more particularly to a kind of online document content edition method, device, storage Jie Matter and electronic equipment.
Background technique
Work is arranged generally at the top of editing interface in the Edition Contains mode in Edition Contains tool in the related technology Has column, so that user edits.
Under this mode, carry out in user in use, the sliding path of mouse is longer, and the toolbar at top will appear it is non- Normal more edit controls, when user being caused to choose, it is more difficult to the edit control of demand is found, service efficiency is lower, and learning cost, Operating cost is relatively high.
Summary of the invention
The disclosure is intended to solve at least some of the technical problems in related technologies.
For this purpose, the purpose of the disclosure is to propose a kind of online document content edition method, device, storage medium and electronics Equipment can pop up different edit control set for different types of content, reduce the selection cost of editor user, make It obtains editor user and does not need the effective edit control for selecting certain several pairs of Current Content to be edited in huge toolbar, It can be effectively reduced the learning cost and operating cost of edit control, promote editorial efficiency.
In order to achieve the above objectives, the online document content edition method that disclosure first aspect embodiment proposes, comprising: connect The selection to object content in online document of narrowing instructs, and determines the target type of the object content;It calls and the mesh The corresponding target edit control set of type is marked, and shows the target edit control set;Receive at least one described target Edit instruction in edit control set, and the online document is edited according to the edit instruction.
In one embodiment of the present disclosure, it is instructed for the selection of object content in online document in the reception Before, further includes:
Obtain the initial edit control set of content;
Edit control corresponding with each type is determined from the initial edit control set;
The corresponding relationship between the type and the call instruction of corresponding edit control is generated, and to the corresponding relationship It is stored.
It is in one embodiment of the present disclosure, described to call target edit control set corresponding with the target type, Include:
Obtain object invocation instruction corresponding with the target type;
Target edit control set corresponding with the target type is called based on object invocation instruction.
In one embodiment of the present disclosure, if when selection instruction is chooses object content, the method Further include:
Determine relative position of the object content in interface;
Depending on that relative position, target display location is determined in conjunction with preset rules;
The display target edit control set, comprising:
The target edit control set is shown at the target display location.
In one embodiment of the present disclosure, the editor received at least one described target edit control set refers to It enables, and the online document is edited according to the edit instruction, comprising:
The edit instruction at least one described target edit control set is received, meanwhile, according to the edit instruction pair The online document is edited.
In one embodiment of the present disclosure, the target type includes at least one of: text type, picture category Type, video type and form types.
The online document content edition method that disclosure first aspect embodiment proposes, by receiving in online document The selection of object content instructs, and determines the target type of object content, calls target edit control corresponding with target type Set, and displaying target edit control set, and the edit instruction at least one target edit control set is received, and root Online document is edited according to edit instruction, different edit control set is popped up for different types of content, is reduced The selection cost of editor user, so that editor user does not need that certain several pairs of Current Content is selected to carry out in huge toolbar The effective edit control of editor can be effectively reduced the learning cost and operating cost of edit control, promote editorial efficiency.
In order to achieve the above objectives, the online document content editing apparatus that disclosure second aspect embodiment proposes, comprising: the One receiving module for receiving the selection instruction for being directed to object content in online document, and determines the target of the object content Type;Calling module for calling target edit control set corresponding with the target type, and shows the target editor Control set;Editor module, for receiving the edit instruction at least one described target edit control set, and according to described Edit instruction edits the online document.
In one embodiment of the present disclosure, further includes:
Module is obtained, for obtaining the initial edit control set of content;
First determining module, for editor's control corresponding with each type determining from the initial edit control set Part;
Generation module, for generating the corresponding relationship between the type and the call instruction of corresponding edit control, and The corresponding relationship is stored.
In one embodiment of the present disclosure, the calling module, is specifically used for:
Obtain object invocation instruction corresponding with the target type;
Target edit control set corresponding with the target type is called based on object invocation instruction.
In one embodiment of the present disclosure, described device further include:
Second determining module, for determining relative position of the object content in interface;
Third determining module, for depending on that relative position, determining target display location in conjunction with preset rules;
The calling module, is specifically used for: the target edit control set is shown at the target display location.
In one embodiment of the present disclosure, the editor module, is specifically used for:
The edit instruction at least one described target edit control set is received, meanwhile, according to the edit instruction pair The online document is edited.
In one embodiment of the present disclosure, the target type includes at least one of: text type, picture category Type, video type and form types.
The online document content editing apparatus that disclosure second aspect embodiment proposes, by receiving in online document The selection of object content instructs, and determines the target type of object content, calls target edit control corresponding with target type Set, and displaying target edit control set, and the edit instruction at least one target edit control set is received, and root Online document is edited according to edit instruction, different edit control set is popped up for different types of content, is reduced The selection cost of editor user, so that editor user does not need that certain several pairs of Current Content is selected to carry out in huge toolbar The effective edit control of editor can be effectively reduced the learning cost and operating cost of edit control, promote editorial efficiency.
In order to achieve the above objectives, the non-transitorycomputer readable storage medium that disclosure third aspect embodiment proposes, When the instruction in the storage medium is performed by the processor of mobile terminal, so that mobile terminal is able to carry out one kind online Document content edit methods, which comprises the online document content edition method that disclosure first aspect embodiment proposes.
The non-transitorycomputer readable storage medium that disclosure third aspect embodiment proposes, by receiving for online The selection instruction of object content in document, and determine the target type of object content, call target corresponding with target type to compile Control set is collected, and displaying target edit control set, and the editor received at least one target edit control set refer to It enables, and online document is edited according to edit instruction, different edit control set is popped up for different types of content, Reduce the selection cost of editor user, so that editor user does not need to select certain several in huge toolbar to current interior Hold the effective edit control edited, can be effectively reduced the learning cost and operating cost of edit control, promotes editor Efficiency.
In order to achieve the above objectives, the computer program product that disclosure fourth aspect embodiment proposes, when the computer When instruction in program product is executed by processor, a kind of online document content edition method is executed, which comprises receive For the selection instruction of object content in online document, and determine the target type of the object content;It calls and the target The corresponding target edit control set of type, and show the target edit control set;At least one described target is received to compile The edit instruction in control set is collected, and the online document is edited according to the edit instruction.
The computer program product that disclosure fourth aspect embodiment proposes, by receiving in target in online document The selection of appearance instructs, and determines the target type of object content, calls target edit control set corresponding with target type, and Displaying target edit control set, and the edit instruction at least one target edit control set is received, and according to editor Online document is edited in instruction, and different edit control set is popped up for different types of content, is reduced editor and is used The selection cost at family, so that editor user did not needed certain several pairs of Current Content is selected to be edited in huge toolbar Effective edit control can be effectively reduced the learning cost and operating cost of edit control, promote editorial efficiency.
The 5th aspect embodiment of the disclosure also proposes a kind of electronic equipment, which includes at least one processor; And the memory being connect at least one described processor communication;Wherein, be stored with can be by described at least one for the memory The instruction that a processor executes, described instruction are arranged to be used for executing the online document that disclosure first aspect embodiment proposes Content edition method.
The computer equipment that the 5th aspect embodiment of the disclosure proposes, by receiving for object content in online document Instruction is chosen, and determines the target type of object content, calls target edit control set corresponding with target type, and show Target edit control set, and the edit instruction at least one target edit control set is received, and according to edit instruction Online document is edited, different edit control set is popped up for different types of content, reduces editor user's Select cost so that editor user do not need certain several pairs of Current Content is selected to be edited in huge toolbar it is effective Edit control, can be effectively reduced the learning cost and operating cost of edit control, promote editorial efficiency.
The additional aspect of the disclosure and advantage will be set forth in part in the description, and will partially become from the following description It obtains obviously, or recognized by the practice of the disclosure.
Detailed description of the invention
The disclosure is above-mentioned and/or additional aspect and advantage will become from the following description of the accompanying drawings of embodiments Obviously and it is readily appreciated that, in which:
Fig. 1 is the flow diagram for the online document content edition method that one embodiment of the disclosure proposes;
Fig. 2 is the flow diagram for the online document content edition method that another embodiment of the disclosure proposes;
Fig. 3 is to choose object content schematic diagram in the embodiment of the present disclosure;
Fig. 4 is a kind of application schematic diagram of the embodiment of the present disclosure;
Fig. 5 is another application schematic diagram of the embodiment of the present disclosure;
Fig. 6 is another application schematic diagram of the embodiment of the present disclosure;
Fig. 7 is to choose object content schematic diagram in the embodiment of the present disclosure;
Fig. 8 is to choose object content schematic diagram in the embodiment of the present disclosure;
Fig. 9 is the structural schematic diagram for the online document content editing apparatus that one embodiment of the disclosure proposes;
Figure 10 is the structural schematic diagram for the online document content editing apparatus that another embodiment of the disclosure proposes;
Figure 11 is the structural schematic diagram for the electronic equipment that an embodiment of the present disclosure proposes.
Specific embodiment
Embodiment of the disclosure is described below in detail, examples of the embodiments are shown in the accompanying drawings, wherein from beginning to end Same or similar label indicates same or similar element or element with the same or similar functions.Below with reference to attached The embodiment of figure description is exemplary, and is only used for explaining the disclosure, and should not be understood as the limitation to the disclosure.On the contrary, this Disclosed embodiment includes all changes fallen within the scope of the spiritual and intension of attached claims, modification and is equal Object.
Fig. 1 is the flow diagram for the online document content edition method that one embodiment of the disclosure proposes.
The present embodiment is configured as illustrating in online document content editing apparatus with online document content edition method It is bright.
Online document content edition method can be configured in online document content editing apparatus in the present embodiment, online Document content editing device can be set in the server, or also can be set in the electronic device, the embodiment of the present application pair This is with no restriction.
The present embodiment is by taking online document content edition method is configured in the electronic device as an example.
It should be noted that the executing subject of the embodiment of the present application, can be, for example, server or electronics on hardware Central processing unit (Central Processing Unit, CPU) in equipment, on software can be, for example, server or Relevant background service in electronic equipment, with no restriction to this.
Work is arranged generally at the top of editing interface in the Edition Contains mode in Edition Contains tool in the related technology Has column, so that user edits.
Under this mode, carry out in user in use, the sliding path of mouse is longer, and the toolbar at top will appear it is non- Normal more edit controls, when user being caused to choose, it is more difficult to the edit control of demand is found, service efficiency is lower, and learning cost, Operating cost is relatively high.
In order to solve the above-mentioned technical problem, a kind of online document content edition method is provided in the embodiment of the present disclosure, is passed through The selection instruction for object content in online document is received, and determines the target type of object content, calling and target type Corresponding target edit control set, and displaying target edit control set, and receive at least one target edit control collection Edit instruction in conjunction, and online document is edited according to edit instruction, it is popped up for different types of content different Edit control set reduces the selection cost of editor user, so that editor user does not need to select in huge toolbar The effective edit control that certain several pairs of Current Content is edited, can be effectively reduced learning cost and the operation of edit control Cost promotes editorial efficiency.
Referring to Fig. 1, this method comprises:
S101: the selection instruction for object content in online document is received, and determines the target type of object content.
Selection instruction therein can be, for example, that user clicks using mouse and drag selection content, alternatively, user clicks Predeterminable area in editing interface, with no restriction to this.
The embodiment of the present disclosure is clicked using mouse in user during specific execute and drags selection content (if should Content is currently can be to the content that it is edited) when, then the content can be referred to as object content, and triggering, which receives, to be directed to The selection instruction of object content in on-line documentation, and determine the target type of object content.
Wherein type includes: text type, picture type, video type and form types, with no restriction to this.
Target type therein is above-mentioned any one of all types of.
Wherein type belonging to object content can be referred to as target type.
The embodiment of the present disclosure is receiving the selection instruction for object content in online document during specific execute Before, referring to fig. 2, can also include:
S201: the initial edit control set of content is obtained.
S202: it is determined and all types of corresponding edit controls from initial edit control set.
S203: generating the corresponding relationship between type and the call instruction of corresponding edit control, and to corresponding relationship into Row storage.
Edit control in initial edit control set therein includes: work in Edition Contains tool in the related technology Have multiple edit controls under column.
The embodiment of the present disclosure, can be according to indicated by each edit control after obtaining above-mentioned initial edit control set Edit operation divides the edit control in initial edit control set in conjunction with various types of content, for example, The corresponding edit control of content for marking off text type marks off the corresponding edit control of content of picture type, Yi Jihua The corresponding edit control of content for separating form types can be read after marking off above-mentioned all types of corresponding edit controls Application programming interface is taken, the call instruction of each edit control is obtained, then, generates the tune of type and corresponding edit control With the corresponding relationship between instruction, and corresponding relationship is stored.
S102: target edit control set corresponding with target type, and displaying target edit control set are called.
Optionally, target edit control set corresponding with target type is called, comprising: obtain corresponding with target type Object invocation instruction;Target edit control set corresponding with target type is called based on object invocation instruction.
The embodiment of the present disclosure, can be according to above-mentioned pair for above-mentioned embodiment illustrated in fig. 2 during specific execute It answers Relation acquisition call instruction corresponding with target type and is instructed as object invocation, then, triggering is referred to based on object invocation It enables and calls edit control corresponding with target type, then, target edit control set is generated according to the corresponding edit control.
The embodiment of the present disclosure is during specific execute, if method may be used also when choosing instruction to choose object content To comprise determining that relative position of the object content in interface;Depending on the relative position, determine that target shows position in conjunction with preset rules It sets;Displaying target edit control set, comprising: the displaying target edit control set at target display location.
Preset rules can be preset by the factory program of online document content editing apparatus, alternatively, can also be by compiling It collects user to be set according to the demand of itself, with no restriction to this.
Preset rules can be, for example,, can be by mesh if relative position of the object content in interface is medium position Display position is marked to determine in the top of object content, lower part, left part, right part, and if relative position of the object content in interface For position to the left, then target display location can be determined on the top, lower part, right part of object content, with no restriction to this.
In the embodiment of the present disclosure, by determining relative position of the object content in interface;Depending on the relative position, in conjunction with pre- If rule determines target display location;Displaying target edit control set, enables to edit tool at target display location Editing interface it is more beautiful, avoid sheltering from content, improve the utilization rate of editing interface, and the object content due to choosing Corresponding edit control is shown in the top, lower part, left part, right part of object content, so that effectively shortening the mouse of editor user Courses of action promote user experience degree.
S103: the edit instruction at least one target edit control set is received, and according to edit instruction to online text Shelves are edited.
In the embodiment of the present disclosure, the edit instruction at least one target edit control set is received, meanwhile, according to editor Online document is edited in instruction.
For example, can receive user to the triggering command of target edit control in target edit control set while, It is directly based upon edit operation indicated by target edit control to edit object content, can be mentioned from the angle of user's operation Editorial efficiency is risen, user experience degree is further promoted.
In the present embodiment, by receiving the selection instruction for object content in online document, and object content is determined Target type is called target edit control set corresponding with target type, and displaying target edit control set, and is received Edit instruction at least one target edit control set, and online document is edited according to edit instruction, for not The content of same type pops up different edit control set, reduces the selection cost of editor user, so that editor user is not required to The effective edit control that select certain several pairs of Current Content to be edited in huge toolbar, can be effectively reduced volume The learning cost and operating cost of control are collected, editorial efficiency is promoted.
As an example, example is carried out by the content of text type of object content, is that the disclosure is real referring to Fig. 3, Fig. 3 It applies and chooses object content schematic diagram in example.It include the content 31 for the text type chosen in Fig. 3, wherein editor user can make With the content of mouse drag selection literal type, the content of text type is, for example, " universe chaotic state " in Fig. 3, when selection text After the content of word type, operation user, which can control, discharges the focus of mouse, automatic by the background application of edit tool Target display location is determined in conjunction with preset rules, for example, when the upper space of the content 31 of text type is enough, it can be by mouse Target edit control set as target display location, and is popped up in the top for marking discharged focal point at target display location (the target edit control set 41 in referring to fig. 4, Fig. 4 are a kind of application schematic diagram of the embodiment of the present disclosure), editor user's point Each edit control in target edit control set 41 is hit, the content of text type can be operated, such as title, overstriking Deng.
And if the upper space of the content 31 of text type it is inadequate when, can by the lower section of the discharged focal point of mouse, make For target display location, and target edit control set is popped up (referring to the target edit control in Fig. 5 at target display location Gather another application schematic diagram that 51, Fig. 5 is the embodiment of the present disclosure).
It can be to selected when editor user clicks the edit control in target edit control set as another example The object content that takes complete corresponding edit operation (assuming that user selects B edit control, then can be to text " universe chaotic state " Font is set as regular script, and overstriking is shown), at this point it is possible to which the edit control that user is clicked (can be referred to as target editor Control) corresponding icon becomes blue highlight and shows (referring to Fig. 6, Fig. 6 is another application schematic diagram of the embodiment of the present disclosure), At this point, target edit control set does not disappear, and the mouse focus for working as operation user again taps on other regions of editing interface, It then can control the disappearance of target edit control set, with this, save the display resource of editing interface, promote the display of editing interface Capacity, editor user can adopting consecutive click chemical reaction plurality of target edit control, for example, to the content of text type plus strikethrough, highlighted Deng.
For the embodiment of the present disclosure during specific execute, the opportunity of displaying target edit control set may be operation After user chooses object content using keyboard, when mouse is mobile, the flexibility of edit control triggering can be effectively promoted.
As an example, example is carried out by the content of picture type of object content, is that the disclosure is real referring to Fig. 7, Fig. 7 It applies and chooses object content schematic diagram in example.It include the content 71 and target edit control set of the picture type chosen in Fig. 7 72, wherein choose the content of picture type, then the edit control for including in target edit control set 72 can be with for example, Left, placed in the middle, residence is right, full frame, comments on etc. is occupied, the edit control that operation user clicks in target edit control set 72 can be completed Corresponding edit operation, when the focus for editing user's control mouse leaves the content of picture type, then to target edit control Set 72 is hidden.
As an example, example is carried out by the content of form types of object content, is that the disclosure is real referring to Fig. 8, Fig. 8 It applies and chooses object content schematic diagram in example.It include the content 81 and target edit control set of the form types chosen in Fig. 8 82, wherein the focus of editor's user's control mouse is located in the content of form types, then can trigger and show in top of form Target edit control set 82 can modify to the content of table via the edit control in target edit control set 82 Font size, overstriking etc..
Fig. 9 is the structural schematic diagram for the online document content editing apparatus that one embodiment of the disclosure proposes.
Referring to Fig. 9, which includes: the first receiving module 901, calling module 902 and editor module 903, In,
First receiving module 901 for receiving the selection instruction for being directed to object content in online document, and determines in target The target type of appearance.
Calling module 902, for calling target edit control set corresponding with target type, and displaying target editor is controlled Part set.
Editor module 903 for receiving the edit instruction at least one target edit control set, and refers to according to editor Online document is edited in order.
Optionally, in some embodiments, target type includes at least one of: text type, picture type, video class Type and form types.
Optionally, in some embodiments, referring to Figure 10, further includes:
Module 904 is obtained, for obtaining the initial edit control set of content;
First determining module 905, for being determined and all types of corresponding edit controls from initial edit control set;
Generation module 906, for generating the corresponding relationship between type and the call instruction of corresponding edit control, and it is right Corresponding relationship is stored.
Optionally, in some embodiments, calling module 902 is specifically used for:
Obtain object invocation instruction corresponding with target type;
Target edit control set corresponding with target type is called based on object invocation instruction.
Optionally, in some embodiments, referring to Figure 10, device 900 further include:
Second determining module 907, for determining relative position of the object content in interface;
Third determining module 908, for depending on the relative position, determining target display location in conjunction with preset rules;
Calling module 902, is specifically used for: the displaying target edit control set at target display location.
Optionally, in some embodiments, referring to Figure 10, editor module 903 is specifically used for:
The edit instruction at least one target edit control set is received, meanwhile, according to edit instruction to online document It is edited.
It should be noted that explaining in earlier figures 1- Fig. 8 embodiment online document content edition method embodiment The bright online document content editing apparatus 900 for being also applied for the embodiment, realization principle is similar, and details are not described herein again.
In the present embodiment, by receiving the selection instruction for object content in online document, and object content is determined Target type is called target edit control set corresponding with target type, and displaying target edit control set, and is received Edit instruction at least one target edit control set, and online document is edited according to edit instruction, for not The content of same type pops up different edit control set, reduces the selection cost of editor user, so that editor user is not required to The effective edit control that select certain several pairs of Current Content to be edited in huge toolbar, can be effectively reduced volume The learning cost and operating cost of control are collected, editorial efficiency is promoted.
It is the structural schematic diagram for the electronic equipment that an embodiment of the present disclosure proposes below with reference to Figure 11, Figure 11.It shows Suitable for being used to realize the structural schematic diagram of the electronic equipment 1100 of the embodiment of the present disclosure.Terminal device in the embodiment of the present disclosure It can include but is not limited to such as mobile phone, laptop, digit broadcasting receiver, PDA (personal digital assistant), PAD The mobile terminal of (tablet computer), PMP (portable media player), car-mounted terminal (such as vehicle mounted guidance terminal) etc. with And the fixed terminal of such as number TV, desktop computer etc..
Electronic equipment shown in Figure 11 is only an example, should not function and use scope band to the embodiment of the present disclosure Carry out any restrictions.
As shown in figure 11, electronic equipment 1100 may include processing unit (such as central processing unit, graphics processor etc.) 1101, it can be loaded at random according to the program being stored in read-only memory (ROM) 1102 or from storage device 1108 It accesses the program in memory (RAM) 1103 and executes various movements appropriate and processing.In RAM 1103, it is also stored with electricity Sub- equipment 1100 operates required various programs and data.Processing unit 1101, ROM 1102 and RAM 1103 pass through bus 1104 are connected with each other.Input/output (I/O) interface 1105 is also connected to bus 1104.
In general, following device can connect to I/O interface 1105: including such as touch screen, touch tablet, keyboard, mouse, taking the photograph As the input unit 1106 of head, microphone, accelerometer, gyroscope etc.;Including such as liquid crystal display (LCD), loudspeaker, vibration The output device 1107 of dynamic device etc.;Storage device 1108 including such as tape, hard disk etc.;And communication device 1109.Communication Device 1109 can permit electronic equipment 1100 and wirelessly or non-wirelessly be communicated with other equipment to exchange data.Although Figure 11 shows The electronic equipment 1100 with various devices is gone out, it should be understood that being not required for implementing or having all dresses shown It sets.It can alternatively implement or have more or fewer devices.
Particularly, in accordance with an embodiment of the present disclosure, it may be implemented as computer above with reference to the process of flow chart description Software program.For example, embodiment of the disclosure includes a kind of computer program product comprising be carried on computer-readable medium On computer program, which includes the program generation for online document content edition method shown in execution flow chart Code.In such embodiments, which can be downloaded and installed from network by communication device 1109, or It is mounted from storage device 1108, or is mounted from ROM 1102.When the computer program is executed by processing unit 1101, Execute the above-mentioned function of limiting in embodiment of the present disclosure online document content edition method.
It should be noted that the above-mentioned computer-readable medium of the disclosure can be computer-readable signal media or meter Calculation machine readable storage medium storing program for executing either the two any combination.Computer readable storage medium for example can be --- but not Be limited to --- electricity, magnetic, optical, electromagnetic, infrared ray or semiconductor system, device or device, or any above combination.Meter The more specific example of calculation machine readable storage medium storing program for executing can include but is not limited to: have the electrical connection, just of one or more conducting wires Taking formula computer disk, hard disk, random access storage device (RAM), read-only memory (ROM), erasable type may be programmed read-only storage Device (EPROM or flash memory), optical fiber, portable compact disc read-only memory (CD-ROM), light storage device, magnetic memory device, Or above-mentioned any appropriate combination.In the disclosure, computer readable storage medium can be it is any include or storage journey The tangible medium of sequence, the program can be commanded execution system, device or device use or in connection.And at this In open, computer-readable signal media may include in a base band or as the data-signal that carrier wave a part is propagated, In carry computer-readable program code.The data-signal of this propagation can take various forms, including but not limited to Electromagnetic signal, optical signal or above-mentioned any appropriate combination.Computer-readable signal media can also be computer-readable and deposit Any computer-readable medium other than storage media, the computer-readable signal media can send, propagate or transmit and be used for By the use of instruction execution system, device or device or program in connection.Include on computer-readable medium Program code can transmit with any suitable medium, including but not limited to: electric wire, optical cable, RF (radio frequency) etc. are above-mentioned Any appropriate combination.
Above-mentioned computer-readable medium can be included in above-mentioned electronic equipment;It is also possible to individualism, and not It is fitted into the electronic equipment.
Above-mentioned computer-readable medium carries one or more program, when said one or multiple programs are by the electricity When sub- equipment executes, so that the electronic equipment: receiving the selection instruction for object content in online document, and determine in target The target type of appearance;Call target edit control set corresponding with target type, and displaying target edit control set;It receives Edit instruction at least one target edit control set, and online document is edited according to edit instruction.
The calculating of the operation for executing the disclosure can be write with one or more programming languages or combinations thereof Machine program code, above procedure design language include object oriented program language-such as Java, Smalltalk, C+ +, it further include conventional procedural programming language-such as " C " language or similar programming language.Program code can Fully to execute, partly execute on the user computer on the user computer, be executed as an independent software package, Part executes on the remote computer or executes on a remote computer or server completely on the user computer for part. In situations involving remote computers, remote computer can pass through the network of any kind --- including local area network (LAN) Or wide area network (WAN)-is connected to subscriber computer, or, it may be connected to outer computer (such as utilize Internet service Provider is connected by internet).
Flow chart and block diagram in attached drawing are illustrated according to the system of the various embodiments of the disclosure, method and computer journey The architecture, function and operation in the cards of sequence product.In this regard, each box in flowchart or block diagram can generation A part of one module, program segment or code of table, a part of the module, program segment or code include one or more use The executable instruction of the logic function as defined in realizing.It should also be noted that in some implementations as replacements, being marked in box The function of note can also occur in a different order than that indicated in the drawings.For example, two boxes succeedingly indicated are actually It can be basically executed in parallel, they can also be executed in the opposite order sometimes, and this depends on the function involved.Also it to infuse Meaning, the combination of each box in block diagram and or flow chart and the box in block diagram and or flow chart can be with holding The dedicated hardware based system of functions or operations as defined in row is realized, or can use specialized hardware and computer instruction Combination realize.
Being described in module involved in the embodiment of the present disclosure can be realized by way of software, can also be by hard The mode of part is realized.Wherein, the title of module does not constitute the restriction to the module itself under certain conditions, for example, the One receiving module is also described as " receiving the selection instruction for object content in online document, and determining object content Target type module ".
It should be noted that term " first ", " second " etc. are used for description purposes only in the description of the disclosure, without It can be interpreted as indication or suggestion relative importance.In addition, in the description of the disclosure, unless otherwise indicated, the meaning of " multiple " It is two or more.
Any process described otherwise above or method description are construed as in flow chart or herein, and expression includes It is one or more for realizing specific logical function or process the step of executable instruction code module, segment or portion Point, and the range of the preferred embodiment of the disclosure includes other realization, wherein can not press shown or discussed suitable Sequence, including according to related function by it is basic simultaneously in the way of or in the opposite order, Lai Zhihang function, this should be by the disclosure Embodiment person of ordinary skill in the field understood.
It should be appreciated that each section of the disclosure can be realized with hardware, software, firmware or their combination.Above-mentioned In embodiment, software that multiple steps or method can be executed in memory and by suitable instruction execution system with storage Or firmware is realized.It, and in another embodiment, can be under well known in the art for example, if realized with hardware Any one of column technology or their combination are realized: having a logic gates for realizing logic function to data-signal Discrete logic, with suitable combinational logic gate circuit specific integrated circuit, programmable gate array (PGA), scene Programmable gate array (FPGA) etc..
Those skilled in the art are understood that realize all or part of step that above-described embodiment method carries Suddenly be that relevant hardware can be instructed to complete by program, program can store in a kind of computer readable storage medium In, which when being executed, includes the steps that one or a combination set of embodiment of the method.
It, can also be in addition, can integrate in a processing module in each functional unit in each embodiment of the disclosure It is that each unit physically exists alone, can also be integrated in two or more units in a module.Above-mentioned integrated mould Block both can take the form of hardware realization, can also be realized in the form of software function module.If integrated module with The form of software function module is realized and when sold or used as an independent product, also can store computer-readable at one It takes in storage medium.
Storage medium mentioned above can be read-only memory, disk or CD etc..
In the description of this specification, reference term " one embodiment ", " some embodiments ", " example ", " specifically show The description of example " or " some examples " etc. means specific features, structure, material or spy described in conjunction with this embodiment or example Point is contained at least one embodiment or example of the disclosure.In the present specification, schematic expression of the above terms are not Centainly refer to identical embodiment or example.Moreover, particular features, structures, materials, or characteristics described can be any One or more embodiment or examples in can be combined in any suitable manner.
Although embodiment of the disclosure has been shown and described above, it is to be understood that above-described embodiment is example Property, it should not be understood as the limitation to the disclosure, those skilled in the art within the scope of this disclosure can be to above-mentioned Embodiment is changed, modifies, replacement and variant.

Claims (9)

1. a kind of online document content edition method, which comprises the following steps:
The selection instruction for object content in online document is received, and determines the target type of the object content;
Target edit control set corresponding with the target type is called, and shows the target edit control set;
The edit instruction at least one described target edit control set is received, and according to the edit instruction to described online Document is edited.
2. online document content edition method as described in claim 1, which is characterized in that be directed to online document in described receive Before the selection instruction of middle object content, further includes:
Obtain the initial edit control set of content;
Edit control corresponding with each type is determined from the initial edit control set;
The corresponding relationship between the type and the call instruction of corresponding edit control is generated, and the corresponding relationship is carried out Storage.
3. online document content edition method as claimed in claim 2, which is characterized in that the calling and the target type Corresponding target edit control set, comprising:
Obtain object invocation instruction corresponding with the target type;
Target edit control set corresponding with the target type is called based on object invocation instruction.
4. online document content edition method as described in claim 1, which is characterized in that if being in selection instruction When choosing object content, the method also includes:
Determine relative position of the object content in interface;
Depending on that relative position, target display location is determined in conjunction with preset rules;
The display target edit control set, comprising:
The target edit control set is shown at the target display location.
5. online document content edition method according to any one of claims 1-4, which is characterized in that described to receive at least one Edit instruction in a target edit control set, and the online document is edited according to the edit instruction, Include:
The edit instruction at least one described target edit control set is received, meanwhile, according to the edit instruction to described Online document is edited.
6. online document content edition method according to any one of claims 1-4, which is characterized in that the target type packet Include at least one of: text type, picture type, video type and form types.
7. a kind of online document content editing apparatus characterized by comprising
First receiving module for receiving the selection instruction for being directed to object content in online document, and determines the object content Target type;
Calling module for calling target edit control set corresponding with the target type, and shows the target editor Control set;
Editor module, for receiving the edit instruction at least one described target edit control set, and according to the editor The online document is edited in instruction.
8. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the program is held by processor Such as online document content edition method of any of claims 1-6 is realized when row.
9. a kind of electronic equipment characterized by comprising at least one processor;And it is logical at least one described processor Believe the memory of connection;Wherein, the memory is stored with the instruction that can be executed by least one described processor, described instruction It is arranged to be used for executing the described in any item online document content edition methods of the claims 1-6.
CN201811365835.1A 2018-11-16 2018-11-16 Online document content edition method, device, storage medium and electronic equipment Pending CN109635261A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811365835.1A CN109635261A (en) 2018-11-16 2018-11-16 Online document content edition method, device, storage medium and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811365835.1A CN109635261A (en) 2018-11-16 2018-11-16 Online document content edition method, device, storage medium and electronic equipment

Publications (1)

Publication Number Publication Date
CN109635261A true CN109635261A (en) 2019-04-16

Family

ID=66068232

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811365835.1A Pending CN109635261A (en) 2018-11-16 2018-11-16 Online document content edition method, device, storage medium and electronic equipment

Country Status (1)

Country Link
CN (1) CN109635261A (en)

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110287473A (en) * 2019-06-28 2019-09-27 北京字节跳动网络技术有限公司 Electrical form edit methods and device
CN110633461A (en) * 2019-09-10 2019-12-31 北京百度网讯科技有限公司 Document detection processing method and device, electronic equipment and storage medium
CN110705239A (en) * 2019-09-27 2020-01-17 支付宝(杭州)信息技术有限公司 Credit contract template creating method and device
CN111914528A (en) * 2020-06-19 2020-11-10 北京百度网讯科技有限公司 Content editing method, editor generation method, device, equipment and medium
CN112183045A (en) * 2020-09-23 2021-01-05 北京字跳网络技术有限公司 Online document processing method and device and electronic equipment
CN112257399A (en) * 2019-07-22 2021-01-22 珠海金山办公软件有限公司 Document editing method, system, storage medium and terminal
CN112380819A (en) * 2020-11-17 2021-02-19 北京字跳网络技术有限公司 Document editing method and device and electronic equipment
CN112528203A (en) * 2020-12-18 2021-03-19 平安国际智慧城市科技股份有限公司 Webpage-based online document making method and system
CN112632917A (en) * 2019-10-14 2021-04-09 腾讯科技(深圳)有限公司 Online document processing method and device, electronic equipment and storage medium
CN113128182A (en) * 2021-04-14 2021-07-16 北京字跳网络技术有限公司 Electronic document processing method and device, terminal and storage medium
CN113656034A (en) * 2021-08-24 2021-11-16 北京百度网讯科技有限公司 Information processing method, information processing apparatus, electronic device, and storage medium
CN113705174A (en) * 2021-08-04 2021-11-26 北京百度网讯科技有限公司 Content editing method and device, electronic equipment and storage medium
CN115309308A (en) * 2022-07-20 2022-11-08 北京达佳互联信息技术有限公司 Method, device, equipment, system and storage medium for commenting online document

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1790244A (en) * 2004-08-16 2006-06-21 微软公司 User interface for displaying selectable software functionality controls that are relevant to a selected object
CN101604243A (en) * 2004-08-16 2009-12-16 微软公司 The user interface that shows selectable software function control related to selected object on context
CN102968300A (en) * 2011-11-10 2013-03-13 微软公司 Control starter and widget for providing on-object of context
CN107766108A (en) * 2017-09-11 2018-03-06 深圳市金立通信设备有限公司 A kind of method of interception image, terminal and computer-readable medium
CN108762654A (en) * 2018-05-15 2018-11-06 Oppo(重庆)智能科技有限公司 Method, apparatus, terminal and the computer readable storage medium of text editing

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1790244A (en) * 2004-08-16 2006-06-21 微软公司 User interface for displaying selectable software functionality controls that are relevant to a selected object
CN101604243A (en) * 2004-08-16 2009-12-16 微软公司 The user interface that shows selectable software function control related to selected object on context
CN102968300A (en) * 2011-11-10 2013-03-13 微软公司 Control starter and widget for providing on-object of context
CN107766108A (en) * 2017-09-11 2018-03-06 深圳市金立通信设备有限公司 A kind of method of interception image, terminal and computer-readable medium
CN108762654A (en) * 2018-05-15 2018-11-06 Oppo(重庆)智能科技有限公司 Method, apparatus, terminal and the computer readable storage medium of text editing

Cited By (19)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110287473A (en) * 2019-06-28 2019-09-27 北京字节跳动网络技术有限公司 Electrical form edit methods and device
CN112257399A (en) * 2019-07-22 2021-01-22 珠海金山办公软件有限公司 Document editing method, system, storage medium and terminal
CN110633461A (en) * 2019-09-10 2019-12-31 北京百度网讯科技有限公司 Document detection processing method and device, electronic equipment and storage medium
CN110633461B (en) * 2019-09-10 2024-01-16 北京百度网讯科技有限公司 Document detection processing method, device, electronic equipment and storage medium
CN110705239A (en) * 2019-09-27 2020-01-17 支付宝(杭州)信息技术有限公司 Credit contract template creating method and device
CN110705239B (en) * 2019-09-27 2023-08-11 支付宝(杭州)信息技术有限公司 Credit contract template creation method and device
CN112632917B (en) * 2019-10-14 2022-09-09 腾讯科技(深圳)有限公司 Online document processing method and device, electronic equipment and storage medium
CN112632917A (en) * 2019-10-14 2021-04-09 腾讯科技(深圳)有限公司 Online document processing method and device, electronic equipment and storage medium
CN111914528A (en) * 2020-06-19 2020-11-10 北京百度网讯科技有限公司 Content editing method, editor generation method, device, equipment and medium
CN111914528B (en) * 2020-06-19 2024-02-23 北京百度网讯科技有限公司 Content editing method, method for generating editor, device, equipment and medium thereof
CN112183045A (en) * 2020-09-23 2021-01-05 北京字跳网络技术有限公司 Online document processing method and device and electronic equipment
CN112380819A (en) * 2020-11-17 2021-02-19 北京字跳网络技术有限公司 Document editing method and device and electronic equipment
CN112380819B (en) * 2020-11-17 2024-06-21 北京字跳网络技术有限公司 Document editing method and device and electronic equipment
CN112528203A (en) * 2020-12-18 2021-03-19 平安国际智慧城市科技股份有限公司 Webpage-based online document making method and system
CN113128182A (en) * 2021-04-14 2021-07-16 北京字跳网络技术有限公司 Electronic document processing method and device, terminal and storage medium
CN113705174A (en) * 2021-08-04 2021-11-26 北京百度网讯科技有限公司 Content editing method and device, electronic equipment and storage medium
CN113656034A (en) * 2021-08-24 2021-11-16 北京百度网讯科技有限公司 Information processing method, information processing apparatus, electronic device, and storage medium
CN113656034B (en) * 2021-08-24 2024-03-12 北京百度网讯科技有限公司 Information processing method, information processing device, electronic equipment and storage medium
CN115309308A (en) * 2022-07-20 2022-11-08 北京达佳互联信息技术有限公司 Method, device, equipment, system and storage medium for commenting online document

Similar Documents

Publication Publication Date Title
CN109635261A (en) Online document content edition method, device, storage medium and electronic equipment
US11782581B2 (en) Display control method and device, electronic device and storage medium
US9141406B2 (en) Method and system to provide a user interface with respect to a plurality of applications
CN110287473A (en) Electrical form edit methods and device
CN109246461A (en) Method, applications client and the electronic equipment that video preloads
US20130219319A1 (en) Apparatus and method for grouping application program folders in electronic device
CN109408685A (en) Mind map methods of exhibiting and device
CN109495791A (en) A kind of adding method, device, electronic equipment and the readable medium of video paster
CN110531920A (en) Display methods, device, terminal and the storage medium of side toolbar
US9921822B2 (en) End user programming for a mobile device
US10628018B2 (en) Method and user interface (UI) for customized user access to application functionalities
CN109889869A (en) Loading method, device, equipment and the storage medium of video data
CN109885314A (en) Small routine autoplacement method and device
US20140359502A1 (en) Method and apparatus of operating electronic device
CN109656653A (en) Mask icon display method and device
CN109491742A (en) Page tabular rendering method and device
CN109446503A (en) Document content deriving method and device
CN109614193A (en) A kind of display methods of list interface, device, equipment and storage medium
CN109614195A (en) A kind of preloading method, apparatus, equipment and the storage medium of list items
CN109857325A (en) Display interface switching method, electronic equipment and computer readable storage medium
CN106354378A (en) Method and device for quickly selecting multiple targets
CN102968313A (en) Generation method and terminal of desktop widget
KR101301501B1 (en) Electronic book system, method, and recording medium for providing electronic book user interface
CN106066874B (en) Object processing method and terminal
WO2020181946A1 (en) Video playback method and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination