技术领域technical field
本发明涉及媒体内容制作技术领域,具体涉及一种演示文档自动排版方法及系统。The invention relates to the technical field of media content production, in particular to an automatic typesetting method and system for presentation documents.
背景技术Background technique
目前,演示文档的制作一般包括设计演示文档的背景页面及整体配色、填充文字内容和插入图片,以及调整文字字体、字号、配色和调整文字及图片的位置布局等排版操作。在实践中发现,演示文档的排版操作基本依靠人工完成,使得排版效率较低,导致了演示文档的制作时间较长。At present, the production of presentation documents generally includes designing the background page and overall color matching of presentation documents, filling text content and inserting pictures, as well as adjusting text font, font size, color matching, and adjusting the position and layout of text and pictures. In practice, it is found that the typesetting operation of the presentation document is basically done manually, which makes the typesetting efficiency low and results in a longer production time of the presentation document.
发明内容Contents of the invention
本发明实施例公开了一种演示文档自动排版方法及系统,能够提高演示文档的排版效率,缩短演示文档的制作时间。The embodiment of the invention discloses an automatic typesetting method and system for a presentation document, which can improve the typesetting efficiency of the presentation document and shorten the production time of the presentation document.
本发明实施例第一方面公开一种演示文档自动排版方法,所述方法包括:The first aspect of the embodiment of the present invention discloses a method for automatic typesetting of presentation documents, the method comprising:
检测用户在任一初始模板包括的各类演示文档内容对应的输入区域中输入的各类演示文档内容;Detect various types of presentation document content input by the user in the input area corresponding to various types of presentation document content included in any initial template;
分析所述各类演示文档内容的内容特征;所述内容特征包括标题的语义关键词、目录的条目数量、图文的数量或文段的数量中的任一种或几种,所述文段的数量包括文字段落的数量和每一段文字的数量;Analyze the content features of the content of various presentation documents; the content features include any one or more of the semantic keywords of the title, the number of entries in the directory, the number of graphics and texts, or the number of paragraphs. The number includes the number of text paragraphs and the number of each paragraph of text;
从模板库中查找每一类所述演示文档内容的内容特征对应的目标模版;Searching for target templates corresponding to the content characteristics of each type of presentation document content from the template library;
利用每一类所述演示文档内容的内容特征对应的目标模版的配置信息对该类演示文档内容进行排版,所述配置信息至少包括背景页面、字体、字号、字体颜色以及所述演示文档内容的位置布局。Use the configuration information of the target template corresponding to the content characteristics of each type of said presentation document content to typesetting this type of presentation document content, said configuration information at least including the background page, font, font size, font color and the content of said presentation document location layout.
作为一种可选的实施方式,在本发明实施第一方面中,从所述模板库中查找每一类所述演示文档内容的内容特征对应的目标模版,包括:As an optional implementation manner, in the first aspect of the implementation of the present invention, searching for a target template corresponding to the content characteristics of each type of presentation document content from the template library includes:
从所述模板库中识别包含的标题的语义关键词与所述内容特征中标题的语义关键词相近的任一背景模板作为目标模板;Identifying from the template library any background template that contains a title whose semantic keywords are similar to the semantic keywords of the title in the content feature as a target template;
和/或,从所述模板库中识别目录的条目数量与所述内容特征中目录的条目数量相同的任一目录模板作为目标模板;And/or, any directory template whose number of entries in the directory is the same as the number of entries in the directory in the content feature is identified from the template library as a target template;
和/或,从所述模板库中识别图文的数量与所述内容特征中图文的数量相同的任一图文页面模板作为目标模板;And/or, identifying any graphic-text page template with the same graphic-text quantity as the content feature in the template library as the target template;
和/或,从所述模板库中识别文段的数量与所述内容特征中文段的数量匹配的任一文字页面模板作为目标模板。And/or, any text page template whose number of paragraphs matches the number of Chinese paragraphs in the content feature is identified from the template library as a target template.
作为一种可选的实施方式,在本发明实施第一方面中,所述文字页面模板的文段的数量与所述内容特征中文段的数量匹配包括文字段落的数量相同以及每一段文字的数量相近。As an optional implementation, in the first aspect of the present invention, the matching of the number of paragraphs in the text page template with the number of Chinese paragraphs in the content features includes the same number of text paragraphs and the number of each paragraph of text similar.
作为一种可选的实施方式,在本发明实施第一方面中,所述方法还包括:As an optional implementation manner, in the first aspect of the present invention, the method further includes:
询问用户是否满意所述每一类演示文档内容的排版效果;Ask the user whether they are satisfied with the typesetting effect of the content of each type of presentation document;
如果用户不满意任一类演示文档内容的排版效果,显示从所述模板库中查找出的该类演示文档内容的内容特征对应的所有模板;其中,所述任一类演示文档内容的内容特征对应的所有模板包含所述目标模板;If the user is dissatisfied with the typesetting effect of any type of presentation document content, display all templates corresponding to the content characteristics of this type of presentation document content found in the template library; wherein, the content characteristics of any type of presentation document content All corresponding templates include the target template;
检测用户从所述任一类演示文档内容的内容特征对应的所有模板中选择的用户模板;Detecting the user template selected by the user from all templates corresponding to the content characteristics of any type of presentation document content;
利用所述用户从所述任一类演示文档内容的内容特征对应的所有模板中选择的用户模板的配置信息对该类演示文档内容进行排版。Use the configuration information of the user template selected by the user from all the templates corresponding to the content features of any type of presentation document content to typesetting the content of this type of presentation document.
作为一种可选的实施方式,在本发明实施第一方面中,所述方法还包括:As an optional implementation manner, in the first aspect of the present invention, the method further includes:
检测用户对任一类所述演示文档内容的内容特征对应的目标模板或用户模板的配置信息的调整;Detecting the user's adjustment of the configuration information of the target template or user template corresponding to the content characteristics of any type of the presentation document content;
检测所述模板库中是否存在与调整后的配置信息对应的任一模板,若否,建立与调整后的配置信息对应的模板。Detecting whether any template corresponding to the adjusted configuration information exists in the template library, and if not, creating a template corresponding to the adjusted configuration information.
本发明实施例第二方面公开一种演示文档自动排版系统,包括:The second aspect of the embodiment of the present invention discloses an automatic typesetting system for presentation documents, including:
第一检测单元,用于检测用户在任一初始模板包括的各类演示文档内容对应的输入区域中输入的各类演示文档内容;The first detection unit is configured to detect various types of presentation document content input by a user in an input area corresponding to various types of presentation document content included in any initial template;
分析单元,用于分析所述各类演示文档内容的内容特征;所述内容特征包括标题的语义关键词、目录的条目数量、图文的数量或文段的数量中的任一种或几种,所述文段的数量包括文字段落的数量和每一段文字的数量;The analysis unit is used to analyze the content features of the content of the various presentation documents; the content features include any one or more of the semantic keywords of the title, the number of entries in the directory, the number of graphics, or the number of paragraphs , the number of paragraphs includes the number of paragraphs and the number of each paragraph;
查找单元,用于从模板库中查找每一类所述演示文档内容的内容特征对应的目标模版;A search unit, configured to search the target template corresponding to the content characteristics of each type of presentation document content from the template library;
排版单元,用于利用每一类所述演示文档内容的内容特征对应的目标模版的配置信息对该类演示文档内容进行排版,所述配置信息至少包括背景页面、字体、字号、字体颜色以及所述演示文档内容的位置布局。The typesetting unit is configured to use the configuration information of the target template corresponding to the content characteristics of each type of the presentation document content to type the presentation document content of this type, and the configuration information includes at least the background page, font, font size, font color and all Describes the location layout of the content of the presentation document.
作为一种可选的实施方式,在本发明实施例第二方面中:As an optional implementation manner, in the second aspect of the embodiment of the present invention:
所述查找单元从所述模板库中查找每一类所述演示文档内容的内容特征对应的目标模版的方式具体为:The manner in which the search unit searches the template library for the target template corresponding to the content feature of each type of the presentation document content is specifically as follows:
从所述模板库中识别包含的标题的语义关键词与所述内容特征中标题的语义关键词相近的任一背景模板作为目标模板;Identifying from the template library any background template that contains a title whose semantic keywords are similar to the semantic keywords of the title in the content feature as a target template;
和/或,从所述模板库中识别目录的条目数量与所述内容特征中目录的条目数量相同的任一目录模板作为目标模板;And/or, any directory template whose number of entries in the directory is the same as the number of entries in the directory in the content feature is identified from the template library as a target template;
和/或,从所述模板库中识别图文的数量与所述内容特征中图文的数量相同的任一图文页面模板作为目标模板;And/or, identifying any graphic-text page template with the same graphic-text quantity as the content feature in the template library as the target template;
和/或,从所述模板库中识别文段的数量与所述内容特征中文段的数量匹配的任一文字页面模板作为目标模板。And/or, any text page template whose number of paragraphs matches the number of Chinese paragraphs in the content feature is identified from the template library as a target template.
作为一种可选的实施方式,在本发明实施例第二方面中:As an optional implementation manner, in the second aspect of the embodiment of the present invention:
所述查找单元从所述模板库中识别文段的数量与所述内容特征中文段的数量匹配的任一文字页面模板作为目标模板的过程中:During the process of the search unit identifying any text page template whose number of paragraphs matches the number of Chinese paragraphs of the content feature from the template library as the target template:
所述文字页面模板的文段的数量与所述内容特征中文段的数量匹配包括文字段落的数量相同以及每一段文字的数量相近。The matching of the number of paragraphs in the text page template with the number of Chinese paragraphs in the content feature includes the same number of text paragraphs and similar number of texts in each paragraph.
作为一种可选的实施方式,在本发明实施例第二方面中,所述的演示文档自动排版系统还包括:As an optional implementation manner, in the second aspect of the embodiments of the present invention, the automatic typesetting system for presentation documents further includes:
询问单元,用于询问用户是否满意所述每一类演示文档内容的排版效果;An inquiry unit, configured to inquire whether the user is satisfied with the typesetting effect of each type of presentation document content;
显示单元,用于在用户不满意任一类演示文档内容的排版效果时,显示从所述模板库中查找出的该类演示文档内容的内容特征对应的所有模板;其中,所述任一类演示文档内容的内容特征对应的所有模板包含所述目标模板;The display unit is configured to display all templates corresponding to the content characteristics of any type of presentation document content found from the template library when the user is not satisfied with the typesetting effect of the content of any type of presentation document; All templates corresponding to the content characteristics of the presentation document content include the target template;
第二检测单元,用于检测用户从所述任一类演示文档内容的内容特征对应的所有模板中选择的用户模板;The second detection unit is configured to detect a user template selected by the user from all templates corresponding to the content characteristics of any type of presentation document content;
所述排版单元,还用于利用所述用户从所述任一类演示文档内容的内容特征对应的所有模板中选择的用户模板的配置信息对该类演示文档内容进行排版。The typesetting unit is further configured to use the configuration information of the user template selected by the user from all the templates corresponding to the content characteristics of any type of presentation document content to type this type of presentation document content.
作为一种可选的实施方式,在本发明实施例第二方面中,所述的演示文档自动排版系统,还包括:As an optional implementation, in the second aspect of the embodiments of the present invention, the automatic typesetting system for presentation documents further includes:
第三检测单元,用于检测用户对任一类所述演示文档内容的内容特征对应的目标模板或用户模板的配置信息的调整;The third detection unit is used to detect the user's adjustment of the configuration information of the target template or user template corresponding to the content characteristics of any type of the presentation document content;
第四检测单元,用于检测所述模板库中是否存在与调整后的配置信息对应的任一模板;A fourth detection unit, configured to detect whether there is any template corresponding to the adjusted configuration information in the template library;
建立单元,用于在所述第四单元检测出所述模板库中不存在与调整后的配置信息对应的任一模板时,建立与调整后的配置信息对应的模板。A building unit configured to create a template corresponding to the adjusted configuration information when the fourth unit detects that there is no template corresponding to the adjusted configuration information in the template library.
与现有技术相比,本发明实施例具有以下有益效果:Compared with the prior art, the embodiments of the present invention have the following beneficial effects:
本发明实施例中,检测用户在任一初始模板包括的各类演示文档内容对应的输入区域中输入的各类演示文档内容,然后分析各类演示文档内容的内容特征,其中,内容特征包括标题的语义关键词、目录的条目数量、图文的数量或文段的数量中的任一种或几种,文段的数量包括文字段落的数量和每一段文字的数量,根据各类演示文档内容的内容特征在模板库中查找每一类演示文档内容的内容特征对应的目标模版并利用每一类演示文档内容的内容特征对应的目标模版的配置信息对该类演示文档内容进行排版,从而实现演示文档的自动排版,可以提高演示文档的排版效率,缩短演示文档的制作时间。In the embodiment of the present invention, the content of various presentation documents input by the user in the input area corresponding to the contents of various presentation documents contained in any initial template is detected, and then the content characteristics of various presentation document contents are analyzed, wherein the content characteristics include the content of the title Any one or more of semantic keywords, the number of entries in the directory, the number of graphics and texts, or the number of paragraphs. The number of paragraphs includes the number of text paragraphs and the number of each paragraph of text. According to the content of various presentation documents Content features Find the target template corresponding to the content feature of each type of presentation document content in the template library and use the configuration information of the target template corresponding to the content feature of each type of presentation document content to typesetting the content of this type of presentation document, so as to realize the presentation The automatic typesetting of documents can improve the typesetting efficiency of presentation documents and shorten the production time of presentation documents.
附图说明Description of drawings
为了更清楚地说明本发明实施例中的技术方案,下面将对实施例中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following will briefly introduce the accompanying drawings that need to be used in the embodiments. Obviously, the accompanying drawings in the following description are only some embodiments of the present invention. For Those of ordinary skill in the art can also obtain other drawings based on these drawings without making creative efforts.
图1是本发明实施例公开的一种演示文档自动排版方法的流程示意图;Fig. 1 is a schematic flow chart of a method for automatic typesetting of presentation documents disclosed in an embodiment of the present invention;
图2是本发明实施例公开的另一种演示文档自动排版方法的流程示意图;Fig. 2 is a schematic flow chart of another automatic typesetting method for a presentation document disclosed in an embodiment of the present invention;
图3是本发明实施例公开的另一种演示文档自动排版方法的流程示意图;Fig. 3 is a schematic flow chart of another method for automatic typesetting of presentation documents disclosed in an embodiment of the present invention;
图4是本发明实施例公开的一种演示文档自动排版系统的结构示意图;Fig. 4 is a schematic structural diagram of an automatic typesetting system for presentation documents disclosed in an embodiment of the present invention;
图5是本发明实施例公开的另一种演示文档自动排版系统的结构示意图;Fig. 5 is a schematic structural diagram of another automatic typesetting system for presentation documents disclosed in an embodiment of the present invention;
图6是本发明实施例公开的另一种演示文档自动排版系统的结构示意图。Fig. 6 is a schematic structural diagram of another automatic typesetting system for presentation documents disclosed in an embodiment of the present invention.
具体实施方式detailed description
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some of the embodiments of the present invention, not all of them. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.
需要说明的是,本发明实施例及附图中的术语“包括”和“具有”以及它们任何变形,意图在于覆盖不排他的包含。例如包含了一系列步骤或单元的过程、方法、系统、产品或设备没有限定于已列出的步骤或单元,而是可选地还包括没有列出的步骤或单元,或可选地还包括对于这些过程、方法、产品或设备固有的其它步骤或单元。It should be noted that the terms "include" and "have" and any variations thereof in the embodiments of the present invention and drawings are intended to cover non-exclusive inclusion. For example, a process, method, system, product or device comprising a series of steps or units is not limited to the listed steps or units, but optionally also includes unlisted steps or units, or optionally further includes For other steps or units inherent in these processes, methods, products or apparatuses.
本发明实施例公开了一种演示文档自动排版方法及系统,可以提高演示文档的排版效率,缩短演示文档的制作时间。以下分别进行详细说明。The embodiment of the invention discloses an automatic typesetting method and system for a presentation document, which can improve the typesetting efficiency of the presentation document and shorten the production time of the presentation document. Each will be described in detail below.
实施例一Embodiment one
请参阅图1,图1是本发明实施例公开的一种演示文档自动排版方法的流程示意图。其中,图1所描述的演示文档自动排版方法适用于PPT、WPS 演示等具有演示文档制作功能的演示文档制作软件,本发明实施例不做限定。其中,演示文档制作软件适用于智能手机、电脑、移动平板等电子设备,本发明实施例不做限定。此外,演示文档制作软件的使用平台可包括但不限于Windows操作系统、Linux操作、Android操作系统、IOS操作系统等,本发明实施例不做限定。如图1所示,该演示文档自动排版方法可以包括以下步骤:Please refer to FIG. 1 . FIG. 1 is a schematic flowchart of a method for automatic typesetting of presentation documents disclosed in an embodiment of the present invention. Wherein, the presentation document automatic typesetting method described in FIG. 1 is applicable to presentation document production software such as PPT and WPS presentation, which has a presentation document production function, and is not limited in the embodiment of the present invention. Wherein, the presentation document production software is applicable to electronic devices such as smart phones, computers, mobile tablets, etc., which is not limited in the embodiment of the present invention. In addition, the use platform of the presentation document production software may include but not limited to Windows operating system, Linux operating system, Android operating system, IOS operating system, etc., which are not limited in the embodiment of the present invention. As shown in Figure 1, the automatic typesetting method of the presentation document may include the following steps:
101、演示文档制作软件检测用户在任一初始模板包括的各类演示文档内容对应的输入区域中输入的各类演示文档内容。101. The presentation document making software detects various presentation document contents input by the user in input areas corresponding to various presentation document contents included in any initial template.
本发明实施例中,各类演示文档内容可以为标题、副标题、目录、图片、文字段落等,演示文档内容对应的输入区域可以是这些文档内容对应的文本框或者是演示文档的页面内所有可以插入图片的区域,用户可以在这些区域内输入和编辑对应的演示文档内容。此外,初始模板可以是演示文档制作软件内设置的模板,也可以是模板库中的任一模板。初始模板可以包括每一类演示文档内容对应的输入区域,也可以只包括其中的任一种或几种,用户可以根据自己的制作需求选取合适的初始模板。In the embodiment of the present invention, the contents of various presentation documents can be titles, subtitles, catalogs, pictures, text paragraphs, etc., and the input areas corresponding to the contents of the presentation documents can be the text boxes corresponding to the content of these documents or all the text boxes in the pages of the presentation documents. The area where pictures are inserted, in which users can input and edit the content of the corresponding presentation document. In addition, the initial template may be a template set in the presentation document production software, or any template in the template library. The initial template may include input areas corresponding to the content of each type of presentation document, or may only include any one or several of them. Users can select an appropriate initial template according to their own production requirements.
102、演示文档制作软件分析各类演示文档内容的内容特征。102. The presentation document production software analyzes the content characteristics of various presentation document contents.
本发明实施例中,各类演示文档内容的内容特征包括标题的语义关键词、目录的条目数量、图文的数量或文段的数量中的任一种或几种。文段的数量包括文字段落的数量和每一段文字的数量。In the embodiment of the present invention, the content features of various presentation document contents include any one or more of semantic keywords of the title, number of entries in the directory, number of pictures and texts, or number of paragraphs. The number of paragraphs includes the number of paragraphs and the number of each paragraph.
演示文档制作软件可以通过分析各类演示文档内容来提取内容特征。例如,可以通过标题的词法分析、语法分析、语义分析等操作提取标题的语义关键词。又例如,演示文档制作软件可以通过记录初始模板中目录页的目录的条目数量或者记录初始模板中所有页面的标题,从而获得目录的条目数量。The presentation document production software can extract content features by analyzing the content of various presentation documents. For example, the semantic keywords of the title can be extracted through operations such as lexical analysis, syntax analysis, and semantic analysis of the title. For another example, the presentation document production software may obtain the number of entries of the directory by recording the number of entries of the directory of the directory page in the initial template or by recording the titles of all pages in the initial template.
103、演示文档制作软件从模板库中查找每一类演示文档内容的内容特征对应的目标模版。103. The presentation document making software searches the template library for the target template corresponding to the content feature of each type of presentation document content.
本发明实施例中,模板库中包含背景模板、目录模板、图文页面模板和文字页面模板等。其中,背景模板包括标题和背景页面,目录模板包括目录序号和目录内容、图文页面模板包括图片及文字段落,文字页面模板只包括文字段落。In the embodiment of the present invention, the template library includes background templates, catalog templates, image-text page templates, text page templates, and the like. Among them, the background template includes title and background page, the catalog template includes catalog serial number and catalog content, the image-text page template includes pictures and text paragraphs, and the text page template only includes text paragraphs.
作为一种可选的实施方式,上述步骤103中,演示文档制作软件从模板库中查找每一类演示文档内容的内容特征对应的目标模版的方式可以为:As an optional implementation manner, in the above-mentioned step 103, the manner in which the presentation document making software searches for the target template corresponding to the content feature of each type of presentation document content from the template library may be as follows:
演示文档制作软件从模板库中识别包含的标题的语义关键词与内容特征中标题的语义关键词相近的任一背景模板作为目标模板;The presentation document production software identifies any background template containing semantic keywords of the title that are similar to the semantic keywords of the title in the content feature from the template library as the target template;
和/或,演示文档制作软件从模板库中识别目录的条目数量与内容特征中目录的条目数量相同的任一目录模板作为目标模板;And/or, the presentation document production software identifies any directory template with the same number of entries in the directory as the target template in the template library;
和/或,演示文档制作软件从模板库中识别图文的数量与内容特征中图文的数量相同的任一图文页面模板作为目标模板;And/or, the presentation document production software identifies any graphic-text page template with the same graphic-text quantity as the content feature in the template library as the target template;
和/或,演示文档制作软件从模板库中识别文段的数量与内容特征中文段的数量匹配的任一文字页面模板作为目标模板。And/or, the presentation document production software identifies any text page template whose number of paragraphs matches the number of Chinese paragraphs in the content feature from the template library as the target template.
其中,文字页面模板的文段的数量与内容特征中的文段的数量匹配包括文字段落的数量相同以及每一段文字的数量相近。Wherein, the matching of the number of paragraphs in the text page template and the number of paragraphs in the content features includes the same number of text paragraphs and the similar number of texts in each paragraph.
本发明实施例中,根据各类演示文档内容的内容特征,演示文档制作软件自动从模板库中为用户查找出与该类演示文档内容的内容特征对应的目标模板,无需用户在模板库中逐一查找合适的模板,可以缩短文档的制作时间,实现演示文档的批量制作。In the embodiment of the present invention, according to the content characteristics of various types of presentation documents, the presentation document production software automatically finds the target templates corresponding to the content characteristics of the content of such presentation documents for the user from the template library, without the need for the user to search one by one in the template library. Finding a suitable template can shorten the production time of documents and realize batch production of presentation documents.
104、演示文档制作软件利用每一类演示文档内容的内容特征对应的目标模版的配置信息对该类演示文档内容进行排版。104. The presentation document making software utilizes the configuration information of the target template corresponding to the content characteristics of each type of presentation document content to typeset the presentation document content of this type.
本发明实施例中,每一类演示文档内容的内容特征对应的目标模版的配置信息至少包括背景页面、字体、字号、字体颜色以及所述演示文档内容的位置布局。演示文档制作软件利用每一类演示文档内容的内容特征对应的目标模版的配置信息自动对该类演示文档内容进行排版,同时不改变该类演示文档内容。例如,演示文档制作软件利用模板库中的一个图文页面模板作为目标模板对演示文档的一个图文页面进行排版时,只调整该图文页面中文字的字体、字号、字体颜色、图片的尺寸以及图片和文字之间的位置布局与上述的图文页面模板相一致,不改变图片及文字的内容。In the embodiment of the present invention, the configuration information of the target template corresponding to the content characteristics of each type of presentation document content includes at least the background page, font, font size, font color, and the location and layout of the presentation document content. The demonstration document making software utilizes the configuration information of the target template corresponding to the content characteristics of each type of demonstration document content to automatically typeset the content of this type of presentation document without changing the content of this type of presentation document. For example, when the presentation document making software uses a picture-text page template in the template library as the target template to typeset a picture-text page of the presentation document, it only adjusts the font, font size, font color, and picture size of the text in the picture-text page. And the position layout between the picture and the text is consistent with the above-mentioned picture-text page template, without changing the content of the picture and text.
在图1描述的方法中,演示文档制作软件检测用户在任一初始模板包括的各类演示文档内容对应的输入区域中输入的各类演示文档内容,然后分析各类演示文档内容的内容特征,再根据各类演示文档内容的内容特征在模板库中查找每一类演示文档内容的内容特征对应的目标模版并利用每一类演示文档内容的内容特征对应的目标模版的配置信息对该类演示文档内容进行排版,从而实现演示文档的自动排版,可以提高演示文档的排版效率,缩短演示文档的制作时间。In the method described in FIG. 1 , the presentation document production software detects various presentation document contents input by the user in input areas corresponding to various presentation document contents included in any initial template, then analyzes the content characteristics of various presentation document contents, and then Search the target template corresponding to the content feature of each type of presentation document content in the template library according to the content feature of each type of presentation document content, and use the configuration information of the target template corresponding to the content feature of each type of presentation document content to create a new template for this type of presentation document content typesetting, so as to realize the automatic typesetting of presentation documents, which can improve the typesetting efficiency of presentation documents and shorten the production time of presentation documents.
实施例二Embodiment two
请参阅图2,图2是本发明实施例公开的另一种演示文档自动排版方法的流程示意图。如图2所示,该演示文档自动排版方法可以包括以下步骤:Please refer to FIG. 2 . FIG. 2 is a schematic flowchart of another method for automatic typesetting of presentation documents disclosed in an embodiment of the present invention. As shown in Figure 2, the automatic typesetting method of the presentation document may include the following steps:
201、演示文档制作软件检测用户在任一初始模板包括的各类演示文档内容对应的输入区域中输入的各类演示文档内容。201. The presentation document making software detects various presentation document contents input by the user in input areas corresponding to various presentation document contents included in any initial template.
202、演示文档制作软件分析各类演示文档内容的内容特征。202. The presentation document making software analyzes content characteristics of various presentation document contents.
本发明实施例中,内容特征包括标题的语义关键词、目录的条目数量、图文的数量或文段的数量中的任一种或几种。文段的数量包括文字段落的数量和每一段文字的数量。In the embodiment of the present invention, the content features include any one or more of the semantic keywords of the title, the number of entries in the directory, the number of pictures and texts, or the number of paragraphs. The number of paragraphs includes the number of paragraphs and the number of each paragraph.
203、演示文档制作软件从模板库中查找每一类演示文档内容的内容特征对应的目标模版。203. The presentation document production software searches the template library for the target template corresponding to the content feature of each type of presentation document content.
作为一种可选的实施方式,上述步骤203中,演示文档制作软件从模板库中查找每一类演示文档内容的内容特征对应的目标模版的方式可以为:As an optional implementation manner, in the above-mentioned step 203, the manner in which the presentation document making software searches for the target template corresponding to the content feature of each type of presentation document content from the template library may be as follows:
演示文档制作软件从模板库中识别包含的标题的语义关键词与内容特征中标题的语义关键词相近的任一背景模板作为目标模板;The presentation document production software identifies any background template containing semantic keywords of the title that are similar to the semantic keywords of the title in the content feature from the template library as the target template;
和/或,演示文档制作软件从模板库中识别目录的条目数量与内容特征中目录的条目数量相同的任一目录模板作为目标模板;And/or, the presentation document production software identifies any directory template with the same number of entries in the directory as the target template in the template library;
和/或,演示文档制作软件从模板库中识别图文的数量与内容特征中图文的数量相同的任一图文页面模板作为目标模板;And/or, the presentation document production software identifies any graphic-text page template with the same graphic-text quantity as the content feature in the template library as the target template;
和/或,演示文档制作软件从模板库中识别文段的数量与内容特征中文段的数量匹配的任一文字页面模板作为目标模板。And/or, the presentation document production software identifies any text page template whose number of paragraphs matches the number of Chinese paragraphs in the content feature from the template library as the target template.
其中,文字页面模板的文段的数量与内容特征中的文段的数量匹配包括文字段落的数量相同以及每一段文字的数量相近。Wherein, the matching of the number of paragraphs in the text page template and the number of paragraphs in the content features includes the same number of text paragraphs and the similar number of texts in each paragraph.
204、演示文档制作软件利用每一类演示文档内容的内容特征对应的目标模版的配置信息对该类演示文档内容进行排版。204. The presentation document making software utilizes the configuration information of the target template corresponding to the content characteristics of each type of presentation document content to typeset the presentation document content of this type.
本发明实施例中,每一类演示文档内容的内容特征对应的目标模版的配置信息至少包括背景页面、字体、字号、字体颜色以及所述演示文档内容的位置布局。In the embodiment of the present invention, the configuration information of the target template corresponding to the content characteristics of each type of presentation document content includes at least the background page, font, font size, font color, and the location and layout of the presentation document content.
205、演示文档制作软件询问用户是否满意每一类演示文档内容的排版效果,如果用户不满意任一类演示文档内容的排版效果,执行步骤206~208,否则,结束本流程。205. The presentation document production software asks the user whether he is satisfied with the typesetting effect of each type of presentation document content. If the user is not satisfied with the typesetting effect of any type of presentation document content, perform steps 206-208, otherwise, end this process.
206、演示文档制作软件显示从模板库中查找出的该类演示文档内容的内容特征对应的所有模板。206. The presentation document making software displays all the templates corresponding to the content characteristics of the presentation document content found in the template library.
本发明实施例中,演示文档制作软件显示从模板库中查找出的该类演示文档内容的内容特征对应的所有模板,使得用户可以从上述的所有模板中选择满足用户制作需求的用户模板。其中,模板库中任一类演示文档内容的内容特征对应的所有模板包含上述的步骤中演示文档制作软件从模板库中查找出的目标模板。In the embodiment of the present invention, the presentation document production software displays all the templates corresponding to the content characteristics of the presentation document content searched from the template library, so that the user can select a user template that meets the user's production needs from all the above templates. Wherein, all the templates corresponding to the content characteristics of any type of presentation document content in the template library include the target templates found from the template library by the presentation document production software in the above steps.
207、演示文档制作软件检测用户从任一类演示文档内容的内容特征对应的所有模板中选择的用户模板。207. The presentation document production software detects a user template selected by the user from all templates corresponding to content characteristics of any type of presentation document content.
208、演示文档制作软件利用用户从任一类演示文档内容的内容特征对应的所有模板中选择的用户模板的配置信息对该类演示文档内容进行排版。208. The presentation document making software utilizes the configuration information of the user template selected by the user from all the templates corresponding to the content features of any type of presentation document content to typeset the presentation document content of this type.
本发明实施例中,演示文档制作软件从模板库中随机选取一个与任一类演示文档内容的内容特征对应的模板作为该类演示文档内容的目标模板,因此,演示文档制作软件查找出的目标模板并不一定能满足用户的制作需求。实施本发明实施例,可以允许用户从任一类演示文档内容的内容特征对应的所有模板中选择满足用户的制作需求的用户模板,并利用上述的用户模板重新对该类演示文档内容进行排版。In the embodiment of the present invention, the presentation document production software randomly selects a template corresponding to the content characteristics of any type of presentation document content from the template library as the target template of the presentation document content. Therefore, the target template found by the presentation document production software Templates may not necessarily meet the user's production needs. Implementing the embodiment of the present invention allows the user to select a user template that meets the user's production requirements from all templates corresponding to the content characteristics of any type of presentation document content, and use the above user template to re-typeset the content of this type of presentation document.
在图2所描述的方法中,演示文档制作软件利用各类演示文档内容的内容特征对应的目标模板对该类演示文档内容进行排版,从而实现演示文档的自动排版,可以提高排版效率,缩短演示文档的制作时间。进一步地,图2 所描述的方法可以允许用户自主选择用户模板并利用用户模板对自动排版效果不满足用户的制作需求的演示文档内容进行重新排版,从而可以为用户提供个性化的排版服务。In the method described in Figure 2, the presentation document making software utilizes the target templates corresponding to the content characteristics of various presentation document contents to typeset the content of such presentation documents, thereby realizing the automatic typesetting of presentation documents, which can improve typesetting efficiency and shorten presentation time. The time the document was produced. Further, the method described in FIG. 2 can allow the user to select a user template independently and use the user template to re-typeset the content of the presentation document whose automatic typesetting effect does not meet the user's production requirements, so as to provide users with personalized typesetting services.
实施例三Embodiment three
请参阅图3,图3是本发明实施例公开的另一种演示文档自动排版方法的流程示意图。如图3所示,该演示文档自动排版方法可以包括以下步骤:Please refer to FIG. 3 . FIG. 3 is a schematic flowchart of another method for automatic typesetting of presentation documents disclosed in an embodiment of the present invention. As shown in Figure 3, the method for automatic typesetting of presentation documents may include the following steps:
301、演示文档制作软件检测用户在任一初始模板包括的各类演示文档内容对应的输入区域中输入的各类演示文档内容。301. The presentation document production software detects various presentation document contents input by a user in an input area corresponding to various presentation document contents included in any initial template.
302、演示文档制作软件分析各类演示文档内容的内容特征。302. The presentation document production software analyzes the content characteristics of various presentation document contents.
本发明实施例中,内容特征包括标题的语义关键词、目录的条目数量、图文的数量或文段的数量中的任一种或几种。文段的数量包括文字段落的数量和每一段文字的数量。In the embodiment of the present invention, the content features include any one or more of the semantic keywords of the title, the number of entries in the directory, the number of pictures and texts, or the number of paragraphs. The number of paragraphs includes the number of paragraphs and the number of each paragraph.
303、演示文档制作软件从模板库中查找每一类演示文档内容的内容特征对应的目标模版。303. The presentation document production software searches the template library for a target template corresponding to the content feature of each type of presentation document content.
作为一种可选的实施方式,上述步骤303中,演示文档制作软件从模板库中查找每一类演示文档内容的内容特征对应的目标模版的方式可以为:As an optional implementation manner, in the above-mentioned step 303, the manner in which the presentation document making software searches for the target template corresponding to the content feature of each type of presentation document content from the template library may be as follows:
演示文档制作软件从模板库中识别包含的标题的语义关键词与内容特征中标题的语义关键词相近的任一背景模板作为目标模板;The presentation document production software identifies any background template containing semantic keywords of the title that are similar to the semantic keywords of the title in the content feature from the template library as the target template;
和/或,演示文档制作软件从模板库中识别目录的条目数量与内容特征中目录的条目数量相同的任一目录模板作为目标模板;And/or, the presentation document production software identifies any directory template with the same number of entries in the directory as the target template in the template library;
和/或,演示文档制作软件从模板库中识别图文的数量与内容特征中图文的数量相同的任一图文页面模板作为目标模板;And/or, the presentation document production software identifies any graphic-text page template with the same graphic-text quantity as the content feature in the template library as the target template;
和/或,演示文档制作软件从模板库中识别文段的数量与内容特征中文段的数量匹配的任一文字页面模板作为目标模板。And/or, the presentation document production software identifies any text page template whose number of paragraphs matches the number of Chinese paragraphs in the content feature from the template library as the target template.
304、演示文档制作软件利用每一类演示文档内容的内容特征对应的目标模版的配置信息对该类演示文档内容进行排版。304. The presentation document making software utilizes the configuration information of the target template corresponding to the content feature of each type of presentation document content to typeset the presentation document content of this type.
本发明实施例中,每一类演示文档内容的内容特征对应的目标模版的配置信息至少包括背景页面、字体、字号、字体颜色以及所述演示文档内容的位置布局。In the embodiment of the present invention, the configuration information of the target template corresponding to the content characteristics of each type of presentation document content includes at least the background page, font, font size, font color, and the location and layout of the presentation document content.
305、演示文档制作软件询问用户是否满意每一类演示文档内容的排版效果,如果用户不满意任一类演示文档内容的排版效果,继续执行步骤 306~310;否则,结束本流程。305. The presentation document production software asks the user whether he is satisfied with the typesetting effect of each type of presentation document content. If the user is not satisfied with the typesetting effect of any type of presentation document content, continue to perform steps 306-310; otherwise, end this process.
306、演示文档制作软件显示从模板库中查找出的该类演示文档内容的内容特征对应的所有模板。306. The presentation document making software displays all the templates corresponding to the content characteristics of the presentation document content found in the template library.
307、演示文档制作软件检测用户从任一类演示文档内容的内容特征对应的所有模板中选择的用户模板。307. The presentation document production software detects a user template selected by the user from all templates corresponding to content characteristics of any type of presentation document content.
308、演示文档制作软件利用用户从任一类演示文档内容的内容特征对应的所有模板中选择的用户模板的配置信息对该类演示文档内容进行排版。308. The presentation document making software utilizes the configuration information of the user template selected by the user from all templates corresponding to the content characteristics of any type of presentation document content to typeset the presentation document content of this type.
309、演示文档制作软件检测用户对任一类演示文档内容的内容特征对应的目标模板或用户模板的配置信息的调整。309. The presentation document production software detects that the user adjusts the configuration information of the target template or the user template corresponding to the content characteristics of any type of presentation document content.
310、演示文档制作软件检测所述模板库中是否存在与调整后的配置信息对应的任一模板,如果否,继续执行步骤311;如果是,结束本流程。310. The presentation document production software detects whether there is any template corresponding to the adjusted configuration information in the template library, if not, proceed to step 311; if yes, end this process.
311、演示文档制作软件建立与调整后的配置信息对应的模板。311. The presentation document making software creates a template corresponding to the adjusted configuration information.
本发明实施例中,用户可以调整任一类演示文档内容的内容特征对应的目标模板或者用户模板的配置信息。通过建立包含所述用户调整后的配置信息并且与所述演示文档的内容特征对应的模板,可以丰富模板库,从而可以适用于更广泛的用户群。In the embodiment of the present invention, the user can adjust the configuration information of the target template or user template corresponding to the content characteristics of any type of presentation document content. By establishing a template containing the configuration information adjusted by the user and corresponding to the content characteristics of the presentation document, the template library can be enriched, so that it can be applied to a wider user group.
在图3所描述的方法中,利用各类演示文档内容的内容特征对应的目标模板或用户对该类演示文档内容进行排版,可以提高排版效率,缩短演示文档的制作时间,同时为用户提供个性化的排版服务。进一步地,图3所描述的方法通过建立包含用户调整后的配置信息并且与上述的演示文档的内容特征对应的模板,可以丰富模板库,从而可以适用于更广泛的用户群。In the method described in Figure 3, using the target templates corresponding to the content characteristics of various types of presentation documents or users to typeset the content of such presentation documents can improve the efficiency of typesetting, shorten the production time of presentation documents, and provide users with personalized Customized typesetting services. Furthermore, the method described in FIG. 3 can enrich the template library by creating a template containing the configuration information adjusted by the user and corresponding to the content characteristics of the above-mentioned presentation document, so that it can be applied to a wider user group.
实施例四、Embodiment four,
请参阅图4,图4是本发明实施例公开一种演示文档自动排版系统的结构示意图,该演示文档自动排版系统可以应用于具有演示文档制作功能的演示文档制作软件。如图4所示,该演示文档自动排版系统可以包括:Please refer to FIG. 4 . FIG. 4 is a schematic structural diagram of an automatic typesetting system for presentation documents disclosed by an embodiment of the present invention. The automatic typesetting system for presentation documents can be applied to presentation document production software with presentation document production functions. As shown in Figure 4, the presentation document automatic typesetting system may include:
第一检测单元401,用于检测用户在任一初始模板包括的各类演示文档内容对应的输入区域中输入的各类演示文档内容;The first detection unit 401 is configured to detect various types of presentation document content input by the user in an input area corresponding to various types of presentation document content included in any initial template;
分析单元402,用于分析第一检测单元401检测到的用户在任一初始模板包括的各类演示文档内容对应的输入区域中输入的各类演示文档内容的内容特征;其中,各类演示文档内容的内容特征包括标题的语义关键词、目录的条目数量、图文的数量或文段的数量中的任一种或几种,文段的数量包括文字段落的数量和每一段文字的数量;The analysis unit 402 is configured to analyze the content characteristics of various types of presentation document content input by the user in the input area corresponding to each type of presentation document content contained in any initial template detected by the first detection unit 401; wherein, various types of presentation document content The content characteristics of the content include any one or more of the semantic keywords of the title, the number of entries in the directory, the number of pictures and texts, or the number of paragraphs. The number of paragraphs includes the number of text paragraphs and the number of each paragraph of text;
查找单元403,用于从模板库中查找分析单元402分析出的每一类演示文档内容的内容特征对应的目标模版;The search unit 403 is configured to search the target template corresponding to the content characteristics of each type of presentation document content analyzed by the analysis unit 402 from the template library;
排版单元404,用于利用查找单元403查找到的每一类演示文档内容的内容特征对应的目标模版的配置信息对该类演示文档内容进行排版,上述的配置信息至少包括背景页面、字体、字号、字体颜色以及所述演示文档内容的位置布局。The typesetting unit 404 is used to use the configuration information of the target template corresponding to the content characteristics of each type of presentation document content found by the search unit 403 to type the presentation document content. The above configuration information includes at least the background page, font, font size , font color, and location layout of the presentation document content.
作为一种可选的实施方式,查找单元403从模板库中查找每一类演示文档内容的内容特征对应的目标模版的方式具体为:As an optional implementation manner, the manner in which the search unit 403 searches the template library for the target template corresponding to the content feature of each type of presentation document content is specifically as follows:
查找单元403从模板库中识别包含的标题的语义关键词与内容特征中标题的语义关键词相近的任一背景模板作为目标模板;The search unit 403 identifies from the template library any background template whose semantic keywords of the title are similar to the semantic keywords of the title in the content feature as the target template;
和/或,查找单元403从模板库中识别目录的条目数量与内容特征中目录的条目数量相同的任一目录模板作为目标模板;And/or, the search unit 403 identifies any directory template with the same number of entries in the directory as the number of entries in the content feature from the template library as the target template;
和/或,查找单元403从模板库中识别图文的数量与内容特征中图文的数量相同的任一图文页面模板作为目标模板;And/or, the search unit 403 identifies from the template library any graphic-text page template whose graphic-text quantity is the same as the graphic-text quantity in the content feature as the target template;
和/或,查找单元403从模板库中识别文段的数量与内容特征中文段的数量匹配的任一文字页面模板作为目标模板。And/or, the search unit 403 identifies any text page template whose number of paragraphs matches the number of paragraphs in the content characteristic Chinese from the template library as the target template.
作为一种可选的实施方式,查找单元403从模板库中识别文段的数量与内容特征中文段的数量匹配的任一文字页面模板作为目标模板的过程中:As an optional implementation manner, during the process of identifying any text page template whose number of paragraphs matches the number of content feature Chinese paragraphs from the template library by the search unit 403 as the target template:
文字页面模板的文段的数量与内容特征中的文段的数量匹配包括文字段落的数量相同以及每一段文字的数量相近。The matching of the number of paragraphs in the text page template with the number of paragraphs in the content feature includes the same number of text paragraphs and similar number of texts in each paragraph.
其中,实施图4所描述的演示文档自动排版系统可以检测用户在任一初始模板包括的各类演示文档内容对应的输入区域中输入的各类演示文档内容,然后分析各类演示文档内容的内容特征,再根据各类演示文档内容的内容特征在模板库中查找每一类演示文档内容的内容特征对应的目标模版并利用每一类演示文档内容的内容特征对应的目标模版的配置信息对该类演示文档内容进行排版,从而实现演示文档的自动排版,可以提高演示文档的排版效率,缩短演示文档的制作时间。Wherein, the implementation of the presentation document automatic typesetting system described in Figure 4 can detect various presentation document contents input by the user in the input area corresponding to various presentation document contents included in any initial template, and then analyze the content characteristics of various presentation document contents , and then search the target template corresponding to the content characteristics of each type of presentation document content in the template library according to the content characteristics of each type of presentation document content, and use the configuration information of the target template corresponding to the content characteristics of each type of presentation document content to classify the Typesetting the content of the presentation document, so as to realize the automatic typesetting of the presentation document, which can improve the typesetting efficiency of the presentation document and shorten the production time of the presentation document.
实施例五Embodiment five
请参阅图5,图5是本发明实施例公开一种演示文档自动排版系统的结构示意图,该演示文档自动排版系统可以应用于具有演示文档制作功能的演示文档制作软件。与图4所示的演示文档自动排版系统相比较,图5所示的演示文档自动排版系统还可以包括:Please refer to FIG. 5 . FIG. 5 is a schematic structural diagram of an automatic typesetting system for presentation documents disclosed by an embodiment of the present invention. The automatic typesetting system for presentation documents can be applied to presentation document production software with presentation document production functions. Compared with the presentation document automatic typesetting system shown in Figure 4, the presentation document automatic typesetting system shown in Figure 5 may further include:
询问单元405,用于在排版单元404对各类演示文档内容进行排版后,询问用户是否满意每一类演示文档内容的排版效果;An inquiry unit 405, configured to inquire whether the user is satisfied with the typesetting effect of each type of presentation document content after the typesetting unit 404 typesets the content of each type of presentation document;
显示单元406,用于在询问单元405获得用户不满意任一类演示文档内容的排版效果的回答时,显示从模板库中查找出的该类演示文档内容的内容特征对应的所有模板;其中,任一类演示文档内容的内容特征对应的所有模板包含目标模板;The display unit 406 is configured to display all the templates found from the template library corresponding to the content characteristics of any type of presentation document content when the inquiry unit 405 obtains a reply that the user is not satisfied with the typesetting effect of any type of presentation document content; wherein, All templates corresponding to the content characteristics of any type of presentation document content include the target template;
第二检测单元407,用于检测用户从显示单元406显示的任一类演示文档内容的内容特征对应的所有模板中选择的用户模板;The second detection unit 407 is configured to detect the user template selected by the user from all templates corresponding to the content characteristics of any type of presentation document content displayed by the display unit 406;
上述的排版单元404,还用于利用第二检测单元407检测到用户从任一类演示文档内容的内容特征对应的所有模板中选择的用户模板的配置信息对该类演示文档内容进行排版。The above-mentioned typesetting unit 404 is further configured to use the second detection unit 407 to detect the configuration information of the user template selected by the user from all the templates corresponding to the content characteristics of any type of presentation document content to type this type of presentation document content.
其中,实施图5所描述的演示文档自动排版系统,可以利用各类演示文档内容的内容特征对应的目标模板对该类演示文档内容进行排版,从而实现演示文档的自动排版,可以提高排版效率,缩短演示文档的制作时间。进一步地,实施图5所描述的演示文档自动排版系统还可以允许用户自主选择用户模板,并利用用户模板对自动排版效果不满足用户的制作需求的演示文档内容进行重新排版,从而可以为用户提供个性化的排版服务。Among them, the implementation of the presentation document automatic typesetting system described in Figure 5 can use the target templates corresponding to the content characteristics of various presentation document contents to typeset the content of this type of presentation document, thereby realizing automatic typesetting of presentation documents and improving typesetting efficiency. Reduce presentation production time. Further, the implementation of the presentation document automatic typesetting system described in Fig. 5 can also allow the user to select a user template independently, and use the user template to re-typeset the content of the presentation document whose automatic typesetting effect does not meet the user's production requirements, thereby providing users with Personalized typesetting service.
实施例六Embodiment six
请参阅图6,图6是本发明实施例公开一种演示文档自动排版系统的结构示意图,该演示文档排版系统可以应用于具有演示文档制作功能的演示文档制作软件。与图5所示的演示文档自动排版系统相比较,图6所示的演示文档自动排版系统还可以包括:Please refer to FIG. 6 . FIG. 6 is a schematic structural diagram of an automatic typesetting system for presentation documents disclosed by an embodiment of the present invention. The system for typesetting presentation documents can be applied to presentation document production software with presentation document production functions. Compared with the presentation document automatic typesetting system shown in Figure 5, the presentation document automatic typesetting system shown in Figure 6 may further include:
第三检测单元408,用于在排版单元404利用各类演示文档内容的内容特征对应的目标模板或用户模板对该类演示文档内容进行排版后,检测用户对任一类演示文档内容的内容特征对应的目标模板或用户模板的配置信息的调整;The third detection unit 408 is used to detect the user's content characteristics of any type of presentation document content after the typesetting unit 404 uses the target template or user template corresponding to the content characteristics of various types of presentation document content to typesetting the content of this type of presentation document Adjustment of the configuration information of the corresponding target template or user template;
第四检测单元409,用于在第三检测单元408检测到检测用户对任一类演示文档内容的内容特征对应的目标模板或用户模板的配置信息进行调整后,检测模板库中是否存在与调整后的配置信息对应的任一模板;The fourth detection unit 409 is used to detect whether the configuration information of the target template or the user template corresponding to the content characteristics of any type of presentation document content is adjusted by the user after the third detection unit 408 detects whether there is and is adjusted in the template library. Any template corresponding to the following configuration information;
建立单元410,用于在第四单元409检测出模板库中不存在与调整后的配置信息对应的任一模板时,建立与调整后的配置信息对应的模板。The establishing unit 410 is configured to establish a template corresponding to the adjusted configuration information when the fourth unit 409 detects that there is no template corresponding to the adjusted configuration information in the template library.
其中,实施图6所描述的演示文档自动排版系统利用各类演示文档内容的内容特征对应的目标模板或用户对该类演示文档内容进行排版,可以提高排版效率,缩短演示文档的制作时间,同时为用户提供个性化的排版服务。进一步地,图6所描述的演示文档自动排版系统通过建立包含用户调整后的配置信息并且与演示文档的内容特征对应的模板,可以丰富模板库,从而可以适用于更广泛的用户群。Wherein, implementing the presentation document automatic typesetting system described in FIG. 6 utilizes target templates corresponding to the content characteristics of various presentation document contents or users to typeset the content of such presentation documents, which can improve typesetting efficiency and shorten the production time of presentation documents, and at the same time Provide users with personalized typesetting services. Furthermore, the presentation document automatic typesetting system described in FIG. 6 can enrich the template library by creating a template containing user-adjusted configuration information and corresponding to the content characteristics of the presentation document, so that it can be applied to a wider range of user groups.
本领域普通技术人员可以理解上述实施例的各种方法中的全部或部分步骤是可以通过程序来指令相关的硬件来完成,该程序可以存储于一计算机可读存储介质中,存储介质包括只读存储器(Read-Only Memory,ROM)、随机存储器(Random Access Memory,RAM)、可编程只读存储器(Programmable Read-only Memory,PROM)、可擦除可编程只读存储器(Erasable Programmable Read Only Memory,EPROM)、一次可编程只读存储器 (One-time Programmable Read-Only Memory,OTPROM)、电子抹除式可复写只读存储器(Electrically-Erasable Programmable Read-Only Memory, EEPROM)、只读光盘(Compact Disc Read-Only Memory,CD-ROM)或其他光盘存储器、磁盘存储器、磁带存储器、或者能够用于携带或存储数据的计算机可读的任何其他介质。Those of ordinary skill in the art can understand that all or part of the steps in the various methods of the above-mentioned embodiments can be completed by instructing related hardware through a program, and the program can be stored in a computer-readable storage medium, and the storage medium includes read-only Memory (Read-Only Memory, ROM), Random Access Memory (Random Access Memory, RAM), Programmable Read-Only Memory (Programmable Read-only Memory, PROM), Erasable Programmable Read-Only Memory (Erasable Programmable Read Only Memory, EPROM), One-time Programmable Read-Only Memory (OTPROM), Electronically Erasable Programmable Read-Only Memory (EEPROM), Compact Disc (Compact Disc Read-Only Memory, CD-ROM) or other optical disk storage, magnetic disk storage, tape storage, or any other computer-readable medium that can be used to carry or store data.
以上对本发明实施例公开的一种演示文档自动排版方法及系统进行了详细介绍,本文中应用了具体个例对本发明的原理及实施方式进行了阐述,以上实施例的说明只是用于帮助理解本发明的方法及其核心思想;同时,对于本领域的一般技术人员,依据本发明的思想,在具体实施方式及应用范围上均会有改变之处,综上所述,本说明书内容不应理解为对本发明的限制。A method and system for automatically typesetting presentation documents disclosed in the embodiments of the present invention have been introduced above in detail. In this paper, specific examples have been used to illustrate the principles and implementation methods of the present invention. The descriptions of the above embodiments are only used to help understand the present invention. The method of the invention and its core idea; at the same time, for those of ordinary skill in the art, according to the idea of the present invention, there will be changes in the specific implementation and scope of application. In summary, the content of this specification should not be understood To limit the present invention.
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201710547446.XACN107451113A (en) | 2017-07-06 | 2017-07-06 | Automatic typesetting method and system for presentation document |
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201710547446.XACN107451113A (en) | 2017-07-06 | 2017-07-06 | Automatic typesetting method and system for presentation document |
| Publication Number | Publication Date |
|---|---|
| CN107451113Atrue CN107451113A (en) | 2017-12-08 |
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201710547446.XAPendingCN107451113A (en) | 2017-07-06 | 2017-07-06 | Automatic typesetting method and system for presentation document |
| Country | Link |
|---|---|
| CN (1) | CN107451113A (en) |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN108491550A (en)* | 2018-04-11 | 2018-09-04 | 北京深度智耀科技有限公司 | A kind of generation method of summary, device and equipment |
| CN109033049A (en)* | 2018-06-29 | 2018-12-18 | 平安科技(深圳)有限公司 | Generation method and device, storage medium, the terminal of PPT document |
| CN109144656A (en)* | 2018-09-17 | 2019-01-04 | 广州视源电子科技股份有限公司 | Method, apparatus, computer device and storage medium for multi-element layout |
| CN109375972A (en)* | 2018-09-17 | 2019-02-22 | 广州视源电子科技股份有限公司 | Method, apparatus, computer device and storage medium for multi-element layout |
| CN109388694A (en)* | 2018-09-21 | 2019-02-26 | 神思电子技术股份有限公司 | A kind of rich text storage and methods of exhibiting for conversational system |
| CN109740139A (en)* | 2018-11-27 | 2019-05-10 | 平安科技(深圳)有限公司 | Document title custom style control method, device, computer equipment and storage medium |
| CN110390091A (en)* | 2018-04-18 | 2019-10-29 | 成都野望数码科技有限公司 | A kind of typesetting document structure tree method, device and equipment |
| CN110489735A (en)* | 2018-05-14 | 2019-11-22 | 成都野望数码科技有限公司 | A kind of PowerPoint generation method, device and equipment |
| CN111061863A (en)* | 2019-12-16 | 2020-04-24 | 北大方正集团有限公司 | Periodical catalog display method, device and equipment |
| CN111144069A (en)* | 2019-12-30 | 2020-05-12 | 北大方正集团有限公司 | A table-based catalog typesetting method, device and storage medium |
| CN111881656A (en)* | 2020-08-11 | 2020-11-03 | 网易(杭州)网络有限公司 | Text drawing method and device in card game |
| CN112036149A (en)* | 2020-09-01 | 2020-12-04 | 珠海豹趣科技有限公司 | File editing method and device, electronic equipment and storage medium |
| CN112434568A (en)* | 2020-11-06 | 2021-03-02 | 北京完美知识科技有限公司 | Drawing identification method and device, storage medium and computing equipment |
| CN112528604A (en)* | 2019-09-04 | 2021-03-19 | 珠海金山办公软件有限公司 | Method, system, storage medium and terminal for automatic image-text typesetting |
| CN112632950A (en)* | 2020-12-31 | 2021-04-09 | 中国平安人寿保险股份有限公司 | PPT generation method, device, equipment and computer-readable storage medium |
| CN112711937A (en)* | 2021-01-18 | 2021-04-27 | 腾讯科技(深圳)有限公司 | Template recommendation method, device, equipment and storage medium |
| CN112784562A (en)* | 2020-01-03 | 2021-05-11 | 珠海金山办公软件有限公司 | Typesetting method and device for text content in document |
| CN113505568A (en)* | 2021-05-31 | 2021-10-15 | 珠海金山办公软件有限公司 | Typesetting method, typesetting device, electronic equipment and computer-readable storage medium |
| CN113971391A (en)* | 2020-07-22 | 2022-01-25 | 广州金山移动科技有限公司 | Method and device for generating edit page, and method and device for generating presentation file |
| CN114118029A (en)* | 2021-11-29 | 2022-03-01 | 维沃移动通信有限公司 | Image processing method, device, equipment and storage medium |
| CN114328997A (en)* | 2021-12-27 | 2022-04-12 | 泰山信息科技有限公司 | A slide modification method, device and related equipment |
| CN114416911A (en)* | 2021-05-21 | 2022-04-29 | 深圳市智尊宝数据开发有限公司 | Analysis report generation method and related device, medium and program |
| CN114830078A (en)* | 2020-09-29 | 2022-07-29 | 京东方科技集团股份有限公司 | Event information display method and device, storage medium and electronic equipment |
| US11934766B2 (en) | 2020-07-28 | 2024-03-19 | Huawei Technologies Co., Ltd. | Always on display method and electronic device |
| CN120373278A (en)* | 2025-04-15 | 2025-07-25 | 广州市扬海数码科技有限公司 | Form template dynamic optimization method and system based on incremental learning |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN1501285A (en)* | 2002-09-24 | 2004-06-02 | 精工爱普生株式会社 | Typesetting system, typesetting program and typesetting method |
| US7434165B2 (en)* | 2002-12-12 | 2008-10-07 | Lawrence Charles Kleinman | Programmed apparatus and system of dynamic display of presentation files |
| CN101989256A (en)* | 2009-07-31 | 2011-03-23 | 北京大学 | Typesetting method of document file and device |
| CN105373567A (en)* | 2014-09-01 | 2016-03-02 | 北京奇虎科技有限公司 | Page generation method and client |
| CN105701082A (en)* | 2016-01-13 | 2016-06-22 | 刘敏 | Automatic typesetting method and system for presentation document |
| CN105824786A (en)* | 2015-01-05 | 2016-08-03 | 珠海金山办公软件有限公司 | Electronic document generating method and device |
| CN105912519A (en)* | 2016-05-27 | 2016-08-31 | 北京京东尚科信息技术有限公司 | Electronic document typesetting method and typesetting device |
| CN106294642A (en)* | 2016-08-03 | 2017-01-04 | 天梯头条传媒(苏州)有限公司 | There is the information issuing system of greek version function |
| CN106484669A (en)* | 2016-10-14 | 2017-03-08 | 大连理工大学 | A kind of automatic composing method of Classification Oriented informative advertising newspaper |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN1501285A (en)* | 2002-09-24 | 2004-06-02 | 精工爱普生株式会社 | Typesetting system, typesetting program and typesetting method |
| US7434165B2 (en)* | 2002-12-12 | 2008-10-07 | Lawrence Charles Kleinman | Programmed apparatus and system of dynamic display of presentation files |
| CN101989256A (en)* | 2009-07-31 | 2011-03-23 | 北京大学 | Typesetting method of document file and device |
| CN105373567A (en)* | 2014-09-01 | 2016-03-02 | 北京奇虎科技有限公司 | Page generation method and client |
| CN105824786A (en)* | 2015-01-05 | 2016-08-03 | 珠海金山办公软件有限公司 | Electronic document generating method and device |
| CN105701082A (en)* | 2016-01-13 | 2016-06-22 | 刘敏 | Automatic typesetting method and system for presentation document |
| CN105912519A (en)* | 2016-05-27 | 2016-08-31 | 北京京东尚科信息技术有限公司 | Electronic document typesetting method and typesetting device |
| CN106294642A (en)* | 2016-08-03 | 2017-01-04 | 天梯头条传媒(苏州)有限公司 | There is the information issuing system of greek version function |
| CN106484669A (en)* | 2016-10-14 | 2017-03-08 | 大连理工大学 | A kind of automatic composing method of Classification Oriented informative advertising newspaper |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN108491550A (en)* | 2018-04-11 | 2018-09-04 | 北京深度智耀科技有限公司 | A kind of generation method of summary, device and equipment |
| CN110390091A (en)* | 2018-04-18 | 2019-10-29 | 成都野望数码科技有限公司 | A kind of typesetting document structure tree method, device and equipment |
| CN110489735A (en)* | 2018-05-14 | 2019-11-22 | 成都野望数码科技有限公司 | A kind of PowerPoint generation method, device and equipment |
| CN109033049A (en)* | 2018-06-29 | 2018-12-18 | 平安科技(深圳)有限公司 | Generation method and device, storage medium, the terminal of PPT document |
| CN109144656A (en)* | 2018-09-17 | 2019-01-04 | 广州视源电子科技股份有限公司 | Method, apparatus, computer device and storage medium for multi-element layout |
| CN109375972A (en)* | 2018-09-17 | 2019-02-22 | 广州视源电子科技股份有限公司 | Method, apparatus, computer device and storage medium for multi-element layout |
| CN109144656B (en)* | 2018-09-17 | 2022-03-08 | 广州视源电子科技股份有限公司 | Method, apparatus, computer device and storage medium for multi-element layout |
| CN109388694A (en)* | 2018-09-21 | 2019-02-26 | 神思电子技术股份有限公司 | A kind of rich text storage and methods of exhibiting for conversational system |
| CN109740139A (en)* | 2018-11-27 | 2019-05-10 | 平安科技(深圳)有限公司 | Document title custom style control method, device, computer equipment and storage medium |
| CN112528604A (en)* | 2019-09-04 | 2021-03-19 | 珠海金山办公软件有限公司 | Method, system, storage medium and terminal for automatic image-text typesetting |
| CN111061863B (en)* | 2019-12-16 | 2023-09-15 | 新方正控股发展有限责任公司 | Journal catalog display method, device and equipment |
| CN111061863A (en)* | 2019-12-16 | 2020-04-24 | 北大方正集团有限公司 | Periodical catalog display method, device and equipment |
| CN111144069A (en)* | 2019-12-30 | 2020-05-12 | 北大方正集团有限公司 | A table-based catalog typesetting method, device and storage medium |
| CN112784562B (en)* | 2020-01-03 | 2024-06-25 | 珠海金山办公软件有限公司 | A method and device for typesetting text content in a document |
| CN112784562A (en)* | 2020-01-03 | 2021-05-11 | 珠海金山办公软件有限公司 | Typesetting method and device for text content in document |
| CN113971391A (en)* | 2020-07-22 | 2022-01-25 | 广州金山移动科技有限公司 | Method and device for generating edit page, and method and device for generating presentation file |
| US11934766B2 (en) | 2020-07-28 | 2024-03-19 | Huawei Technologies Co., Ltd. | Always on display method and electronic device |
| CN111881656B (en)* | 2020-08-11 | 2024-02-23 | 网易(杭州)网络有限公司 | Text drawing method and device in card game |
| CN111881656A (en)* | 2020-08-11 | 2020-11-03 | 网易(杭州)网络有限公司 | Text drawing method and device in card game |
| CN112036149B (en)* | 2020-09-01 | 2023-10-27 | 珠海豹趣科技有限公司 | File editing method and device, electronic equipment and storage medium |
| CN112036149A (en)* | 2020-09-01 | 2020-12-04 | 珠海豹趣科技有限公司 | File editing method and device, electronic equipment and storage medium |
| CN114830078B (en)* | 2020-09-29 | 2024-12-17 | 京东方科技集团股份有限公司 | Event information display method and device, storage medium and electronic equipment |
| CN114830078A (en)* | 2020-09-29 | 2022-07-29 | 京东方科技集团股份有限公司 | Event information display method and device, storage medium and electronic equipment |
| CN112434568A (en)* | 2020-11-06 | 2021-03-02 | 北京完美知识科技有限公司 | Drawing identification method and device, storage medium and computing equipment |
| CN112632950A (en)* | 2020-12-31 | 2021-04-09 | 中国平安人寿保险股份有限公司 | PPT generation method, device, equipment and computer-readable storage medium |
| CN112632950B (en)* | 2020-12-31 | 2025-01-24 | 中国平安人寿保险股份有限公司 | PPT generation method, device, equipment and computer-readable storage medium |
| CN112711937A (en)* | 2021-01-18 | 2021-04-27 | 腾讯科技(深圳)有限公司 | Template recommendation method, device, equipment and storage medium |
| CN114416911A (en)* | 2021-05-21 | 2022-04-29 | 深圳市智尊宝数据开发有限公司 | Analysis report generation method and related device, medium and program |
| CN113505568A (en)* | 2021-05-31 | 2021-10-15 | 珠海金山办公软件有限公司 | Typesetting method, typesetting device, electronic equipment and computer-readable storage medium |
| CN114118029A (en)* | 2021-11-29 | 2022-03-01 | 维沃移动通信有限公司 | Image processing method, device, equipment and storage medium |
| CN114328997A (en)* | 2021-12-27 | 2022-04-12 | 泰山信息科技有限公司 | A slide modification method, device and related equipment |
| CN114328997B (en)* | 2021-12-27 | 2025-07-04 | 泰山信息科技有限公司 | A slide modification method, device and related equipment |
| CN120373278A (en)* | 2025-04-15 | 2025-07-25 | 广州市扬海数码科技有限公司 | Form template dynamic optimization method and system based on incremental learning |
| Publication | Publication Date | Title |
|---|---|---|
| CN107451113A (en) | Automatic typesetting method and system for presentation document | |
| US10068380B2 (en) | Methods and systems for generating virtual reality environments from electronic documents | |
| CN115238214A (en) | Display method, apparatus, computer equipment, storage medium and program product | |
| US9639518B1 (en) | Identifying entities in a digital work | |
| US20140163957A1 (en) | Multimedia message having portions of media content based on interpretive meaning | |
| US9372843B2 (en) | Document association device, document association method, and non-transitory computer readable medium | |
| CN114402384B (en) | Data processing method, device, server and storage medium | |
| US20140164371A1 (en) | Extraction of media portions in association with correlated input | |
| CN107015979B (en) | A data processing method, device and intelligent terminal | |
| CN103092972A (en) | Searching method and device based on clue objects | |
| JP2012133662A (en) | Electronic comic viewer device, electronic comic browsing system, viewer program and recording medium recording viewer program | |
| US20130211820A1 (en) | Apparatus and method for interpreting korean keyword search phrase | |
| CN103500158A (en) | Method and device for annotating electronic document | |
| Leggett | Digitization and digital archiving: a practical guide for librarians | |
| CN105608170A (en) | Display method and device of search result page | |
| CN113377975B (en) | Multimedia resource processing method, device, computer equipment and storage medium | |
| JP2011076566A (en) | Information processor, terminal device, server device, communication system, display control method, program and computer readable recording medium | |
| CN116017043A (en) | Video generation method, device, electronic equipment and storage medium | |
| JP2009519538A (en) | Method and apparatus for accessing a digital file from a collection of digital files | |
| US20140163956A1 (en) | Message composition of media portions in association with correlated text | |
| JP2009009410A (en) | Text editing support system and program | |
| JP2019008684A (en) | Information processor, information processing system, information processing method, and program | |
| CN111078915A (en) | Click-to-read content acquisition method in click-to-read mode and electronic equipment | |
| KR20200013298A (en) | Apparatus for managing document utilizing of morphological analysis and operating method thereof | |
| US20240169450A1 (en) | Reply method and device, computer device and storage medium |
| 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 | ||
| RJ01 | Rejection of invention patent application after publication | Application publication date:20171208 | |
| RJ01 | Rejection of invention patent application after publication |