Summary of the invention
The embodiment of the present invention provides a kind of method, device and mobile communication equipment of processing pdf document, for solving existing mobile communication equipment, can not carry out to pdf document the technical matters of editing and processing.
The present invention is by the tool storage room that utilizes mobile communication equipment operating system to carry, generate pdf document, and edited for the content in pdf document by the editor's function called in the tool storage room that mobile communication equipment operating system carries, realized generation and the editting function of pdf document in the mobile communication equipment, expanded the range of application of pdf document, also increased the scope of business of mobile communication equipment, improved user's experience simultaneously.
A kind of method of processing pdf document, for mobile communication equipment, comprises the following steps:
The tool storage room that utilizes mobile communication equipment operating system to carry, specify a pdf document to generate position;
Generate position in described pdf document and generate a pdf document.
Wherein, preferred, described after described pdf document generates position generation place one pdf document, also comprise:
Reception is for the edit instruction of described pdf document content;
Call the editor's function in the tool storage room that mobile communication equipment operating system carries;
Receive the editing operation of user's input;
Utilize described editor's function, according to described editing operation, described pdf document is edited.
Wherein, preferred, described editing operation comprises in word in the described pdf document of editor, picture, form one or multinomial.
Wherein, preferred, described mobile communication equipment operating system comprises ios operating system;
Described tool storage room comprises the Quartz2d storehouse in ios operating system;
Described editor's function comprises the CGContextShowTextAtpoint function.
A kind of method of processing pdf document, for mobile communication equipment, comprises the following steps:
Reception is for the edit instruction of described pdf document content;
Call the editor's function in the tool storage room that mobile communication equipment operating system carries;
Receive the editing operation of user's input;
Utilize described editor's function, according to described editing operation, described pdf document is edited.
Wherein, preferred, described editing operation comprises in word in the described pdf document of editor, picture, form one or multinomial.
Wherein, preferred, described mobile communication equipment operating system comprises iso operating system;
Described tool storage room comprises the Quartz2d storehouse in ios operating system;
Described editor's function comprises the CGContextShowTextAtpoint function.
Another aspect of the present invention, proposed the device of controlled device in control area net(CAN).
A kind of device of processing pdf document, for mobile communication equipment, comprises the following steps:
Designated module, the tool storage room that the user utilizes mobile communication equipment operating system to carry, specify a pdf document to generate position;
Generation module, generate a pdf document in described pdf document, generating position.
Wherein, preferred, described device also comprises:
The command reception module, for after described pdf document generation position generates a pdf document, receive the edit instruction for described pdf document content;
Calling module, for calling editor's function of the tool storage room that mobile communication equipment operating system carries;
The operation receiver module, for receiving the editing operation of user's input;
Editor module, utilize described editor's function, according to described editing operation, described pdf document edited.
A kind of device of processing pdf document, for mobile communication equipment, comprises the following steps:
The command reception module, for receiving the edit instruction for described pdf document content;
Calling module, for calling editor's function of the tool storage room that mobile communication equipment operating system carries;
The operation receiver module, for receiving the editing operation of user's input;
Editor module, for utilizing described editor's function, edited described pdf document according to described editing operation.
Other features and advantages of the present invention will be set forth in the following description, and, partly from instructions, become apparent, or understand by implementing the present invention.Purpose of the present invention and other advantage can realize and obtain by specifically noted structure in the instructions write, claims and accompanying drawing.
Below by drawings and Examples, technical scheme of the present invention is described in further detail.
Embodiment
Below in conjunction with accompanying drawing, the preferred embodiments of the present invention are described, should be appreciated that preferred embodiment described herein, only for description and interpretation the present invention, is not intended to limit the present invention.
At present in technology, mobile communication equipment can't generate new pdf document, also can't be edited pdf document, this just causes when using mobile communication equipment, can't carry out editing and processing (such as generating pdf document, revise content in pdf document etc.) to pdf document according to user's actual needs, the function limitation of mobile communication equipment, user's experience is poor.
The embodiment of the present invention provides a kind of technology of processing pdf document, for solving at mobile communication equipment, can not generate and the technical matters of editing pdfs.The present invention is by the tool storage room that utilizes mobile communication equipment operating system to carry, generate pdf document, and edited for the content in pdf document by the editor's function called in the tool storage room that mobile communication equipment operating system carries, realized generation and the editting function of pdf document in the mobile communication equipment, expanded the range of application of pdf document, also increased the scope of business of mobile communication equipment, improved user's experience simultaneously.
Be illustrated in figure 1 the first pass figure that processes the method for pdf document in the embodiment of the present invention, for mobile communication equipment, the method comprises the following steps 101-102:
Step 101, the tool storage room that utilizes mobile communication equipment operating system to carry, specify a pdf document to generate position.
Wherein, preferred, mobile communication equipment operating system can be ios operating system, i.e. the Mobile operating system of Apple company, and now, tool storage room can be the Quartz2d storehouse in ios operating system.
Step 102, generate position in above-mentioned pdf document and generate a pdf document, thereby realize generating pdf document in mobile communication equipment.
Wherein, preferred, as shown in Figure 2, afterstep 102, also can comprise step 201-204:
Step 201, receive the edit instruction for the pdf document content.
Edit instruction, for example, be provided with Edit button on the interface of demonstration pdf document, and the user triggers Edit button, has sent edit instruction, and mobile communication equipment can receive this edit instruction.
The editing operation ofstep 202, reception user input.
Wherein, preferred, editing operation can be the operations such as interpolation in pdf document or deletion word.
Step 203, call the editor's function in the tool storage room that mobile communication equipment operating system carries.
Wherein, preferred, editor's function is the CGContextShowTextAtpoint function.
Step 204, utilization editor function, edited pdf document according to above-mentioned editing operation, thereby realize the editing operation of the pdf document on mobile communication equipment.
The embodiment of the present invention provides a kind of method of processing pdf document, and for mobile communication equipment, the method comprises the following steps A1-A4:
Steps A 1, receive the edit instruction for the pdf document content.
Steps A 2, call the editor's function in the tool storage room that mobile communication equipment operating system carries.
Wherein, preferred, mobile communication equipment operating system can be specially ios operating system, and now, tool storage room comprises the Quartz2d storehouse in ios operating system;
Editor's function comprises the CGContextShowTextAtpoint function.
The editing operation of steps A 3, reception user input.
Wherein, preferred, editing operation comprises in word in editing pdfs, picture, form one or multinomial.
Steps A 4, utilize above-mentioned editor's function, according to editing operation, pdf document is edited, thereby realize the editing operation of the pdf document on mobile communication equipment.
The present invention is by the tool storage room that utilizes mobile communication equipment operating system to carry, generate pdf document, and edited for the content in pdf document by the editor's function called in the tool storage room that mobile communication equipment operating system carries, realized generation and the editting function of pdf document in the mobile communication equipment, expanded the range of application of pdf document, also increased the scope of business of mobile communication equipment, improved user's experience simultaneously.
Embodiment mono-
Embodiment mono-, for the embodiment of the present invention process pdf document method the first preferred embodiment, this embodiment can be applicable to such scene: based on user's newly-built pdf document on mobile communication equipment, the user adds word in the pdf document content.
Step B1, mobile communication equipment receive the order of the newly-built pdf document of user's input.
The tool storage room that step B2, mobile communication equipment utilize its operating system to carry, specify a pdf document to generate position.
Step B3, mobile communication equipment generate position in above-mentioned pdf document and generate a pdf document.
Step B4, user have carried out the operation of adding word to pdf document.
Such as, being provided with Edit button on the interface of demonstration pdf document, the user triggers Edit button, the word that will add according to the prompting input.
Step B5, mobile communication equipment monitor the user while having carried out the operation of adding word, call the editor function in the tool storage room that its operating system carries.
Wherein, preferred, editor's function is the CGContextShowTextAtpoint function.
Step B6, mobile communication equipment utilize above-mentioned editor's function, according to the operation of above-mentioned interpolation word, add word in pdf document, thereby added word in the pdf document of mobile communication equipment.
Embodiment mono-is by the tool storage room that utilizes mobile communication equipment operating system to carry, generate pdf document, and edited for the content in pdf document by the editor's function called in the tool storage room that mobile communication equipment operating system carries, realized generation and the editting function of pdf document in the mobile communication equipment, expanded the range of application of pdf document, also increased the scope of business of mobile communication equipment, improved user's experience simultaneously.
Embodiment bis-
Embodiment bis-, for the embodiment of the present invention process pdf document method the second preferred embodiment, this embodiment can be applicable to such scene: open the pdf document of a content non-NULL on mobile communication equipment based on the user, the user modifies to the word in the pdf document content.
Step C1, user have carried out the operation of deleting word to pdf document.
Such as, being provided with delete button on the interface of demonstration pdf document, the user triggers delete button, can delete according to demand unwanted Word message.
Step C2, mobile communication equipment monitor the user while having carried out the operation of deleting word, call the editor function in the tool storage room that its operating system carries.
Wherein, preferred, editor's function is the CGContextShowTextAtpoint function.
Step C3, mobile communication equipment utilize above-mentioned editor's function, according to the operation of above-mentioned deletion word, delete the corresponding word in pdf document, thereby deleted word in the pdf document of mobile communication equipment.
Embodiment bis-is by the tool storage room that utilizes mobile communication equipment operating system to carry, the editor's function called in the tool storage room that mobile communication equipment operating system carries is edited for the content in pdf document, realized generation and the editting function of pdf document in the mobile communication equipment, expanded the range of application of pdf document, also increased the scope of business of mobile communication equipment, improved user's experience simultaneously.
More than described the implementation procedure of processing the method for pdf document, this process can be realized by device, below built-in function and the structure of device is introduced.
Based on same inventive concept, as shown in Figure 3, the embodiment of the present invention provides a kind of device of processing pdf document, for mobile communication equipment, comprises designatedmodule 301,generation module 302.
Designatedmodule 301, the tool storage room that the user utilizes mobile communication equipment operating system to carry, specify a pdf document to generate position.
Generation module 302, generate a pdf document in above-mentioned pdf document, generating position.
Wherein, preferred, said apparatus also comprises:
The command reception module, for after pdf document generation position generates a pdf document, receive the edit instruction for the pdf document content.
Calling module, for calling editor's function of the tool storage room that mobile communication equipment operating system carries.
The operation receiver module, for receiving the editing operation of user's input.
Editor module, utilize editor's function, according to editing operation, pdf document edited.
The embodiment of the present invention provides a kind of device of processing pdf document, as shown in Figure 4, for mobile communication equipment, comprisescommand reception module 401, callingmodule 402,operation receiver module 403,editor module 404.
Command reception module 401, for receiving the edit instruction for the pdf document content.
Callingmodule 402, for calling editor's function of the tool storage room that mobile communication equipment operating system carries.
Operation receiver module 403, for receiving the editing operation of user's input.
Editor module 404, for utilizing editor's function, edited pdf document according to editing operation.
The present invention is by the tool storage room that utilizes mobile communication equipment operating system to carry, generate pdf document, and edited for the content in pdf document by the editor's function called in the tool storage room that mobile communication equipment operating system carries, realized generation and the editting function of pdf document in the mobile communication equipment, expanded the range of application of pdf document, also increased the scope of business of mobile communication equipment, improved user's experience simultaneously.
Those skilled in the art should understand, embodiments of the invention can be provided as method, system or computer program.Therefore, the present invention can adopt complete hardware implementation example, implement software example or in conjunction with the form of the embodiment of software and hardware aspect fully.And the present invention can adopt the form that wherein includes the upper computer program of implementing of computer-usable storage medium (including but not limited to magnetic disk memory and optical memory etc.) of computer usable program code one or more.
The present invention describes with reference to process flow diagram and/or the block scheme of method, equipment (system) and computer program according to the embodiment of the present invention.Should understand can be in computer program instructions realization flow figure and/or block scheme each flow process and/or the flow process in square frame and process flow diagram and/or block scheme and/or the combination of square frame.Can provide these computer program instructions to the processor of multi-purpose computer, special purpose computer, Embedded Processor or other programmable data processing device to produce a machine, make the instruction of carrying out by the processor of computing machine or other programmable data processing device produce for realizing the device in the function of flow process of process flow diagram or a plurality of flow process and/or square frame of block scheme or a plurality of square frame appointments.
These computer program instructions also can be stored in energy vectoring computer or the computer-readable memory of other programmable data processing device with ad hoc fashion work, make the instruction be stored in this computer-readable memory produce the manufacture that comprises command device, this command device is realized the function of appointment in flow process of process flow diagram or a plurality of flow process and/or square frame of block scheme or a plurality of square frame.
These computer program instructions also can be loaded on computing machine or other programmable data processing device, make and carry out the sequence of operations step to produce computer implemented processing on computing machine or other programmable device, thereby the instruction of carrying out on computing machine or other programmable device is provided for realizing the step of the function of appointment in flow process of process flow diagram or a plurality of flow process and/or square frame of block scheme or a plurality of square frame.
Obviously, those skilled in the art can carry out various changes and modification and not break away from the spirit and scope of the present invention the present invention.Like this, if within of the present invention these are revised and modification belongs to the scope of the claims in the present invention and equivalent technologies thereof, the present invention also is intended to comprise these changes and modification interior.