CN105260350A - Document composition method and device - Google Patents

Document composition method and device Download PDF

Info

Publication number
CN105260350A
CN105260350A CN201410333779.9A CN201410333779A CN105260350A CN 105260350 A CN105260350 A CN 105260350A CN 201410333779 A CN201410333779 A CN 201410333779A CN 105260350 A CN105260350 A CN 105260350A
Authority
CN
China
Prior art keywords
current page
line
adjustment amount
row
typesetting
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
Application number
CN201410333779.9A
Other languages
Chinese (zh)
Inventor
于芬芬
王学武
任珊珊
王博
袁朝
刘建军
邱忠平
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Founder International Co Ltd
Founder International Beijing Co Ltd
Original Assignee
Founder International Co Ltd
Founder International Beijing Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Founder International Co Ltd, Founder International Beijing Co Ltd filed Critical Founder International Co Ltd
Priority to CN201410333779.9A priority Critical patent/CN105260350A/en
Publication of CN105260350A publication Critical patent/CN105260350A/en
Pending legal-status Critical Current

Links

Landscapes

  • Processing Or Creating Images (AREA)
  • Document Processing Apparatus (AREA)

Abstract

The invention provides a document composition method and device. The document composition method comprises the following steps: after carrying out bottom alignment on the current page of a document every time, recording the adjustment amount of each line in the current page; when receiving an instruction which indicates to compose all or part of the paragraphs in the current page, eliminating the adjustment amount of each line in the current page according to the recorded adjustment amount of the corresponding line; and composing all or part of the paragraphs in the current page after the adjustment amount of each line is eliminated. According to the technical scheme, the adjustment amount of each line during the previous bottom alignment can be firstly eliminated when the current page is composed, so that the problem of unbalanced composition caused by direct composition without eliminating the adjustment amount during the bottom alignment in correlation technique is solved, the composition effect of the layout is optimized, the tedious operation of adjusting manually by the user after the composition is avoided, and the user experience is improved.

Description

The method of document typesetting and device
Technical field
The present invention relates to document typesetting technical field, in particular to a kind of method of document typesetting and a kind of device of document typesetting.
Background technology
Attractive in appearance in order to ensure document, user wishes that text can sink to the bottom bottom type page automatically usually, namely align with bottom type page in the bottom of last column of text, if there is difference in height between bottom the bottom of the last column of the text that typesetting is complete and type page, the mode by stretching then is needed all to assign in every a line of text by this difference in height, therefore, the one layout region of every a line, each paragraph there occurs change.
In the process of actual typesetting, user may certain paragraph constantly in editing operation document, and in order to reduce the phenomenon of dodging screen, document can typesetting from certain paragraph, but not is carry out typesetting to all paragraphs in the space of a whole page.The typesetting scheme proposed in correlation technique, normally direct typesetting is carried out to the part or all of paragraph in the space of a whole page, if carried out sinking to the bottom operation to the space of a whole page before user, then direct entanglement can appear in typesetting after causing typesetting phenomenon because the part paragraph in the space of a whole page exists adjustment amount when sinking to the bottom operation is carried out to the space of a whole page, namely occur that the line-spacing of every a line in the space of a whole page is different, affect the attractive in appearance of the space of a whole page, cause user manually to reset, affect the experience of user.
Therefore, how can avoid directly carrying out typesetting to the space of a whole page and occurring the problem of typesetting entanglement, the typesetting effect optimizing the space of a whole page becomes technical matters urgently to be resolved hurrily.
Summary of the invention
The present invention is just based on the problems referred to above, propose a kind of scheme of new document typesetting, make when carrying out typesetting to current page, the adjustment amount of every a line during operation is sunk to the bottom before can first removing, solve in correlation technique the problem of directly carrying out typesetting owing to not having the adjustment amount removed when sinking to the bottom operation and causing typesetting entanglement, optimize the typesetting effect of the space of a whole page, it also avoid the troublesome operation that user after typesetting manually carries out adjusting simultaneously, improve the experience of user.
In view of this, the present invention proposes a kind of method of document typesetting, comprising: after each current page to described document sinks to the bottom operation, all record the adjustment amount of the every a line in described current page; Receive the instruction of typesetting is carried out to all or part of paragraph in described current page time, according to the adjustment amount of the described every a line recorded, remove the adjustment amount of every a line in described current page; To remove described every a line adjustment amount after described current page in all or part of paragraph carry out typesetting.
In this technical scheme, by after sinking to the bottom operation to current page at every turn, all record the adjustment amount of every a line, and receive the instruction of typesetting is carried out to all or part of paragraph in current page time, remove the adjustment amount of every a line, make when carrying out typesetting to current page, the adjustment amount of every a line during operation is sunk to the bottom before can first removing, solve in correlation technique the problem of directly carrying out typesetting owing to not having the adjustment amount removed when sinking to the bottom operation and causing typesetting entanglement, optimize the typesetting effect of the space of a whole page, it also avoid the troublesome operation that user after typesetting manually carries out adjusting simultaneously, improve the experience of user.
In technique scheme, preferably, the step that the current page of described document sinks to the bottom operation is specially: add up the line number in described current page; The adjustment amount of described every a line is calculated according to the distance between bottom the bottom of the last column in the line number in described current page and described current page and the type page of described current page; According to the adjustment amount of described every a line, each in described current page is advanced Row sum-equal matrix, align with bottom described type page to make the bottom of the last column after adjustment.
In this technical scheme, by calculating the adjustment amount of every a line according to the distance between bottom the bottom of the line number in current page and last column and type page, make after Row sum-equal matrix that each in current page is advanced, the distance in current page between row with row can be made identical, and then the attractive in appearance of current page can be guaranteed.
In technique scheme, preferably, according to the adjustment amount of described every a line, the advance step of Row sum-equal matrix of each in described current page is specially: to calculate before the row of described every a line adjustment amount after adjustment amount and row, according to adjustment amount after adjustment amount before the row of described every a line and row to each Row sum-equal matrix of advancing described according to the adjustment amount of described every a line.
In technique scheme, preferably, the advance step of Row sum-equal matrix of each in described current page is specially: when the bottom of described last column is in above bottom described type page, the adjustment amount according to described every a line carries out stretch processing to each row described; And when the bottom of described last column is in described type page bottom part down, the adjustment amount according to described every a line carries out compression process to each row described.
In this technical scheme, if the bottom of last column is in the top bottom type page, then aliging with bottom type page in the bottom in order to ensure the last column after adjustment, needs to carry out stretch processing to each row in current page; Correspondingly, if the bottom of last column is in the below bottom type page, then align with bottom type page in the bottom in order to ensure the last column after adjustment, needs to carry out compression process to each row in current page.
In technique scheme, preferably, the line number in described current page comprises: the line number in described current page except title paragraph; Every a line in described current page comprises: the every a line in described current page except title paragraph.
In this technical scheme, user, when adjusting current page, does not wish that the form of the title paragraph in current page changes usually, therefore when adjusting current page, can only to advance Row sum-equal matrix to other except title paragraph.
According to a second aspect of the invention, also proposed a kind of device of document typesetting, comprising: record cell, after operation being sunk to the bottom to the current page of described document at processing unit, all record the adjustment amount of the every a line in described current page at every turn; Described processing unit, for sinking to the bottom operation according to the instruction that sinks to the bottom received to described current page, and receive the instruction of typesetting is carried out to all or part of paragraph in described current page time, according to the adjustment amount of the described every a line recorded, remove the adjustment amount of every a line in described current page; Typesetting unit, carries out typesetting for all or part of paragraph in the described current page after the adjustment amount to the described every a line of removing.
In this technical scheme, by after sinking to the bottom operation to current page at every turn, all record the adjustment amount of every a line, and receive the instruction of typesetting is carried out to all or part of paragraph in current page time, remove the adjustment amount of every a line, make when carrying out typesetting to current page, the adjustment amount of every a line during operation is sunk to the bottom before can first removing, solve in correlation technique the problem of directly carrying out typesetting owing to not having the adjustment amount removed when sinking to the bottom operation and causing typesetting entanglement, optimize the typesetting effect of the space of a whole page, it also avoid the troublesome operation that user after typesetting manually carries out adjusting simultaneously, improve the experience of user.
In technique scheme, preferably, described processing unit comprises: statistic unit, for adding up the line number in described current page; Computing unit, for calculating the adjustment amount of described every a line according to the distance between bottom the bottom of the last column in the line number in described current page and described current page and the type page of described current page; Adjustment unit, for advancing Row sum-equal matrix to each in described current page according to the adjustment amount of described every a line, aligns with bottom described type page to make the bottom of the last column after adjustment.
In this technical scheme, by calculating the adjustment amount of every a line according to the distance between bottom the bottom of the line number in current page and last column and type page, make after Row sum-equal matrix that each in current page is advanced, the distance in current page between row with row can be made identical, and then the attractive in appearance of current page can be guaranteed.
In technique scheme, preferably, described computing unit also for: to calculate before the row of described every a line adjustment amount after adjustment amount and row according to the adjustment amount of described every a line; Described adjustment unit specifically for: according to adjustment amount before the row of described every a line and row after adjustment amount to each Row sum-equal matrix of advancing described.
In technique scheme, preferably, described adjustment unit specifically for: when the bottom of described last column is in above bottom described type page, adjustment amount according to described every a line carries out stretch processing to each row described, and when the bottom of described last column is in described type page bottom part down, the adjustment amount according to described every a line carries out compression process to each row described.
In this technical scheme, if the bottom of last column is in the top bottom type page, then aliging with bottom type page in the bottom in order to ensure the last column after adjustment, needs to carry out stretch processing to each row in current page; Correspondingly, if the bottom of last column is in the below bottom type page, then align with bottom type page in the bottom in order to ensure the last column after adjustment, needs to carry out compression process to each row in current page.
In technique scheme, preferably, the line number in described current page comprises: the line number in described current page except title paragraph; Every a line in described current page comprises: the every a line in described current page except title paragraph.
In this technical scheme, user, when adjusting current page, does not wish that the form of the title paragraph in current page changes usually, therefore when adjusting current page, can only to advance Row sum-equal matrix to other except title paragraph.
By above technical scheme, make when carrying out typesetting to current page, the adjustment amount of every a line during operation is sunk to the bottom before can first removing, solve in correlation technique the problem of directly carrying out typesetting owing to not having the adjustment amount removed when sinking to the bottom operation and causing typesetting entanglement, optimize the typesetting effect of the space of a whole page, it also avoid the troublesome operation that user after typesetting manually carries out adjusting simultaneously, improve the experience of user.
Accompanying drawing explanation
Fig. 1 shows the schematic flow diagram of the method for document typesetting according to an embodiment of the invention;
Fig. 2 shows the schematic block diagram of the device of document typesetting according to an embodiment of the invention;
Fig. 3 shows the schematic flow diagram of document processing method according to an embodiment of the invention;
Fig. 4 A show document sink to the bottom before space of a whole page schematic diagram;
Space of a whole page schematic diagram after Fig. 4 B shows and sinks to the bottom operation according to embodiments of the invention to the document shown in Fig. 4 A.
Embodiment
In order to more clearly understand above-mentioned purpose of the present invention, feature and advantage, below in conjunction with the drawings and specific embodiments, the present invention is further described in detail.It should be noted that, when not conflicting, the feature in the embodiment of the application and embodiment can combine mutually.
Set forth a lot of detail in the following description so that fully understand the present invention; but; the present invention can also adopt other to be different from other modes described here and implement, and therefore, protection scope of the present invention is not by the restriction of following public specific embodiment.
Fig. 1 shows the schematic flow diagram of the method for document typesetting according to an embodiment of the invention.
As shown in Figure 1, the method for document typesetting, comprising: step 102 according to an embodiment of the invention, after each current page to described document sinks to the bottom operation, all records the adjustment amount of the every a line in described current page; Step 104, receive the instruction of typesetting is carried out to all or part of paragraph in described current page time, according to the adjustment amount of the described every a line recorded, remove the adjustment amount of every a line in described current page; Step 106, to remove described every a line adjustment amount after described current page in all or part of paragraph carry out typesetting.
In this technical scheme, by after sinking to the bottom operation to current page at every turn, all record the adjustment amount of every a line, and receive the instruction of typesetting is carried out to all or part of paragraph in current page time, remove the adjustment amount of every a line, make when carrying out typesetting to current page, the adjustment amount of every a line during operation is sunk to the bottom before can first removing, solve in correlation technique the problem of directly carrying out typesetting owing to not having the adjustment amount removed when sinking to the bottom operation and causing typesetting entanglement, optimize the typesetting effect of the space of a whole page, it also avoid the troublesome operation that user after typesetting manually carries out adjusting simultaneously, improve the experience of user.
In technique scheme, preferably, the step that the current page of described document sinks to the bottom operation is specially: add up the line number in described current page; The adjustment amount of described every a line is calculated according to the distance between bottom the bottom of the last column in the line number in described current page and described current page and the type page of described current page; According to the adjustment amount of described every a line, each in described current page is advanced Row sum-equal matrix, align with bottom described type page to make the bottom of the last column after adjustment.
In this technical scheme, by calculating the adjustment amount of every a line according to the distance between bottom the bottom of the line number in current page and last column and type page, make after Row sum-equal matrix that each in current page is advanced, the distance in current page between row with row can be made identical, and then the attractive in appearance of current page can be guaranteed.
In technique scheme, preferably, according to the adjustment amount of described every a line, the advance step of Row sum-equal matrix of each in described current page is specially: to calculate before the row of described every a line adjustment amount after adjustment amount and row, according to adjustment amount after adjustment amount before the row of described every a line and row to each Row sum-equal matrix of advancing described according to the adjustment amount of described every a line.
In technique scheme, preferably, the advance step of Row sum-equal matrix of each in described current page is specially: when the bottom of described last column is in above bottom described type page, the adjustment amount according to described every a line carries out stretch processing to each row described; And when the bottom of described last column is in described type page bottom part down, the adjustment amount according to described every a line carries out compression process to each row described.
In this technical scheme, if the bottom of last column is in the top bottom type page, then aliging with bottom type page in the bottom in order to ensure the last column after adjustment, needs to carry out stretch processing to each row in current page; Correspondingly, if the bottom of last column is in the below bottom type page, then align with bottom type page in the bottom in order to ensure the last column after adjustment, needs to carry out compression process to each row in current page.
In technique scheme, preferably, the line number in described current page comprises: the line number in described current page except title paragraph; Every a line in described current page comprises: the every a line in described current page except title paragraph.
In this technical scheme, user, when adjusting current page, does not wish that the form of the title paragraph in current page changes usually, therefore when adjusting current page, can only to advance Row sum-equal matrix to other except title paragraph.
Fig. 2 shows the schematic block diagram of the device of document typesetting according to an embodiment of the invention.
As shown in Figure 2, the device 200 of document typesetting according to an embodiment of the invention, comprise: record cell 202, after operation being sunk to the bottom to the current page of described document at processing unit 204, all record the adjustment amount of the every a line in described current page at every turn; Described processing unit 204, for sinking to the bottom operation according to the instruction that sinks to the bottom received to described current page, and receive the instruction of typesetting is carried out to all or part of paragraph in described current page time, according to the adjustment amount of the described every a line recorded, remove the adjustment amount of every a line in described current page; Typesetting unit 206, carries out typesetting for all or part of paragraph in the described current page after the adjustment amount to the described every a line of removing.
In this technical scheme, by after sinking to the bottom operation to current page at every turn, all record the adjustment amount of every a line, and receive the instruction of typesetting is carried out to all or part of paragraph in current page time, remove the adjustment amount of every a line, make when carrying out typesetting to current page, the adjustment amount of every a line during operation is sunk to the bottom before can first removing, solve in correlation technique the problem of directly carrying out typesetting owing to not having the adjustment amount removed when sinking to the bottom operation and causing typesetting entanglement, optimize the typesetting effect of the space of a whole page, it also avoid the troublesome operation that user after typesetting manually carries out adjusting simultaneously, improve the experience of user.
In technique scheme, preferably, described processing unit 204 comprises: statistic unit 2042, for adding up the line number in described current page; Computing unit 2044, for calculating the adjustment amount of described every a line according to the distance between bottom the bottom of the last column in the line number in described current page and described current page and the type page of described current page; Adjustment unit 2046, for advancing Row sum-equal matrix to each in described current page according to the adjustment amount of described every a line, aligns with bottom described type page to make the bottom of the last column after adjustment.
In this technical scheme, by calculating the adjustment amount of every a line according to the distance between bottom the bottom of the line number in current page and last column and type page, make after Row sum-equal matrix that each in current page is advanced, the distance in current page between row with row can be made identical, and then the attractive in appearance of current page can be guaranteed.
In technique scheme, preferably, described computing unit 2044 also for: to calculate before the row of described every a line adjustment amount after adjustment amount and row according to the adjustment amount of described every a line; Described adjustment unit 2046 specifically for: according to adjustment amount before the row of described every a line and row after adjustment amount to each Row sum-equal matrix of advancing described.
In technique scheme, preferably, described adjustment unit 2046 specifically for: when the bottom of described last column is in above bottom described type page, adjustment amount according to described every a line carries out stretch processing to each row described, and when the bottom of described last column is in described type page bottom part down, the adjustment amount according to described every a line carries out compression process to each row described.
In this technical scheme, if the bottom of last column is in the top bottom type page, then aliging with bottom type page in the bottom in order to ensure the last column after adjustment, needs to carry out stretch processing to each row in current page; Correspondingly, if the bottom of last column is in the below bottom type page, then align with bottom type page in the bottom in order to ensure the last column after adjustment, needs to carry out compression process to each row in current page.
In technique scheme, preferably, the line number in described current page comprises: the line number in described current page except title paragraph; Every a line in described current page comprises: the every a line in described current page except title paragraph.
In this technical scheme, user, when adjusting current page, does not wish that the form of the title paragraph in current page changes usually, therefore when adjusting current page, can only to advance Row sum-equal matrix to other except title paragraph.
Fig. 3 shows the schematic flow diagram of document processing method according to an embodiment of the invention.
As shown in Figure 3, document processing method according to an embodiment of the invention, comprising:
Step 302, judge that needing to carry out typesetting operation to document still sinks to the bottom operation, if judge, needs carry out sinking to the bottom operation, then perform step 304; No judgement needs to carry out typesetting operation, then perform step 314.
Step 304, when judging that needs sink to the bottom operation, calculates the difference nValue between nBottom bottom the bottom nLineBottom of the last column in current page and type page.Wherein, when in the end the bottom of a line is in the top bottom type page, this difference is greater than 0, needs to stretch to each row; When in the end the bottom of a line is in the below bottom type page, this difference is less than 0, needs to compress each row.
Step 306, statistics needs the line number nCounts divided equally, and whether can comprise header line according to user's request.
Step 308, calculates the equal score value nDy of often row according to nValue and nCounts.
Step 310, passes to character block and/or paragraph and/or Row sum-equal matrix of advancing, and returns the divided dose of all row in whole paragraph by nDy.
Step 312, records the adjustment amount of every a line and/or each section respectively.
Particularly, in row, by the adjustment amount summation of a line every before m_nTopOff record, can record with m_nBottomOff the adjustment amount that m_nTopOff adds this every a line, and/or
By the adjustment amount summation of stretch every before m_nTopOff record, can record with m_nBottomOff the adjustment amount that m_nTopOff adds this paragraph in paragraph.
Step 314, when judging to need to carry out typesetting operation, removes the adjustment amount of every a line in current page.
Step 316, carries out typesetting to the current page removed after adjustment amount.
Wherein, sinking to the bottom the schematic diagram of operation to document can be as shown in Figure 4 A and 4 B shown in FIG..
As shown in Figure 4 A, before carrying out sinking to the bottom operation, in the space of a whole page bottom the bottom of last column and type page between distance be H; As shown in Figure 4 B, after carrying out sinking to the bottom operation, in the space of a whole page, align with bottom type page in the bottom of last column.
More than be described with reference to the accompanying drawings technical scheme of the present invention, the present invention proposes a kind of scheme of new document typesetting, make when carrying out typesetting to current page, the adjustment amount of every a line during operation is sunk to the bottom before can first removing, solve in correlation technique the problem of directly carrying out typesetting owing to not having the adjustment amount removed when sinking to the bottom operation and causing typesetting entanglement, optimize the typesetting effect of the space of a whole page, it also avoid the troublesome operation that user after typesetting manually carries out adjusting simultaneously, improve the experience of user.
Those skilled in the art should understand, embodiments of the invention can be provided as method, system or computer program.Therefore, the present invention can adopt the form of complete hardware embodiment, completely software implementation or the embodiment in conjunction with software and hardware aspect.And the present invention can adopt in one or more form wherein including the upper computer program implemented of computer-usable storage medium (including but not limited to magnetic disk memory, CD-ROM, optical memory etc.) of computer usable program code.
The present invention describes with reference to according to the process flow diagram of the method for the embodiment of the present invention, equipment (system) and computer program and/or block scheme.Should understand can by the combination of the flow process in each flow process in computer program instructions realization flow figure and/or block scheme and/or square frame and process flow diagram and/or block scheme and/or square frame.These computer program instructions can being provided to the processor of multi-purpose computer, special purpose computer, Embedded Processor or other programmable data processing device to produce a machine, making the instruction performed by the processor of computing machine or other programmable data processing device produce device for realizing the function of specifying in process flow diagram flow process or multiple flow process and/or block scheme square frame or multiple square frame.
These computer program instructions also can be stored in can in the computer-readable memory that works in a specific way of vectoring computer or other programmable data processing device, the instruction making to be stored in this computer-readable memory produces the manufacture comprising command device, and this command device realizes the function of specifying in process flow diagram flow process or multiple flow process and/or block scheme square frame or multiple square frame.
These computer program instructions also can be loaded in computing machine or other programmable data processing device, make on computing machine or other programmable devices, to perform sequence of operations step to produce computer implemented process, thus the instruction performed on computing machine or other programmable devices is provided for the step realizing the function of specifying in process flow diagram flow process or multiple flow process and/or block scheme square frame or multiple square frame.
Although describe the preferred embodiments of the present invention, those skilled in the art once obtain the basic creative concept of cicada, then can make other change and amendment to these embodiments.So claims are intended to be interpreted as comprising preferred embodiment and falling into all changes and the amendment of the scope of the invention.
The foregoing is only the preferred embodiments of the present invention, be not limited to the present invention, for a person skilled in the art, the present invention can have various modifications and variations.Within the spirit and principles in the present invention all, any amendment done, equivalent replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (10)

1. a method for document typesetting, is characterized in that, comprising:
After each current page to described document sinks to the bottom operation, all record the adjustment amount of the every a line in described current page;
Receive the instruction of typesetting is carried out to all or part of paragraph in described current page time, according to the adjustment amount of the described every a line recorded, remove the adjustment amount of every a line in described current page;
To remove described every a line adjustment amount after described current page in all or part of paragraph carry out typesetting.
2. the method for document typesetting according to claim 1, is characterized in that, the step current page of described document being sunk to the bottom to operation is specially:
Add up the line number in described current page;
The adjustment amount of described every a line is calculated according to the distance between bottom the bottom of the last column in the line number in described current page and described current page and the type page of described current page;
According to the adjustment amount of described every a line, each in described current page is advanced Row sum-equal matrix, align with bottom described type page to make the bottom of the last column after adjustment.
3. the method for document typesetting according to claim 2, is characterized in that, is specially the advance step of Row sum-equal matrix of each in described current page according to the adjustment amount of described every a line:
Adjustment amount and rear adjustment amount of going before calculating the row of described every a line according to the adjustment amount of described every a line, according to adjustment amount after adjustment amount before the row of described every a line and row to each Row sum-equal matrix of advancing described.
4. the method for document typesetting according to claim 2, is characterized in that, is specially the advance step of Row sum-equal matrix of each in described current page:
When the bottom of described last column is in above bottom described type page, the adjustment amount according to described every a line carries out stretch processing to each row described; And
When the bottom of described last column is in described type page bottom part down, the adjustment amount according to described every a line carries out compression process to each row described.
5. the method for the document typesetting according to any one of claim 2 to 4, is characterized in that, the line number in described current page comprises:
Line number in described current page except title paragraph;
Every a line in described current page comprises:
Every a line in described current page except title paragraph.
6. a device for document typesetting, is characterized in that, comprising:
Record cell, after sinking to the bottom operation to the current page of described document at processing unit, all records the adjustment amount of the every a line in described current page at every turn;
Described processing unit, for sinking to the bottom operation according to the instruction that sinks to the bottom received to described current page, and
Receive the instruction of typesetting is carried out to all or part of paragraph in described current page time, according to the adjustment amount of the described every a line recorded, remove the adjustment amount of every a line in described current page;
Typesetting unit, carries out typesetting for all or part of paragraph in the described current page after the adjustment amount to the described every a line of removing.
7. the device of document typesetting according to claim 6, is characterized in that, described processing unit comprises:
Statistic unit, for adding up the line number in described current page;
Computing unit, for calculating the adjustment amount of described every a line according to the distance between bottom the bottom of the last column in the line number in described current page and described current page and the type page of described current page;
Adjustment unit, for advancing Row sum-equal matrix to each in described current page according to the adjustment amount of described every a line, aligns with bottom described type page to make the bottom of the last column after adjustment.
8. the device of document typesetting according to claim 7, is characterized in that,
Described computing unit also for: to calculate before the row of described every a line adjustment amount after adjustment amount and row according to the adjustment amount of described every a line;
Described adjustment unit specifically for: according to adjustment amount before the row of described every a line and row after adjustment amount to each Row sum-equal matrix of advancing described.
9. the device of document typesetting according to claim 7, is characterized in that, described adjustment unit specifically for:
When the bottom of described last column is in above bottom described type page, the adjustment amount according to described every a line carries out stretch processing to each row described, and
When the bottom of described last column is in described type page bottom part down, the adjustment amount according to described every a line carries out compression process to each row described.
10. the device of the document typesetting according to any one of claim 7 to 9, is characterized in that, the line number in described current page comprises:
Line number in described current page except title paragraph;
Every a line in described current page comprises:
Every a line in described current page except title paragraph.
CN201410333779.9A 2014-07-14 2014-07-14 Document composition method and device Pending CN105260350A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410333779.9A CN105260350A (en) 2014-07-14 2014-07-14 Document composition method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410333779.9A CN105260350A (en) 2014-07-14 2014-07-14 Document composition method and device

Publications (1)

Publication Number Publication Date
CN105260350A true CN105260350A (en) 2016-01-20

Family

ID=55100046

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410333779.9A Pending CN105260350A (en) 2014-07-14 2014-07-14 Document composition method and device

Country Status (1)

Country Link
CN (1) CN105260350A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111967239A (en) * 2020-08-18 2020-11-20 刘伟 Method and apparatus for compensating for position loss and weight loss using official document titles

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101430677A (en) * 2008-12-08 2009-05-13 北大方正集团有限公司 Method and system for reserving document editing trace
CN102567301A (en) * 2010-12-21 2012-07-11 北大方正集团有限公司 Method and device for subfield composing

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101430677A (en) * 2008-12-08 2009-05-13 北大方正集团有限公司 Method and system for reserving document editing trace
CN102567301A (en) * 2010-12-21 2012-07-11 北大方正集团有限公司 Method and device for subfield composing

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111967239A (en) * 2020-08-18 2020-11-20 刘伟 Method and apparatus for compensating for position loss and weight loss using official document titles
CN111967239B (en) * 2020-08-18 2024-01-23 刘伟 Method and apparatus for compensating for position loss and weight loss using a portfolio title

Similar Documents

Publication Publication Date Title
CN103634650B (en) A kind of image processing method and system based on intelligent television platform
US8924888B2 (en) Dynamic data object insertion
US20140149926A1 (en) Apparatus, method and computer readable recording medium for arranging a plurality of items automatically in a canvas
CN103995738A (en) Terminal apparatus, server, browser of terminal apparatus operating system and method of operating browser
US8793572B2 (en) Positioning graphical objects within previously formatted text
CN105653284A (en) Method and device for generating scene file of android platform
CN109710121B (en) Typesetting display method capable of adapting to screen size
CN103916702A (en) Method and terminal for intercepting advertisements
CN104185088A (en) Video processing method and device
CN102736910B (en) A kind of general command interface based on plug-in unit defines method
CN113315883A (en) Method and device for adjusting video combined material
CN109660852B (en) Video preview method, storage medium, device and system before release of recorded video
CN104778252A (en) Index storage method and index storage device
CN105260350A (en) Document composition method and device
CN104822087B (en) A kind of processing method and processing device of video-frequency band
CN106998489B (en) A kind of focus is crossed the border searching method and device
CN111399962B (en) Multi-level menu display method, device and storage medium
CN103324606B (en) Composition method and composing device
CN106610830A (en) Method and device for dragging and dropping page elements
CN111290752A (en) Web table frame processing method and device
CN113011150B (en) Newspaper typesetting system and method
CN112767419A (en) Method and system for cutting nine-grid of atlas
CN110719520A (en) Video information extraction method, system and device
CN106934847B (en) Pattern generation method and device
CN107248187B (en) Method for quickly cutting and recombining three-dimensional model textures

Legal Events

Date Code Title Description
C06 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
RJ01 Rejection of invention patent application after publication

Application publication date: 20160120