• Skip to header bar
  • Skip to main navigation
  • Skip to page tools
  • Skip to work area
  • Login
Main navigation contains tabs, main links and MediaWiki sidebar
Entrypoints
  • Main Page
  • Recent changes
  • Pages
  • Spreadsheets
  • MediaWiki
  • PDFCreator
    • StandardPDF
    Last edited 3 months ago
    by Meryam Sahin

    StandardPDF

    • Copy URL
    • E-Mail
    • QR code
    • ... all actions
    • Page information
    Header
    Content
    Footer
    Document preface
    Document appendix
    Styles
    Properties
    <div class="pdfcreator-runningheaderfix">
    	<table>
    		<tr>
    			<td>
    				<div class="pdfcreator-runningheader-logo">
    					{{{logo}}}
    				</div>
    			</td>
    			<td>
    				<h1 class="title">{{{title}}}</h1>
    			</td>
    		</tr>
    	</table>
    </div>
    
    {{{content}}}
    
    <div class="pdfcreator-runningfooterfix">
    	<table>
    		<tr>
    			<td>
    				<span>{{int:pdfcreator-pdf-export-time}}: {{#time: d.m.Y|now}}</span>
    			</td>
    			<td>
    				<span></span>
    			</td>
    			<td>
    				<span>{{int:pdfcreator-pdf-param-currentpagenumber-label}} {{{currentpagenumber}}} {{int:pdfcreator-pdf-param-totalpagescount-label}} {{{totalpagescount}}}</span>
    			</td>
    		</tr>
    	</table>
    </div>
    
    /**
     * Running header styles.
     */
    .pdfcreator-runningheaderfix {
    	position: running( topleft );
    	margin: 0 -1.75cm 0 -1.75cm;
    	padding: 0 1.75cm 0 1.75cm;
    	height: 2.3cm;
    }
    .pdfcreator-runningheaderfix > table {
    	width: 100%;
    	max-height: 99%;
    	background: transparent;
    	border-bottom: 0.1mm solid black;
    }
    .pdfcreator-runningheaderfix > table td {
    	vertical-align: middle;
    	text-align: center;
    }
    .pdfcreator-runningheaderfix > table td:first-child {
    	width: 25%;
    	text-align: left;
    }
    .pdfcreator-runningheaderfix > table td:last-child {
    	width: 75%;
    	text-align: right;
    }
    .pdfcreator-runningheaderfix > table .pdfcreator-runningheader-logo {
    	display: block;
    	width: 100%;
    	height: 2cm;
    }
    .pdfcreator-runningheaderfix > table .pdfcreator-runningheader-logo p {
    	padding: 0;
    	margin: 0;
    	line-height: 0;
    }
    .pdfcreator-runningheaderfix > table .pdfcreator-runningheader-logo img {
    	width: auto;
    	height: 1.5cm;
    }
    .pdfcreator-runningheaderfix > table h1.title {
    	font-size: 9pt;
    	font-weight: normal;
    	max-height: 2.4em;
    	line-height: 1.2em;
    	overflow: hidden;
    	text-align: right;
    }
    
    /**
     * Running footer styles.
     */
    .pdfcreator-runningfooterfix {
    	position: running( bottomleft );
    	margin: 0 -1.75cm 0 -1.75cm;
    	padding: 0 1.75cm 0 1.75cm;
    	height: 1.3cm;
    }
    .pdfcreator-runningfooterfix > table {
    	width: 100%;
    	background: transparent;
    	max-height: 99%;
    	border-top: 0.1mm solid black;
    }
    .pdfcreator-runningfooterfix > table td {
    	width: 32%;
    	padding-top: 0.1cm;
    	vertical-align: top;
    	text-align: center;
    }
    .pdfcreator-runningfooterfix > table td p {
    	font-size: 9pt !important;
    	line-height: 1.2em;
    }
    .pdfcreator-runningfooterfix > table td:first-child {
    	width: 32%;
    	text-align: left;
    }
    .pdfcreator-runningfooterfix > table td:last-child {
    	width: 32%;
    	text-align: right;
    }
    
    /**
     * The default page definition.
     */
    @page {
    	size: A4 portrait;
    	margin: 2.5cm 1.75cm 1.5cm 1.75cm;
    
    	@top-left {
    		content: element( topleft );
    	}
    
    	@top-center {
    		content: element( topcenter );
    	}
    
    	@top-right {
    		content: element( topright );
    	}
    
    	@bottom-left {
    		content: element( bottomleft );
    	}
    
    	@bottom-center {
    		content: element( bottomcenter );
    	}
    
    	@bottom-right {
    		content: element( bottomright );
    	}
    }
    
    /**
     * The "coverpage" definition.
     */
    @page coverpage {
    	margin: 0cm 0cm 0cm 0cm;
    	size: A4 portrait;
    
    	@top-left {
    		content: none;
    	}
    
    	@top-center {
    		content: none;
    	}
    
    	@top-right {
    		content: none;
    	}
    
    	@bottom-left {
    		content: none;
    	}
    
    	@bottom-center {
    		content: none;
    	}
    
    	@bottom-right {
    		content: none;
    	}
    }
    
    .pdfcreator-type-intro {
    	page: coverpage;
    	background-size: 21cm;
    	width: 21cm;
    	height: 29.7cm;
    	background-repeat: no-repeat;
    }
    
    .pdfcreator-intro-cover-cnt {
    	position: absolute;
    	top: 12.5cm;
    	left: 1.75cm;
    	width: 17.5cm;
    	max-height: 6.5cm;
    	overflow: hidden;
    }
    
    .pdfcreator-intro-title {
    	font-size: 40px;
    	color: #3E5389;
    	font-weight: 900;
    	line-height: 1.3em;
    }
    
    .pdfcreator-intro-text {
    	font-size: 30px;
    	font-weight: 700;
    	line-height: 1.3em;
    }
    
    /*** CUSTOMIZINGS *** /
    
    /* position and resize logo */
    .pdfcreator-runningheaderfix>table .pdfcreator-runningheader-logo img {
    	width: auto !important;
    	height: 1cm !important;
    	margin-top: 0.5cm;
    }
    
    /* remove border of header */
    .pdfcreator-runningheaderfix>table {
    	border-bottom: none !important;
    }
    
    /*smaller font sizes and larger line-height in content */
    .pdfcreator-page-content th,
    .pdfcreator-page-content td,
    .pdfcreator-page-content div,
    .pdfcreator-page-content li,
    .pdfcreator-page-content pre,
    .pdfcreator-page-content p {
    	font-size: 9.5pt;
    	line-height: 1.8em;
    }
    
    /* smaller bullet points in lists*/
    .pdfcreator-page-content ul {
    	list-style-type: none !important;
    	list-style: none !important;
    	padding-left: 1.2em;
    }
    
    .pdfcreator-page-content ul li {
    	list-style-type: none !important;
    	position: relative;
    }
    
    .pdfcreator-page-content ul li::before {
    	content: "\2022";
    	/* Unicode bullet (•) */
    	position: absolute;
    	left: -1em;
    	font-size: 1em;
    	/* fully controllable */
    }
    
    .pdfcreator-page-content .toc ul li::before {
    	content: "";
    	/* remove custom bullet from TOC */
    }
    
    /* style h2 headings */
    .pdfcreator-page-content h2 {
    	border-bottom: none;
    	margin: 2em 0;
    }
    
    /* TOC styling */
    .toc {
    	border: none;
    	padding: 0;
    	margin: 1em 0;
    }
    
    /* syntaxhighlight and preformatted text with smaller font size */
    .mw-highlight pre,
    pre {
    	font-size: 8.5pt !important;
    	line-height: 1.5em !important;
    }
    
    /*wikitable print color white */
    .wikitable {
    	background-color: #fff
    }
    
    .wikitable tr th {
    	background-color: #f1f3f9
    }
    
    /*avoid orphans */
    h2,
    h3,
    h4 {
    	-fs-keep-with-next: always;
    	margin-top: 1.2em;
    }
    
    p {
    	-fs-page-break-min-height: 5em;
    	line-height: 1.5;
    }
    
    {
    	"embed-page-toc": true,
    	"no-redirect": false,
    	"attachments": true,
    	"suppress-links": false
    }
    
    Retrieved from "https://galaxy.demo.bluespice.com/w/index.php?title=MediaWiki:PDFCreator/StandardPDF&oldid=2253"
    No categories assignedEdit

    Wiki Bot

    Restore session
    Shows the table of contents and page metadata
    Metadata
    • Privacy policy
    • Terms of service
    • Disclaimer
    • Imprint
    • About
    • The content in this demo wiki was created with the help of AI, but it is maintained and reviewed by people like you.
    • Powered by MediaWiki
    • Powered by BlueSpice