Browse Source

updates for ext, and message handler changes


git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@194575 13f79535-47bb-0310-9956-ffa450edef68
pull/30/head
Keiron Liddle 22 years ago
parent
commit
dcea2c7dd4
4 changed files with 12 additions and 18 deletions
  1. 3
    14
      build.xml
  2. 0
    1
      src/codegen/allprops.xml
  3. 9
    2
      src/codegen/foproperties.xml
  4. 0
    1
      src/codegen/properties.xsl

+ 3
- 14
build.xml View File

@@ -183,9 +183,9 @@ Sometimes ant gives out this warnings, but the build is finished without any pro
<echo message="------------------- ${Name} ${version} [${year}] ----------------"/>

<property name="build.compiler" value="classic"/>
<property name="debug" value="off"/>
<property name="debug" value="on"/>
<property name="optimize" value="on"/>
<property name="deprecation" value="off"/>
<property name="deprecation" value="on"/>

<property name="src.dir" value="./src"/>
<property name="src.codegen" value="./src/codegen"/>
@@ -233,7 +233,6 @@ Sometimes ant gives out this warnings, but the build is finished without any pro
<property name="src.propmaker.xsl" value="${src.codegen}/propmaker.xsl"/>
<property name="foproperties.xml" value="${build.codegen}/foproperties.xml"/>
<property name="colorkw.xml" value="${build.codegen}/colorkw.xml"/>
<property name="extproperties.xml" value="${build.codegen}/extproperties.xml"/>
<property name="allprops.xml" value="${build.codegen}/allprops.xml"/>

<property name="properties.xsl" value="${build.codegen}/properties.xsl"/>
@@ -408,7 +407,7 @@ Sometimes ant gives out this warnings, but the build is finished without any pro
<!-- generate the java files from xml resources -->
<echo message="Generating the java files from xml resources"/>
<xslt infile="${allprops.xml}" xsltfile="${genconst.xsl}"
dependent="${foproperties.xml},${extproperties.xml},${colorkw.xml}"
dependent="${foproperties.xml},${colorkw.xml}"
outfile="${build.src}/${replacestring}/fo/properties/Constants.java" smart="yes"/>

<xslt infile="${foproperties.xml}" xsltfile="${properties.xsl}"
@@ -421,16 +420,6 @@ Sometimes ant gives out this warnings, but the build is finished without any pro
dependent="${propinc.xsl}"
outfile="${build.src}/${replacestring}/fo/properties/foenums_${ignore_this}" smart="yes"/>

<xslt infile="${extproperties.xml}" xsltfile="${properties.xsl}"
dependent="${propinc.xsl}"
outfile="${build.src}/${replacestring}/fo/properties/ext_${ignore_this}" smart="yes"/>
<xslt infile="${extproperties.xml}" xsltfile="${propmap.xsl}"
dependent="${propinc.xsl}"
outfile="${build.src}/${replacestring}/fo/properties/ExtensionPropertyMapping.java" smart="yes"/>
<xslt infile="${extproperties.xml}" xsltfile="${enumgen.xsl}"
dependent="${propinc.xsl}"
outfile="${build.src}/${replacestring}/fo/properties/extenums_${ignore_this}" smart="yes"/>

<xslt infile="${charlist.xml}" xsltfile="${charlist.xsl}"
outfile="${build.src}/${replacestring}/render/pdf/CodePointMapping.java" smart="yes"/>
<xslt infile="${Courier.xml}" xsltfile="${fontfile.xsl}"

+ 0
- 1
src/codegen/allprops.xml View File

@@ -1,4 +1,3 @@
<allprops>
<propfile>foproperties.xml</propfile>
<propfile>extproperties.xml</propfile>
</allprops>

+ 9
- 2
src/codegen/foproperties.xml View File

@@ -1288,13 +1288,20 @@
<property>
<name>color-profile-name</name>
<inherited>false</inherited>
<datatype>ToBeImplemented</datatype>
<datatype>String</datatype>
<default></default>
</property>
<property>
<name>rendering-intent</name>
<inherited>false</inherited>
<datatype>ToBeImplemented</datatype>
<datatype>Enum</datatype>
<enumeration>
<value const="AUTO">auto</value>
<value const="PERCEPTUAL">perceptual</value>
<value const="RELATIVE_COLOMETRIC">relative-colorimetric</value>
<value const="SATURATION">saturation</value>
<value const="ABSOLUTE_COLORMETRIC">absolute-colorimetric</value>
</enumeration>
<default>auto</default>
</property>


+ 0
- 1
src/codegen/properties.xsl View File

@@ -211,7 +211,6 @@ import java.util.Hashtable;
import org.apache.fop.datatypes.*;
import org.apache.fop.fo.*;
import org.apache.fop.apps.FOPException;
import org.apache.fop.messaging.MessageHandler;

public class <xsl:value-of select="$classname"/> extends <xsl:value-of select="$superclass"/><xsl:value-of select="$enumconst"/> {


Loading…
Cancel
Save