CN102023987A - Method and device for processing WEB document - Google Patents
Method and device for processing WEB document Download PDFInfo
- Publication number
- CN102023987A CN102023987A CN200910172182XA CN200910172182A CN102023987A CN 102023987 A CN102023987 A CN 102023987A CN 200910172182X A CN200910172182X A CN 200910172182XA CN 200910172182 A CN200910172182 A CN 200910172182A CN 102023987 A CN102023987 A CN 102023987A
- Authority
- CN
- China
- Prior art keywords
- web document
- document
- user
- functional module
- web
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Landscapes
- Information Transfer Between Computers (AREA)
Abstract
The invention discloses a method and a device for processing a WEB document. The method comprises the following steps of: determining a document area selected by a user in the WEB document displayed by a browser, generating HTML (Hypertext Markup Language) source codes corresponding to the selected document area, generating a temporary WEB document according to the HTML source codes and caching the temporary WEB document; invoking a WEB document processing function module pre-embedded in the browser according to a WEB document processing command selected by the user; and correspondingly operating the temporary WEB document according to the invoked WEB document processing function module, wherein WEB document processing functions comprise the function of editing the WEB document, the function of storing the WEB document as a file, the function of printing out the WEB document, the function of transmitting the WEB document in the way of fax, or the function of uploading the WEB document. The invention can help the user to process document content attractive to the user per se, and flexibility is increased.
Description
Technical field
The application relates to internet and Computer Applied Technology field, relates in particular to a kind of WEB document processing method and device thereof.
Background technology
Along with popularizing day by day and development of internet, its influence to people's live and work is also more and more far-reaching.One of purpose of Internet user's internet usage is in order to search own interested data, and exports according to the needs of oneself.
At present, when the Internet user searched data by the internet, if find own interested data, the printing function that can adopt browser to carry was exported usually.But the printing function that browser carries all prints the content of the whole WEB page, like this, prints the shortage dirigibility on the one hand, can not print according to the user is required; On the other hand, the printing cost is higher.In addition, the document output function that browser carries is also more single, lacks dirigibility.
The application content
The embodiment of the present application provides a kind of WEB document processing method and device thereof, in order to solve in the prior art WEB document function type single, use inflexible problem.
The technical scheme that the embodiment of the present application provides comprises:
A kind of WEB document processing method may further comprise the steps:
Determine user's selected document areas in the WEB of browser display document, generate the pairing html source code of this document areas that is selected, generate the interim WEB document row cache of going forward side by side according to this html source code;
Embed the WEB document process functional module of this browser in advance according to the WEB document process command calls of user's selection;
Described invoked WEB document process functional module is carried out corresponding operating to described interim WEB document.
A kind of WEB document processing device, document processing comprises:
Be used for determining that the user at the selected document areas of the WEB of browser display document, generates the pairing html source code of this document areas that is selected, generate the go forward side by side functional module of row cache of interim WEB document according to this html source code;
Be used for embedding in advance the functional module of the WEB document process functional module of this browser according to the WEB document process command calls that the user selects;
Be used for described interim WEB document is carried out corresponding operating WEB document process functional module.
The foregoing description of the application on the one hand, by embed WEB document process functional module in browser, can be realized making browser that WEB document process mode flexibly is provided according to user's request; On the other hand, the document areas of selecting according to the user generates corresponding html source code, and generate interim WEB file according to this html source code and carry out buffer memory, and the document content of buffer memory operated accordingly, the documentation section that can only choose the user carries out the WEB document process, with in the prior art technology of whole WEB document process is compared, can handle according to user's request, improved dirigibility.
Description of drawings
Fig. 1 is for being added with the toolbar synoptic diagram of the icon of WEB document process function in the embodiment of the present application;
Fig. 2 is for printing the schematic flow sheet of output to the document of choosing in the embodiment of the present application;
The schematic flow sheet of Fig. 3 in the embodiment of the present application the document of choosing being sent by fax mode;
The schematic flow sheet of Fig. 4 in the embodiment of the present application the document of choosing being uploaded;
The schematic flow sheet of Fig. 5 in the application's enforcement the document of choosing being preserved;
The schematic flow sheet of Fig. 6 in the embodiment of the present application the document of choosing being edited.
Embodiment
Problem at the prior art existence, the embodiment of the present application is by embedding the module that printing, editor etc. can realize WEB document process function in the WEB document viewer, make the user when using browser to browse the WEB document, can carry out corresponding operating to the WEB document of choosing by choosing the module that partial document in the WEB document calls WEB document process function again.
Embodiment to the application is described in detail below in conjunction with accompanying drawing.
In the embodiment of the present application, need in WEB document viewer (hereinafter to be referred as browser), embed the functional module that realizes the WEB document process.For existing browser, can be by the operation installation procedure, the functional module that will handle the WEB document with the form of plug-in unit is embedded in the browser.The functional module that embeds can realize by program code.
The functional module of the processing WEB document that embeds can comprise following one or more:
The cancellation functional module can be removed the document of buffer memory, comprises the object in the WEB documents such as the text chosen and picture;
The hold function module can be a file with the WEB document storing;
The printing function module can be with the WEB document by printer output;
The editting function module can be edited the WEB document, comprises the editor to document content and form;
The facsimile function module can send the WEB document by fax mode;
The upload function module can upload to assigned address with the WEB document, as the WEB document segment that selects being uploaded to the address of editing network blog, thereby realizes the automatic renewal and the issue of web blog.
After in browser, embedding the above-mentioned functions module, can in the menu of browser, add the function menu of corresponding document process automatically, or in browser, add the toolbar that includes the respective icon button automatically, so that the user calls function corresponding the WEB document of choosing is handled accordingly.The toolbar that is added with the icon of WEB document process function can be as shown in Figure 1, and wherein, icon 10~16 is represented following function successively:
Icon 10: document is edited, clicked this icon and can call the routine interface of editting function module to call the editting function module;
Icon 11: with document storing is file, clicks this icon and can call the routine interface of hold function module to call the hold function module;
Icon 12: remove the document that is buffered, click this icon and can call the routine interface of cancellation functional module to call the cancellation functional module;
Icon 13:, click this icon and can call the routine interface of printing function module to call the printing function module with the document printout;
Icon 14: document is sent by fax mode, click this icon and can call the routine interface of facsimile function module to call the facsimile function module;
Icon 15: document is uploaded to the web blog address of appointment, click the adjustable routine interface with the upload function module of this icon to call the upload function module.
Below in conjunction with icon shown in Figure 1, one by one the pairing document process flow process of above-mentioned various WEB document process functions is described in detail.
Referring to Fig. 2, the document to choosing that provides for the embodiment of the present application prints the schematic flow sheet of output.When the user uses browser to browse the WEB document, if interested, can choose this partial document, then icon 13 in the click browser toolbar to the partial document in this WEB document (comprising text) or/and picture, with the document printout that selects, this flow process mainly comprises:
In this step, operating system, as the windows operating system of Microsoft, the operation behavior that can catch the user, and the operation behavior of catching can be passed to browser.When the user chooses certain document areas in the WEB document by mouse drag (as the frame selection operation), browser can get access to the document content (can comprise text or/and picture) that comprises in the user-selected zone, and, the content that browser can be chosen the user pastes buffer memory in the shear plate that operating system provides, and perhaps the document storage that the user is chosen is a temporary file.In the WEB document, the user can demonstrate marquee on every side by the selected document areas of mouse, to show and the difference that is not selected document areas.After the user chooses document, browser can generate the html source code of selected document automatically, as to selected document initial to by generate or WEB document as shown in the browser get access to html source code, generate the interim WEB document of html format or extended formatting then according to html source code this generation or that get access to, and should interim WEB document buffer memory be temporary file.
In this step, the printing function module also can eject print set-up window, is provided with for the user and prints relevant option, and the Printing Qptions that is provided with according to the user prints then.Print set-up window can comprise for the setting of printing item that the user provides: horizontal, vertical Printing Qptions, header, footer and page number setting option, printing model option (printing as single page, pair of pages), number of print pages setting option etc.If when the longer one page paper of the document of buffer memory was not printed, document printing function module is print page automatically.Be connected with a plurality of printers if user's browser client is current, then document printing function module also can provide the option of selective printing machine in print set-up window.Print set-up window also can show the Print Preview page.
The flow process that prints output by the above-mentioned document of choosing according to the user as can be seen, the user can only print output with the WEB document that selects, with prior art the printout of whole WEB document is compared, can can also save the printing cost on the other hand according to user's needs printout user's interest content on the one hand.
Referring to Fig. 3, the schematic flow sheet that the document with choosing that provides for the embodiment of the present application sends by fax mode.When the user uses browser to browse the WEB document, if interested, can choose this partial document, then icon 14 in the click browser toolbar to the partial document in this WEB document, the document segment that selects is sent with fax mode, and this flow process mainly comprises:
In the flow process shown in Figure 3, the fax that the facsimile function module is ejected is provided with in the window, and the fax setting option that provides for the user can comprise: sender's fax number, addressee's fax number etc.Fax is provided with window can also carry out format checking to the fax number of user's input, when the fax number form of checking out user's input is incorrect, can further point out the user to re-enter.
Referring to Fig. 4, the schematic flow sheet that the document with choosing that provides for the embodiment of the present application is uploaded.When the user uses browser to browse the WEB document, if interested, can choose this partial document to the partial document in this WEB document, icon 15 in the click browser toolbar is uploaded the document that selects then, and this flow process mainly comprises:
In the flow process shown in Figure 4, uploading that the upload function module is ejected is provided with in the window, uploads setting option and can comprise for what the user provided: on by reference, information such as user name, password.If subscriber authentication failure is then uploaded and window is set authentication failed information can be shown to the user, and can point out the user to re-enter authentication information.
Referring to Fig. 5, the schematic flow sheet that the document with choosing that provides for the embodiment of the present application is preserved.When the user uses browser to browse the WEB document, if interested, can choose this partial document to the partial document in this WEB document, icon 11 in the click browser toolbar is preserved the document that selects then, and this flow process mainly comprises:
In the flow process shown in Figure 5, uploading that the hold function module is ejected is provided with in the window, and the preservation setting option that provides for the user can comprise: filename setting option, file type option (as selecting to save as DOC formatted file, TXT formatted file or PDF file), preservation address selection item etc.Another kind of alternative is: do not provide to preserve window is set, can carry out file according to the preservation configuration information of acquiescence and preserve when preserving file.Default setting can comprise the setting in file storage path, being provided with etc. of file memory format.Can allow the user that default setting is made amendment.
Referring to Fig. 6, the schematic flow sheet that the document to choosing that provides for the embodiment of the present application is edited.When the user uses browser to browse the WEB document, if interested, can choose this partial document to the partial document in this WEB document, icon 10 in the click browser toolbar is edited the document that selects then, and this flow process mainly comprises:
In the above-mentioned flow process shown in Figure 6, after the user chose document, after the user chose document, browser can generate the pairing html source code of selected part automatically, and generated interim WEB document; When the user called the editting function module by clickable icon 10, this module can be analyzed the html source code of the pairing interim WEB document of selected document; When the user edited this interim WEB document, this module can be made response to user's editing operation, and the mode of the html source code by revising this interim WEB document is the form or the content of user's appointment with documents editing.Editing operation can comprise: text formatting (as the size that sets font, color, pattern etc.) is set, Edit Text content (comprising increase, modification, deletion content of text etc.), editing picture (as increasing picture, deletion picture etc.).
Subsequent user can be passed through clickable icon 11, icon 13, icon 14 or icon 15, and (through editor's) carries out corresponding process operations to the document of buffer memory.
For the document of choosing with buffer memory, if the user has clicked icon 12, then cancelling function is called, the cancellation function will be removed the document of current cache, as remove content in the shear plate, perhaps delete the temporary file of buffer memory, can also remove to be selected in the WEB document and choose mark (frame that is selected around the document as removing selects mark, makes it revert to normal display state) on the document.
In the foregoing description of the application, the document areas that the user chooses can be one or more, if a plurality of, then these a plurality of zones can be adjacent also can be non-conterminous.As, allow the user to pin certain function key (as shift) on the keyboard and select the non-conterminous document segment of multistage with mouse, when the user decontroled this function key, all document segment that this selection operation of user is selected were carried out buffer memory.
The flow process that above-mentioned the embodiment of the present application provided can realize by software, accordingly, operation in the above-mentioned flow process all can be realized by the functional module of correspondence, finishes the required functional module of the embodiment of the present application and constituted the WEB document processing device, document processing that the embodiment of the present application provided.This device comprises:
Be used for determining that the user at the selected document areas of the WEB of browser display document, generates the pairing html source code of this document areas that is selected, generate the go forward side by side functional module of row cache of interim WEB document according to this html source code;
Be used for embedding in advance the functional module of the WEB document process functional module of this browser according to the WEB document process command calls that the user selects;
Be used for described interim WEB document is carried out corresponding operating WEB document process functional module.
Wherein, WEB document process functional module comprises one of following:
Cancel functional module, can remove the document segment of buffer memory;
The hold function module can be a file with the WEB document storing;
The printing function module can be with the WEB document by printer output;
The editting function module can be edited the WEB document, comprises document content and form;
The facsimile function module can send the WEB document by fax mode.
The processing procedure of above-mentioned each functional module is described in front, does not repeat them here.
The application is that reference is described according to the process flow diagram and/or the block scheme of method, equipment (system) and the computer program of the embodiment of the present application.Should understand can be by the flow process in each flow process in computer program instructions realization flow figure and/or the block scheme and/or square frame and process flow diagram and/or the 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 to be used for the device of the function that is implemented 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 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 that is stored in this computer-readable memory produce the manufacture that comprises command device, this command device is implemented in 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 on computing machine or other programmable devices and to carry out the sequence of operations step producing computer implemented processing, thereby the instruction of carrying out on computing machine or other programmable devices is provided for being implemented in 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 the spirit and scope that do not break away from the application to the application.Like this, if these of the application are revised and modification belongs within the scope of the application's claim and equivalent technologies thereof, then the application also is intended to comprise these changes and modification interior.
Claims (11)
1. a WEB document processing method is characterized in that, may further comprise the steps:
Determine user's selected document areas in the WEB of browser display document, generate the pairing html source code of this document areas that is selected, generate the interim WEB document row cache of going forward side by side according to this html source code;
Embed the WEB document process functional module of this browser in advance according to the WEB document process command calls of user's selection;
Described invoked WEB document process functional module is carried out corresponding operating to described interim WEB document.
2. WEB document processing method as claimed in claim 1 is characterized in that, it is one of following that described WEB document process functional module comprises:
The functional module that the WEB document is edited;
With the WEB document storing is the functional module of file;
The WEB document is printed the functional module of output;
With the functional module of WEB document with the fax mode transmission;
The functional module that the WEB document is uploaded.
3. WEB document processing method as claimed in claim 2 is characterized in that, invoked functional module is when the WEB document storing is the functional module of file, and the corresponding operating to described interim WEB document carries out comprises:
By the file storing path information that window receives user's input that is provided with of preserving is provided to the user;
Generate the file of specified format according to described interim WEB document, and the file that generates is saved in appointed positions according to the file storing path information of user's input.
4. WEB document processing method as claimed in claim 2 is characterized in that, invoked functional module is when the WEB document is printed the functional module of output, and the corresponding operating to described interim WEB document carries out comprises:
Import print setting information by provide print set-up window to receive the user to the user;
Print setting information according to user's input prints output with described interim WEB document.
5. WEB document processing method as claimed in claim 2 is characterized in that, when invoked functional module was the functional module that the WEB document is sent with fax mode, the corresponding operating to described interim WEB document carries out comprised:
By provide fax that the fax number that window receives user's input is set to the user;
Generate the fax text according to described interim WEB document, according to the fax number transmission fax text of user's input.
6. WEB document processing method as claimed in claim 2 is characterized in that, when invoked functional module was the functional module that the WEB document is uploaded, the corresponding operating to described interim WEB document carries out comprised:
By providing to the user to upload the address information of uploading that window receives user's input is set;
Generate the document text of uploading according to described interim WEB document, upload the document text according to the address information of uploading of user's input.
7. WEB document processing method as claimed in claim 2 is characterized in that, when invoked functional module was the functional module that the WEB document is edited, the corresponding operating to described interim WEB document carries out comprised:
By providing editor that described interim WEB document is shown to the user to the user, and receive the editing operation of user to the document by this window;
Upgrade the WEB document of buffer memory with the WEB document behind the editor.
8. as each described WEB document processing method of claim 1-7, it is characterized in that selected document areas is the one or more document areas in the current WEB document, described a plurality of document areas are adjacent or non-conterminous.
9. a WEB document processing device, document processing is characterized in that, comprising:
Be used for determining that the user at the selected document areas of the WEB of browser display document, generates the pairing html source code of this document areas that is selected, generate the go forward side by side functional module of row cache of interim WEB document according to this html source code;
Be used for embedding in advance the functional module of the WEB document process functional module of this browser according to the WEB document process command calls that the user selects;
Be used for described interim WEB document is carried out corresponding operating WEB document process functional module.
10. WEB document processing device, document processing as claimed in claim 9 is characterized in that, it is one of following that described WEB document process functional module comprises:
The functional module that the WEB document is edited;
With the WEB document storing is the functional module of file;
The WEB document is printed the functional module of output;
With the functional module of WEB document with the fax mode transmission;
The functional module that the WEB document is uploaded.
11. WEB document processing device, document processing as claimed in claim 10 is characterized in that, selected document areas comprises: the one or more document areas in the shown WEB document of browser, described a plurality of document areas are adjacent or non-conterminous.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN200910172182XA CN102023987A (en) | 2009-09-15 | 2009-09-15 | Method and device for processing WEB document |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN200910172182XA CN102023987A (en) | 2009-09-15 | 2009-09-15 | Method and device for processing WEB document |
Publications (1)
Publication Number | Publication Date |
---|---|
CN102023987A true CN102023987A (en) | 2011-04-20 |
Family
ID=43865295
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN200910172182XA Pending CN102023987A (en) | 2009-09-15 | 2009-09-15 | Method and device for processing WEB document |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102023987A (en) |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103246489A (en) * | 2012-02-14 | 2013-08-14 | 佳能株式会社 | Print system, print server, and control method |
CN104036028A (en) * | 2014-06-27 | 2014-09-10 | 吴涛军 | Processing system, generation method, processing method and differential displaying method for electronic document information fragments |
CN104461412A (en) * | 2014-12-30 | 2015-03-25 | 广州视源电子科技股份有限公司 | Web page designated area printing method and system |
CN105279245A (en) * | 2015-09-30 | 2016-01-27 | 北京奇虎科技有限公司 | Method for collecting contents on webpage and electronic device |
CN105393223A (en) * | 2013-06-20 | 2016-03-09 | 微软技术许可有限责任公司 | Capturing website content through capture services |
CN111144085A (en) * | 2019-12-10 | 2020-05-12 | 北京中宏立达科技发展有限公司 | Method, special plug-in and system for editing streaming file of business information system |
-
2009
- 2009-09-15 CN CN200910172182XA patent/CN102023987A/en active Pending
Cited By (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103246489A (en) * | 2012-02-14 | 2013-08-14 | 佳能株式会社 | Print system, print server, and control method |
CN103246489B (en) * | 2012-02-14 | 2015-11-11 | 佳能株式会社 | Print system, printing server and control method |
US9460061B2 (en) | 2012-02-14 | 2016-10-04 | Canon Kabushiki Kaisha | Print system, print server, control method, and storage medium |
CN105393223A (en) * | 2013-06-20 | 2016-03-09 | 微软技术许可有限责任公司 | Capturing website content through capture services |
CN104036028A (en) * | 2014-06-27 | 2014-09-10 | 吴涛军 | Processing system, generation method, processing method and differential displaying method for electronic document information fragments |
CN104036028B (en) * | 2014-06-27 | 2018-02-06 | 吴涛军 | A kind of method that the generation, processing, differentiation of processing system of electronic document information fragment and electronic document information fragment are shown |
CN104461412A (en) * | 2014-12-30 | 2015-03-25 | 广州视源电子科技股份有限公司 | Web page designated area printing method and system |
CN104461412B (en) * | 2014-12-30 | 2017-08-25 | 广州视源电子科技股份有限公司 | Web page designated area Method of printing and system |
CN105279245A (en) * | 2015-09-30 | 2016-01-27 | 北京奇虎科技有限公司 | Method for collecting contents on webpage and electronic device |
CN111144085A (en) * | 2019-12-10 | 2020-05-12 | 北京中宏立达科技发展有限公司 | Method, special plug-in and system for editing streaming file of business information system |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8427671B2 (en) | Image processing apparatus capable of timely notifying user of change in state, control method thereof, and image processing system | |
JP4340566B2 (en) | Web page generation apparatus, embedded apparatus, Web page generation control method, Web page generation program, and recording medium | |
US9092758B2 (en) | Service providing apparatus, information processing system and methods | |
US20040049571A1 (en) | Tracking document usage | |
US7860892B2 (en) | Information processing apparatus, history file generation method and program | |
CN102023987A (en) | Method and device for processing WEB document | |
JP4066691B2 (en) | Print control apparatus and program | |
CN107231415B (en) | The network storage method and device of picture | |
JP2005159449A (en) | Compound machine, its network content processing method, program and storage medium | |
WO2008092079A2 (en) | System, method and apparatus for selecting content from web sources and posting content to web logs | |
JP2010118054A (en) | Thumbnail generation method and image forming apparatus | |
US20080046459A1 (en) | Method for generating metadata and electronic device having metadata delivery function | |
US20070180364A1 (en) | Layout method | |
JP2007156713A (en) | Image processor and control method therefor | |
US20040139389A1 (en) | Document processing method and apparatus | |
KR20120029608A (en) | Management apparatus and method for controlling screen capture of management apparatus | |
US20070101278A1 (en) | Web site theme designer | |
AU760816B2 (en) | System for capturing, annotating and transmitting images of internet web pages | |
JP2001084212A (en) | Method for preparing homepage | |
JP2006252001A (en) | Document processor | |
JP2021163447A (en) | Information processing apparatus and control method for the same, and program | |
CN102096563B (en) | Method and system for printing preview operation of controller client end | |
JP2006338281A (en) | Printer server, printing system, program and print control method | |
JP2001125851A (en) | Device and method for processing information | |
US8023146B2 (en) | Print control device, information processing device, method of print control device, method of information processing device and computer program |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
REG | Reference to a national code |
Ref country code: HK Ref legal event code: DE Ref document number: 1154094 Country of ref document: HK |
|
C12 | Rejection of a patent application after its publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20110420 |
|
REG | Reference to a national code |
Ref country code: HK Ref legal event code: WD Ref document number: 1154094 Country of ref document: HK |