Note template adaptation method and device of handwriting software and storage medium
By detecting the note template type in handwriting software and loading the configuration file to generate a scalable vector map, the storage and adaptation problems when adapting different device resolutions and aspect ratios in the prior art are solved, and the effect of adaptive adaptation and storage savings is achieved.
Patent Information
- Application Number
- CN202311415706.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-10-27
- Publication Date
- 2025-04-29
AI Technical Summary
When existing handwriting software adapts to devices with different resolutions and aspect ratios, it is necessary to preset note template pictures of various resolutions, resulting in increased workload of UI designers and excessive software volume.
By detecting the note template type selected by the user, when the type is spliced, a configuration file is loaded, and display elements are generated and combined in the display area based on the configuration information to generate a scalable vector diagram for display. Configuration information includes the display element's attribute information and splicing rules.
It realizes the adaptive adaptation of note templates to devices with different resolutions and aspect ratios, saving the storage overhead of handwriting software note templates.
Smart Images

Figure CN119902814A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to handwriting software technology, and more particularly to a handwriting software note template adaptation method, device and storage medium. Background Art
[0002] Handwriting software is an application that can simulate real handwriting on mobile phones or tablets. Handwriting software not only provides a variety of fonts for users to choose from, but also has a wealth of templates for users to use.
[0003] In the related art, the note template implementation of handwriting software is generally to pre-set a picture of the note template in the software, and then display the corresponding picture of the note template as the background of the handwriting area according to the user's selection.
[0004] If the handwriting software is customized for a specific hardware product, the width and height of the note template image can be customized according to the display requirements of the product, which is the responsibility of the UI (User Interface) designer. However, if the handwriting software is a general software, in order to adapt to the various types of device screens with different aspect ratios on the market, note template images of various resolutions need to be pre-set, which will increase the workload of UI designers exponentially, and pre-setting too many images in the software will make the software too large, which will have an adverse impact on users when downloading and installing it. Summary of the invention
[0005] The embodiment of the present application provides a note template adaptation method for handwriting software, including:
[0006] Detecting that the user selects a note template, and determining the type of the note template;
[0007] When the type of the note template is a splicing type, the configuration file of the note template is loaded, the configuration information of the display elements of the note template is obtained from the configuration file, the display elements are generated and combined at corresponding positions in the display area according to the configuration information, and a scalable vector image is generated for display; wherein the configuration information includes: attribute information of the display elements and splicing rules.
[0008] The embodiment of the present application provides a note template adaptation device for handwriting software, including:
[0009] A type detection module, configured to detect that a user selects a note template and determine the type of the note template;
[0010] The template adaptation module is configured to load the configuration file of the note template when the type of the note template is a splicing type, obtain the configuration information of the display elements of the note template from the configuration file, generate and combine the display elements at corresponding positions in the display area according to the configuration information, and generate a scalable vector image for display; wherein the configuration information includes: attribute information of the display elements and splicing rules.
[0011] An embodiment of the present application provides a note template adaptation device for handwriting software, including: a memory and a processor, the memory storing a computer program, and the computer program, when executed by the processor, implements the steps of the note template adaptation method for the handwriting software.
[0012] An embodiment of the present application provides a computer-readable storage medium storing a computer program, which, when executed by a processor, implements the steps of the note template adaptation method of the above-mentioned handwriting software.
[0013] Compared with the related art, the embodiment of the present application provides a note template adaptation method, device and storage medium for handwriting software, which detects that a user selects a note template and determines the type of the note template; when the type of the note template is a splicing type, the configuration file of the note template is loaded, and the configuration information of the display elements of the note template is obtained from the configuration file, and the display elements are generated and combined at corresponding positions in the display area according to the configuration information to generate a scalable vector image for display; wherein the configuration information includes: attribute information and splicing rules of the display elements. The method provided by the above embodiment enables the note template to be adaptively adapted to display devices with different resolutions and aspect ratios, and saves the storage overhead of the note template of the handwriting software.
[0014] Other features and advantages of the present application will be described in the following description, and partly become apparent from the description, or be understood by implementing the present application. Other advantages of the present application can be realized and obtained by the schemes described in the description and the drawings. BRIEF DESCRIPTION OF THE DRAWINGS
[0015] The accompanying drawings are used to provide an understanding of the technical solution of the present application and constitute a part of the specification. Together with the embodiments of the present application, they are used to explain the technical solution of the present application and do not constitute a limitation on the technical solution of the present application.
[0016] Figure 1 A flowchart of a note template adaptation method for handwriting software provided in an embodiment of the present application;
[0017] Figure 2 A schematic diagram of a canvas matrix provided in an embodiment of the present application;
[0018] Figure 3 A schematic diagram of a stroke on a canvas matrix provided in an embodiment of the present application;
[0019] Figure 4 A schematic diagram of a layer of a note page with a note template provided in an embodiment of the present application;
[0020] Figure 5 A schematic diagram of a storage structure of a note page provided in an embodiment of the present application;
[0021] Figure 6-a A schematic diagram of a horizontal line template provided in an embodiment of the present application (with small horizontal line spacing);
[0022] Figure 6-b A schematic diagram of another horizontal line template provided in an embodiment of the present application (with large horizontal line spacing);
[0023] Figure 7 A schematic diagram of a football field tactical template provided in an embodiment of the present application;
[0024] Figure 8 A schematic diagram of a schedule provided in an embodiment of the present application;
[0025] Fig. 9 A schematic diagram of the structure of a note template adaptation device for handwriting software provided in an embodiment of the present application;
[0026] Fig.10 A schematic diagram of the structure of another note template adaptation device for handwriting software provided in an embodiment of the present application;
[0027] Fig.11 A schematic diagram of the structure of another note template adaptation device for handwriting software provided in an embodiment of the present application. DETAILED DESCRIPTION
[0028] The present application describes multiple embodiments, but the description is exemplary rather than restrictive, and it is obvious to those skilled in the art that there may be more embodiments and implementations within the scope of the embodiments described in the present application. Although many possible feature combinations are shown in the drawings and discussed in the specific embodiments, many other combinations of the disclosed features are also possible. Unless specifically limited, any feature or element of any embodiment may be used in combination with any other feature or element in any other embodiment, or may replace any other feature or element in any other embodiment.
[0029] The present application includes and contemplates combinations of features and elements known to those of ordinary skill in the art. The embodiments, features and elements disclosed in the present application may also be combined with any conventional features or elements to form a unique invention scheme defined by the claims. Any features or elements of any embodiment may also be combined with features or elements from other invention schemes to form another unique invention scheme defined by the claims. Therefore, it should be understood that any feature shown and / or discussed in the present application may be implemented individually or in any appropriate combination. Therefore, except for the limitations made according to the attached claims and their equivalents, the embodiments are not subject to other restrictions. In addition, various modifications and changes may be made within the scope of protection of the attached claims.
[0030] In addition, when describing representative embodiments, the specification may have presented the method and / or process as a specific sequence of steps. However, to the extent that the method or process does not rely on the specific order of the steps described herein, the method or process should not be limited to the steps of the specific order described. As will be understood by those of ordinary skill in the art, other sequences of steps are also possible. Therefore, the specific sequence of the steps set forth in the specification should not be interpreted as a limitation to the claims. In addition, the claims for the method and / or process should not be limited to the steps of performing them in the order written, and those skilled in the art can easily understand that these sequences can be changed and still remain within the spirit and scope of the embodiments of the present application.
[0031] like Figure 1 As shown, the embodiment of the present disclosure provides a note template adaptation method for handwriting software, including:
[0032] Step S10, detecting that the user selects a note template, and determining the type of the note template;
[0033] Step S20, when the type of the note template is a splicing type, load the configuration file of the note template, obtain the configuration information of the display elements of the note template from the configuration file, generate and combine the display elements at corresponding positions in the display area according to the configuration information, and generate a scalable vector graphics (SVG) for display; wherein the configuration information includes: attribute information of the display elements and splicing rules.
[0034] The template adaptation method of the handwriting software provided in the above embodiment detects that the user selects a note template and determines the type of the note template; when the type of the note template is a splicing type, the configuration file of the note template is loaded, and the configuration information of the display elements of the note template is obtained from the configuration file, and the display elements are generated and combined at corresponding positions in the display area according to the configuration information to generate a scalable vector image for display; wherein the configuration information includes: attribute information and splicing rules of the display elements. The method provided in the above embodiment enables the note template to be adaptively adapted to display devices with different resolutions and aspect ratios, and saves the storage overhead of the note template of the handwriting software.
[0035] In an exemplary embodiment, the method further comprises:
[0036] Classify the note templates according to their purpose and content display characteristics, and set a classification mark for each note template;
[0037] When the type of the note template is a splicing type, a configuration file is generated for the splicing type note template.
[0038] In an exemplary embodiment, the method further comprises:
[0039] When the type of the note template is a direct display type, a template image is preset for the direct display type note template.
[0040] The template image of the direct display note template can be in any file format, such as: JPG (Joint Photographic Experts Group) format, PNG (Portable Network Graphics) format, etc.
[0041] In an exemplary implementation, determining the type of the note template includes:
[0042] Obtain a classification identifier of the note template, and determine the type of the note template according to the classification identifier.
[0043] For example, the category identifier of the direct display note template may be set to 0, and the category identifier of the splicing note template may be set to 1.
[0044] The notes in the handwriting software are presented on the canvas. Users can write, draw and do other operations on this canvas, and the handwriting recognition technology can convert the user's handwriting into text format. The canvas can be regarded as a matrix. Figure 2 A schematic diagram of a canvas matrix is shown. Figure 2As shown in the figure, the coordinates of the upper left corner of the canvas are (0, 0), and the coordinates of the lower right corner of the canvas are (w, h), where w is the width of the handwriting area and h is the height of the handwriting area. Assume that the points drawn on the canvas are represented by 1, and the points not drawn are represented by 0. If it is a completely blank canvas, it is a matrix of all 0s, and if all the points in the canvas area are painted black, it can be represented by a matrix of all 1s.
[0045] Generally speaking, in a page of notes, the positions of drawn points are much more than the positions of undrawn points. To save storage space, you can take the set of drawn points (positions of 1) to represent the content to be displayed on the canvas of a handwriting board. If you only want to store the content of the canvas, you can only record the coordinates of the points where the strokes are located. However, in order to consider the use of other functions such as note rollback, you can store "one stroke" as a unit when storing. Figure 3 FIG. 1 shows a schematic diagram of a stroke on a canvas matrix. Figure 3 As shown in the figure, the position P (x1, y1) where the electromagnetic pen touches the writing board to the point Q (x2, y2) where the electromagnetic pen is lifted, as well as all the points along the way, are stored as a stroke, and the triggering time of point P and point Q is recorded for query and other functions. The content of each page in the note can be considered as a collection of a series of strokes.
[0046] The role of note templates is similar to the horizontal lines printed on ordinary paper notebooks, giving users a rough format. Users can write or draw on a blank page with a note template. Figure 4 FIG. 1 shows a schematic diagram of a layer of a note page with a note template. Figure 4 As shown, the note page can include multiple ordinary layers (n+1) and a template layer. The note template is placed in the template layer. The background color of each ordinary layer is transparent, so that the content of the note template below can be seen when multiple ordinary layers are superimposed on each other. Figure 5 FIG. 1 shows a schematic diagram of the storage structure of a note page. Figure 5 As shown, each note page is a storage unit. A note page is composed of a template layer and multiple ordinary layers. The ordinary layer can have multiple stroke sets, and the template layer stores the name of the template selected by the user.
[0047] When opening an existing note page, the application first parses the total number of layers (including template layers) on the page. For the template layer, the application parses the corresponding template name, then finds the corresponding template image, parses it into a Bitmap in the memory, and then draws it to the page through Canvas. Canvas is a technology provided by HTML5 for drawing graphics on web pages. It provides a set of drawing APIs (Application Programming Interface) that can be used to create various types of graphics and images. If it is a normal layer, all stroke information on each normal layer is parsed in turn, drawn one stroke at a time in the memory, and then drawn to the page. This completes the loading process of a page.
[0048] Scalable vector graphics (SVG) is an image format based on XML (Extensible Markup Language) syntax. Unlike other image formats (based on pixel processing), SVG describes the shape of the image, that is, it directly uses code to describe or draw graphics. Its essence is a text file with a small size. In SVG graphics, each stroke can correspond to an XML statement, so that certain attributes of the graphics can be easily modified. At the same time, the biggest feature of SVG compared to traditional images is that it can be scaled freely, and the image will not be distorted no matter how large the magnification is. SVG images can be rendered and displayed in the browser. You can first parse the SVG XML file, and then draw the corresponding graphics on the Canvas according to the parsing results.
[0049] SVG XML format text is through <svg>This is done by some tags under the tag. For example, <rect>The tag represents drawing a rectangle. You can change the size and position of the rectangle by setting the position of the upper left corner and the width and height. You can also set the border color and fill color. <circle>The label represents drawing a circle. The position and size of the circle can be changed by setting the center position and radius size. <line>The label represents drawing a straight line. You can set the position coordinates of the starting point of the line and the color of the line. <text>The tag represents some text displayed on the canvas. The text inside the tag is the text to be displayed, and you can set attribute information such as position, color, thickness, etc. The entire SVG file content is structured.
[0050] In an exemplary embodiment, the spliced note template includes one or more identical display elements, and these display elements are combined in different positions to generate note templates of different styles.
[0051] In an exemplary embodiment, the display element includes at least one of the following: a line and a rectangular frame.
[0052] The splicing note template is a main type of note template. Its main feature is that the template content can be split into one or more identical display elements. These display elements can be combined in different positions to generate splicing note templates of different styles.
[0053] Figure 6-a and Figure 6-b Two horizontal line templates with different horizontal line spacing are shown respectively. Figure 6-a The horizontal line spacing is relatively small. Figure 6-b If horizontal lines are used as display elements, by controlling the spacing between two adjacent horizontal lines, a horizontal line template with different grid sizes can be obtained. In other embodiments, the spliced note template can also be: a square note template, a grid note template, etc.
[0054] In an exemplary embodiment, the method further comprises:
[0055] When the type of the note template is a direct display type, a template image of the note template is obtained, and the template image is scaled and displayed in a proportional manner in a display area.
[0056] In an exemplary embodiment, the proportionally scaling and displaying the template image in the display area includes: centering the template image, determining a first ratio of the width of the template image to the width of the display area, and a second ratio of the height of the template image to the height of the display area, taking the smaller of the first ratio and the second ratio as the final scaling ratio, and scaling and displaying the template image according to the final scaling ratio.
[0057] Direct display note templates usually have special purposes. Figure 7 A schematic diagram of a football field tactical template is shown. In order to show the characteristics of the football field, the football field tactical template needs to always keep the aspect ratio of the template image unchanged. If it is not processed proportionally, the football field image will be stretched horizontally or vertically, and the circular area in the middle will become an ellipse, causing confusion for users.
[0058] For a template similar to a football field tactical template, we only need to compare the aspect ratio of the template image with the actual display area size, and scale down or enlarge the template image in proportion until the width of the template image reaches the width of the display area or the height of the template image reaches the height of the display area.
[0059] In an exemplary embodiment, the method further includes: if the note template is in SVG format and has characters, determining whether there are characters in the note template that need to be replaced, and if there are characters that need to be replaced, reading a string configuration file to obtain new characters or translating the characters in the note template that need to be replaced into new characters that match the current system language, and replacing the characters in the note template that need to be replaced with the new characters. Character replacement can realize the function of changing the text in the template with the system.
[0060] In an exemplary implementation, determining whether there are characters in the note template that need to be replaced includes:
[0061] Check if there are any special tags in the SVG file of the note template. <text>Tag, if it exists, it is determined that there are characters that need to be replaced in the note template.
[0062] There may be some tables in the note template, and the header contents of these tables are fixed. Figure 8 A schematic diagram of a schedule is shown. Figure 8 As shown in the figure, the header of the schedule includes the English display of "Sunday" to "Saturday". If the template image wants to realize multiple languages, there is no need to preset the schedule image of each language into the handwriting software, which increases the workload and software size. You only need to confirm the location of the header text, and then translate the header content into the corresponding text according to the current system language, and replace the header content in the template.
[0063] In an exemplary implementation, generating and combining the display elements at corresponding positions of the display area according to the configuration information includes:
[0064] For horizontal line templates, use <line>The tag calculates the coordinates of the starting and ending points of n horizontal lines, which are <line>The tag generates a horizontal line chart in SVG format;
[0065] Among them, for the i-th horizontal line, the starting point coordinates are (xs i ,ys i ), the end point coordinate is (xs i ,ys i );
[0066] xs i =w*a%;
[0067] ys i =w*a%+h*i*b%;
[0068] x i =w*(1-a%);
[0069] ye i =ys i ;
[0070] Among them, w is the width of the display area, h is the height of the display area, w*a% is the width of the blank area from the top, bottom, left, and right borders of the note template page to the edge of the screen, and the line spacing between any two horizontal lines is h*b%.
[0071] According to the above analysis, in order to obtain a horizontal line graph note template, we do not have to preset the entire SVG graph, but instead formulate a rule to specify the size of the blank space around a% and the line spacing size b%. The SVG graph is then generated by calculation and then loaded to the user. This can flexibly solve the problem of template adaptation to multiple resolutions.
[0072] like Fig. 9 As shown, the embodiment of the present disclosure provides a note template adaptation device for handwriting software, including:
[0073] A type detection module 10, configured to detect that a user selects a note template and determine the type of the note template;
[0074] The template adaptation module 20 is configured to load the configuration file of the note template when the type of the note template is a splicing type, obtain the configuration information of the display elements of the note template from the configuration file, generate and combine the display elements at corresponding positions in the display area according to the configuration information, and generate a scalable vector image for display; wherein the configuration information includes: attribute information of the display elements and splicing rules.
[0075] In the template adaptation device of the handwriting software provided by the above embodiment, the type detection module detects that the user selects a note template and determines the type of the note template; when the type of the note template is a splicing type, the template adaptation module loads the configuration file of the note template, obtains the configuration information of the display elements of the note template from the configuration file, generates and combines the display elements at the corresponding positions of the display area according to the configuration information, and generates a scalable vector image for display; wherein the configuration information includes: attribute information and splicing rules of the display elements. The device provided by the above embodiment enables the note template to adaptively adapt to display devices with different resolutions and aspect ratios, and saves the storage overhead of the note template of the handwriting software.
[0076] Fig.10 Another note template adaptation device for handwriting software is shown. In an exemplary embodiment, Fig.10 As shown, the device further includes: a template classification module 30;
[0077] The template classification module is configured to classify the note templates according to their purpose and content display characteristics, and to set a classification identifier for each note template; when the type of the note template is a splicing type, a configuration file is generated for the splicing type note template.
[0078] In an exemplary embodiment, the template classification module is further configured to preset a template image for the direct display type note template when the type of the note template is a direct display type.
[0079] In an exemplary embodiment, the type detection module is configured to determine the type of the note template in the following manner: obtaining a classification identifier of the note template, and determining the type of the note template according to the classification identifier.
[0080] For example, the category identifier of the direct display note template may be set to 0, and the category identifier of the splicing note template may be set to 1.
[0081] In an exemplary embodiment, the spliced note template includes one or more identical display elements, and these display elements are combined in different positions to generate note templates of different styles.
[0082] In an exemplary embodiment, the display element includes at least one of the following: a line and a rectangular frame.
[0083] In an exemplary embodiment, the template adaptation module is further configured to obtain a template image of the note template when the note template is of a direct display type, and to display the template image in a proportional manner in a display area.
[0084] In an exemplary embodiment, the template adaptation module is also configured to determine whether there are characters that need to be replaced in the note template if the note template is in a scalable vector graphics format and has characters. If there are characters that need to be replaced, the string configuration file is read to obtain new characters or the characters that need to be replaced in the note template are translated into new characters that match the current system language, and the characters that need to be replaced in the note template are replaced with the new characters.
[0085] In an exemplary embodiment, the template adaptation module is configured to determine whether there are characters that need to be replaced in the note template by querying whether there are characters in the scalable vector graphics file of the note template that have text attributes set to special marks. <text>Tag, if it exists, it is determined that there are characters that need to be replaced in the note template.
[0086] In an exemplary embodiment, the template adaptation module is configured to generate and combine the display elements at corresponding positions of the display area according to the configuration information in the following manner:
[0087] For horizontal line templates, use <line>The tag calculates the coordinates of the starting and ending points of n horizontal lines, which are <line>The tag generates a horizontal line chart in SVG format;
[0088] Among them, for the i-th horizontal line, the starting point coordinates are (xs i ,ys i ), the end point coordinate is (xs i ,ys i );
[0089] xs i =w*a%;
[0090] ys i =w*a%+h*i*b%;
[0091] x i =w*(1-a%);
[0092] ye i =ys i ;
[0093] Among them, w is the width of the display area, h is the height of the display area, w*a% is the width of the blank area from the top, bottom, left, and right borders of the note template page to the edge of the screen, and the line spacing between any two horizontal lines is h*b%.
[0094] like Fig.11 As shown, an embodiment of the present application provides a note template adaptation device for handwriting software, including: a memory and a processor, the memory stores a computer program, and the computer program, when executed by the processor, implements the steps of the note template adaptation method for the above-mentioned handwriting software.
[0095] An embodiment of the present application provides a computer-readable storage medium storing a computer program, which, when executed by a processor, implements the steps of the note template adaptation method of the above-mentioned handwriting software.
[0096] It will be appreciated by those skilled in the art that all or some of the steps, systems, and functional modules / units in the methods disclosed above may be implemented as software, firmware, hardware, and appropriate combinations thereof. In hardware implementations, the division between the functional modules / units mentioned in the above description does not necessarily correspond to the division of physical components; for example, a physical component may have multiple functions, or a function or step may be performed by several physical components in cooperation. Some or all components may be implemented as software executed by a processor, such as a digital signal processor or a microprocessor, or implemented as hardware, or implemented as an integrated circuit, such as an application-specific integrated circuit. Such software may be distributed on a computer-readable medium, which may include a computer storage medium (or non-transitory medium) and a communication medium (or temporary medium). As known to those skilled in the art, the term computer storage medium includes volatile and non-volatile, removable and non-removable media implemented in any method or technology for storing information (such as computer-readable instructions, data structures, program modules, or other data). Computer storage media include, but are not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, digital versatile disks (DVD) or other optical disk storage, magnetic cassettes, magnetic tapes, magnetic disk storage or other magnetic storage devices, or any other medium that can be used to store the desired information and can be accessed by a computer. In addition, it is well known to those of ordinary skill in the art that communication media typically contain computer-readable instructions, data structures, program modules, or other data in a modulated data signal such as a carrier wave or other transport mechanism, and may include any information delivery media.< / line> < / line> < / text> < / line> < / line> < / text> < / text> < / line> < / circle> < / rect> < / svg>
Claims
1. A note template adaptation method for handwriting software, comprising: Detecting that the user selects a note template, and determining the type of the note template; When the type of the note template is a splicing type, the configuration file of the note template is loaded, the configuration information of the display elements of the note template is obtained from the configuration file, the display elements are generated and combined at corresponding positions in the display area according to the configuration information, and a scalable vector image is generated for display; wherein the configuration information includes: attribute information of the display elements and splicing rules.
2. The method according to claim 1, characterized in that: The method further comprises: Classify the note templates according to their purpose and content display characteristics, and set a classification mark for each note template; When the type of the note template is a splicing type, a configuration file is generated for the splicing type note template.
3. The method according to claim 2, characterized in that The method further comprises: When the type of the note template is a direct display type, a template image is preset for the direct display type note template.
4. The method according to claim 1, characterized in that: The spliced note template includes one or more identical display elements, and these display elements are combined in different positions to generate note templates of different styles.
5. The method according to claim 3, characterized in that: The method further comprises: When the type of the note template is a direct display type, a template image of the note template is obtained, and the template image is scaled and displayed in a proportional manner in a display area.
6. The method according to claim 1, characterized in that The method further comprises: If the note template is in a scalable vector graphics format and has characters, determine whether there are characters that need to be replaced in the note template. If there are characters that need to be replaced, read the string configuration file to obtain new characters or translate the characters that need to be replaced in the note template into new characters that match the current system language, and replace the characters that need to be replaced in the note template with the new characters.
7. The method according to claim 6, characterized in that: Determining whether there are characters that need to be replaced in the note template includes: Check if there are any special markup text attributes in the scalable vector graphics file of the note template <text> Tag, if it exists, it is determined that there are characters that need to be replaced in the note template.< / text> 8. A note template adaptation device for handwriting software, comprising: A type detection module, configured to detect that a user selects a note template and determine the type of the note template; The template adaptation module is configured to load the configuration file of the note template when the type of the note template is a splicing type, obtain the configuration information of the display elements of the note template from the configuration file, generate and combine the display elements at corresponding positions in the display area according to the configuration information, and generate a scalable vector image for display; wherein the configuration information includes: attribute information of the display elements and splicing rules.
9. A note template adaptation device for handwriting software, comprising: A memory and a processor, wherein the memory stores a computer program, and when the computer program is executed by the processor, the steps of the note template adaptation method of the handwriting software described in any one of claims 1-7 are implemented.
10. A computer-readable storage medium storing a computer program, wherein the computer program, when executed by a processor, implements the steps of the note template adaptation method of handwriting software according to any one of claims 1 to 7.