CN101404006A - Method, device, system and equipment for regulating output position of page header or footer - Google Patents

Method, device, system and equipment for regulating output position of page header or footer Download PDF

Info

Publication number
CN101404006A
CN101404006A CNA2008102175791A CN200810217579A CN101404006A CN 101404006 A CN101404006 A CN 101404006A CN A2008102175791 A CNA2008102175791 A CN A2008102175791A CN 200810217579 A CN200810217579 A CN 200810217579A CN 101404006 A CN101404006 A CN 101404006A
Authority
CN
China
Prior art keywords
footer
header
outgoing position
current page
margin
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
CNA2008102175791A
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.)
Kingdee Software China Co Ltd
Original Assignee
Kingdee Software China 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 Kingdee Software China Co Ltd filed Critical Kingdee Software China Co Ltd
Priority to CNA2008102175791A priority Critical patent/CN101404006A/en
Publication of CN101404006A publication Critical patent/CN101404006A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Document Processing Apparatus (AREA)
  • Record Information Processing For Printing (AREA)

Abstract

The invention is applicable to the document processing field, and provides a method for adjusting the page header or footer output position, a device, a system and an apparatus thereof. The method comprises the following steps: detecting the text output area of a current page; and respectively adjusting the left-hand boundary and the right-hand boundary of the header or footer output area of the current page to the left-hand boundary and the right-hand boundary closely following the text output area. In the method, the device, the system and the apparatus, the left-hand boundary and the right-hand boundary of the header or footer output area of the current page are automatically adjusted to be aligned with the left-hand boundary and the right-hand boundary of the text output area respectively, therefore, the header or the footer is aligned with the text content, the whole content of the page is compact and the implementation is simple. Simultaneously, in the situations of adjusting the scale of the current page and the like, the header or footer output position can also be automatically adjusted according to the text output area of the current page; therefore, the method, the device, the system and the apparatus have wide application range.

Description

A kind of header or footer outgoing position method of adjustment, device, system and equipment
Technical field
The invention belongs to document processing field, relate in particular to a kind of header or footer outgoing position method of adjustment, device, system and equipment.
Background technology
In the products such as electrical form of electrical form product E xce1, the document product Word of Microsoft and other companies, all support demonstration, the printing of header, footer and text.The content of header, footer has all adopted the alignment thereof of left, center, right, and promptly the content of header, footer occupies a left side, the placed in the middle or right side, residence in the width range of header, footer output area.Because the width of header, footer output area all is consistent with the width of page output area, the width=paper width of page output area-left side distance-rightmargin.The content of header or footer is carried out left, center, right when alignment, all is that the width with page output area is the standard of alignment.For the few page of body matter, for example the width of form actual content is less than the width of page output area, and form is not that the right margin of table content will not line up with the right margin of headerfooter when occupying right the demonstration, the whole content of the page is not compact, and not cheap user checks header, footer.
In output or when printing, if make header, footer, need the outgoing position of manual setting header, footer with the width adjustment of the table content of current page, the mode by manual setting makes header, footer align with textport.But, but can't satisfy the demands in the mode of manual setting these scenes below:
A kind of situation is in output or prints when having multipage that because the setting of header, footer position comes into force to each page, just the position of each page footer all is the same in once exporting or printing.So the mode of manual setting header, footer can not realize the printing effect that header, footer align with table content when the width of output or printing multipage and every page of body matter is different.
Another kind of situation is when convergent-divergent is printed, because convergent-divergent just carries out convergent-divergent at header, footer, table content, can't influence the output area of header, footer and table content.For, under different scalings, all must do different manual settings, could make header, footer align with table content, this is very inconvenient.
Summary of the invention
The purpose of the embodiment of the invention is to provide a kind of header or footer outgoing position method of adjustment, be intended to solve in the prior art and can not adjust automatically the outgoing position of the page or footer according to the position of the textport of current page, header or footer can not align with body matter, the not compact problem of the whole content of the page.
The embodiment of the invention is achieved in that a kind of header or footer outgoing position method of adjustment, and described method comprises the steps:
Detect the current page textport;
Adjust the left margin of the header of current page or footer output area and right margin respectively to left margin that follows textport closely and right margin.
Another purpose of the embodiment of the invention is to provide a kind of header or footer outgoing position adjusting gear, and described device comprises:
The textport detecting unit is used to detect the textport of current page; And
Header or footer outgoing position adjustment unit are used for adjusting respectively the left margin of the header of current page or footer output area and right margin to left margin that follows textport closely and right margin.
Another purpose of the embodiment of the invention is to provide the DPS (Document Processing System) that comprises above-mentioned header or footer outgoing position adjusting gear.
Another purpose of the embodiment of the invention is to provide the output device that comprises above-mentioned DPS (Document Processing System).
In embodiments of the present invention, the left margin of the header of current page or footer output area and right margin be adjusted to respectively automatically with the left margin and the right margin of textport align, make that header or footer align with body matter, the whole content compactness of the page, realize simple, applied widely.
Description of drawings
Fig. 1 is the header that provides of the embodiment of the invention or the realization flow figure of footer outgoing position method of adjustment;
Fig. 2 is the header that provides of the embodiment of the invention or the structural drawing of footer outgoing position adjusting gear.
Embodiment
In order to make purpose of the present invention, technical scheme and advantage clearer,, the present invention is further elaborated below in conjunction with drawings and Examples.Should be appreciated that specific embodiment described herein only in order to explanation the present invention, and be not used in qualification the present invention.
In embodiments of the present invention, according to the textport of current page the outgoing position of header or footer is adjusted automatically.
Fig. 1 shows the header that the embodiment of the invention provides or the realization flow of footer outgoing position method of adjustment, and details are as follows:
In step S101, detect the textport of current page;
In step S102, adjust the left margin of the header of current page or footer output area and right margin respectively to left margin that follows textport closely and right margin;
In order to strengthen the dirigibility that the user uses, satisfy user's individual demand, as a preferred embodiment of the present invention, before execution in step S102, the user can be configured the outgoing position of header or footer, system receives the header or the footer outgoing position configuration information of user's input, and the outgoing position that for example disposes header or footer is for following body matter or the non-body matter that follows closely closely.In addition, the user at the outgoing position of configuration footer when following body matter closely, can also dispose the left margin of footer output area or right margin respectively and the left margin of textport or the spacing between the right margin, for example spacing of 0.5cm, 1cm or system default.
During execution, read the header or the footer outgoing position configuration information of user's input, if the user disposes the footer outgoing position when being configured to follow body matter closely, according to header that reads or footer outgoing position configuration information, the header of adjustment current page or the left margin of footer output area and right margin make header or footer output area left margin and right margin follow the left margin and the right margin of textport closely to user configured position; If the user disposes the footer outgoing position and is configured to non-ly when following body matter closely, the outgoing position of header or footer is not done the processing that follows body matter closely.
In embodiments of the present invention, the text of current page can be form, literal, picture or its combination etc., at the left margin of the header of adjusting current page respectively or footer output area and right margin to left margin that follows textport closely and right margin, continue to detect adjustment one page down, execution in step S101; If do not descend one page, then finish.
Fig. 2 shows the header that the embodiment of the invention provides or the structure of footer outgoing position adjusting gear, only shows the part relevant with the embodiment of the invention for convenience of explanation.
This device can be used for various DPS (Document Processing System), and these DPS (Document Processing System) can be loaded into output device, computing machine for example, printer etc.
This device can be to run on the unit that software unit, hardware cell or software and hardware in these DPS (Document Processing System) combine, also can be used as independently, suspension member is integrated in these output devices or runs in the application system of these output devices, wherein:
Textport detecting unit 201, the textport of detection current page.In embodiments of the present invention, the text of current page can be form, literal, picture or its combination etc.
Header or footer outgoing position adjustment unit 202 are adjusted the left margin of the header of current page or footer output area and right margin respectively to left margin that follows textport closely and right margin.
In order to strengthen the dirigibility that the user uses, satisfy user's individual demand, as a preferred embodiment of the present invention, header or footer outgoing position adjusting gear also comprise:
Header or footer outgoing position dispensing unit 203 receive header or footer outgoing position configuration information that the user imports.
And header or footer outgoing position adjustment unit 202 comprise:
Configuration information read module 2021 reads the header or the footer outgoing position configuration information of user's input.
Position adjusting type modules 2022, according to header that reads or footer outgoing position configuration information, the header of adjustment current page or the left margin of footer output area and right margin are to user configured position, and its implementation repeats no more as mentioned above.
In embodiments of the present invention, the left margin of the header of current page or footer output area and right margin be adjusted to respectively automatically with the left margin and the right margin of textport align, make that header or footer align with body matter, the whole content compactness of the page, realize simple.Simultaneously, under the situation of current page being carried out adjustment such as convergent-divergent, also can automatically the outgoing position of header or footer be adjusted according to the current page textport, applied widely.In addition, allow the user that the outgoing position of header or footer is carried out flexible configuration, be user-friendly to.
One of ordinary skill in the art will appreciate that, realize that all or part of step in the foregoing description method is to instruct relevant hardware to finish by program, described program can be in being stored in a computer read/write memory medium, described storage medium is as ROM/RAM, disk, CD etc.
The above only is preferred embodiment of the present invention, not in order to restriction the present invention, all any modifications of being done within the spirit and principles in the present invention, is equal to and replaces and improvement etc., all should be included within protection scope of the present invention.

Claims (8)

1, a kind of header or footer outgoing position method of adjustment is characterized in that described method comprises the steps:
Detect the textport of current page;
Adjust the left margin of the header of current page or footer output area and right margin respectively to left margin that follows textport closely and right margin.
2, the method for claim 1 is characterized in that, to the step of left margin that follows textport closely and right margin, described method further comprises the steps: at the left margin of the header of adjusting current page respectively or footer output area and right margin
Receive the header or the footer outgoing position configuration information of user's input.
3, method as claimed in claim 2 is characterized in that, the left margin of the described header of adjusting current page respectively or footer output area and right margin to the step of left margin that follows textport closely and right margin is specially:
Read the header or the footer outgoing position configuration information of user's input;
According to header that reads or footer outgoing position configuration information, the header of adjustment current page or the left margin of footer output area or right margin are to user configured position.
4, a kind of header or footer outgoing position adjusting gear is characterized in that described device comprises:
The textport detecting unit is used to detect the textport of current page; And
Header or footer outgoing position adjustment unit are used for adjusting respectively the left margin of the header of current page or footer output area and right margin to left margin that follows textport closely and right margin.
5, device as claimed in claim 4 is characterized in that, described device also comprises:
Header or footer outgoing position dispensing unit are used to receive header or the footer outgoing position configuration information that the user imports.
6, device as claimed in claim 5 is characterized in that, described header or footer outgoing position adjustment unit comprise:
The configuration information read module is used to read the header or the footer outgoing position configuration information of user's input; And
Position adjusting type modules is used for according to the header or the footer outgoing position configuration information that read, and the header of adjustment current page or the left margin of footer output area or right margin are to user configured position.
7, a kind of DPS (Document Processing System) that comprises described header of the arbitrary claim of claim 4 to 6 or footer outgoing position adjusting gear.
8, a kind of output device that comprises the described DPS (Document Processing System) of claim 7.
CNA2008102175791A 2008-11-10 2008-11-10 Method, device, system and equipment for regulating output position of page header or footer Pending CN101404006A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNA2008102175791A CN101404006A (en) 2008-11-10 2008-11-10 Method, device, system and equipment for regulating output position of page header or footer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNA2008102175791A CN101404006A (en) 2008-11-10 2008-11-10 Method, device, system and equipment for regulating output position of page header or footer

Publications (1)

Publication Number Publication Date
CN101404006A true CN101404006A (en) 2009-04-08

Family

ID=40538027

Family Applications (1)

Application Number Title Priority Date Filing Date
CNA2008102175791A Pending CN101404006A (en) 2008-11-10 2008-11-10 Method, device, system and equipment for regulating output position of page header or footer

Country Status (1)

Country Link
CN (1) CN101404006A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104951429A (en) * 2014-03-26 2015-09-30 阿里巴巴集团控股有限公司 Recognition method and device for page headers and page footers of format electronic document
CN105701071A (en) * 2014-11-25 2016-06-22 珠海金山办公软件有限公司 Document header and footer adjustment method and device
CN108062294A (en) * 2016-11-07 2018-05-22 北大方正集团有限公司 Comment field method of adjustment and device
CN112036132A (en) * 2020-09-01 2020-12-04 珠海豹趣科技有限公司 Document header and footer editing method and device and electronic equipment

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104951429A (en) * 2014-03-26 2015-09-30 阿里巴巴集团控股有限公司 Recognition method and device for page headers and page footers of format electronic document
CN105701071A (en) * 2014-11-25 2016-06-22 珠海金山办公软件有限公司 Document header and footer adjustment method and device
CN105701071B (en) * 2014-11-25 2019-06-28 珠海金山办公软件有限公司 A kind of document header footer method of adjustment and device
CN108062294A (en) * 2016-11-07 2018-05-22 北大方正集团有限公司 Comment field method of adjustment and device
CN108062294B (en) * 2016-11-07 2022-01-04 北大方正集团有限公司 Comment area adjusting method and device
CN112036132A (en) * 2020-09-01 2020-12-04 珠海豹趣科技有限公司 Document header and footer editing method and device and electronic equipment
CN112036132B (en) * 2020-09-01 2024-04-19 珠海豹趣科技有限公司 Method and device for editing header and footer of document and electronic equipment

Similar Documents

Publication Publication Date Title
US7688469B2 (en) Method of expression, recording, reproduction, and communication of computer object using color, apparatus for recording and/or reproduction, recording medium, and method of preparation of code
EP0895183A3 (en) Print control apparatus and method for page layout preparation
CN101404006A (en) Method, device, system and equipment for regulating output position of page header or footer
EP1150200A3 (en) Print control apparatus, and storage medium
JP2002149637A5 (en)
CN101479713B (en) Electronic books using transparency paper and books recognition method
CN100480894C (en) Printing method with small margin or no margin
CN101625726B (en) Printing method and printing system
CN102442089B (en) Printing control method, printer, printing system and self-service terminal
CN104238964A (en) Method for adjusting printer output image size automatically
US8392630B2 (en) Information processing apparatus having first DMA controller and second DMA controller wherein selection circuit determines which DMA will perform data transfer based on higher data transfer performance
US20010017703A1 (en) Method and electronic apparatus for formatting and serving inkjet image data
CN101404008A (en) Method, device, system and equipment for regulating page footer output position
CN102855257B (en) Catalogue processing method and catalogue processing device
CN104461408A (en) Small margin or margin-free printing method
JP2007072876A (en) Image processing method and apparatus
US6671062B1 (en) Journaling technique for reverse order printing
CN100418051C (en) Method and system for continuously printing multiple part bills
CN109933295A (en) A kind of document printing method, device, electronic equipment and readable storage medium storing program for executing
KR101354144B1 (en) Apparatus and method for controlling a printing
CN202088672U (en) Dislocation priority information recording device
JP2004351732A (en) Image processing device and image forming device
JP2506110B2 (en) Double-sided printing control device
AU2007203011B2 (en) Method of expression, recording, reproduction, and communication of computer object using color, apparatus for recording and/or reproduction, recording medium, and method of preparation of code
US20070008571A1 (en) System and method for multi-print mechanism printing

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C12 Rejection of a patent application after its publication
RJ01 Rejection of invention patent application after publication

Open date: 20090408