CN108932221A - File composition method and device based on blob - Google Patents
File composition method and device based on blob Download PDFInfo
- Publication number
- CN108932221A CN108932221A CN201710380884.1A CN201710380884A CN108932221A CN 108932221 A CN108932221 A CN 108932221A CN 201710380884 A CN201710380884 A CN 201710380884A CN 108932221 A CN108932221 A CN 108932221A
- Authority
- CN
- China
- Prior art keywords
- processed
- width
- current page
- determined
- blob
- 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
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F40/00—Handling natural language data
- G06F40/10—Text processing
- G06F40/189—Automatic justification
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Health & Medical Sciences (AREA)
- Artificial Intelligence (AREA)
- Audiology, Speech & Language Pathology (AREA)
- Computational Linguistics (AREA)
- General Health & Medical Sciences (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Document Processing Apparatus (AREA)
Abstract
The present invention provides a kind of file composition method and device based on blob, wherein this method includes:If it is determined that current page by subfield, then obtains the width of object to be processed, wherein object to be processed is the blob in file, and blob is non-legible object;If it is determined that the width of object to be processed is less than or equal to the width of current page, and first difference be less than or equal to first threshold, it then determines that object to be processed is layout of a page without columns object, and sets object to be processed to occupy the width of current page, and the both sides of object to be processed are not provided with word content;If it is determined that the width of object to be processed is less than or equal to the width of current page, and first difference be greater than first threshold, if it is determined that the width of object to be processed is greater than the width on single column of current page, it is determined that object to be processed is broken column object, and treats process object and carry out the first processing.The publication that a typesetting is more smooth, coherent is obtained, typesetting effect is improved, enhances the continuity of the text of publication.
Description
Technical field
The present invention relates to typesetting system field more particularly to a kind of file composition methods and device based on blob.
Background technique
In all kinds of publications, some publication format has certain regularity and repeatability, such as scientific and technological phase
Print reference book, Literature in Social Sciences, part teaching material etc..
In the prior art, for the typesetting of this kind of publication with certain regularity and repeatability, base can generally be used
Structuring, automation type-setting mode in extensible markup language (Extensible Markup Language, abbreviation XML)
The efficiency for improving typesetting specifically exactly makes template using composing tools, by template and a description publication contents
XML file synthesized, to complete the typesetting of books.Wherein, template and publication contents can use base in synthesis
In the label mapping mode of structuring.
However in the prior art, since the body matter of publication is more more and complicated, so that the typesetting to text has
Biggish difficulty.In existing type-setting mode, when the body matter to publication carries out typesetting, just due to publication
There is its rule of text, picture, the contents such as formula, and different publications to have difference, to be difficult by one in literary content
The text of different publications is carried out typesetting by a or several templates, causes the knot that typesetting process is complicated and typesetting result is poor
Fruit.
Summary of the invention
The present invention provides a kind of file composition method and device based on blob, is difficult to lead in the prior art to solve
One or several templates are crossed, the text of different publications is subjected to typesetting, typesetting process complexity is caused and typesetting result is poor
Result the problem of.
It is an aspect of the present invention to provide a kind of file composition method based on blob, including:
The width of the current page of file is obtained, and determines current page whether by subfield;
If it is determined that current page by subfield, then obtains the width of object to be processed, wherein the object to be processed is file
In blob, the blob be non-legible object;
Judge whether the width of the object to be processed is less than or equal to the width of the current page, and described to be processed right
Whether the first difference between the width of elephant and the width of the current page is less than or equal to first threshold;
If it is determined that the width of the object to be processed is less than or equal to the width of the current page, and first difference is small
In equal to the first threshold, it is determined that the object to be processed is layout of a page without columns object, and object to be processed is set as occupying and is worked as
The width of the preceding page, and the both sides of object to be processed are not provided with word content;
If it is determined that the width of the object to be processed is less than or equal to the width of the current page, and first difference is big
In the first threshold, then judge whether the width of the object to be processed is greater than the width on single column of current page;
If it is determined that the width of the object to be processed is greater than the width on single column of current page, it is determined that described to be processed right
As to break column object, and the first processing is carried out to the object to be processed;
It is described first processing be it is following any one:The object to be processed is set as occupying adjacent with current single column
Another single column position;After the process object is set as the section of current page;The object to be processed is arranged
The top or bottom for current page;It sets the object to be processed to occupy left or placed in the middle or occupy right;By described wait locate
Word content is arranged in the side for managing object.
Another aspect of the present invention is to provide a kind of file composing device based on blob, including:
Whether first obtains module, the width of the current page for obtaining file, and determine current page by subfield;
Second obtains module, for if it is determined that current page by subfield, then obtains the width of object to be processed, wherein institute
Stating object to be processed is the blob in file, and the blob is non-legible object;
First judgment module, for judging whether the width of the object to be processed is less than or equal to the width of the current page
Degree, and whether the first difference between the width of the object to be processed and the width of the current page is less than or equal to the first threshold
Value;
First determining module, for if it is determined that the width of the object to be processed is less than or equal to the width of the current page
Degree, and first difference is less than or equal to the first threshold, it is determined that the object to be processed is layout of a page without columns object, and will be wait locate
Reason object is set as occupying the width of current page, and the both sides of object to be processed are not provided with word content;
Second judgment module, for if it is determined that the width of the object to be processed is less than or equal to the width of the current page
Degree, and first difference is greater than the first threshold, then judges whether the width of the object to be processed is greater than current page
Single column width;
Second determining module, for if it is determined that the object to be processed width be greater than current page single column width,
It then determines that the object to be processed is broken column object, and the first processing is carried out to the object to be processed;
It is described first processing be it is following any one:The object to be processed is set as occupying adjacent with current single column
Another single column position;After the process object is set as the section of current page;The object to be processed is arranged
The top or bottom for current page;It sets the object to be processed to occupy left or placed in the middle or occupy right;By described wait locate
Word content is arranged in the side for managing object.
The solution have the advantages that:By obtain file current page width, and determine current page whether by
Subfield;If it is determined that current page by subfield, then obtains the width of object to be processed, wherein object to be processed is big in file
Object, blob are non-legible object;Judge whether the width of object to be processed is less than or equal to the width of current page, and to
Whether the first difference between the width of process object and the width of current page is less than or equal to first threshold;If it is determined that be processed
The width of object is less than or equal to the width of current page, and the first difference is less than or equal to first threshold, it is determined that object to be processed
For layout of a page without columns object, and set object to be processed to occupy the width of current page, and the both sides of object to be processed are not provided with text
Word content;If it is determined that the width of object to be processed is less than or equal to the width of current page, and the first difference is greater than first threshold, then
Judge whether the width of object to be processed is greater than the width on single column of current page;Work as if it is determined that the width of object to be processed is greater than
The width on single column of the preceding page, it is determined that object to be processed is broken column object, and treats process object and carry out the first processing;First
Processing be it is following any one:Object to be processed is set to occupy the position on another the single column adjacent with current single column
It sets;After object to be processed is set as the section of current page;Set object to be processed to the top or the bottom of current page;
It sets object to be processed to occupy left or placed in the middle or occupy right;Word content is arranged in the side of object to be processed.For publication
In picture, table, independent formula etc. it is bigger than text, be not generally possible to come blob in literal line, counted some
Automate typesetting rule, to publication body matter carry out typesetting when so that blob as close as possible to quote this
The text of blob, the presence of blob not will lead to the page and a large amount of blank area occur, between blob, blob and text
It will not overlap between row, blob will not frequently cut off word flow, obtain the publication that a typesetting is more smooth, coherent
Object improves typesetting effect, enhances the continuity of the text of publication.
Detailed description of the invention
Fig. 1 is the flow chart for the file composition method based on blob that the embodiment of the present invention one provides;
Fig. 2 is the flow chart of the file composition method provided by Embodiment 2 of the present invention based on blob;
Fig. 3 is the structural schematic diagram for the file composing device based on blob that the embodiment of the present invention three provides;
Fig. 4 is the structural schematic diagram for the file composing device based on blob that the embodiment of the present invention four provides.
Specific embodiment
In order to make the object, technical scheme and advantages of the embodiment of the invention clearer, below in conjunction with the embodiment of the present invention
In attached drawing, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiment is
A part of the embodiment of the present invention, instead of all the embodiments.Based on the embodiments of the present invention, those of ordinary skill in the art
Every other embodiment obtained without making creative work, shall fall within the protection scope of the present invention.
Fig. 1 is the flow chart for the file composition method based on blob that the embodiment of the present invention one provides, as shown in Figure 1,
The method of the present embodiment, including:
Step 101, obtain file current page width, and determine current page whether by subfield.
Wherein, the specific implementation of step 101 is:
The layout information of current page is obtained, and determines whether current page has subfield mark according to layout information;
If it is determined that have subfield mark, it is determined that in current page have at least two subpage frames, wherein each subpage frame it
Between handled by subfield, and determine that the width of current page is the width on single column;
If it is determined that when not having subfield mark, it is determined that do not have subpage frame in current page, and determine current page
Width is constant.
In the present embodiment, specifically, when the content in each page to file carries out typesetting, first choice needs to obtain
Get the width of current page.Specifically, the layout information of current page is obtained, and current page is determined according to layout information
Whether there is subfield mark, and then determine current page whether by subfield;If it is determined that having subfield mark, it is determined that current page
In there are multiple subpage frames, wherein handled between each subpage frame by subfield, i.e. current page determines current page by subfield
Width be single column width;If it is determined that when not having subfield mark, it is determined that do not have subpage frame in current page, i.e., currently
The page determines that the width of current page is constant not by subfield.
Step 102, if it is determined that current page by subfield, then obtains the width of object to be processed, wherein object to be processed is
Blob in file, blob are non-legible object.
In the present embodiment, specifically, there are the objects of word content in file, also can there are picture, table, solely
These are bigger than text for vertical formula etc., are not generally possible to come non-legible object in literal line.These non-legible objects are
Blob, the typesetting object being directed in the application is the blob in file, and then is needed using these blobs as to be processed
Object.
When determining current page by subfield, need to obtain the width of currently pending object.
Step 103 judges whether the width of object to be processed is less than or equal to the width of current page, and object to be processed
Whether the first difference between width and the width of current page is less than or equal to first threshold.
In the present embodiment, specifically, judging whether the width of object to be processed is less than or equal to the width of current page, and
Whether the first difference between the width of object to be processed and the width of current page is less than or equal to first threshold;The first threshold
It is smaller numerical value.
Step 104, if it is determined that object to be processed width be less than or equal to current page width, and the first difference be less than etc.
In first threshold, it is determined that object to be processed is layout of a page without columns object, and sets object to be processed to occupy the width of current page,
And the both sides of object to be processed are not provided with word content.
In the present embodiment, specifically, if it is determined that the width of object to be processed is less than or equal to the width of current page, and the
One difference is less than or equal to first threshold, it is determined that and the width of object to be processed is equal or close to the bandwidth of current page, into
And determining object to be processed is layout of a page without columns object;Then, it sets object to be processed to occupying the width of current page, and to be processed
The both sides of object are not provided with word content.
Step 105, if it is determined that the width of object to be processed is less than or equal to the width of current page, and the first difference is greater than the
One threshold value, then judge whether the width of object to be processed is greater than the width on single column of current page.
In the present embodiment, specifically, in width of the width for determining object to be processed less than or equal to current page, and the
When one difference is greater than first threshold, need to continue to judge whether the width of object to be processed is greater than single column of current page
Width.
Step 106, if it is determined that object to be processed width be greater than current page single column width, it is determined that it is to be processed right
As for break column object, and treat process object carry out first processing;
First processing be it is following any one:Object to be processed is set to occupy other one adjacent with current single column
The position on a list column;After object to be processed is set as the section of current page;The most upper of current page is set by object to be processed
Side or bottom;It sets object to be processed to occupy left or placed in the middle or occupy right;Word content is arranged in the side of object to be processed.
In the present embodiment, specifically, if it is determined that the width of object to be processed be greater than current page single column width,
It then determines that object to be processed is broken column object, and treats process object and carry out the first processing;First processing be it is following any one:
Object to be processed is set to occupy the position on another the single column adjacent with current single column;Object to be processed is set as working as
After the section of the preceding page;Set object to be processed to the top or the bottom of current page;Object to be processed is set as occupying
Left or placed in the middle or residence is right;Word content is arranged in the side of object to be processed.
Whether the present embodiment determines current page by subfield by obtaining the width of the current page of file;If it is determined that
Current page then obtains the width of object to be processed by subfield, wherein object to be processed is the blob in file, blob
For non-legible object;Judge whether the width of object to be processed is less than or equal to the width of current page, and object to be processed
Whether the first difference between width and the width of current page is less than or equal to first threshold;If it is determined that the width of object to be processed
Less than or equal to the width of current page, and the first difference is less than or equal to first threshold, it is determined that and object to be processed is layout of a page without columns object,
And it sets object to be processed to occupy the width of current page, and the both sides of object to be processed are not provided with word content;If really
The width of fixed object to be processed is less than or equal to the width of current page, and the first difference is greater than first threshold, then judges to be processed
Whether the width of object is greater than the width on single column of current page;If it is determined that the width of object to be processed is greater than the list of current page
The width on column, it is determined that object to be processed is broken column object, and treats process object and carry out the first processing;First processing is following
Any one:Object to be processed is set to occupy the position on another the single column adjacent with current single column;It is to be processed right
After being set as the section of current page;Set object to be processed to the top or the bottom of current page;It will be to be processed right
As being set as occupying left or placed in the middle or occupy right;Word content is arranged in the side of object to be processed.For picture, the table in publication
Lattice, independent formula etc. are bigger than text, are not generally possible to come blob in literal line, have counted some automation typesettings
Rule, when the body matter to publication carries out typesetting, so that text of the blob as close as possible to this blob of reference,
The presence of blob not will lead to the page and a large amount of blank area occurs, will not send out between blob, between blob and literal line
Raw overlapping, blob will not frequently cut off word flow, obtain the publication that a typesetting is more smooth, coherent, the row of improving
Version effect, enhances the continuity of the text of publication.
Fig. 2 is the flow chart of the file composition method provided by Embodiment 2 of the present invention based on blob, as shown in Fig. 2,
The method of the present embodiment, including:
Step 201, obtain file current page width, and determine current page whether by subfield.
In the present embodiment, specifically, when the content in each page to file carries out typesetting, first choice needs to obtain
Get the width of current page.Specifically, the layout information of current page is obtained, and current page is determined according to layout information
Whether there is subfield mark, and then determine current page whether by subfield;If it is determined that having subfield mark, it is determined that current page
In there are multiple subpage frames, wherein handled between each subpage frame by subfield, i.e. current page determines current page by subfield
Width be single column width;If it is determined that when not having subfield mark, it is determined that do not have subpage frame in current page, i.e., currently
The page determines that the width of current page is constant not by subfield.
Step 202 judges whether there is and other currently adjacent to the blob of typesetting blobs;
If it is determined that in the presence of with other currently adjacent to the blob of typesetting blobs, then judge currently to the big right of typesetting
The sum of the width of elephant and the width of other blobs, if wide greater than the column of current page;If it is determined that being greater than the column of current page
It is wide, it is determined that object to be processed is currently to the blob of typesetting, however, it is determined that it is wide less than or equal to the column of current page, then to current
It is handled side by side to the blob of typesetting and other blobs, generates new blob, and determine that object to be processed is new
Blob;
If it is determined that being not present and other currently adjacent to the blob of typesetting blobs, it is determined that object to be processed is to work as
The preceding blob to typesetting.
In the present embodiment, specifically, firstly the need of judge whether there is with currently to adjacent its of the blob of typesetting
His blob.
If it is determined that in the presence of with other currently adjacent to the blob of typesetting blobs, then judge currently to the big right of typesetting
The sum of the width of elephant and the width of other blobs, if wide greater than the column of current page.If it is determined that currently to the big right of typesetting
The sum of the width of elephant and the width of other blobs, it is wide greater than the column of current page, it is determined that object to be processed is currently wait arrange
The blob of version;If it is determined that being currently less than or equal to current to the sum of the width of the blob of typesetting and the width of other blobs
The column of the page is wide, then to currently being handled side by side to the blob of typesetting and other blobs, generates new blob,
And determine that object to be processed is new blob.
If it is determined that being not present and other currently adjacent to the blob of typesetting blobs, it is determined that object to be processed is to work as
The preceding blob to typesetting.
Step 203, if it is determined that current page by subfield, then obtains the width of object to be processed, wherein object to be processed is
Blob in file, blob are non-legible object.
In the present embodiment, specifically, can be summed up by the analysis to a large amount of samples of publication with blob
Following certain law:(1) the text typesetting content of books can generally be divided into 1 column, 2 columns, 3 columns;(2) blob can be leaned on as far as possible
The text for closely quoting it, is normally at behind text;(3) picture in technical press can maintain original image big in typesetting
It is small, generally without scaling;(4) width of table generally can all be adjusted to 1 to the column N it is wide, be aligned with the left and right on column;(5) subfield
The picture of page-width is encountered in the space of a whole page, some books are generally arranged by such picture top day or on the spot, and some books allow whole page
Wide picture penetrates text by the waist;(6) under subfield state, if the width of a blob is less than a column, this object
Around may arrange text, text may not also be arranged, it is related with the width of object, the location of object is in column with it is placed in the middle,
It is more for occupying the right side;(7) it if the width of a blob is more than that a column is wide, needs to introduce " broken column " this concept, " broken column " at this time
To allow blob from the column that current column enters the right;(8) if the body of a book typesetting is 1 column, and two continuous
Picture is all very narrow, then may require that the two narrow figures carry out side by side.
To which the definition of different types of blob can be set out based on above rule, table 1 is different types of big
The locating rule of object, as shown in table 1.
The locating rule of the different types of blob of table 1
Gigantic to refer in the page of a subfield in table 1, if there is the wide object of the layout of a page without columns, some goes out
Version object requires this object that can only come the top or the bottom of the page, it is not possible to penetrate the page, this way from centre
It is referred to as gigantic.Broken column object position refers to brokenly that column object is the object that width is more than a column, needs to borrow from right hand column
Region, the one layout region of broken column object are the columns that this column is borrowed together with the right, and the position of broken column object refers to relative to its typesetting
The position in region.Illustration and text juxtaposed setting refers to if the width of an object is narrower than the width of its one layout region, can stay in object or so
Lower blank area, if allowing to be discharged into text, referred to as illustration and text juxtaposed setting in blank area at this time.
It is directed to the above rule and regularization term, object to be processed can be obtained when determining current page by subfield
Width.
Step 204 judges whether the width of object to be processed is less than or equal to the width of current page, and object to be processed
Whether the first difference between width and the width of current page is less than or equal to first threshold.
In the present embodiment, specifically, judging whether the width of object to be processed is less than or equal to the width of current page, and
Whether the first difference between the width of object to be processed and the width of current page is less than or equal to first threshold;The first threshold
It is smaller numerical value.
Step 205, if it is determined that object to be processed width be less than or equal to current page width, and the first difference be less than etc.
In first threshold, it is determined that object to be processed is layout of a page without columns object, and sets object to be processed to occupy the width of current page,
And the both sides of object to be processed are not provided with word content.
In the present embodiment, specifically, if it is determined that the width of object to be processed is less than or equal to the width of current page, and the
One difference is less than or equal to first threshold, it is determined that and the width of object to be processed is equal or close to the bandwidth of current page, into
And determining object to be processed is layout of a page without columns object;Then, it sets object to be processed to occupying the width of current page, and to be processed
The both sides of object are not provided with word content.
Step 206, if it is determined that the width of object to be processed is less than or equal to the width of current page, and the first difference is greater than the
One threshold value, then judge whether the width of object to be processed is greater than the width on single column of current page.
In the present embodiment, specifically, in width of the width for determining object to be processed less than or equal to current page, and the
When one difference is greater than first threshold, need to continue to judge whether the width of object to be processed is greater than single column of current page
Width.
Step 207, if it is determined that object to be processed width be greater than current page single column width, it is determined that it is to be processed right
As for break column object, and treat process object carry out first processing;
First processing be it is following any one:Object to be processed is set to occupy other one adjacent with current single column
The position on a list column;After object to be processed is set as the section of current page;The most upper of current page is set by object to be processed
Side or bottom;It sets object to be processed to occupy left or placed in the middle or occupy right;Word content is arranged in the side of object to be processed.
In the present embodiment, specifically, if it is determined that the width of object to be processed be greater than current page single column width,
It then determines that object to be processed is broken column object, and treats process object and carry out the first processing;First processing be it is following any one:
Object to be processed is set to occupy the position on another the single column adjacent with current single column;Object to be processed is set as working as
After the section of the preceding page;Set object to be processed to the top or the bottom of current page;Object to be processed is set as occupying
Left or placed in the middle or residence is right;Word content is arranged in the side of object to be processed.
Step 208, if it is determined that object to be processed width be less than or equal to current page single column width, it is determined that wait locate
Managing object is single column object, and treats process object and carry out second processing;
Second processing be it is following any one:
It sets object to be processed to after the current line of current page;Set object to be processed to the section of current page
Afterwards;Object to be processed is set as occupying left or placed in the middle or occupies the right side, and word content is arranged in the side of object to be processed.
In the present embodiment, specifically, being less than or equal to the width on single column of current page in the width for determining object to be processed
When spending, it is determined that object to be processed is single column object, and treats process object and carry out second processing.Second processing is following
Any one:It sets object to be processed to after the current line of current page;Current page is set by object to be processed
Duan Hou;Object to be processed is set as occupying left or placed in the middle or occupies the right side, and word content is arranged in the side of object to be processed.
Step 209, if it is determined that object to be processed width be greater than current page width, then by object to be processed setting arrive
In the next page of current page.
In the present embodiment, specifically, after step 204, being greater than current page in the width for determining object to be processed
Width when, then by object to be processed be arranged into the next page of current page.Specifically, in each of the present embodiment
All there is a kind of phenomenon in step, be exactly current to be processed right under the remaining height of one layout region or width are not enough arranged
As when, then this object to be processed is discharged to lower one page.Step 205-208 is not carried out at this time.
Step 210, if it is determined that current page then obtains the width of object to be processed not by subfield;
Judge whether the width of object to be processed is less than or equal to the width of current page, and the width of object to be processed with work as
Whether the first difference between the width of the preceding page is less than or equal to first threshold;
If it is determined that the width of object to be processed is less than or equal to the width of current page, and the first difference is less than or equal to the first threshold
Value, it is determined that object to be processed is layout of a page without columns object, and sets object to be processed to occupy the width of current page, and to be processed
The both sides of object are not provided with word content;
If it is determined that the width of object to be processed is less than or equal to the width of current page, and the first difference is greater than first threshold,
Then judge whether the first difference is greater than second threshold;
If it is determined that whether the first difference is greater than second threshold, it is determined that object to be processed is narrow object, and to be processed right
As being arranged on current page.
In the present embodiment, specifically, after step 202, if it is determined that current page then obtains not by subfield wait locate
Manage the width of object.
Then, judge whether the width of object to be processed is less than or equal to the width of current page, and the width of object to be processed
Whether the first difference between degree and the width of current page is less than or equal to first threshold.
If it is determined that the width of object to be processed is less than or equal to the width of current page, and the first difference is less than or equal to first
Threshold value, it is determined that object to be processed is layout of a page without columns object, and sets object to be processed to occupy the width of current page, and wait locate
The both sides of reason object are not provided with word content;
If it is determined that the width of object to be processed is less than or equal to the width of current page, and the first difference is greater than the first threshold
Value, then judge whether the first difference is greater than second threshold;Then, if it is determined that whether the first difference is greater than second threshold, then really
Fixed object to be processed is narrow object, and treats process object and be arranged on current page.
In this step, step 203-209 is not carried out at this time.
For example, method provided in this embodiment is used for the space of a whole page of medicine periodical, it can be with using the rule of table 2
Complete the automation typesetting of the space of a whole page.
2 rule signal one of table
Again for example, method provided in this embodiment is used for the part space of a whole page of certain dictionary, it can using the rule of table 3
To complete the automation typesetting of the space of a whole page.
3 rule signal two of table
Again for example, method provided in this embodiment is used for the part space of a whole page of certain college journal, uses the rule of table 4
The automation typesetting of the space of a whole page can then be completed.
4 rule signal three of table
Whether the present embodiment determines current page by subfield by obtaining the width of the current page of file;If it is determined that
Current page then obtains the width of object to be processed by subfield, wherein object to be processed is the blob in file, blob
For non-legible object;Judge whether the width of object to be processed is less than or equal to the width of current page, and object to be processed
Whether the first difference between width and the width of current page is less than or equal to first threshold;If it is determined that the width of object to be processed
Less than or equal to the width of current page, and the first difference is less than or equal to first threshold, it is determined that and object to be processed is layout of a page without columns object,
And it sets object to be processed to occupy the width of current page, and the both sides of object to be processed are not provided with word content;If really
The width of fixed object to be processed is less than or equal to the width of current page, and the first difference is greater than first threshold, then judges to be processed
Whether the width of object is greater than the width on single column of current page;If it is determined that the width of object to be processed is greater than the list of current page
The width on column, it is determined that object to be processed is broken column object, and treats process object and carry out the first processing;First processing is following
Any one:Object to be processed is set to occupy the position on another the single column adjacent with current single column;It is to be processed right
After being set as the section of current page;Set object to be processed to the top or the bottom of current page;It will be to be processed right
As being set as occupying left or placed in the middle or occupy right;Word content is arranged in the side of object to be processed;If it is determined that the width of object to be processed
Degree is less than or equal to the width on single column of current page, it is determined that object to be processed is single column object, and treats process object and carry out
Second processing;Second processing be it is following any one:It sets object to be processed to after the current line of current page;It will be wait locate
After reason object is set as the section of current page;By object to be processed be set as occupying it is left or placed in the middle or occupy it is right, and by object to be processed
Side be arranged word content.If it is determined that current page then obtains the width of object to be processed not by subfield;If it is determined that be processed
The width of object is less than or equal to the width of current page, and the first difference is less than or equal to first threshold, it is determined that object to be processed
For layout of a page without columns object, and set object to be processed to occupy the width of current page, and the both sides of object to be processed are not provided with text
Word content;If it is determined that the width of object to be processed is less than or equal to the width of current page, and the first difference is greater than first threshold, then
Judge whether the first difference is greater than second threshold;If it is determined that whether the first difference is greater than second threshold, it is determined that object to be processed
For narrow object, and treats process object and be arranged on current page.Compare for picture, table, the independent formula etc. in publication
Text is big, is not generally possible to come blob in literal line, the rules of some automation typesettings has been counted, to publication
Body matter carry out typesetting when so that blob as close as possible to quote this blob text, the presence of blob is not
It will lead to the page and a large amount of blank area occur, will not overlap between blob, between blob and literal line, blob is not
Word flow can be frequently cut off, the publication that a typesetting is more smooth, coherent is obtained, improves typesetting effect, enhance out
The continuity of the text of version object.
Fig. 3 is the structural schematic diagram for the file composing device based on blob that the embodiment of the present invention three provides, such as Fig. 3 institute
Show, the device of the present embodiment, including:
Whether first obtains module 61, the width of the current page for obtaining file, and determine current page by subfield;
Second obtains module 62, for if it is determined that current page by subfield, then obtains the width of object to be processed, wherein
Object to be processed is the blob in file, and blob is non-legible object;
First judgment module 63, for judging whether the width of object to be processed is less than or equal to the width of current page, and
Whether the first difference between the width of object to be processed and the width of current page is less than or equal to first threshold;
First determining module 64, for if it is determined that the width of object to be processed is less than or equal to the width of current page, and the
One difference is less than or equal to first threshold, it is determined that object to be processed is layout of a page without columns object, and object to be processed is set as occupying and is worked as
The width of the preceding page, and the both sides of object to be processed are not provided with word content;
Second judgment module 65, for if it is determined that the width of object to be processed is less than or equal to the width of current page, and the
One difference is greater than first threshold, then judges whether the width of object to be processed is greater than the width on single column of current page;
Second determining module 66, for if it is determined that the width of object to be processed is greater than the width on single column of current page, then
It determines that object to be processed is broken column object, and treats process object and carry out the first processing;
First processing be it is following any one:Object to be processed is set to occupy other one adjacent with current single column
The position on a list column;After object to be processed is set as the section of current page;The most upper of current page is set by object to be processed
Side or bottom;It sets object to be processed to occupy left or placed in the middle or occupy right;Word content is arranged in the side of object to be processed.
The file composing device based on blob of the present embodiment can be performed that the embodiment of the present invention one provides based on big right
The file composition method of elephant, realization principle is similar, and details are not described herein again.
Whether the present embodiment determines current page by subfield by obtaining the width of the current page of file;If it is determined that
Current page then obtains the width of object to be processed by subfield, wherein object to be processed is the blob in file, blob
For non-legible object;Judge whether the width of object to be processed is less than or equal to the width of current page, and object to be processed
Whether the first difference between width and the width of current page is less than or equal to first threshold;If it is determined that the width of object to be processed
Less than or equal to the width of current page, and the first difference is less than or equal to first threshold, it is determined that and object to be processed is layout of a page without columns object,
And it sets object to be processed to occupy the width of current page, and the both sides of object to be processed are not provided with word content;If really
The width of fixed object to be processed is less than or equal to the width of current page, and the first difference is greater than first threshold, then judges to be processed
Whether the width of object is greater than the width on single column of current page;If it is determined that the width of object to be processed is greater than the list of current page
The width on column, it is determined that object to be processed is broken column object, and treats process object and carry out the first processing;First processing is following
Any one:Object to be processed is set to occupy the position on another the single column adjacent with current single column;It is to be processed right
After being set as the section of current page;Set object to be processed to the top or the bottom of current page;It will be to be processed right
As being set as occupying left or placed in the middle or occupy right;Word content is arranged in the side of object to be processed.For picture, the table in publication
Lattice, independent formula etc. are bigger than text, are not generally possible to come blob in literal line, have counted some automation typesettings
Rule, when the body matter to publication carries out typesetting, so that text of the blob as close as possible to this blob of reference,
The presence of blob not will lead to the page and a large amount of blank area occurs, will not send out between blob, between blob and literal line
Raw overlapping, blob will not frequently cut off word flow, obtain the publication that a typesetting is more smooth, coherent, the row of improving
Version effect, enhances the continuity of the text of publication.
Fig. 4 is the structural schematic diagram for the file composing device based on blob that the embodiment of the present invention four provides, and is being implemented
On the basis of example three, as shown in figure 4, the device of the present embodiment, further includes:
Third determining module 81, for if it is determined that the width of object to be processed is less than or equal to the width on single column of current page
Degree, it is determined that object to be processed is single column object, and treats process object and carry out second processing;
Second processing be it is following any one:
It sets object to be processed to after the current line of current page;Set object to be processed to the section of current page
Afterwards;Object to be processed is set as occupying left or placed in the middle or occupies the right side, and word content is arranged in the side of object to be processed.
First obtains module 62, is specifically used for:
The layout information of current page is obtained, and determines whether current page has subfield mark according to layout information;
If it is determined that have subfield mark, it is determined that in current page have at least two subpage frames, wherein each subpage frame it
Between handled by subfield, and determine that the width of current page is the width on single column;
If it is determined that when not having subfield mark, it is determined that do not have subpage frame in current page, and determine current page
Width is constant.
Device provided in this embodiment further includes:
Third judgment module 82, for judging whether before the second acquisition module 62 obtains the width of object to be processed
In the presence of with other currently adjacent to the blob of typesetting blobs;If it is determined that in the presence of adjacent with the blob currently to typesetting
Other blobs then judge currently the sum of the width to the blob of typesetting and the width of other blobs, if are greater than current
The column of the page is wide;If it is determined that the column for being greater than current page is wide, it is determined that object to be processed is currently to the blob of typesetting, if really
Surely wide less than or equal to the column of current page, then to currently being handled side by side to the blob of typesetting and other blobs, give birth to
The blob of Cheng Xin, and determine that object to be processed is new blob;If it is determined that there is no with currently to the blob phase of typesetting
Other adjacent blobs, it is determined that object to be processed is currently to the blob of typesetting.
Device provided in this embodiment further includes:
4th determining module 83, for if it is determined that object to be processed width be greater than current page width, then will be wait locate
Object is managed to be arranged into the next page of current page.
Device provided in this embodiment further includes:
5th determining module 84, for if it is determined that current page then obtains the width of object to be processed not by subfield;Judgement
Whether the width of object to be processed is less than or equal to the width of current page, and the width of the width of object to be processed and current page
Between the first difference whether be less than or equal to first threshold;If it is determined that the width of object to be processed is less than or equal to the width of current page
Degree, and the first difference is less than or equal to first threshold, it is determined that object to be processed is layout of a page without columns object, and sets object to be processed to
The width of current page is occupied, and the both sides of object to be processed are not provided with word content;If it is determined that the width of object to be processed is small
In the width for being equal to current page, and the first difference is greater than first threshold, then judges whether the first difference is greater than second threshold;If
Determine whether the first difference is greater than second threshold, it is determined that object to be processed is narrow object, and treats process object setting and working as
On the preceding page.
The file composing device based on blob of the present embodiment can be performed provided by Embodiment 2 of the present invention based on big right
The file composition method of elephant, realization principle is similar, and details are not described herein again.
Whether the present embodiment determines current page by subfield by obtaining the width of the current page of file;If it is determined that
Current page then obtains the width of object to be processed by subfield, wherein object to be processed is the blob in file, blob
For non-legible object;Judge whether the width of object to be processed is less than or equal to the width of current page, and object to be processed
Whether the first difference between width and the width of current page is less than or equal to first threshold;If it is determined that the width of object to be processed
Less than or equal to the width of current page, and the first difference is less than or equal to first threshold, it is determined that and object to be processed is layout of a page without columns object,
And it sets object to be processed to occupy the width of current page, and the both sides of object to be processed are not provided with word content;If really
The width of fixed object to be processed is less than or equal to the width of current page, and the first difference is greater than first threshold, then judges to be processed
Whether the width of object is greater than the width on single column of current page;If it is determined that the width of object to be processed is greater than the list of current page
The width on column, it is determined that object to be processed is broken column object, and treats process object and carry out the first processing;First processing is following
Any one:Object to be processed is set to occupy the position on another the single column adjacent with current single column;It is to be processed right
After being set as the section of current page;Set object to be processed to the top or the bottom of current page;It will be to be processed right
As being set as occupying left or placed in the middle or occupy right;Word content is arranged in the side of object to be processed;If it is determined that the width of object to be processed
Degree is less than or equal to the width on single column of current page, it is determined that object to be processed is single column object, and treats process object and carry out
Second processing;Second processing be it is following any one:It sets object to be processed to after the current line of current page;It will be wait locate
After reason object is set as the section of current page;By object to be processed be set as occupying it is left or placed in the middle or occupy it is right, and by object to be processed
Side be arranged word content.If it is determined that current page then obtains the width of object to be processed not by subfield;If it is determined that be processed
The width of object is less than or equal to the width of current page, and the first difference is less than or equal to first threshold, it is determined that object to be processed
For layout of a page without columns object, and set object to be processed to occupy the width of current page, and the both sides of object to be processed are not provided with text
Word content;If it is determined that the width of object to be processed is less than or equal to the width of current page, and the first difference is greater than first threshold, then
Judge whether the first difference is greater than second threshold;If it is determined that whether the first difference is greater than second threshold, it is determined that object to be processed
For narrow object, and treats process object and be arranged on current page.Compare for picture, table, the independent formula etc. in publication
Text is big, is not generally possible to come blob in literal line, the rules of some automation typesettings has been counted, to publication
Body matter carry out typesetting when so that blob as close as possible to quote this blob text, the presence of blob is not
It will lead to the page and a large amount of blank area occur, will not overlap between blob, between blob and literal line, blob is not
Word flow can be frequently cut off, the publication that a typesetting is more smooth, coherent is obtained, improves typesetting effect, enhance out
The continuity of the text of version object.
Those of ordinary skill in the art will appreciate that:Realize that all or part of the steps of above-mentioned each method embodiment can lead to
The relevant hardware of program instruction is crossed to complete.Program above-mentioned can be stored in a computer readable storage medium.The journey
When being executed, execution includes the steps that above-mentioned each method embodiment to sequence;And storage medium above-mentioned includes:ROM, RAM, magnetic disk or
The various media that can store program code such as person's CD.
Finally it should be noted that:The above embodiments are merely illustrative of the technical solutions of the present invention, rather than its limitations;Although
Present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that:It still may be used
To modify the technical solutions described in the foregoing embodiments or equivalent replacement of some of the technical features;
And these are modified or replaceed, technical solution of various embodiments of the present invention that it does not separate the essence of the corresponding technical solution spirit and
Range.
Claims (10)
1. a kind of file composition method based on blob, which is characterized in that including:
The width of the current page of file is obtained, and determines current page whether by subfield;
If it is determined that current page by subfield, then obtains the width of object to be processed, wherein the object to be processed is in file
Blob, the blob are non-legible object;
Judge whether the width of the object to be processed is less than or equal to the width of the current page, and the object to be processed
Whether the first difference between width and the width of the current page is less than or equal to first threshold;
If it is determined that the width of the object to be processed be less than or equal to the current page width, and first difference be less than etc.
In the first threshold, it is determined that the object to be processed is layout of a page without columns object, and is set as object to be processed to occupy current page
The width in face, and the both sides of object to be processed are not provided with word content;
If it is determined that the width of the object to be processed is less than or equal to the width of the current page, and first difference is greater than institute
First threshold is stated, then judges whether the width of the object to be processed is greater than the width on single column of current page;
If it is determined that the width of the object to be processed is greater than the width on single column of current page, it is determined that the object to be processed is
Broken column object, and the first processing is carried out to the object to be processed;
It is described first processing be it is following any one:The object to be processed is set as occupying adjacent with current single column another
The position on outer one single column;After the process object is set as the section of current page;The object to be processed is set as working as
The top of the preceding page or bottom;It sets the object to be processed to occupy left or placed in the middle or occupy right;It will be described to be processed right
Word content is arranged in the side of elephant.
2. the method according to claim 1, wherein further including:
If it is determined that the width of the object to be processed is less than or equal to the width on single column of current page, it is determined that described to be processed right
As for single column object, and second processing is carried out to the object to be processed;
The second processing be it is following any one:
It sets object to be processed to after the current line of current page;Set the object to be processed to the section of current page
Afterwards;The object to be processed is set as occupying left or placed in the middle or occupies the right side, and the side of the object to be processed is arranged in text
Hold.
3. the method according to claim 1, wherein it is described obtain file current page width, and determine
Current page whether by subfield, including:
The layout information of current page is obtained, and determines whether current page has subfield mark according to layout information;
If it is determined that having subfield mark, it is determined that there are at least two subpage frames, wherein quilt between each subpage frame in current page
Subfield processing, and determine that the width of current page is the width on single column;
If it is determined that when not having subfield mark, it is determined that do not have subpage frame in current page, and determine the width of current page
It is constant.
4. the method according to claim 1, wherein also being wrapped before the width for obtaining object to be processed
It includes:
It judges whether there is and other currently adjacent to the blob of typesetting blobs;
If it is determined that in the presence of with described other currently adjacent to the blob of typesetting blobs, then judge described currently to typesetting
The sum of the width of blob and the width of other blobs, if wide greater than the column of current page;If it is determined that being greater than current
The column of the page is wide, it is determined that object to be processed is currently to the blob of typesetting, however, it is determined that and it is wide less than or equal to the column of current page,
It is then currently handled side by side to the blob of typesetting and other described blobs described, generates new blob, and really
Fixed object to be processed is new blob;
If it is determined that being not present and described other currently adjacent to the blob of typesetting blobs, it is determined that object to be processed is to work as
The preceding blob to typesetting.
5. method according to claim 1-4, which is characterized in that the method further includes:
If it is determined that the width of the object to be processed is greater than the width of the current page, then the object setting to be processed is arrived
In the next page of current page;
The method further includes:
If it is determined that current page not by subfield, then obtains the width of the object to be processed;
Judge whether the width of the object to be processed is less than or equal to the width of the current page, and the object to be processed
Whether the first difference between width and the width of the current page is less than or equal to first threshold;
If it is determined that the width of the object to be processed be less than or equal to the current page width, and first difference be less than etc.
In the first threshold, it is determined that the object to be processed is layout of a page without columns object, and is set as object to be processed to occupy current page
The width in face, and the both sides of object to be processed are not provided with word content;
If it is determined that the width of the object to be processed is less than or equal to the width of the current page, and first difference is greater than institute
First threshold is stated, then judges whether first difference is greater than second threshold;
If it is determined that whether first difference is greater than second threshold, it is determined that the object to be processed is narrow object, and to described
Object to be processed is arranged on current page.
6. a kind of file composing device based on blob, which is characterized in that including:
Whether first obtains module, the width of the current page for obtaining file, and determine current page by subfield;
Second obtains module, for if it is determined that current page by subfield, then obtains the width of object to be processed, wherein it is described to
Process object is the blob in file, and the blob is non-legible object;
First judgment module, for judging whether the width of the object to be processed is less than or equal to the width of the current page,
And whether the first difference between the width of the object to be processed and the width of the current page is less than or equal to first threshold;
First determining module, for if it is determined that the object to be processed width be less than or equal to the current page width, and
First difference is less than or equal to the first threshold, it is determined that the object to be processed is layout of a page without columns object, and will be to be processed right
As being set as occupying the width of current page, and the both sides of object to be processed are not provided with word content;
Second judgment module, for if it is determined that the object to be processed width be less than or equal to the current page width, and
First difference is greater than the first threshold, then judges whether the width of the object to be processed is greater than single column of current page
Width;
Second determining module, for if it is determined that the width of the object to be processed is greater than the width on single column of current page, then really
The fixed object to be processed is broken column object, and carries out the first processing to the object to be processed;
It is described first processing be it is following any one:The object to be processed is set as occupying adjacent with current single column another
The position on outer one single column;After the process object is set as the section of current page;The object to be processed is set as working as
The top of the preceding page or bottom;It sets the object to be processed to occupy left or placed in the middle or occupy right;It will be described to be processed right
Word content is arranged in the side of elephant.
7. device according to claim 6, which is characterized in that described device further includes:
Third determining module, for if it is determined that the object to be processed width be less than or equal to current page single column width,
It then determines that the object to be processed is single column object, and second processing is carried out to the object to be processed;
The second processing be it is following any one:
It sets object to be processed to after the current line of current page;Set the object to be processed to the section of current page
Afterwards;The object to be processed is set as occupying left or placed in the middle or occupies the right side, and the side of the object to be processed is arranged in text
Hold.
8. device according to claim 6, which is characterized in that described first obtains module, is specifically used for:
The layout information of current page is obtained, and determines whether current page has subfield mark according to layout information;
If it is determined that having subfield mark, it is determined that there are at least two subpage frames, wherein quilt between each subpage frame in current page
Subfield processing, and determine that the width of current page is the width on single column;
If it is determined that when not having subfield mark, it is determined that do not have subpage frame in current page, and determine the width of current page
It is constant.
9. device according to claim 6, which is characterized in that described device further includes:
Third judgment module, for judging whether there is before the second acquisition module obtains the width of object to be processed
With other currently adjacent to the blob of typesetting blobs;If it is determined that in the presence of with it is described currently adjacent to the blob of typesetting
Other blobs then judge described currently to the sum of the width of the blob of typesetting and the width of other blobs, if
It is wide greater than the column of current page;If it is determined that the column for being greater than current page is wide, it is determined that object to be processed is currently to the big of typesetting
Object, however, it is determined that it is wide less than or equal to the column of current page, then to described currently to the blob of typesetting and described other are big right
As being handled side by side, new blob is generated, and determine that object to be processed is new blob;If it is determined that there is no with it is described
Other currently adjacent to the blob of typesetting blobs, it is determined that object to be processed is currently to the blob of typesetting.
10. according to the described in any item devices of claim 6-9, which is characterized in that described device further includes:
4th determining module, for if it is determined that the width of the object to be processed is greater than the width of the current page, then by institute
Object to be processed is stated to be arranged into the next page of current page;
Described device further includes:
5th determining module, for if it is determined that current page not by subfield, then obtains the width of the object to be processed;Judge institute
Whether the width for stating object to be processed is less than or equal to the width of the current page, and the width of the object to be processed with it is described
Whether the first difference between the width of current page is less than or equal to first threshold;If it is determined that the width of the object to be processed is small
In the width for being equal to the current page, and first difference is less than or equal to the first threshold, it is determined that described to be processed
Object is layout of a page without columns object, and sets object to be processed to occupy the width of current page, and the both sides of object to be processed are not set
Set word content;If it is determined that the width of the object to be processed is less than or equal to the width of the current page, and described first poor
Value is greater than the first threshold, then judges whether first difference is greater than second threshold;If it is determined that first difference whether
Greater than second threshold, it is determined that the object to be processed is narrow object, and the object to be processed is arranged on current page.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710380884.1A CN108932221A (en) | 2017-05-25 | 2017-05-25 | File composition method and device based on blob |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710380884.1A CN108932221A (en) | 2017-05-25 | 2017-05-25 | File composition method and device based on blob |
Publications (1)
Publication Number | Publication Date |
---|---|
CN108932221A true CN108932221A (en) | 2018-12-04 |
Family
ID=64450918
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710380884.1A Pending CN108932221A (en) | 2017-05-25 | 2017-05-25 | File composition method and device based on blob |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108932221A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109934209A (en) * | 2019-05-17 | 2019-06-25 | 上海肇观电子科技有限公司 | Printed page analysis method, reading aids, circuit and medium |
Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1558340A (en) * | 2004-02-06 | 2004-12-29 | 珠海金山软件股份有限公司 | Typesetting method |
CN1828580A (en) * | 2006-04-14 | 2006-09-06 | 北京北大方正电子有限公司 | Rectangular array words frame layout method for fitting word content |
CN103699953A (en) * | 2013-11-06 | 2014-04-02 | 北京驭时德隆科技有限公司 | Project management system, and data processing method and device thereof |
CN103761220A (en) * | 2014-01-20 | 2014-04-30 | 深圳市英威诺科技有限公司 | Text typographic technical method for information software |
CN104536947A (en) * | 2014-12-10 | 2015-04-22 | 百度在线网络技术(北京)有限公司 | Layout document processing method and device |
AU2014253499A1 (en) * | 2013-11-04 | 2015-05-21 | Palantir Technologies, Inc. | Space-optimized display of multi-column tables with selective text truncation based on a combined text width |
CN105045776A (en) * | 2015-09-07 | 2015-11-11 | 武汉大学 | Automatic page type setting method |
CN105095285A (en) * | 2014-05-14 | 2015-11-25 | 北大方正集团有限公司 | Navigation directory processing method and apparatus for digital publication |
CN105159877A (en) * | 2015-06-18 | 2015-12-16 | 杭州电子科技大学 | Cross-media automatic typesetting system and method thereof |
CN105183708A (en) * | 2014-06-05 | 2015-12-23 | 北大方正集团有限公司 | Method and system for making book based on microblog content |
-
2017
- 2017-05-25 CN CN201710380884.1A patent/CN108932221A/en active Pending
Patent Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1558340A (en) * | 2004-02-06 | 2004-12-29 | 珠海金山软件股份有限公司 | Typesetting method |
CN1828580A (en) * | 2006-04-14 | 2006-09-06 | 北京北大方正电子有限公司 | Rectangular array words frame layout method for fitting word content |
AU2014253499A1 (en) * | 2013-11-04 | 2015-05-21 | Palantir Technologies, Inc. | Space-optimized display of multi-column tables with selective text truncation based on a combined text width |
CN103699953A (en) * | 2013-11-06 | 2014-04-02 | 北京驭时德隆科技有限公司 | Project management system, and data processing method and device thereof |
CN103761220A (en) * | 2014-01-20 | 2014-04-30 | 深圳市英威诺科技有限公司 | Text typographic technical method for information software |
CN105095285A (en) * | 2014-05-14 | 2015-11-25 | 北大方正集团有限公司 | Navigation directory processing method and apparatus for digital publication |
CN105183708A (en) * | 2014-06-05 | 2015-12-23 | 北大方正集团有限公司 | Method and system for making book based on microblog content |
CN104536947A (en) * | 2014-12-10 | 2015-04-22 | 百度在线网络技术(北京)有限公司 | Layout document processing method and device |
CN105159877A (en) * | 2015-06-18 | 2015-12-16 | 杭州电子科技大学 | Cross-media automatic typesetting system and method thereof |
CN105045776A (en) * | 2015-09-07 | 2015-11-11 | 武汉大学 | Automatic page type setting method |
Non-Patent Citations (1)
Title |
---|
出版经纪人: "手把手教您学出版:插图的排版规则及要注意的问题", 《BLOG.SINA.COM.CN/S/BLOG_6B3835510100KZYI.HTML》 * |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109934209A (en) * | 2019-05-17 | 2019-06-25 | 上海肇观电子科技有限公司 | Printed page analysis method, reading aids, circuit and medium |
CN109934209B (en) * | 2019-05-17 | 2019-07-30 | 上海肇观电子科技有限公司 | Printed page analysis method, reading aids, circuit and medium |
US10621428B1 (en) | 2019-05-17 | 2020-04-14 | NextVPU (Shanghai) Co., Ltd. | Layout analysis on image |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10853565B2 (en) | Method and device for positioning table in PDF document | |
Hansell | H+/-: Transhumanism and its Critics | |
US20120303636A1 (en) | System and Method for Web Content Extraction | |
Ladd et al. | Handbook of research in education finance and policy | |
DE112018005418T5 (en) | COGNITIVE DOCUMENT IMAGE DIGITALIZATION | |
CN101876967A (en) | Method for generating PDF text paragraphs | |
CN103744889B (en) | A kind of method and apparatus for problem progress clustering processing | |
US9613005B2 (en) | Method and apparatus for bidirectional typesetting | |
US20150228097A1 (en) | Systems and Methods for Axis Table Plot Display | |
CN107527070A (en) | Recognition methods, storage medium and the server of dimension data and achievement data | |
CN109710771A (en) | Form data extracting method, device and storage medium | |
CN110728198A (en) | Image processing method and device, electronic equipment and readable storage medium | |
Sakurai | Kanji (morphogram) and kana (phonogram) problem in Japanese alexia and agraphia | |
CN112380812A (en) | Method, device, equipment and storage medium for extracting incomplete frame line table of PDF (Portable document Format) | |
CN108932221A (en) | File composition method and device based on blob | |
CN111723555A (en) | Plane typesetting method and system | |
Shojanoori et al. | Analysis of effects of employed married women teleworking on keeping balance between work and family | |
Chiou et al. | The effects of joint and link flexibilities on the dynamic stability of force-controlled manipulators | |
Beier | Legibility investigations: controlling typeface variables | |
Svobodová et al. | Education needs in context of migration and industry 4.0 in selected EU countries | |
Moys | Investigating readers’ impressions of typographic differentiation using repertory grids | |
Hyland | Academic writing and non-Anglophone scholars | |
CN110020296A (en) | A kind of method and device for extracting news web page text | |
Raje et al. | Real-time Data Fusion Platforms: The Need of Multi-dimensional Data-driven Research in Biomedical Informatics | |
Ghol Verdi et al. | Identification of Factors Affecting Succession Management Behavior in Managers: Qualitative Approach |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20181204 |
|
RJ01 | Rejection of invention patent application after publication |