CN109308345A - A kind of character displaying method, device, electronic equipment and storage medium - Google Patents
A kind of character displaying method, device, electronic equipment and storage medium Download PDFInfo
- Publication number
- CN109308345A CN109308345A CN201710619533.1A CN201710619533A CN109308345A CN 109308345 A CN109308345 A CN 109308345A CN 201710619533 A CN201710619533 A CN 201710619533A CN 109308345 A CN109308345 A CN 109308345A
- Authority
- CN
- China
- Prior art keywords
- text
- powerpoint
- shape
- information
- text box
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 45
- 230000000694 effects Effects 0.000 claims abstract description 106
- 238000006243 chemical reaction Methods 0.000 claims abstract description 59
- 238000004040 coloring Methods 0.000 claims abstract description 15
- 238000004891 communication Methods 0.000 claims description 19
- 238000012545 processing Methods 0.000 claims description 16
- 238000004590 computer program Methods 0.000 claims description 8
- 235000013399 edible fruits Nutrition 0.000 claims description 5
- 230000006399 behavior Effects 0.000 claims description 2
- 230000008569 process Effects 0.000 description 8
- 238000010586 diagram Methods 0.000 description 5
- 238000005516 engineering process Methods 0.000 description 2
- 238000003780 insertion Methods 0.000 description 2
- 230000037431 insertion Effects 0.000 description 2
- 230000002093 peripheral effect Effects 0.000 description 2
- 238000003672 processing method Methods 0.000 description 2
- 230000008859 change Effects 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000005553 drilling Methods 0.000 description 1
- 238000000802 evaporation-induced self-assembly Methods 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000002360 preparation method Methods 0.000 description 1
- 238000009877 rendering Methods 0.000 description 1
- 238000013519 translation Methods 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F40/00—Handling natural language data
- G06F40/10—Text processing
- G06F40/103—Formatting, i.e. changing of presentation of documents
- G06F40/106—Display of layout of documents; Previewing
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F40/00—Handling natural language data
- G06F40/10—Text processing
- G06F40/103—Formatting, i.e. changing of presentation of documents
- G06F40/109—Font handling; Temporal or kinetic typography
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Health & Medical Sciences (AREA)
- Artificial Intelligence (AREA)
- Audiology, Speech & Language Pathology (AREA)
- Computational Linguistics (AREA)
- General Health & Medical Sciences (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Controls And Circuits For Display Device (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
The embodiment of the invention provides a kind of character displaying method, device, electronic equipment and storage mediums, which comprises receives the operational order for the object that the text conversion in text box is customized shape type in PowerPoint;Attribute information, location information and the profile information of text are obtained, attribute information includes at least the size information of the colouring information of text, the font information of text, text;It obtains text box and is in the second position in PowerPoint, default operation is carried out to first position and the second position, obtains operation result;According to operational order, attribute information, profile information and operation result are added in object, obtain the corresponding shape of text;Animation effect setting and/or rotary setting are carried out to shape, the shape effect after being arranged, and shape effect is shown in PowerPoint.Using the embodiment of the present invention, the display effect of text in text box is improved, to improve user experience.
Description
Technical field
The present invention relates to office software fields, more particularly to a kind of character displaying method, device, electronic equipment and storage
Medium.
Background technique
With the development of society and the application of science and technology, computer also gradually becomes indispensable in our modern handle official bussinesses
A part, be also just pregnant with many office softwares, such as word processor, spreadsheet software, PowerPoint in this way
Software etc..Wherein, PowerPoint software is as the display work for expressing certain idea, demonstration achievement, the various information of reception and registration etc.
Tool, the convenience to bring great convenience to our work.And in PowerPoint software is shown, the setting effect of text in text box
There is very important effect to the display effect of PowerPoint.
In existing PowerPoint display text frame in the method for text, text box is first inserted into PowerPoint, such as
Shown in Fig. 1, text is chosen in the Start menu column of WPS (Word Process System, word processor) demoware
This frame (lateral text box or vertical text box), text is then added in text box, chooses the text in text box, then right
These texts are configured, for example, the font of text is arranged, the size of text is arranged, the thickness of text is arranged, the animation of text
It is arranged, the filling of text color, the filling of character background etc., obtains different text setting effects, final PowerPoint will be set
The text setting effect set is shown to user.
But in some cases, text in existing this PowerPoint display text frame in the method for text
Setting effect function is not able to satisfy user's needs sometimes, such as: when speech PPT (PowerPoint, PowerPoint) projection,
The operation for receiving user in the PowerPoint to the text setting animation effect in text box is first passed through, then according to the operation
The corresponding text effects of display, but because lacking corresponding font in locating machine system, cause text that cannot normally show
Show;In another example user selects a kind of operation of animation effect, and PowerPoint software receives when user makes speech PPT
The user's operation, PowerPoint can only a kind of animation effect of all text importings to entire text box, such as in text box
Text is " I am Chinese ", a kind of animation effect can only be arranged to all texts in entire text box;In addition, user needs
When rotating to the text in text box, PowerPoint can only carry out whole rotation to text box, and cannot be to text box
In text carry out rotation process, the display effect that these result in text in text box is poor, to influence user experience.
Summary of the invention
The embodiment of the present invention is designed to provide a kind of character displaying method, device, electronic equipment and storage medium, with
The display effect for improving text in text box, to improve user experience.Specific technical solution is as follows:
The embodiment of the invention discloses a kind of character displaying method, applied in the PowerPoint of office software, the side
Method includes:
It receives the operational order for the object that the text conversion in text box is customized shape type in PowerPoint;
The attribute information, location information and profile information of the text are obtained, the attribute information includes at least text
The size information of colouring information, the font information of text, text, the location information indicate that the text is in the text box
First position;
The second position that the text box is in the PowerPoint is obtained, to the first position and the second
It sets and carries out default operation, obtain operation result;
According to the operational order, the attribute information, the profile information and the operation result are added to described
In object, the corresponding shape of the text is obtained;
Setting is filled to the shape, obtains the filling effect of the shape, and show in the PowerPoint
The filling effect.
Optionally, it is described receive in PowerPoint be by the text conversion in text box customized shape type object
Operational order, comprising:
The text chosen in text box in PowerPoint is received, and chooses conversion in the tabs of the PowerPoint
For the operational order of the object of customized shape type.
Optionally, described that default operation is carried out to the first position and the second position, operation result is obtained, is wrapped
It includes:
The first position is obtained using the first frame angle of the text box as the first coordinate value of the text of coordinate origin, with
And the second position is using the second frame angle of the PowerPoint as the second coordinate value of first frame angle of coordinate origin;
First coordinate value is added with second coordinate value, is obtained using second frame angle as the institute of coordinate origin
State the third coordinate value of text.
Optionally, described according to the operational order, by the attribute information, the profile information and the operation knot
Fruit is added in the object, obtains the corresponding shape of the text, comprising:
According to the operational order, believe the attribute information as the attribute of the object of the customized shape type
Breath, using the profile information of the text as the profile information of the object of the customized shape type, by the operation result
The location information of object as the customized shape type obtains the corresponding shape of the text.
The embodiment of the invention discloses a kind of character display apparatus, applied in the PowerPoint of office software, the dress
It sets and includes:
Receiving module, for receiving the object in PowerPoint by the text conversion in text box for customized shape type
Operational order;
Module is obtained, for obtaining the attribute information, location information and profile information of the text, the attribute information is extremely
It less include the size information of the colouring information of text, the font information of text, text, the location information indicates at the text
In the first position of the text box;
Computing module, the second position being in the PowerPoint for obtaining the text box, to described first
It sets and carries out default operation with the second position, obtain operation result;
Processing module is used for according to the operational order, by the attribute information, the profile information and the operation
As a result it is added in the object, obtains the corresponding shape of the text;
Display module obtains the filling effect of the shape, and drill described for being filled setting to the shape
Show and shows the filling effect in manuscript.
Optionally, the receiving module, is specifically used for:
The text chosen in text box in PowerPoint is received, and chooses conversion in the tabs of the PowerPoint
For the operational order of the object of customized shape type.
Optionally, the computing module, comprising:
Acquisition submodule, for obtaining the first position using the first frame angle of the text box as the text of coordinate origin
The first coordinate value and the second position using the second frame angle of the PowerPoint as first frame angle of coordinate origin
The second coordinate value;
Computational submodule is obtained for first coordinate value to be added with second coordinate value with second frame
Angle is the third coordinate value of the text of coordinate origin.
Optionally, the processing module, is specifically used for:
According to the operational order, believe the attribute information as the attribute of the object of the customized shape type
Breath, using the profile information of the text as the profile information of the object of the customized shape type, by the operation result
The location information of object as the customized shape type obtains the corresponding shape of the text.
The embodiment of the invention discloses a kind of electronic equipment, including processor, communication interface, memory and communication bus,
Wherein, the processor, the communication interface, the memory complete mutual communication by communication bus;
The memory, for storing computer program;
The processor when for executing the program stored on the memory, realizes any of the above-described method
Step.
The embodiment of the invention discloses a kind of computer readable storage medium, storage in the computer readable storage medium
There is computer program, the computer program realizes any of the above-described method and step when being executed by processor.
A kind of character displaying method, device, electronic equipment and storage medium provided in an embodiment of the present invention are demonstrated when receiving
By the operational order for the object that the text conversion in text box is customized shape type in manuscript;First obtain the attribute letter of text
Breath, location information and profile information, attribute information include at least the colouring information of text, the font information of text, text it is big
Small information, location information indicate that text is in the first position of text box;Text box is in PowerPoint second is obtained again
Position carries out default operation to first position and the second position, obtains operation result;Then according to operational order, attribute is believed
Breath, profile information and operation result are added in object, obtain the corresponding shape of text;Animation effect finally is carried out to shape
Setting and/or rotary setting, the shape effect after being arranged, and shape effect is shown in PowerPoint.It is this by text
Text conversion in frame is the method for shape, not only solves the problem that text setting effect is limited in text box, and convert
Shape afterwards can produce richer display effect and result of broadcast, improve the display effect of text in text box, from
And improve user experience.Certainly, it implements any of the products of the present invention or method must be not necessarily required to reach described above simultaneously
All advantages.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below
There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this
Some embodiments of invention for those of ordinary skill in the art without creative efforts, can be with
It obtains other drawings based on these drawings.
Fig. 1 is a kind of flow diagram of character displaying method provided in an embodiment of the present invention;
Fig. 2 is a kind of structural schematic diagram of character display apparatus provided in an embodiment of the present invention;
Fig. 3 is the structural schematic diagram of a kind of electronic equipment provided in an embodiment of the present invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete
Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on
Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts every other
Embodiment shall fall within the protection scope of the present invention.
Since the text in text box is limited by text box itself so that in text box the display effect of text spirit
Limited activity.Therefore, a kind of character displaying method provided by the invention uses shape in the insertion option in PowerPoint software
Type, is shape type by the text conversion in text box, and the shape after conversion not only remains the typesetting of text in text box
Effect, display effect etc., so that user can still readily recognize the shape after conversion, and the shape after conversion is the same as demonstration
Shape type is the same in insertion option in manuscript software, can carry out animation effect filling to each shape after conversion respectively
The displays such as rotation setting solves the problems, such as that character display effect limits in text box in PowerPoint software, to improve
The display effect of text.Detailed process is as follows:
Referring to Fig. 1, Fig. 1 is a kind of flow diagram of character displaying method provided in an embodiment of the present invention, including as follows
Step:
S101 is received in PowerPoint and is referred to the operation for the object that the text conversion in text box is customized shape type
It enables.
In the PowerPoint of office software, user in the text box of the PowerPoint by inputting text, Yong Huxu
To carry out conversion process to which text in text frame, user will be by choosing the text to be converted, and to choosing
The text to be converted performs corresponding processing operation, and system corresponding to the PowerPoint can receive user and choose in text box
Text information and user's instruction of translation processing operations that the text chosen is carried out.Here, customized shape is converted to
The operational order of the object of type can be the button that the object of customized shape type is converted in the tabs of PowerPoint,
After user is by clicking the button, it is the object for being converted to customized shape type that system identification, which goes out the operational order, is then
After system performs corresponding processing the operational order, it is shape by the text conversion chosen in current text frame, is also possible to drill
Show after clicking right button to the text chosen in manuscript, the choosing of the object of customized shape type is converted in shown tabs
, user selects to be converted to the option of the object of customized shape type in shown option, can also be that user chooses
The option prompt etc. for the object that one is converted to customized shape type is pre-set when text in text box.Wherein, certainly
Defining shape type is that the characteristic informations such as the profile of the color for including shape, the size of shape, the lines of shape, shape form
One database, according to eigenvalue cluster corresponding to each feature of database at a shape type.
S102, obtains the attribute information, location information and profile information of the text, and the attribute information includes at least text
The size information of the colouring information of word, the font information of text, text, the location information indicate that the text is in the text
The first position of this frame.
Specifically, in order to guarantee that the shape after conversion still can allow user quickly to identify as the text before conversion
Out, then the text before shape and conversion after converting keeps having same attribute information.Therefore, it is necessary to obtain the category of text
Property information, location information and profile information, the system of PowerPoint is based on the received in PowerPoint to the text in text box
The operational order for being converted to the object of customized shape type identifies information corresponding to the text in text box.Here, belong to
Property information include the colouring information of text, the font information of text, size information of text etc., location information indicates text in institute
Position in corresponding text box, the position can be indicated in the form of coordinate, for example, using any point on text box as coordinate original
Point, then the text is named as first position in the position in text frame just in the corresponding reference axis of the coordinate origin here
Primarily to the second position being in PowerPoint with the text box being hereinafter previously mentioned distinguishes.
S103 obtains the second position that the text box is in the PowerPoint, to the first position and described
The second position carries out default operation, obtains operation result.
Specifically, the system of PowerPoint is based on the received customized to the text conversion in text box in PowerPoint
The operational order of the object of shape type identifies the position that text box is in PowerPoint, the i.e. second position.Pass through text
First position in text box, a coordinate value of available text are in the position in PowerPoint by text box
It sets, a coordinate value of available text box, obtains operation result by carrying out preset operation to the two coordinate values, it should
Operation result is position of the shape in PowerPoint after conversion.
In addition, carrying out default operation to first position and the second position, the coordinate value to first position and second can be
The coordinate value of position carries out add operation, obtains the position that text in text box is in PowerPoint, can also be to first
The vector value for setting vector value on text box and the second position to PowerPoint carries out vector operation, obtains first position to drilling
Show the vector value of manuscript, and text in text box is calculated according to the vector value of first position to PowerPoint and is in PowerPoint
Position and other default operations that can calculate the position that text is in PowerPoint in text box belong to guarantor of the present invention
The range of shield.
S104 adds the attribute information, the profile information and the operation result according to the operational order
Into the object, the corresponding shape of the text is obtained.
Specifically, since the text in the text box of existing PowerPoint carries out animation effect setting or rotary setting
When, PowerPoint can only a kind of animation effect of all text importings to entire text box, and cannot be to a certain in text box
A or certain several text carry out animation effect setting or PowerPoint can only carry out whole rotation to text box, and cannot
Individual rotation process is carried out to some or certain several texts in text box, leads to the display effect of the text in text box
Compare limitation, then this character displaying method provided through the invention, after being corresponding shape for text conversion, to pair
The shape answered carries out various animation effect settings and rotary setting, individually can carry out animation effect to a shape after conversion
Setting and rotary setting can also carry out animation effect setting and rotary setting to any several shapes after conversion, be set
The shape effect postponed finally shows the shape effect after setting in PowerPoint, that is to say, that by text conversion be shape
After shape, can not only retain typesetting effect, display effect of text in text box etc. will not change, but also the text after conversion
Word is no longer limited by text box, but becomes an independent individual, so that the display of text is imitated in the text box improved
Fruit.
S105 carries out animation effect setting and/or rotary setting to the shape, the shape effect after being arranged, and
The shape effect is shown in the PowerPoint.
Specifically, carrying out animation effect setting to shape, comprising: first choose the shape to be configured in PowerPoint
Shape, then chooses the option of the animation effect to be carried out setting in the tabs of PowerPoint, and last selected shape carries out
After animation effect setting, show that corresponding shape effect is arranged in animation effect in PowerPoint, and it is direct right in the prior art
The display effect that text in text box carries out the setting of shape effect is different.Rotary setting is carried out to shape, comprising: in demonstration text
The shape that carry out rotary setting is first chosen in original text, shape is then rotated into required angle according to demand, wherein conversion
Shape afterwards can be such to picture format, rotates to any angle.
By the text conversion in text box for after shape type, each shape becomes an individually individual, Ke Yidan
Animation effect setting and/or rotary setting solely are carried out to each shape, animation effect can also be carried out to several shapes therein
Setting and/or rotary setting can also carry out animation effect setting and/or rotary setting to all shapes, with specific reference to choosing
The number of the shape taken and actual demand are configured certain shapes, for example, for the passage in text box
" I is the citizen of the People's Republic of China (PRC) " cannot only carry out several words in text box in text box in the prior art
Animation effect setting, and a kind of animation effect can only be set to all texts in text frame.But it is by this section of text conversion
After corresponding shape, so that it may respectively to these shapes carry out animation effect setting, such as by this section of text conversion be shape after,
Animation effect setting can be carried out to " I ", "Yes" ... " public affairs ", " people " respectively.In another example in the prior art cannot be only to text
" I " word in this frame rotates, and can only by being rotated to text box, come to all texts in text box rotate to
The identical angle of text box.But by this section of text conversion for after corresponding shape, so that it may be revolved respectively to these shapes
Turn setting, such as by this section of text conversion be shape after, can respectively to " I ", "Yes" ... " public affairs ", " people " progress rotary setting.
After shape after conversion is configured, corresponding shape effect is obtained, and be shown in the PowerPoint, to improve text
The display effect of text in frame.
It can be seen that a kind of character displaying method provided through the embodiment of the present invention, it will be literary in PowerPoint when receiving
Text conversion in this frame is the operational order of the object of customized shape type;First obtain attribute information, the position letter of text
Breath and profile information, attribute information include at least the size information of the colouring information of text, the font information of text, text, position
Confidence breath indicates that text is in the first position of text box;The second position that text box is in PowerPoint is obtained again, to
One position and the second position carry out default operation, obtain operation result;Then according to operational order, attribute information, profile are believed
Breath and operation result are added in object, obtain the corresponding shape of text;Finally to shape carry out animation effect setting and/or
Rotary setting, the shape effect after being arranged, and shape effect is shown in PowerPoint.This text by text box
The method for being converted to shape not only solves the problem that text setting effect is limited in text box, and the shape after conversion can
To produce richer display effect and result of broadcast, the display effect of text in text box is improved, to improve use
Family experience.
In an optional embodiment of the present invention, receive PowerPoint in by the text conversion in text box be it is customized
The operational order of the object of shape type, comprising:
The text chosen in text box in PowerPoint is received, and chooses and is converted to certainly in the tabs of PowerPoint
Define the operational order of the object of shape type.
In general, user first chooses text box when user needs the text conversion in text box to be corresponding shape
The middle text for needing to convert, after having chosen these texts, user can select to be converted to certainly in the tabs of PowerPoint
The object of shape type is defined, at this moment, the system of the PowerPoint will receive the text in selected text box, and to text
The operational order that word is converted.System will be performed corresponding processing according to the preset processing method of the operational order, thus and
When complete text to shape conversion.
In an optional embodiment of the present invention, default operation is carried out to first position and the second position, obtains operation
As a result, comprising:
First position is obtained using the first frame angle of text box as the first coordinate value and second of the text of coordinate origin
It sets using the second frame angle of PowerPoint as the second coordinate value of the first frame angle of coordinate origin;
First coordinate value and the second coordinate value are added, the third coordinate using the second frame angle as the text of coordinate origin is obtained
Value.
Specifically, obtaining the text in text box using the first frame angle of text box as coordinate original by the system of PowerPoint
First coordinate value of point and the first frame angle of text box are using the second frame angle of PowerPoint as the second coordinate of coordinate origin
Value.Wherein, the first frame angle can be the upper left corner of text box, is also possible to the upper right corner of text box, can also be text box
The lower left corner, the lower right corner can also be any point etc. on the frame of text box.Second frame angle can be the upper left of PowerPoint
Angle is also possible to the upper right corner of PowerPoint, can also be the lower left corner, the lower right corner of PowerPoint, can also be PowerPoint
Frame on any point etc..
Default operation is carried out to the first coordinate value and the second coordinate value, i.e., is added the first coordinate value and the second coordinate value,
Text in available text box is using the second frame angle as the third coordinate value of coordinate origin.Here third coordinate value is also
Text conversion is shape position shown in PowerPoint after shape.In this way, being Ke Yizhun after shape by text conversion
Shape is really shaped really the location of in PowerPoint, and shape is shown in this position.For example, first position is with text
First frame angle of frame is that the first coordinate value of coordinate origin is (x, y), and the second position is using the second frame angle of PowerPoint as coordinate
Second coordinate value of origin is (m, n), then is added the first coordinate value (x, y) and the second coordinate value (m, n), obtains operation result
For (x+m, y+n).Here, the operation result obtained is text corresponding coordinate value in PowerPoint in text box.Calculating should
Coordinate value is in order to determine that text conversion is the shape corresponding position in PowerPoint after shape, so that conversion
Shape afterwards is shown in corresponding position.
In an optional embodiment of the present invention, according to operational order, by attribute information, profile information and operation knot
Fruit is added in object, obtains the corresponding shape of text, comprising:
According to operational order, using attribute information as the attribute information of the object of customized shape type, by the wheel of text
Profile information of the wide information as the object of customized shape type, using operation result as the object of customized shape type
Location information obtains the corresponding shape of text.
Specifically, receiving in PowerPoint to the behaviour for the object that the text conversion in text box is customized shape type
After instructing, system is performed corresponding processing according to the corresponding preset processing method of the operational order, preset place here
Reason method, which can be, believes the attribute information of text as the attribute information of the object of customized shape type, by literary glyph
Cease the profile information of the object as customized shape type, using operation result as the position of the object of customized shape type
Information.In this way, in the attribute information of the object of obtained customized shape type, profile information and location information, with text box
Text corresponding to attribute information, profile information and location information it is all identical, only format is changed, and shape
Colouring information, font information, size information, profile information, location information etc. are all identical as the text converted in preceding text box, make
Text conversion is obtained as after shape, user readily identifies the shape after conversion, moreover, the text box more preceding than conversion of the shape after conversion
In text, can be more arranged, such as carry out animation effect setting, rotary setting, thus the more settings of display
Shape effect afterwards.
Referring to fig. 2, Fig. 2 is a kind of structural schematic diagram of character display apparatus provided in an embodiment of the present invention, including as follows
Module.
Text conversion in text box is customized shape type for receiving in PowerPoint by receiving module 201
The operational order of object.
Module 202 is obtained, for obtaining the attribute information, location information and profile information of the text, the attribute letter
Breath includes at least the size information of the colouring information of text, the font information of text, text, and the location information indicates the text
Word is in the first position of the text box.Here, obtaining module 202 can be the programming interface by text rendering module,
The attribute information and profile information for obtaining text can be the programming interface by text box type-setting module, obtain text and are in
The first position of text box.
Computing module 203, the second position being in the PowerPoint for obtaining the text box, to described first
Position and the second position carry out default operation, obtain operation result.Here, computing module 203 can be through document
Programming interface first obtains the second position that text box is in PowerPoint.
Processing module 204 is used for according to the operational order, by the attribute information, the profile information and the fortune
It calculates result to be added in the object, obtains the corresponding shape of the text.
Display module 205, for carrying out animation effect setting and/or rotary setting to the shape, after being arranged
Shape effect, and the shape effect is shown in the PowerPoint.
It can be seen that a kind of character display apparatus provided through the embodiment of the present invention, when receiving module receives demonstration text
By the operational order for the object that the text conversion in text box is customized shape type in original text;It first passes through and obtains module acquisition text
Attribute information, location information and the profile information of word, attribute information include at least the font letter of the colouring information of text, text
The size information of breath, text, location information indicate that text is in the first position of text box;Text box is obtained again is in demonstration text
The second position in original text carries out default operation to first position and the second position by computing module, obtains operation result;Then
Attribute information, profile information and operation result are added in object by processing module according to operational order, and it is corresponding to obtain text
Shape;Animation effect setting and/or rotary setting are carried out to shape finally by display module, the shape effect after being arranged
Fruit, and shape effect is shown in PowerPoint.This text conversion by text box is the method for shape, is not only solved
The limited problem of text setting effect in text box, and the shape after conversion can produce richer display effect and broadcast
Effect is put, the display effect of text in text box is improved, to improve user experience.
Further, receiving module 201 are specifically used for:
The text chosen in text box in PowerPoint is received, and chooses and is converted to certainly in the tabs of PowerPoint
Define the operational order of the object of shape type.Here, receiving module 201 can be is being drilled by the programming interface for receiving document
Show the operational order chosen in the tabs of manuscript and be converted to the object of customized shape type.
Further, computing module 203, comprising:
Acquisition submodule is sat for obtaining first position using the first frame angle of text box as the first of the text of coordinate origin
Scale value and the second position are using the second frame angle of PowerPoint as the second coordinate value of the first frame angle of coordinate origin;
Computational submodule is obtained for the first coordinate value and the second coordinate value to be added using the second frame angle as coordinate origin
Text third coordinate value.
Further, processing module 204 are specifically used for:
According to operational order, using attribute information as the attribute information of the object of customized shape type, by the wheel of text
Profile information of the wide information as the object of customized shape type, using operation result as the object of customized shape type
Location information obtains the corresponding shape of text.
The embodiment of the invention also provides a kind of electronic equipment, as shown in figure 3, include processor 301, communication interface 302,
Memory 303 and communication bus 304, wherein processor 301, communication interface 302, memory 303 are complete by communication bus 304
At mutual communication,
Memory 303, for storing computer program;
Processor 301 when for executing the program stored on memory 303, realizes following steps:
It receives the operational order for the object that the text conversion in text box is customized shape type in PowerPoint;
Obtain text attribute information, location information and profile information, attribute information include at least text colouring information,
The size information of the font information of text, text, location information indicate that text is in the first position of text box;
It obtains text box and is in the second position in PowerPoint, default operation is carried out to first position and the second position,
Obtain operation result;
According to operational order, attribute information, profile information and operation result are added in object, it is corresponding to obtain text
Shape;
Animation effect setting and/or rotary setting are carried out to shape, the shape effect after being arranged, and in PowerPoint
Middle display shape effect.
The communication bus that above-mentioned electronic equipment is mentioned can be Peripheral Component Interconnect standard (Peripheral Component
Interconnect, PCI) bus or expanding the industrial standard structure (Extended Industry Standard
Architecture, EISA) bus etc..The communication bus can be divided into address bus, data/address bus, control bus etc..For just
It is only indicated with a thick line in expression, figure, it is not intended that an only bus or a type of bus.
Communication interface is for the communication between above-mentioned electronic equipment and other equipment.
Memory may include random access memory (Random Access Memory, RAM), also may include non-easy
The property lost memory (Non-Volatile Memory, NVM), for example, at least a magnetic disk storage.Optionally, memory may be used also
To be storage device that at least one is located remotely from aforementioned processor.
Above-mentioned processor can be general processor, including central processing unit (Central Processing Unit,
CPU), network processing unit (Network Processor, NP) etc.;It can also be digital signal processor (Digital Signal
Processing, DSP), it is specific integrated circuit (Application Specific Integrated Circuit, ASIC), existing
It is field programmable gate array (Field-Programmable Gate Array, FPGA) or other programmable logic device, discrete
Door or transistor logic, discrete hardware components.
It can be seen that a kind of electronic equipment provided through the embodiment of the present invention, when receiving text box in PowerPoint
In text conversion be customized shape type object operational order;First obtain the attribute information of text, location information and
Profile information, attribute information include at least the size information of the colouring information of text, the font information of text, text, position letter
Breath indicates that text is in the first position of text box;The second position that text box is in PowerPoint is obtained again, to first
It sets and carries out default operation with the second position, obtain operation result;Then according to operational order, by attribute information, profile information and
Operation result is added in object, obtains the corresponding shape of text;Animation effect setting and/or rotation finally are carried out to the shape
Turn setting, the shape effect after being arranged, and shows shape effect in the PowerPoint.This text by text box
The method that word is converted to shape not only solves the problem that text setting effect is limited in text box, and the shape after conversion
Richer display effect and result of broadcast can be produced, the display effect of text in text box is improved, to improve
User experience.
The embodiment of the invention also provides a kind of computer readable storage medium, it is stored in computer readable storage medium
Computer program realizes following steps when computer program is executed by processor:
It receives the operational order for the object that the text conversion in text box is customized shape type in PowerPoint;
Obtain text attribute information, location information and profile information, attribute information include at least text colouring information,
The size information of the font information of text, text, location information indicate that text is in the first position of text box;
It obtains text box and is in the second position in PowerPoint, default operation is carried out to first position and the second position,
Obtain operation result;
According to operational order, attribute information, profile information and operation result are added in object, it is corresponding to obtain text
Shape;
Animation effect setting and/or rotary setting are carried out to shape, the shape effect after being arranged, and in PowerPoint
Middle display shape effect.
It can be seen that a kind of computer readable storage medium provided through the embodiment of the present invention, when reception PowerPoint
The middle text conversion by text box is the operational order of the object of customized shape type;First obtain text attribute information,
Location information and profile information, attribute information include at least the size letter of the colouring information of text, the font information of text, text
Breath, location information indicate that text is in the first position of text box;The second position that text box is in PowerPoint is obtained again,
Default operation is carried out to first position and the second position, obtains operation result;Then according to operational order, by attribute information, wheel
Wide information and operation result are added in object, obtain the corresponding shape of text;Animation effect setting finally is carried out to shape
And/or rotary setting, the shape effect after being arranged, and shape effect is shown in PowerPoint.It is this will be in text box
Text conversion be shape method, not only solve the limited problem of the setting of text in text box effect, and after converting
Shape can produce richer display effect and result of broadcast, improve the display effect of text in text box, to mention
High user experience.
It should be noted that, in this document, relational terms such as first and second and the like are used merely to a reality
Body or operation are distinguished with another entity or operation, are deposited without necessarily requiring or implying between these entities or operation
In any actual relationship or order or sequence.Moreover, the terms "include", "comprise" or its any other variant are intended to
Non-exclusive inclusion, so that the process, method, article or equipment including a series of elements is not only wanted including those
Element, but also including other elements that are not explicitly listed, or further include for this process, method, article or equipment
Intrinsic element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that
There is also other identical elements in process, method, article or equipment including the element.
Each embodiment in this specification is all made of relevant mode and describes, same and similar portion between each embodiment
Dividing may refer to each other, and each embodiment focuses on the differences from other embodiments.Especially for device,
For electronic equipment, computer readable storage medium embodiment, since it is substantially similar to the method embodiment, so the ratio of description
Relatively simple, the relevent part can refer to the partial explaination of embodiments of method.
The foregoing is merely illustrative of the preferred embodiments of the present invention, is not intended to limit the scope of the present invention.It is all
Any modification, equivalent replacement, improvement and so within the spirit and principles in the present invention, are all contained in protection scope of the present invention
It is interior.
Claims (10)
1. a kind of character displaying method, applied in the PowerPoint of office software, which is characterized in that the described method includes:
It receives the operational order for the object that the text conversion in text box is customized shape type in PowerPoint;
The attribute information, location information and profile information of the text are obtained, the attribute information includes at least the color of text
The size information of information, the font information of text, text, the location information indicate that the text is in the of the text box
One position;
Obtain the second position that the text box is in the PowerPoint, to the first position and the second position into
The default operation of row, obtains operation result;
According to the operational order, the attribute information, the profile information and the operation result are added to the object
In, obtain the corresponding shape of the text;
Animation effect setting and/or rotary setting are carried out to the shape, the shape effect after being arranged, and in the demonstration
The shape effect is shown in manuscript.
2. the method according to claim 1, wherein the text in text box is turned in the reception PowerPoint
It is changed to the operational order of the object of customized shape type, comprising:
The text chosen in text box in PowerPoint is received, and chooses and is converted to certainly in the tabs of the PowerPoint
Define the operational order of the object of shape type.
3. the method according to claim 1, wherein described carry out the first position and the second position
Default operation, obtains operation result, comprising:
The first position is obtained using the first frame angle of the text box as the first coordinate value of the text of coordinate origin, Yi Jisuo
The second position is stated using the second frame angle of the PowerPoint as the second coordinate value of first frame angle of coordinate origin;
First coordinate value is added with second coordinate value, is obtained using second frame angle as the text of coordinate origin
The third coordinate value of word.
4. the method according to claim 1, wherein described according to the operational order, by the attribute information,
The profile information and the operation result are added in the object, obtain the corresponding shape of the text, comprising:
It will using the attribute information as the attribute information of the object of the customized shape type according to the operational order
Profile information of the profile information of the text as the object of the customized shape type, using the operation result as institute
The location information for stating the object of customized shape type obtains the corresponding shape of the text.
5. a kind of character display apparatus, applied in the PowerPoint of office software, which is characterized in that described device includes:
Receiving module, for receiving the behaviour for the object that the text conversion in text box is customized shape type in PowerPoint
It instructs;
Module is obtained, for obtaining the attribute information, location information and profile information of the text, the attribute information is at least wrapped
The size information of the colouring information of text, the font information of text, text is included, the location information indicates that the text is in institute
State the first position of text box;
Computing module, the second position being in the PowerPoint for obtaining the text box, to the first position and
The second position carries out default operation, obtains operation result;
Processing module is used for according to the operational order, by the attribute information, the profile information and the operation result
It is added in the object, obtains the corresponding shape of the text;
Display module, the shape effect for carrying out animation effect setting and/or rotary setting to the shape, after being arranged
Fruit, and the shape effect is shown in the PowerPoint.
6. device according to claim 5, which is characterized in that the receiving module is specifically used for:
The text chosen in text box in PowerPoint is received, and chooses and is converted to certainly in the tabs of the PowerPoint
Define the operational order of the object of shape type.
7. device according to claim 5, which is characterized in that the computing module, comprising:
Acquisition submodule, for obtaining the first position using the first frame angle of the text box as the text of coordinate origin
One coordinate value and the second position are using the second frame angle of the PowerPoint as the of first frame angle of coordinate origin
Two coordinate values;
Computational submodule, for first coordinate value to be added with second coordinate value, obtain be with second frame angle
The third coordinate value of the text of coordinate origin.
8. device according to claim 5, which is characterized in that the processing module is specifically used for:
It will using the attribute information as the attribute information of the object of the customized shape type according to the operational order
Profile information of the profile information of the text as the object of the customized shape type, using the operation result as institute
The location information for stating the object of customized shape type obtains the corresponding shape of the text.
9. a kind of electronic equipment, which is characterized in that including processor, communication interface, memory and communication bus, wherein described
Processor, the communication interface, the memory complete mutual communication by communication bus;
The memory, for storing computer program;
The processor when for executing the program stored on the memory, realizes any side claim 1-4
Method step.
10. a kind of computer readable storage medium, which is characterized in that be stored with computer in the computer readable storage medium
Program realizes claim 1-4 any method and step when the computer program is executed by processor.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710619533.1A CN109308345A (en) | 2017-07-26 | 2017-07-26 | A kind of character displaying method, device, electronic equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710619533.1A CN109308345A (en) | 2017-07-26 | 2017-07-26 | A kind of character displaying method, device, electronic equipment and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109308345A true CN109308345A (en) | 2019-02-05 |
Family
ID=65202802
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710619533.1A Pending CN109308345A (en) | 2017-07-26 | 2017-07-26 | A kind of character displaying method, device, electronic equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109308345A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109976632A (en) * | 2019-03-15 | 2019-07-05 | 广州视源电子科技股份有限公司 | text animation control method and device, storage medium and processor |
CN111638845A (en) * | 2020-05-26 | 2020-09-08 | 维沃移动通信有限公司 | Animation element obtaining method and device and electronic equipment |
CN112329384A (en) * | 2020-09-28 | 2021-02-05 | 广州市百果园网络科技有限公司 | Method, device and equipment for realizing character shadow effect and storage medium |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104574451A (en) * | 2015-01-12 | 2015-04-29 | 深圳清溢光电股份有限公司 | Method and device for character replacing by graph in AutoCAD |
CN105027178A (en) * | 2013-01-09 | 2015-11-04 | 柳仲夏 | Apparatus and method for editing symbol images, and recording medium in which program for executing same is recorded |
-
2017
- 2017-07-26 CN CN201710619533.1A patent/CN109308345A/en active Pending
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105027178A (en) * | 2013-01-09 | 2015-11-04 | 柳仲夏 | Apparatus and method for editing symbol images, and recording medium in which program for executing same is recorded |
CN104574451A (en) * | 2015-01-12 | 2015-04-29 | 深圳清溢光电股份有限公司 | Method and device for character replacing by graph in AutoCAD |
Non-Patent Citations (1)
Title |
---|
张迎新: "SmartArt让关系准确又生动", 《COMPUTER FAN》 * |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109976632A (en) * | 2019-03-15 | 2019-07-05 | 广州视源电子科技股份有限公司 | text animation control method and device, storage medium and processor |
WO2020186837A1 (en) * | 2019-03-15 | 2020-09-24 | 广州视源电子科技股份有限公司 | Text animation control method and device, storage medium and processor |
CN111638845A (en) * | 2020-05-26 | 2020-09-08 | 维沃移动通信有限公司 | Animation element obtaining method and device and electronic equipment |
CN112329384A (en) * | 2020-09-28 | 2021-02-05 | 广州市百果园网络科技有限公司 | Method, device and equipment for realizing character shadow effect and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107239287B (en) | Webpage display method and device, electronic equipment and storage medium | |
CN108228169B (en) | Chart making method, device, equipment and medium based on eCharts tool | |
US7522176B2 (en) | Dynamically generating mini-graphs to represent style and template icons | |
CN106033471B (en) | A kind of method and apparatus handling list | |
JP7252701B2 (en) | Systems, Programs and Methods | |
CN109308345A (en) | A kind of character displaying method, device, electronic equipment and storage medium | |
US9865181B2 (en) | Use of style sets to assist a user in digitizing GIS layers | |
CN111782758B (en) | CAD-based drawing examination result viewing method and related device | |
US20210042381A1 (en) | Interactive and selective coloring of digital vector glyphs | |
CN109783782B (en) | Method, equipment, storage medium and device for generating electronic contract template | |
KR101614792B1 (en) | Production system of 3d infographic for big data visualization | |
US20140040724A1 (en) | Method and system for website creation | |
US10262442B2 (en) | Enhanced precision background shading for digitally published text | |
CN113139371A (en) | Visual chart construction method, device and system and storage medium | |
CN106535002B (en) | Desktop starter template layout updating method and device | |
EP3657350A1 (en) | A data filtering device | |
CN116415000A (en) | Visual knowledge graph configuration method, device, equipment and storage medium | |
US20220122475A1 (en) | Navigation for table of contents and learning outcomes | |
CN110992438B (en) | Picture editing method and device | |
US10514834B2 (en) | Method and system for selecting objects on a computer screen | |
CN113554546A (en) | Watermark drawing method and device | |
US11514201B2 (en) | Figure display method, server and recording medium | |
US11501475B2 (en) | Graphical representation of electronic circuit operation | |
CN118132191B (en) | Operation column button width self-adaption method, device, equipment and storage medium | |
US9235783B1 (en) | Highlighting an object in a display using a highlight object |
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 | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20190205 |