add simple fold and punch marks

This commit is contained in:
Daniel Seifert 2020-06-09 23:44:33 +02:00
parent cf2c61078a
commit 03984e39e9
Signed by: DanielS
GPG Key ID: 6A513E13AEE66170
3 changed files with 12 additions and 0 deletions

View File

@ -0,0 +1,6 @@
[{* fold marks *}]
<div style="position: absolute; top: [{math equation="tpos - tpad" tpos=87 tpad=35}]mm; left: [{math equation="lpos - lpad" tpos=5 tpad=10}]mm; margin-left: -10mm; width: 7px; height: 0; border-top: 1px solid silver"></div>
<div style="position: absolute; top: [{math equation="tpos - tpad" tpos=192 tpad=35}]mm; left: [{math equation="lpos - lpad" tpos=5 tpad=10}]mm; margin-left: -10mm; width: 7px; height: 0; border-top: 1px solid silver"></div>
[{* punch mark *}]
<div style="position: absolute; top: [{math equation="tpos - tpad" tpos=148.5 tpad=35}]mm; left: [{math equation="lpos - lpad" tpos=5 tpad=10}]mm; margin-left: -10mm; width: 7px; height: 0; border-top: 1px solid silver"></div>

View File

@ -18,6 +18,11 @@
[{/block}]
</page_footer>
[{* +++++ fold and punch marks +++++ *}]
[{block name="pdfDIN5008Markings"}]
[{include file="d3din5008.tpl"}]
[{/block}]
[{* +++++ main page part +++++ *}]
[{block name="pdfHeadingFile"}]
[{block name="pdfHeaderFile"}]

View File

@ -63,6 +63,7 @@ $aModule = [
'd3pdfheader.tpl' => 'd3/pdfdocuments/Application/views/tpl/documents/inc/header.tpl',
'd3pdffooter.tpl' => 'd3/pdfdocuments/Application/views/tpl/documents/inc/footer.tpl',
'd3din5008.tpl' => 'd3/pdfdocuments/Application/views/tpl/documents/inc/din5008.tpl',
'd3pdfstyle.css' => 'd3/pdfdocuments/out/src/css/pdfStyling.css'
],
'events' => [],