Image-text content editing method and device, electronic equipment and storage medium

By providing the editing function of graphic and text content in the printing application software, users can directly edit graphic and text content in the printing application software, solving the problem of users needing to use other editing application software, and improving the printing experience and operation simplicity.

CN118982602APending Publication Date: 2024-11-19ZHUHAI PANTUM ELECTRONICS CO LTD
View PDF 7 Cites 0 Cited by

Patent Information

Application Number
CN202410987849.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-22
Publication Date
2024-11-19

AI Technical Summary

Technical Problem

Before printing materials with a printer, users need to confirm and edit electronic materials on the control terminal first. Especially in educational scenarios, teachers or parents need to use other editing application software to edit, resulting in cumbersome and complex operations.

Method used

Provide a method of editing graphic and text content. By displaying the document editing interface through the printing application software, including the document editing area, the document editing instruction area and the document preview area, the user can directly edit the printed graphic and text content in the printing application software, and support Functions such as document editing templates, picture insertion, shooting and text recognition reduce user operations.

Benefits of technology

Users can directly edit graphic content in the printing application software, reduce operation steps, improve printing experience, reduce memory usage, increase background operation speed, simplify operation processes, and be suitable for devices with high memory performance.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118982602A_ABST
    Figure CN118982602A_ABST
Patent Text Reader

Abstract

The embodiment of the invention provides an image-text content editing method and device, electronic equipment and a storage medium, and the method comprises the steps: responding to an operation instruction of a user, and displaying a document editing interface which comprises a document editing area, a document editing instruction area and a document preview area; wherein the document editing area is used for displaying image-text content; the document editing instruction area comprises at least one document editing instruction, and the document preview area is used for displaying at least one preview page of image-text content in the document editing area; in response to a document editing instruction triggered by the user, executing a document editing operation corresponding to the document editing instruction on the image-text content in the document editing area; and storing the image-text content in the document editing area in response to the editing of the image-text content in the document editing area completed by the user. According to the embodiment of the invention, the user can directly use the printing application software to modify the to-be-printed image-text content, so that the user operation is reduced, and the user printing experience is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of image and text processing technology, and specifically to a method, device, electronic device and storage medium for editing image and text content. Background Art

[0002] With the rapid development of science and technology, printers are now needed in more and more scenarios, such as office and education. Before using a printer to print data, the user needs to confirm and edit the print data on the control terminal (such as a mobile phone or computer). Especially in educational scenarios, teachers in schools or educational institutions assign learning tasks to students, and usually send relevant electronic materials to students or parents through the control terminal. Students or parents send the electronic materials to the printer through the control terminal for printing, such as sending the electronic materials to the printer through the printing application software or print driver installed on the control terminal. However, if students or parents expect to further edit the electronic materials before printing, they need to use other editing application software on the control terminal to edit them first, and then send them to the printing application software or print driver, and then send them to the printer to complete the printing. In this way, users need to perform cumbersome and complicated operations. Summary of the invention

[0003] In view of this, the present application provides a method, device, electronic device and storage medium for editing graphic content, so that users can directly use printing application software to edit graphic content to be printed, reducing user operations and improving user printing experience.

[0004] In a first aspect, an embodiment of the present application provides a method for editing graphic content, which is applied to printing application software, and the method includes:

[0005] In response to the user's operation instruction, a document editing interface is displayed, wherein the document editing interface includes a document editing area, a document editing instruction area, and a document preview area; wherein the document editing area is used to display graphic content; the document editing instruction area includes at least one document editing instruction, and the document preview area is used to display at least one preview page of the graphic content in the document editing area;

[0006] In response to a user triggering the document editing instruction, performing a document editing operation corresponding to the document editing instruction on the graphic content in the document editing area;

[0007] In response to the user completing the editing of the graphic content in the document editing area, the graphic content in the document editing area is saved.

[0008] The embodiment of the present application can edit the graphic content to be printed through the printing application software, so that the user does not need to use other editing application software to edit before printing, and then send it to the printing application software or print driver to perform the printing operation, thereby reducing the user's preparation operations before printing. And because the embodiment of the present application does not require the user to install other editing application software, nor does it need to call other editing application software to edit the graphic content to be printed, the memory usage of the application software can be reduced. For devices with high memory performance requirements, the speed of background operation can be improved, and at the same time, the user only needs to use one application software to complete the desired editing operation, which can reduce the user's unnecessary cumbersome operations and improve the user's printing experience; at the same time, the embodiment of the present application also supports real-time preview of the graphic content in the document editing area through the document preview area while editing the document, so that the user can know whether the graphic content meets expectations in a timely manner, so that the unsatisfactory parts can be changed in time.

[0009] In a possible implementation, the document editing instruction area includes at least one document editing template, and the document editing template is used to perform corresponding format adjustments on all or part of the graphic content in the document editing area.

[0010] The embodiment of the present application supports the use of document editing templates, such as Tianzi grid, small square grid, notebook, A3, A4 layout and other special layouts, to modify the format of all or part of the graphic content in the document editing area, so as to facilitate users to quickly adjust the graphic format and reduce user setting operations. For users who do not fully understand how to set parameters to meet the desired layout design, the optional layout design can realize the layout design operation with one click, which can reduce user confusion, reduce the steps of user parameter setting, simplify the operation process, better meet user needs, and improve user experience.

[0011] In a possible implementation, the document editing instruction area includes a picture inserting instruction; in response to the user triggering the document editing instruction, performing a document editing operation corresponding to the document editing instruction on the graphic content in the document editing area includes:

[0012] In response to the user triggering the picture inserting instruction, displaying a way to add the picture;

[0013] Based on the adding path of the picture selected by the user, obtaining the target picture;

[0014] Insert the target image into the document editing area according to a preset format.

[0015] The embodiment of the present application supports inserting pictures in the document editing area, so that users can further optimize and adjust the graphic content to be printed.

[0016] In a possible implementation, the way of adding the picture includes a shooting method, and acquiring the target picture based on the way of adding the picture selected by the user includes:

[0017] In response to the user selecting to use the shooting mode to obtain the target image, displaying the camera shooting interface;

[0018] In response to a user triggering a shooting instruction based on the camera shooting interface, acquiring a target image;

[0019] Among them, the camera shooting interface includes a single-page shooting mode and a multi-page shooting mode. The single-page shooting mode is used for single-page shooting to obtain a single target picture, and the multi-page shooting mode is used for continuous multi-page shooting to obtain multiple target pictures.

[0020] The embodiment of the present application can select single-page or continuous multi-page shooting according to needs. Especially when the user needs to shoot multiple pages, it is possible to shoot multiple pages continuously at one time, which is convenient for quickly acquiring the target image.

[0021] In a possible implementation, in response to a user triggering a shooting instruction based on the camera shooting interface, acquiring the target image includes:

[0022] In response to a user triggering a shooting instruction based on the camera shooting interface, a thumbnail of the captured target image and a deletion indicator of the thumbnail are displayed on the camera shooting interface.

[0023] In a possible implementation, the camera shooting interface also includes an image-text extraction mode, and the image-text extraction mode is used to perform text recognition on the target image and insert the recognized text content of the target image into the document editing area.

[0024] The embodiment of the present application can perform text recognition on the target image without the need for the user to manually input the text content, while saving the user's time in manually inputting text by comparing with the image.

[0025] In a possible implementation, the camera shooting interface also includes a picture-to-word mode, which is used to convert the picture content of the current shooting interface into a word document that is the same as the picture content of the current shooting interface, and insert the word document into the document editing area.

[0026] In one possible implementation, the camera shooting interface also includes an image-to-Excel mode, which is used to convert the table content of the picture of the current shooting interface into an Excel document with the same table content as the picture of the current shooting interface, and insert the Excel document into the document editing area.

[0027] The embodiment of the present application can copy and paste the content and layout style of the target image into the document editing area as is through the image-to-word mode and the image-to-excel mode, thereby reducing the error rate of manual input and typesetting, and also improving the user's work efficiency and user experience.

[0028] In a possible implementation, in response to the user triggering a shooting instruction based on the camera shooting interface, after acquiring the target image, the method further includes:

[0029] Displaying a picture editing page of the target picture, the picture editing page comprising a picture editing area and a picture editing instruction area; wherein the picture editing area comprises an edge line corresponding to an edge of the target picture, the edge line being used to adjust the size of the target picture;

[0030] In response to a user triggering an instruction in the picture editing instruction area, performing a picture editing operation corresponding to the instruction on a target picture in the picture editing area, wherein the instruction includes at least one of a continue adding instruction, a frame selecting full picture instruction, an edge recognition instruction, and a rotation instruction; the picture editing instruction area also includes a deletion indicator and a recognition instruction of the target picture, wherein the deletion indicator is used to delete the target picture corresponding thereto;

[0031] In response to the user triggering the recognition instruction, the target image is recognized, the target image content is acquired, and the target image content is inserted into the document editing area.

[0032] The embodiment of the present application can further edit the target image to be inserted into the document editing area to ensure that the inserted target image meets the user's expectations.

[0033] In a possible implementation, the method further includes:

[0034] When it is detected that the user touches any graphic content in the document editing area for more than a preset time, at least one graphic editing instruction is displayed, and the graphic editing instruction includes at least one of selection, select all, paste, copy and / or delete.

[0035] In a possible implementation, the document editing instruction area also includes a printing instruction;

[0036] In response to the user triggering the print instruction, a print setting preview interface is displayed, the print setting preview interface includes a print setting area and a print preview area, the print preview area is used to display the print preview effect of the graphic content in the document editing area corresponding to the settings set by the user in the print setting area;

[0037] In response to the user completing setting the print settings, the graphic content in the document editing area is sent to the image forming device so that the image forming device performs a printing operation.

[0038] In a second aspect, an embodiment of the present application provides a graphic content editing device, comprising:

[0039] A display unit, configured to display a document editing interface based on a user's operation instruction, wherein the document editing interface includes a document editing area, a document editing instruction area, and a document preview area;

[0040] A document editing unit, configured to execute a document editing operation corresponding to the instruction on the graphic content in the document editing area when a user triggers an instruction in the document editing instruction area;

[0041] A preview display unit, used to display at least one preview page of the graphic content in the document editing area;

[0042] A saving unit is used to save the graphic content in the document editing area when the user completes editing the graphic content in the document editing area.

[0043] In a third aspect, an embodiment of the present application provides an electronic device, including:

[0044] processor;

[0045] Memory;

[0046] A computer program is stored in the memory, and when the computer program is executed, the electronic device executes any one of the methods described in the first aspect.

[0047] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, wherein the computer-readable storage medium includes a stored program, wherein when the program is running, the device where the computer-readable storage medium is located is controlled to execute any method described in the first aspect. BRIEF DESCRIPTION OF THE DRAWINGS

[0048] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.

[0049] Figure 1 A schematic diagram of a flow chart of a method for editing graphic content provided in an embodiment of the present application;

[0050] Figure 2A schematic diagram of the home page interface of a printing application software provided in an embodiment of the present application;

[0051] Figure 3A A schematic diagram of a document editing interface provided in an embodiment of the present application;

[0052] Figure 3B A schematic diagram of another document editing interface provided in an embodiment of the present application;

[0053] Figure 4 A schematic diagram of another document editing interface provided in an embodiment of the present application;

[0054] Figure 5 A schematic diagram of an interface for adding pictures provided in an embodiment of the present application;

[0055] Fig. 6A A schematic diagram of another document editing interface provided in an embodiment of the present application;

[0056] Figure 6B A schematic diagram of a camera shooting interface provided in an embodiment of the present application;

[0057] Figure 7 A schematic diagram of an arrangement of pictures in a document editing area provided in an embodiment of the present application;

[0058] Figure 8 A schematic diagram of inserting graphic content into word for converting a graphic into text provided in an embodiment of the present application;

[0059] Fig. 9 A schematic diagram of inserting graphic content into Excel provided in an embodiment of the present application;

[0060] Fig.10 A schematic diagram of a process of entering a picture editing interface provided in an embodiment of the present application;

[0061] Fig.11 A schematic diagram of a preview thumbnail and a magnified preview thumbnail provided in an embodiment of the present application;

[0062] Fig.12 A schematic diagram of the structure of a graphic content editing device provided in an embodiment of the present application;

[0063] Fig.13 A schematic diagram of an electronic structure provided in an embodiment of the present application. DETAILED DESCRIPTION

[0064] In order to better understand the technical solution of the present application, the embodiments of the present application are described in detail below with reference to the accompanying drawings.

[0065] It should be clear that the described embodiments are only part of the embodiments of the present application, rather than all the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in the field without creative work are within the scope of protection of the present application.

[0066] The terms used in the embodiments of the present application are only for the purpose of describing specific embodiments, and are not intended to limit the present application. The singular forms "a", "said" and "the" used in the embodiments of the present application and the appended claims are also intended to include plural forms, unless the context clearly indicates other meanings.

[0067] It should be understood that the term "and / or" used in this article is only a description of the association relationship of associated objects, indicating that there can be three relationships. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. In addition, the character " / " in this article generally indicates that the associated objects before and after are in an "or" relationship.

[0068] With the rapid development of science and technology, printers are now needed in more and more scenarios, such as office and education. Before using a printer to print data, the user needs to confirm and edit the print data on the control terminal (such as a mobile phone or computer). Especially in educational scenarios, teachers in schools or educational institutions assign learning tasks to students, and usually send relevant electronic materials to students or parents through the control terminal. Students or parents send the electronic materials to the printer through the control terminal for printing, such as sending the electronic materials to the printer through the printing application software or print driver installed on the control terminal. However, if students or parents expect to further edit the electronic materials before printing, they need to use other editing application software on the control terminal to edit them first, and then send them to the printing application software or print driver, and then send them to the printer to complete the printing. In this way, users need to perform cumbersome and complicated operations.

[0069] In response to the above problems, the embodiments of the present application provide a method, device, electronic device and storage medium for editing graphic content, so that users can directly use printing application software to modify the graphic content to be printed, reducing user operations and improving the user printing experience.

[0070] A detailed description is given below with reference to the accompanying drawings.

[0071] See also Figure 1 , is a flow chart of a method for editing graphic content provided by an embodiment of the present application. The method can be applied to the printing application software in the control terminal, such as Figure 1 As shown, the specific steps include the following steps.

[0072] S101: In response to a user's operation instruction, a document editing interface is displayed, wherein the document editing interface includes a document editing area, a document editing instruction area, and a document preview area; wherein the document editing area is used to display graphic content; the document editing instruction area includes at least one document editing instruction, and the document preview area is used to display at least one preview page of the graphic content in the document editing area.

[0073] In one possible implementation, displaying a document editing interface in response to a user's operation instruction includes displaying a document editing interface for a target document in response to a user's operation instruction to select a target document; or displaying a document editing interface for a newly created document in response to a user's operation instruction to select a newly created document.

[0074] See also Figure 2 , a schematic diagram of the homepage interface of a printing application software (printing APP) provided in an embodiment of the present application. In the figure, the printing APP includes at least one function for editing documents, such as document printing, picture printing, scanning and shooting, image and word extraction, adding a new document, image conversion to word or image conversion to excel, etc. The user can edit the document based on at least one of the functions, so that when the user wants to edit the document to be printed, it can be done directly in the printing APP without using other application software. Specifically, the user starts the printing APP on the control terminal, and can select any one of the functions of document printing, picture printing, scanning and shooting, image and word extraction, adding a new document, image conversion to word or image conversion to excel according to the printing requirements on the homepage of the printing APP. When the user chooses to trigger one of the functions, the printing APP will first determine whether the current user has logged in to the account. If the current user has logged in to the account, it will jump to the corresponding function module display interface. If the current user has not logged in to the account, it will display the information prompting the user to log in to the account and provide a login entrance. When the user determines that the login needs to be completed, the login entrance is triggered, and the corresponding login interface is jumped to complete the login, and after the login is successful, it will return to jump to the corresponding function module display interface. In this way, only logged-in users can use the corresponding functions, which can ensure the safety of users. For example, taking the new document function as an example, the following description is continued. The user opens the printing APP and selects the new document function to edit the text and image of the document. It is determined whether the user has logged in to the APP account. If the user has logged in to the APP account, the interface of the new document is displayed. If the user has not logged in to the APP account, the user is prompted that the account has not been logged in and the login account entry is provided. When the user confirms the login account and triggers the login account entry, the corresponding account login interface is jumped to enable the user to complete the account login based on the interface, and after the user successfully logs in to the account, the display interface of the new document is automatically jumped to.

[0075] It should be noted that the above-mentioned control terminal includes but is not limited to electronic devices that can communicate with the printer, such as computers, mobile phones, tablet computers, internal servers of enterprises, cloud servers, etc. In some possible implementations, the control terminal may also be called a host computer, a host, etc.

[0076] In a possible implementation, when a user logs in to an APP account, after the user selects any one of the functions of document printing or adding a new document, the corresponding function display interface entered includes at least one document and / or new document setting item. When the user selects one or more documents from at least one document as the target document, the document editing interface of the target document is displayed, and the document editing interface includes a document editing area, a document editing instruction area, and a document preview area, wherein the document editing area displays the content of the selected one or more target documents, the document editing instruction area includes at least one document editing instruction, and the document preview area is used to display at least one page preview page of the graphic content of the one or more target documents in the document editing area; or when the user triggers the new document setting item, the document editing interface is displayed, and the document editing interface includes a document editing area, a document editing instruction area, and a document preview area, wherein the document editing instruction area includes at least one document editing instruction, the document editing area is used to display the newly created document content after the user performs the document creation operation according to the document editing instruction, and the document preview area is used to display at least one page preview page of the newly created graphic content in the document editing area. Exemplarily, when the user selects the new document function, the function display interface of the new document is entered, and the display interface includes at least one document of the currently logged-in account, such as document A, document B, Excel A, PPTA, picture A, and a new document setting item, or the display interface only includes the new document setting item and does not include any document. When the user selects one or more documents from at least one document as the target document, the document editing interface of the target document (document A) is displayed. In one implementation, when the user selects a document from at least one document, such as selecting document A as the target document to be edited, the document editing interface of document A is displayed; in another implementation, when the user selects multiple documents from at least one document as the target document, for example, selecting document A, Excel A, and picture A as the target documents to be edited, the document editing interface including document A, Excel A, and picture A is displayed. Among them, the document editing interface includes a document editing area, a document editing instruction area and a document preview area. The document editing area displays the content of one or more selected target documents, the document editing instruction area includes at least one document editing instruction, and the document preview area is used to display at least one preview page of the graphic content of one or more target documents in the document editing area.Alternatively, when the user triggers a new document setting item, a document editing interface for the new document is displayed, the document editing interface including a document editing area, a document editing instruction area, and a document preview area, wherein the document editing instruction area includes at least one document editing instruction, the document editing area is used to display the new document content created by the user after performing a document creation operation according to the document editing instruction, and the document preview area is used to display at least one preview page of the new graphic content in the document editing area. The user can trigger at least one instruction in the document editing instruction area to create new document content, display the new document content in the document editing area, and display a preview of the new document content in the document preview area.

[0077] In one implementation, in response to the user selecting the operation instruction of creating a new document, before displaying the document editing interface of the new document, the document import interface of the new document is also displayed, and the document import interface includes importing documents from at least one way, wherein at least one way includes at least one of importing from other application software and importing from the control terminal memory. Importing from other application software, for example, importing from WeChat, importing from QQ, importing from DingTalk, etc. When the user determines the target document from at least one way, the target document is imported into the printing APP, and the document editing interface of the target document is displayed. It should be noted that the new document setting item can be used for the user to import documents from other application software or the control terminal memory as a new document as described above, and can also be used to create a new document in a non-importing manner. In one implementation, when the user selects the new document function, the user can paste the content copied from other application software directly into the document editing area, and after triggering at least one instruction in the document editing instruction area, the document content pasted in the document editing area is edited according to the corresponding instruction to form a new document content; or, when the user selects the new document function, the user can input the document editing instruction based on the document editing instruction area to form a new document content.

[0078] Therefore, the new document function provided by the embodiment of the present application as described above allows users to create new documents directly on the printing application software. For example, the copied text can be directly pasted in the document editing area, and then a new document content can be formed and printed after simple editing, without the need to convert the new document content into a file through an external device or other editing application software, and then upload it to the printing application software for editing. In this way, it is convenient for users to manage and edit their own document files on the printing application software, simplifying the entire process from file generation to file upload and then printing, lowering the user's usage threshold, allowing users to complete file editing and printing more conveniently and quickly, and improving work efficiency and user experience.

[0079] In a possible implementation, when the user has logged into the APP account, the user can also first select document printing on the home page interface, open the document list interface, and select the new document option on the file list interface to obtain the target file from other paths or create a new document. That is, the new document option of the embodiment of the present application is set on two paths, and the user can select the new document option along any path. In particular, when the user is not sure whether the target document to be edited is in the file list interface, the user can first select document printing on the home page interface and enter the document list interface. If there is no target document in the document list interface, the user can directly select the new document option on the file list interface without returning to the home page interface to operate, which reduces the tediousness of the user's operation and improves the user's printing experience.

[0080] In one possible implementation, Figure 3A As shown, the document editing interface includes a document editing area A, a document editing instruction area B and a document preview area, wherein the document editing area A is used to display graphic content according to a preset document format, that is, when the user selects a target document or creates a new document, the target document or the new document will be displayed in the document editing area A according to the preset document format. The preset document format can be a default document format, including title, text, layout, etc. Specifically, in order to save user operations, the document content is displayed in A4 format, and a preset number of words or characters at a preset position of the document content are used as the title and displayed in the center. For example, the first 15 words or characters of the document are displayed in the center as the title content, and the other words or characters are used as the text content, and the paragraph style is set for the text content, such as indenting the first line by 2 characters, single line spacing, etc. The document editing instruction area B includes at least one document editing template. The document editing template can be used to adjust the format of all or part of the graphic content in the document editing area A. In a specific implementation, the user can expand or hide the document editing instruction area B by triggering the interface or triggering a specific button. In one implementation, the user can display the document editing instruction area B after continuously triggering the interface for a predetermined number of times, and hide the document editing instruction area B after the user continuously triggers the interface for a predetermined number of times for the second time. For example, if the user continuously triggers the interface three times, the document editing instruction area B will be displayed, and after the document editing instruction area is displayed, if the user continuously triggers the interface three times again, the document editing instruction area B will be hidden. Among them, the document editing instruction area B in the expanded mode is as follows: Figure 3A or Figure 3B As shown, the hidden mode document editing instruction area B is as follows Figure 7 As shown, the user can choose to expand or hide the document editing instruction area B according to the needs. The document preview area can be used to display at least one preview page of the graphic content in the document editing area A. In one implementation, Figure 3AAs shown, when the user edits the graphic content in the document editing area A based on the instructions in the document editing instruction area B, the preview effect of at least one page corresponding to the graphic content in the document editing area A can be directly displayed in the document preview area, that is, the document preview area displays the print preview effect corresponding to the graphic content in the document editing area in real time. In another implementation, the document preview area includes a document preview instruction C, and the preview effect of at least one page corresponding to the graphic content in the document editing area A is displayed by triggering the document preview instruction C. Through the preview in the document preview area, it is possible to promptly confirm whether the graphic content in the document editing area A meets the user's expectations (the details of the document editing instruction area B and the document preview area will be described below).

[0081] The embodiment of the present application sets up a document editing interface in the printing application software to edit the target document and provides multiple ways to obtain the target document, which greatly facilitates the user to handle the printed document.

[0082] S102: In response to a user triggering a document editing instruction, a document editing operation corresponding to the document editing instruction is performed on the graphic content in the document editing area.

[0083] In an embodiment of the present application, the user can trigger the corresponding document editing instruction in the document editing instruction area B based on the needs, and the printing APP performs the document editing operation corresponding to the document editing instruction on the graphic content in the document editing area A based on the document editing instruction triggered by the user.

[0084] In one possible implementation, the document editing instruction area includes at least one document editing template, and the document editing template is used to make corresponding format adjustments to all or part of the graphic content in the document editing area. The document editing template includes at least one of a blank template, a grid template, a small square template, a notebook template, an A3 template, an A4 template, a special template (such as a PPT template, an Excel template, etc.), and a custom template (for user-created templates). In addition, in another possible implementation, the document editing instruction includes at least one instruction of a font adjustment instruction, a bullet adjustment instruction, a number adjustment instruction, a document editing template adjustment instruction, a picture instruction, a copy instruction, a sharing instruction, and a print instruction, wherein the font adjustment includes text enlargement, text reduction, bolding, underlining, text color, font skew, etc. That is, the document editing operation corresponding to the instruction includes at least one of text font, text size, text color, text thickness, text logo, document editing template, etc. In addition, any template in the document editing template can be used to edit and adjust the overall page style or the style of part of the graphic content in the document editing area A. For example, the overall page style or the style of part of the graphic content can be adjusted by selecting document editing templates such as Tianzi grid, composition grid, notebook, small square grid, blank and special style.

[0085] In a possible implementation, when it is detected that the user touches any graphic content in the document editing area for more than a preset time, at least one graphic editing instruction is displayed, and the graphic editing instruction includes at least one of selection, selection all, paste, copy, delete and / or share. Figure 4 As shown, the user can perform more document editing operations on the graphic content in the document editing area A by triggering corresponding graphic editing instructions.

[0086] In one possible implementation, in addition to formatting the graphic content in the document, the graphic content can also be modified through the instructions in the document editing instruction area B. For example, the graphic content can be added and / or deleted in the document editing area by triggering keyboard instructions, and the required pictures can be added in the document editing area A by triggering picture insertion instructions. Specifically, when the user wants to add a picture in the document editing area, the user can select the picture in the document editing instruction area B to trigger the picture insertion instruction. In response to the user triggering the picture insertion instruction, the printing APP displays the way to add the picture on the interface, obtains the target picture based on the way to add the picture selected by the user, and inserts the target picture into the document editing area A according to a preset format. Among them, the way to add the picture includes importing it from other application software or obtaining it by shooting. In a specific implementation, such as Figure 5As shown, the ways to add pictures may include WeChat, photo album, and shooting. When the user chooses to add pictures from WeChat, the printing APP will jump to the WeChat application through the WeChat interface, and the user will select the target picture from the WeChat pictures and add it to the document editing area A; when the user chooses to obtain the target picture from the photo album, the printing APP will jump to the album application through the album interface, and the user will select the target picture from the pictures in the album application and add it to the document editing area A; when the user chooses to add pictures from shooting, the printing APP will jump to the camera application through the camera interface, and the user will obtain the target picture by shooting and add it to the document editing area A.

[0087] In the embodiment of the present application, the user can select a single or multiple target images to be added to the document editing area A based on different adding methods, and for the target images selected by the user, the thumbnails of the target images can be displayed in the document editing interface first, such as according to Fig. 6A As shown, a thumbnail of the target image is displayed above the document editing instruction area, wherein each thumbnail is also provided with a corresponding deletion indicator. When the target image contains an image that the user does not want to add to the document editing area A, the user can delete the image by triggering the deletion indicator of the corresponding image, thereby avoiding inserting the undesirable image into the document content. In addition, when the target image includes multiple images, the printing APP can adjust the order of the thumbnails of the target image based on the user's operation, thereby adjusting the order in which the target image is inserted into the document editing area A. Specifically, the user can adjust the order of the thumbnails by triggering the corresponding image, such as long pressing the image and dragging its position. When the user completes the adjustment of the order of the thumbnails, the completion button next to the thumbnail can be triggered to add the target image to the document editing area A in sequence according to the display order of the thumbnails, such as the display order from left to right. Among them, the target image added to the document editing area A will be displayed according to the preset format.

[0088] In a possible implementation, the preset format may be a default image format. For example, each target image may be added to the document editing area A in sequence and in parallel according to a preset size (such as reducing the original image by 5 times in proportion), so as to be displayed in the document editing area A in columns or rows without overlapping each other. Figure 7As shown. In addition, after the user completes adding the target image to the document editing area A, the user can also adjust the target icon added in the document editing area A, such as adjusting the size, so that the target image inserted into the document editing area A can be a target image that meets the user's expectations. By setting a preset format, the user almost does not need to make any format adjustments to the added target image. Compared with the prior art, when adding multiple images, multiple images are directly added to a certain position of the document content in an overlapping manner, the embodiment of the present application provides the user with content and order confirmation of multiple target images before adding multiple target images to the document content. For example, target images that do not meet expectations can be deleted, and target images that do not meet the user's insertion order can adjust the insertion order of the corresponding target images. Before inserting the target image into the document editing area A, it can be ensured in advance that the target image added by the user is the required target image, avoiding repeated execution of a series of operations from selecting to inserting the target image.

[0089] In a possible implementation, in response to the user selecting to use the shooting method to obtain the target image, the printing APP displays the camera shooting interface, and in response to the user triggering the shooting instruction in the camera shooting interface, the printing APP obtains the target image through the shooting method. Figure 6B, is a schematic diagram of a camera shooting interface provided in an embodiment of the present application. In the figure, a single-page shooting mode and a multi-page shooting mode are set on the camera shooting interface, wherein the single-page shooting mode is used for single-page shooting to obtain a single target image, and the multi-page shooting mode is used for continuous multi-page shooting to obtain multiple target images. In a specific implementation, for the target image captured, a thumbnail of the captured target image and a deletion indicator of the thumbnail can be displayed on the camera shooting interface. For example, in the multi-page shooting mode, after each shooting, a thumbnail of the image captured at that time is displayed on the shooting interface. If N shots are taken, thumbnails of the N captured images are displayed in the shooting interface, and the thumbnails include corresponding deletion indicators. The user can delete the images that do not meet the expectations by triggering the deletion indicator. The user can also adjust the order of the target images, such as adjusting its position by long pressing and dragging a thumbnail, or adjusting its position by double-clicking / multi-clicking a thumbnail. In another implementation, for the target image captured by shooting, a thumbnail of the captured target image can be displayed on the camera shooting interface. When the user triggers the activation mode of the target image thumbnail through operation, the thumbnail of the target image displays the corresponding deletion indicator in the activation mode, and the user can delete the corresponding target image by clicking the deletion indicator of the corresponding target image thumbnail. Similarly, when the user triggers the activation mode of the target image thumbnail through operation, the user can adjust a target image to any position in the thumbnail display area given by the target image by clicking on it, or by clicking on the thumbnails of two target images, so that the two target images exchange their corresponding display positions. When the user determines the target image thumbnails that need to be inserted into the document editing area A and their corresponding insertion order based on the thumbnails of the target images, the user can trigger the completion button to add the target images to the document editing area A in order of display from left to right, wherein the number displayed on the completion button is the number of target images. In a specific implementation, the display area of ​​the target image thumbnails is called the thumbnail display area, which can only display a predetermined number of thumbnails of the target images. When the number of thumbnails of the target images reaches the predetermined number, more thumbnails of other target images can be displayed in response to a user-triggered instruction such as sliding left or right or up or down. The number of thumbnails of the target images is displayed on the completion button accordingly. In this way, even if the user can only observe the thumbnails of the target images corresponding to the predetermined number in the display area of ​​the thumbnails of the target images, the user can know the number of target images that he wants to insert into the document editing area A in time without the user performing other operations and accumulating the number of thumbnails of the corresponding target images. The user can see clearly at a glance, reduce user operations, and improve user experience.

[0090] In another possible implementation, the camera shooting interface also includes a method for adding a target image imported from WeChat and an album, which is suitable for the case where the user has already taken a photo and may also want to obtain the target image through other means. Figure 5 For the sake of brevity, the described implementation methods are not described in detail in the embodiments of the present application.

[0091] In education and office scenarios, the newly added documents mentioned above include at least two application scenarios as described below. In one scenario, for group chat file printing: for files sent by teachers and classmates to the group chat, they need to be edited on the computer and then sent to the chat session, and then printed through the printing APP. For example, for the review points released by the teacher, they need to be further edited and then printed out for review. This makes the entire printing process involve switching between multiple platforms and tools, and the operation steps are relatively cumbersome. As for the editing of files to be printed: during the processing of files to be printed, when the user needs to edit the files to be printed, some document editing software needs to be used for editing on the computer. This is a limitation for users who do not carry a computer with them or do not have computer editing capabilities, and increases the threshold for use.

[0092] Therefore, through the editing method of graphic content as described above, the user does not need to use other document editing software to edit the content to be printed, and then send it to the printing APP for printing, avoiding the need to install different document editing application software before the user prints a document, reducing the user's installation steps; and document editing software generally occupies a large amount of terminal or device memory, so that the memory occupation of unnecessary document editing application software can be reduced, the memory pressure of the terminal or device can be reduced, and the operating efficiency of the terminal or device can be improved. In addition, it can also simplify the process of users printing documents and reduce the time for users to print output; users only need to use the printing APP to implement simple and convenient document editing operations, which can reduce the tedious process of users installing other document editing application software, performing complex editing operations in other document editing application software, and transferring the edited content to the printing APP. Finally, it can avoid application software compatibility issues and file format compatibility issues processed by different application software, and avoid the files sent to the printing APP after editing by other document editing application software do not meet the printing requirements.

[0093] In another application scenario, for example, for the organization of learning materials: when the learning materials include pictures and text needs to be extracted from the pictures, such as scanned textbooks, classroom PPT screenshots, etc. Manually editing these materials is time-consuming and prone to errors, affecting learning efficiency; for note organization: when handwritten notes or blackboard content need to be converted into text by taking photos for editing and organization, the lack of efficient text extraction tools makes this process cumbersome; for teaching material editing: when teachers make courseware or lesson plans and need to quote text in pictures, manual editing is not only inefficient, but also prone to errors, affecting teaching quality. For student homework marking: When marking student homework, teachers often need to deal with answers in picture format or handwritten corrections, and the lack of suitable text extraction tools makes this process complicated; for business people on business trips: When traveling or going out, they need to quickly process text information in pictures, such as contract content, business card information, etc. The lack of convenient text extraction tools will affect work efficiency; for designers' material processing: When processing design materials, they need to extract text or text styles from pictures for redesign or typesetting, and the lack of efficient text extraction tools will increase their workload.

[0094] Therefore, in one possible implementation, the machine shooting interface also includes an image and text extraction mode, which is used to directly perform text recognition on the target image, including performing text recognition on the target image captured by the camera, imported from WeChat and / or the album, and inserting the text content of the recognized target image into the document editing area A.

[0095] The image-character extraction method described above is convenient for users to organize learning materials, notes, teaching materials, engineer materials, homework grading, business trips, etc. It can avoid errors caused by manual editing, reduce manual editing time, improve the processing efficiency of corresponding real-life affairs, and reduce unnecessary workload.

[0096] In another application scenario, for example, for the picture printing process: when the picture information in the group chat is chaotic and needs to be edited and sorted by the computer before printing, this process is particularly complicated for parents who are not familiar with computer operation. For example: when multiple pictures need to be placed in a document and simple text editing and annotation are performed before printing, this process cannot be achieved without a computer and there is a high learning cost. For picture editing and annotation: when it is necessary to edit and annotate pictures and rely on computers to complete, for parents or students who are not good at using computers, it constitutes a high technical threshold, resulting in the inability to successfully complete the printing task. For mobile terminal printing: when it is impossible to operate a computer and it is necessary to edit pictures through mobile devices such as mobile phones or tablets, the current lack of tools that can directly extract, edit and organize pictures and text on the mobile terminal increases the user's learning cost and difficulty of operation. And for students who need to print pictures, if they cannot complete picture editing and annotation directly on the mobile terminal, they need to learn computer operation, which increases the learning burden, and editing pictures through computers may require students to spend more time to complete the preparations before printing, reducing learning efficiency.

[0097] Therefore, in a possible implementation, the machine shooting interface also includes a shooting and scanning mode, which is used to obtain a target image by shooting, scan the target image obtained by shooting, and then insert all the scanned contents into the document editing area A.

[0098] The shooting and scanning method described above can reduce the confusion of users who are not familiar with computer operation. Users who are not familiar with computer operation do not need to use the computer for editing. They only need to use the shooting and scanning mode on the printing APP to complete the editing of the corresponding document, thereby reducing the learning burden of students or parents and improving document editing efficiency.

[0099] In another application scenario, for example, when the homework obtained by the student is a corresponding picture, and the picture includes corresponding exercises, and the student hopes to add other exercise content or modify the corresponding format based on the exercise, then the picture needs to be converted into an editable document.

[0100] Therefore, in a possible implementation, the camera shooting interface also includes an image-to-word mode. The image-to-word mode is used to convert the image content (excluding thumbnails) of the current shooting interface into a word document identical to the image content of the current shooting interface, and insert the word document into the document editing area A. Specifically, for the image content of the current shooting interface, a word document with the same format as the image content of the current shooting interface can be obtained through the image-to-word mode, or the format of the image of the current shooting interface can be converted into a word format, and then the obtained word document or word-formatted image can be inserted into the document editing area A. In particular, when the image of the current shooting interface includes a table, the image-to-word mode can be used to directly convert the table into an editable table and text, such as Figure 8 As shown, (a) is a picture of the current shooting interface in the image-to-word mode, and (b) is a word document with the same content layout as that in (a) that has been inserted into the document editing area A, and the table in the word document is in an editable state.

[0101] In addition, in a possible implementation, the camera shooting interface also includes an image-to-excel mode. The image-to-excel mode is used to convert the table content of the picture of the current shooting interface into an excel document with the same table content as the picture of the current shooting interface, and insert the excel document into the document editing area A. Specifically, for the table content of the picture of the current shooting interface, an excel document with the same format as the table content of the picture of the current shooting interface can be obtained through the image-to-excel mode, or the format of the picture of the current shooting interface can be converted into an excel format, and the obtained excel document or picture in excel format can be inserted into the document editing area A, such as Fig. 9 As shown, (a) is a picture of the current shooting interface in the image-to-excel mode, and (b) is an excel document that has been inserted into the document editing area A and has the same table content and layout as those in (a). The excel document is in an editable state, that is, the user can perform secondary editing on the converted excel document.

[0102] In this way, through the above-mentioned image-to-word and / or image-to-excel method, it is possible to convert the image into the corresponding word and / or excel format and provide it to the user for editing without the need for the user to use other file format conversion application software for the corresponding conversion, and use document editing application software for editing after the conversion, which can reduce the user's installation of different file format conversion software or document editing application software, reduce unnecessary installation operations, and cumbersome conversion and editing operations performed in different application software. And most file format conversion application software currently belongs to the charging model, therefore, the image-to-word and / or image-to-excel method provided in the embodiment of the present application can also reduce the user's usage cost.

[0103] Of course, in the specific implementation, for the above-mentioned shooting scanning, image-to-word extraction, image-to-word, and image-to-Excel, you can directly enter the camera shooting interface through the scanning shooting module from the home page interface, and then obtain the target image through the shooting method. Alternatively, you can also directly select the function items corresponding to image-to-word extraction, image-to-word, or image-to-Excel on the home page interface to enter the camera shooting interface, and then obtain the required image and text content through the image-to-word extraction mode, image-to-word mode, or image-to-Excel mode.

[0104] It should be noted that the shooting and scanning mode, the image-word extraction mode, the image-to-word mode and the image-to-excel mode can process a single target image or multiple target images at the same time.

[0105] The embodiments of the present application recognize and extract text from images through shooting scanning mode, image-to-text extraction mode, image-to-word mode and image-to-excel mode. The image-to-word mode and image-to-excel mode can accurately copy the content and layout style on the image, and each mode can also convert multiple images at the same time, which greatly saves the time required for users to manually input text by comparing with images, reduces the error rate of manual input and typesetting, and thus improves the work efficiency of users.

[0106] At the same time, the embodiment of the present application converts the image into word format and then inserts it into the document editing area A. The image can be described in text in the document editing area A and then printed. Compared with converting images to PDF, it provides the possibility for users to add text, completes the vacancy of converting images to documents and editing text, and reflects the diversity of functions. Through this function, users can freely choose to insert images directly or convert images to word documents and then insert them, meeting the diverse needs of users.

[0107] In a possible implementation, based on the need for image processing, the present application embodiment also provides a mode for editing images. Specifically, Fig.10 As shown in Figure (a), when the user selects any thumbnail from the display area of ​​the thumbnails of the target image to perform an operation, such as clicking on any thumbnail, the image editing page of the target thumbnail is displayed, or when the user obtains the target image and clicks the completion button, that is, the user triggers the completion instruction, the printing APP enters the image editing page of the target image in response to the user's trigger. The image editing page includes an image editing area and an image editing instruction area, wherein the image editing area includes an edge line corresponding to the edge of the target image, and the edge line is used to adjust the size of the target image, such as Fig.10 As shown in Figure (b) in the figure, the user can choose to continue adding, select the entire image, edge recognition, rotation and other operations on the image editing page. According to the user's choice, the printing APP performs the corresponding image editing operation on the target image in the image editing area. Among them, when the user chooses to continue adding, the printing APP directly jumps back to the camera shooting interface, and continues shooting in the camera shooting interface or imports the target image through WeChat, albums, etc., so as to add a new image to the current target image.

[0108] In one possible implementation, Fig.10 As shown in Figure (b), the picture editing instruction area also includes a deletion indicator D and an identification instruction of the target picture, wherein the deletion indicator D is used to delete the target picture corresponding thereto.

[0109] In one possible implementation, after the user has finished editing the target image, he or she may select Fig.10 The edited target image is directly inserted into the document editing area A. If the user needs to recognize the edited target image, the recognition command can be triggered, that is, select Fig.10 (b) in the figure, the printing APP identifies the target image based on the recognition instruction triggered by the user to obtain the target image content, and inserts the target image content into the document editing area A. Specifically, the printing APP enters the image-character extraction mode, the image-to-word mode or the image-to-excel mode based on the recognition instruction triggered by the user, and identifies the target image content through the image-character extraction mode, the image-to-word mode or the image-to-excel mode, wherein the image-character extraction mode, the image-to-word mode and the image-to-excel mode can refer to the description of the image-character extraction mode, the image-to-word mode and the image-to-excel mode in the above embodiments, and for the sake of brevity, the embodiments of the present application will not be repeated here.

[0110] In one possible implementation, Fig.10As shown in Figure (b), when there are multiple target images to be edited, the user can obtain other target images by sliding the page left and right based on the image display area, thereby determining the target image to be edited, and then perform editing operations on the target image, such as rotating, selecting the entire image, adding images after the image by continuing to add instructions, deleting or identifying, etc.

[0111] The embodiment of the present application can process multiple target pictures on the picture editing page, thereby ensuring the efficiency of picture editing.

[0112] It should be noted that in the embodiment of the present application, the instructions in the document editing instruction area B can be displayed in the form of icons on the document editing interface, and the user can modify the graphic content by clicking the corresponding icon to trigger the corresponding instruction.

[0113] In an embodiment of the present application, in the document editing interface, a document preview instruction C is also provided. In response to the user triggering the document preview instruction C, the document preview area is displayed, and at least one preview page of the graphic content in the document editing area is displayed in the document preview area. Specifically, when the user clicks the preview instruction C in the document editing interface, the printing APP can divide the graphic content in the document editing area into pages according to the preset document format, and display the at least one preview page after division in the document preview area. The user can preview the graphic content in the document editing area A in real time through the preview page displayed in the document preview area. Exemplarily, when the user triggers the document preview instruction C, or when the user completes the document editing based on the document editing area A, at least one preview thumbnail of the graphic content in the document editing area A is displayed in the document preview area. Among them, the at least one page preview thumbnail is a page division display of the graphic content in the document editing area A according to the preset format, such as setting the paging format of the graphic content to be divided according to the A4 standard, displaying a predetermined number of lines per page, displaying a predetermined number of words or characters per line, and setting the line spacing per line, paragraph format, etc.

[0114] In one possible implementation, Fig.11 As shown in Figure (a) in the figure, for at least one preview page obtained after the division, all or part of the preview thumbnails of the preview page can be displayed in the document preview area. In a specific implementation, the preview thumbnails of the preview page can be displayed on any one side or multiple sides of the document editing interface, such as displaying the preview thumbnails of the preview page on the left side of the document preview area, or displaying the preview thumbnails of the preview page on the left and right sides of the document preview area. The embodiment of the present application does not make specific requirements for this.

[0115] When the preview thumbnail of the preview page is displayed on one side, if the graphic content in the document editing area A is too much to be fully displayed on one side, the user can observe more preview thumbnails by sliding up and down based on the document preview area. Obviously, in the embodiment of the present application, when the graphic content in the document editing area A is fully displayed in the document preview area, the user can clearly understand the number of pages required for the corresponding graphic content based on this. In this way, when the user expects the graphic content in the document editing area A to correspond to only a predetermined number of pages, the graphic content in the document editing area can be increased or decreased in time, so as to ensure that it meets the predetermined number of pages in time, without the user having to complete the document editing of the graphic content in the document editing area A and save and export it, and then find that it cannot meet the previous needs and needs to be re-edited. In particular, when the user expects to print out the graphic content in the document editing area A, if there is only a predetermined number of printed paper left, and the number of pages required for the graphic content to correspond to exceeds the predetermined number of paper remaining, then if the user cannot delete the graphic content in time, it will cause the graphic output content to be incomplete.

[0116] In a possible implementation, when the user wishes to further view the specific content or layout in the preview thumbnail, the user can click on any preview thumbnail to enter the complete display interface of the corresponding preview thumbnail, such as Fig.11 As shown in Figure (b). Fig.11 In Figure (b), the user can view the specific content and layout of the preview thumbnail, and the user can turn pages through the sliding interface to view other preview thumbnails, so that the user does not need to return to the document preview area including the preview thumbnail and reselect the preview thumbnail for further display, thereby reducing unnecessary user operations.

[0117] In one possible implementation, the document preview instruction always exists in the document editing interface by default, and the user can trigger the document preview operation at any time; in another possible implementation, when the graphic content in the document editing area A reaches a predetermined number of words (or characters) or a predetermined number of pages, the document preview instruction is displayed.

[0118] In one possible implementation, when there is graphic content in the document editing area A, the document preview area is displayed; in another possible implementation, when the graphic content in the document editing area A reaches a predetermined number of words (or characters) or a predetermined number of pages, the document preview area is displayed.

[0119] The embodiment of the present application enables real-time preview of document editing effects while editing the document, so that the user can know in advance whether the document content meets expectations, and can make timely changes to unsatisfactory areas based on the preview situation without having to perform repeated operations, such as reselecting the document and re-editing it, thereby reducing user operations and improving user experience.

[0120] S103: In response to the user completing the editing of the graphic content in the document editing area, saving the graphic content in the document editing area.

[0121] In an embodiment of the present application, the document editing instruction area includes a save button. When the user completes editing the document, the save button on the document editing interface is clicked to trigger the save instruction, so that the printing APP performs the corresponding save operation on the graphic content in the document editing area.

[0122] Of course, in actual applications, in order to ensure that the graphic content in the document editing area can be saved in time, the printing APP identifies the user's editing operation. When the user completes the editing (such as triggering the editing instruction) and the user recognizes that the user has not performed any operation based on the document editing area within a predetermined time, the graphic content in the document editing area is automatically saved. Specifically, it is determined whether the user's editing instruction is received within the preset time. If the user's editing instruction is not received, the graphic content in the document editing area is automatically saved; or, every time it is recognized that the user triggers and completes an editing instruction, the graphic content in the document editing area is automatically saved.

[0123] In a possible implementation, the document editing instruction area also includes a print button. When the user completes editing the document, the print button on the document editing interface is clicked to trigger the print instruction, so that the printing APP performs the corresponding printing operation on the graphic content in the document editing area. Specifically, in response to the user triggering the print instruction, the printing APP displays a print setting preview interface, and the print setting preview interface includes a print setting area and a print preview area, wherein the print setting area can set the number of print copies, single-sided and double-sided printing, print range, print direction, paper type, etc., and the print preview area is used to display the print preview effect of the graphic content in the document editing area corresponding to the settings set by the user in the print setting area. And, the print preview area includes at least two print page presentation modes, the first presentation mode is that the print preview area can observe the print page of the predetermined number of pages (such as 3 pages) of graphic content, when the user needs to observe other print pages, it can be achieved by sliding left and right in the print preview area, and the second presentation mode is that the print preview area presents all print preview pages. The print preview area also includes a print preview effect page switching option. In response to the user triggering the page switching option, the presentation mode of the print page in the print preview area can be switched from the first presentation mode to the second presentation mode.

[0124] In another possible implementation, the user may also directly select the target document to be printed from the document list interface, and then click the print button to trigger the print instruction and enter the print setting preview interface.

[0125] When the user completes setting the print settings based on the print settings preview interface, the print operation is triggered, and the print APP sends the edited document (the graphic content edited in the document editing area A) or the target document selected from the document list interface to the image forming device, and the image forming device performs the print operation according to the received document. Among them, the image forming device is a device with at least one function related to image formation, and the above-mentioned functions related to image formation may include but are not limited to: printing function, scanning function, copying function, and fax function. For example: single-function printer: an image forming device with only a printing function; multi-function printer: an image forming device with printing, copying, scanning and / or faxing functions, and the number of paper boxes can also be set selectively; digital multifunction machine: based on the copying function, with standard or optional printing, scanning, and faxing functions, using digital principles, and outputting files in the form of laser printing, and can edit images and texts as needed, with a large capacity paper tray, high memory, large hard disk, strong network support and multi-task parallel processing capabilities.

[0126] It should be noted that in the embodiment of the present application, the user can select multiple documents to be printed at the same time, that is, the print settings and print effect previews of multiple documents can be performed at the same time in the print settings preview interface to improve printing efficiency.

[0127] It should be noted that Figures 1 to 11 This is only an exemplary description of the embodiment of the present application and should not be used as a limitation on the protection scope of the present application. The present application adjusts the corresponding interface display content, interface style, etc. according to specific needs.

[0128] The embodiment of the present application can edit the graphic content to be printed through the printing application software, so that the user does not need to use other editing application software to edit it before printing, and then send it to the printing application software or print driver to execute the printing operation, which reduces the user's preparation operations before printing and improves the user's printing experience.

[0129] Corresponding to the above-mentioned embodiment, the embodiment of the present application further provides a device for editing graphic content.

[0130] See also Fig.12 , is a structural block diagram of a graphic content editing device provided in an embodiment of the present application. Fig.12 As shown, the device 1200 includes: a display unit 1201, which is used to display a document editing interface based on a user's operation instruction, wherein the document editing interface includes a document editing area, a document editing instruction area and a document preview area; a document editing unit 1202, which is used to perform a document editing operation corresponding to the instruction on the graphic content in the document editing area when the user triggers an instruction in the document editing instruction area; a preview display unit 1203, which is used to display at least one preview page of the graphic content in the document editing area, and when the user triggers the document preview instruction, the graphic content in the document editing area is divided into pages according to a preset document format, and preview thumbnails of all divided pages are displayed; an execution unit 1204, which is used to save the graphic content in the document editing area when the user completes editing the graphic content in the document editing area.

[0131] The specific contents of the embodiments of the present application can be found in the description of the above-mentioned method embodiments. For the sake of brevity, the corresponding embodiments will not be repeated here. The present application also provides an electronic device.

[0132] See also Fig.13, is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application, and the electronic device 1300 may include: a processor 1310, a memory 1320, and a communication unit 1330. These components communicate through one or more buses. Those skilled in the art can understand that the structure of the electronic device shown in the figure does not constitute a limitation on the embodiment of the present application. It can be a bus structure or a star structure, and can also include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently.

[0133] The communication unit 1330 is used to establish a communication channel so that the electronic device can communicate with other devices, receive user data sent by other devices or send user data to other devices.

[0134] The processor 1310 is the control center of the electronic device. It uses various interfaces and lines to connect various parts of the entire electronic device. It runs or executes software programs, instructions, and / or modules stored in the memory 1320, and calls data stored in the memory to perform various functions of the electronic device and / or process data. The processor can be composed of an integrated circuit (IC), for example, it can be composed of a single packaged IC, or it can be composed of a plurality of packaged ICs with the same or different functions. For example, the processor 1310 can include only a central processing unit (CPU). In the embodiment of the present application, the CPU can be a single computing core or multiple computing cores.

[0135] The memory 1320 is used to store the execution instructions of the processor 1310. The memory 1320 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk.

[0136] When the execution instructions in the memory 1320 are executed by the processor 1310, the electronic device 1300 can execute Figure 2 Some or all of the steps in the illustrated embodiments.

[0137] In a specific implementation, the present application further provides a computer storage medium, wherein the computer storage medium may store a program, and when the program is executed, the program may include some or all of the steps in each embodiment of the printing method of the image forming device provided in the embodiment of the present application. The storage medium may be a disk, an optical disk, a read-only memory (ROM) or a random access memory (RAM), etc.

[0138] In a specific implementation, the present application also provides a computer program product, wherein the computer program product includes executable instructions, and when the executable instructions are executed on a computer, the computer executes part or all of the steps in each embodiment of the printing method of the image forming device provided in the present application.

[0139] Those skilled in the art can clearly understand that the technology in the embodiments of the present invention can be implemented by means of software plus a necessary general hardware platform. Based on this understanding, the technical solutions in the embodiments of the present application are essentially or the part that contributes to the prior art can be embodied in the form of a software product, which can be stored in a storage medium such as ROM / RAM, a disk, an optical disk, etc., including several instructions for enabling a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment of the present application or some parts of the embodiments.

[0140] In this specification, the same or similar parts between the various embodiments can be referred to each other. In particular, for the device embodiment and the terminal embodiment, since they are basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the description in the method embodiment.

Claims

1. A method for editing graphic content, characterized in that: Applied to printing application software, the method comprises: In response to the user's operation instruction, a document editing interface is displayed, wherein the document editing interface includes a document editing area, a document editing instruction area, and a document preview area; wherein the document editing area is used to display graphic content; the document editing instruction area includes at least one document editing instruction, and the document preview area is used to display at least one preview page of the graphic content in the document editing area; In response to a user triggering the document editing instruction, performing a document editing operation corresponding to the document editing instruction on the graphic content in the document editing area; In response to the user completing the editing of the graphic content in the document editing area, the graphic content in the document editing area is saved.

2. The method according to claim 1, characterized in that: The document editing instruction area includes at least one document editing template, and the document editing template is used to perform corresponding format adjustments on all or part of the graphic content in the document editing area.

3. The method according to claim 1, characterized in that The document editing instruction area includes picture inserting instructions; In response to the user triggering the document editing instruction, performing a document editing operation corresponding to the document editing instruction on the graphic content in the document editing area includes: In response to the user triggering the picture inserting instruction, displaying a way to add the picture; Based on the adding path of the picture selected by the user, obtaining the target picture; Insert the target image into the document editing area according to a preset format.

4. The method according to claim 3, characterized in that The adding method of the picture includes a shooting method, and the acquiring of the target picture based on the adding method of the picture selected by the user includes: In response to the user selecting to use the shooting mode to obtain the target image, displaying the camera shooting interface; In response to a user triggering a shooting instruction based on the camera shooting interface, acquiring a target image; Among them, the camera shooting interface includes a single-page shooting mode and a multi-page shooting mode. The single-page shooting mode is used for single-page shooting to obtain a single target picture, and the multi-page shooting mode is used for continuous multi-page shooting to obtain multiple target pictures.

5. The method according to claim 4, characterized in that In response to the user triggering a shooting instruction based on the camera shooting interface, acquiring the target image includes: In response to a user triggering a shooting instruction based on the camera shooting interface, a thumbnail of the captured target image and a deletion indicator of the thumbnail are displayed on the camera shooting interface.

6. The method according to claim 4, characterized in that The camera shooting interface also includes an image-character extraction mode, which is used to perform character recognition on the target image and insert the recognized text content of the target image into the document editing area.

7. The method according to claim 4, characterized in that The camera shooting interface also includes a picture-to-word mode, which is used to convert the picture content of the current shooting interface into a word document that is the same as the picture content of the current shooting interface, and insert the word document into the document editing area.

8. The method according to claim 4, characterized in that The camera shooting interface also includes an image-to-Excel mode, which is used to convert the table content of the picture of the current shooting interface into an Excel document with the same table content as the picture of the current shooting interface, and insert the Excel document into the document editing area.

9. The method according to claim 4, characterized in that In response to the user triggering a shooting instruction based on the camera shooting interface, after acquiring the target image, the method further includes: Displaying a picture editing page of the target picture, the picture editing page comprising a picture editing area and a picture editing instruction area; wherein the picture editing area comprises an edge line corresponding to an edge of the target picture, the edge line being used to adjust the size of the target picture; In response to a user triggering an instruction in the picture editing instruction area, performing a picture editing operation corresponding to the instruction on a target picture in the picture editing area, wherein the instruction includes at least one of a continue adding instruction, a frame selecting full picture instruction, an edge recognition instruction, and a rotation instruction; the picture editing instruction area also includes a deletion indicator and a recognition instruction of the target picture, wherein the deletion indicator is used to delete the target picture corresponding thereto; In response to the user triggering the recognition instruction, the target image is recognized, the target image content is acquired, and the target image content is inserted into the document editing area.

10. The method according to claim 1, characterized in that The document editing instruction area also includes printing instructions; In response to the user triggering the print instruction, a print setting preview interface is displayed, the print setting preview interface includes a print setting area and a print preview area, the print preview area is used to display the print preview effect of the graphic content in the document editing area corresponding to the settings set by the user in the print setting area; In response to the user completing setting the print settings, the graphic content in the document editing area is sent to the image forming device so that the image forming device performs a printing operation.

11. A device for editing graphic content, characterized in that: include: A display unit, configured to display a document editing interface based on a user's operation instruction, wherein the document editing interface includes a document editing area, a document editing instruction area, and a document preview area; A document editing unit, configured to execute a document editing operation corresponding to the instruction on the graphic content in the document editing area when a user triggers an instruction in the document editing instruction area; A preview display unit, used to display at least one preview page of the graphic content in the document editing area; A saving unit is used to save the graphic content in the document editing area when the user completes editing the graphic content in the document editing area.

12. An electronic device, characterized in that: include: processor; Memory; A computer program is stored in the memory, and when the computer program is executed, the electronic device executes the method according to any one of claims 1 to 10.

13. A computer-readable storage medium, characterized in that: The computer-readable storage medium includes a stored program, wherein when the program is executed, the device where the computer-readable storage medium is located is controlled to execute the method according to any one of claims 1 to 10.

Citation Information

Patent Citations

  • File editing system and editing method

    CN101118479A

  • Method and apparatus for editing printed receipt based on POS terminal

    CN105930312A

  • Data processing method and device, computer equipment and storage medium

    CN111552428A

  • Photographing and printing method, computer device and computer readable storage medium

    CN111741181A

  • Print region editing apparatus and method therefor

    CN116745742A