Summary of the invention
The embodiment of the present invention provides a kind of read-only method of document and device, solved existing by the whole document made from read-only form, or as the lantern slide broadcast format technology that is read-only form, it is only the read-only form of presentation process, by subsequent operation, can return to the interim read-only technical matters that PPT document is modified, and realize the technology of the unitary document in PPT document being carried out to thorough read-only form.
A kind of read-only method of document that the embodiment of the present invention provides, comprising:
Obtain the read-only instruction of PPT;
The document of current described PPT is converted to picture;
The described document that is converted to described picture is generated as to read-only PPT.
Alternatively,
Obtaining the read-only instruction of PPT specifically comprises:
Obtain the read-only instruction of described PPT that user's one key triggers.
Alternatively,
The document of current described PPT is converted to picture specifically to be comprised:
Every one page lantern slide of the document of current described PPT is converted to picture format.
Alternatively,
The described document that is converted to described picture is generated as to read-only PPT specifically to be comprised:
Create new PPT document;
Described picture after conversion is inserted into described new PPT document according to the order of the described document of described PPT and is generated as read-only PPT.
Alternatively,
The number of pages of described new PPT document is consistent with the described document number of pages of described PPT.
Alternatively,
Described picture after conversion is inserted into described new PPT document according to the order of the described document of described PPT to be generated as read-only PPT and specifically to comprise:
Described picture after conversion is inserted into every one page background that described new PPT document is generated as read-only PPT according to the order of the described document of described PPT.
The embodiment of the present invention provides an a kind of document read apparatus that uses the read-only method of document described in any one that mention in the present embodiment, comprising:
Acquiring unit, the read-only instruction of described PPT triggering for obtaining user's one key;
Converting unit, for being converted to picture by the document of current described PPT;
Generation unit, for being generated as read-only PPT by the described document that is converted to described picture.
Alternatively,
Described converting unit is specifically for being converted to picture format by every one page lantern slide of the document of current described PPT.
Alternatively,
Described generation unit specifically comprises:
Create subelement, for creating new PPT document;
Generate subelement, for the described picture after conversion is inserted into described new PPT document according to the order of the described document of described PPT, be generated as read-only PPT.
Alternatively,
Described generation subelement, specifically for being inserted into according to the order of the described document of described PPT every one page background that described new PPT document is generated as read-only PPT by the described picture after conversion.
As can be seen from the above technical solutions, the embodiment of the present invention has the following advantages:
A kind of read-only method of document and the device that in the embodiment of the present invention, provide, method step comprises: obtain the read-only instruction of PPT; The document of current PPT is converted to picture; The document that is converted to picture is generated as to read-only PPT.In the present embodiment, by the document of current PPT is converted to picture and is generated as read-only PPT, not only solved existing by the whole document made from read-only form, or as the lantern slide broadcast format technology that is read-only form, it is only the read-only form of presentation process, by subsequent operation, can return to the interim read-only technical matters that PPT document is modified, and realize the technology of the unitary document in PPT document being carried out to thorough read-only form.
Embodiment
The embodiment of the present invention provides a kind of read-only method of document and device, solved existing by the whole document made from read-only form, or as the lantern slide broadcast format technology that is read-only form, it is only the read-only form of presentation process, by subsequent operation, can return to the interim read-only technical matters that PPT document is modified, and realize the technology of the unitary document in PPT document being carried out to thorough read-only form.
For making goal of the invention of the present invention, feature, advantage can be more obvious and understandable, below in conjunction with the accompanying drawing in the embodiment of the present invention, technical scheme in the embodiment of the present invention is clearly and completely described, obviously, the embodiments described below are only the present invention's part embodiment, but not whole embodiment.Embodiment based in the present invention, those of ordinary skills, not making all other embodiment that obtain under creative work prerequisite, belong to the scope of protection of the invention.
Refer to Fig. 1, an embodiment of a kind of read-only method of document providing in the embodiment of the present invention comprises:
101, obtain the read-only instruction of PPT;
In the present embodiment, when user need to carry out the PPT document of having made read-only form protection, first need to obtain the read-only instruction of PPT that user triggers.
102, the document of current PPT is converted to picture;
After obtaining the read-only instruction of PPT, the document of current PPT need to be converted to picture, it should be noted that, the document of PPT is converted to the man-to-man picture of all lantern slide conversions in the document that picture can be PPT, this picture format can be the picture formats such as JPEG, does not specifically limit herein.
103, the document that is converted to picture is generated as to read-only PPT.
After the document of current PPT is converted to picture, the document that is converted to picture need to be generated as to read-only PPT, be understandable that, aforesaid read-only PPT can be newly-generated PPT document.
It should be noted that, the document that is converted to picture is generated as to read-only PPT will be described in detail in subsequent embodiment, no longer be described in detail herein.
In the present embodiment, by the document of current PPT is converted to picture and is generated as read-only PPT, not only solved existing by the whole document made from read-only form, or as the lantern slide broadcast format technology that is read-only form, it is only the read-only form of presentation process, by subsequent operation, can return to the interim read-only technical matters that PPT document is modified, and realize the technology of the unitary document in PPT document being carried out to thorough read-only form.
That the process of the read-only method of document is described in detail above, to be described in detail the document that is converted to picture being generated as to the detailed process of read-only PPT below, refer to Fig. 2, another embodiment of a kind of read-only method of document providing in the embodiment of the present invention comprises:
201, obtain the read-only instruction of PPT that user's one key triggers;
In the present embodiment; when user need to carry out the PPT document of having made read-only form protection; first need to obtain the read-only instruction of PPT that user's one key triggers; be understandable that; it can be " read-only " key that can select on the operation interface of PPT etc. that an aforesaid key triggers, and does not specifically limit herein.
202, every one page lantern slide of the document of current PPT is converted to picture format;
After obtaining the read-only instruction of PPT, every one page lantern slide of the document of current PPT need to be converted to picture format, it should be noted that, the document of PPT is converted to the man-to-man picture of all lantern slide conversions in the document that picture can be PPT, this picture format can be the picture formats such as JPEG, does not specifically limit herein.
203, create new PPT document;
After every one page lantern slide of the document of current PPT is converted to picture format, need to create new PPT document, it should be noted that, when creating new PPT document, need to obtain the number of pages of the document of former PPT, make the number of pages of new PPT document and the document number of pages of PPT of establishment consistent.
204, the picture after conversion is inserted into new PPT document according to the order of the document of PPT and is generated as read-only PPT.
After creating new PPT document, the picture after conversion need to be inserted into new PPT document according to the order of the document of PPT and be generated as read-only PPT, be understandable that, aforesaid read-only PPT can be newly-generated PPT document.
It should be noted that, aforesaid by conversion after picture according to the order of the document of PPT be inserted into new PPT document be generated as read-only PPT can be by conversion after picture according to the order of the document of PPT, be inserted into every one page background that new PPT document is generated as read-only PPT, be understandable that, picture is converted to every one page background of read-only PPT, can to the picture of this read-only PPT based on every one page background, carries out the operation of follow-up PPT further.
In the present embodiment, by the document of current PPT is converted to picture and is generated as read-only PPT, not only solved existing by the whole document made from read-only form, or as the lantern slide broadcast format technology that is read-only form, it is only the read-only form of presentation process, by subsequent operation, can return to the interim read-only technical matters that PPT document is modified, and realized the technology of the unitary document in PPT document being carried out to thorough read-only form, and the picture after conversion is inserted into every one page background that new PPT document is generated as read-only PPT according to the order of the document of PPT, making follow-up can be that read-only PPT is further operated, embodied more intelligentized design.
Refer to Fig. 3, an embodiment of a kind of document read apparatus providing in the embodiment of the present invention comprises:
Acquiring unit 301, the read-only instruction of PPT triggering for obtaining user's one key;
Converting unit 302, for being converted to picture by the document of current PPT;
Generation unit 303, for being generated as read-only PPT by the document that is converted to picture.
In the present embodiment, by converting unit 302, the document of current PPT is converted to picture, generation unit 303 is generated as read-only PPT, not only solved existing by the whole document made from read-only form, or as the lantern slide broadcast format technology that is read-only form, be only the read-only form of presentation process, by subsequent operation, can return to the interim read-only technical matters that PPT document is modified, and realized the technology of the unitary document in PPT document being carried out to thorough read-only form.
Be that each unit of a document read apparatus is described in detail above, below the subelement to generation unit be described in detail, refer to Fig. 4, another embodiment of a kind of document read apparatus providing in the embodiment of the present invention comprises:
Acquiring unit 401, the read-only instruction of PPT triggering for obtaining user's one key;
Converting unit 402, for the document of current PPT is converted to picture, converting unit 402 is specifically for being converted to picture format by every one page lantern slide of the document of current PPT;
Generation unit 403, for being generated as read-only PPT by the document that is converted to picture;
Wherein, generation unit 403 can further include:
Create subelement 4031, for creating new PPT document;
Generate subelement 4032, for the picture after conversion is inserted into new PPT document according to the order of the document of PPT, be generated as read-only PPT, generate subelement 4032 specifically for the picture after conversion is inserted into every one page background that new PPT document is generated as read-only PPT according to the order of the document of PPT.
In the present embodiment, by converting unit 402, the document of current PPT is converted to picture, generation unit 403 is generated as read-only PPT, not only solved existing by the whole document made from read-only form, or as the lantern slide broadcast format technology that is read-only form, it is only the read-only form of presentation process, by subsequent operation, can return to the interim read-only technical matters that PPT document is modified, and realized the technology of the unitary document in PPT document being carried out to thorough read-only form, and generation subelement 4032 is inserted into according to the order of the document of PPT every one page background that new PPT document is generated as read-only PPT by the picture after conversion, making follow-up can be that read-only PPT is further operated, embodied more intelligentized design.
Those skilled in the art can be well understood to, for convenience and simplicity of description, the system of foregoing description, the specific works process of device and unit, can, with reference to the corresponding process in preceding method embodiment, not repeat them here.
In the several embodiment that provide in the application, should be understood that, disclosed system, apparatus and method, can realize by another way.For example, device embodiment described above is only schematic, for example, the division of described unit, be only that a kind of logic function is divided, during actual realization, can have other dividing mode, for example a plurality of unit or assembly can in conjunction with or can be integrated into another system, or some features can ignore, or do not carry out.Another point, shown or discussed coupling each other or direct-coupling or communication connection can be by some interfaces, indirect coupling or the communication connection of device or unit can be electrically, machinery or other form.
The described unit as separating component explanation can or can not be also physically to separate, and the parts that show as unit can be or can not be also physical locations, can be positioned at a place, or also can be distributed in a plurality of network element.Can select according to the actual needs some or all of unit wherein to realize the object of the present embodiment scheme.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, can be also that the independent physics of unit exists, and also can be integrated in a unit two or more unit.Above-mentioned integrated unit both can adopt the form of hardware to realize, and also can adopt the form of SFU software functional unit to realize.
If the form of SFU software functional unit of usining described integrated unit realizes and during as production marketing independently or use, can be stored in a computer read/write memory medium.Understanding based on such, the all or part of of the part that technical scheme of the present invention contributes to prior art in essence in other words or this technical scheme can embody with the form of software product, this computer software product is stored in a storage medium, comprise that some instructions are with so that a computer equipment (can be personal computer, server, or the network equipment etc.) carry out all or part of step of method described in each embodiment of the present invention.And aforesaid storage medium comprises: USB flash disk, portable hard drive, ROM (read-only memory) (ROM, Read-Only Memory), the various media that can be program code stored such as random access memory (RAM, Random Access Memory), magnetic disc or CD.
The above, above embodiment only, in order to technical scheme of the present invention to be described, is not intended to limit; Although the present invention is had been described in detail with reference to previous embodiment, those of ordinary skill in the art is to be understood that: its technical scheme that still can record aforementioned each embodiment is modified, or part technical characterictic is wherein equal to replacement; And these modifications or replacement do not make the essence of appropriate technical solution depart from the spirit and scope of various embodiments of the present invention technical scheme.