Debian Codegraph @

docs/devel/pdf_profiles.htm

raw symbols SCIP
1 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2 <html lang="en">
3 <head>
4 <meta content="text/html; charset=ISO-8859-15"
5 http-equiv="content-type">
6 <title>PDF templates</title>
7 <link rel="stylesheet" type="text/css" href="style/layout.css">
8 <link rel="shortcut icon" type="image/x-icon" href="images/favicon.ico">
9 </head>
10 <body>
11 <h1 style="text-align: center;">PDF templates<br>
12 </h1>
13 <br>
14 Every PDF structure is saved as a single file in <span
15 style="font-weight: bold;">config/pdf</span>. The
16 file extension is the account type (user, group, ...) plus ".xml" (e.g.
17 default.user.xml).<br>
18 <br>
19 <h2>Format</h2>
20 The root tag is <span style="font-weight: bold;">&lt;pdf&gt;</span>
21 with the attributes <span
22 style="font-weight: bold; font-style: italic;">filename</span> for the
23 logo and <span style="font-weight: bold; font-style: italic;">headline</span>
24 for the title.<br>
25 <br>
26 There are two types of subentries in &lt;pdf&gt;:<br>
27 <ul>
28 <li>sections</li>
29 <li>text<br>
30 </li>
31 </ul>
32 <h3>Sections:</h3>
33 Sections are parts of the PDF file where data from the account profiles
34 (e.g. LDAP attributes) is shown. Each section has a title and a list of
35 entries.<br>
36 <br>
37 The title is defined with the <span
38 style="font-weight: bold; font-style: italic;">name</span> attribute
39 inside the section tag. If the title begins with a "_" then LAM
40 interprets it as entry. This means that LAM will insert the value part
41 of this entry here.<br>
42 <br>
43 Each section has a list of subentries which are defined with the <span
44 style="font-weight: bold;">&lt;entry&gt;</span> tag. The have only one
45 attribute which is <span style="font-weight: bold;">name</span> and
46 contains the identifier of this entry.<br>
47 <br>
48 <h3>Text:</h3>
49 LAM allows to display a fixed text in the PDF which is defined with the
50 <span style="font-weight: bold;">&lt;text&gt;</span> tag. The text is
51 just written inside the tags.<br>
52 <br>
53 <br>
54 <br>
55 <span style="font-weight: bold;">Example:</span><br
56 style="font-weight: bold;">
57 <br>
58 &lt;pdf type="user" filename="printLogo.jpg" headline="LDAP Account
59 Manager"&gt;<br>
60 &nbsp;&nbsp;&nbsp; &lt;text&gt;This document includes your personal
61 account settings.&lt;/text&gt;<br>
62 &nbsp;&nbsp;&nbsp; &lt;section name="Personal User Infos"&gt;<br>
63 &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &lt;entry
64 name="inetOrgPerson_givenName" /&gt;<br>
65 &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &lt;entry name="inetOrgPerson_sn"
66 /&gt;<br>
67 &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &lt;entry
68 name="inetOrgPerson_street" /&gt;<br>
69 &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &lt;entry
70 name="inetOrgPerson_postalCode" /&gt;<br>
71 &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &lt;entry
72 name="inetOrgPerson_postalAddress" /&gt;<br>
73 &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &lt;entry
74 name="inetOrgPerson_mail" /&gt;<br>
75 &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &lt;entry
76 name="inetOrgPerson_telephoneNumber" /&gt;<br>
77 &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &lt;entry
78 name="inetOrgPerson_mobileTelephoneNumber" /&gt;<br>
79 &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &lt;entry
80 name="inetOrgPerson_facsimileTelephoneNumber" /&gt;<br>
81 &nbsp;&nbsp;&nbsp; &lt;/section&gt;<br>
82 &nbsp;&nbsp;&nbsp; &lt;section name="Unix User Settings"&gt;<br>
83 &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &lt;entry name="posixAccount_uid"
84 /&gt;<br>
85 &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &lt;entry
86 name="posixAccount_userPassword" /&gt;<br>
87 &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &lt;entry
88 name="posixAccount_primaryGroup" /&gt;<br>
89 &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &lt;entry
90 name="posixAccount_additionalGroups" /&gt;<br>
91 &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &lt;entry
92 name="posixAccount_homeDirectory" /&gt;<br>
93 &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &lt;entry
94 name="posixAccount_loginShell" /&gt;<br>
95 &nbsp;&nbsp;&nbsp; &lt;/section&gt;<br>
96 &lt;/pdf&gt;<br>
97 <br>
98 <br>
99 </body>
100 </html>