test pdf
This commit is contained in:
parent
efbc2f3b2e
commit
2c97d68f90
@ -18,9 +18,15 @@
|
||||
marginLeft: 30,
|
||||
marginRight: 30,
|
||||
headerLeft: "TestPDF",
|
||||
headerCenter: "[date]",
|
||||
headerRight: "[page] - [frompage] / [topage]",
|
||||
headerSpacing: 10,
|
||||
headerCenter: "Rev. 1",
|
||||
headerRight: "[page] / [topage]",
|
||||
headerSpacing: 20,
|
||||
headerLine: true,
|
||||
footerLeft: "(c) Webmakers GmbH",
|
||||
footerCenter: "www.webmakers.de",
|
||||
footerRight: "[date]",
|
||||
footerSpacing: 20,
|
||||
footerLine: true,
|
||||
}
|
||||
)
|
||||
context.response.header("Content-Type", "application/pdf")
|
||||
|
@ -22,6 +22,17 @@
|
||||
img {
|
||||
width: 10cm;
|
||||
}
|
||||
.block {
|
||||
margin: 3cm;
|
||||
border: 1mm solid red;
|
||||
background-color: #499;
|
||||
border-radius: 2cm;
|
||||
height: 2cm;
|
||||
}
|
||||
.firstimg {
|
||||
float: right;
|
||||
margin: 1cm;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
@ -59,7 +70,8 @@ Nam liber tempor cum soluta nobis eleifend option congue nihil imperdiet doming
|
||||
</table>
|
||||
<br>
|
||||
<br>
|
||||
<!-- <img src="https://source.unsplash.com/random/300x300/?internet"> -->
|
||||
<img src="https://source.unsplash.com/random/300x300/?internet" class="firstimg">
|
||||
<div class="block"></div>
|
||||
<p>
|
||||
Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet.
|
||||
|
||||
@ -83,6 +95,6 @@ Ut wisi enim ad minim veniam, quis nostrud exerci tation ullamcorper suscipit lo
|
||||
|
||||
Nam liber tempor cum soluta nobis eleifend option congue nihil imperdiet doming id quod mazim placerat facer possim assum. Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat. Ut wisi enim ad minim veniam, quis nostrud exerci tation ullamcorper suscipit lobortis nisl ut aliquip ex ea commodo
|
||||
</p>
|
||||
<!-- <img src="https://source.unsplash.com/random/300x300/?flower"> -->
|
||||
<img src="https://source.unsplash.com/random/300x300/?flower">
|
||||
</body>
|
||||
</html>
|
Loading…
Reference in New Issue
Block a user