You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-commits@xmlgraphics.apache.org by ph...@apache.org on 2004/01/24 23:24:14 UTC

cvs commit: xml-fop/src/java/org/apache/fop/render/rtf/rtflib/rtfdoc RtfListStyleNumber.java

pherweg     2004/01/24 14:24:14

  Modified:    src/java/org/apache/fop/render/rtf/rtflib/rtfdoc
                        RtfListStyleNumber.java
  Log:
  fixed wrong datatype in overriden method
  
  Revision  Changes    Path
  1.3       +10 -10    xml-fop/src/java/org/apache/fop/render/rtf/rtflib/rtfdoc/RtfListStyleNumber.java
  
  Index: RtfListStyleNumber.java
  ===================================================================
  RCS file: /home/cvs/xml-fop/src/java/org/apache/fop/render/rtf/rtflib/rtfdoc/RtfListStyleNumber.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- RtfListStyleNumber.java	24 Jan 2004 16:09:48 -0000	1.2
  +++ RtfListStyleNumber.java	24 Jan 2004 22:24:14 -0000	1.3
  @@ -70,16 +70,16 @@
        * 
        * @see org.apache.fop.render.rtf.rtflib.rtfdoc.RtfListStyle#writeListPrefix()
        */
  -    public void writeListPrefix(RtfList list)
  +    public void writeListPrefix(RtfListItem item)
       throws IOException {
  -        list.writeControlWord("pnlvlbody");
  -        list.writeControlWord("ilvl0");
  -        list.writeOneAttribute(RtfListTable.LIST_NUMBER, "0");
  -        list.writeControlWord("pndec");
  -        list.writeOneAttribute("pnstart", new Integer(1));
  -        list.writeOneAttribute("pnindent",
  -                list.attrib.getValue(RtfListTable.LIST_INDENT));
  -        list.writeControlWord("pntxta.");
  +        item.writeControlWord("pnlvlbody");
  +        item.writeControlWord("ilvl0");
  +        item.writeOneAttribute(RtfListTable.LIST_NUMBER, "0");
  +        item.writeControlWord("pndec");
  +        item.writeOneAttribute("pnstart", new Integer(1));
  +        item.writeOneAttribute("pnindent",
  +                item.attrib.getValue(RtfListTable.LIST_INDENT));
  +        item.writeControlWord("pntxta.");
       }
       
       /**
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: fop-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: fop-cvs-help@xml.apache.org