/usr/share/pyshared/z3c/rml/reference.pt is in python-z3c.rml 2.0.0-0ubuntu3.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 | <?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE document SYSTEM "rml.dtd">
<document
filename="rml-reference.pdf"
xmlns:tal="http://xml.zope.org/namespaces/tal"
>
<docinit>
<registerFont name="ZapfDingbats" faceName="ZapfDingbats"
encName="StandardEncoding"/>
</docinit>
<stylesheet>
<paraStyle
name="section-header"
fontName="Helvetica-Bold"
fontSize="36"
leading="42"
spaceAfter="30"
/>
<paraStyle
name="content"
fontName="Times-Roman"
fontSize="12"
spaceAfter="5"
/>
<paraStyle
name="deprecation"
fontName="Times-Roman"
fontSize="12"
textColor="red"
/>
<paraStyle
name="attribute-type-name"
fontName="Times-Bold"
fontSize="14"
spaceBefore="10"
spaceAfter="5"
keepWithNext="true"
/>
<paraStyle
name="element-name"
fontName="Times-Bold"
fontSize="14"
spaceBefore="10"
spaceAfter="5"
keepWithNext="true"
/>
<paraStyle
name="element-subtitle"
fontName="Times-Bold"
fontSize="12"
spaceBefore="10"
spaceAfter="5"
/>
<paraStyle
name="attribute-name"
fontName="Times-Roman"
fontSize="11"
leftIndent="0.5cm"
spaceBefore="5"
/>
<paraStyle
name="field-deprecation"
fontName="Times-Roman"
fontSize="10"
leftIndent="0.9cm"
textColor="red"
/>
<paraStyle
name="field-description"
fontName="Times-Roman"
fontSize="10"
leftIndent="0.9cm"
/>
<paraStyle
name="sub-directive"
fontName="Times-Roman"
fontSize="10"
leftIndent="0.5cm"
/>
<paraStyle
name="example-info"
fontName="Times-Roman"
fontSize="10"
leftIndent="0.5cm"
spaceAfter="5"
/>
<paraStyle
name="code"
fontName="Courier"
fontSize="10"
leftIndent="0.5cm"
/>
<blockTableStyle id="plain">
<blockLeftPadding length="0" />
</blockTableStyle>
</stylesheet>
<template
pageSize="A4"
allowSplitting="true"
title="z3c.RML Reference"
author="Zope Community">
<pageTemplate id="first-page">
<pageGraphics>
<setFont name="Helvetica" size="48" />
<drawCenteredString x="10.5cm" y="20cm">
z3c.RML Reference
</drawCenteredString>
<setFont name="Helvetica" size="24" />
<drawCenteredString x="10.5cm" y="18.5cm">
Version 2.0
</drawCenteredString>
</pageGraphics>
<frame id="main" x1="3cm" y1="2cm" width="17cm" height="25.7cm" />
</pageTemplate>
<pageTemplate id="main">
<frame id="main" x1="2cm" y1="2cm" width="17cm" height="25.7cm" />
</pageTemplate>
</template>
<story firstPageTemplate="first-page">
<setNextTemplate name="main" />
<nextPage />
<para style="section-header">
Introduction
</para>
<para style="content">
RML is a XML dialect for generating PDF files. Like HTML produces a page
within the browser, RML produces a PDF file. The RML processor uses the
ReportLab library to convert the RML text into a full PDF template.
</para>
<para style="content">
The original version of RML was developed by ReportLab, Inc. as a
commercial extension to the free ReportLab library. This original
version of RML is still available and supported by ReportLab, Inc. This
version of RML, z3c.RML, is a free implementation of the XML dialect
based on the available documentation. While it tries to keep some level
of compatibility with the original version of RML, it is intended to
provde a as clean and feature-rich API as possible.
</para>
<para style="content">
The contents of this document is auto-generated from the code itself and
should thus be very accurate and complete.
</para>
<nextPage />
<para style="section-header">
Attribute Types
</para>
<outlineAdd>Attribute Types</outlineAdd>
<para style="content">
This section list the types of attributes used for the attributes within
the RML elements.
</para>
<spacer length="0.5cm" />
<tal:block repeat="type context/types">
<para style="attribute-type-name" tal:content="type/name">
Attribute Name
</para>
<outlineAdd level="1" tal:content="type/name">Attribute Name</outlineAdd>
<para style="content" tal:content="type/description">
Attribute purpose and data description.
</para>
</tal:block>
<nextPage />
<para style="section-header">
Directives
</para>
<outlineAdd>Directives</outlineAdd>
<tal:block repeat="directive context/directives">
<para style="element-name" tal:content="directive/name">
Element Name
</para>
<outlineAdd level="1" tal:content="directive/name">
Element Name
</outlineAdd>
<bookmarkPage tal:attributes="name directive/id"/>
<para style="deprecation"
tal:condition="directive/deprecated">
<b>Deprecated:</b>
<tal:block tal:content="directive/reason">Reason</tal:block>
</para>
<para style="content" tal:content="directive/description">
What is this element doing?
</para>
<tal:block condition="directive/attributes">
<para style="element-subtitle">
<i>Attributes</i>
</para>
<tal:block repeat="attr directive/attributes">
<para style="attribute-name">
<b tal:content="attr/name">para</b>
<tal:block condition="attr/required">
<i>(required)</i>
</tal:block>
-
<tal:block content="attr/type">Type</tal:block>
</para>
<para style="field-deprecation"
tal:condition="attr/deprecated">
<b>Deprecated:</b>
<tal:block tal:content="attr/reason">Reason</tal:block>
</para>
<para style="field-description"
tal:condition="attr/title">
<i tal:content="attr/title">Title</i>:
<tal:block tal:content="attr/description">Description</tal:block>
</para>
</tal:block>
</tal:block>
<tal:block define="attr directive/content"
condition="directive/content">
<para style="element-subtitle">
<i>Content</i>
</para>
<para style="attribute-name">
<tal:block content="attr/type">Type</tal:block>
<tal:block condition="attr/required">
<i>(required)</i>
</tal:block>
</para>
<para style="field-description"
tal:condition="attr/title">
<i tal:content="attr/title">Title</i>:
<tal:block tal:content="attr/description">Description</tal:block>
</para>
</tal:block>
<tal:block condition="directive/sub-directives">
<para style="element-subtitle">
<i>Sub-Directives</i>
</para>
<link destination=""
tal:repeat="directive directive/sub-directives"
tal:attributes="destination directive/id">
<para style="sub-directive">
<font color="blue">
<b tal:content="directive/name">para</b>
</font>
<i>
(<tal:block replace="directive/occurence">ZeroOrMore</tal:block>)
</i>
<font color="red" tal:condition="directive/deprecated">
<i>(Deprecated)</i>
</font>
</para>
</link>
</tal:block>
<tal:block condition="directive/examples">
<para style="element-subtitle">
<i>Examples</i>
</para>
<tal:block repeat="example directive/examples">
<xpre style="code" tal:content="structure example/code">
Example Code
</xpre>
<blockTable style="plain">
<tr>
<td>
<para style="example-info">
(Extracted from file
<link href="" tal:attributes="href example/rmlurl">
<i tal:content="example/filename">File</i>,
</link>
line <tal:block replace="example/line" />)
</para>
</td>
<td>
<para>
<link href="" tal:attributes="href example/pdfurl">
<font color="blue">[PDF]</font>
</link>
</para>
</td>
</tr>
</blockTable>
</tal:block>
</tal:block>
</tal:block>
</story>
</document>
|