CN115510347A - Presentation file conversion method and device, electronic equipment and storage medium - Google Patents

Presentation file conversion method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN115510347A
CN115510347A CN202211176863.5A CN202211176863A CN115510347A CN 115510347 A CN115510347 A CN 115510347A CN 202211176863 A CN202211176863 A CN 202211176863A CN 115510347 A CN115510347 A CN 115510347A
Authority
CN
China
Prior art keywords
page
description
presentation
file
converting
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202211176863.5A
Other languages
Chinese (zh)
Inventor
王晓
黄瑞民
赵文杰
刘帅
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Century TAL Education Technology Co Ltd
Original Assignee
Beijing Century TAL Education Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Century TAL Education Technology Co Ltd filed Critical Beijing Century TAL Education Technology Co Ltd
Priority to CN202211176863.5A priority Critical patent/CN115510347A/en
Publication of CN115510347A publication Critical patent/CN115510347A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/957Browsing optimisation, e.g. caching or content distillation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/12Use of codes for handling textual entities
    • G06F40/151Transformation
    • G06F40/154Tree transformation for tree-structured or markup documents, e.g. XSLT, XSL-FO or stylesheets

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Databases & Information Systems (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Computational Linguistics (AREA)
  • General Health & Medical Sciences (AREA)
  • Health & Medical Sciences (AREA)
  • Artificial Intelligence (AREA)
  • Data Mining & Analysis (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The present disclosure provides a conversion method, an apparatus, an electronic device and a storage medium for presentation, wherein the method comprises: acquiring a presentation to be converted; analyzing each page in the presentation based on an Open XML library to generate description information corresponding to each page; sequentially inserting the description information corresponding to each page into a blank conversion file according to the page index to generate a description file; analyzing the description file according to a preset analysis rule to acquire a web display object corresponding to each page and attribute information of the web display object; rendering is carried out based on the web display object and the attribute information corresponding to each page, and each page is displayed in the browser webpage. The scheme realizes that the presentation is converted into the document which can be displayed in the browser, so that the presentation can be opened and displayed in the browser, the electronic equipment does not need to install office software, and the obstacle that the opening of the presentation depends on the office software is broken through.

Description

Presentation file conversion method and device, electronic equipment and storage medium
Technical Field
The present disclosure relates to the field of computer application technologies, and in particular, to a method and an apparatus for converting a presentation, an electronic device, and a storage medium.
Background
The presentation is widely applied to scenes such as multimedia teaching, meetings and the like, can show various characters, diagrams, graphs, sounds and the like in a slide way, and has the showing effects of excellent sound and shape and luxuriant pictures and texts.
When a user opens a presentation on electronic equipment such as a computer and a mobile phone, office software needs to be installed in the electronic equipment for opening, so that the presentation of the presentation cannot be separated from the office software.
Disclosure of Invention
In order to solve the technical problems or at least partially solve the technical problems, embodiments of the present disclosure provide a presentation conversion method, an apparatus, an electronic device, and a storage medium.
According to an aspect of the present disclosure, there is provided a method of converting a presentation, including:
acquiring a presentation to be converted;
analyzing each page in the presentation based on an Open XML library to generate description information corresponding to each page;
inserting the description information corresponding to each page into a blank conversion file according to the page index sequence to generate a description file;
analyzing the description file according to a preset analysis rule to acquire a web display object corresponding to each page and attribute information of the web display object;
rendering is carried out based on the web display object corresponding to each page and the attribute information, and each page is displayed in a browser webpage.
According to another aspect of the present disclosure, there is provided a conversion apparatus of a presentation, including:
the acquisition module is used for acquiring the presentation to be converted;
the first generation module is used for analyzing each page in the presentation based on an Open XML library and generating description information corresponding to each page;
the second generation module is used for sequentially inserting the description information corresponding to each page into the blank conversion file according to the page index to generate a description file;
the analysis module is used for analyzing the description file according to a preset analysis rule so as to obtain a web display object corresponding to each page and attribute information of the web display object;
and the rendering and displaying module is used for rendering based on the web display object corresponding to each page and the attribute information and displaying each page in a browser webpage.
According to another aspect of the present disclosure, there is provided an electronic device including:
a processor; and
a memory for storing a program, wherein the program is stored in the memory,
wherein the program comprises instructions which, when executed by the processor, cause the processor to perform the method of converting a presentation according to the preceding aspect.
According to another aspect of the present disclosure, there is provided a non-transitory computer readable storage medium storing computer instructions for causing the computer to perform the method of converting a presentation according to the foregoing aspect.
According to another aspect of the present disclosure, there is provided a computer program product comprising a computer program, wherein the computer program, when executed by a processor, implements the method of converting a presentation of the aforementioned aspect.
According to one or more technical solutions provided in the embodiments of the present disclosure, a presentation to be converted is acquired, each page in the presentation is analyzed based on an Open XML library, description information corresponding to each page is generated, the description information corresponding to each page is sequentially inserted into a blank conversion file according to a page index, a description file is generated, the description file is further analyzed according to a preset analysis rule, so as to acquire a web display object corresponding to each page and attribute information of the web display object, rendering is performed based on the web display object corresponding to each page and the attribute information, and each page is displayed in a browser webpage. By adopting the scheme, the demonstration manuscript is converted into the document which can be displayed in the browser, so that the demonstration manuscript can be opened and displayed in the browser, the electronic equipment does not need to install the office software, and the obstacle that the opening of the demonstration manuscript depends on the office software is broken through.
Drawings
Further details, features and advantages of the disclosure are disclosed in the following description of exemplary embodiments, taken in conjunction with the accompanying drawings, in which:
fig. 1 illustrates a flowchart of a presentation conversion method according to an exemplary embodiment of the present disclosure;
FIG. 2 is a diagram illustrating a translation management unit invoking a translation kernel in an exemplary embodiment of the present disclosure;
FIG. 3 is a schematic diagram illustrating the operation of a parsing and rendering service module according to an exemplary embodiment of the present disclosure;
FIG. 4 is a schematic illustration of parsing with a separate page processing thread in accordance with an exemplary embodiment of the present disclosure;
FIG. 5 is a schematic flowchart illustrating a process of parsing page data and associated data by a page processing thread according to an exemplary embodiment of the present disclosure;
fig. 6 shows a schematic block diagram of a conversion apparatus of a presentation according to an exemplary embodiment of the present disclosure;
FIG. 7 illustrates a block diagram of an exemplary electronic device that can be used to implement embodiments of the present disclosure.
Detailed Description
Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While certain embodiments of the present disclosure are shown in the drawings, it is to be understood that the present disclosure may be embodied in various forms and should not be construed as limited to the embodiments set forth herein, but rather are provided for a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the disclosure are for illustration purposes only and are not intended to limit the scope of the disclosure.
It should be understood that the various steps recited in the method embodiments of the present disclosure may be performed in a different order, and/or performed in parallel. Moreover, method embodiments may include additional steps and/or omit performing the illustrated steps. The scope of the present disclosure is not limited in this respect.
The term "include" and variations thereof as used herein are open-ended, i.e., "including but not limited to". The term "based on" is "based, at least in part, on". The term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one additional embodiment"; the term "some embodiments" means "at least some embodiments". Relevant definitions for other terms will be given in the following description. It should be noted that the terms "first", "second", and the like in the present disclosure are only used for distinguishing different devices, modules or units, and are not used for limiting the order or interdependence relationship of the functions performed by the devices, modules or units.
It is noted that references to "a", "an", and "the" modifications in this disclosure are intended to be illustrative rather than limiting, and that those skilled in the art will recognize that "one or more" may be used unless the context clearly dictates otherwise.
The names of messages or information exchanged between devices in the embodiments of the present disclosure are for illustrative purposes only, and are not intended to limit the scope of the messages or information.
The following describes a presentation conversion method, an apparatus, an electronic device, and a storage medium provided by the present disclosure with reference to the drawings.
With the popularity of the internet, especially in the age of mobile internet, documents have gradually transitioned from offline production, storage and delivery to full-flow online circulation. For online manufactured pptx documents, if the pptx documents are to be opened and edited on some devices (such as mobile phones, tablet computers, etc.), corresponding office software or services need to be installed for opening, which is very unfriendly for the propagation of the pptx documents and has poor user experience.
In addition, the existing solutions for converting pptx documents generally have some problems, such as: the converted document only supports simple preview and play, and does not support editing and modifying the document; the existing conversion scheme is realized based on office software or a third-party office plug-in, the requirement on the environment is high, and the conversion efficiency is low; the converted document is a universal hypertext Markup Language (HTML) file, which cannot protect data from the format level and is not beneficial to authorization management.
In order to solve the above problems, the present disclosure provides a method for converting a presentation, in which a presentation is converted into a description file (such as a json file) in a custom format, and the description file is parsed by using a custom parsing rule to display the content of the presentation on a browser, so that the presentation does not depend on office software, can be opened and displayed on the browser platform-independently, and a barrier that opening a pptx document depends on office software is broken through; the converted data is stored in a self-defined data format and is analyzed and rendered by depending on independently developed analysis and rendering services, and the converted content is effectively protected from a format level, so that the converted content is safe and controllable and is beneficial to directional authorization; the pptx document is directly analyzed by using an Open XML library on a net platform, no third-party plug-in or office software is relied on, the requirement on the environment is low, the conversion speed is high, the efficiency is high, and the conversion process is autonomous and controllable; the converted data is imported into the self-developed web version editor to realize secondary editing and modification of the content, the original pptx document is completely separated, the converted display content is edited in the browser, and the convenience of editing the pptx document is improved.
Fig. 1 shows a flowchart of a presentation conversion method according to an exemplary embodiment of the present disclosure, which may be performed by a presentation conversion apparatus, where the apparatus may be implemented in software and/or hardware, and may be generally integrated in an electronic device, which includes a mobile phone, a tablet computer, a server, and the like, and on which office software may not be installed.
As shown in fig. 1, the method for converting a presentation may include the following steps:
step 101, obtaining a presentation to be converted.
Illustratively, when the conversion method of the presentation is applied to a user terminal device such as a mobile phone or a tablet computer, the presentation to be converted may be a ppt document or a pptx document in which a user currently performs an open operation. For example, if a user selects a presentation named "a.pptx" on a computer and performs an open operation on the presentation, the presentation may be acquired as a presentation to be converted.
Illustratively, when the presentation conversion method of the present disclosure is applied to a server, the presentation to be converted may be any ppt document or pptx document that needs to be converted and acquired from the background. The server is provided with a conversion management unit for acquiring and managing conversion tasks, and returning results and notifying the outside. The conversion management unit downloads the presentation files to be converted from the background, calls the conversion core program to perform document conversion, and manages the conversion process and the conversion result. Exemplarily, fig. 2 is a schematic diagram of a conversion management unit calling a conversion kernel in an exemplary embodiment of the present disclosure, and as shown in fig. 2, the conversion management unit may call N (N is a positive integer) conversion kernels at the same time to convert N presentations to be converted, so as to improve conversion efficiency and avoid long queuing time of conversion tasks.
And 102, analyzing each page in the presentation based on an Open XML library, and generating description information corresponding to each page.
Generally, a storage and packaging mode of the presentation is based on the Open XML standard, and therefore in the embodiment of the present disclosure, for the obtained presentation to be converted, each page in the presentation may be analyzed based on the Open XML library to generate description information corresponding to each page.
The presentation generally includes a plurality of information such as a template used, layout of different elements in a slide, content, style, position of each element, playing animation of each slide, and the like, and based on an Open XML library, the information can be analyzed from the presentation, and description information corresponding to each page is generated according to the information obtained by analysis.
Illustratively, the template, layout and data of the page itself associated with the page may be parsed from the presentation. Then, sequentially analyzing elements such as texts, pictures, audios, videos, tables, graphs, formulas, shapes, smartArt graphs and the like in the page-associated template to obtain position information, style information, content information and level information of each element, and generating element description objects corresponding to each element according to the information obtained by analysis; analyzing the animation description information in the template, and generating an animation description object according to the obtained information; and determining the obtained element description object and the animation description object as partial description information of the corresponding page. Sequentially analyzing elements such as texts, pictures, audios, videos, tables, graphs, formulas, shapes, smartArt graphs and the like in the layout associated with the page to obtain position information, style information, content information and hierarchy information of each element, and generating an element description object corresponding to each element according to the information obtained by analysis; analyzing the animation description information in the layout associated with the page, and generating an animation description object according to the obtained information; and determining the obtained element description object and the animation description object as partial description information of the corresponding page. Sequentially analyzing elements such as texts, pictures, audios, videos, tables, graphs, formulas, shapes, smartArt graphs and the like in data of the page to obtain position information, style information, content information and hierarchy information of each element, and generating an element description object corresponding to each element according to the information obtained by analysis; analyzing the animation description information in the page, and generating an animation description object according to the obtained information; and determining the obtained element description object and the animation description object as partial description information of the corresponding page. And finally, splicing all the description information associated with the same page to obtain the description information of each page.
And 103, sequentially inserting the description information corresponding to each page into the blank conversion file according to the page index to generate a description file.
The blank conversion file may be preset, or may be generated according to page information of the presentation, which is not limited in this disclosure. The blank conversion file is a file with a preset format, and the preset format includes but is not limited to json format, XML format and the like.
In the embodiment of the present disclosure, in order to facilitate distinguishing description information of different pages, the description information of each page may be identified by using a page index of the page (for example, a page number of the page in the presentation), and then each description information is sequentially inserted into a blank conversion file according to the page index, so as to obtain the description file.
Illustratively, when the blank conversion file is preset, there are usually more blank pages of the blank conversion file, so as to avoid a situation that the blank conversion file cannot write description information of all pages in the presentation. And when the blank pages of the blank conversion file are more than the page number of the presentation, writing the description information of each page into the blank conversion file, and deleting the more blank pages to obtain the description file, wherein the page number of the description file is the same as the page number of the presentation.
And 104, analyzing the description file according to a preset analysis rule to obtain the web display object corresponding to each page and the attribute information of the web display object.
The preset analysis rule is based on a browser and can convert element objects in the description file into web display objects capable of being displayed in the browser.
In the embodiment of the present disclosure, for the element object and the description parameter of each element object recorded in the description file, the element object may be converted into a web presentation object capable of being presented in a browser based on a preset parsing rule, and the description parameter of the element object is used as attribute information of the corresponding web presentation object.
Illustratively, the preset parsing rule may be encapsulated in a custom parsing and rendering service module, which may parse and render the converted description file, and display the rendered page through a browser webpage. Exemplarily, fig. 3 is a schematic diagram of a working process of the parsing and rendering service module according to an exemplary embodiment of the present disclosure, and as shown in fig. 3, the parsing and rendering service module parses and renders a description file obtained by converting a presentation, and displays a rendered page. If the description file contains a storage address (such as a URL link), the matching multimedia resources are obtained from an online resource library (such as a server and a cloud server) according to the storage address during parsing, and the multimedia resources are also displayed in a browser webpage during rendering, where the multimedia resources stored in the online resource library may include pictures, audio, video, artistic words, and the like.
In an optional embodiment of the present disclosure, the converted description file may be used as a storage form of the presentation, so that, for other users who do not obtain an authorization for the parsing and rendering service, even if the users obtain the description file, the contents of the presentation cannot be parsed and rendered according to the description file, and thus, the converted contents are effectively protected from a format level, and the security of the presentation is protected.
And 105, rendering based on the web display object and the attribute information corresponding to each page, and displaying each page in a browser webpage.
In the embodiment of the disclosure, after the description file is analyzed to obtain each web display object and the attribute information of each web display object, rendering may be performed based on the web display object and the attribute information corresponding to each page, and the rendered content is displayed in a browser webpage, thereby realizing displaying of each page of the presentation in the browser.
For example, assuming that the web presentation object is a circle, and the corresponding attribute information includes a position, a radius, and a fill color, when rendering, a circle is generated according to the radius and the fill color, and the circle is presented at a corresponding position in the relevant page in the browser webpage according to the position in the attribute information.
The method for converting the presentation according to the embodiment of the present disclosure includes acquiring a presentation to be converted, parsing each page in the presentation based on an Open XML library to generate description information corresponding to each page, sequentially inserting the description information corresponding to each page into a blank conversion file according to a page index to generate a description file, parsing the description file according to a preset parsing rule to acquire a web display object corresponding to each page and attribute information of the web display object, rendering based on the web display object corresponding to each page and the attribute information, and displaying each page in a browser webpage. By adopting the scheme, the demonstration manuscript is converted into the document which can be displayed in the browser, so that the demonstration manuscript can be opened and displayed in the browser, the electronic equipment does not need to install the office software, and the obstacle that the opening of the demonstration manuscript depends on the office software is broken through.
In an optional embodiment of the present disclosure, parsing each page in the presentation based on an Open XML library, and generating description information corresponding to each page may include:
analyzing each page in the presentation based on an Open XML library to obtain page data and associated data of each page;
and generating description information corresponding to each page based on the page data and the associated data of each page, wherein the description information comprises at least one of element description information and animation description information.
The page data refers to self data contained in slides of the presentation, the associated data refers to template data and layout data associated with the page, and the page data, the template data and the layout data may include, but are not limited to, elements such as characters, pictures, formulas, tables, audio, video, shapes, charts, smartArt graphics and the like in the slides, and may further include animation information, such as a switching animation of the slides and a presentation animation of each element in the slides.
In the embodiment of the disclosure, for a presentation to be converted, each page (slide) in the presentation may be analyzed based on an Open XML library to obtain page data and associated data of each page, and then description information of each page is obtained based on the page data and associated data of each page, where the description information includes at least one of element description information and animation description information.
Illustratively, the page data and the associated data of each page may be placed in an independent page processing thread, and the page data and the associated data are analyzed in the page processing thread to obtain the description information corresponding to each page. Fig. 4 is a schematic diagram of performing parsing by using independent page processing threads according to an exemplary embodiment of the present disclosure, and as shown in fig. 4, page data and associated data of each page obtained by parsing are sent to n (a value of n is consistent with the number of pages) independent page processing threads, one page processing thread parses the page data and associated data of one page, and inserts description information of each page obtained by parsing into a corresponding position of a blank conversion file according to a page index to obtain a description file. The independent page processing thread is used for analyzing the page data and the associated data of the page to obtain the description information of the page, so that the data of a plurality of pages can be analyzed simultaneously, and the analysis efficiency is improved.
Exemplarily, fig. 5 is a schematic flowchart illustrating a process of analyzing page data and associated data by a page processing thread according to an exemplary embodiment of the present disclosure. As shown in fig. 5, in the page processing thread, the text element in the data is analyzed first to generate a text description object, and then the shape element is analyzed to generate a shape description object; and then, sequentially analyzing the picture element, the audio element, the video element, the table element, the chart element, the formula element and the SmartArt graphic element to respectively generate a picture description object, an audio description object, a video description object, a table description object, a chart description object, a formula description object and a SmartArt graphic description object. And finally, generating the description information corresponding to the page according to the element description objects.
It can be understood that, although not shown in fig. 5, the page processing thread also parses animation information in the page data and associated data when parsing the data, resulting in animation description information. The animation description information may be associated with the element description object, for example, if a picture element in a page enters a slide in the form of an animation, the animation description information generated according to the animation is bound to the identifier of the picture, so that the animation description information is associated with the picture description object.
In the embodiment of the disclosure, the page data and the associated data of each page are acquired by analyzing each page in the presentation, and at least one of the element description information and the animation description information corresponding to each page is determined based on the page data and the associated data, so that a data basis is laid for realizing the conversion of the presentation.
Multimedia files such as audio, video, pictures and the like can be inserted into the presentation so as to enrich the content of the presentation. In an optional implementation manner of the present disclosure, when a multimedia file is included in page data and/or associated data of any page of a presentation, the multimedia file included in the page data and/or associated data of any page may be acquired, the multimedia file is stored in a server according to a target file format supported by a browser, a storage address returned by the server is received, and the storage address is determined as element description information corresponding to the multimedia file of any page.
The storage address is used for indicating the storage position of the multimedia file in the server, the storage address can be a URL link, and the corresponding resource file can be obtained from the server by using the storage address. For example, if a third slide of the presentation includes a picture in a target file format supported by the browser, the picture may be directly uploaded to the server, and the server returns a storage address of the picture in the server. After receiving the storage address, the electronic device uses the storage address as part of the picture description information of the picture element in the description information of the third page of slide, and the other part of the picture description information may further include position information, hierarchy information, width and height information, and the like of the picture in the third page of slide. Therefore, when the description file is subsequently analyzed and rendered, the picture can be downloaded from the server according to the storage address in the description information corresponding to the third page slide, the picture is rendered and displayed on the third page in the browser page, and the display position can be determined according to the position information in the picture description information.
Since the multimedia file contained in the page data and/or the associated data may be in any format, which may not be supported by the browser, in this case, the format conversion of the acquired multimedia file is required to convert the format of the multimedia file into the target file format supported by the browser. Thus, in an optional implementation manner of the present disclosure, the storing the multimedia file to the server according to an object file format supported by the browser includes:
judging whether the file format of the multimedia file is the target file format or not, and determining the multimedia file as a target resource file if the file format of the multimedia file is the target file format and the multimedia file can be displayed in a browser; and when the file format of the multimedia file is not the target file format, indicating that the multimedia file cannot be displayed in a browser and transcoding is needed, performing format conversion on the multimedia file, and transcoding the file format of the multimedia file into the target file format to obtain the target resource file in the target file format. For the determined target resource file, the target resource file may be uploaded to the server.
It should be noted that, when transcoding the multimedia file and converting the multimedia file into the target file format supported by the browser, the format conversion can be implemented by using the currently common multimedia format conversion technology, which is not described in detail in this disclosure.
In the embodiment of the disclosure, the multimedia resources in the presentation are uploaded to the server according to the target file format supported by the browser, and the storage address returned by the server is received as the element description information of the multimedia file in the description information, so that data support is provided for displaying the multimedia file in the presentation in the browser webpage.
In an optional implementation of the present disclosure, the matched blank conversion file may be generated according to page information of the presentation. Specifically, by analyzing each page in the presentation based on the Open XML library, the number of pages included in the presentation and the width and height of each page can be obtained, and therefore in the embodiment of the present disclosure, after each page in the presentation is analyzed based on the Open XML library, the number of pages of the presentation and the height and width of each page corresponding to each page can be obtained, and a page description object corresponding to each page is generated according to the number of pages, where the number of page description objects is consistent with the number of pages, the height of the page description object is set as the page height of the corresponding page, and the width of the page description object is set as the page width of the corresponding page. And then, combining the page description objects according to the page index sequence of the corresponding page to generate the blank conversion file.
For example, the blank transition file may be represented as an array, where one element in the array represents a page description object, one page description object corresponds to one slide in the presentation, a first element in the array represents a first slide in the presentation, a second element in the array represents a second slide in the presentation, a third element in the array represents a third slide in the presentation, and so on, and a last element in the array represents a last slide in the presentation. A page description object may also be represented as an array, where an element in the array corresponds to an element description object or an animation description object.
Illustratively, the blank transformation file may be represented as a multi-dimensional matrix, each row represents a page description object for storing an element description object and an animation description object of a page corresponding to the page description object, the number of rows of the matrix is consistent with the number of pages of the presentation, the first row of the matrix represents a first slide in the presentation, the second row of the matrix represents a second slide in the presentation, and so on, the last row of the matrix represents a last slide in the presentation.
Therefore, in the embodiment of the present disclosure, sequentially inserting the description information corresponding to each page into the blank conversion file according to the page index, and generating the description file includes:
and inserting the description information of each page into a page description object corresponding to the page index according to the page index corresponding to the description information to obtain the description file.
In the embodiment of the present disclosure, after the description information matched with each page is obtained, the description information of each page may be inserted into a page description object corresponding to the page index in the blank conversion file according to the page index corresponding to the description information, so as to obtain the description file.
Wherein the page index may be a page number of the page in the presentation.
For example, the blank conversion file may be represented as an array, where an element in the array represents a page description object, the description information corresponding to the first page may be inserted into the first element in the array, the description information corresponding to the second page may be inserted into the second element in the array, and so on, the description information corresponding to the last page may be inserted into the last element in the array, and finally, the description file including the description information of all pages of the presentation is obtained.
In the embodiment of the disclosure, a blank conversion file is generated according to the number of pages of a presentation, the height of each page and the width of each page by acquiring the number of pages of the presentation, the height of each page and the width of each page, and then the description information of each page is inserted into a page description object corresponding to the page index in the blank conversion file according to the page index corresponding to the description information of each page, so as to obtain the description file.
Further, in an optional implementation manner of the present disclosure, when the description file is parsed to obtain the web display objects and the attribute information, a display canvas corresponding to each page description object may be generated according to a height and a width of each page description object in the description file, where the width of the display canvas is consistent with the width of the corresponding page description object, and the height of the display canvas is consistent with the height of the corresponding page description object.
For example, for a first element in the description file, that is, a first page description object, a corresponding presentation canvas is generated according to the height and width of the first page description object, so that the width and height of the presentation canvas are consistent with the first page description object. Because the height and the width of the page description object are consistent with those of the corresponding slide page, the generated display canvas is consistent with that of the first slide in the original presentation, and the reducibility is high.
Then, the description information recorded in each page description object is analyzed to obtain an element (also referred to as an element description object) in each page description object and description parameters of each element, and further, the element in each page description object is converted into a web presentation object, and the description parameters of the element are determined as attribute information of the web presentation object, so as to obtain the web presentation object corresponding to each presentation canvas and the attribute information of the web presentation object.
For example, assuming that an element analyzed from description information recorded in a certain page description object is a circle, and corresponding description parameters include position information, radius information, color information, and content information, the circle is converted into a web presentation object that can be presented in a browser and matches the circle, and the description parameters of the circle are used as attribute information of the web presentation object.
That is to say, in the embodiment of the present disclosure, for the description file, a corresponding number of display canvases are generated according to the height and the width of each page description object, and the size of the display canvases is consistent with the size of the corresponding slides in the presentation. And then analyzing the description information in each page description object to obtain elements and corresponding description parameters contained in the page description object, converting each element into a web display object, and taking the description parameters of the elements as the attribute information of the web display object, thereby obtaining each web display object associated with each display canvas and the attribute information corresponding to each web display object and providing conditions for displaying the presentation in a browser. Therefore, when the rendering display is carried out, the web display object can be rendered based on the attribute information, the web display object generated according to the attribute information is rendered on the display canvas to which the web display object belongs, and then all the display canvases displaying the web display object are sequentially displayed in the webpage of the browser, so that the converted document is displayed in the browser.
In an alternative embodiment of the present disclosure, when converting the element into the web presentation object, the element may be converted into the web presentation object based on the HTML element library.
The HTML element library stores native HTML elements, and the content displayed in the web page can be realized based on at least one HTML element. Therefore, in the embodiment of the present disclosure, each element may be converted based on the HTML element library to obtain a corresponding web presentation object, and the web presentation object is content that can be presented in a web page.
In an alternative embodiment of the present disclosure, when converting an element into a web presentation object, different conversion manners may be employed for different elements. Specifically, when a target HTML element matched with the element exists in the HTML element library, determining the target HTML element as a web display object; and when the target HTML element matched with the element does not exist in the HTML element library, generating a web display object matched with the element based on at least one HTML element in the HTML element library according to a self-defined element conversion rule.
The target HTML element matching the element exists in the HTML element library, and it can be understood that an HTML element describing the same object as the element can be found in the native HTML element, for example, the element is a circle, and an HTML element describing the circle exists in the HTML element library, so that it can be considered that the target HTML element matching the element exists in the HTML element library. The HTML elements in the HTML element library to which elements there are matches may be preset. In addition, the custom element transformation rule is also predefined, such as a transformation rule of a predefined square, a transformation rule of a predefined SmartArt shape, and the like. Whether an object can be generated by combining, overlaying, etc. one or more HTML elements in an HTML element library, and how to combine, overlay, etc. is common knowledge to front-end developers in the art, and therefore the element transformation rules are not described in detail in this disclosure. For example, assuming that the element is a circle and there is a target HTML element matching the circle in the HTML element library, the HTML element describing the circle in the HTML element library may be called as the converted web presentation object. Assuming that the element is a square and no target HTML element matching the square exists in the HTML element library, an element matching the square can be generated as a web presentation object based on at least one HTML element in the HTML element library according to a conversion rule of the custom square.
Because the HTML elements are limited and the customized element conversion rules are also limited, other contents which are not covered by the HTML element library and the customized element conversion rules exist in the presentation file inevitably, and the contents cannot be converted into web display objects, which may cause the problem that the contents cannot be displayed in a browser. In order to solve the above problems, an alternative embodiment of the present disclosure provides a solution, and in particular, an element that can complete conversion based on an HTML element library and a customized element conversion rule may be deployed in a page processing thread as a convertible element, so that convertible content and non-convertible content may be distinguished when a presentation is parsed, and for the convertible content, the convertible content is parsed into a corresponding element and a description parameter; for the contents which are not convertible, the contents are parsed into pictures containing the contents, and the positions of the contents in the page are recorded in the description information as description parameters of the pictures. The picture can be displayed in the browser, so that when the description information is analyzed, the picture can be analyzed into a web display object, the description parameters of the picture are used as the attribute information of the web display object, and when the display is rendered in a webpage of the browser, the non-convertible content in the presentation is displayed in the form of the picture. In addition, the parsed pictures can be uploaded to a server, a storage address returned by the server is received, the storage address serves as a picture description object, and therefore when the description information is parsed, the corresponding pictures are downloaded from the server according to the storage address and serve as web display objects.
In the scheme of the present disclosure, a complete user editing interface is further provided, which includes a corresponding editing toolbar and an operation menu, and can edit characters, pictures, audio, video, animation, and the like in the converted document displayed in the browser webpage, including but not limited to operations such as adding, modifying, deleting, and the like.
For example, the user editing interface may be disposed at the top or the side of the browser webpage, and when rendering and displaying the converted content in the browser webpage, the user editing interface is displayed at the same time, and a user may edit the content displayed in the browser webpage through the user editing interface. Thus, in an alternative embodiment of the present disclosure, the method further comprises:
receiving the editing operation of a user on any page displayed in the browser webpage;
and modifying the description information corresponding to any page in the description file according to the operation object acted by the editing operation and the current parameter of the operation object.
The editing operation includes, but is not limited to, modification, addition, deletion, and the like, and the user may perform the editing operation on the converted content of any page displayed in the browser webpage.
In the embodiment of the present disclosure, when a user performs an editing operation on the display content of any page, the page index of the page, the operation object acted by the editing operation, and the current parameter of the operation object after the user performs the editing operation may be obtained, and then the description information corresponding to the page operated by the user in the description file is modified according to the information.
Illustratively, if a user adds a circle to the third page content displayed in the browser webpage, the description information corresponding to the third page in the description file may be modified, and an element description object is added to the description information corresponding to the third page, where the element description object is a circle, and the description parameters of the element description object may be determined by the relevant information of the circle newly added by the user, including but not limited to the position, radius, color, content, and the like of the circle.
For example, if a user deletes a picture from the content of the first page displayed in the browser webpage, the description information corresponding to the first page in the description file may be modified, and the data related to the picture in the description information corresponding to the first page may be deleted.
For example, if a user modifies a display animation of a picture on a fifth page displayed in a browser webpage, the description information corresponding to the fifth page in the description file may be modified, and the animation description information corresponding to the picture in the description information corresponding to the fifth page may be modified from the original animation description information to new animation description information matching the display animation newly set by the user.
Optionally, a preview function may be further provided in the browser webpage, and when the user clicks a preview, the modified description file may be parsed and rendered again, and the modified conversion content may be rendered and displayed in the browser webpage again.
In the embodiment of the disclosure, by receiving the editing operation of the user on any page displayed in the browser webpage, and modifying the description information corresponding to any page in the description file according to the operation object acted by the editing operation and the current parameter of the operation object, the user can directly edit the converted document by using the editing function provided in the browser webpage, and can correspondingly modify the description file, thereby realizing the editing function of separating from the original presentation, and having good flexibility.
The disclosed exemplary embodiment also provides a conversion device of the presentation. Fig. 6 shows a schematic block diagram of a conversion apparatus of a presentation according to an exemplary embodiment of the present disclosure, and as shown in fig. 6, the conversion apparatus 60 of a presentation includes: an obtaining module 610, a first generating module 620, a second generating module 630, a parsing module 640, and a rendering presentation module 650.
The acquiring module 610 is configured to acquire a presentation to be converted;
a first generating module 620, configured to parse each page in the presentation based on an Open XML library, and generate description information corresponding to each page;
a second generating module 630, configured to sequentially insert the description information corresponding to each page into a blank conversion file according to a page index, so as to generate a description file;
the parsing module 640 is configured to parse the description file according to a preset parsing rule to obtain a web display object corresponding to each page and attribute information of the web display object;
and a rendering and displaying module 650, configured to render based on the web display object and the attribute information corresponding to each page, and display each page in a browser webpage.
Optionally, the first generating module 620 includes:
the acquisition unit is used for analyzing each page in the presentation based on an Open XML library to acquire page data and associated data of each page;
the first generating unit is used for generating description information corresponding to each page based on the page data and the associated data of each page, and the description information comprises at least one of element description information and animation description information.
Optionally, the first generating unit is further configured to:
acquiring the page data and/or the multimedia file contained in the associated data of any page;
storing the multimedia file to a server according to a target file format supported by a browser, and receiving a storage address returned by the server;
and determining the storage address as element description information corresponding to the multimedia file of any page.
Optionally, the first generating unit is further configured to:
judging whether the file format of the multimedia file is the target file format or not;
when the file format of the multimedia file is the target file format, determining the multimedia file as a target resource file;
when the file format of the multimedia file is not the target file format, performing format conversion on the multimedia file to obtain a target resource file in the target file format;
and uploading the target resource file to the server.
Optionally, the presentation converting apparatus 60 further includes:
the information acquisition module is used for acquiring the page number of the presentation, and the page height and the page width corresponding to each page;
a third generating module, configured to generate page description objects corresponding to each page, where the number of the page description objects is consistent with the number of the pages, the height of the page description object is set as the page height of the corresponding page, and the width of the page description object is set as the page width of the corresponding page;
the fourth generation module is used for combining the page description objects according to the page index sequence of the corresponding page to generate the blank conversion file;
and wherein the second generating module 630 is further configured to:
and inserting the description information of each page into a page description object corresponding to the page index according to the page index corresponding to the description information to obtain the description file.
Optionally, the parsing module 640 includes:
a second generating unit, configured to generate, according to each page description object in the description file, a display canvas corresponding to each page description object, where a width of the display canvas is consistent with a width of the corresponding page description object, and a height of the display canvas is consistent with a height of the corresponding page description object;
the analysis unit is used for analyzing the description information recorded in each page description object to acquire elements in each page description object and description parameters of the elements;
and the conversion unit is used for converting the elements in each page description object into web display objects, determining the description parameters of the elements as the attribute information of the web display objects, and obtaining the web display objects corresponding to the display canvas and the attribute information of the web display objects.
Optionally, the conversion unit is further configured to:
and converting the elements based on an HTML element library, and converting the elements into the web display object.
Optionally, the conversion unit is further configured to:
when a target HTML element matched with the element exists in the HTML element library, determining the target HTML element as a web display object;
and when the target HTML element matched with the element does not exist in the HTML element library, generating a web display object matched with the element based on at least one HTML element in the HTML element library according to a self-defined element conversion rule.
Optionally, the presentation converting apparatus 60 further includes:
the receiving module is used for receiving the editing operation of a user on any page displayed in the browser webpage;
and the modification module is used for modifying the description information corresponding to any page in the description file according to the operation object acted by the editing operation and the current parameter of the operation object.
The conversion device for the presentation, which is provided by the embodiment of the disclosure, can execute any conversion method for the presentation, which is applicable to the electronic device, provided by the embodiment of the disclosure, and has corresponding functional modules and beneficial effects of the execution method. Reference may be made to the description of any method embodiment of the disclosure that may not be described in detail in the embodiments of the apparatus of the disclosure.
An exemplary embodiment of the present disclosure also provides an electronic device including: at least one processor; and a memory communicatively coupled to the at least one processor. The memory stores a computer program executable by the at least one processor, the computer program, when executed by the at least one processor, is for causing the electronic device to perform a presentation transformation method according to an embodiment of the present disclosure.
The disclosed exemplary embodiments also provide a non-transitory computer readable storage medium storing a computer program, wherein the computer program, when executed by a processor of a computer, is for causing the computer to perform a presentation transformation method according to an embodiment of the present disclosure.
The exemplary embodiments of the present disclosure also provide a computer program product including a computer program, wherein the computer program, when executed by a processor of a computer, is adapted to cause the computer to perform a method of converting a presentation according to an embodiment of the present disclosure.
Referring to fig. 7, a block diagram of a structure of an electronic device 1100, which may be a server or a client of the present disclosure, which is an example of a hardware device that may be applied to aspects of the present disclosure, will now be described. Electronic device is intended to represent various forms of digital electronic computer devices, such as laptops, desktops, workstations, personal digital assistants, servers, blade servers, mainframes, and other suitable computers. Electronic devices may also represent various forms of mobile devices, such as personal digital processors, cellular telephones, smart phones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions, are meant to be examples only, and are not intended to limit implementations of the disclosure described and/or claimed herein.
As shown in fig. 7, the electronic device 1100 includes a computing unit 1101, which can perform various appropriate actions and processes according to a computer program stored in a Read Only Memory (ROM) 1102 or a computer program loaded from a storage unit 1108 into a Random Access Memory (RAM) 1103. In the RAM 1103, various programs and data necessary for the operation of the device 1100 may also be stored. The calculation unit 1101, the ROM 1102, and the RAM 1103 are connected to each other by a bus 1104. An input/output (I/O) interface 1105 is also connected to bus 1104.
A number of components in electronic device 1100 connect to I/O interface 1105, including: an input unit 1106, an output unit 1107, a storage unit 1108, and a communication unit 1109. The input unit 1106 may be any type of device capable of inputting information to the electronic device 1100, and the input unit 1106 may receive input numeric or character information and generate key signal inputs related to user settings and/or function controls of the electronic device. Output unit 1107 may be any type of device capable of presenting information and may include, but is not limited to, a display, speakers, a video/audio output terminal, a vibrator, and/or a printer. Storage unit 1108 may include, but is not limited to, a magnetic or optical disk. The communication unit 1109 allows the electronic device 1100 to exchange information/data with other devices via a computer network, such as the internet, and/or various telecommunications networks, and may include, but is not limited to, modems, network cards, infrared communication devices, wireless communication transceivers and/or chipsets, such as bluetooth (TM) devices, wiFi devices, wiMax devices, cellular communication devices, and/or the like.
The computing unit 1101 can be a variety of general purpose and/or special purpose processing components having processing and computing capabilities. Some examples of the computing unit 1101 include, but are not limited to, a Central Processing Unit (CPU), a Graphics Processing Unit (GPU), various dedicated Artificial Intelligence (AI) computing chips, various computing units running machine learning model algorithms, a Digital Signal Processor (DSP), and any suitable processor, controller, microcontroller, and so forth. The calculation unit 1101 performs the respective methods and processes described above. For example, in some embodiments, the method of converting a presentation may be implemented as a computer software program tangibly embodied in a machine-readable medium, such as storage unit 1108. In some embodiments, part or all of the computer program may be loaded and/or installed onto the electronic device 1100 via the ROM 1102 and/or the communication unit 1109. In some embodiments, the computing unit 1101 may be configured to perform the method of converting the presentation by any other suitable means (e.g., by means of firmware).
Program code for implementing the methods of the present disclosure may be written in any combination of one or more programming languages. These program codes may be provided to a processor or controller of a general purpose computer, special purpose computer, or other programmable data processing apparatus, such that the program codes, when executed by the processor or controller, cause the functions/operations specified in the flowchart and/or block diagram to be performed. The program code may execute entirely on the machine, partly on the machine, as a stand-alone software package partly on the machine and partly on a remote machine or entirely on the remote machine or server.
In the context of this disclosure, a machine-readable medium may be a tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. The machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
As used in this disclosure, the terms "machine-readable medium" and "computer-readable medium" refer to any computer program product, apparatus, and/or device (e.g., magnetic discs, optical disks, memory, programmable Logic Devices (PLDs)) used to provide machine instructions and/or data to a programmable processor, including a machine-readable medium that receives machine instructions as a machine-readable signal. The term "machine-readable signal" refers to any signal used to provide machine instructions and/or data to a programmable processor.
To provide for interaction with a user, the systems and techniques described here can be implemented on a computer having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to a user; and a keyboard and a pointing device (e.g., a mouse or a trackball) by which a user can provide input to the computer. Other kinds of devices may also be used to provide for interaction with a user; for example, feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form, including acoustic, speech, or tactile input.
The systems and techniques described here can be implemented in a computing system that includes a back-end component (e.g., as a data server), or that includes a middleware component (e.g., an application server), or that includes a front-end component (e.g., a user computer having a graphical user interface or a web browser through which a user can interact with an implementation of the systems and techniques described here), or any combination of such back-end, middleware, or front-end components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: local Area Networks (LANs), wide Area Networks (WANs), and the Internet.
The computer system may include clients and servers. A client and server are generally remote from each other and typically interact through a communication network. The relationship of client and server arises by virtue of computer programs running on the respective computers and having a client-server relationship to each other.

Claims (10)

1. A method of converting a presentation, wherein the method comprises:
acquiring a presentation to be converted;
analyzing each page in the presentation based on an Open XML library to generate description information corresponding to each page;
inserting the description information corresponding to each page into a blank conversion file according to the page index sequence to generate a description file;
analyzing the description file according to a preset analysis rule to acquire a web display object corresponding to each page and attribute information of the web display object;
rendering is carried out based on the web display object corresponding to each page and the attribute information, and each page is displayed in a browser webpage.
2. The method for converting a presentation according to claim 1, wherein the parsing each page in the presentation based on an Open XML library to generate description information corresponding to each page includes:
analyzing each page in the presentation based on an Open XML library to obtain page data and associated data of each page;
and generating description information corresponding to each page based on the page data and the associated data of each page, wherein the description information comprises at least one of element description information and animation description information.
3. The method of converting a presentation as claimed in claim 2, wherein the method further comprises:
acquiring the page data of any page and/or a multimedia file contained in the associated data;
storing the multimedia file to a server according to a target file format supported by a browser, and receiving a storage address returned by the server;
and determining the storage address as element description information corresponding to the multimedia file of any page.
4. The method for converting a presentation as claimed in claim 3, wherein the storing the multimedia file to the server in the target file format supported by the browser comprises:
judging whether the file format of the multimedia file is the target file format or not;
when the file format of the multimedia file is the target file format, determining the multimedia file as a target resource file;
when the file format of the multimedia file is not the target file format, carrying out format conversion on the multimedia file to obtain a target resource file in the target file format;
and uploading the target resource file to the server.
5. The method for converting a presentation of claim 1, wherein after parsing each page in the presentation based on the Open XML library, the method further comprises:
acquiring the number of pages of the presentation, and the page height and the page width corresponding to each page;
generating page description objects corresponding to each page, wherein the number of the page description objects is consistent with the number of the pages, the height of each page description object is set as the page height of the corresponding page, and the width of each page description object is set as the page width of the corresponding page;
combining the page description objects according to the page index sequence of the corresponding page to generate the blank conversion file;
and the inserting the description information corresponding to each page into the blank conversion file according to the page index sequence to generate the description file includes:
and inserting the description information of each page into a page description object corresponding to the page index according to the page index corresponding to the description information to obtain the description file.
6. The method for converting a presentation according to claim 5, wherein the parsing the description file according to a preset parsing rule to obtain the web presentation object corresponding to each page and the attribute information of the web presentation object includes:
generating a display canvas corresponding to each page description object according to the height and the width of each page description object in the description file, wherein the width of the display canvas is consistent with the width of the corresponding page description object, and the height of the display canvas is consistent with the height of the corresponding page description object;
analyzing the description information recorded in each page description object to acquire elements in each page description object and description parameters of the elements;
and converting the elements in each page description object into web display objects, determining the description parameters of the elements as the attribute information of the web display objects, and obtaining the web display objects corresponding to each display canvas and the attribute information of the web display objects.
7. The method of converting a presentation as claimed in claim 6, wherein said converting the element into a web presentation object comprises:
and converting the elements based on an HTML element library, and converting the elements into the web display object.
8. The method of claim 7, wherein transforming the element based on the library of HTML elements to transform the element into the web presentation object comprises:
when a target HTML element matched with the element exists in the HTML element library, determining the target HTML element as a web display object;
and when the target HTML element matched with the element does not exist in the HTML element library, generating a web display object matched with the element based on at least one HTML element in the HTML element library according to a self-defined element conversion rule.
9. The method of converting a presentation of any one of claims 1-8, wherein the method further comprises:
receiving the editing operation of a user on any page displayed in the browser webpage;
and modifying the description information corresponding to any page in the description file according to the operation object acted by the editing operation and the current parameter of the operation object.
10. An electronic device, comprising:
a processor; and
a memory for storing a program, wherein the program is stored in the memory,
wherein the program includes instructions which, when executed by the processor, cause the processor to perform the presentation conversion method according to any one of claims 1-9.
CN202211176863.5A 2022-09-26 2022-09-26 Presentation file conversion method and device, electronic equipment and storage medium Pending CN115510347A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211176863.5A CN115510347A (en) 2022-09-26 2022-09-26 Presentation file conversion method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211176863.5A CN115510347A (en) 2022-09-26 2022-09-26 Presentation file conversion method and device, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN115510347A true CN115510347A (en) 2022-12-23

Family

ID=84506908

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211176863.5A Pending CN115510347A (en) 2022-09-26 2022-09-26 Presentation file conversion method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN115510347A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116578732A (en) * 2023-04-28 2023-08-11 广州市因材云科技应用有限责任公司 Presentation generation method and device based on document analysis and terminal equipment
CN117056539A (en) * 2023-10-13 2023-11-14 一网互通(北京)科技有限公司 Method and device for generating pptx format file in real time and electronic equipment

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116578732A (en) * 2023-04-28 2023-08-11 广州市因材云科技应用有限责任公司 Presentation generation method and device based on document analysis and terminal equipment
CN117056539A (en) * 2023-10-13 2023-11-14 一网互通(北京)科技有限公司 Method and device for generating pptx format file in real time and electronic equipment
CN117056539B (en) * 2023-10-13 2024-01-02 一网互通(北京)科技有限公司 Method and device for generating pptx format file in real time and electronic equipment

Similar Documents

Publication Publication Date Title
CN111079047B (en) Web-oriented page construction system
US7698628B2 (en) Method and system to persist state
CN110795195A (en) Webpage rendering method and device, electronic equipment and storage medium
US10452747B2 (en) Dynamically formatting scalable vector graphics
US10678406B1 (en) Conversational user interface design
CN115510347A (en) Presentation file conversion method and device, electronic equipment and storage medium
CN113655999B (en) Page control rendering method, device, equipment and storage medium
CN110609965A (en) Page display method and device and storage medium
CN110516186A (en) Page skeleton automatic generating method, equipment, storage medium and device
AU2020202901B2 (en) Enriching collaboration using visual comments in a shared review
US20180143741A1 (en) Intelligent graphical feature generation for user content
CN113778419B (en) Method and device for generating multimedia data, readable medium and electronic equipment
CN110058854B (en) Method, terminal device and computer-readable medium for generating application
CN112860247B (en) Custom generation method, device, equipment and medium of model component
CN111597489B (en) Realization method and device for draggable custom form component based on mobile terminal
JP2023537767A (en) Image processing method and apparatus, and computer-readable storage medium
US10628526B2 (en) Providing suggested diagrammatic representations of user entered textual information
JP7309811B2 (en) Data annotation method, apparatus, electronics and storage medium
CN113110829B (en) Multi-UI component library data processing method and device
CN114168853A (en) Data visualization display method, device, medium and electronic equipment
CN114422468A (en) Message processing method, device, terminal and storage medium
CN109933766B (en) File generation method, device and storage medium
US11532111B1 (en) Systems and methods for generating comic books from video and images
CN112417345B (en) Rendering method, rendering device, electronic equipment and storage medium
CN113518160A (en) Video generation method, device, equipment and storage medium

Legal Events

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