cvs commit: xml-fop/src/codegen properties.xsl

2004-01-03 Thread gmazza
gmazza  2004/01/03 21:42:04

  Modified:src/codegen properties.xsl
  Log:
  Fix to remove unnecessary imports of Constants interface.
  
  Revision  ChangesPath
  1.25  +6 -2  xml-fop/src/codegen/properties.xsl
  
  Index: properties.xsl
  ===
  RCS file: /home/cvs/xml-fop/src/codegen/properties.xsl,v
  retrieving revision 1.24
  retrieving revision 1.25
  diff -u -r1.24 -r1.25
  --- properties.xsl31 Dec 2003 01:41:46 -  1.24
  +++ properties.xsl4 Jan 2004 05:42:03 -   1.25
  @@ -311,7 +311,7 @@
   
   
 package org.apache.fop.fo.properties;
  -import org.apache.fop.fo.Constants;
  +  
   
 
   
  @@ -338,6 +338,10 @@
   
   import org.apache.fop.apps.FOPException;
 
  +  
  +
  +import org.apache.fop.fo.Constants;
  +
 
   
   public class 
  
  
  

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



cvs commit: xml-fop/src/codegen properties.xsl

2001-10-14 Thread klease

klease  01/10/14 13:29:12

  Modified:src/codegen properties.xsl
  Log:
  Fix a bug in initializing compound properties like inline-progression-dimension from 
their 'corresponding' properties
  
  Revision  ChangesPath
  1.13  +3 -1  xml-fop/src/codegen/properties.xsl
  
  Index: properties.xsl
  ===
  RCS file: /home/cvs/xml-fop/src/codegen/properties.xsl,v
  retrieving revision 1.12
  retrieving revision 1.13
  diff -u -r1.12 -r1.13
  --- properties.xsl2001/09/21 21:42:08 1.12
  +++ properties.xsl2001/10/14 20:29:12 1.13
  @@ -502,7 +502,9 @@
 
 subprop= propertyList.getExplicitOrShorthand(sbExpr.toString());
 
  -  setSubprop(p, "", subprop);
  +  if (subprop != null) {
  +setSubprop(p, "", subprop);
  +  }
 
 
 return p;
  
  
  

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




cvs commit: xml-fop/src/codegen properties.xsl

2001-09-21 Thread klease

klease  01/09/21 14:42:08

  Modified:src/codegen properties.xsl
  Log:
  Add support for mapping multiple keywords to the same constant in enumeration/value. 
Remove commented out stuff.
  
  Revision  ChangesPath
  1.12  +17 -21xml-fop/src/codegen/properties.xsl
  
  Index: properties.xsl
  ===
  RCS file: /home/cvs/xml-fop/src/codegen/properties.xsl,v
  retrieving revision 1.11
  retrieving revision 1.12
  diff -u -r1.11 -r1.12
  --- properties.xsl2001/03/04 21:23:35 1.11
  +++ properties.xsl2001/09/21 21:42:08 1.12
  @@ -9,7 +9,7 @@
   
   
   
  -Do 
  +
  
   
   
  @@ -44,7 +44,9 @@
   
   public Property checkEnumValues(String value) {
   
  -  if (value.equals("")) { return s_prop; }
  +  
  +  
  +  
   
return super.checkEnumValues(value);
   }
  @@ -62,12 +64,6 @@
 
   }
   protected String checkValueKeywords(String keyword) {
  -
 String value = (String)s_htKeywords.get(keyword);
 if (value == null) {
return super.checkValueKeywords(keyword);
  @@ -442,17 +438,6 @@
  }
   
   
  -
  -
   
   
   
  @@ -535,8 +520,6 @@
listprop = (ListProperty)propertyList.getExplicit("");
if (listprop != null) {
  // Get a parser for the shorthand to set the individual properties
  -
  ShorthandParser shparser = new (listprop);
p = shparser.getValueForProperty(getPropName(), this, propertyList);
}
  @@ -593,5 +576,18 @@
   
   
   
  +
  +
  +   
  +   
  +   
  +  if (value.equals("")) { return 
s_prop; }
  +
  +   
  +
  +
  +
   
   
  
  
  

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]