CN110119504A - A kind of electronic document junction of the edges of two sheets of paper is affixed one's seal method - Google Patents
A kind of electronic document junction of the edges of two sheets of paper is affixed one's seal method Download PDFInfo
- Publication number
- CN110119504A CN110119504A CN201910390086.6A CN201910390086A CN110119504A CN 110119504 A CN110119504 A CN 110119504A CN 201910390086 A CN201910390086 A CN 201910390086A CN 110119504 A CN110119504 A CN 110119504A
- Authority
- CN
- China
- Prior art keywords
- seal
- cutting
- junction
- sheets
- edges
- 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.)
- Granted
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/60—Protecting data
- G06F21/64—Protecting data integrity, e.g. using checksums, certificates or signatures
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F40/00—Handling natural language data
- G06F40/10—Text processing
- G06F40/189—Automatic justification
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Computer Security & Cryptography (AREA)
- Health & Medical Sciences (AREA)
- General Health & Medical Sciences (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- Computational Linguistics (AREA)
- Audiology, Speech & Language Pathology (AREA)
- Artificial Intelligence (AREA)
- Bioethics (AREA)
- Computer Hardware Design (AREA)
- Software Systems (AREA)
- Editing Of Facsimile Originals (AREA)
- Folding Of Thin Sheet-Like Materials, Special Discharging Devices, And Others (AREA)
Abstract
It affixes one's seal method the invention discloses a kind of electronic document junction of the edges of two sheets of paper, is related to image data processing technology field, comprising: upload file to be signed and displayed page;Select E-seal and specified page number range;The number that calculating E-seal need to cut averagely is cut;E-seal is pulled to specified position of affixing one's seal, the E-seal after circumgyration incision keeps its direction consistent with junction of the edges of two sheets of paper direction;It is signed with digital certificate, the E-seal after cutting is blended into signature field.Method provided by the present invention, which makes the junction of the edges of two sheets of paper affix one's seal, can cover the printing for meeting mixed composition electronic document in different location bookbinding demand.
Description
[technical field]
The present invention relates to image data processing technology fields, and in particular to a kind of electronic document junction of the edges of two sheets of paper is affixed one's seal method.
[background technique]
In the prior art, the pattern that junction of the edges of two sheets of paper E-seal is affixed one's seal in an electronic document is all uniformly to cover on the right side of document,
The conditional parameters such as the number of pages according to the page that need to affix one's seal distribute display of the E-seal picture in every page automatically.But work as electronics
Existing vertical version in document also has the case where this mixed composition of horizontal version typesetting, also all uniformly covers on the right side of electronic document
Side.In the with no paper application scenarios of half way, when needing to print and bind the electronic document for covering seal on the perforation, it will encounter in cross
Seal on the perforation on the version page is stapled in edge sealing in bookbinding, loses the effect of seal on the perforation.
[summary of the invention]
In order to solve the above technical problems, affixing one's seal method the present invention provides a kind of electronic document junction of the edges of two sheets of paper, so that the junction of the edges of two sheets of paper is affixed one's seal
The printing bookbinding demand for meeting mixed composition electronic document in different location can be covered.
In order to achieve the above object, the present invention adopts the following technical scheme:
A kind of electronic document junction of the edges of two sheets of paper is affixed one's seal method, is included the following steps:
Step 1: file to be signed is uploaded to Electronic Seal System, and shows the page to be signed;
Step 2: selection signature E-seal used, and specified page number range to be signed documents;
Step 3: Electronic Seal System calculates the E-seal number to be cut, average to cut;
Step 4: the position of affixing one's seal of the specified page each to be signed, and the E-seal is drawn to position of affixing one's seal;Root
According to the E-seal after position circumgyration incision of affixing one's seal, the E-seal direction after making cutting is consistent with junction of the edges of two sheets of paper direction;
Step 5: being signed using the file that digital certificate treats signature, and is blended into the signature of file to be signed
In domain, the E-seal after cutting is blended into signature field.
Further, in the step 3, it is average that Electronic Seal System calculates the E-seal number to be cut
Cutting includes the following steps
It is default cutting number that A, which is arranged, and N is number of pages to be signed;
If N≤A, cutting number is N;
If N >=A, M=N mod A is calculated, if M=0, cutting number is A;If M > 0, C=[(A-M)/(B+ is calculated
1)], D=(A-M)/(B+1)-C, wherein B=N/A, if C-D >=0.5, C '=C+1, cutting number is A-C ';
E-seal is laterally or vertically averagely cut according to the cutting number being calculated.
Further, in the step 4, included the following steps: according to the E-seal after position circumgyration incision of affixing one's seal
(1) the size Width*Height of file to be signed is determined,
(2) E-seal after cutting is dragged in (X-Y) the coordinate points position of the page;
(3) judge whether file to be signed is vertical version, if so, the coordinate of center is (Width, Y), work as transverse direction
When cutting, 90 ° of the E-seal after circumgyration incision keeps the E-seal direction after cutting consistent with junction of the edges of two sheets of paper direction;It is cut when longitudinally
When cutting, the E-seal after circumgyration incision, does not keep the E-seal direction after cutting consistent with junction of the edges of two sheets of paper direction, if it is not, carrying out
Next step;
(4) center of the E-seal after judgement cutting, and the E-seal after circumgyration incision, comprising:
Default location: the coordinate of center is (Width, Y), the E-seal when transverse cuts, after circumgyration incision
90 °, the E-seal direction after making cutting is consistent with junction of the edges of two sheets of paper direction;When longitudinally cutting, the not E-seal after circumgyration incision,
E-seal direction after cutting is consistent with junction of the edges of two sheets of paper direction;
Horizontal version page top position: the coordinate of center is (Width-Y, height), when transverse cuts, not rotary cutting
E-seal after cutting, the E-seal direction after cutting are consistent with junction of the edges of two sheets of paper direction;Electricity when longitudinally cutting, after circumgyration incision
270 ° of sub- seal, the E-seal direction after making cutting are consistent with junction of the edges of two sheets of paper direction;
Horizontal version page bottom position: the coordinate of center is (width-X, 0), when transverse cuts, not after circumgyration incision
E-seal, the E-seal direction after cutting is consistent with junction of the edges of two sheets of paper direction;Electronic seal when longitudinally cutting, after circumgyration incision
90 ° of chapter, the E-seal direction after making cutting is consistent with junction of the edges of two sheets of paper direction.
Optionally, the digital certificate is signed and issued by CA mechanism, is signed using the PKCS7 mode in the library BC.
Compared with prior art, the invention has the benefit that
Method provided by the present invention, in the with no paper application scenarios of half way, user can be according to the need of printing bookbinding
It asks, E-seal is covered in the suitable position of horizontal version, vertical version or even the mixed composition electronic document junction of the edges of two sheets of paper, so that the document printed
In bookbinding, junction of the edges of two sheets of paper seal is not stapled in edge sealing.
These features and advantages of the invention will carry out detailed take off in following specific embodiment and attached drawing
Dew.The optimal embodiment of the present invention or means will carry out detailed performance in conjunction with attached drawing, but be not to technical solution of the present invention
Limitation.In addition, it is each be with these features, element and the component occurred in attached drawing hereafter have it is multiple, and in order to indicate
Different symbol or number conveniently is marked, but indicates the component of same or similar construction or function.
[Detailed description of the invention]
The accompanying drawings constituting a part of this application is used to provide further understanding of the present application, and the application's shows
Meaning property embodiment and its explanation are not the restriction to the application for explaining the application.
Fig. 1 is flow chart of the invention;
Fig. 2 is effect picture of the invention.
[specific embodiment]
The technical solution of the embodiment of the present invention is explained and illustrated below with reference to the attached drawing of the embodiment of the present invention, but under
It states embodiment to be merely a preferred embodiment of the present invention, and not all.Based on the implementation example in the implementation mode, those skilled in the art
Obtained other embodiments without making creative work, belong to protection scope of the present invention.
" one embodiment " or " example " or " example " mean that itself is described in conjunction with the embodiments quoted in this specification
A particular feature, structure, or characteristic can be included at least one embodiment disclosed in this patent.Phrase is " in one embodiment
In " appearance of each position in the description is not necessarily all referring to the same embodiment.
Additionally, it should be understood that unless otherwise specified, all technical and scientific terms used herein has and this
Apply for the normally understood identical meanings of person of an ordinary skill in the technical field.Also, unless the context clearly indicates otherwise,
Otherwise singular is also intended to including plural form when the term " comprising " and/or " including " is used in this specification, refer to
Bright existing characteristics, step, operation, device, component and/or their combination.
Embodiment one:
It affixes one's seal method, includes the following steps: as shown in Figure 1, present embodiments providing a kind of electronic document junction of the edges of two sheets of paper
Step 1: file to be signed is uploaded to Electronic Seal System, and shows the page to be signed, in the present embodiment
In, file to be signed is PDF document;
Step 2: selection signature E-seal used, and the page number range of specified PDF document;
Step 3: Electronic Seal System calculates E-seal number to be cut according to such as under type, average to cut:
It is default cutting number that A, which is arranged, and N is number of pages to be signed;
If N≤A, cutting number is N;
If N >=A, M=N mod A is calculated, that is, N removes residual value M to A, if M=0, cutting number is A;If M > 0,
It calculates C=[(A-M)/(B+1)], i.e. rounding the value C, D=(A-M) of (A-M)/(B+1)/(B+1)-C, i.e. (A-M)/(B+1's)
Take floating point values D, wherein B=N/A, if C-D >=0.5, C '=C+1, cutting number is A-C ';
Laterally average cutting is carried out to E-seal according to the cutting number being calculated;
Step 4: the position of affixing one's seal of the specified page each to be signed, and E-seal is drawn to position of affixing one's seal;Then according to
According to the E-seal after such as under type circumgyration incision, the E-seal direction after making cutting is consistent with junction of the edges of two sheets of paper direction:
(1) the size Width*Height of PDF document is determined,
(2) seal after cutting is dragged in (X-Y) the coordinate points position of the page;
(3) judge whether to the PDF document be vertical version, if so, the coordinate of center is (Width, Y), rotary cutting
90 ° of E-seal after cutting, the E-seal direction after making cutting are consistent with junction of the edges of two sheets of paper direction;If it is not, carrying out next step;
(4) center of the E-seal after judgement cutting, and the E-seal after circumgyration incision, comprising:
Default location: the coordinate of center is (Width, Y), 90 ° of E-seal after circumgyration incision, after making cutting
E-seal direction is consistent with junction of the edges of two sheets of paper direction;
Horizontal version page top position: the coordinate of center is (Width-Y, height), not the electronic seal after circumgyration incision
Chapter, the E-seal direction after cutting are consistent with junction of the edges of two sheets of paper direction;
Horizontal version page bottom position: the coordinate of center is (width-X, 0), and the E-seal after circumgyration incision, does not cut
E-seal direction after cutting is consistent with junction of the edges of two sheets of paper direction;
Step 5: it is signed, and is blended into the signature field of PDF document to PDF document using digital certificate, will cut
E-seal afterwards is blended into signature field.In the present embodiment, digital certificate is signed and issued by CA mechanism, using the PKCS7 in the library BC
Mode is signed.
The electronic document junction of the edges of two sheets of paper provided by the present embodiment is affixed one's seal method, in the with no paper application scenarios of half way, Yong Huke
To cover electronic seal in the suitable position of the PDF document junction of the edges of two sheets of paper of horizontal version, vertical version or even mixed composition according to the demand of printing bookbinding
Chapter, so that the document printed junction of the edges of two sheets of paper seal in bookbinding is not stapled in edge sealing.
Using the electronic document junction of the edges of two sheets of paper provided by the present embodiment affix one's seal method affix one's seal PDF document after effect as scheme
Shown in 2.
Embodiment two:
The present embodiment carries out vertical average cutting to E-seal what is different from the first embodiment is that in step 3, by
This, the E-seal after circumgyration incision in the following way in step 4, E-seal direction and junction of the edges of two sheets of paper side after making cutting
To consistent:
(1) the size Width*Height of PDF document is determined,
(2) seal after cutting is dragged in (X-Y) the coordinate points position of the page;
(3) judge whether to the PDF document be vertical version, if so, the coordinate of center is (Width, Y), do not rotate
E-seal after cutting, the E-seal direction after making cutting are consistent with junction of the edges of two sheets of paper direction;If it is not, carrying out next step;
(4) center of the E-seal after judgement cutting, and the E-seal after circumgyration incision, comprising:
Default location: the coordinate of center is (Width, Y), not the E-seal after circumgyration incision, the electricity after cutting
Sub- seal direction is consistent with junction of the edges of two sheets of paper direction;
Horizontal version page top position: the coordinate of center is (Width-Y, height), the E-seal after circumgyration incision
270 °, the E-seal direction after making cutting is consistent with junction of the edges of two sheets of paper direction;
Horizontal version page bottom position: the coordinate of center is (width-X, 0), 90 ° of E-seal after circumgyration incision, is made
E-seal direction after cutting is consistent with junction of the edges of two sheets of paper direction.
More than, only a specific embodiment of the invention, but scope of protection of the present invention is not limited thereto, is familiar with this
The technical staff in field should be understood that the present invention including but not limited to attached drawing and above content described in specific embodiment.Appoint
The modification for why not deviateing function and structure principle of the invention is intended to be included in the range of claims.
Claims (4)
- A kind of method 1. electronic document junction of the edges of two sheets of paper is affixed one's seal, characterized by the following steps:Step 1: file to be signed is uploaded to Electronic Seal System, and shows the page to be signed;Step 2: selection signature E-seal used, and specified page number range to be signed documents;Step 3: Electronic Seal System calculates the E-seal number to be cut and averagely cuts;Step 4: the position of affixing one's seal of the specified page each to be signed, and the E-seal is drawn to position of affixing one's seal;According to lid E-seal after the circumgyration incision of chapter position, the E-seal direction after making cutting are consistent with junction of the edges of two sheets of paper direction;Step 5: being signed using the file that digital certificate treats signature, and is blended into the signature field of file to be signed, E-seal after cutting is blended into signature field.
- The method 2. the electronic document junction of the edges of two sheets of paper according to claim 1 is affixed one's seal, it is characterised in that: in the step 3, electronics label The number to be cut of E-seal described in chapter system-computed, which is averagely cut, to be included the following steps:It is default cutting number that A, which is arranged, and N is number of pages to be signed;If N≤A, cutting number is N;If N >=A, M=N mod A is calculated, if M=0, cutting number is A;If M > 0, calculate C=[(A-M)/(B+1)], D= (A-M)/(B+1)-C, wherein B=N/A, if C-D >=0.5, C '=C+1, cutting number is A-C ';E-seal is laterally or vertically averagely cut according to the cutting number being calculated.
- The method 3. the electronic document junction of the edges of two sheets of paper according to claim 2 is affixed one's seal, it is characterised in that: in the step 4, according to lid E-seal after the circumgyration incision of chapter position includes the following steps:(1) the size Width*Height of file to be signed is determined,(2) E-seal after cutting is dragged in (X-Y) the coordinate points position of the page;(3) judge whether file to be signed is vertical version, if so, the coordinate of center is (Width, Y), work as transverse cuts When, 90 ° of E-seal after circumgyration incision, the E-seal direction after making cutting is consistent with junction of the edges of two sheets of paper direction;When longitudinally cutting, The not E-seal after circumgyration incision, the E-seal direction after making cutting is consistent with junction of the edges of two sheets of paper direction, if it is not, carrying out in next step Suddenly;(4) center of the E-seal after judgement cutting, comprising:Default location: the coordinate of center is (Width, Y), when transverse cuts, 90 ° of the E-seal after circumgyration incision, E-seal direction after making cutting is consistent with junction of the edges of two sheets of paper direction;When longitudinally cutting, the E-seal after circumgyration incision, is not cut E-seal direction afterwards is consistent with junction of the edges of two sheets of paper direction;Horizontal version page top position: the coordinate of center is (Width-Y, height), when transverse cuts, not after circumgyration incision E-seal, the E-seal direction after cutting is consistent with junction of the edges of two sheets of paper direction;Electronic seal when longitudinally cutting, after circumgyration incision 270 ° of chapter, the E-seal direction after making cutting is consistent with junction of the edges of two sheets of paper direction;Horizontal version page bottom position: the coordinate of center is (width-X, 0), when transverse cuts, the not electricity after circumgyration incision Sub- seal, the E-seal direction after cutting are consistent with junction of the edges of two sheets of paper direction;E-seal when longitudinally cutting, after circumgyration incision 90 °, the E-seal direction after making cutting is consistent with junction of the edges of two sheets of paper direction.
- 4. affixing one's seal method to the electronic document junction of the edges of two sheets of paper described in one of 3 according to claim 1, it is characterised in that: the digital certificate It is signed and issued by CA mechanism, is signed using the PKCS7 mode in the library BC.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910390086.6A CN110119504B (en) | 2019-05-10 | 2019-05-10 | Electronic document perforation stamping method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910390086.6A CN110119504B (en) | 2019-05-10 | 2019-05-10 | Electronic document perforation stamping method |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110119504A true CN110119504A (en) | 2019-08-13 |
CN110119504B CN110119504B (en) | 2023-01-10 |
Family
ID=67522059
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910390086.6A Active CN110119504B (en) | 2019-05-10 | 2019-05-10 | Electronic document perforation stamping method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110119504B (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112583603A (en) * | 2020-12-08 | 2021-03-30 | 上海市数字证书认证中心有限公司 | Visual signature method and device, electronic equipment and computer readable storage medium |
CN112613003A (en) * | 2020-12-28 | 2021-04-06 | 中国农业银行股份有限公司 | Text processing method and device |
CN113627125A (en) * | 2021-07-30 | 2021-11-09 | 杭州承章科技有限公司 | Document edge-distance-free perforation seal stamping method and system |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH0667047U (en) * | 1993-03-02 | 1994-09-20 | 熊太郎 有島 | stamp |
CN101493950A (en) * | 2009-03-03 | 2009-07-29 | 沈前卫 | Apparatus for drafting perforated rider bill by WYSWYG manner and drafting method |
JP2010050608A (en) * | 2008-08-20 | 2010-03-04 | Hitachi Software Eng Co Ltd | Electronic seal embedding method and system |
CN105761048A (en) * | 2016-01-08 | 2016-07-13 | 昆山百润科技股份有限公司 | Electronic seal affixing method and system with cross-page seal function |
CN108257197A (en) * | 2016-12-28 | 2018-07-06 | 航天信息股份有限公司 | A kind of method and system for the setting seal on the perforation at electronic document page-by-page |
-
2019
- 2019-05-10 CN CN201910390086.6A patent/CN110119504B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH0667047U (en) * | 1993-03-02 | 1994-09-20 | 熊太郎 有島 | stamp |
JP2010050608A (en) * | 2008-08-20 | 2010-03-04 | Hitachi Software Eng Co Ltd | Electronic seal embedding method and system |
CN101493950A (en) * | 2009-03-03 | 2009-07-29 | 沈前卫 | Apparatus for drafting perforated rider bill by WYSWYG manner and drafting method |
CN105761048A (en) * | 2016-01-08 | 2016-07-13 | 昆山百润科技股份有限公司 | Electronic seal affixing method and system with cross-page seal function |
CN108257197A (en) * | 2016-12-28 | 2018-07-06 | 航天信息股份有限公司 | A kind of method and system for the setting seal on the perforation at electronic document page-by-page |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112583603A (en) * | 2020-12-08 | 2021-03-30 | 上海市数字证书认证中心有限公司 | Visual signature method and device, electronic equipment and computer readable storage medium |
CN112583603B (en) * | 2020-12-08 | 2022-07-12 | 上海市数字证书认证中心有限公司 | Visual signature method and device, electronic equipment and computer readable storage medium |
CN112613003A (en) * | 2020-12-28 | 2021-04-06 | 中国农业银行股份有限公司 | Text processing method and device |
CN112613003B (en) * | 2020-12-28 | 2023-12-08 | 中国农业银行股份有限公司 | Text processing method and device |
CN113627125A (en) * | 2021-07-30 | 2021-11-09 | 杭州承章科技有限公司 | Document edge-distance-free perforation seal stamping method and system |
Also Published As
Publication number | Publication date |
---|---|
CN110119504B (en) | 2023-01-10 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110119504A (en) | A kind of electronic document junction of the edges of two sheets of paper is affixed one's seal method | |
US8923617B2 (en) | Image processing device, image processing method, and image processing program | |
EP2390842A2 (en) | Image editing apparatus, image editing method, and recording medium | |
US20100142854A1 (en) | Method for changing the dimensions of an electronically stored image | |
EP1969316B1 (en) | Methods and systems for controlling display of en-route maps | |
Davarinejad | Quantifications of western blots with ImageJ | |
EP1739574A1 (en) | Method of identifying words in an electronic document | |
DE102012220622A1 (en) | MEDIA-BASED SYSTEM FOR MAKING THREE-DIMENSIONAL OBJECTS | |
AU2007201652A1 (en) | Laying out graphical elements on a page | |
US8700984B2 (en) | Computerized method and computer program for displaying and printing markup | |
EP1405257A2 (en) | Process and system for mixed page imposition | |
AU2002248766A1 (en) | Process and system for mixed page imposition | |
CN108257197A (en) | A kind of method and system for the setting seal on the perforation at electronic document page-by-page | |
CN110532811A (en) | A kind of PDF signature method and PDF sealing system | |
US7209258B1 (en) | Complexity-based transparency flattening | |
EP1463000A3 (en) | Automated creation and prepress preparation of bleed tabs in printed documents | |
US20080088643A1 (en) | Automatic trapping of drop shadows | |
CN109657669A (en) | A kind of E-seal intelligent extract method based on image procossing | |
CN103679779A (en) | Realization method for seal on the perforation | |
US9794435B1 (en) | System and method for arranging scanned images | |
US7385725B1 (en) | Previewing an image rendered on multiple pages | |
US8488159B2 (en) | Printing system, printing method, printing control apparatus, printing control method, and computer readable recording medium stored with printing control program for adding padding data to image data | |
JP5439533B2 (en) | Image editing apparatus, method and program | |
CN108108339B (en) | A kind of method and device of the boundary PDF and grid lines mark | |
McFarlane | Modelling with AutoCAD 2000 |
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 |