Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <apex:page controller="sampleController" action="{!getSendList}" showHeader="false" sidebar="false" renderAs="PDF" applyHtmlTag="false" standardStylesheets="false" readOnly="true">
- <head>
- <!-- CUSTOM STYLES -->
- <style>
- * {
- font-family: "Salesforce Sans", Arial, sans-serif;
- margin: 0;
- line-height: 1.5;
- }
- @page {
- @top-center {
- content: element(header);
- }
- @bottom-center {
- content: element(footer);
- }
- margin-top: 180px;
- margin-bottom: 165px;
- }
- .pagenumber:before {
- content: counter(page);
- }
- .pagecount:before {
- content: counter(pages);
- }
- .header span {
- font-size: 24px;
- }
- div.header {
- padding-top: 50px; position: running(header);
- }
- div.footer {
- display: block; padding-bottom: 200px; position: running(footer); font-size: small;
- }
- table.il {
- font-size: 70%; border-collapse: collapse;
- }
- .il th {
- border-left: 0px; border-right: 0px; border-bottom: 1px solid black; vertical-align: bottom; text-align: center;
- }
- .il td {
- text-align: center;
- }
- .il tbody {
- font-size: 82.5%;
- }
- table.tg {
- margin-left: auto; margin-right: auto; width: 85%; border-collapse: collapse;
- }
- .tg th {
- font-weight: bold;
- background-color: #f2f2f2;
- }
- .tg th, .tg td {
- font-size: 57.5%;
- }
- table.tg, .tg th, .tg td {
- border: 1px solid #cac9d9;
- }
- p.tg, .tg li {
- text-color: #333333; font-size: 73%;
- }
- </style>
- <!-- /CUSTOM STYLES -->
- </head>
- <h>test</h>
- <apex:repeat value="{!userList}" var="check">
- {!check.checkNumber}
- </apex:repeat>
- public PageReference getSendList() {
- this.userList = new List<DME_WrapperCheck>();
- for(DME_WrapperCheck wc : checkItemList) {
- userList.add(wc);
- }
- System.debug('tempCheckItemList');
- this.setup = new DME_Setup__c();
- this.setup = DME_SharedMethods.getDMESetup();
- return null;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement