Difference between revisions of "PDF Writer Custom Tags"

From SmartWiki
Jump to: navigation, search
Line 1: Line 1:
 +
 +
You can now add header, footers and table of contents to your web page view documents.
 +
 
<pre>
 
<pre>
  
Line 51: Line 54:
 
</pre>
 
</pre>
  
[[Category:System Management]][[Category:PDF Writer]]
+
[[Category:System Management]][[Category:PDF Writer]][[Category:Custom Fields]]

Revision as of 21:43, 4 December 2008

You can now add header, footers and table of contents to your web page view documents.


<html>

<head> <title></title> </head>

<body> 

<pd4ml-display:none>

<pd4ml:toc>

<pd4ml:page.break> 

<pd4ml:page.header>test  $[title] </pd4ml:page.header>

<pd4ml:page.footer> first page footer. page $[page] of $[total]</pd4ml:page.footer> 

<h1>title 1</h1>

<h2>subtitle 1</h2>

<h3>subsubtitle 1</h3>

First page content 

<pd4ml:page.break> 

<pd4ml:page.header>header text</pd4ml:page.header>

<pd4ml:page.footer> second page footer. page $[page] of $[total]</pd4ml:page.footer> 

<h1>title 2</h1>

Second page content 

<pd4ml:page.break> 

<pd4ml:page.header>header text</pd4ml:page.header>

<pd4ml:page.footer> third page footer. page $[page] of $[total]</pd4ml:page.footer> 

<h1>title 3</h1>

Third page content 

</body>

</html>