You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@poi.apache.org by sa...@apache.org on 2003/06/05 04:00:50 UTC

cvs commit: jakarta-poi/src/types/styles hdftype.xsl

sackley     2003/06/04 19:00:50

  Modified:    src/types/styles hdftype.xsl
  Log:
  Added stuff for writing
  
  Revision  Changes    Path
  1.9       +8 -0      jakarta-poi/src/types/styles/hdftype.xsl
  
  Index: hdftype.xsl
  ===================================================================
  RCS file: /home/cvs/jakarta-poi/src/types/styles/hdftype.xsl,v
  retrieving revision 1.8
  retrieving revision 1.9
  diff -u -r1.8 -r1.9
  --- hdftype.xsl	30 Apr 2003 04:39:07 -0000	1.8
  +++ hdftype.xsl	5 Jun 2003 02:00:50 -0000	1.9
  @@ -100,6 +100,14 @@
   </xsl:for-each>
       }
   
  +    public void serialize(byte[] data, int offset)
  +    {
  +<xsl:variable name="fieldIterator" select="field:new()"/>
  +<xsl:for-each select="//fields/field">
  +<xsl:text>        </xsl:text><xsl:value-of select="field:serialiseEncoder($fieldIterator,position(),@name,@size,@type)"/>;
  +</xsl:for-each>
  +    }
  +
       public String toString()
       {
           StringBuffer buffer = new StringBuffer();
  
  
  

Re: cvs commit: jakarta-poi/src/types/styles hdftype.xsl

Posted by "Andrew C. Oliver" <ac...@apache.org>.
Please update the website as well.  HSSF/POI was a success because of our
good documentation.

Also post on the poi news site.

-andy

On 6/4/03 10:00 PM, "sackley@apache.org" <sa...@apache.org> wrote:

> sackley     2003/06/04 19:00:50
> 
> Modified:    src/types/styles hdftype.xsl
> Log:
> Added stuff for writing
> 
> Revision  Changes    Path
> 1.9       +8 -0      jakarta-poi/src/types/styles/hdftype.xsl
> 
> Index: hdftype.xsl
> ===================================================================
> RCS file: /home/cvs/jakarta-poi/src/types/styles/hdftype.xsl,v
> retrieving revision 1.8
> retrieving revision 1.9
> diff -u -r1.8 -r1.9
> --- hdftype.xsl    30 Apr 2003 04:39:07 -0000    1.8
> +++ hdftype.xsl    5 Jun 2003 02:00:50 -0000    1.9
> @@ -100,6 +100,14 @@
>  </xsl:for-each>
>      }
>  
> +    public void serialize(byte[] data, int offset)
> +    {
> +<xsl:variable name="fieldIterator" select="field:new()"/>
> +<xsl:for-each select="//fields/field">
> +<xsl:text>        </xsl:text><xsl:value-of
> 
select="field:serialiseEncoder($fieldIterator,position(),@name,@size,@type)"/>>
;
> +</xsl:for-each>
> +    }
> +
>      public String toString()
>      {
>          StringBuffer buffer = new StringBuffer();
> 
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: poi-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: poi-dev-help@jakarta.apache.org
> 

-- 
Andrew C. Oliver
http://www.superlinksoftware.com/poi.jsp
Custom enhancements and Commercial Implementation for Jakarta POI

http://jakarta.apache.org/poi
For Java and Excel, Got POI?