Development method of presentation document and terminal
By abstracting the data of the page to be developed into a tree data model and obtaining the target molecular components, the problems of cross-platform consistency and low development efficiency in the existing technology are solved, and high-performance rendering and cross-platform consistency are achieved.
Patent Information
- Application Number
- CN202310965291.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-08-02
- Publication Date
- 2025-02-14
AI Technical Summary
The existing demonstration document development methods have cross-platform consistency problems and low development efficiency.
By abstracting the page data to be developed into document data, page data and element data, and generating a tree data model, obtaining the corresponding atomic components for stacking or nesting combinations, obtaining the target molecular components and achieving high-performance rendering.
It realizes cross-platform consistency of presentation documents, improves development efficiency, and achieves high-performance rendering through local refresh.
Smart Images

Figure CN119440493A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of presentation documents, and in particular to a presentation document development method and a terminal. Background Art
[0002] At present, the development method of presentation documents is generally to develop related Java, C++ and other computer programming languages on the client side or use Web-related technologies to achieve rendering, presentation and slideshow playback and other presentation document functions. However, the client-side development method of Java, C++ and other computer programming languages requires developers to master certain programming skills and has low development efficiency; while the use of Web-related technologies to develop presentation documents such as slideshows has the problem that program performance is lower than native development performance. Summary of the invention
[0003] The technical problem to be solved by the present invention is to provide a method and a terminal for developing a presentation document, thereby ensuring the cross-platform consistency of the presentation document and improving the development efficiency.
[0004] In order to solve the above technical problems, the technical solution adopted by the present invention is:
[0005] A method for developing a presentation document, comprising the steps of:
[0006] Get the data of the page to be developed;
[0007] Generate a tree data model according to the page data to be developed;
[0008] According to each node data in the tree data model, the corresponding atomic components are respectively obtained for stacking or nesting combination to obtain the target molecular component corresponding to each node data;
[0009] The page data to be developed is rendered according to the target molecular component to generate a presentation document.
[0010] In order to solve the above technical problems, another technical solution adopted by the present invention is:
[0011] A terminal for developing a presentation document comprises a memory, a processor and a computer program stored in the memory and running on the processor. When the processor executes the computer program, each step in the method for developing a presentation document is implemented.
[0012] The beneficial effects of the present invention are as follows: the page data to be developed is abstracted into document data, page data and element data respectively, and a corresponding tree data model is generated, so that each node data can directly obtain the corresponding atomic component according to different rendering requirements for stacking or nested combination to obtain the target molecular component, that is, the target molecular component can achieve the rendering effect of all atomic components, and the combination of the target molecular component and the atomic component can realize local refresh in the presentation document to achieve high-performance rendering. BRIEF DESCRIPTION OF THE DRAWINGS
[0013] Figure 1 A flowchart of a method for developing a presentation document provided by an embodiment of the present invention;
[0014] Figure 2 A schematic diagram of a nested combination of document molecular components provided by an embodiment of the present invention;
[0015] Figure 3 A schematic diagram of a stacking assembly of page molecular components provided by an embodiment of the present invention;
[0016] Figure 4 A schematic diagram of a nested combination of elemental molecular components provided by an embodiment of the present invention;
[0017] Figure 5 A schematic diagram of the structure of a development terminal for a presentation document provided by an embodiment of the present invention;
[0018] Description of labels:
[0019] 201. Memory; 202. Processor. DETAILED DESCRIPTION
[0020] In order to explain the technical content, achieved objectives and effects of the present invention in detail, the following is an explanation in combination with the implementation modes and the accompanying drawings.
[0021] Please refer to Figure 1 The embodiment of the present invention provides a method for developing a presentation document, comprising the steps of:
[0022] Get the data of the page to be developed;
[0023] Generate a tree data model according to the page data to be developed;
[0024] According to each node data in the tree data model, the corresponding atomic components are respectively obtained for stacking or nesting combination to obtain the target molecular component corresponding to each node data;
[0025] The page data to be developed is rendered according to the target molecular component to generate a presentation document.
[0026] From the above description, it can be seen that the beneficial effects of the present invention are: the page data to be developed is abstracted into document data, page data and element data respectively, and a corresponding tree data model is generated, so that each node data can directly obtain the corresponding atomic component according to different rendering requirements for stacking or nested combination to obtain the target molecular component, that is, the target molecular component can achieve the rendering effect of all atomic components, and the local refresh in the presentation document is realized through the combination of the target molecular component and the atomic component, so as to achieve high-performance rendering.
[0027] Furthermore, generating a tree data model according to the page data to be developed includes:
[0028] Abstracting the page data to be developed into document data, page data in the document data, and element data in the page data according to different data dimensions;
[0029] A tree data model is generated based on the relationship between the data dimensions using the document data, page data and element data as node data.
[0030] From the above description, it can be seen that the data of the page to be developed is abstracted into document data, page data and element data according to the data dimensions, and a tree data model is generated with document data, page data and element data as node data, so that the rendering requirements of the page data to be developed can be distinguished, which is convenient for directly obtaining the atomic components corresponding to the rendering effect for stacking or nesting, thereby improving the development efficiency of the presentation document.
[0031] Furthermore, the step of obtaining the corresponding atomic components according to each node data in the tree data model for stacking or nesting combination to obtain the target molecular components corresponding to each node data includes:
[0032] Obtaining data of each node in the tree data model;
[0033] If the node data is document data, then the document atomic components are obtained for nested combination to obtain document molecular components;
[0034] If the node data is page data, obtain page atomic components, stack and combine them to obtain page molecular components;
[0035] If the node data is element data, element atomic components are obtained for nested combination to obtain element molecular components.
[0036] From the above description, it can be seen that the rendering requirements for document data, page data and element data are different. Therefore, the molecular components are obtained by obtaining the specified atomic components through the corresponding data, so that the rendering requirements of each node data are independent, thereby improving development efficiency and achieving local rendering.
[0037] Further, the document atomic component includes a component corresponding to a document-level event;
[0038] The document atomic components are obtained and nested to obtain the document molecular components:
[0039] If the component corresponding to the acquired document-level event is a switching animation component, then the current page data before turning the page and the next page data after turning the page in the document data are acquired;
[0040] Acquire the corresponding page sub-component according to the current page data and the next page data;
[0041] Embedding the page subcomponent into the switching animation component at the same time to obtain a nested switching animation component;
[0042] The nested switching animation component is embedded in a preset document component framework to obtain a document molecular component.
[0043] From the above description, it can be seen that since the page turning animation requires the current page and the next page to play animation at the same time, the document molecule component contains the page molecule component of the current page data and the page molecule component of the next page data to achieve the effect of switching animation when the document is turned.
[0044] Furthermore, the page atomic components include a temporary layer component, a selection box component, a graphic layer component, a background component, and an event receiving component;
[0045] The page atomic components are obtained and stacked to obtain the page molecular components:
[0046] Obtain the temporary layer component, the selection box component, the graphic layer component, the background component and the event receiving component;
[0047] Embedding the element molecule component into the graphic layer component to obtain a nested graphic layer component;
[0048] The temporary layer component, the selection box component, the nested graphic layer component, the background component and the event receiving component are stacked in sequence from top to bottom to obtain a page sub-component.
[0049] From the above description, it can be seen that page molecular components are stacked and combined through hierarchical components. When the change frequencies of each level are different, if only one level needs to be changed, there is no need to redraw other levels, so as to achieve the purpose of high-performance rendering.
[0050] Further, the element atomic component includes a component corresponding to the element level event;
[0051] The element atomic components are obtained by nesting and combining to obtain the element molecular components:
[0052] If the component corresponding to the acquired element-level event is an animation effect component and a transformation component, then acquiring a content component, and embedding the content component into the transformation component to obtain a nested transformation component;
[0053] Embedding the nested transformation component into the animation effect component to obtain a nested animation effect component;
[0054] The nested animation effect component is embedded in a preset element component framework to obtain an element molecule component.
[0055] From the above description, it can be seen that by directly nesting content components with animation effect components and change components, there is no need to design animation effects or transformation operations separately for each content component to achieve high-performance rendering effects.
[0056] Furthermore, the step of rendering the page data to be developed according to the target molecular component to generate a presentation document includes:
[0057] The document data, page data and element data are rendered respectively according to the document molecular component, page molecular component and element molecular component to obtain a presentation document.
[0058] From the above description, it can be seen that by obtaining the various rendering requirements of abstract pages or elements, atomic components are stacked or nested to obtain document molecular components, page molecular components and element molecular components, and then a molecular component is partially refreshed according to the changes in different rendering requirements to achieve high-performance rendering effects.
[0059] Furthermore, it also includes:
[0060] Receive page control instructions;
[0061] The presentation document is updated and rendered through the page subcomponent according to the page control instruction.
[0062] As can be seen from the above description, the page control instructions can be processed level by level through the page molecular component, and the page control instructions can be transferred to the specified element molecular component to achieve local refresh and improve rendering performance.
[0063] Further, the graphic layer component includes a temporary layer sub-component and a persistent layer sub-component;
[0064] The embedding of the element molecule component into the graphic layer component to obtain the nested graphic layer component comprises:
[0065] Determine whether the element molecule component is executing a page control instruction, and if so, embed the element molecule component into the temporary layer subcomponent;
[0066] Otherwise, the element molecule component is embedded in the persistence layer subcomponent.
[0067] As can be seen from the above description, when an element molecule component executes a page control instruction, the element molecule component needs to be frequently redrawn, which will cause other element molecule components in the graphic layer component that do not execute the page control instruction to be redrawn together, resulting in many unnecessary redraws. The present invention embeds the element molecule component that is executing the page control instruction into the temporary layer subcomponent, thereby avoiding the redrawing of the element molecule component in the persistent layer subcomponent that does not execute the page control instruction when it is redrawn, thereby improving the rendering performance.
[0068] Please refer to Figure 5 Another embodiment of the present invention provides a development terminal for a presentation document, comprising a memory, a processor, and a computer program stored in the memory and running on the processor, wherein the processor implements each step in the above-mentioned method for developing a presentation document when executing the computer program.
[0069] From the above description, it can be seen that the beneficial effect of the present invention is that the page data to be developed is abstracted into document data, page data and element data respectively, and a corresponding tree data model is generated, so that each node data can directly obtain the corresponding atomic component according to different rendering requirements for stacking or nesting combination to obtain the target molecular component, that is, the target molecular component can achieve the rendering effect of all atomic components, and the combination of the target molecular component and the atomic component can realize local refresh in the presentation document to achieve high-performance rendering. .
[0070] The embodiment of the present invention provides a method and terminal for developing a presentation document, which can be used to edit, demonstrate and play slides, develop presentation documents, implement partial refresh rendering, and improve development efficiency. The following is an explanation through a specific embodiment:
[0071] Please refer to Figures 1 to 4 , Embodiment 1 of the present invention:
[0072] A method for developing a presentation document, comprising the steps of:
[0073] S1. Obtain data of the page to be developed.
[0074] In this embodiment, the page data to be developed is a demonstration document.
[0075] S2. Generate a tree data model according to the page data to be developed.
[0076] Specifically, S2 includes:
[0077] S21, abstracting the page data to be developed into document data (Document), page data (Page) in the document data (Document), and element data (Shape) in the page data (Page) according to different data dimensions.
[0078] It should be noted that the document data (Document) includes basic data related to the document, such as the document name, presentation size, and all page data contained in the document. The page data (Page) includes basic data related to the page, such as all element data contained in the page, page background, page turning animation, etc. The element data (Shape) includes all information related to the element, such as element transformation information, element size, and element animation; specifically, the element data (Shape) is an abstract class that can be expanded to hold the content required by different types of elements, including text, graphics, pictures, videos, and audio.
[0079] S22, using the document data (Document), page data (Page) and element data (Shape) as node data to generate a tree data model according to the relationship of the data dimensions.
[0080] It should be noted that the data dimensions include document level, page level and element level. In the embodiment, the relationship of the data dimensions is specifically document level-page level-element level, that is, a tree data model is generated with document data (Document) as the root node, document data (Document) as the parent node of page data (Page), and page data (Page) as the parent node of element data (Shape).
[0081] S3. Obtain corresponding atomic components according to each node data in the tree data model, perform stacking combination or nested combination, and obtain the target molecular component corresponding to each node data.
[0082] Specifically, S3 includes:
[0083] S31, obtaining data of each node in the tree data model.
[0084] S32: If the node data is document data (Document), then the document atomic components are obtained for nested combination to obtain document molecular components (DocumentWidget), wherein the document atomic components include components corresponding to document-level events.
[0085] It should be noted that the document atomic component is a component that obtains corresponding rendering requirements based on the page data being edited / demonstrated in the current document.
[0086] In an optional embodiment, if Figure 2 As shown, the component corresponding to the acquired document-level event is the switching animation component (PageAnimationWidget), and the S32 is specifically:
[0087] S321, obtaining the current page data (current Page) before turning the page and the next page data (next Page) after turning the page in the document data (Document).
[0088] S322. Obtain the corresponding page subcomponents (current PageWidget and next PageWidget) according to the current page data (current Page) and the next page data (next Page).
[0089] S323. Embed the page sub-components (current PageWidget and next PageWidget) into the switching animation component (PageAnimationWidget) at the same time to obtain a nested switching animation component (PageAnimationWidget).
[0090] S324, embedding the nested switching animation component (PageAnimationWidget) into a preset document component framework to obtain a document molecular component (DocumentWidget).
[0091] It should be noted that the default state of the preset document component framework is empty.
[0092] In this embodiment, since the page turning animation requires the current page and the next page to play animation effects at the same time, the page subcomponent of the current page (current PageWidget) and the page subcomponent of the next page (next PageWidget) need to be included in the switching animation component (PageAnimationWidget) to achieve page turning animation rendering. For example, the page subcomponent PageWidget of the first page fades out, and the page subcomponent PageWidget of the second page fades in, and the two page subcomponents are combined to achieve the effect of animated page turning.
[0093] S33, if the node data is page data (Page), then obtain page atomic components for stacking and combining to obtain page molecular components (PageWidget). Wherein, the page atomic components include temporary layer components, selection box components, graphic layer components, background components and event receiving components.
[0094] like Figure 3 As shown, the S33 is specifically:
[0095] S331. Obtain the temporary layer component, the selection box component, the graphic layer component, the background component and the event receiving component.
[0096] It should be noted that the temporary layer component, the selection box component, the graphic layer component, the background component and the event receiving component are consistent in size and position.
[0097] S332. Embed the element molecule component (ShapesWidget) into the graphics layer component to obtain a nested graphics layer component.
[0098] S333, stacking the temporary layer component, the check box component, the nested graphic layer component, the background component and the event receiving component from top to bottom to obtain a page subcomponent (PageWidget).
[0099] It should be noted that the order of hierarchical division based on business display is referred to from top to bottom, that is, the display priority of temporary layer components > the display priority of selected box components > the display priority of graphic layer components > the display priority of background components > the display priority of event receiving components.
[0100] The page molecule component (PageWidget) is used to display all the contents inside the page. The temporary layer component is mainly used for the content of temporary user operations, such as: the selection box selected by the user. The check box component (also known as the anchor component) is mainly used to render the check box and anchor after the element molecule component is selected, and to handle events such as anchor dragging. The graphic layer component is used to display the content of all element molecule components in the page; among them, the persistent layer subcomponent is used to render the element molecule components that are not currently operated by the user; the temporary layer subcomponent is used to render the element molecule components that are currently being operated by the user; for example: when the user starts the operation, when an element molecule component is selected and dragged, the element molecule component will be moved to the temporary layer subcomponent, and the element molecule component will be put back to the persistent layer subcomponent after the operation ends; and when the user operation event is executed by the graphic layer component, the event will be passed to the element molecule component for processing. The background component is used to render the page background of the presentation document. The event receiving component is used to receive events that are not processed by the above layers, such as: events of clicking on a blank space on the page.
[0101] S34, if the node data is element data (Shape), then obtain element atomic components for nested combination to obtain element molecular components (ShapesWidget). The element atomic components include components corresponding to element-level events.
[0102] It should be noted that the element molecule component (ShapesWidget) contains the content that an element needs to render and is used to display the content of the page element.
[0103] In an optional embodiment, if Figure 4 As shown, the components corresponding to the acquired element-level events are animation effect components and transformation components, and the S34 is specifically as follows:
[0104] S341. Obtain a content component, and embed the content component into the transformation component to obtain a nested transformation component.
[0105] The content component is an abstract type of component, and its subclasses can implement different types of elements, such as common presentation elements such as text, graphics, pictures, videos, and audio.
[0106] The transformation component is used to transform (for example, move / rotate / scale, etc.) the element currently to be displayed to a specified position.
[0107] S342: Embed the nested transformation component into the animation effect component to obtain a nested animation effect component.
[0108] The animation effect component is used to express the animation effect of the element, for example, fade-in / fade-out / flash-in animations. Different animation effects can be achieved by embedding different types of elements into corresponding types of animation effect components.
[0109] S343, embedding the nested animation effect component into a preset element component framework to obtain an element molecule component (ShapesWidget).
[0110] It should be noted that the default state of the preset element component framework is empty.
[0111] S4. Rendering the to-be-developed page data according to the target molecular component to generate a presentation document.
[0112] Specifically, the S4 includes:
[0113] S41. Render the document data (Document), page data (Page) and element data (Shape) according to the document molecular component (DocumentWidget), page molecular component (PageWidget) and element molecular component (ShapesWidget) respectively to obtain a presentation document.
[0114] It should be noted that the node data is document data (Document), which is rendered by the document widget (DocumentWidget);
[0115] The multiple page data (Page) under the document data are rendered by a page subcomponent (PageWidget);
[0116] The multiple element data (Shape) under the page data are rendered by the element molecular component (ShapesWidget).
[0117] The method further includes:
[0118] S5, receiving page control instructions;
[0119] S6. Update and render the presentation document through the page widget according to the page control instruction.
[0120] It should be noted that the page control instruction is a user operation, such as a touch instruction of the screen, etc. The page control instruction is passed from top to bottom in the page subcomponent, and each level component in the page subcomponent (PageWidget) will determine whether it can process the page control instruction. If it cannot process the page control instruction, it will continue to be passed downward.
[0121] Specifically: when the page control instruction is for the user to drag the anchor point to enlarge the element molecule component, the page control instruction is passed to the selection box component for execution and is no longer passed down. When the page control instruction is passed to the graphic layer component, the page control instruction is passed to each element molecule component in the graphic layer component in turn for processing. If the element molecule component can process it, the instruction is completed and the page control instruction is no longer passed down; for example, if the page control instruction is to select a piece of text, the instruction can be executed in the element molecule component whose content component (element) is a text box. If the background component does not process the instruction, the page control instruction is passed directly down in the background component. The event receiving component plays a role in event protection. For example, if the instruction falls in a blank area, the selection status of all element molecule components is canceled.
[0122] Specifically, in the page subcomponent (PageWidget), the graphic layer component includes a temporary layer subcomponent and a persistent layer subcomponent, and the S332 includes:
[0123] S3321. Determine whether the element molecule component (ShapesWidget) is executing a page control instruction. If so, execute step A1; otherwise, execute step A2.
[0124] Step A1: embed the element molecule component (ShapesWidget) into the temporary layer subcomponent.
[0125] Step A2: embed the element molecule component (ShapesWidget) into the persistence layer subcomponent.
[0126] In this embodiment, when the content component is triggered to perform animation display, the content component can be directly embedded in the animation effect component to achieve the animation effect.
[0127] It should be noted that the method for developing a presentation document can be developed based on the Flutter framework.
[0128] Embodiment 2 of the present invention:
[0129] With respect to the method for developing a presentation document described in Example 1, its application in Flutter is further described:
[0130] You can directly use the stacking structure (temporary layer components, selection box components, graphic layer components, background components, and event receiving components), animation effect components, transformation components, content components, etc. in Flutter as atomic components, and then stack or nest the above atomic components according to the pre-abstracted data of different dimensions. Finally, use the tree data model in Flutter to synthesize the data of different dimensions into layers and render them to generate a presentation document.
[0131] In this way, while implementing a method for developing a presentation document in Embodiment 1, the cross-platform consistency of the Flutter framework can be utilized to enable the presentation document to be rendered across platforms.
[0132] In this embodiment, the content component, i.e., the element, is driven by the AnimationController class, the Animation class, and the TickerProviderStateMixin class in the Flutter framework to play the animation and achieve different animation effects. Among them, the AnimationController class is the animation controller of the Flutter framework, which controls the playback behavior of the animation, such as play, reverse play, stop, etc. The Animation class is a class in the Flutter framework that holds the animation state, such as whether the saved animation playback is complete. The TickerProviderStateMixin class is used in conjunction with the component to provide a vertical synchronization signal for each frame of animation.
[0133] In this embodiment, if the content component (element) is to implement the moving-in animation, it is implemented by the Transform class and the Opacity class in the Flutter framework and the content component; wherein Transform controls the position of the element; Opacity controls the transparency of the element;
[0134] Specifically, the vertical synchronization signal transmitted by the TickerProviderStateMixin class is used to change the Transform data in each frame to achieve the animation effect of the element moving in; at the same time, the Opacity is changed in each frame to change the transparency of the element. Combining the above two effects, the animation effect of the element moving in and gradually appearing is achieved. The content component (element) implements the fade-out animation, which is similar to the principle of the moving-in animation and is achieved by changing the transparency of the Opacity.
[0135] Please refer to Figure 5 , Embodiment 3 of the present invention:
[0136] A terminal for developing a presentation document comprises a memory 201, a processor 202 and a computer program stored in the memory 201 and running on the processor 202. When the processor 202 executes the computer program, each step in a method for developing a presentation document described in Example 1 is implemented.
[0137] In summary, the present invention provides a method and terminal for developing a presentation document, abstracting the page data to be developed into document data, page data and element data respectively, and generating a corresponding tree data model, so that each node data can directly obtain the corresponding atomic component according to different rendering requirements for stacking or nesting combination to obtain the target molecular component, and can form pages / elements of different styles according to different requirements, that is, the target molecular component can achieve the rendering effect of all atomic components. A layered component stacking combination is adopted in the page molecular component to realize that when the components of each level have different change frequencies, there is no need to redraw other levels; at the same time, each element molecular component in the page molecular component is embedded in the temporary layer subcomponent and the persistent layer subcomponent according to whether the page control instruction is executed; when the user redraws an element molecular component, there is no need to redraw other element molecular components on the same level, and high-performance rendering is achieved. And by abstracting the target molecular component and the atomic component combination, a local refresh is realized in the Flutter (an open source cross-platform development framework) presentation document, and the rendering efficiency is further improved. At the same time, the presentation document developed based on Flutter has cross-platform consistency, so that the page can achieve cross-platform rendering.
[0138] The above descriptions are merely embodiments of the present invention and are not intended to limit the patent scope of the present invention. Any equivalent transformations made using the contents of the present invention's specification and drawings, or directly or indirectly applied in related technical fields, are also included in the patent protection scope of the present invention.
Claims
1. A method for developing a presentation document, characterized in that: Includes steps: Get the data of the page to be developed; Generate a tree data model according to the page data to be developed; According to each node data in the tree data model, the corresponding atomic components are respectively obtained for stacking or nesting combination to obtain the target molecular component corresponding to each node data; The page data to be developed is rendered according to the target molecular component to generate a presentation document.
2. A method for developing a presentation document according to claim 1, characterized in that: The generating of the tree data model according to the page data to be developed comprises: Abstracting the page data to be developed into document data, page data in the document data, and element data in the page data according to different data dimensions; A tree data model is generated based on the relationship between the data dimensions using the document data, page data and element data as node data.
3. A method for developing a presentation document according to claim 2, characterized in that: The step of obtaining the corresponding atomic components according to each node data in the tree data model for stacking or nesting combination to obtain the target molecular component corresponding to each node data includes: Obtaining data of each node in the tree data model; If the node data is document data, then the document atomic components are obtained for nested combination to obtain document molecular components; If the node data is page data, obtain page atomic components, stack and combine them to obtain page molecular components; If the node data is element data, element atomic components are obtained for nested combination to obtain element molecular components.
4. A method for developing a presentation document according to claim 3, characterized in that: The document atomic components include components corresponding to document-level events; The document atomic components are obtained and nested to obtain the document molecular components: If the component corresponding to the acquired document-level event is a switching animation component, then the current page data before turning the page and the next page data after turning the page in the document data are acquired; Acquire the corresponding page sub-component according to the current page data and the next page data; Embedding the page subcomponent into the switching animation component at the same time to obtain a nested switching animation component; The nested switching animation component is embedded in a preset document component framework to obtain a document molecular component.
5. A method for developing a presentation document according to claim 3, characterized in that: The page atomic components include a temporary layer component, a selection box component, a graphic layer component, a background component and an event receiving component; The page atomic components are obtained and stacked to obtain the page molecular components: Obtain the temporary layer component, the selection box component, the graphic layer component, the background component and the event receiving component; Embedding the element molecule component into the graphic layer component to obtain a nested graphic layer component; The temporary layer component, the selection box component, the nested graphic layer component, the background component and the event receiving component are stacked in sequence from top to bottom to obtain a page sub-component.
6. A method for developing a presentation document according to claim 3, characterized in that: The element atomic component includes a component corresponding to the element level event; The element atomic components are obtained by nesting and combining to obtain the element molecular components: If the component corresponding to the acquired element-level event is an animation effect component and a transformation component, then acquiring a content component, and embedding the content component into the transformation component to obtain a nested transformation component; Embedding the nested transformation component into the animation effect component to obtain a nested animation effect component; The nested animation effect component is embedded in a preset element component framework to obtain an element molecule component.
7. A method for developing a presentation document according to claim 3, characterized in that: The rendering of the to-be-developed page data according to the target molecular component to generate a presentation document comprises: The document data, page data and element data are rendered respectively according to the document molecular component, page molecular component and element molecular component to obtain a presentation document.
8. A method for developing a presentation document according to claim 1, characterized in that: Also includes: Receive page control instructions; The presentation document is updated and rendered through the page subcomponent according to the page control instruction.
9. A method for developing a presentation document according to claim 5, characterized in that: The graphics layer component includes a temporary layer subcomponent and a persistent layer subcomponent; The embedding of the element molecule component into the graphic layer component to obtain the nested graphic layer component comprises: Determine whether the element molecule component is executing a page control instruction, and if so, embed the element molecule component into the temporary layer subcomponent; Otherwise, the element molecule component is embedded in the persistence layer subcomponent.
10. A development terminal for presentation documents, comprising a memory, a processor, and a computer program stored in the memory and running on the processor, characterized in that: When the processor executes the computer program, the processor implements the various steps in the method for developing a presentation document as described in any one of claims 1 to 9.