xmlgraphics-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From build...@apache.org
Subject svn commit: r840665 - in /websites/staging/xmlgraphics/trunk/content: ./ fop/dev/design/properties.html
Date Tue, 04 Dec 2012 08:29:01 GMT
Author: buildbot
Date: Tue Dec  4 08:29:00 2012
New Revision: 840665

Log:
Staging update by buildbot for xmlgraphics

Modified:
    websites/staging/xmlgraphics/trunk/content/   (props changed)
    websites/staging/xmlgraphics/trunk/content/fop/dev/design/properties.html

Propchange: websites/staging/xmlgraphics/trunk/content/
------------------------------------------------------------------------------
--- cms:source-revision (original)
+++ cms:source-revision Tue Dec  4 08:29:00 2012
@@ -1 +1 @@
-1416811
+1416814

Modified: websites/staging/xmlgraphics/trunk/content/fop/dev/design/properties.html
==============================================================================
--- websites/staging/xmlgraphics/trunk/content/fop/dev/design/properties.html (original)
+++ websites/staging/xmlgraphics/trunk/content/fop/dev/design/properties.html Tue Dec  4 08:29:00
2012
@@ -433,12 +433,12 @@ $(document).ready(function () {
 <p>Because the properties defined in the standard are basically static, FOP currently
builds the source code for the related Property classes from an XML data file. All properties
are specified in src/codegen/foproperties.xml. The related classes are created automatically
during the build process by applying an XSLT stylesheet to the foproperties.xml file.</p>
 <h3 id="generic-properties-wzxhzdk29wzxhzdk30">Generic properties <a id="generic"></a></h3>
 <p>In the properties xml files, one can define generic property definitions which can
serve as a basis for individual property definitions. There are currently several generic
properties defined in foproperties.xml. An example is GenericColor, which defines basic properties
for all ColorType properties. Since the generic specification doesn't include the inherited
or default elements, these should be set in each property which is based on GenericColor.
Here is an example:</p>
-<div class="codehilite"><pre> `<span class="nt">&lt;property</span>
<span class="na">type=</span><span class="s">&#39;generic&#39;</span><span
class="nt">&gt;</span>
-    <span class="nt">&lt;name&gt;</span>background-color<span class="nt">&lt;/name&gt;</span>
-    <span class="nt">&lt;use-generic&gt;</span>GenericColor<span class="nt">&lt;/use-generic&gt;</span>
-    <span class="nt">&lt;inherited&gt;</span>false<span class="nt">&lt;/inherited&gt;</span>
-    <span class="nt">&lt;default&gt;</span>transparent<span class="nt">&lt;/default&gt;</span>
-  <span class="nt">&lt;/property&gt;</span>`
+<div class="codehilite"><pre><span class="nt">&lt;property</span>
<span class="na">type=</span><span class="s">&#39;generic&#39;</span><span
class="nt">&gt;</span>
+  <span class="nt">&lt;name&gt;</span>background-color<span class="nt">&lt;/name&gt;</span>
+  <span class="nt">&lt;use-generic&gt;</span>GenericColor<span class="nt">&lt;/use-generic&gt;</span>
+  <span class="nt">&lt;inherited&gt;</span>false<span class="nt">&lt;/inherited&gt;</span>
+  <span class="nt">&lt;default&gt;</span>transparent<span class="nt">&lt;/default&gt;</span>
+<span class="nt">&lt;/property&gt;</span>
 </pre></div>
 
 



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: commits-help@xmlgraphics.apache.org


Mime
View raw message