Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <apex:page standardController="proposal__c" extensions="testGenerateQuotePdf" showHeader="false" renderAs="pdf" sidebar="false" standardStylesheets="false" applyBodyTag="false" applyHtmlTag="false">
- <html>
- <head>
- <style>
- @page {
- size: A4;
- margin-top: 20mm;
- @bottom-center {
- content: counter(page);
- }
- @top-right {
- content: counter({!$Resource.TestProposalHeader});
- }
- @bottom{
- margin-top: 10mm;
- }
- @left-top{
- content: "Quote";
- }
- }
- .contactDetails{
- }
- .page-break {
- display:block;
- page-break-after:always;
- }
- .outBorder {
- border-style: groove;
- }
- .inBorder{
- border-style: ridge;
- }
- .generatedDate{
- font: 8px;
- }
- body{
- font-size: 1em;
- }
- </style>
- </head>
- <body>
- <div class="generatedDate" style="float:right; position:relative;">
- <apex:outputText value="{0, date, MMMM d',' yyyy}" style="color:blue;">
- <apex:param value="{!NOW()}"/>
- </apex:outputText>
- </div><br></br>
- <apex:image id="theImage" value="{!$Resource.spotQuoteBody}" width="700" height="200"/>
- </body>
- </div>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement