CN106469142A - A kind of method and apparatus that typesetting is carried out to outline project - Google Patents
A kind of method and apparatus that typesetting is carried out to outline project Download PDFInfo
- Publication number
- CN106469142A CN106469142A CN201510520695.0A CN201510520695A CN106469142A CN 106469142 A CN106469142 A CN 106469142A CN 201510520695 A CN201510520695 A CN 201510520695A CN 106469142 A CN106469142 A CN 106469142A
- Authority
- CN
- China
- Prior art keywords
- lantern slide
- project
- outline
- template
- slide template
- 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.)
- Granted
Links
Abstract
The embodiment of the invention discloses a kind of method and apparatus carrying out typesetting to outline project, method includes:Obtain the outline item purpose information of typesetting treated, and identify the quantity of project that each rank in this outline item purpose information comprises;The quantity of the project being comprised according to arbitrary rank in described outline project or at least two ranks, determines the corresponding multiple lantern slide templates of this quantity;The similarity of the format of the lantern slide being located with described outline project according to the plurality of lantern slide template, determines lantern slide template for carrying out typesetting to this outline project.The application embodiment of the present invention, according to the outline number of entry, carries out typesetting automatically to outline project, has expanded the beautifying functions of lantern slide, the experience of lifting user.
Description
Technical field
The present invention relates to the Design Treatment field to lantern slide document, particularly to a kind of to outline project
The method and apparatus carrying out typesetting.
Background technology
In recent years, PowerPoint level steps up, and application is more and more wider, wherein demonstrates literary composition
Original text typically adopts PPT or PPTX form.PowerPoint is just becoming the important set of people's Working Life
Become part, PowerPoint is competing in working report, enterprises propagandist, product recommendations, wedding celebration, project
The fields such as mark, Management Advisory Services play great effect.Widely using with PowerPoint, people couple
Its functional requirement also gets more and more, it is desirable to viewing PowerPoint can be convenient attractive in appearance.
In prior art, the outline project that can identify in PowerPoint, but for identifying
Outline project, is not also had it is impossible to realize to magic lantern using the method that new lantern slide template carries out typesetting
Outline item purpose typesetting again in piece.
Content of the invention
The purpose of the embodiment of the present invention is to provide a kind of method and dress that outline project is carried out with typesetting
Put, expanded the beautifying functions to lantern slide, intelligent typesetting outline item mesh, the use body of lifting user
Test.
For reaching above-mentioned purpose, the embodiment of the invention discloses a kind of side that outline project is carried out with typesetting
Method, including step:
Obtain the outline item purpose information treating typesetting, and identify each level in this outline item purpose information
The quantity of the project not comprised;
The quantity of the project being comprised according to arbitrary rank in described outline project or at least two ranks,
Determine the corresponding multiple lantern slide templates of this quantity;
The phase of the format of the lantern slide being located with described outline project according to the plurality of lantern slide template
Like property, determine lantern slide template for carrying out typesetting to this outline project.
Preferably, determining the version of the lantern slide that the plurality of lantern slide template is located with described outline project
The similarity of formula includes:
For each lantern slide template, according to this corresponding weight coefficient of lantern slide template and described
Each project that in the lantern slide that outline project is located, arbitrary rank or at least two ranks comprise is wrapped
Placeholder shared by respective item or text in the character quantity containing, and this lantern slide template default
The character quantity accommodating in frame, determines the lantern slide that this lantern slide template is located with described outline project
The similarity of format.
Preferably, described determination lantern slide template includes for carrying out typesetting to this outline project:
According to similarity order from big to small, each lantern slide template is ranked up, determines sequence
Lantern slide template afterwards is used for carrying out typesetting to outline project.
Typesetting is carried out to this outline project include preferably, described:
The number being the project being comprised according to arbitrary rank in described outline project when described lantern slide template
Amount, when determining this quantity corresponding lantern slide template, the content of each project in this arbitrary rank is added
It is added in the corresponding project of this lantern slide template;
When described lantern slide template is the project being comprised according at least two ranks in described outline project
Quantity, when determining this quantity corresponding lantern slide template, by each project in this at least two rank
Content be added in the corresponding project of this lantern slide template.
Typesetting is carried out to this outline project also include preferably, described:
For each lantern slide template, judge in the lantern slide that this outline project is located arbitrary rank or extremely
Whether the character quantity that each project that few two ranks comprise is comprised is more than this lantern slide default
The character quantity accommodating in placeholder shared by respective item in template or text box,
When judged result is to be, by this arbitrary rank in outline project or this at least two rank
Font is turned down, so that the placeholder shared by respective item can accommodate completely in described lantern slide template
Each project institute that in the lantern slide that this outline project is located, arbitrary rank or at least two ranks comprise
The alphabet comprising;
When judged result for no when, by this arbitrary rank in outline project or this at least two rank
Font tunes up, so that arbitrary rank or at least two ranks comprise in the lantern slide at this outline project place
The character that comprised of each project can be filled up completely with shared by respective item in described lantern slide template
Placeholder or text box.
Preferably, when described lantern slide template determines for server, methods described also includes:
By in corresponding for this quantity multiple lantern slide templates in addition to the described lantern slide template being determined
Other multiple lantern slide templates be sent to terminal, so that described terminal is shown except being determined in setting regions
Described lantern slide template outside other multiple lantern slide templates, and prompt the user whether change magic lantern
Piece template;
When described lantern slide template determines for terminal, methods described also includes:
Show other the multiple lantern slides in addition to the described lantern slide template being determined in setting regions
Template, and prompt the user whether to change lantern slide template.
For reaching above-mentioned purpose, the embodiment of the invention also discloses a kind of carry out typesetting to outline project
Device, including:
Obtain identification module, for obtaining the outline item purpose information treating typesetting, and identify this outline item
The quantity of the project that each rank in purpose information comprises;
Determining module, for comprising according to arbitrary rank or at least two ranks in described outline project
Project quantity, determine the corresponding multiple lantern slide templates of this quantity;
Determine type-setting module, for be located according to the plurality of lantern slide template and described outline project
The similarity of the format of lantern slide, determines lantern slide template for carrying out typesetting to this outline project.
Preferably, described determination type-setting module specifically for:
For each lantern slide template, according to this corresponding weight coefficient of lantern slide template and described
Each project that in the lantern slide that outline project is located, arbitrary rank or at least two ranks comprise is wrapped
Placeholder shared by respective item or text in the character quantity containing, and this lantern slide template default
The character quantity accommodating in frame, determines the lantern slide that this lantern slide template is located with described outline project
The similarity of format.
Preferably, described determination type-setting module specifically for:
According to similarity order from big to small, each lantern slide template is ranked up, determines sequence
Lantern slide template afterwards is used for carrying out typesetting to outline project.
Preferably, described determination type-setting module specifically for,
The number being the project being comprised according to arbitrary rank in described outline project when described lantern slide template
Amount, when determining this quantity corresponding lantern slide template, the content of each project in this arbitrary rank is added
It is added in the corresponding project of this lantern slide template;
When described lantern slide template is the project being comprised according at least two ranks in described outline project
Quantity, when determining this quantity corresponding lantern slide template, by each project in this at least two rank
Content be added in the corresponding project of this lantern slide template.
Preferably, described determination type-setting module specifically for:
For each lantern slide template, judge in the lantern slide that this outline project is located arbitrary rank or extremely
Whether the character quantity that each project that few two ranks comprise is comprised is more than this lantern slide default
The character quantity accommodating in placeholder shared by respective item in template or text box,
When judged result is to be, by this arbitrary rank in outline project or this at least two rank
Font is turned down, so that the placeholder shared by respective item can accommodate completely in described lantern slide template
Each project institute that in the lantern slide that this outline project is located, arbitrary rank or at least two ranks comprise
The alphabet comprising;
When judged result for no when, by this arbitrary rank in outline project or this at least two rank
Font tunes up, so that arbitrary rank or at least two ranks comprise in the lantern slide at this outline project place
The character that comprised of each project can be filled up completely with shared by respective item in described lantern slide template
Placeholder or text box.
Preferably, when described lantern slide template determines for server, described determination type-setting module, also
For by corresponding for this quantity multiple lantern slide templates in addition to the described lantern slide template being determined
Other multiple lantern slide templates be sent to terminal, so that described terminal is shown except being determined in setting regions
Described lantern slide template outside other multiple lantern slide templates, and prompt the user whether change magic lantern
Piece template;
When described lantern slide template determines for terminal, described determination type-setting module is used for
Show other the multiple lantern slides in addition to the described lantern slide template being determined in setting regions
Template, and prompt the user whether to change lantern slide template.
As seen from the above technical solutions, embodiments provide and a kind of outline project is arranged
The method and apparatus of version, the method includes:Obtain the outline item purpose information treating typesetting, and identify this
The quantity of the project that each rank in outline item purpose information comprises;Appoint according in described outline project
The quantity of the project that one rank or at least two ranks comprise, determines the corresponding multiple magic lanterns of this quantity
Piece template;The format of the lantern slide being located with described outline project according to the plurality of lantern slide template
Similarity, determines lantern slide template for carrying out typesetting to this outline project.It can be seen that, the present invention is implemented
In example, according to the outline number of entry, lantern slide template is selected automatically to carry out typesetting beautification to outline project,
Expand to the outline item purpose beautifying functions in PPT and PPTX in PowerPoint, lifted user
Experience.
Certainly, implement arbitrary product of the present invention or method must be not necessarily required to reach the above simultaneously
All advantages.
Brief description
In order to be illustrated more clearly that the embodiment of the present invention or technical scheme of the prior art, below will be right
In embodiment or description of the prior art the accompanying drawing of required use be briefly described it should be apparent that,
Drawings in the following description are only some embodiments of the present invention, for those of ordinary skill in the art
For, on the premise of not paying creative work, can also be obtained other attached according to these accompanying drawings
Figure.
Figure 1A is a kind of flow process of method that outline project is carried out with typesetting provided in an embodiment of the present invention
Schematic diagram;
Figure 1B show the schematic diagram of information in former lantern slide for the outline project;
Fig. 1 C show Figure 1B and determines lantern slide template by first level and carry out after typesetting again
Schematic diagram;
Fig. 2 is the stream of another kind of method that outline project is carried out with typesetting provided in an embodiment of the present invention
Journey schematic diagram;
Fig. 3 is a kind of structure of device that outline project is carried out with typesetting provided in an embodiment of the present invention
Schematic diagram;
Fig. 4 is the knot of another kind of device that outline project is carried out with typesetting provided in an embodiment of the present invention
Structure schematic diagram.
Specific embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is entered
Row clearly and completely describes it is clear that described embodiment is only a part of embodiment of the present invention,
Rather than whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art are not having
There is the every other embodiment being obtained under the premise of making creative work, broadly fall into present invention protection
Scope.
Embodiments provide a kind of method and apparatus that typesetting is carried out to outline project, the method
In:Obtain the outline item purpose information treating typesetting, and identify each level in this outline item purpose information
The quantity of the project not comprised;According to arbitrary rank in described outline project or at least two rank bags
The quantity of the project containing, determines the corresponding multiple lantern slide templates of this quantity;According to the plurality of magic lantern
The similarity of the format of lantern slide that piece template is located with described outline project, determines that lantern slide template is used
In typesetting is carried out to this outline project.
Below by specific embodiment, the present invention is described in detail.
Figure 1A is a kind of flow process of method that outline project is carried out with typesetting provided in an embodiment of the present invention
Schematic diagram, comprises the steps:
S101:Obtain the outline item purpose information treating typesetting, and identify in this outline item purpose information
The quantity of the project that each rank comprises.
The determination operation of lantern slide template provided in an embodiment of the present invention can server be carried out,
Can terminal carry out.When this operation is that server is carried out, after terminal recognition to outline project,
The outline project of identification can be sent to server, so that server is accordingly unreal to this outline project alternatives
Lamp piece template.Wherein outline item purpose identification belongs to prior art, in embodiments of the present invention to outline
The identification process of project is no longer repeated.
Specifically, after server obtains after the outline project of typesetting, determine for this outline project
It is carried out with the lantern slide template of typesetting, the lantern slide template carrying out typesetting determining is sent to end
End, terminal carries out typesetting using this lantern slide template determining to this outline project, and by after typesetting
Lantern slide is shown to user.
Get the outline item purpose information treating typesetting, and identify that this outline item purpose information includes
Each rank, and the quantity of project that each rank comprises.For example:This outline project is wrapped respectively
Include:The quantity of the project comprising in first level, second level, third level, wherein first level
For 3, the quantity of the project comprising in second level is 5, and the quantity of the project comprising in third level is
2;Or identify that this outline item purpose information includes:This outline project only one of which rank, example
As only having first level, the quantity of the project comprising in this first level is 4;Or identify that this is big
The information of guiding principle project includes:This outline project has two ranks, respectively first level and the second level
Not, the quantity of the project and comprising in first level is 5, the quantity of the project comprising in second level
For 3.
Information in former lantern slide for the outline project for example shown in Figure 1B, terminal gets treats typesetting
Outline item purpose information, and identify this outline item purpose information, according to Figure 1B, this is big
Guiding principle project comprises three ranks, and the wherein quantity of the project that first level comprises is 4, as institute in Figure 1B
" Section 1 ", " Section 2 ", " Section 3 " and " Section 4 " shown, the project that second level comprises
Quantity is 2, is " Section 1 " " subitem " and " Section 2 " below " subitem " below in Figure 1B, the
The quantity of the project that three ranks comprise is 1, is " Section 2 " " subitem " below " son below in Figure 1B
".
S102:The project being comprised according to arbitrary rank in described outline project or at least two ranks
Quantity, determines the corresponding multiple lantern slide templates of this quantity.
Specifically, outline project includes three ranks, respectively first level, second level and the 3rd
Rank, and the quantity of project that each rank comprises is respectively 3,2 and 4, is determining multiple lantern slides
During template, can be the quantity of the project being comprised according to arbitrary rank, determine that this quantity is corresponding multiple
The quantity of the project that lantern slide template, such as first level comprise is 3, determines that this quantity 3 is corresponding many
Individual lantern slide template, that is, comprise the lantern slide of 3 projects.Or, can be according to any when determining
The quantity of the project that two ranks comprise, or the quantity of project that three ranks comprise, determine this number
Amount and corresponding multiple lantern slide templates.For example:The quantity of the project being comprised according to three ranks
9, determine the corresponding multiple lantern slide templates of this quantity.
S103:The format of the lantern slide being located with described outline project according to the plurality of lantern slide template
Similarity, determine lantern slide template for carrying out typesetting to this outline project.
Specifically, determine the version of the lantern slide that the plurality of lantern slide template is located with described outline project
The similarity of formula includes:For each lantern slide template, according to this lantern slide template corresponding weight system
What in number, and the lantern slide that is located of described outline project, arbitrary rank or at least two ranks comprised is every
Accounting for shared by respective item in character quantity that individual project is comprised and this lantern slide template default
The character quantity accommodating in position symbol or text box, determines that this lantern slide template is located with described outline project
The format of lantern slide similarity.
For each lantern slide template, when determining this corresponding weight coefficient of lantern slide template, its power
Weight coefficient can be any value.In order to further increase Consumer's Experience, it is to avoid user frequently changes
Lantern slide template, is directed to each lantern slide template in embodiments of the present invention, can be according to this lantern slide
The download of template, determines this corresponding weight coefficient of lantern slide template;Can also be according to this lantern slide
The recommended number of times of template, determines this corresponding weight coefficient of lantern slide template;Can also basis be somebody's turn to do
The expanded degree of lantern slide template, determines this corresponding weight coefficient of lantern slide template.Determine this magic lantern
The corresponding weight coefficient of piece template, if this lantern slide template is the lantern slide currently widely promoted,
Its corresponding weight coefficient can be increased, its contrary respective weights coefficient reduces.
In order to be further ensured that the accuracy of the lantern slide template of determination, it is to avoid user frequently changes magic lantern
Piece template, can also be for each outline item purpose rank in embodiments of the present invention, arranges this rank
In corresponding weight coefficient, wherein this outline project, the not corresponding weight coefficient of upper level is more than next stage
Not corresponding weight coefficient.At this point it is possible to according toDetermine each lantern slide
The format similarity of the lantern slide that template is located with described outline project, wherein, S is lantern slide template
The similarity of the format of the lantern slide being located with outline project, B is this corresponding weight of lantern slide template
Coefficient, xiThe character quantity being comprised by i-th project in outline project, yiFor default lantern slide mould
The character quantity accommodating in placeholder shared by i-th project or text box in plate, aiFor i-th
The corresponding weight coefficient of mesh, N is the item number that in lantern slide, arbitrary rank or at least two ranks comprise
Amount.Wherein the corresponding weight coefficient of each project can identical it is also possible to different.Lantern slide template pair
The weight coefficient answered can identical it is also possible to different.
For example, in outline project, the quantity of the project that first level comprises is 4, determines that this quantity corresponds to
All lantern slide templates quantity be 6, respectively A, B, C, D, E, F.Wherein, greatly
The character quantity that in guiding principle project, projects are comprised is respectively 20,20,20,20;A corresponds to project institute
The character quantity accommodating in the placeholder taking or text box is respectively 20,40,20,40;C corresponds to
The character quantity accommodating in placeholder shared by project or text box is respectively 20,20,20,20;
The character quantity accommodating in placeholder shared by the corresponding project of E or text box is respectively 40,40,40,
40.The similarity determining the format of the lantern slide that A is located with described outline project isDetermine C and described outline project
The format similarity of lantern slide being located isDetermine E and described outline project institute
The format similarity of lantern slide beBecause in above-described embodiment each
Project is all located at first level, in this rank the corresponding weight coefficient of each project identical thus omit.
For example, two ranks, respectively first level and second level are comprised in outline project, first
When the quantity of the project that rank and second level comprise is respectively 2 and 3, then can be respectively according to the first order
The quantity of the project that the quantity of the project not comprised, second level comprise and first level and the second level
The quantity of the project not comprised, determines corresponding lantern slide template.For example, comprised according to first level
The quantity of project and the quantity of project that comprises of second level be 5, determine corresponding lantern slide template.
The such as corresponding lantern slide template of quantity 5 includes d, and wherein, the project that first level comprises is comprised
Character quantity be respectively 20,20, character quantity that the project that second level comprises is comprised is respectively
For 20,20,20;The word accommodating in placeholder shared by the corresponding project of lantern slide template or text box
Symbol quantity is respectively 40,40,40,40,40.Similarity is
Determine the similarity of the format of lantern slide that each lantern slide template is located with this outline project
Afterwards, the order from big to small according to similarity, is ranked up to each lantern slide template, after this sequence
Each lantern slide template may be used to carry out typesetting to outline project, for the ease of the choosing of user
Select, the lantern slide template after sequence can be supplied to user, so that user selects lantern slide template to enter
Row outline project typesetting.If selecting the maximum lantern slide template of similarity, will be true for this lantern slide template
It is set to the lantern slide template to this outline project typesetting.When the maximum lantern slide template of similarity has at least
When two, arbitrarily select a lantern slide template as the lantern slide template to this outline project typesetting.
It should be noted that not doing to the specific implementation calculating described similarity in the application
Limit, any possible implementation can be applied in the application.
Due to this lantern slide template in embodiments of the present invention can be server determine or
Terminal determines, when this lantern slide template determines for server, server determines corresponding magic lantern
After piece template, this lantern slide template is sent to terminal, terminal is according to the lantern slide template pair receiving
Outline project carries out typesetting.Wherein the process that outline project is added to lantern slide template is belonged to existing by terminal
There is technology, in the embodiment of the present invention, this process is not repeated.
Specifically, described determination lantern slide template includes for carrying out typesetting to this outline project:
According to similarity order from big to small, each lantern slide template is ranked up, determines sequence
Lantern slide template afterwards is used for carrying out typesetting to outline project.
Lantern slide template is sorted it is assumed that the magic lantern of serial number 1,2,3,4,5,6 according to similarity
Piece template respectively with described outline project be located lantern slide format similarity be 0.9,0.24,
0.78、0.99、0.45、0.67.By lantern slide template according to similarity ascending sort, lantern slide mould
Plate clooating sequence is represented respectively with its sequence number:4、1、3、6、5、2.Magic lantern after this is sorted
Piece template is supplied to user, in order to carry out outline item purpose typesetting.
Specifically, described typesetting is carried out to this outline project include:According to described lantern slide template
The quantity of the project that arbitrary rank comprises in described outline project, determines this quantity corresponding lantern slide mould
During plate, the content of each project in this arbitrary rank is added to the corresponding project of this lantern slide template
In.
For example:Through step S102, when described lantern slide template is according in described outline project
The quantity 3 of the other project of one-level, determines that this corresponding lantern slide template of quantity 3 is D, then directly should
In first level, the content of each project is added in the corresponding project of this lantern slide template D.Work as user
When wishing to increase project in the template of this determination, corresponding project in increase template can be set manually;
When user wishes to delete some projects in the template of this determination, phase in deletion template can be set manually
The project answered.
Fig. 1 C show the item number determination that the outline item purpose first level according to Figure 1B comprises
Corresponding lantern slide template, is carried out again using the project that this lantern slide template comprises to first level
Format after typesetting, the outline project of 4 first levels has been re-added to A, B, C, D4
In placeholder, carry out typesetting again.
When described lantern slide template is the project being comprised according at least two ranks in described outline project
Quantity, when determining this quantity corresponding lantern slide template, by each project in this at least two rank
Content be added in the corresponding project of this lantern slide template.For example;According to described outline project first
The number of entry that rank comprises and the number of entry that second level comprises, determine the corresponding magic lantern of this quantity
Piece template.Determine lantern slide template through step S102, then directly by this first level and the second level
The content of each project in not is added in this corresponding project of lantern slide template.When user wishes
When increasing project in the template of this determination, corresponding project in increase template can be set manually;Work as user
When wishing to delete some projects in the template of this determination, corresponding item in deletion template can be set manually
Mesh.
The quantity that simultaneously there is also the project in the lantern slide template of user's determination is equal to outline project
In the number of entry that comprises of this arbitrary rank or this at least two rank, but some or a few
Corresponding entry in the lantern slide template that character quantity in individual outline project determines less or greater than family
The character quantity that in mesh, placeholder can accommodate, at this moment in order to outline item purpose content is added to correspondence
Lantern slide template in it should arbitrary rank or at least two in the lantern slide that is first located according to outline project
Corresponding in character quantity that each project that individual rank comprises is comprised and this lantern slide template default
The character quantity accommodating in placeholder shared by project or text box, to adjust the word in outline project
Body size.When therefore typesetting being carried out to outline project, for each lantern slide template, can first judge
Each project institute that in the lantern slide that this outline project is located, arbitrary rank or at least two ranks comprise
Whether the character quantity comprising is more than the occupy-place shared by respective item in this lantern slide template default
The character quantity accommodating in symbol or text box,
When judged result is to be, by this arbitrary rank in outline project or this at least two rank
Font is turned down, so that the placeholder shared by respective item can accommodate completely in described lantern slide template
Each project institute that in the lantern slide that this outline project is located, arbitrary rank or at least two ranks comprise
The alphabet comprising;
When judged result for no when, by this arbitrary rank in outline project or this at least two rank
Font tunes up, so that arbitrary rank or at least two ranks comprise in the lantern slide at this outline project place
The character that comprised of each project can be filled up completely with shared by respective item in described lantern slide template
Placeholder or text box.
Specifically, when in the lantern slide that this outline project is located arbitrary rank or at least two ranks comprise
The character quantity that comprised of each project be respectively 20,40,20, and this lantern slide template default
The character quantity accommodating in placeholder shared by middle respective item or text box is respectively 10,20,10,
Each project that in the lantern slide that i.e. this outline project is located, arbitrary rank or at least two ranks comprise
The character quantity being comprised is more than the placeholder in this lantern slide template default shared by respective item
Or in text box accommodate character quantity, then by this arbitrary rank in outline project or this at least two
The font of rank is turned down, is then added in lantern slide template.
Each comprising when arbitrary rank or at least two ranks in the lantern slide that this outline project is located
The character quantity that project is comprised is respectively 20,40,20, and corresponding in this lantern slide template default
The character quantity accommodating in placeholder shared by project or text box is respectively 40,60,60, that is, should
Each project that in the lantern slide that outline project is located, arbitrary rank or at least two ranks comprise is wrapped
The character quantity containing is less than the placeholder shared by respective item or literary composition in this lantern slide template default
The character quantity accommodating in this frame, then by this arbitrary rank in outline project or this at least two rank
Font tune up, be then added in lantern slide template.
Apply embodiment illustrated in fig. 1 of the present invention, automatically can carry out the beautification of typesetting again for lantern slide,
The beautifying functions of lantern slide, the experience of lifting user are expanded.
Fig. 2 is the flow process of another kind of method that outline project is carried out with typesetting provided in an embodiment of the present invention
Schematic diagram, this process is with lantern slide template for illustrating that server determines, as follows including step:
S201:Obtain the outline item purpose information treating typesetting, and identify in this outline item purpose information
The quantity of the project that each rank comprises.
Wherein outline item purpose identification belongs to prior art, in embodiments of the present invention to outline item purpose
Identification process is no longer repeated.This outline project can be terminal recognition, when terminal recognition is to greatly
After guiding principle project, the outline project of identification is sent to server, so that server selects to this outline project
Select corresponding lantern slide template and carry out typesetting.
S202:The project being comprised according to arbitrary rank in described outline project or at least two ranks
Quantity, determines the corresponding multiple lantern slide templates of this quantity.
S203:The format of the lantern slide being located with described outline project according to the plurality of lantern slide template
Similarity, determine the lantern slide template that this outline project carried out with typesetting, make terminal according to this magic lantern
Piece template carries out typesetting to this outline project.
S204:The described lantern slide template being determined will be removed in corresponding for this quantity multiple lantern slide templates
Outside other multiple lantern slide templates be sent to described terminal, so that described terminal is shown in setting regions
Except other the multiple lantern slide templates before the described lantern slide template being determined, and prompt the user whether
Change template.
Specifically for example:Assume through step S202 to step S203 it is determined that to described outline item
Mesh continues the lantern slide template of typesetting, but step S203 determines the magic lantern that this outline project is carried out with typesetting
It is assumed that there being this 3 lantern slide templates of X, Y, Z, step S203 is in institute to piece template more than one
A lantern slide template is have selected in the lantern slide template that 3 determining carry out typesetting to this outline project
X carries out typesetting to this outline project, and at this moment in order to increase Consumer's Experience, server is by lantern slide template
Y and Z is sent to described client terminal, so that described client terminal is shown except true in setting regions
Other multiple lantern slide templates before fixed described lantern slide template, that is, show Y and Z, and point out
Whether user changes template.
When this outline project is terminal recognition, this lantern slide template is sent to terminal by server, eventually
End carries out typesetting according to the lantern slide template receiving to outline project;When outline project is that server is known
When other, because server is when determining lantern slide template, can according to rank arbitrary in outline project or
The number of entry that at least two ranks comprise determines, therefore for the ease of terminal by corresponding outline project
It is added in lantern slide template, server, when sending this lantern slide template to terminal, notifies this terminal
This lantern slide template determines using the number of entry being which rank or which rank comprises.
Certainly this lantern slide template can also be that terminal determines, when terminal determines lantern slide template
Afterwards, directly typesetting is carried out to outline project according to this lantern slide template.
Application the above embodiment of the present invention, can carry out typesetting again for outline project, expand to magic lantern
The beautifying functions of piece, Intelligent treatment beautifies the experience that outline project lifts user, and by aobvious
Show that other alternative lantern slide templates further increase the experience of user.
Fig. 3 is a kind of structure of device that outline project is carried out with typesetting provided in an embodiment of the present invention
Schematic diagram, corresponding with the flow process shown in Fig. 1, including acquisition identification module 301, determining module 302
With determination type-setting module 303.
Obtain identification module 301:For obtaining the outline item purpose information treating typesetting, and identify that this is big
The quantity of the project that each rank in the information of guiding principle project comprises.
Determining module 302:For according to arbitrary rank or at least two ranks in described outline project
The quantity of the project comprising, determines the corresponding multiple lantern slide templates of this quantity.
Determine type-setting module 303, for according to the plurality of lantern slide template and described outline project institute
Lantern slide format similarity, determine lantern slide template for arranging to this outline project
Version.
Described determination type-setting module specifically for:
For each lantern slide template, according to this corresponding weight coefficient of lantern slide template and described
Each project that in the lantern slide that outline project is located, arbitrary rank or at least two ranks comprise is wrapped
Placeholder shared by respective item or text in the character quantity containing, and this lantern slide template default
The character quantity accommodating in frame, determines the lantern slide that this lantern slide template is located with described outline project
The similarity of format.
Described determination type-setting module specifically for:
According to similarity order from big to small, each lantern slide template is ranked up, determines sequence
Lantern slide template afterwards is used for carrying out typesetting to outline project.
Described determination type-setting module specifically for:
The number being the project being comprised according to arbitrary rank in described outline project when described lantern slide template
Amount, when determining this quantity corresponding lantern slide template, the content of each project in this arbitrary rank is added
It is added in the corresponding project of this lantern slide template;When described lantern slide template is according to described outline project
In the quantity of project that comprises of at least two ranks, when determining this quantity corresponding lantern slide template, will
In this at least two rank, the content of each project is added in the corresponding project of this lantern slide template.
Described determination type-setting module specifically for:
For each lantern slide template, judge in the lantern slide that this outline project is located arbitrary rank or extremely
Whether the character quantity that each project that few two ranks comprise is comprised is more than this lantern slide default
The character quantity accommodating in placeholder shared by respective item in template or text box;
When judged result is to be, by this arbitrary rank in outline project or this at least two rank
Font is turned down, so that the placeholder shared by respective item can accommodate completely in described lantern slide template
Each project institute that in the lantern slide that this outline project is located, arbitrary rank or at least two ranks comprise
The alphabet comprising;
When judged result for no when, by this arbitrary rank in outline project or this at least two rank
Font tunes up, so that arbitrary rank or at least two ranks comprise in the lantern slide at this outline project place
The character that comprised of each project be filled up completely with shared by respective item in described lantern slide template
Placeholder or text box.
Apply embodiment illustrated in fig. 3 of the present invention, typesetting again can be carried out for outline project, it is right to have expanded
The beautifying functions of lantern slide, Intelligent treatment beautifies the experience that outline project lifts user.
For device embodiment, because it is substantially similar to embodiment of the method, so the ratio of description
Relatively simple, in place of correlation, the part referring to embodiment of the method illustrates.
Fig. 4 is the structure of another kind of device that outline project is carried out with typesetting provided in an embodiment of the present invention
Schematic diagram, including acquisition identification module 401, determining module 402 and determination type-setting module 403.
Obtain identification module 401, for obtaining identification module, for obtaining the outline project treating typesetting
Information, and identify the quantity of project that each rank in this outline item purpose information comprises.
Determining module 402, for according to arbitrary rank or at least two ranks in described outline project
The quantity of the project comprising, determines the corresponding multiple lantern slide templates of this quantity.
Determination type-setting module 403 in the present embodiment also includes determining typesetting submodule and sends submodule
Block;
Described determination typesetting submodule, for according to the plurality of lantern slide template and described outline project
The similarity of the format of lantern slide being located, determines lantern slide template for arranging to this outline project
Version.
When described lantern slide template determines for server, described sending submodule, for by this quantity
In corresponding multiple lantern slide template, other in addition to the described lantern slide template being determined are multiple unreal
Lamp piece template is sent to described terminal, so that described terminal is shown in setting regions described unreal except be determined
Other multiple lantern slide templates outside lamp piece template, and prompt the user whether to change lantern slide template;
When described lantern slide template determines for terminal, described determination type-setting module, for setting area
Domain shows other the multiple lantern slide templates in addition to the described lantern slide template being determined, and points out to use
Whether family changes lantern slide template.
Wherein this device may be located in server it is also possible to be located in terminal.
Apply embodiment illustrated in fig. 4 of the present invention, typesetting again can be carried out for outline project, it is right to have expanded
The beautifying functions of lantern slide, Intelligent treatment beautifies the experience that outline project lifts user, and leads to
Cross the experience showing that other alternative lantern slide templates further increase user.
It should be noted that herein, such as first and second or the like relational terms are only used
By an entity or operation with another entity or operate make a distinction, and not necessarily require or
Imply between these entities or operation, there is any this actual relation or order.And, term
" inclusion ", "comprising" or its any other variant are intended to comprising of nonexcludability, so that
Not only include those key elements including a series of process of key elements, method, article or equipment, but also
Including other key elements being not expressly set out, or also include for this process, method, article or
The intrinsic key element of person's equipment.In the absence of more restrictions, by sentence "including a ..."
The key element limiting is it is not excluded that go back in process, method, article or the equipment include described key element
There is other identical element.
One of ordinary skill in the art will appreciate that realize said method be whole in embodiment or
Part steps can be by program to complete come the hardware to instruct correlation.Described program can store
In computer read/write memory medium, the storage medium obtaining designated herein, such as:ROM/RAM、
Magnetic disc, CD etc..
The foregoing is only presently preferred embodiments of the present invention, be not intended to limit the protection of the present invention
Scope.All any modification, equivalent substitution and improvement made within the spirit and principles in the present invention etc.,
It is all contained in protection scope of the present invention.
Claims (12)
1. a kind of method that outline project is carried out with typesetting is it is characterised in that methods described includes walking
Suddenly:
Obtain the outline item purpose information treating typesetting, and identify each level in this outline item purpose information
The quantity of the project not comprised;
The quantity of the project being comprised according to arbitrary rank in described outline project or at least two ranks,
Determine the corresponding multiple lantern slide templates of this quantity;
The phase of the format of the lantern slide being located with described outline project according to the plurality of lantern slide template
Like property, determine lantern slide template for carrying out typesetting to this outline project.
2. method according to claim 1 is it is characterised in that determine the plurality of lantern slide mould
The similarity of the format of the lantern slide that plate is located with described outline project includes:
For each lantern slide template, according to this corresponding weight coefficient of lantern slide template and described
Each project that in the lantern slide that outline project is located, arbitrary rank or at least two ranks comprise is wrapped
Placeholder shared by respective item or text in the character quantity containing and this lantern slide template default
The character quantity accommodating in frame, determines the lantern slide that this lantern slide template is located with described outline project
The similarity of format.
3. method according to claim 1 is it is characterised in that described determination lantern slide template is used
Include in typesetting is carried out to this outline project:
According to similarity order from big to small, each lantern slide template is ranked up, determines sequence
Lantern slide template afterwards is used for carrying out typesetting to outline project.
4. method according to claim 1 is it is characterised in that described carried out to this outline project
Typesetting includes:
The number being the project being comprised according to arbitrary rank in described outline project when described lantern slide template
Amount, when determining this quantity corresponding lantern slide template, the content of each project in this arbitrary rank is added
It is added in the corresponding project of this lantern slide template;
When described lantern slide template is the project being comprised according at least two ranks in described outline project
Quantity, when determining this quantity corresponding lantern slide template, by each project in this at least two rank
Content be added in the corresponding project of this lantern slide template.
5. method according to claim 1 is it is characterised in that described carried out to this outline project
Typesetting also includes:
For each lantern slide template, judge in the lantern slide that this outline project is located arbitrary rank or extremely
Whether the character quantity that each project that few two ranks comprise is comprised is more than this lantern slide default
The character quantity accommodating in placeholder shared by respective item in template or text box,
When judged result is to be, by this arbitrary rank in outline project or this at least two rank
Font is turned down, so that the placeholder shared by respective item can accommodate completely in described lantern slide template
Each project institute that in the lantern slide that this outline project is located, arbitrary rank or at least two ranks comprise
The alphabet comprising;
When judged result for no when, by this arbitrary rank in outline project or this at least two rank
Font tunes up, so that arbitrary rank or at least two ranks comprise in the lantern slide at this outline project place
The character that comprised of each project can be filled up completely with shared by respective item in described lantern slide template
Placeholder or text box.
6. method according to claim 1 is it is characterised in that working as described lantern slide template is clothes
When business device determines, methods described also includes:
By in corresponding for this quantity multiple lantern slide templates in addition to the described lantern slide template being determined
Other multiple lantern slide templates be sent to terminal, so that described terminal is shown except being determined in setting regions
Described lantern slide template outside other multiple lantern slide templates, and prompt the user whether change magic lantern
Piece template;
When described lantern slide template determines for terminal, methods described also includes:
Show other the multiple lantern slides in addition to the described lantern slide template being determined in setting regions
Template, and prompt the user whether to change lantern slide template.
7. a kind of the device of typesetting is carried out it is characterised in that described device includes to outline project:
Obtain identification module, for obtaining the outline item purpose information treating typesetting, and identify this outline item
The quantity of the project that each rank in purpose information comprises;
Determining module, for comprising according to arbitrary rank or at least two ranks in described outline project
Project quantity, determine the corresponding multiple lantern slide templates of this quantity;
Determine type-setting module, for be located according to the plurality of lantern slide template and described outline project
The similarity of the format of lantern slide, determines lantern slide template for carrying out typesetting to this outline project.
8. device according to claim 7, it is characterised in that described determination type-setting module, has
Body is used for for each lantern slide template, according to this corresponding weight coefficient of lantern slide template, Yi Jisuo
State each project institute that in the lantern slide at outline project place, arbitrary rank or at least two ranks comprise
Placeholder shared by respective item or literary composition in the character quantity comprising and this lantern slide template default
The character quantity accommodating in this frame, determines the lantern slide that this lantern slide template is located with described outline project
Format similarity.
9. device according to claim 7 is it is characterised in that described determination type-setting module is concrete
For:
According to similarity order from big to small, each lantern slide template is ranked up, determines sequence
Lantern slide template afterwards is used for carrying out typesetting to outline project.
10. device according to claim 7 is it is characterised in that described determination type-setting module has
Body is used for, when described lantern slide template is the project being comprised according to arbitrary rank in described outline project
Quantity, when determining this quantity corresponding lantern slide template, by the content of each project in this arbitrary rank
It is added in the corresponding project of this lantern slide template;
When described lantern slide template is the project being comprised according at least two ranks in described outline project
Quantity, when determining this quantity corresponding lantern slide template, by each project in this at least two rank
Content be added in the corresponding project of this lantern slide template.
11. devices according to claim 7 are it is characterised in that described determination type-setting module has
Body is used for:
For each lantern slide template, judge in the lantern slide that this outline project is located arbitrary rank or extremely
Whether the character quantity that each project that few two ranks comprise is comprised is more than this lantern slide default
The character quantity accommodating in placeholder shared by respective item in template or text box,
When judged result is to be, by this arbitrary rank in outline project or this at least two rank
Font is turned down, so that the placeholder shared by respective item can accommodate completely in described lantern slide template
Each project institute that in the lantern slide that this outline project is located, arbitrary rank or at least two ranks comprise
The alphabet comprising;
When judged result for no when, by this arbitrary rank in outline project or this at least two rank
Font tunes up, so that arbitrary rank or at least two ranks comprise in the lantern slide at this outline project place
The character that comprised of each project can be filled up completely with shared by respective item in described lantern slide template
Placeholder or text box.
12. devices according to claim 7 are it is characterised in that when described lantern slide template is
When server determines, described determination type-setting module, it is additionally operable to corresponding for this quantity multiple lantern slide moulds
In plate, the multiple lantern slide template of other in addition to the described lantern slide template being determined is sent to terminal,
Described terminal is made to show that other in addition to the described lantern slide template being determined are multiple in setting regions
Lantern slide template, and prompt the user whether to change lantern slide template;
When described lantern slide template determines for terminal, described determination type-setting module, for setting area
Domain shows other the multiple lantern slide templates in addition to the described lantern slide template being determined, and points out to use
Whether family changes lantern slide template.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510520695.0A CN106469142B (en) | 2015-08-21 | 2015-08-21 | The method and apparatus that a kind of pair of outline project carries out typesetting |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510520695.0A CN106469142B (en) | 2015-08-21 | 2015-08-21 | The method and apparatus that a kind of pair of outline project carries out typesetting |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106469142A true CN106469142A (en) | 2017-03-01 |
CN106469142B CN106469142B (en) | 2019-05-31 |
Family
ID=58229292
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510520695.0A Active CN106469142B (en) | 2015-08-21 | 2015-08-21 | The method and apparatus that a kind of pair of outline project carries out typesetting |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106469142B (en) |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101350009A (en) * | 2008-09-05 | 2009-01-21 | 中国工商银行股份有限公司 | System for writing and compiling cooperated documents |
US7577905B2 (en) * | 2005-06-13 | 2009-08-18 | Microsoft Corporation | Applying a design to a slide using equivalent layouts |
CN104598635A (en) * | 2015-02-06 | 2015-05-06 | 无锡江南计算技术研究所 | Automatic complex document generating method based on XML (Extensive Markup Language) description |
-
2015
- 2015-08-21 CN CN201510520695.0A patent/CN106469142B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7577905B2 (en) * | 2005-06-13 | 2009-08-18 | Microsoft Corporation | Applying a design to a slide using equivalent layouts |
CN101350009A (en) * | 2008-09-05 | 2009-01-21 | 中国工商银行股份有限公司 | System for writing and compiling cooperated documents |
CN104598635A (en) * | 2015-02-06 | 2015-05-06 | 无锡江南计算技术研究所 | Automatic complex document generating method based on XML (Extensive Markup Language) description |
Also Published As
Publication number | Publication date |
---|---|
CN106469142B (en) | 2019-05-31 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101290632B (en) | Input method for user words participating in intelligent word-making and input method system | |
CN107562467A (en) | Page rendering method, apparatus and equipment | |
CN111428457B (en) | Automatic formatting of data tables | |
CN107463304A (en) | Desktop icons method for sorting, device, mobile device and storage medium | |
CN107665217A (en) | A kind of vocabulary processing method and system for searching service | |
CN108171267A (en) | User group partitioning method and device, information push method and device | |
CN107332567B (en) | Coding method and device | |
CN104572735A (en) | Photo tagging word recommending method and device | |
CN107391509A (en) | Label recommendation method and device | |
CN106598999A (en) | Method and device for calculating text theme membership degree | |
CN110059163A (en) | Generate method and apparatus, the electronic equipment, computer-readable medium of template | |
CN108829651A (en) | A kind of method, apparatus of document treatment, terminal device and storage medium | |
CN106919588A (en) | A kind of application program search system and method | |
CN101017479A (en) | Method for automatically identifying digital document type page | |
CN104572932A (en) | Method and device for determining interest label | |
CN106446280B (en) | Song data processing method and device | |
CN110363206A (en) | Cluster, data processing and the data identification method of data object | |
CN106469142A (en) | A kind of method and apparatus that typesetting is carried out to outline project | |
CN116860963A (en) | Text classification method, equipment and storage medium | |
CN110929160A (en) | Method for optimizing system sequencing result | |
CN107220273A (en) | A kind of cartoon character face searching method | |
CN107818152A (en) | A kind of plant search method and system | |
CN107562533A (en) | A kind of data loading processing method and device | |
CN105279172B (en) | Video matching method and device | |
CN104598451A (en) | Method and terminal equipment for looking up contact person |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |