CN109446199A - Cell data processing method and device - Google Patents
Cell data processing method and device Download PDFInfo
- Publication number
- CN109446199A CN109446199A CN201811220099.0A CN201811220099A CN109446199A CN 109446199 A CN109446199 A CN 109446199A CN 201811220099 A CN201811220099 A CN 201811220099A CN 109446199 A CN109446199 A CN 109446199A
- Authority
- CN
- China
- Prior art keywords
- unit lattice
- image data
- position attribution
- picture
- component
- 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
Landscapes
- Processing Or Creating Images (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
The disclosure proposes a kind of cell data processing method and device, wherein, method includes: the attribute information for obtaining each data in first unit lattice, wherein, the attribute information of data includes the type of data, if in first unit lattice including image data, picture component is created in the corresponding rich text component of first unit lattice, using image data, picture component is rendered.As a result, by creating picture component in rich text component corresponding in cell, realizes and render picture in cell, to can be realized picture adjust automatically when handling cell, substantially increase treatment effeciency.
Description
Technical field
This disclosure relates to field of computer technology more particularly to a kind of cell data processing method and device.
Background technique
Electrical form is the important tool for carrying out data record, statistics, analysis, displaying.Insert pictures in the table
It is a common demand to enhance the description of table.Current most of tables only support insertion floating picture.When to figure
When the cell of piece is edited, after being operated to cell, it is also necessary to floating picture is manually adjusted, so that floating picture
Position and the position of cell be consistent.As it can be seen that this cell processing mode, complicated for operation, processing is greatly reduced
Efficiency.
Summary of the invention
The disclosure proposes a kind of cell data processing method and device, for solving in the related technology, cell processing
Mode, complicated for operation, the low problem for the treatment of effeciency.
Disclosure one side embodiment proposes a kind of cell data processing method, comprising:
Obtain the attribute information of each data in first unit lattice, wherein the attribute information of data, the type including data;
If including image data in the first unit lattice, created in the corresponding rich text component of the first unit lattice
Build picture component;
Using the image data, the picture component is rendered.
The cell data processing method of the embodiment of the present disclosure, the attribute by obtaining each data in first unit lattice are believed
Breath, wherein the attribute information of data includes the type of data, when in first unit lattice including image data, in first unit
Picture component is created in the corresponding rich text component of lattice to render picture component using image data.As a result, by
Picture component is created in cell in corresponding rich text component, realizes and renders picture in cell, thus to unit
It can be realized picture adjust automatically when lattice are handled, substantially increase treatment effeciency.
Disclosure another aspect embodiment proposes a kind of cell data processing equipment, comprising:
First obtains module, for obtaining the attribute information of each data in first unit lattice, wherein the attribute of data is believed
Breath, the type including data;
First creation module, when for including image data in the first unit lattice, in the first unit lattice pair
Picture component is created in the rich text component answered;
Rendering module renders the picture component for utilizing the image data.
The cell data processing equipment of the embodiment of the present disclosure, the attribute by obtaining each data in first unit lattice are believed
Breath, wherein the attribute information of data includes the type of data, when in first unit lattice including image data, in first unit
Picture component is created in the corresponding rich text component of lattice to render picture component using image data.As a result, by
Picture component is created in cell in corresponding rich text component, realizes and renders picture in cell, thus to unit
It can be realized picture adjust automatically when lattice are handled, substantially increase treatment effeciency.
Disclosure another aspect embodiment proposes a kind of electronic equipment, including processor and memory;
Wherein, the processor run by reading the executable program code stored in the memory with it is described can
The corresponding program of program code is executed, for realizing the cell data processing method as described in above-mentioned one side embodiment.
Disclosure another aspect embodiment proposes a kind of computer readable storage medium, is stored thereon with computer journey
Sequence realizes the cell data processing method as described in above-mentioned one side embodiment when the program is executed by processor.
The additional aspect of the disclosure and advantage will be set forth in part in the description, and will partially become from the following description
It obtains obviously, or recognized by the practice of the disclosure.
Detailed description of the invention
The disclosure is above-mentioned and/or additional aspect and advantage will become from the following description of the accompanying drawings of embodiments
Obviously and it is readily appreciated that, in which:
Fig. 1 is a kind of flow diagram for cell data processing method that the embodiment of the present disclosure provides;
Fig. 2 is the effect diagram that a kind of picture that the embodiment of the present disclosure provides is shown in cell;
Fig. 3 is the flow diagram for another cell data processing method that the embodiment of the present disclosure provides;
Fig. 4 is the flow diagram for another cell data processing method that the embodiment of the present disclosure provides;
Fig. 5 is the flow diagram for another cell data processing method that the embodiment of the present disclosure provides;
Fig. 6 is the flow diagram for another cell data processing method that the embodiment of the present disclosure provides;
Fig. 7 is a kind of upload progress schematic diagram one for image data that the embodiment of the present disclosure provides;
Fig. 8 is a kind of upload progress schematic diagram two for image data that the embodiment of the present disclosure provides;
Fig. 9 is a kind of structural schematic diagram for cell data processing equipment that the embodiment of the present disclosure provides;
Figure 10 is the structural schematic diagram for a kind of electronic equipment that the embodiment of the present disclosure provides;
Figure 11 is the schematic diagram of the computer readable storage medium of embodiment of the disclosure.
Specific embodiment
Embodiment of the disclosure is described below in detail, examples of the embodiments are shown in the accompanying drawings, wherein from beginning to end
Same or similar label indicates same or similar element or element with the same or similar functions.Below with reference to attached
The embodiment of figure description is exemplary, it is intended to for explaining the disclosure, and should not be understood as the limitation to the disclosure.
Below with reference to the accompanying drawings the cell data processing method and device of the embodiment of the present disclosure are described.
The embodiment of the present disclosure only supports insertion floating picture for most of tables in the related technology, thus to unit
After lattice processing, it is also necessary to manually adjust floating picture, complicated for operation, the low problem for the treatment of effeciency proposes a kind of cell data
Processing method.
The cell data processing method of the embodiment of the present disclosure, by the attribute for obtaining each data in first unit lattice first
Information creates picture component when in first unit lattice including image data in the corresponding rich text component of first unit lattice,
Then image data is utilized, picture component is rendered.Hereby it is achieved that figure is rendered in cell, thus to unit
It can be realized picture adjust automatically when lattice are handled, substantially increase treatment effeciency piece.
Fig. 1 is a kind of flow diagram for cell data processing method that the embodiment of the present disclosure provides.
The cell data processing method of the embodiment of the present disclosure, can be by the cell data processing equipment of the embodiment of the present disclosure
It executes, above-mentioned apparatus is configured in electronic equipment such as computer, and picture is rendered in cell to realize.
As shown in Figure 1, the cell data processing method includes:
Step 101, the attribute information of each data in first unit lattice is obtained.
In the present embodiment, the data in cell include but is not limited to: image data, text data, numeric data etc.;
The attribute information of data includes the type of data, the size of data, creation time, modification time etc..Wherein, the type of data
It can be picture type, text type, value type etc., can be determined according to the format of data.
Step 102, it if including image data in first unit lattice, is created in the corresponding rich text component of first unit lattice
Build picture component.
, can be according to the attribute information of each data of acquisition in the present embodiment, such as the type of data, determining in first unit is
No includes image data.For example, if can be determined when the format of data is one of picture formats such as .jpg .gif .png
The data are image data.
When determining in first unit lattice comprising image data, figure is created in the corresponding rich text component of first unit lattice
Piece component.Wherein, the corresponding rich text component of each cell, rich text component include all numbers in corresponding cell
According to, such as the content in the frame of cell, cell, the picture component of creation in cell for showing picture.
It should be noted that the quantity phase for the image data for including in the quantity and first unit lattice of the picture component of creation
Deng.For example, a picture component is then created in rich text component when in first unit lattice including an image data, if the
Include two image datas in one cell, then creates two picture components in rich text component.
Step 103, using image data, picture component is rendered.
After creating picture component in the corresponding rich text component of first unit lattice, using image data to picture component
It is rendered.In rendering, the length and width of image data can be adjusted according to the length and width of first unit lattice, and by picture number adjusted
According to being put into picture component, to show image data in first unit lattice.
Fig. 2 is the effect diagram that a kind of picture that the embodiment of the present disclosure provides is shown in cell.As shown in Fig. 2,
In the 1st row A column of the sheet1 table of photo table, i.e., the picture of insertion is shown in the cell of the position A1.
The cell data processing method of the embodiment of the present disclosure, the attribute by obtaining each data in first cell are believed
Breath creates picture group in the corresponding rich text component of first unit lattice when determining in first unit lattice comprising image data
Part renders picture component, renders picture in cell to realize to utilize image data.
In practical applications, first unit Ge Neiruo only includes image data, can be according to first after creating picture component
The position attribution of cell determines the position attribution of picture component, so that the position of the position of picture component and first unit lattice
Association, to change after showing image data in first unit lattice if first unit case is set, may make the position of picture
Set adaptive change.It is described in detail below with reference to Fig. 3, Fig. 3 is another cell data that the embodiment of the present disclosure provides
The flow diagram of processing method.
As shown in figure 3, the cell data processing method includes:
Step 201, the attribute information of each data in first unit lattice is obtained.
Step 202, it if including image data in first unit lattice, is created in the corresponding rich text component of first unit lattice
Build picture component.
In the present embodiment, step 201- step 202 is similar with step 101- step 102 in above-described embodiment, therefore herein not
It repeats again.
Step 203, the corresponding position attribution of first unit lattice determines the position attribution of picture component.
Wherein, the position attribution of first unit lattice can be the row and column where first unit lattice.It is understood that the
The position attribution of the corresponding rich text component of one cell is identical as the position attribution of first unit lattice.
In order to enable the position of image data can be with the position synchronized update of first unit lattice, it, can root in the present embodiment
According to the corresponding position attribution of first unit lattice, the position attribution of picture component is determined.Due to only including picture in first unit lattice
Data, then the position attribution of picture component is identical as the position attribution of first unit lattice.For example, the position of first unit lattice belongs to
Property be the 2nd row the 4th column, then the position attribution of corresponding picture component be also the 2nd row the 4th column.
It is understood that when in first unit lattice including a plurality of types of data, all subgroups in rich text component
The position attribution of part can be disposed as being associated with the position attribution of rich text component, so that the institute in rich text component
There are data can be with the position attribution synchronized update of rich text component.
Step 204, using image data, picture component is rendered.
After creating picture component in the corresponding rich text component of first unit lattice, using image data to picture component
It is rendered.In rendering, the length and width of image data can be adjusted according to the length and width of first unit lattice, and by picture number adjusted
According to being put into picture component, to show image data in first unit lattice.
Step 205, the position adjustment instruction for updating the position attribution of first unit lattice is obtained.
Position tune after to the picture component rendering in first unit lattice, to the position attribution for updating first unit lattice
Whole instruction is monitored, to obtain the position adjustment instruction for updating the position attribution of first unit lattice.Wherein, position adjusts
Including the row and column where first unit lattice after the updated position attribution of first unit lattice, such as update in instruction.
For example, first unit case is arranged in the 3rd row the 4th before updating, if user deletes the cell of the first row, then position
Setting the row and column where after updating in adjustment instruction including first unit lattice is the 2nd row the 4th column.
Step 206, according to the updated position attribution of first unit lattice, the position attribution of picture component is updated.
It, can be according to first in order to make the position of image data with the position synchronized update of first unit lattice in the present embodiment
The updated position attribution of cell updates the position attribution of picture component.
For example, the position attribution that first unit lattice update is that first unit case is arranged in the 2nd row the 4th, then picture component
Position attribution be also updated to the 2nd row the 4th column.
For another example, the updated position attribution of first unit lattice is that width of the row increases 1cm, then the width of picture component
Degree also increases 1cm.
In the related technology, although the floating picture entered and left in table can be rendered independently, it can be not only restricted to unit in this way
The operation of lattice, but if the position of cell changes, need to manually adjust the position of floating picture, it is cumbersome.
The cell data processing method of the embodiment of the present disclosure determines figure by the position attribution according to first unit lattice
The position attribution of piece component is associated with the attribute of picture component and the position attribution of first unit lattice, thus in first unit lattice
When changing, image data can adaptive change, manually adjusted without user, reduce user's operation.
In practical applications, user may be inserted into two or two or more pictures in same cell, then
When showing picture in cell, it is thus necessary to determine that position of each image data in cell.
It include at least two image datas in first unit lattice in the present embodiment, the attribute information of the data of acquisition also wraps
Include the location information of data.In practical applications, the suitable of cell can be inputted or is inserted into according to the data in first unit lattice
Sequence is numbered for data, and number here can be used as location information of the data in first unit lattice.For example, user is
The first picture is inserted into one cell, the corresponding number of the picture is 1, and first is shown in cell by picture component
Picture.Later, user inserts the second picture in cell, and the second picture reference numeral is 2, then can be according to first
The number of position and second picture of the picture in cell determines the corresponding picture component of the second picture in list
Position attribution in first lattice.
In order to enable at least two image datas for including in first unit lattice, it can be in first unit lattice in correct position
Display is set, after creating picture component in the corresponding rich text component of first unit lattice, the cell number of the embodiment of the present disclosure
According to processing method further include: according to the location information of image data, determine the position attribution of picture component.Specifically, according to each
The location information of image data determines the position attribution of picture component corresponding with image data, thus in rendering by picture
Data are put into corresponding picture component so that each image data in first unit lattice according to the location information of image data into
Row display.
In order to improve the diversification of cell data processing, in the present embodiment, can also using image data to picture group
After part is rendered, full frame component, and the position of examinations focus are created in the corresponding rich text component of first unit lattice
It sets, when detecting that focus is located at first unit lattice, full frame component is shown in first unit lattice.
Wherein, the component for the picture that full frame component is used to be displayed in full screen in first unit lattice, the display position of full frame component
It can according to need and be configured, for example, the settable upper right corner for being shown in first unit lattice.
In the present embodiment, focus can be mouse, touch point etc..For example, when detecting in mouse immigration first unit lattice
When, full frame component is shown in first unit lattice.When receiving user and clicking the operation of full frame component, first can be displayed in full screen
Picture in cell checks the picture in cell convenient for user.
In practical applications, the image data for including in first unit lattice can be to be uploaded in advance.Below with reference to Fig. 4 into
Row is described in detail, and Fig. 4 is the flow diagram for another cell data processing method that the embodiment of the present disclosure provides.
It is obtaining in first unit lattice before the attribute information of each data, as shown in figure 4, the cell data processing method
Further include:
Step 301, image data upload request is obtained, includes the mark and picture number of first unit lattice in upload request
According to.
Wherein, the mark of first unit lattice is for identifying the uniqueness of first unit lattice.It as an example, can be from upper
Under, the cell in table is numbered from left to right, then can be by mark of the number as cell.Work as first unit
When the position of lattice changes, it is believed that its mark is constant.
In the present embodiment, when detecting user's operation of insert pictures in first unit lattice, picture number can be got
According to upload request.It wherein, include the mark and image data of first unit lattice in upload request.
For example, including single when user numbers the cell insert pictures data for being 4 in photo table, in upload request
The number 4 and image data of first lattice.
Step 302, image data is stored in rich text component corresponding with the mark of first unit lattice.
After obtaining image data upload request, by the image data carried in upload request deposit and first unit lattice
It identifies in corresponding rich text component, then including image data in first unit lattice.
For example, including the number 4 and image data of cell in upload request, then by image data deposit cell
In the corresponding rich text component of number 4.
It in practical applications, can be other during picture uploads with the electrical form of cooperating for more people
User may operate table.For example, user delete the behaviour of row during data on picture upload
Make, if image data is put into cell by the position attribution according to cell, it may occur that mistake.
For example, the cell in the 4th row the 3rd column is inserted into an image data, in picture upload procedure, user deletes the
A line, then the position of cell changes, the row and column at the place of cell is the 3rd row the 3rd column.If still by picture number
It can make the insertion position of picture that mistake occur according to the 4th row the 3rd column are put into.
Based on this, in the present embodiment, in picture upload procedure, the position of picture can be kept to become with the position of cell
Change.It is described in detail below with reference to Fig. 5, Fig. 5 is another cell data processing method that the embodiment of the present disclosure provides
Flow diagram.
After obtaining image data upload request, as shown in figure 5, the cell data processing method further include:
Step 401, according to the mark of first unit lattice, the current position attribution of first unit lattice is obtained.
In the present embodiment, when creating table, each cell allocation identification can be used as with recording unit lattice in the table
Position.So, the current position attribution of first unit lattice can be obtained according to the mark of first unit lattice.
Step 402, in image data upload procedure, the position attribution update event of first unit lattice is detected.
In practical applications, when carrying out the operation such as deleting row, delete column, Merge Cells, Delete Cells to table, meeting
The position of all cells of other in table or unit is had an impact.
When the position to first unit lattice is updated operation, or to the associated cell in the position of first unit lattice
Position when being updated operation, the position attribution of first unit lattice can be had an impact.
It, can be by detecting whether to obtain the position for updating first unit lattice in picture upload procedure in the present embodiment
Set the position adjustment instruction of attribute, it is determined whether detect the position attribution update event of first unit lattice.
For example, when detect operation is merged to the cell above first unit lattice and first unit lattice when, obtain
To the position adjustment instruction of the position attribution for updating first unit lattice.
Alternatively, being determined by the position adjustment instruction for detecting whether to obtain the position attribution for updating second unit lattice
Whether the position adjustment instruction of the position attribution of first unit lattice is detected.Wherein, second unit lattice refer to position attribution and
The associated any cell of the position attribution of one cell.
For example, the position attribution of first unit lattice is the 3rd row the 5th column, when user delete the unit of the 1st row the 5th column
Lattice, and lower unit lattice are moved up operation when, then the position attribution of first unit lattice will be updated for 2 rows the 5th column.
Step 403, if the position attribution update event of first unit lattice is not detected, terminate in image data upload
Afterwards, the position attribution current according to first unit lattice determines the corresponding position attribution of image data.
In image data upload procedure, if the position attribution update event of first unit lattice is not detected, illustrate table
The position attribution of all cells does not change in lattice, then the current position attribution of first unit lattice also remains unchanged,
Therefore after picture uploads, position attribution that can be current according to first unit lattice determines the position attribution of image data.
For example, the position attribution of first unit lattice is the 4th row the 6th column, in image data upload procedure, it is not detected the
The position attribution update event of one cell, then the position attribution of first unit lattice is still after image data uploads
For the 4th row the 6th column, it can determine that the corresponding position attribution of image data is also the 4th row the 6th column.
Step 404, if detecting the position attribution update event of first unit lattice, after image data uploads,
According to the updated position attribution of first unit lattice, the corresponding position attribution of image data is determined.
In image data upload procedure, if detecting the position attribution update event of first unit lattice, illustrate that first is single
The position attribution of first lattice is updated, then after image data uploads, after needing to be updated according to first unit lattice
Position attribution, determine the corresponding position attribution of image data.
It is arranged for example, the position attribution of first unit lattice is updated to the 3rd row the 6th by the 4th row the 6th column, then figure can be determined
The corresponding position attribution of sheet data is the 3rd row the 6th column.
The cell data processing method of the embodiment of the present disclosure passes through detection first during image data uploads
The current position attribution update event of cell, determines whether the position attribution of first unit lattice updates, according to first unit
The position attribution of lattice determines the corresponding position attribution of image data, thus after ensure that image data, the position of image data
It sets and is consistent with the position of first unit lattice.
Since uploading pictures data need the regular hour, the upload progress of image data is known for the ease of user, this
In embodiment, in image data upload procedure, can also in first unit lattice progress bar assembly, with aobvious by progress bar assembly
Show upload progress.It is described in detail below with reference to Fig. 6, Fig. 6 is at another cell data that the embodiment of the present disclosure provides
The flow diagram of reason method.
After the upload request for obtaining image data, as shown in fig. 6, the cell data processing method further include:
Step 501, the progress bar assembly in the corresponding rich text component of first unit lattice is shown in first unit lattice.
In the present embodiment, progress bar group valence can be created in the corresponding rich text component of first unit lattice.Wherein, settable
The width attribute of progress bar assembly can be associated with the width attribute of first unit lattice, for example, the width of progress bar assembly and first
The width of cell is at preset ratio.To which the width of progress bar assembly can be adjusted with the width adjustment of first unit lattice.
After obtaining image data upload request, the corresponding rich text group of first unit lattice can be shown in first unit lattice
Progress bar assembly in part.
Step 502, according to the upload progress of image data, progress bar assembly is rendered.
It, can be according to the upload progress of image data, to progress bar assembly in image data upload procedure in the present embodiment
It is rendered, to show image data upload progress.
Fig. 7 and Fig. 8 is the upload progress of the same image data of different time respectively.As shown in Figure 7 and Figure 8, when user exists
When the 1st row A column insertion data of table, progress bar assembly can be shown in the cell, consequently facilitating user understands picture number
According to upload progress.
In practical applications, during image data uploads, the position attribution of first unit lattice may change
Become.
In order to enable progress bar assembly and the position of first unit lattice are consistent.In the present embodiment, on image data
It is transmitted through journey, the position attribution update event of detection first unit lattice can be passed through, it is determined whether send out the position of first unit lattice
It is raw to change, specifically, can by detecting whether to get the position adjustment instruction of the position attribution for updating first unit lattice,
Alternatively, detecting whether to get the position adjustment instruction of the position attribution for updating second unit lattice, it is determined whether detect
The position attribution update event of first unit lattice.Wherein, second unit lattice are the position attribution of position attribution and first unit lattice
Associated any cell.
When the position of first unit lattice changes, according to the updated position attribution of first unit lattice, progress is updated
The position attribution of bar assembly, so that the position of progress bar assembly changes with the change that first unit case is set, so that
Progress bar assembly always show in first unit lattice.
In order to realize above-described embodiment, the embodiment of the present disclosure also proposes a kind of cell data processing equipment.Fig. 9 is this public affairs
A kind of structural schematic diagram of cell data processing equipment of embodiment offer is provided.
As shown in figure 9, the cell data processing equipment includes: the first acquisition module 610, the first creation module 620, wash with watercolours
Contaminate module 630.
First acquisition module 610 is used to obtain the attribute information of each data in first unit lattice, wherein the attribute of data is believed
Breath, the type including data.
When first creation module 620 is used in first unit lattice comprising image data, in the corresponding richness of first unit lattice
Picture component is created in text component.
Rendering module 630 is used to utilize the image data, renders to picture component.
In a kind of possible implementation of the embodiment of the present disclosure, if in first unit lattice only including image data, the dress
Setting may also include that
First determining module, for determining the position attribution of picture component according to the corresponding position attribution of first unit lattice.
In a kind of possible implementation of the embodiment of the present disclosure, which may also include that
Second obtains module, for obtaining the position adjustment instruction of the position attribution for updating first unit lattice, position
It include the updated position attribution of first unit lattice in adjustment instruction;
First update module is used for according to the updated position attribution of first unit lattice, to the position attribution of picture component
It is updated.
In a kind of possible implementation of the embodiment of the present disclosure, if containing at least two picture number in first unit lattice
According to the attribute information of data further includes the location information of data;The device may also include that
Second determining module determines the position attribution of picture component for the location information according to image data.
In a kind of possible implementation of the embodiment of the present disclosure, which may also include that
Second creation module, for creating full frame component in the corresponding rich text component of first unit lattice;
Display module, for showing full frame group in first unit lattice when detecting that focus is located in first unit lattice
Part.
In a kind of possible implementation of the embodiment of the present disclosure, which may also include that
Third obtains module, includes the first unit lattice in upload request for obtaining image data upload request
Mark and image data;
Memory module, for being stored in image data in rich text component corresponding with the mark of first unit lattice.
In a kind of possible implementation of the embodiment of the present disclosure, which may also include that
4th obtains module, for the mark according to first unit lattice, obtains the current position attribution of first unit lattice;
Detection module, for detecting the position attribution update event of first unit lattice in image data upload procedure;
Third determining module, for when the position attribution update event of the first unit lattice is not detected, in picture
After data upload, according to the current position attribution of first unit lattice, the corresponding position attribution of image data is determined;
Third determining module is also used in the position attribution update event for detecting first unit lattice, in image data
After upload, according to the updated position attribution of first unit lattice, the corresponding position attribution of image data is determined.
In a kind of possible implementation of the embodiment of the present disclosure, above-mentioned detection module is also used to:
Detect whether to get the position adjustment instruction of the position attribution for updating first unit lattice;
Alternatively, detecting whether to get the position adjustment instruction of the position attribution for updating second unit lattice, wherein the
Two cells are the associated any cell of position attribution of position attribution and first unit lattice.
In a kind of possible implementation of the embodiment of the present disclosure, which may also include that
Display module is also used to show the progress bar in the corresponding rich text component of first unit lattice in first unit lattice
Component;
Rendering module 630 is also used to the upload progress according to image data, renders to progress bar assembly.
It should be noted that the aforementioned explanation to cell data processing method embodiment, is also applied for the implementation
The cell data processing equipment of example, therefore details are not described herein.
The cell data processing equipment of the embodiment of the present disclosure, the attribute by obtaining each data in first unit lattice are believed
Breath, wherein the attribute information of data includes the type of data, when in first unit lattice including image data, in first unit
Picture component is created in the corresponding rich text component of lattice to render picture component using image data.As a result, by
Picture component is created in cell in corresponding rich text component, realizes and renders picture in cell, thus to unit
It can be realized picture adjust automatically when lattice are handled, substantially increase treatment effeciency.
In order to realize above-described embodiment, the embodiment of the present disclosure also provides a kind of electronic equipment, including processor and memory;
Wherein, processor is run and the executable program by reading the executable program code stored in memory
The corresponding program of code, for realizing the cell data processing method as described in above-described embodiment.
Below with reference to Figure 10, it illustrates the structural schematic diagrams for the electronic equipment for being suitable for being used to realize the embodiment of the present disclosure.
Terminal device in the embodiment of the present disclosure can include but is not limited to such as mobile phone, laptop, Digital Broadcasting Receiver
Device, PDA (personal digital assistant), PAD (tablet computer), PMP (portable media player), car-mounted terminal are (such as vehicle-mounted
Navigation terminal) etc. mobile terminal and such as number TV, desktop computer etc. fixed terminal.Electronics shown in Figure 10
Equipment is only an example, should not function to the embodiment of the present disclosure and use scope bring any restrictions.
As shown in Figure 10, electronic equipment may include processing unit (such as central processing unit, graphics processor etc.) 801,
It can be loaded into random access storage according to the program being stored in read-only memory (ROM) 802 or from storage device 808
Program in device (RAM) 803 and execute various movements appropriate and processing.In RAM 803, it is also stored with electronic device
Required various programs and data.Processing unit 801, ROM 802 and RAM 803 are connected with each other by bus 804.Input/
Output (I/O) interface 805 is also connected to bus 804.
In general, following device can connect to I/O interface 805: including such as touch screen, touch tablet, keyboard, mouse, taking the photograph
As the input unit 806 of head, microphone, accelerometer, gyroscope etc.;Including such as liquid crystal display (LCD), loudspeaker, vibration
The output device 807 of dynamic device etc.;Storage device 808 including such as tape, hard disk etc.;And communication device 809.Communication device
809, which can permit electronic equipment, is wirelessly or non-wirelessly communicated with other equipment to exchange data.Although Figure 10, which is shown, to be had
The electronic equipment of various devices, it should be understood that being not required for implementing or having all devices shown.It can be alternatively
Implement or have more or fewer devices.
Particularly, in accordance with an embodiment of the present disclosure, it may be implemented as computer above with reference to the process of flow chart description
Software program.For example, embodiment of the disclosure includes a kind of computer program product comprising be carried on computer-readable medium
On computer program, which includes the program code for method shown in execution flow chart.In such reality
It applies in example, which can be downloaded and installed from network by communication device 809, or from storage device 808
It is mounted, or is mounted from ROM 802.When the computer program is executed by processing unit 801, the embodiment of the present disclosure is executed
Method in the above-mentioned function that limits.
In order to realize above-described embodiment, the embodiment of the present disclosure proposes a kind of computer readable storage medium, stores thereon
There is computer program, the cell data processing side as described in above-described embodiment is realized when which is executed by processor
Method.
Figure 11 is the schematic diagram of the computer readable storage medium of embodiment of the disclosure.As shown in figure 11, according to this public affairs
The computer readable storage medium 900 for opening embodiment, is stored thereon with computer-readable instruction 901.When the computer-readable finger
901 are enabled when being run by processor, executes whole or the portion of the mobile terminal character edit methods of each embodiment of the disclosure above-mentioned
Step by step.
It should be noted that the above-mentioned computer-readable medium of the disclosure can be computer-readable signal media or meter
Calculation machine readable storage medium storing program for executing either the two any combination.Computer readable storage medium for example can be --- but not
Be limited to --- electricity, magnetic, optical, electromagnetic, infrared ray or semiconductor system, device or device, or any above combination.Meter
The more specific example of calculation machine readable storage medium storing program for executing can include but is not limited to: have the electrical connection, just of one or more conducting wires
Taking formula computer disk, hard disk, random access storage device (RAM), read-only memory (ROM), erasable type may be programmed read-only storage
Device (EPROM or flash memory), optical fiber, portable compact disc read-only memory (CD-ROM), light storage device, magnetic memory device,
Or above-mentioned any appropriate combination.In the disclosure, computer readable storage medium can be it is any include or storage journey
The tangible medium of sequence, the program can be commanded execution system, device or device use or in connection.And at this
In open, computer-readable signal media may include in a base band or as the data-signal that carrier wave a part is propagated,
In carry computer-readable program code.The data-signal of this propagation can take various forms, including but not limited to
Electromagnetic signal, optical signal or above-mentioned any appropriate combination.Computer-readable signal media can also be computer-readable and deposit
Any computer-readable medium other than storage media, the computer-readable signal media can send, propagate or transmit and be used for
By the use of instruction execution system, device or device or program in connection.Include on computer-readable medium
Program code can transmit with any suitable medium, including but not limited to: electric wire, optical cable, RF (radio frequency) etc. are above-mentioned
Any appropriate combination.
Above-mentioned computer-readable medium can be included in above-mentioned electronic equipment;It is also possible to individualism, and not
It is fitted into the electronic equipment.
Above-mentioned computer-readable medium carries one or more program, when said one or multiple programs are by the electricity
When sub- equipment executes, so that the electronic equipment: obtaining at least two internet protocol addresses;Send to Node evaluation equipment includes institute
State the Node evaluation request of at least two internet protocol addresses, wherein the Node evaluation equipment is internet from described at least two
In protocol address, chooses internet protocol address and return;Receive the internet protocol address that the Node evaluation equipment returns;Its
In, the fringe node in acquired internet protocol address instruction content distributing network.
Alternatively, above-mentioned computer-readable medium carries one or more program, when said one or multiple programs
When being executed by the electronic equipment, so that the electronic equipment: receiving the Node evaluation including at least two internet protocol addresses and request;
From at least two internet protocol address, internet protocol address is chosen;Return to the internet protocol address selected;Wherein,
The fringe node in internet protocol address instruction content distributing network received.
The calculating of the operation for executing the disclosure can be write with one or more programming languages or combinations thereof
Machine program code, above procedure design language include object oriented program language-such as Java, Smalltalk, C+
+, it further include conventional procedural programming language-such as " C " language or similar programming language.Program code can
Fully to execute, partly execute on the user computer on the user computer, be executed as an independent software package,
Part executes on the remote computer or executes on a remote computer or server completely on the user computer for part.
In situations involving remote computers, remote computer can pass through the network of any kind --- including local area network (LAN)
Or wide area network (WAN)-is connected to subscriber computer, or, it may be connected to outer computer (such as utilize Internet service
Provider is connected by internet).
Flow chart and block diagram in attached drawing are illustrated according to the system of the various embodiments of the disclosure, method and computer journey
The architecture, function and operation in the cards of sequence product.In this regard, each box in flowchart or block diagram can generation
A part of one module, program segment or code of table, a part of the module, program segment or code include one or more use
The executable instruction of the logic function as defined in realizing.It should also be noted that in some implementations as replacements, being marked in box
The function of note can also occur in a different order than that indicated in the drawings.For example, two boxes succeedingly indicated are actually
It can be basically executed in parallel, they can also be executed in the opposite order sometimes, and this depends on the function involved.Also it to infuse
Meaning, the combination of each box in block diagram and or flow chart and the box in block diagram and or flow chart can be with holding
The dedicated hardware based system of functions or operations as defined in row is realized, or can use specialized hardware and computer instruction
Combination realize.
Being described in unit involved in the embodiment of the present disclosure can be realized by way of software, can also be by hard
The mode of part is realized.Wherein, the title of unit does not constitute the restriction to the unit itself under certain conditions.
Storage medium mentioned above can be read-only memory, disk or CD etc..Although having been shown and retouching above
Embodiment of the disclosure is stated, it is to be understood that above-described embodiment is exemplary, and should not be understood as the limit to the disclosure
System, those skilled in the art can be changed above-described embodiment, modify, replace and become within the scope of this disclosure
Type.
Claims (12)
1. a kind of cell data processing method characterized by comprising
Obtain the attribute information of each data in first unit lattice, wherein the attribute information of data, the type including data;
If in the first unit lattice including image data, figure is created in the corresponding rich text component of the first unit lattice
Piece component;
Using the image data, the picture component is rendered.
2. the method as described in claim 1, which is characterized in that if in the first unit lattice only including image data, institute
It states after creating picture component in the corresponding rich text component of the first unit lattice, comprising:
According to the corresponding position attribution of the first unit lattice, the position attribution of the picture component is determined.
3. method according to claim 2, which is characterized in that it is described utilize the image data, to the picture component into
After row rendering, further includes:
The position adjustment instruction for updating the position attribution of the first unit lattice is obtained, includes in the position adjustment instruction
The updated position attribution of first unit lattice;
According to the updated position attribution of first unit lattice, the position attribution of the picture component is updated.
4. the method as described in claim 1, which is characterized in that if containing at least two picture number in the first unit lattice
According to the attribute information of the data further includes the location information of data;
Then in the corresponding rich text component of the first unit lattice after creation picture component, further includes:
According to the location information of the image data, the position attribution of the picture component is determined.
5. the method as described in claim 1, which is characterized in that it is described utilize the image data, to the picture component into
After row rendering, further includes: create full frame component in the corresponding rich text component of the first unit lattice;
And when detecting that focus is located in the first unit lattice, the full frame component is shown in the first unit lattice.
6. method a method as claimed in any one of claims 1 to 5, which is characterized in that the attribute for obtaining each data in first unit lattice
Before information, further includes:
Obtain image data upload request, include in the upload request first unit lattice mark and the picture number
According to;
The image data is stored in rich text component corresponding with the mark of the first unit lattice.
7. method as claimed in claim 6, which is characterized in that after the acquisition image data upload request, further includes:
According to the mark of the first unit lattice, the current position attribution of the first unit lattice is obtained;
In the image data upload procedure, the position attribution update event of the first unit lattice is detected;
If the position attribution update event of the first unit lattice is not detected, after the image data uploads, root
According to the current position attribution of the first unit lattice, the corresponding position attribution of the image data is determined;
If detecting the position attribution update event of the first unit lattice, after the image data uploads, according to
The updated position attribution of first unit lattice, determines the corresponding position attribution of the image data.
8. the method for claim 7, which is characterized in that the position attribution of the detection first unit lattice updates thing
Part, comprising:
Detect whether to get the position adjustment instruction of the position attribution for updating the first unit lattice;
Alternatively, detecting whether to get the position adjustment instruction of the position attribution for updating second unit lattice, wherein described
Two cells are the associated any cell of position attribution of position attribution and the first unit lattice.
9. method as claimed in claim 7 or 8, which is characterized in that after the acquisition image data upload request, also wrap
It includes:
The progress bar assembly in the corresponding rich text component of the first unit lattice is shown in the first unit lattice;
According to the upload progress of the image data, the progress bar assembly is rendered.
10. a kind of cell data processing equipment characterized by comprising
First obtains module, for obtaining the attribute information of each data in first unit lattice, wherein the attribute information of data, packet
Include the type of data;
First creation module, it is corresponding in the first unit lattice when for including image data in the first unit lattice
Picture component is created in rich text component;
Rendering module renders the picture component for utilizing the image data.
11. a kind of electronic equipment, which is characterized in that including processor and memory;
Wherein, the processor is run by reading the executable program code stored in the memory can be performed with described
The corresponding program of program code, for realizing the cell data processing method as described in any in claim 1-9.
12. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the program is by processor
The cell data processing method as described in any in claim 1-9 is realized when execution.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811220099.0A CN109446199B (en) | 2018-10-19 | 2018-10-19 | Cell data processing method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811220099.0A CN109446199B (en) | 2018-10-19 | 2018-10-19 | Cell data processing method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109446199A true CN109446199A (en) | 2019-03-08 |
CN109446199B CN109446199B (en) | 2020-11-13 |
Family
ID=65546999
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811220099.0A Active CN109446199B (en) | 2018-10-19 | 2018-10-19 | Cell data processing method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109446199B (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110287473A (en) * | 2019-06-28 | 2019-09-27 | 北京字节跳动网络技术有限公司 | Electrical form edit methods and device |
CN111209800A (en) * | 2019-12-23 | 2020-05-29 | 东软集团股份有限公司 | Form content change recognition method and device, storage medium and electronic equipment |
CN111428455A (en) * | 2020-03-09 | 2020-07-17 | 广州视源电子科技股份有限公司 | Table management method, device, equipment and storage medium |
CN112632921A (en) * | 2020-11-26 | 2021-04-09 | 腾讯科技(深圳)有限公司 | Display processing method, device, terminal and storage medium for multimedia data |
Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20130218878A1 (en) * | 2010-05-03 | 2013-08-22 | Cambridgesoft Corporation | Systems, methods, and apparatus for processing documents to identify structures |
CN103389968A (en) * | 2013-07-10 | 2013-11-13 | 福州博远无线网络科技有限公司 | Method and system for realizing rich text display |
US20140344090A1 (en) * | 2013-05-16 | 2014-11-20 | Toshiba Global Commerce Solutions Holdings Corporation | POS Generating Receipt with Annotation Data |
CN106354395A (en) * | 2016-09-28 | 2017-01-25 | 厦门印天电子科技有限公司 | Method of inserting multimedia object in interactive whiteboard software to 2D sheet |
CN106447305A (en) * | 2016-11-08 | 2017-02-22 | 济南浪潮高新科技投资发展有限公司 | Method for managing schedule by control |
CN106484663A (en) * | 2016-10-12 | 2017-03-08 | 天闻数媒科技(湖南)有限公司 | A kind of extracting method of document content and device |
CN106873986A (en) * | 2017-01-17 | 2017-06-20 | 武汉天喻教育科技有限公司 | Form system and implementation method in a kind of WPF |
CN107066244A (en) * | 2016-12-12 | 2017-08-18 | 广州神马移动信息科技有限公司 | The generation method and device of a kind of mobile terminal application interface |
CN107480121A (en) * | 2017-09-04 | 2017-12-15 | 江苏中威科技软件系统有限公司 | The preparation method of format data flow table list |
CN107861933A (en) * | 2017-11-29 | 2018-03-30 | 北京百度网讯科技有限公司 | The method and apparatus for generating O&M form |
-
2018
- 2018-10-19 CN CN201811220099.0A patent/CN109446199B/en active Active
Patent Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20130218878A1 (en) * | 2010-05-03 | 2013-08-22 | Cambridgesoft Corporation | Systems, methods, and apparatus for processing documents to identify structures |
US20140344090A1 (en) * | 2013-05-16 | 2014-11-20 | Toshiba Global Commerce Solutions Holdings Corporation | POS Generating Receipt with Annotation Data |
CN103389968A (en) * | 2013-07-10 | 2013-11-13 | 福州博远无线网络科技有限公司 | Method and system for realizing rich text display |
CN106354395A (en) * | 2016-09-28 | 2017-01-25 | 厦门印天电子科技有限公司 | Method of inserting multimedia object in interactive whiteboard software to 2D sheet |
CN106484663A (en) * | 2016-10-12 | 2017-03-08 | 天闻数媒科技(湖南)有限公司 | A kind of extracting method of document content and device |
CN106447305A (en) * | 2016-11-08 | 2017-02-22 | 济南浪潮高新科技投资发展有限公司 | Method for managing schedule by control |
CN107066244A (en) * | 2016-12-12 | 2017-08-18 | 广州神马移动信息科技有限公司 | The generation method and device of a kind of mobile terminal application interface |
CN106873986A (en) * | 2017-01-17 | 2017-06-20 | 武汉天喻教育科技有限公司 | Form system and implementation method in a kind of WPF |
CN107480121A (en) * | 2017-09-04 | 2017-12-15 | 江苏中威科技软件系统有限公司 | The preparation method of format data flow table list |
CN107861933A (en) * | 2017-11-29 | 2018-03-30 | 北京百度网讯科技有限公司 | The method and apparatus for generating O&M form |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110287473A (en) * | 2019-06-28 | 2019-09-27 | 北京字节跳动网络技术有限公司 | Electrical form edit methods and device |
CN111209800A (en) * | 2019-12-23 | 2020-05-29 | 东软集团股份有限公司 | Form content change recognition method and device, storage medium and electronic equipment |
CN111209800B (en) * | 2019-12-23 | 2023-04-28 | 东软集团股份有限公司 | Table content change identification method and device, storage medium and electronic equipment |
CN111428455A (en) * | 2020-03-09 | 2020-07-17 | 广州视源电子科技股份有限公司 | Table management method, device, equipment and storage medium |
CN111428455B (en) * | 2020-03-09 | 2023-06-20 | 广州视源电子科技股份有限公司 | Form management method, device, equipment and storage medium |
CN112632921A (en) * | 2020-11-26 | 2021-04-09 | 腾讯科技(深圳)有限公司 | Display processing method, device, terminal and storage medium for multimedia data |
Also Published As
Publication number | Publication date |
---|---|
CN109446199B (en) | 2020-11-13 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109446199A (en) | Cell data processing method and device | |
US10095380B2 (en) | Method for providing information based on contents and electronic device thereof | |
CN106537371B (en) | Visualization suggestions | |
US20120216101A1 (en) | Electronic reader system with bookmarking and method of operation thereof | |
WO2014011169A1 (en) | Media annotations in networked environment | |
WO2022218034A1 (en) | Interaction method and apparatus, and electronic device | |
WO2020046450A1 (en) | Enhanced techniques for merging content from separate computing devices | |
CN110046309A (en) | Processing method, device, electronic equipment and the storage medium of document input content | |
CN109359281A (en) | Dynamic list generation method and device | |
CN109862100A (en) | Method and apparatus for pushed information | |
CN110096665A (en) | Methods of exhibiting, device, equipment and the medium of picture category comment data | |
CN110119386A (en) | Data processing method, data processing equipment, medium and calculating equipment | |
CN109726380A (en) | Table edit method and device | |
CN109062560A (en) | Method and apparatus for generating information | |
CN110489106A (en) | A kind of generation method, device, medium and the electronic equipment of project initial code | |
US20240012985A1 (en) | Table content processing method and apparatus, and device and storage medium | |
CN107872482A (en) | The method and device of transmitting file on a kind of mobile terminal | |
CN109558408A (en) | Update method, apparatus, electronic equipment and the readable storage medium storing program for executing of list | |
CN113220381A (en) | Click data display method and device | |
CN112492399A (en) | Information display method and device and electronic equipment | |
US20200293162A1 (en) | Visually indicating on a user interface lengths, types of content, structure and current user location within a corpus of electronic content | |
CN114997124A (en) | Table content processing method, device, equipment and storage medium | |
CN115081412A (en) | Table content processing method, device, equipment and storage medium | |
CN112380476A (en) | Information display method and device and electronic equipment | |
CN110427328A (en) | Text handling method, device, equipment and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |