Embodiment
To make the purpose, technical scheme and advantage of the embodiment of the present invention clearer, below in conjunction with the embodiment of the present invention
In accompanying drawing, the technical scheme in the embodiment of the present invention is clearly and completely described, it is clear that described embodiment is
Part of the embodiment of the present invention, rather than whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art
The every other embodiment obtained under the premise of creative work is not made, belongs to the scope of protection of the invention.
Fig. 1 is the flow chart of method for splitting one embodiment of cross-page file provided by the invention, as shown in figure 1, including:
101st, cross-page file to be split is obtained.
The executive agent of the method for splitting of cross-page file provided by the invention be cross-page file detachment device, cross-page file
Detachment device be specifically as follows the software that can be split in the terminals such as computer to cross-page file or system.Carry herein
To cross-page file to be split, refer specifically to the cross-page text by being formed across the cross-page and ordinary pages of two pages
Part.Wherein, ordinary pages refer to the page that need not be split before printing is bound.
In addition, the cross-page file that the detachment device of cross-page file is got comes from designer, and designer provides
Cross-page file there may be the problem of form etc. does not meet printing standard specification, if directly carrying out fractionation print to cross-page file
Brush, then final print result there may be situations such as font, color, precision malfunction, therefore the detachment device of cross-page file obtains
Take after the cross-page file split, the cross-page file that fractionation can be first treated using the processor related to standardization processing is carried out
Standardization processing, generation meet the file of printing standard specification.If for example, the form of cross-page file to be split is rgb format,
Then the cross-page file of rgb format can be converted into CMYK-format by the detachment device of cross-page file, obtain meeting printing standard rule
The cross-page file of model.In another example if the form of the object such as image, word, lines in cross-page file to be split, or it is cross-page
Each cross-page size, version etc. do not meet printing standard specification in file, then treat image, text in the cross-page file of fractionation
Each cross-page size, version etc. are handled in the form of the objects such as word, lines, and cross-page file, obtain meeting printing mark
The cross-page file of quasi- specification.
102nd, according in cross-page file it is each it is cross-page across the page the page number, determine the fractionation mode of cross-page file.
Wherein, the fractionation mode of cross-page file mainly has:Continuous page under left bookbinding is split, staple is split, left format
Split, any one during the continuous page under right bookbinding is split, staple is split, right format is split.
It is corresponding, cross-page file fractionation mode be above-mentioned several ways on the basis of, step 102 can specifically wrap
Include:
If the page that the page that the page number is m in cross-page file and the page number are m+1 positioned at it is same it is cross-page on, and the page number is m
The page be located at cross-page left side, as shown in Fig. 2 then the fractionation mode of cross-page file be left bookbinding under continuous page split;Or
Person,
If the page that the page that the page number is m in cross-page file and the page number are m+1 positioned at it is same it is cross-page on, and the page number is m
The page be located at cross-page right side, as shown in figure 3, then the fractionation mode of cross-page file be right bookbinding under continuous page split;Or
Person,
If the page that the page that the page number is m in cross-page file and the page number are m-1 positioned at it is same it is cross-page on, the page number is N's
The page that the page and the page number are 1 positioned at it is same it is cross-page on, and the page that the page number is m is located at cross-page right side, as shown in figure 4,
Then the fractionation mode of cross-page file is that the staple under left bookbinding is split;Or
If the page that the page that the page number is m in cross-page file and the page number are m-1 positioned at it is same it is cross-page on, the page number is N's
The page that the page and the page number are 1 positioned at it is same it is cross-page on, and the page that the page number is m is located at cross-page left side, as shown in figure 5,
Then the fractionation mode of cross-page file is that the staple under right bookbinding is split;Or
If the page that the page that the page number is m in cross-page file and the page number are m-1 positioned at it is same it is cross-page on, the page number is N's
The page that the page and the page number are 1 positioned at it is same it is cross-page on, and the page that the page number is m is located at cross-page right side, such as Fig. 6 institutes
Show, then the fractionation mode of cross-page file is that the left format under left bookbinding is split;Or
If the page that the page that the page number is m in cross-page file and the page number are m-1 positioned at it is same it is cross-page on, the page number is N's
The page that the page and the page number are 1 positioned at it is same it is cross-page on, and the page that the page number is m is located at cross-page left side, such as Fig. 7 institutes
Show, then the fractionation mode of cross-page file is that the right format under right bookbinding is split.Wherein, m is odd number, and N is the total page number of the page.
103rd, according to fractionation mode and default middle bleeding width in cross-page file it is each it is cross-page split, obtain
To small page file corresponding to cross-page file.
Wherein, it is cross-page if the mode of fractionation is the continuous page fractionation under continuous page fractionation or right bookbinding under left bookbinding
The detachment device of file can include the cross-page of the page that the page that the page number is m is m+1 with the page number to cross-page file and tear open
Point, obtain cross-page corresponding two small pages, that is, the page that the page that the page number for splitting to obtain is m is m+1 with the page number.Will be each cross-page
Corresponding small page discharges according to 1 to N nature pages order, then obtains small page file corresponding to cross-page file.If the mode of fractionation is
The staple under staple fractionation or right bookbinding under left bookbinding is split, then the detachment device of cross-page file can be to including page
Code be the m page and the page that the page number is m-1 it is cross-page, and the page for being 1 with the page number including the page that the page number is N is cross-page
Split, obtain cross-page corresponding two small pages.If the mode of fractionation is under the fractionation of left format or right bookbinding under left bookbinding
Right format split, then the page that the detachment device of cross-page file can be m-1 to the page and the page number for being m including the page number across
Page is split, and obtains cross-page corresponding two small pages.
Illustrate below and the cross-page specific split process for including two pages in the case of above-mentioned six kinds illustrated, it is assumed that
Cross-page to include ABC, now according to cross-page center line that the cross-page left side half that is divided into is cross-page and right half cross-page, left half is cross-page including A
With B left-half, right half cross-page right half part and C including B, if middle bleeding width is half of B, obtained after splitting
The small page in left side includes A and B, and the small page in right side obtained after fractionation includes B and C.
Optionally, default middle bleeding width is generally 3mm.
Further, after step 103, can also include:According to the fractionation mode of cross-page file and cross-page file pair
Each small page that the small page file answered includes, cross-page file is carried out to print bookbinding or layout printing bookbinding.
For example, if the fractionation mode of cross-page file is torn open for the continuous page fractionation under left bookbinding or the continuous page under right bookbinding
Point, then small the page and page that the page number obtained in small page file by same cross-page fractionation can be m by the detachment device of cross-page file
Layout is printed or printed obtained above-mentioned each page paper according to m size by the small page that code is m-1 after layout is printed or is printed
Place in order, if the fractionation mode of cross-page file is the continuous page fractionation under left bookbinding, in each page paper that order is placed
Bound in left side;Split if the fractionation mode of cross-page file is the continuous page under right bookbinding, in each paper that order is placed
Right side bound.
Split if the fractionation mode of cross-page file is the staple under staple fractionation or right bookbinding under left bookbinding, across
The small page and the page number that the page number obtained in small page file by same cross-page fractionation is 1 can be N's by the detachment device of page file
Small page is printed on the same face of same a piece of paper, the like, by by the different cross-page small pages and page for splitting the obtained page number and being 2
Code is printed on the same face of same a piece of paper for N-1 small page ... ....Then each paper is placed according to the order of the page number, suitable
Nailed on the center line for each paper that sequence is placed.Need to illustrate, be left bookbinding in the fractionation mode of cross-page file
Under staple split or right bookbinding under staple split in the case of, the detachment device of cross-page file can also be by small page text
Each small page in part is placed according to the order of the page number, and each small page then placed to order carries out layout printing, to being obtained after printing
To each paper carry out paper folding and carry out staple bookbinding.
Split if the fractionation mode of cross-page file is the right format under the fractionation of left format or right bookbinding under left bookbinding, across
The detachment device of page file can by it is each it is cross-page split into the small page of size identical of the page number 1, and this batch small page is pressed into the page number
Order is sequentially placed, and is then carried out layout printing according to left format template or right format template, after paper folding, is bound into book
Volume.Wherein, left format template refers to that page 1 and last page 1 is small page, and remaining page is the mould for the big page for including two small pages
Plate, the implication of right format template are similar.Layout printing is carried out according to left format template to be meant that, cross-page will be split by same
To two small pages be placed into order on the same the same face for magnifying page.The implication of layout printing is carried out according to right format template
Similar, paper folding herein refers to is given a discount each big page respectively.
In the present embodiment, cross-page file to be split is obtained by the detachment device by cross-page file, according to cross-page file
In it is each it is cross-page across the page the page number, the fractionation mode of cross-page file is determined, according to the mode of fractionation and default centre
Bleeding width in cross-page file it is each it is cross-page split, obtain small page file corresponding to cross-page file, without by
User to each cross-page consumption for splitting, reducing human resources in cross-page file, improves tearing open for cross-page file manually
Component efficiency.
One of ordinary skill in the art will appreciate that:Realizing all or part of step of above-mentioned each method embodiment can lead to
The related hardware of programmed instruction is crossed to complete.Foregoing program can be stored in a computer read/write memory medium.The journey
Sequence upon execution, execution the step of including above-mentioned each method embodiment;And foregoing storage medium includes:ROM, RAM, magnetic disc or
Person's CD etc. is various can be with the medium of store program codes.
Fig. 8 is the structural representation of detachment device one embodiment of cross-page file provided by the invention, as shown in figure 8,
Including:
Acquisition module 81, for obtaining cross-page file to be split;
Determining module 82, for according in cross-page file it is each it is cross-page across the page the page number, determine cross-page file
Fractionation mode;
Module 83 is split, for according to splitting mode and default middle bleeding width to each cross-page in cross-page file
Split, obtain small page file corresponding to cross-page file.
Wherein, the fractionation mode of cross-page file is:Continuous page under left bookbinding is split, staple is split, left format is split,
Any one during continuous page under right bookbinding is split, staple is split, right format is split.
It is corresponding, cross-page file fractionation mode include above-mentioned six kinds of modes in the case of, determining module 82 according to across
In page file it is each it is cross-page across the page the page number, in the fractionation mode for determining cross-page file, determining module 82 is specifically used for,
If the page that the page that the page number is m in cross-page file and the page number are m+1 positioned at it is same it is cross-page on, and the page number is m
The page be located at cross-page left side, then the fractionation mode of cross-page file be left bookbinding under continuous page split;Or
If the page that the page that the page number is m in cross-page file and the page number are m+1 positioned at it is same it is cross-page on, and the page number is m
The page be located at cross-page right side, then the fractionation mode of cross-page file be right bookbinding under continuous page split;Or
If the page that the page that the page number is m in cross-page file and the page number are m-1 positioned at it is same it is cross-page on, the page number is N's
The page that the page and the page number are 1 positioned at it is same it is cross-page on, and the page that the page number is m is located at cross-page right side, then cross-page file
Fractionation mode be left bookbinding under staple split;Or
If the page that the page that the page number is m in cross-page file and the page number are m-1 positioned at it is same it is cross-page on, the page number is N's
The page that the page and the page number are 1 positioned at it is same it is cross-page on, and the page that the page number is m is located at cross-page left side, then cross-page file
Fractionation mode be right bookbinding under staple split;Or
If the page that the page that the page number is m in cross-page file and the page number are m-1 positioned at it is same it is cross-page on, the page number is N's
The page that the page and the page number are 1 positioned at it is same it is cross-page on, and the page that the page number is m is located at cross-page right side, then cross-page text
The fractionation mode of part is that the left format under left bookbinding is split;Or
If the page that the page that the page number is m in cross-page file and the page number are m-1 positioned at it is same it is cross-page on, the page number is N's
The page that the page and the page number are 1 positioned at it is same it is cross-page on, and the page that the page number is m is located at cross-page left side, then cross-page text
The fractionation mode of part is that the right format under right bookbinding is split;
Wherein, m is odd number, and N is the total page number of the page, m<N.
Further, the detachment device of the cross-page file can also include:Printing bookbinding module.Printing bookbinding module,
For cross-page being torn open to each in cross-page file according to fractionation mode and default middle bleeding width splitting module 83
Point, it is small according to corresponding to the fractionation mode of cross-page file and cross-page file after obtaining small page file corresponding to cross-page file
Each small page that page file includes, cross-page file is carried out to print bookbinding or layout printing bookbinding.
Optionally, default middle bleeding width can be 3mm.
In the present embodiment, cross-page file to be split is obtained by the detachment device by cross-page file, according to cross-page file
In it is each it is cross-page across the page the page number, the fractionation mode of cross-page file is determined, according to the mode of fractionation and default centre
Bleeding width in cross-page file it is each it is cross-page split, obtain small page file corresponding to cross-page file, without by
User to each cross-page consumption for splitting, reducing human resources in cross-page file, improves tearing open for cross-page file manually
Component efficiency.
Finally it should be noted that:Various embodiments above is merely illustrative of the technical solution of the present invention, rather than its limitations;To the greatest extent
The present invention is described in detail with reference to foregoing embodiments for pipe, it will be understood by those within the art that:Its according to
The technical scheme described in foregoing embodiments can so be modified, either which part or all technical characteristic are entered
Row equivalent substitution;And these modifications or replacement, the essence of appropriate technical solution is departed from various embodiments of the present invention technology
The scope of scheme.