Embodiment
Below with reference to the accompanying drawings and in conjunction with the embodiments, describe the present invention in detail.
The process flow diagram of embodiment shown in Figure 1, comprises the following steps:
S11: resolve the page parameter that the page obtains in the PDF document after being standardized by source document and compare with the threshold interval preset;
S12: generate and show the preview graph of the described page, wherein, using the color corresponding to the result of described comparison as described page layout background look.
Adopt the method in embodiment, compared, according to comparative result display page content with the parameter preset by the page parameter parsed.Thus whether met the requirements by the background color differentiation parameter of the page of display, improve the efficiency of verification page parameter.
Preferably, the form of source document can be various file layout, such as: the e-book form (CEB) of PostScript format file (PS EPS), upright company, founder bookmaker form (PS2 S2 S72), printer file form (PRN), MS Office Applications Office format file, text (TXT) formatted file, picture format documents etc., these documents can be exchanged into the PDF document of the PDF Parameter specifications meeting setting by normalizer.By code requirement device, the source document that can realize multiple format can be converted to PDF document, is convenient to the page parameter of the source document reading multiple format.
Preferably, the parameter pre-set can adopt the file of INI form or xml form, and this file also can be described as configuration file.By the configuration file of any one form in these two kinds of forms, all can realize method of the present invention, be convenient to user and according to circumstances select a kind of formatted file generating configuration file.
Preferably, comprise according to the mode of comparative result displaying contents in step S12:
If the result of described comparison is not for exceed described threshold interval, then to keep the constant mode of background colour to show the described page;
If the result of described comparison for exceeding described threshold interval, then shows the described page in the mode changing background colour.
Preferably, described content comprises picture and character;
Described page parameter at least comprises one of following: the pattern of the size of the described page, the form of described picture, the pattern of described picture, the resolution of described picture, the compressibility of described picture, described picture position on the page, the form of described character, described character, ICC (color description file) relevant parameter, embedded word relevant parameter, color parameter.
Wherein, whether ICC relevant parameter contains color description file for the content arranging the page, and embedded word relevant parameter is used for arranging content of pages and whether contains font descriptor.
Preferably, the result of the comparison in step S11 is reported as verification; Source document before verification report, preview graph, standardization is packaged together, as the self-inspection page.
A physical page in the corresponding normalized source document in each self test page face.The attribute information such as title, the form of source document, the page number of corresponding physical page of the source document address of source document, source document is recorded inside the title of the self-inspection page.
Preferably, in step S12, when display is multiple preview graph, multiple described preview graph is presented on the screen at the same simultaneously.
Also comprise: after presenting preview graph in the plane, receive the drag operation to described preview graph; According to the order of the described multiple preview graph of described drag operation arrangement; Wherein, using the order of the order after described arrangement as the described PDF document of printing.
Content in preview graph comprises the content on the document of PDF, such as: picture, character etc.
Preferably, after step S12 presents preview graph, can modify to showing described preview graph in the mode changing background colour.The process of amendment comprises the following steps:
S21: receive in described preview graph with the click of the preview graph shown by the mode changing background colour.
S22: present on screen about the descriptive information of clicked preview graph, link.
Adopt text mark up language html display about the link of the content descriptive information of described comparative result corresponding to clicked preview graph and the described page comprising the parameter exceeding described threshold interval position in the source document.
S23: by being linked at content screen presenting the page in described source document.
Owing to comprising the attribute information of source document in the title of the self-inspection page, can the content of positioning webpage in the described source document before standardization by these attribute informations.In link, comprise attribute information, by attribute information, directly can be linked to the source document before standardization, and locate the content presented in the page.
S24: receive the retouching operation to the content presented.
After presenting the content in the page, receive the retouching operation to presented content.In step S22, present to instruction manual information, user can according to these descriptive informations modifying to the content in the source document before standardization.
S25: the form changing amended source document, regenerates preview graph.
By described amended source document standardization, form PDF document, and cover PDF document of the same name.
Use the preview graph that described amended PDF document structure tree is new, use the preview graph of described generation to upgrade existing described preview graph.
By above-mentioned retouching operation, eliminate the content that page parameter in source document exceeds the threshold interval preset.The background color of user by preview graph shows, can distinguish parameter whether symbol requirement, and the parameter of content in source document before being standardized by link and descriptive information amendment.Difference due to color is visually more prone to distinguish, so the efficiency of verification can be improved, can realize opening the content in the source document before standardization fast by link, can be realized in the parametric procedure of the content in the normalized source document of amendment by descriptive information, there is provided more reference information, to improve the efficiency of amendment.
Preferably, the described descriptive information of multiple described preview graph in step S22, described link are divided in a set;
Present the descriptive information in described set, link on the screen at the same.
Such process, user can browse each preview graph, directly opens the content in normalized source document according to the link that screen shows, modifies according to descriptive information, realizes the batch processing to multiple preview graph, improves efficiency and the speed of process.
Above-described embodiment describes method of the present invention in detail, the device that the present invention also provides a kind of publication to verify, and see Fig. 3, comprising:
Comparison module 31, compares with the threshold interval preset for resolving the page parameter that the page obtains in the PDF document after being standardized by source document;
Display module 32, for generating according to the comparative result of comparison module 31 and showing the preview graph of the described page, wherein, using the color corresponding to the result of described comparison as described page layout background look.
Described display module 32 comprises:
First display module 321, if for the result of described comparison for not exceed described threshold interval, then to keep the constant mode of background colour to show the described page;
Second display module 322, if for the result of described comparison for exceeding described threshold interval, then show the described page in the mode changing background colour.
This device also comprises:
Order module 33, for when multiple described preview graph is presented on the screen at the same by display module 32 simultaneously, receives the drag operation to described preview graph;
According to the order of the described multiple preview graph of described drag operation arrangement; Wherein, using the order of the order after described arrangement as the described PDF standard document of printing.
This device also comprises:
Information display module 34, clicks with the preview graph shown by the mode changing the background colour of the described page display module 32 for receiving;
Adopt text mark up language html display about the link of the content descriptive information of described comparative result corresponding to clicked preview graph and the described page comprising the parameter exceeding described threshold interval position in the source document.
Obviously, those skilled in the art should be understood that, above-mentioned of the present invention each module or each step can realize with general calculation element, they can concentrate on single calculation element, or be distributed on network that multiple calculation element forms, alternatively, they can realize with the executable program code of calculation element, thus, they can be stored and be performed by calculation element in the storage device, or they are made into each integrated circuit modules respectively, or the multiple module in them or step are made into single integrated circuit module to realize.Like this, the present invention is not restricted to any specific hardware and software combination.
The foregoing is only the preferred embodiments of the present invention, be not limited to the present invention, for a person skilled in the art, the present invention can have various modifications and variations.Within the spirit and principles in the present invention all, any amendment done, equivalent replacement, improvement etc., all should be included within protection scope of the present invention.