klease      01/11/09 14:15:45

  Modified:    src/org/apache/fop/render/xml XMLRenderer.java
  Log:
  Rename Region to RegionReference in package area
  
  Revision  Changes    Path
  1.32      +7 -7      xml-fop/src/org/apache/fop/render/xml/XMLRenderer.java
  
  Index: XMLRenderer.java
  ===================================================================
  RCS file: /home/cvs/xml-fop/src/org/apache/fop/render/xml/XMLRenderer.java,v
  retrieving revision 1.31
  retrieving revision 1.32
  diff -u -r1.31 -r1.32
  --- XMLRenderer.java  2001/11/09 11:32:42     1.31
  +++ XMLRenderer.java  2001/11/09 22:15:45     1.32
  @@ -1,5 +1,5 @@
   /*
  - * $Id: XMLRenderer.java,v 1.31 2001/11/09 11:32:42 keiron Exp $
  + * $Id: XMLRenderer.java,v 1.32 2001/11/09 22:15:45 klease Exp $
    * Copyright (C) 2001 The Apache Software Foundation. All rights reserved.
    * For details on use and redistribution please refer to the
    * LICENSE file included with these sources.
  @@ -212,24 +212,24 @@
           if (port != null) {
               writeStartTag("<regionViewport rect=\"" +
                             createString(port.getViewArea()) + "\">");
  -            Region region = port.getRegion();
  -            if (region.getRegionClass() == Region.BEFORE) {
  +            RegionReference region = port.getRegion();
  +            if (region.getRegionClass() == RegionReference.BEFORE) {
                   writeStartTag("<regionBefore>");
                   renderRegion(region);
                   writeEndTag("</regionBefore>");
  -            } else if (region.getRegionClass() == Region.START) {
  +            } else if (region.getRegionClass() == RegionReference.START) {
                   writeStartTag("<regionStart>");
                   renderRegion(region);
                   writeEndTag("</regionStart>");
  -            } else if (region.getRegionClass() == Region.BODY) {
  +            } else if (region.getRegionClass() == RegionReference.BODY) {
                   writeStartTag("<regionBody>");
                   renderBodyRegion((BodyRegion) region);
                   writeEndTag("</regionBody>");
  -            } else if (region.getRegionClass() == Region.END) {
  +            } else if (region.getRegionClass() == RegionReference.END) {
                   writeStartTag("<regionEnd>");
                   renderRegion(region);
                   writeEndTag("</regionEnd>");
  -            } else if (region.getRegionClass() == Region.AFTER) {
  +            } else if (region.getRegionClass() == RegionReference.AFTER) {
                   writeStartTag("<regionAfter>");
                   renderRegion(region);
                   writeEndTag("</regionAfter>");
  
  
  

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

Reply via email to