CN111967228B - Editing method and device for joint textbook office mark - Google Patents

Editing method and device for joint textbook office mark Download PDF

Info

Publication number
CN111967228B
CN111967228B CN202010833035.9A CN202010833035A CN111967228B CN 111967228 B CN111967228 B CN 111967228B CN 202010833035 A CN202010833035 A CN 202010833035A CN 111967228 B CN111967228 B CN 111967228B
Authority
CN
China
Prior art keywords
joint
text box
name
upper edge
font
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.)
Active
Application number
CN202010833035.9A
Other languages
Chinese (zh)
Other versions
CN111967228A (en
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.)
Individual
Original Assignee
Individual
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 Individual filed Critical Individual
Priority to CN202010833035.9A priority Critical patent/CN111967228B/en
Publication of CN111967228A publication Critical patent/CN111967228A/en
Application granted granted Critical
Publication of CN111967228B publication Critical patent/CN111967228B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/166Editing, e.g. inserting or deleting
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/103Formatting, i.e. changing of presentation of documents
    • G06F40/106Display of layout of documents; Previewing
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/189Automatic 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

Provided is an editing method of a joint textbook office logo, comprising: d. setting and adjusting the lower edge of the font of the joint textbook office name to be level with or very close to the lower edge distance of the text box, wherein the upper edge of the font is a first preset value from the upper edge of the font to the upper edge of the edition; e. calculating the position value of the actual midpoint of the vertical position of the adjusted joint textbook organ name; f. setting an auxiliary line of the actual midpoint of the vertical position of the joint textbook office name according to the position value; g. and adjusting the first character position value of the 'file' two words to be aligned with the auxiliary line of the actual midpoint of the vertical position of the joint transmission organ name, and setting the character position of the 'file' two words with the second character position value, wherein the second character position value is equal to one half of the first character position value. Also provided is an editing device for the joint textbook office logo. The device and the method greatly improve the editing efficiency of the standard document and reduce the workload.

Description

Editing method and device for joint textbook office mark
Technical Field
The invention relates to the field of text editing and processing, in particular to an editing method and device for a joint texting organization mark.
Background
In the prior art, for example, in the process of completely and normally typesetting documents by using word processing software, in order to meet the specific regulations of GB/T9704-2012 document format (note: hereinafter referred to as "format"), including the national standard general document format and the joint document agency marks of the other 3 specific document formats "function", "command" (command) ", the common method is difficult to really and simultaneously meet the requirement that the upper edge of the font of the joint document agency mark required by the" format "is 35mm away from the upper edge of the edition center and the two words of the" file "are aligned with the joint document agency name in the vertical direction.
The applicant has found in long-term practice that it is often the case that the upper edge of the font of the joint letter organ logo is too far from the upper edge of the center of the board, for example more than 35mm, and that when trying to adjust the position of the text box to meet the distance of the upper edge of the font from the upper edge of the center of the board and the alignment of the lower edge of the text with the lower edge of the text box to meet the format requirements, such an adjustment would cause the "file" two words to be no longer aligned vertically in a systematic default manner, i.e. offset from the center position. This brings great trouble to the implementation of the requirements of the format and the regular document editing, and reduces the efficiency of document editing.
Therefore, how to improve the editing efficiency of the document, and meet the requirements of the format, and how to quickly edit the document with standard is a technical problem which needs to be solved at present.
Disclosure of Invention
In view of one or more of the above problems, according to an aspect of the present invention, there is provided a method for editing a joint textbook mark, the joint textbook mark including a name of a joint textbook and a "file" word, the method comprising the steps of:
a. determining the number N of the joint texting authorities;
b. inserting and setting a text box in a manner aligned centrally with respect to the margin and with a vertical absolute position value of a first predetermined value when the number N of joint textbooks is two;
c. the method comprises the steps of inputting the names of two united textbooks in a double-line unification mode, and inputting two words of a file behind the names of the two united textbooks;
d. setting and adjusting the lower edge of the font of the joint textbook office name to be level with or very close to the lower edge distance of the text box, wherein the upper edge of the font is a first preset value from the upper edge of the font to the upper edge of the edition;
e. calculating the position value M of the actual midpoint of the vertical position of the adjusted joint textbook organ name (Union)
Wherein D is (text) H is the distance from the text box to the page margin (text) For the height of the text box, D (on words) The distance from the upper edge of the font to the page margin;
f. according to the position value M (Union) Setting an auxiliary line of the actual midpoint of the vertical position of the joint textbook office name;
g. and adjusting the first character position value of the 'file' two words to be aligned with the auxiliary line of the actual midpoint of the vertical position of the joint transmission organ name, and setting the character position of the 'file' two words with the second character position value, wherein the second character position value is equal to one half of the first character position value.
According to another aspect of the present invention, the method for editing the joint textbook office logo further includes the step h: checking that the distance from the upper edge of the font of the joint office name to the upper edge of the board is a first preset value, and if the distance from the upper edge of the font of the joint office name to the upper edge of the board deviates from the first preset value, repeating the steps d-g until the distance from the upper edge of the font of the joint office name to the upper edge of the board is the first preset value or is close to the first preset value.
According to still another aspect of the present invention, when the number N of joint textbooks is three or more, the text box is inserted and set in such a manner that the vertical absolute position value is aligned with respect to the margin top and is a first predetermined value;
Inserting a table of 'N rows and 4 columns' in the text box;
merging the first 3 columns in each row, inputting a joint textbook organization name in each row, merging all rows in the last column, and inputting a 'file' two word;
setting and adjusting a fixed line height value to enable the lower edge of the name fonts of the combined textbook to be flush with or nearly close to the lower border line of the form;
an auxiliary line with the distance from the upper edge of the joint textbook office name font to the upper edge of the board center being a first preset value is manufactured by moving the position of the text box;
adjusting the height of the text box to ensure that a preset gap is reserved between the lower edge distance line of the text box and the lower edge frame line of the last row of cells of the table;
calculating the actual midpoint M of the central alignment of the joint textbook office name and the vertical position of the 'file' two words (Union)
Wherein D is (text) Distance D is the distance from the text box to the page margin (on words) Is the distance from the upper edge of the font to the margin, H (watch) Is the table height; g (upper fixation) For the upper margin of the text box and the first tableA white gap is reserved between frame lines on the row unit cells;
according to the position value M (Union) Setting an auxiliary line of the actual midpoint of the vertical position of the joint textbook office name;
Adjusting and setting the character position value of the 'file' two words to be aligned with the auxiliary line of the actual midpoint of the vertical position of the joint textbook office name in a centering way;
according to a further aspect of the invention, the above method is also applicable to the case where the number N of joint texting authorities is two.
According to still another aspect of the present invention, there is provided an editing apparatus for a joint texting organ flag including a name and a "file" two-word of a joint texting organ, characterized by comprising:
a first module for determining the number N of joint texting authorities;
a second module for inserting and setting a text box in a manner aligned centrally with respect to the margin and with a vertical absolute position value of a first predetermined value, when the number N of joint textbooks is two;
the third module is used for inputting the names of two united textbooks in a text box in a double-line and unification mode, and inputting a 'file' two words behind the names of the two united textbooks;
a fourth module, configured to set and adjust a font lower edge of the joint textbook office name to be flush or near to a text box lower edge distance, where a font upper edge to a board center edge is a first predetermined value;
A fifth module for calculating the position value M of the actual midpoint of the vertical position of the adjusted joint textbook name (Union)
Wherein D is (text) H is the distance from the text box to the page margin (text) For the height of the text box, D (on words) The distance from the upper edge of the font to the page margin;
a sixth module for according to the position value M (Union) Setting an auxiliary line of the actual midpoint of the vertical position of the joint textbook office name;
and a seventh module, configured to adjust a first character position value of the "file" two-word to be aligned with an auxiliary line of an actual midpoint of a vertical position of the joint transmission organ name, and set a character position of the "file" two-word with a second character position value, where the second character position value is equal to one half of the first character position value.
According to another aspect of the present invention, the editing apparatus for joint textbook office logo further includes:
an eighth module for inserting and setting a text box in such a manner that the text box is aligned with respect to the top of the margin and the value of the vertical absolute position is a first predetermined value when the number N of joint textbooks is three or more;
a ninth module, configured to insert a table of "N rows and 4 columns" in the text box;
a tenth module, configured to combine the first 3 columns in each row, input a joint textbook organization name in each row, combine all rows in the last column, and input a "file" two word;
The eleventh module is used for setting and adjusting the fixed line height value to enable the lower edge of the name font of the joint textbook to be flush or nearly close to the lower border line of the form;
a twelfth module, configured to make an auxiliary line with a distance from the upper edge of the joint text organ name font to the upper edge of the board center being a first predetermined value by moving the text box;
a thirteenth module, configured to adjust the height of the text box, so that a predetermined gap is reserved between the lower edge distance line of the text box and the lower edge frame line of the last row of cells of the table;
fourteenth module for calculating the actual midpoint M of the center alignment of the joint textbook office name and the vertical position of the "file (Union)
Wherein D is (text) Distance D is the distance from the text box to the page margin (on words) Is the distance from the upper edge of the font to the margin, H (watch) Is the table height; g (upper fixation) A white gap is reserved between the upper edge distance of the text box and the upper frame line of the first row of cells of the table;
fifteenth module for according to the position value M (Union) Setting an auxiliary line of the actual midpoint of the vertical position of the joint textbook office name;
a sixteenth module for adjusting and setting the character position value of the "file" two-word to be aligned centrally with the auxiliary line of the actual midpoint of the vertical position of the joint textbook office name;
According to a further aspect of the invention, the above-described device is also applicable to the case where the number N of joint texting authorities is two.
The beneficial effects of the invention are as follows: (1) The distance from the upper edge of the font of the joint textbook office mark to the upper edge of the board center can really reach a first preset value, and the requirements of format are met; (2) Meanwhile, the two words of the file can be aligned in the middle of the vertical position relative to the name of the joint textbook office; (3) The editing efficiency of the standard document is greatly improved, and the workload is reduced.
Drawings
FIG. 1 is a schematic diagram of a text box for inserting and setting an editing method of a joint textbook office logo according to a preferred embodiment of the present invention;
FIG. 2 is a schematic diagram of the method for editing joint textbook marks according to a preferred embodiment of the present invention, inputting the names of two joint textbooks and a "file" two-word;
FIG. 3 is a schematic diagram showing the setting and adjustment of the positions of the upper and lower edges of fonts of the joint office name according to an editing method of joint office logo according to a preferred embodiment of the present invention;
FIG. 4 is a schematic diagram of auxiliary lines of the actual midpoint setting of the method for editing the joint textbook office logo according to a preferred embodiment of the present invention;
FIG. 5 is a schematic illustration of the adjustment and setting of the character position values of the "File" two-word to be centered with the auxiliary line of the actual midpoint in accordance with the editing method of the joint textbook office sign of a preferred embodiment of the present invention;
FIG. 6 is a schematic diagram of a method of editing joint letter organ flags to check the distance of the upper edge of fonts of joint letter organ names to the upper edge of the board according to a preferred embodiment of the present invention;
FIG. 7 is a schematic illustration of inserting an "N rows and 4 columns" form in a text box in accordance with yet another preferred embodiment of the present invention in combination with a method of editing a textbook office logo;
FIG. 8 is a schematic diagram of a merge cell entry of a joint textbook office name and a "file" two word for a method of editing a joint textbook office logo according to yet another preferred embodiment of the present invention;
FIG. 9 is a schematic illustration of setting and adjusting a fixed line height value to bring the lower edge of the joint office name font flush or very close to the form lower border line in accordance with yet another preferred embodiment of the present invention;
FIG. 10 is a schematic diagram of an editing method of a joint letter organ logo according to still another preferred embodiment of the present invention, making an auxiliary line of "a distance to a center edge is a first predetermined value" and moving a text box position so that a joint letter organ name font upper edge coincides with the auxiliary line;
FIG. 11 is a schematic diagram showing a method for editing a joint textbook office logo according to another preferred embodiment of the present invention, wherein the height of a text box is adjusted so that a predetermined gap (white gap) is reserved between the lower edge margin line of the text box and the lower edge margin line of the last row of cells of a form;
FIG. 12 is a schematic diagram of an auxiliary line actually taken at the vertical position of the name of the associated issuing authority according to the editing method of the associated issuing authority mark according to still another preferred embodiment of the present invention;
FIG. 13 is a schematic illustration of the adjustment and setting of the character position values of the "File" two-word to be centered with the auxiliary line of the actual midpoint in accordance with yet another preferred embodiment of the present invention in combination with the editing method of the text authority logo;
FIG. 14 is a parameter D according to yet another preferred embodiment of the present invention (text) 、D (on words) And H (watch) Is a schematic diagram of (a).
Detailed Description
The present invention is described in its best mode by the following preferred embodiments with reference to the accompanying drawings, and the detailed description herein is to be construed as limiting the invention, since various changes and modifications can be made without departing from the spirit and scope of the invention.
Example 1
According to a preferred embodiment of the present invention, there is provided a method for editing a joint textbook mark including a name of a joint textbook and a "file" two word, characterized by comprising the steps of:
a. the number N of joint texting authorities is determined.
b. Referring to fig. 1, when the number N of joint textbooks is two, a text box is inserted and set in such a manner that the vertical absolute position value is aligned with respect to the margin center and the vertical absolute position value is a first predetermined value.
c. Referring to fig. 2, the names of two joint textbooks are input in a text box in a "double-line-in-one" manner, and a "file" two word is input behind the names of the two joint textbooks. At this time, the "file" two words are aligned centered with respect to the center line 11 of the text box, but the upper edge of the letter "xxxxx" is distant from the upper edge of the text box, i.e., a distance from the center margin (i.e., center edge) of the plate is greater than, for example, 35mm. The lower edge of the text box is far from the lower edge of the font "XXXXXX".
d. Referring to fig. 3, the font lower edge of the joint letter organ name is set and adjusted to be flush or very close to the text box lower edge, and the font upper edge to the upper edge of the board is a first predetermined value, for example, 35mm. For example, an auxiliary line 12 may be provided at a first predetermined value from the upper edge of the board so that the upper edge of the font is aligned with the auxiliary line 12. For example, the font lower edge of the joint textbook office name is specifically the "XXXXXXXX" lower edge.
e. Calculating the position value M of the actual midpoint of the vertical position of the adjusted joint textbook organ name (Union)
Wherein, as shown in FIG. 6, D (text) H is the distance from the text box to the page margin (text) For the height of the text box, D (on words) The distance from the upper edge of the font to the page margin;
f. referring to FIG. 4, according to the position value M (Union) An auxiliary line 13 of the actual midpoint of the vertical position of the joint textbook office name is arranged;
g. referring to fig. 5, the first character position value of the "file" two-word is adjusted to be aligned centered with the auxiliary line 13 at the actual midpoint of the vertical position of the joint transmission organ name, and the character position of the "file" two-word is set with the second character position value, which is equal to one-half of the first character position value.
It can be understood that the "double-line-in-one" is an existing function in word processing software, and the "file" two-word is a common input mode, i.e. a non- "double-line-in-one" input. "very close" is understood to mean substantially flush.
Preferably, the first predetermined value is 35mm, for example, but the invention is not limited thereto, and the first predetermined value can be adjusted according to different specification requirements for different documents.
Preferably, steps a-g can be implemented substantially simultaneously with a font top edge of the joint letter name being 35mm from the center margin (i.e. the center edge), and with the "file" two words aligned centrally in the vertical direction with the joint letter name.
According to another preferred embodiment of the present invention, the method for editing a joint textbook office logo further includes the step of h: referring to fig. 6, it is checked that a distance from a font upper edge to a center edge of the joint letter organ name is a first predetermined value, wherein the distance from the font upper edge to the center edge is the first predetermined value.
Furthermore, the upper edge of the font may still deviate slightly from the first predetermined value, e.g. 35mm, after the adjustment of steps a-g. If the distance from the upper edge of the font of the joint office name to the upper edge of the board is deviated from the first preset value, repeating the steps d-g until the distance from the upper edge of the font of the joint office name to the upper edge of the board is the first preset value or is close to the first preset value.
According to still another preferred embodiment of the present invention, when the number N of joint texting authorities is three or more, the text box is inserted and set in such a manner that it is aligned with respect to the top of the margin and the vertical absolute position value is a first predetermined value.
Referring to fig. 7, a table of "N rows and 4 columns" is inserted in the text box.
Referring to fig. 8, the first 3 columns in each row are merged, one joint textbook authority name is input for each row, all rows of the last column are merged, and a "file" two word is input.
Referring to fig. 9, the fixed line height value is set and adjusted so that the joint letter designations font lower edge is flush or very close to the form lower border line.
Referring to fig. 10, an auxiliary line 12 is made of a "first predetermined value from the edge of the center" such that the distance from the upper edge of the joint office name font to the edge of the center is the first predetermined value by moving the text box position.
Referring to fig. 11, the text box height is adjusted such that a predetermined gap remains between the text box bottom edge line and the last row of cell bottom edge line of the form.
Calculating the actual midpoint M of the central alignment of the joint textbook office name and the vertical position of the 'file' two words (Union)
Wherein, as shown in FIG. 14, D (text) Distance D is the distance from the text box to the page margin (on words) For the distance of the upper edge of the font to the margin,H (watch) Is the table height; g (upper fixation) A white space is inherently left between the top margin of the text box and the border line on the first row of cells of the table. Specifically, the inherent white space is a constant value set by the word system, typically 0.15mm.
Referring to FIG. 12, according to the position value M (Union) An auxiliary line 13 is provided which joins the actual midpoint of the vertical position of the office name.
Referring to fig. 13, the character position value of the "file" doubleword is adjusted and set to be centered with the auxiliary line 13 at the actual midpoint of the vertical position of the joint letter organ name.
Preferably, the method adopted when the number N of joint texting authorities is three or more is also applicable to the case where the number N of joint texting authorities is two.
According to still another preferred embodiment of the present invention, there is also provided an editing apparatus for a joint office logo including a name of a joint office and a "file" two word, characterized by comprising:
a first module for determining the number N of joint texting authorities;
a second module for inserting and setting a text box in a manner aligned centrally with respect to the margin and with a vertical absolute position value of a first predetermined value, when the number N of joint textbooks is two;
the third module is used for inputting the names of two united textbooks in a text box in a double-line and unification mode, and inputting a 'file' two words behind the names of the two united textbooks;
a fourth module, configured to set and adjust a font lower edge of the joint textbook office name to be flush or near to a text box lower edge distance, where a font upper edge to a board center edge is a first predetermined value;
a fifth module for calculating the position value M of the actual midpoint of the vertical position of the adjusted joint textbook name (Union)
Wherein, as shown in FIG. 6, D (text) H is the distance from the text box to the page margin (text) For the height of the text box, D (on words) The distance from the upper edge of the font to the page margin;
a sixth module for according to the position value M (Union) Setting an auxiliary line of the actual midpoint of the vertical position of the joint textbook office name;
and a seventh module, configured to adjust a first character position value of the "file" two-word to be aligned with an auxiliary line of an actual midpoint of a vertical position of the joint transmission organ name, and set a character position of the "file" two-word with a second character position value, where the second character position value is equal to one half of the first character position value.
According to another preferred embodiment of the present invention, the editing apparatus for joint textbook office logo further includes:
an eighth module for inserting and setting a text box in such a manner that the text box is aligned with respect to the top of the margin and the value of the vertical absolute position is a first predetermined value when the number N of joint textbooks is three or more;
a ninth module, configured to insert a table of "N rows and 4 columns" in the text box;
a tenth module, configured to combine the first 3 columns in each row, input a joint textbook organization name in each row, combine all rows in the last column, and input a "file" two word;
The eleventh module is used for setting and adjusting the fixed line height value to enable the lower edge of the name font of the joint textbook to be flush or nearly close to the lower border line of the form;
a twelfth module, configured to make an auxiliary line with a distance from the upper edge of the joint text organ name font to the upper edge of the board center being a first predetermined value by moving the text box;
a thirteenth module, configured to adjust the height of the text box, so that a predetermined gap is reserved between the lower edge distance line of the text box and the lower edge frame line of the last row of cells of the table;
fourteenth module for calculating the actual midpoint M of the center alignment of the joint textbook office name and the vertical position of the "file (Union)
Wherein, as shown in FIG. 14, D (text) Distance D is the distance from the text box to the page margin (on words) Is the distance from the upper edge of the font to the margin, H (watch) Is the table height; g (upper fixation) A white gap is reserved between the upper edge distance of the text box and the upper frame line of the first row of cells of the table;
fifteenth module for according to the position value M (Union) Setting an auxiliary line of the actual midpoint of the vertical position of the joint textbook office name;
a sixteenth module for adjusting and setting the character position value of the "file" two-word to be centered with the auxiliary line of the actual midpoint of the vertical position of the joint textbook office name.
Preferably, the device used when the number N of joint texting authorities is three or more is also applicable to the case when the number N of joint texting authorities is two.
The beneficial effects of the invention are as follows: (1) The distance from the upper edge of the font of the joint textbook office mark to the upper edge of the board center can really reach a first preset value, and the requirements of format are met; (2) Meanwhile, the two words of the file can be aligned in the middle of the vertical position relative to the name of the joint textbook office; (3) The editing efficiency of the standard document is greatly improved, and the workload is reduced.
Example 2
The preferred embodiments of the present invention are further illustrated below on the basis of example 1, the contents of which example 2 can be combined with example 1 to create new embodiments.
According to a further preferred embodiment of the invention, the "double-line-in-one" function is limited to two joint texting authorities, with the following steps to achieve the object.
1.1 inserting and setting text boxes. In the form size meeting the requirement of the format, a text box is inserted and is provided with the following functions through a Word function: setting a text surrounding mode of lining under the text, a moving mode of fixing on the page, centering alignment relative to the margin and vertical absolute position value of 35mm, and text box width of 156mm, setting text boxes to be free of filling, free of lines and free of frames, and vertically centering alignment and horizontal content, wherein the text boxes are as shown in figure 1 after completion.
1.2 inserting a double-line-in-one character input box and inputting two united letter organ names and two file words. Inserting a double-line and unification character input box, inputting two joint letter organ names and achieving the consistency of the character numbers of the two joint letter organ names, and inputting two characters of a file in one space after the joint letter organ names, and continuing to input the first space after the joint letter organ names are finished (see figure 2). At this time, under the original setting of the system, the two words of the "file" are automatically aligned in the middle relative to the vertical positions of the two joint textbook office names, and in the horizontal position in the space where the two words of the "file" are located, that is, aligned with the center line 11 of the text box as a reference.
1.3 setting the name of the joint textbook office and the two words of the file. The Word function is provided with: fonts, font sizes, colors, character spacing, and horizontal position alignment of the office logo.
1.4 As shown in FIG. 3, the lower edge of the font of the joint textbook office logo is adjusted to be level or very close to the lower edge of the text box, and the upper edge of the font is adjusted to be 35mm from the upper edge of the font to the upper edge of the board. The height of the text box is adjusted so that the lower edge of the font of the joint texting organ mark is level with or very close to the lower edge distance of the text box, such as dragging the lower edge distance line of the text box upwards. Continuing to make a position identification auxiliary line 12 with the upper edge of 35mm to the center, the position of the text box is moved to enable the upper edge of the joint textbook office logo font to be 35mm to the upper edge of the center. Note that in this step, the word heights of the different words may differ slightly, and the upper edge of the highest word in the overall middle line must be used as the upper edge of the overall letter organ flag font, and the lower edge of the lowest word in the overall middle line must be used as the lower edge of the overall letter organ flag font.
1.5 adjusting the vertical position of the "File" two words relative to the joint textbook office name centering. As shown in fig. 3, after the upper edge of the font of the joint textbook office logo is 35mm from the upper edge of the font to the upper edge of the board, and the lower edge of the font is flush or very close to the lower edge of the text box, the "file" two words are no longer automatically aligned centrally relative to the vertical positions of the two joint textbook office names due to the change of the upper and lower edges of the original set inherent fonts of the system.
In particular, by comparing fig. 3 and fig. 2, it can be seen intuitively:
(1) In fig. 3, after the lower edge of the "two-line-in-one" joint-issuing authority name font is extremely compressed and the upper edge of the joint-issuing authority name font is shifted in position, the actual midpoint of the original vertical position of the "file" two-word with respect to the joint-issuing authority name (i.e., the center line 11 of the text box) deviates from the position below the joint-issuing authority logo text box (center line 11). However, because the text box is deformed, the correct midpoint of the vertical position centering alignment of the joint textbook name at present cannot be displayed or positioned in a direct mode, and the applicant can calculate and determine the correct midpoint through the following modes after long-term research;
(2) Referring to fig. 2, under the original setting of the system, the actual midpoint of the two words of the "file" aligned automatically with respect to the vertical positions of the two joint textbook names is the upper endpoint of the second horizontal "note" of the "piece" word of the "file" two words;
(3) In the 'double-line-in-one' joint textbook office mark, the joint textbook office name and the 'file' are linked. That is, the character position of the joint office name, if adjusted, also affects the centering of the "file" two words relative to the vertical position of the joint office name. Similarly, after the character position of the "file" two-word rises or falls, the situation of the central alignment of the joint office name relative to the vertical position of the "file" two-word is acted on in turn.
1.6, calculating the concrete value of the actual midpoint of the vertical position of the joint textbook organ name after the lower edge of the font is extremely compressed. To correctly calculate the specific value of the actual midpoint of the vertical position of the joint letter name after the lower edge of the font is extremely compressed, the auxiliary line 12 which is previously manufactured because of the positioning requirement of '35 mm to the upper edge of the font' can be used, and the formula is as follows:
wherein: m is M (Union) Actual midpoint of vertical position of combined textbook name
D (text) Distance of text box to margin
H (text) Text box height after accurate position adjustment
D (on words) Distance of font upper edge (auxiliary line) to margin
See FIG. 4, e.g., D in this example (text) =28.82mm,H (text) =32.07mm,D (on words) It can be regarded as a constant, i.e. equal to 35mm. Substituting the obtained data into the formula, M is the (Union) ≈47.95mm。
1.7 an auxiliary line 13 is set for the actual midpoint of the vertical position of the joint textbook office name. An auxiliary line is set into the "layout" dialog box, the value of the vertical absolute position relative to the margin being 47.95mm, i.e. the auxiliary line 13 (see fig. 4) at the actual midpoint of the vertical position of the joint textbook office name.
1.8 setting the initial character position rising value of the two-word "file". And (3) comparing the deviation condition of the upper end point of the second horizontal lifting of the second part of the file with the actual middle auxiliary line in the vertical position of the current joint textbook organization name, and adjusting the ascending value or the descending value of the character position of the file. For example, in this example, the character position rising value of the "file" two words needs to be adjusted, and after multiple times of debugging, when the character position rising value is set to 2.5mm (the first character position value), the upper end point of the second horizontal "lifting" of the "piece" of the "file" two words rises to be level with the auxiliary line 13 of the actual midpoint of the vertical position of the current joint office name.
However, due to the linkage between the joint textbook office name and the "file" two words. That is, after the character position rising value of the two words of the file is set, the text box of the combined two-line and one-up text issuing organization mark must be deformed again, so that the value is discounted here. Entering the second item "character spacing" tab of the "font" dialog box, the "position (P)" drop-down list selects "up" and fills in a value of 1.25mm in the "value" input box (second character position value, see fig. 5).
According to a further preferred embodiment of the invention, the method may further comprise the step of: 1.9 checking the linkage condition of the name of the 'double-line-in-one' joint textbook. According to the analysis of the linkage between the joint textbook name and the two words of the file in the joint textbook mark in the double-line joint textbook mark in the 1.5, after the character position of the two words of the file in the example rises, the character position of the second joint textbook name is slightly lowered, and the lower edge of the extremely compressed font is slightly deviated from a state of being level with or extremely close to the lower edge distance line of the text box. Referring to the auxiliary line 12, as shown in fig. 6, it can be seen that the character position of the first joint letter designation also drops, with the upper edge of the font partially leaving or no longer very close to the "35 mm" auxiliary line 12 to the upper edge of the board.
According to a further preferred embodiment of the invention, the method may further comprise the step of: 1.10 readjusting the upper edge of the font of the joint textbook office logo to the upper edge of the board center to be 35mm, and the lower edge of the font is flush or very close to the lower edge of the text box. As described in 1.4, the text box height is adjusted again so that the joint texting organ logo font lower edge is flush or very close to the text box lower edge distance, such as dragging the text box lower edge distance line downward. The text box position is moved again so that the upper edge of the joint textbook mark font to the upper edge of the board center is 35mm.
1.11 again adjust "to 35mm edge on center" auxiliary line to the actual midpoint of the recalculated joint letter organ name vertical position. Again, the concrete value of the actual midpoint of the vertical position of the joint textbook office name is calculated in the same way as in step 1.6. For example, there is D (text) =28.19mm,H (text) =32.65mm,D (on words) It can be regarded as a constant, i.e. equal to 35mm. Substituting the obtained data into the formula has M (Union) =47.92 mm, and M is calculated again as in step 1.7 (Union) An auxiliary line 13 is counted and provided.
Then, as the upper end point of the second horizontal bar of the second word of the document is flush or nearly close to the auxiliary line 13 of the actual middle point of the vertical position of the current joint office name, the whole adjustment process can be stopped.
According to a further preferred embodiment of the invention, steps 1.8 and 1.9 can be continued again if the upper end point of the second horizontal "lift" of the "file" two-word "is not flush or very close thereto, with reference to the auxiliary line 13 corresponding to the actual midpoint of the vertical position of the joint letter name. And the method is repeated in a circulating way until the upper end point of the second horizontal lifting of the second part of the file is flush with or nearly close to the auxiliary line of the actual midpoint of the vertical position of the current joint office name.
In the "two-line-in-one" joint letter designation, it is sufficient to have 4 differentiation processes for the vertical alignment of the "file" two words with respect to the joint letter designation (note: include two compromise values therein, e.g., the objective is achieved by cycling through less than 2 differentiation in this example). At this time, a slight difference may not be perceived unless the display scale is set to continue to be enlarged, for example, to 1000%, i.e., the high-precision split drawing grid unit reaches 1 μm. However, this is far beyond the range of visibility of a person's vision under normal conditions, so continued differentiation is not of practical significance, and the entire differentiation process can be terminated.
And finally, finishing ending work such as deleting the auxiliary line and the like.
According to a further preferred embodiment of the present invention, the "multiple line unification" using form making is applicable to two or more joint textbooks, with the following steps to achieve the object.
2.1 inserting and setting text boxes. The text box is inserted and set as in 1.1, except that the vertical alignment of the text box content is modified to top alignment, and the rest is unchanged.
2.2 insert a "multiple line unification" table. According to N joint texting authorities, a table of 'N rows and 4 columns' is inserted. Setting a 'display virtual frame' through a Word function, calling out a 'form attribute' to perform form related setting, wherein the method comprises the following steps:
(1) Designating the value 156mm of the width of the table, and making the value equal to the width of the plate center;
(2) Setting the centering alignment of the table relative to the plate center, centering the vertical positions of the cells, and horizontally centering the characters in the table;
(3) Setting a table without a frame line, and canceling the influence (namely setting 0) caused by the table frame line width, the default frame margin and the default cell margin;
(4) After the adjustment, the width of each cell is slightly changed, and the table is "evenly distributed for each column".
After this is done, as shown in fig. 7.
2.3 merging the related columns and rows, and inputting the name of the joint textbook office and the two words of the file. The first 3 columns in each row are combined, so that the width ratio of the row where the joint textbook office name is located to the row where the 'file' two words are located is kept 3:1, and the rows are scattered and aligned after the joint textbook office name is entered. And merging all rows in the last column to only accommodate the two words of the file and complete the input. The effect after completion is shown in FIG. 8 via the 2.2 setting.
2.4 setting the name of the joint textbook office and the two words of the file. The Word function is provided with: the font, font size, color, character spacing, and finally checking that the text box height is greater than the form height and increases if necessary.
2.5 As shown in FIG. 9, the fixed line height value is set such that the lower edge of the joint office logo font is flush or nearly adjacent to the form lower border line. By setting the fixed line height of the table, the lower edge of the joint office logo font is adjusted to be level or very close to the lower border line of the table, such as 14.4mm in the example. Note that in this step, the word heights of the different words may differ slightly, and the lower edge of the lowest word in the whole must be used as the lower edge of the whole letter organ logo font.
2.6 referring to fig. 10, the form position is moved so that the joint letter organ logo font upper edge to the upper edge of the board is 35mm. A position mark auxiliary line 12 with the upper edge of 35mm to the center is manufactured, and the position of the text box is moved to enable the upper edge of the combined text and organ mark font to be 35mm to the upper edge of the center. Also, during this step, it should be noted that there is a slight difference in the word height of the different words, and the upper edge of the highest word in the overall first line must be used as the upper edge of the overall letter organ logo font.
2.7 referring to fig. 11, the position between the text box lower margin line and the last row of cell lower margin line of the table is adjusted. The height of the text box is adjusted to ensure that the inherent white clearance with the same numerical value between the lower margin line of the text box and the lower border line of the last row of cells of the table is reserved only between the upper margin line of the text box and the upper border line of the first row of cells of the table, and the inherent white clearance can be approximately regarded as a general constant value of about 0.15mm, thereby being beneficial to the arrangement of subsequent elements. For example, there are 14.4mm×5+0.15mm×2=72.3 mm in this example, i.e., 5 rows plus the upper and lower inherent white gaps.
2.8 table "multiple line unification" joint textbook office name and "file" two word vertical position centered aligned actual midpoint calculation and setting. Unlike the "two-line-in-one" joint-textbook mark in 1.6, because in the form "two-line-in-one" joint-textbook mark, the "file" two-word system is actually centered in the form relative to the vertical position of the joint-textbook name, the formula changes to:
The connection is as follows: h (watch) Table height =table height
G (upper fixation) Intrinsic white space between text box top margin and frame line on first row cell of table
In this example, D (text) =29.65 mm, and D (on words) Can be regarded as a constant, i.e. 35mm, furthermore H (watch) =14.4 mm×5=72 mm, also G (upper fixation) The value is 0.15mm. Substituting the obtained data into the formula, M is the (Union) =68.4mm. Then, an auxiliary line 13 corresponding to the actual midpoint of the vertical position of the joint textbook office name is set in 1.7, and after the setting is completed, the auxiliary line is shown in fig. 12.
2.9 setting the character position drop value of the "file" two words. In the same way as 1.8, the upper end point of the second horizontal lifting of the second part of the second character of the file is compared with the deviation situation of the auxiliary line 13 in the actual middle point of the vertical position of the current joint office name, and the ascending value or the descending value of the character position of the second character of the file is adjusted. For example, in this example, the character position drop value of the "file" two-word needs to be adjusted.
Entering the second item of the "character spacing" tab of the "font" dialog box, and after the "position (P)" drop-down list selects "drop-down", filling in the debugged numerical value of 23mm in the "value" input box. The upper end point of the second horizontal hand of the second word of the "file" is then flush with or very close to the auxiliary line of the actual midpoint of the vertical position of the joint textbook office name (see fig. 13).
According to another preferred embodiment of the present invention, since the form "multiple-line-in-one" joint texting organ flag is not linked with the "file" two-word, the adjustment process of the actual midpoint of the entire "in-one" relative to the "multiple-line" vertical position can be terminated. Finally, finishing the ending work of canceling the form to display the virtual frame, setting the form without filling, deleting auxiliary lines and the like.
The beneficial effects of the invention are as follows: (1) The distance from the upper edge of the font of the joint textbook office mark to the upper edge of the board center can really reach a first preset value, and the requirements of format are met; (2) Meanwhile, the two words of the file can be aligned in the middle of the vertical position relative to the name of the joint textbook office; (3) The editing efficiency of the standard document is greatly improved, and the workload is reduced.
The foregoing description of the preferred embodiments of the invention is not intended to be limiting, but rather is intended to cover all modifications, equivalents, and alternatives falling within the spirit and principles of the invention.

Claims (3)

1. A method for improving the editing efficiency of a joint textbook mark, the joint textbook mark comprising a name of a joint textbook and a "file" word, characterized by comprising the steps of:
a. Determining the number N of the joint texting authorities;
b. inserting and setting a text box in a manner aligned centrally with respect to the margin and with a vertical absolute position value of a first predetermined value when the number N of joint textbooks is two;
c. the method comprises the steps of inputting the names of two united textbooks in a double-line unification mode, and inputting two words of a file behind the names of the two united textbooks;
d. setting and adjusting the lower edge of the font of the joint textbook office name to be level with or very close to the lower edge distance of the text box, wherein the upper edge of the font is a first preset value from the upper edge of the font to the upper edge of the edition;
e. calculating the position value M of the actual midpoint of the vertical position of the adjusted joint textbook organ name (Union)
Wherein D is (text) H is the distance from the text box to the page margin (text) For the height of the text box, D (on words) The distance from the upper edge of the font to the page margin;
f. according to the position value M (Union) Setting an auxiliary line of the actual midpoint of the vertical position of the joint textbook office name;
g. adjusting a first character position value of the 'file' two words to be aligned with an auxiliary line of an actual midpoint of a vertical position of the joint transmission organ name in a centering manner, and setting a character position of the 'file' two words with a second character position value which is equal to one half of the first character position value;
Wherein when the number N of joint texting authorities is three or more, inserting and setting the text box in such a manner that the vertical absolute position value is aligned with respect to the margin top and is a first predetermined value;
inserting a table of 'N rows and 4 columns' in the text box;
merging the first 3 columns in each row, inputting a joint textbook organization name in each row, merging all rows in the last column, and inputting a 'file' two word;
setting and adjusting a fixed line height value to enable the lower edge of the name fonts of the combined textbook to be flush with or nearly close to the lower border line of the form;
an auxiliary line with the distance from the upper edge of the joint textbook office name font to the upper edge of the board center being a first preset value is manufactured by moving the position of the text box;
adjusting the height of the text box to ensure that a preset gap is reserved between the lower edge distance line of the text box and the lower edge frame line of the last row of cells of the table;
calculating the actual midpoint M of the central alignment of the joint textbook office name and the vertical position of the 'file' two words (Union)
Wherein D is (text) Distance D is the distance from the text box to the page margin (on words) Is the distance from the upper edge of the font to the margin, H (watch) Is the table height; g (upper fixation) A white gap is reserved between the upper edge distance of the text box and the upper frame line of the first row of cells of the table;
according to the position value M (Union) Setting an auxiliary line of the actual midpoint of the vertical position of the joint textbook office name;
the character position value of the "file" two-word is adjusted and set to be centered with the auxiliary line of the actual midpoint of the vertical position of the joint textbook office name.
2. The method according to claim 1, further comprising the step h of: checking that the distance from the upper edge of the font of the joint office name to the upper edge of the board is a first preset value, and if the distance from the upper edge of the font of the joint office name to the upper edge of the board deviates from the first preset value, repeating the steps d-g until the distance from the upper edge of the font of the joint office name to the upper edge of the board is the first preset value or is close to the first preset value.
3. A device for improving the editing efficiency of a joint textbook mark comprising a name and a "file" of a joint textbook, comprising:
a first module for determining the number N of joint texting authorities;
a second module for inserting and setting a text box in a manner aligned centrally with respect to the margin and with a vertical absolute position value of a first predetermined value, when the number N of joint textbooks is two;
The third module is used for inputting the names of two united textbooks in a text box in a double-line and unification mode, and inputting a 'file' two words behind the names of the two united textbooks;
a fourth module, configured to set and adjust a font lower edge of the joint textbook office name to be flush or near to a text box lower edge distance, where a font upper edge to a board center edge is a first predetermined value;
a fifth module for calculating the position value M of the actual midpoint of the vertical position of the adjusted joint textbook name (Union)
Wherein D is (text) H is the distance from the text box to the page margin (text) For the height of the text box, D (on words) The distance from the upper edge of the font to the page margin;
a sixth module for according to the position value M (Union) Setting an auxiliary line of the actual midpoint of the vertical position of the joint textbook office name;
a seventh module, configured to adjust a first character position value of the "file" two-word to be aligned with an auxiliary line of an actual midpoint of a vertical position of the joint transmission organ name, and set a character position of the "file" two-word with a second character position value, where the second character position value is equal to one half of the first character position value;
an eighth module for inserting and setting a text box in such a manner that the text box is aligned with respect to the top of the margin and the value of the vertical absolute position is a first predetermined value when the number N of joint textbooks is three or more;
A ninth module, configured to insert a table of "N rows and 4 columns" in the text box;
a tenth module, configured to combine the first 3 columns in each row, input a joint textbook organization name in each row, combine all rows in the last column, and input a "file" two word;
the eleventh module is used for setting and adjusting the fixed line height value to enable the lower edge of the name font of the joint textbook to be flush or nearly close to the lower border line of the form;
a twelfth module, configured to make an auxiliary line with a distance from the upper edge of the joint text organ name font to the upper edge of the board center being a first predetermined value by moving the text box;
a thirteenth module, configured to adjust the height of the text box, so that a predetermined gap is reserved between the lower edge distance line of the text box and the lower edge frame line of the last row of cells of the table;
fourteenth module for calculating the actual midpoint M of the center alignment of the joint textbook office name and the vertical position of the "file (Union)
Wherein D is (text) Distance D is the distance from the text box to the page margin (on words) Is the distance from the upper edge of the font to the margin, H (watch) Is the table height; g (upper fixation) A white gap is reserved between the upper edge distance of the text box and the upper frame line of the first row of cells of the table;
Fifteenth module for according to the position value M (Union) Setting an auxiliary line of the actual midpoint of the vertical position of the joint textbook office name;
a sixteenth module for adjusting and setting the character position value of the "file" two-word to be centered with the auxiliary line of the actual midpoint of the vertical position of the joint textbook office name.
CN202010833035.9A 2020-08-18 2020-08-18 Editing method and device for joint textbook office mark Active CN111967228B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010833035.9A CN111967228B (en) 2020-08-18 2020-08-18 Editing method and device for joint textbook office mark

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010833035.9A CN111967228B (en) 2020-08-18 2020-08-18 Editing method and device for joint textbook office mark

Publications (2)

Publication Number Publication Date
CN111967228A CN111967228A (en) 2020-11-20
CN111967228B true CN111967228B (en) 2024-01-23

Family

ID=73389579

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010833035.9A Active CN111967228B (en) 2020-08-18 2020-08-18 Editing method and device for joint textbook office mark

Country Status (1)

Country Link
CN (1) CN111967228B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE893145C (en) * 1950-06-08 1953-10-12 Intertype Corp Matrices for photocomposing machines
EP0660248A2 (en) * 1993-12-27 1995-06-28 Brother Kogyo Kabushiki Kaisha Word processor
CN101295290A (en) * 2008-06-11 2008-10-29 北大方正集团有限公司 Method for multi-row words layout in row
CN102065227A (en) * 2009-11-17 2011-05-18 新奥特(北京)视频技术有限公司 Method and device for horizontally and vertically aligning object in graph and image processing
CN103034624A (en) * 2011-09-29 2013-04-10 北京大学 Method and system for accurately positioning page object

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101470698B (en) * 2007-12-26 2011-03-16 北京大学 Layout method and corresponding system for symbol of sending organizations
CN102567303A (en) * 2010-12-24 2012-07-11 北京大学 Typesetting method and device for variable official document data

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE893145C (en) * 1950-06-08 1953-10-12 Intertype Corp Matrices for photocomposing machines
EP0660248A2 (en) * 1993-12-27 1995-06-28 Brother Kogyo Kabushiki Kaisha Word processor
CN101295290A (en) * 2008-06-11 2008-10-29 北大方正集团有限公司 Method for multi-row words layout in row
CN102065227A (en) * 2009-11-17 2011-05-18 新奥特(北京)视频技术有限公司 Method and device for horizontally and vertically aligning object in graph and image processing
CN103034624A (en) * 2011-09-29 2013-04-10 北京大学 Method and system for accurately positioning page object

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
三招制作联合公文头;周晨旭;电脑迷(第05期);第66页 *

Also Published As

Publication number Publication date
CN111967228A (en) 2020-11-20

Similar Documents

Publication Publication Date Title
CA2069415C (en) Method of formatting documents using flexible design models providing controlled copyfit and typeface selection
US20160034438A1 (en) Aligning content in an electronic document
EP0117405B1 (en) Automatically balancing and vertically justifying text and/or graphics
US5231579A (en) Method and system for displaying and processing image of form document
US20150199598A1 (en) Apparatus and Method for Grading Unstructured Documents Using Automated Field Recognition
US20020161772A1 (en) Automated procedure for database creation for a form-based data collection system
CN102830947A (en) Report printing control implemented based on report printing template format
CN111967228B (en) Editing method and device for joint textbook office mark
TWI645351B (en) Product replacement support system
WO2001059604A1 (en) Method for determining line leading in accordance with traditional japanese practices
US7296227B2 (en) Determining line leading in accordance with traditional Japanese practices
KR100743175B1 (en) Advertisement writing method using computerized typesetting system
JPH05188919A (en) Document visualization processing method
CN111967239B (en) Method and apparatus for compensating for position loss and weight loss using a portfolio title
JPH10217582A (en) Cut form printing system and aligning sheet
JP3205535B2 (en) OCR system
JP3346635B2 (en) OCR form form creation method
JPH032962A (en) Document processor
JP2857642B2 (en) OCR system
JP3244433U (en) Font measurement tool
JP3346634B2 (en) OCR form form creation and error correction method
JPH11184949A (en) Slip processing device and storage medium
US2170668A (en) Printing method and apparatus therefor
CN116776846A (en) Method and device for extracting form in target document and computer equipment
JPH0683553A (en) Tabulation device

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
GR01 Patent grant
GR01 Patent grant