CN111949184A - Method and device for creating new document - Google Patents

Method and device for creating new document Download PDF

Info

Publication number
CN111949184A
CN111949184A CN201910406900.9A CN201910406900A CN111949184A CN 111949184 A CN111949184 A CN 111949184A CN 201910406900 A CN201910406900 A CN 201910406900A CN 111949184 A CN111949184 A CN 111949184A
Authority
CN
China
Prior art keywords
document
selected block
block
form document
selection
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201910406900.9A
Other languages
Chinese (zh)
Other versions
CN111949184B (en
Inventor
倪桂欣
吉妙通
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Kingsoft Office Software Inc
Zhuhai Kingsoft Office Software Co Ltd
Guangzhou Kingsoft Mobile Technology Co Ltd
Original Assignee
Beijing Kingsoft Office Software Inc
Zhuhai Kingsoft Office Software Co Ltd
Guangzhou Kingsoft Mobile 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 Beijing Kingsoft Office Software Inc, Zhuhai Kingsoft Office Software Co Ltd, Guangzhou Kingsoft Mobile Technology Co Ltd filed Critical Beijing Kingsoft Office Software Inc
Priority to CN201910406900.9A priority Critical patent/CN111949184B/en
Publication of CN111949184A publication Critical patent/CN111949184A/en
Application granted granted Critical
Publication of CN111949184B publication Critical patent/CN111949184B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • G06F3/0482Interaction with lists of selectable items, e.g. menus
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/04842Selection of displayed objects or displayed text elements

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Document Processing Apparatus (AREA)

Abstract

The embodiment of the application provides a method and a device for creating a new document, which relate to the technical field of computers, and the method comprises the following steps: the first form document is displayed. When a selection instruction input by a user is received, determining a selection block selected by the user in the first form document, and if the selection block is not a blank selection block, judging whether the cells in the selection block refer to the contents of the cells except the selection block. And if the cell in the selected block refers to the cell content outside the selected block, converting the cell content outside the selected block in the selected block cell into a text. And creating a second form document, and copying the converted selection blocks to the second form document. When the form document is newly built by the electronic equipment, a user can select a certain selection block in the form document to be newly built, and disorder of data of the newly built document is avoided.

Description

Method and device for creating new document
Technical Field
The present application relates to the field of computer technologies, and in particular, to a method and an apparatus for creating a new document.
Background
At present, when a user edits a table document by using an electronic device, there is a need to extract a certain part of the content of the table document. When a user wants to extract a part of contents in a table document and generate a new table document, the user can create a new table document at a PC (personal computer, chinese) end or a mobile end, copy the contents of a selected block into the new table document, and then store the copied table document, thereby realizing extraction of the selected block in the table document and generation of the new table document.
In the prior art, the table document has the condition that data, such as formulas and the like, are mutually referred among cells. Since the content in the tab area refers to the content outside the tab area, when the user copies the tab area content using the electronic device and pastes the copied tab area content to a newly created form document, data loss or confusion may occur.
Disclosure of Invention
The embodiment of the application aims to provide a method and a device for creating a new document, so that a user can save time and improve efficiency. The specific technical scheme is as follows:
in a first aspect, a method for creating a document is provided, where the method is applied to an electronic device, and the method includes:
displaying a first tabular document;
when a selection instruction input by a user is received, determining a selection block selected by the user in the first form document, and if the selection block is not a blank selection block, judging whether the cells in the selection block refer to the contents of the cells except the selection block;
if the cell in the selected block refers to the cell content outside the selected block, converting the cell content outside the selected block in the selected block cell into a text;
and creating a second form document, and copying the converted selection blocks to the second form document.
Optionally, the method further includes:
if the selected block is the blank selected block, a third table document is newly established;
copying all contents in the first table document to the third table document.
Optionally, the method further includes:
when a sharing block selection instruction input by a user is received, acquiring an identifier of a receiver;
after a second form document is newly created and the converted selection block is copied to the second form document, the second form document is saved;
and sending the second form document according to the identification of the receiver.
Optionally, the method further includes:
deleting the second form document.
In a second aspect, an apparatus for creating a document is provided, the apparatus being applied to an electronic device, and the apparatus including:
a display module for displaying a first tabular document;
the judging module is used for determining a selected block selected by a user in the first form document when a selection instruction input by the user is received, and judging whether the cells in the selected block refer to the contents of the cells except the selected block if the selected block is not a blank selected block;
the conversion module is used for converting the contents of the cells outside the selected block in the selected block cells into texts if the cells in the selected block refer to the contents of the cells outside the selected block;
and the first new building module is used for building a second table document and copying the converted selected blocks to the second table document.
Optionally, the apparatus further comprises:
the second new building module is used for building a third table document if the selected block is the blank selected block;
a copying module for copying all contents in the first form document to the third form document.
Optionally, the apparatus further comprises:
the acquisition module is used for acquiring the identifier of the receiver when receiving a sharing block selection instruction input by a user;
the storage module is used for storing a second table document after the second table document is newly created and the converted selection blocks are copied to the second table document;
and the sending module is used for sending the second form document according to the identification of the receiver.
Optionally, the apparatus further comprises:
and the deleting module is used for deleting the second form document.
In a third aspect, an electronic device is provided, which includes a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory complete communication with each other through the communication bus;
a memory for storing a computer program;
a processor for implementing the method steps of the first aspect when executing the program stored in the memory.
In a fourth aspect, a computer-readable storage medium is provided, having stored thereon a computer program which, when being executed by a processor, carries out the method steps of the first aspect.
In a fifth aspect, there is provided a computer program product comprising instructions which, when run on a computer, cause the computer to perform the method of the first aspect described above.
According to the method and the device for creating the document, the electronic equipment can display the first form document. When a selection instruction input by a user is received, the electronic equipment can determine a selected block selected by the user in the first form document, and if the selected block is not a blank selected block, whether the cells in the selected block refer to the contents of the cells outside the selected block is judged. And if the cells in the selected block refer to the cells outside the selected block, the electronic equipment converts the contents of the cells outside the selected block in the selected block cells into texts. The electronic device may create a second tabular document and copy the converted selection block to the second tabular document. Therefore, when the user uses the electronic equipment to newly create the form document, the user can select a certain selection block in the form document to be newly created, and the disorder of the data of the newly created document is avoided.
Of course, not all advantages described above need to be achieved at the same time in the practice of any one product or method of the present application.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
FIG. 1 is a flowchart of a method for creating a document according to an embodiment of the present application;
fig. 2 is a schematic diagram of a display interface provided in an embodiment of the present application;
FIG. 3 is a schematic diagram of another display interface provided by an embodiment of the present application;
FIG. 4 is a flowchart of a method for creating a document according to an embodiment of the present application;
FIG. 5 is a schematic structural diagram of an apparatus for creating a document according to an embodiment of the present application;
FIG. 6 is a schematic structural diagram of an apparatus for creating a document according to an embodiment of the present application;
FIG. 7 is a schematic structural diagram of an apparatus for creating a document according to an embodiment of the present application;
FIG. 8 is a schematic structural diagram of an apparatus for creating a document according to an embodiment of the present application;
fig. 9 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The embodiment of the application provides a method for creating a new document, which can be applied to electronic equipment, wherein the electronic equipment can be a PC terminal and a mobile terminal. An application program with a table function can be installed in the electronic device, and a user can use the electronic device to perform operations such as displaying, editing, storing and sending a table document.
The following describes in detail a method for creating a document according to an embodiment of the present application with reference to a specific embodiment, as shown in fig. 1, the specific steps are as follows:
step 101, displaying a first form document.
In an embodiment of the application, the electronic device may display a first tabular document, which may be a tabular document being edited by a user using the electronic device.
And 102, when a selection instruction input by a user is received, determining a selected block selected by the user in the first form document, and if the selected block is not a blank selected block, judging whether the cells in the selected block refer to the contents of the cells except the selected block.
In the embodiment of the application, when the user operates the form document by using the electronic device, a selection instruction can be input into the form document so as to select one or more cells in the form document. The selected area formed by all the selected cells is called a block. The electronic equipment can determine the cells selected by the user as the selection block according to the received selection instruction input by the user. The selection block can be a selection block containing contents such as numerical values, formulas, hyperlinks and the like, and can also be a blank selection block which is a selection block consisting of a plurality of blank cells not containing any contents. Whether the selected block is a blank selected block is judged.
If the selected block is not a blank selected block, the electronic equipment traverses the cells contained in the whole selected block and judges whether each cell refers to the content of the cells except the selected block.
An example of a case where a cell in the selection block refers to the content of a cell outside the selection block may be as follows: the first cell in the selected block contains a summation formula ═ SUM (a, B), "which represents that a value a and a value B are summed, where the value a is a constant and the value B is a value referring to other cells, for example, the value B may be the result of the formula in other cells or a value in other cells. The second cell outside the selected block contains the value B, and when the value B in the second cell changes, the result of the summation formula in the first cell changes. In the prior art, if the electronic device copies the selected block into a new form document, a reference cell (second cell) of the value B in the summation formula in the first cell changes to a third cell in the new form document at the same position as the second cell, which results in a change.
Optionally, after determining the selected block in the first table document, the method further includes the following steps:
step one, if the selected block is a blank selected block, a third table document is newly established.
In the embodiment of the application, after the electronic device determines the selected block, the electronic device may traverse the entire selected block, and if all cells in the selected block are blank cells, the selected block is a blank selected block. If the selected block is a blank selected block, the blank selected block is copied to a new document without practical value, so that the electronic equipment does not need to copy the selected block.
And secondly, copying all contents in the first form document to a third form document.
In this embodiment of the application, after the electronic device creates the third form document, the electronic device may copy all contents in the first form document to the third form document, so that the contents of the third form document are the same as the contents of the first form document. Subsequently, if the user inputs a sharing block selection instruction, in order to ensure that the receiving party cannot receive the blank form document, when the user selects the blank block selection, the electronic device sends a third form document with the content of the first form document.
And 103, if the cell in the selected block refers to the content of the cell outside the selected block, converting the content of the cell outside the referenced selected block in the cell of the selected block into a text.
In the embodiment of the application, if the cells in the selected block refer to the contents of the cells outside the selected block, in order to avoid the disorder of the contents of the cells in the selected block, the electronic device can convert the contents of the cells outside the selected block in the selected block cells into a text, and the text does not have any formula, hyperlink and other attributes and is only composed of characters, so that the contents of the cells in the selected block cannot be changed when the electronic device copies the selected block to a newly-built form document. If the cells in the selected block do not refer to the contents of the cells outside the selected block, the contents of the cells in the selected block are not disordered due to the reference relationship in the copying process, and the electronic equipment does not need to process the selected block.
And step 104, creating a second form document, and copying the converted selection blocks to the second form document.
In the embodiment of the application, the electronic device may create a second form document and copy the selection block to the second form document. Due to the fact that the cells in the selected block are processed, data in the cells in the selected block are not disordered when the cells are copied to the second table document. If the cells in the selection block do not reference the contents of the cells outside the selection block, the electronic device may directly copy the selection block to the second form document.
Optionally, the user may also share the selected selection block, and accordingly, the processing process of the electronic device may include the following steps:
step one, when a sharing block selection instruction input by a user is received, acquiring an identifier of a receiver.
In the embodiment of the application, when the user inputs the sharing and block selecting instruction by using the electronic equipment, the user can select the icons of one or more account of the receivers, and the electronic equipment can acquire the identification of each receiver. After the electronic equipment acquires the identifier of the receiver, the electronic equipment executes operations of creating a form document, sending and the like, and the identifier of the receiver cannot be changed in the process.
And step two, after a second form document is newly created and the converted selection block is copied to the second form document, the second form document is saved.
In the embodiment of the application, the electronic device creates the second form document, copies the selection block to the second form document, and then stores the second form document. Wherein, the second table document comprises all contents of the selected block.
And step three, sending the second form document according to the identification of the receiver.
In the embodiment of the application, after the electronic device stores the second form document, the electronic device may send the second form document to the receiving party, and the specific sending manner may be various. In one implementation, the electronic device may send the second form document to the recipient via a wireless path, such as the internet, bluetooth, etc. For the mode of sending through the internet, the electronic device can send the identifier selected by the user and the second form document to the server, after the server obtains the identifier and the second form document, the server can push the second form document to the receiver according to the identifier of the receiver, and the receiver can obtain the second form document pushed by the server. In another implementation, the information may also be sent to the receiving party through an interface path such as a data line or a hard disk.
Fig. 2 is a schematic view of an interface for a user to select a block from electronic devices according to an embodiment of the present disclosure. The interface includes a section, an edit button, a copy button, a paste button, a cut button, and a share button. The dark gray area is a selected area selected by a user, the area comprises a plurality of cells, the user can carry out conventional operation on the selected area through an editing button, a copying button, a pasting button and a cutting button in the interface, and the electronic equipment can be switched to a sharing interface through a sharing button.
As shown in fig. 3, which is a schematic view of an interface for a user to send a selected block by using an electronic device according to an embodiment of the present disclosure, when the user inputs and clicks a share button in the interface shown in fig. 2 in the electronic device, the electronic device switches the interface shown in fig. 2 to the interface shown in fig. 3. The interface comprises a block selecting block, a link sharing bar, a file sending button and a long picture output button. The user can send the form document to a receiver appointed by the user by selecting an icon in a link sharing column in the interface; the user can enable the electronic equipment to generate a long picture from the content of the selected block through the long picture output button, and the long picture is sent to a receiver appointed by the user; the user can also perform the operation of sending the file by using the file sending button to the selected area block, and when the electronic equipment performs the operation of sending the file, the form document can be newly created, and the content of the selected area block can be copied to the newly created form document and sent.
Optionally, in order to save the storage space of the electronic device, the electronic device may delete the second form document after transmitting the second form document.
In the embodiment of the application, after the electronic device sends the second form document to the receiving party, the second form document can be deleted, and the purpose of deleting the second form document is to save the storage space of the electronic device. The deleted form document is not limited to the second form document, but also includes all form documents newly created by the electronic device in the embodiment of the present application.
As shown in fig. 4, an example of a method for creating a new document provided in the embodiment of the present application specifically includes the following steps:
step 401, when a selection instruction input by a user is received, determining a selection block selected by the user.
Step 402, when a sharing block selection instruction input by a user is received, acquiring a first form document and a receiver identifier.
Step 403, determine whether the selected block is a blank selected block.
If the selected block is a blank selected block, step 404 is performed, and if the selected block is not a blank selected block, step 406 is performed.
And step 404, creating a third table document.
Step 405, copy all contents in the first form document to a third form document.
Step 406, determining whether the cells in the selected block refer to the contents of the cells outside the selected block.
If the cell in the selected block refers to the cell content outside the selected block, step 407 is performed, and if the cell in the selected block does not refer to the cell content outside the selected block, step 408 is performed.
Step 407, converting the content of the cells outside the reference selected block in the selected block cells into texts.
Step 408, creating a second form document, and copying and storing the selected area block into the second form document.
Step 409, the second form document or the third form document is sent to the receiving party.
In the method example shown in fig. 4, step 402 is not in sequence with steps 403 to 408.
According to the method and the device for creating the document, the electronic equipment can display the first form document. When a selection instruction input by a user is received, the electronic equipment can determine a selected block selected by the user in the first form document, and if the selected block is not a blank selected block, whether the cells in the selected block refer to the contents of the cells outside the selected block is judged. And if the cells in the selected block refer to the cells outside the selected block, the electronic equipment converts the contents of the cells outside the selected block in the selected block cells into texts. The electronic device may create a second tabular document and copy the converted selection block to the second tabular document. Therefore, when the user uses the electronic equipment to newly create the form document, the user can select a certain selection block in the form document to be newly created, and the disorder of the data of the newly created document is avoided.
Based on the same technical concept, the embodiment of the present application further provides an apparatus for creating a new document, as shown in fig. 5, the apparatus includes:
a display module 501 for displaying a first form document;
a determining module 502, configured to determine, when a selection instruction input by a user is received, a selected block selected by the user in the first form document, and if the selected block is not a blank selected block, determine whether a cell in the selected block refers to contents of cells other than the selected block;
a conversion module 503, configured to, if a cell in the selected block refers to the content of a cell outside the selected block, convert the content of the cell outside the selected block in the selected block cell into a text;
and the first new modeling block 504 is used for creating a second table document and copying the converted selected block to the second table document.
Optionally, as shown in fig. 6, the apparatus further includes:
a second creating module 505, configured to create a third table document if the selected block is the blank selected block;
a copying module 506, configured to copy all contents in the first table document to the third table document.
Optionally, as shown in fig. 7, the apparatus further includes:
an obtaining module 507, configured to obtain an identifier of a receiving party when a sharing block selection instruction input by a user is received;
a saving module 508, configured to save a second form document after the second form document is newly created and the converted selected block is copied to the second form document;
a sending module 509, configured to send the second form document according to the identifier of the receiving party.
Optionally, as shown in fig. 8, the apparatus further includes:
a deletion module 510 for deleting the second form document.
According to the method and the device for creating the document, the electronic equipment can display the first form document. When a selection instruction input by a user is received, the electronic equipment can determine a selected block selected by the user in the first form document, and if the selected block is not a blank selected block, whether the cells in the selected block refer to the contents of the cells outside the selected block is judged. And if the cells in the selected block refer to the cells outside the selected block, the electronic equipment converts the contents of the cells outside the selected block in the selected block cells into texts. The electronic device may create a second tabular document and copy the converted selection block to the second tabular document. Therefore, when the user uses the electronic equipment to newly create the form document, the user can select a certain selection block in the form document to be newly created, and the disorder of the data of the newly created document is avoided.
The embodiment of the present application further provides an electronic device, as shown in fig. 9, which includes a processor 901, a communication interface 902, a memory 903, and a communication bus 904, where the processor 901, the communication interface 902, and the memory 903 complete mutual communication through the communication bus 904,
a memory 903 for storing computer programs;
the processor 901 is configured to implement the following steps when executing the program stored in the memory 903:
displaying a first tabular document;
when a selection instruction input by a user is received, determining a selection block selected by the user in the first form document, and if the selection block is not a blank selection block, judging whether the cells in the selection block refer to the contents of the cells except the selection block;
if the cell in the selected block refers to the cell content outside the selected block, converting the cell content outside the selected block in the selected block cell into a text;
and creating a second form document, and copying the converted selection blocks to the second form document.
Optionally, the method further includes:
if the selected block is the blank selected block, a third table document is newly established;
copying all contents in the first table document to the third table document.
Optionally, the method further includes:
when a sharing block selection instruction input by a user is received, acquiring an identifier of a receiver;
after a second form document is newly created and the converted selection block is copied to the second form document, the second form document is saved;
and sending the second form document according to the identification of the receiver.
Optionally, the method further includes:
deleting the second form document.
The communication bus mentioned in the network device may be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus. The communication bus may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one thick line is shown, but this does not mean that there is only one bus or one type of bus.
The communication interface is used for communication between the network device and other devices.
The Memory may include a Random Access Memory (RAM) or a Non-Volatile Memory (NVM), such as at least one disk Memory. Optionally, the memory may also be at least one memory device located remotely from the processor.
The Processor may be a general-purpose Processor, including a Central Processing Unit (CPU), a Network Processor (NP), and the like; the Integrated Circuit may also be a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA), or other Programmable logic devices, discrete Gate or transistor logic devices, or discrete hardware components.
Based on the same technical concept, the embodiment of the present application further provides a computer-readable storage medium, in which a computer program is stored, and the computer program, when executed by a processor, implements the method steps of creating the new document.
Based on the same technical concept, the embodiment of the present application also provides a computer program product containing instructions, which when run on a computer, causes the computer to perform the above method steps of creating a document.
In the above embodiments, the implementation may be wholly or partially realized by software, hardware, firmware, or any combination thereof. When implemented in software, may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When loaded and executed on a computer, cause the processes or functions described in accordance with the embodiments of the application to occur, in whole or in part. The computer may be a general purpose computer, a special purpose computer, a network of computers, or other programmable device. The computer instructions may be stored in a computer readable storage medium or transmitted from one computer readable storage medium to another, for example, from one website site, computer, server, or data center to another website site, computer, server, or data center via wired (e.g., coaxial cable, fiber optic, Digital Subscriber Line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.). The computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device, such as a server, a data center, etc., that incorporates one or more of the available media. The usable medium may be a magnetic medium (e.g., floppy Disk, hard Disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., Solid State Disk (SSD)), among others.
It is noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
All the embodiments in the present specification are described in a related manner, and the same and similar parts among the embodiments may be referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, as for the apparatus embodiment, since it is substantially similar to the method embodiment, the description is relatively simple, and for the relevant points, reference may be made to the partial description of the method embodiment.
The above description is only for the preferred embodiment of the present application, and is not intended to limit the scope of the present application. Any modification, equivalent replacement, improvement and the like made within the spirit and principle of the present application are included in the protection scope of the present application.

Claims (10)

1. A method for creating a document, the method comprising:
displaying a first tabular document;
when a selection instruction input by a user is received, determining a selection block selected by the user in the first form document, and if the selection block is not a blank selection block, judging whether the cells in the selection block refer to the contents of the cells except the selection block;
if the cell in the selected block refers to the cell content outside the selected block, converting the cell content outside the selected block in the selected block cell into a text;
and creating a second form document, and copying the converted selection blocks to the second form document.
2. The method of claim 1, wherein after determining the selected block in the first tabular document, further comprising:
if the selected block is the blank selected block, a third table document is newly established;
copying all contents in the first table document to the third table document.
3. The method of claim 1, further comprising:
when a sharing block selection instruction input by a user is received, acquiring an identifier of a receiver;
after a second form document is newly created and the converted selection block is copied to the second form document, the second form document is saved;
and sending the second form document according to the identification of the receiver.
4. The method of claim 3, further comprising:
deleting the second form document.
5. An apparatus for creating a document, the apparatus comprising:
a display module for displaying a first tabular document;
the judging module is used for determining a selected block selected by a user in the first form document when a selection instruction input by the user is received, and judging whether the cells in the selected block refer to the contents of the cells except the selected block if the selected block is not a blank selected block;
the conversion module is used for converting the contents of the cells outside the selected block in the selected block cells into texts if the cells in the selected block refer to the contents of the cells outside the selected block;
and the first new building module is used for building a second table document and copying the converted selected blocks to the second table document.
6. The apparatus of claim 5, further comprising:
the second new building module is used for building a third table document if the selected block is the blank selected block;
a copying module for copying all contents in the first form document to the third form document.
7. The apparatus of claim 5, further comprising:
the acquisition module is used for acquiring the identifier of the receiver when receiving a sharing block selection instruction input by a user;
the storage module is used for storing a second table document after the second table document is newly created and the converted selection blocks are copied to the second table document;
and the sending module is used for sending the second form document according to the identification of the receiver.
8. The apparatus of claim 5, further comprising:
and the deleting module is used for deleting the second form document.
9. An electronic device is characterized by comprising a processor, a communication interface, a memory and a communication bus, wherein the processor and the communication interface are used for realizing mutual communication by the memory through the communication bus;
a memory for storing a computer program;
a processor for implementing the method steps of any of claims 1 to 4 when executing a program stored in the memory.
10. A computer-readable storage medium, characterized in that a computer program is stored in the computer-readable storage medium, which computer program, when being executed by a processor, carries out the method steps of any one of claims 1 to 4.
CN201910406900.9A 2019-05-16 2019-05-16 Method and device for creating document Active CN111949184B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910406900.9A CN111949184B (en) 2019-05-16 2019-05-16 Method and device for creating document

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910406900.9A CN111949184B (en) 2019-05-16 2019-05-16 Method and device for creating document

Publications (2)

Publication Number Publication Date
CN111949184A true CN111949184A (en) 2020-11-17
CN111949184B CN111949184B (en) 2023-10-31

Family

ID=73335833

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910406900.9A Active CN111949184B (en) 2019-05-16 2019-05-16 Method and device for creating document

Country Status (1)

Country Link
CN (1) CN111949184B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114995689A (en) * 2021-03-01 2022-09-02 北京字跳网络技术有限公司 Electronic document processing method, device, terminal and storage medium

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003337876A (en) * 2002-05-21 2003-11-28 Ffc:Kk Device and program for processing document
CN103853806A (en) * 2013-09-26 2014-06-11 深圳海联讯科技股份有限公司 Method and device for converting table
CN105159570A (en) * 2014-06-13 2015-12-16 珠海金山办公软件有限公司 Determining method and determining device for slidable display area of spreadsheet document
CN107943956A (en) * 2017-11-24 2018-04-20 北京金堤科技有限公司 Conversion of page method, apparatus and conversion of page equipment
CN108352003A (en) * 2015-11-15 2018-07-31 微软技术许可有限责任公司 It is presented by the single choice or multiselect data of Cooperative Database service
CN108710476A (en) * 2018-05-31 2018-10-26 茂名市粤能电力股份有限公司 The data processing method and system of electrical form
CN108763185A (en) * 2018-05-31 2018-11-06 苏州市计量测试院 The method of calibration and system of Excel file
CN109508352A (en) * 2018-11-16 2019-03-22 苏州好玩友网络科技有限公司 A kind of output method of report data, device, equipment and storage medium
CN109522816A (en) * 2018-10-26 2019-03-26 北京慧流科技有限公司 Table recognition method and device, computer storage medium

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003337876A (en) * 2002-05-21 2003-11-28 Ffc:Kk Device and program for processing document
CN103853806A (en) * 2013-09-26 2014-06-11 深圳海联讯科技股份有限公司 Method and device for converting table
CN105159570A (en) * 2014-06-13 2015-12-16 珠海金山办公软件有限公司 Determining method and determining device for slidable display area of spreadsheet document
CN108352003A (en) * 2015-11-15 2018-07-31 微软技术许可有限责任公司 It is presented by the single choice or multiselect data of Cooperative Database service
CN107943956A (en) * 2017-11-24 2018-04-20 北京金堤科技有限公司 Conversion of page method, apparatus and conversion of page equipment
CN108710476A (en) * 2018-05-31 2018-10-26 茂名市粤能电力股份有限公司 The data processing method and system of electrical form
CN108763185A (en) * 2018-05-31 2018-11-06 苏州市计量测试院 The method of calibration and system of Excel file
CN109522816A (en) * 2018-10-26 2019-03-26 北京慧流科技有限公司 Table recognition method and device, computer storage medium
CN109508352A (en) * 2018-11-16 2019-03-22 苏州好玩友网络科技有限公司 A kind of output method of report data, device, equipment and storage medium

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114995689A (en) * 2021-03-01 2022-09-02 北京字跳网络技术有限公司 Electronic document processing method, device, terminal and storage medium
WO2022184065A1 (en) * 2021-03-01 2022-09-09 北京字跳网络技术有限公司 Electronic document processing method and apparatus, terminal, and storage medium
US20230409809A1 (en) * 2021-03-01 2023-12-21 Beijing Zitiao Network Technology Co., Ltd. Electronic document processing method and apparatus, terminal, and storage medium
EP4283497A4 (en) * 2021-03-01 2024-07-03 Beijing Zitiao Network Technology Co Ltd Electronic document processing method and apparatus, terminal, and storage medium

Also Published As

Publication number Publication date
CN111949184B (en) 2023-10-31

Similar Documents

Publication Publication Date Title
US10467315B2 (en) Codeless sharing of spreadsheet objects
US11416676B2 (en) Using text messages to interact with spreadsheets
CN106682219B (en) Associated document acquisition method and device
CA3061623C (en) File sending in instant messaging applications
US20220342518A1 (en) Card-based information management method and system
CN111444750B (en) PDF document identification method and device and electronic equipment
CN111414727B (en) Editing method and device for PDF document header footer and electronic equipment
JP2020522043A5 (en)
CN111949184B (en) Method and device for creating document
CN113486635A (en) Document editing method and device, electronic equipment and computer readable medium
CN111553130A (en) Chapter title style conversion method and device, electronic equipment and storage medium
CN112783382B (en) Method, device, terminal and storage medium for setting document icons
JP2024508499A (en) Document processing methods, devices, equipment and media
CN112417832B (en) Method and device for converting format of electronic form document and electronic equipment
CN111897661B (en) Cell content copying method and device in electronic table and electronic equipment
CN108647197B (en) Information processing method, device and storage medium
CN112417817A (en) PDF document format conversion method and device and electronic equipment
CN112783400B (en) Document content selection method and device, electronic equipment and storage medium
CN112612400B (en) Text content processing method and electronic equipment
CN110881002B (en) Electronic red packet monitoring method and device and terminal equipment
CN111752424B (en) Chart saving method and device, electronic equipment and storage medium
JP2010108173A (en) Document processor
CN112417816A (en) Format conversion method and device of Word document and electronic equipment
CN112328815A (en) Slide storage method and device
CN112394857A (en) Method and device for converting format of slide PPT document and electronic equipment

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
GR01 Patent grant
GR01 Patent grant