You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@poi.apache.org by Jim Cobban <jc...@magma.ca> on 2002/12/10 18:40:32 UTC

Bug in RowRecordsAggregate

In the definition of the class RowRecordsAggregate there appears to be a
bug.  The member sid is not declared static.  At least when I attempt to
determine whether or not the record I have received is an instance of
RowRecordsAggregate I receive the following error message:

ReadXls.java:157: non-static variable sid cannot be referenced from a static
context
            case RowRecordsAggregate.sid:
                                    ^

Do I have to retrieve the source and recompile this class in order to
identify this record?

Jim Cobban   jcobban@magma.ca
34 Palomino Dr.
Kanata, ON, CANADA
K2M 1M1
+1-613-592-9438


colors in header cells

Posted by Markus Wiese <wi...@datenwerker.de>.
Hello POI community!

just got blown away by the powerful combination of 
XML/XSLT/HSSFSerializer via cocoon, hacking my 
stylesheets straight away, I would like to know, if
there is some secret rule to using colors within a StyleRegion.
At the moment the only color I get displaying is: 0:CCCC:FFFF
, FFFF:FFFF:FFFF and 0:0:0.
Normal?

markus


Re: Bug in RowRecordsAggregate

Posted by "Andrew C. Oliver" <ac...@apache.org>.
You have to count the number of RowRecord objects.   This is "event 
based" meaning its
as it happens.  

Jim Cobban wrote:

>----- Original Message -----
>From: "Andrew C. Oliver" <ac...@apache.org>
>Subject: Re: Bug in RowRecordsAggregate
>
>
>  
>
>>You can't recieve an instance of any aggregate.
>>    
>>
>
>When I got the source down and looked inside the class I could see that.
>That just leaves the question of how I can determine the approximate number
>of rows in the spreadsheet, which is why I was looking at the class in the
>first place.
>
>
>--
>To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
>For additional commands, e-mail: <ma...@jakarta.apache.org>
>
>
>  
>




Re: Bug in RowRecordsAggregate

Posted by Jim Cobban <jc...@magma.ca>.
----- Original Message -----
From: "Andrew C. Oliver" <ac...@apache.org>
Subject: Re: Bug in RowRecordsAggregate


> You can't recieve an instance of any aggregate.

When I got the source down and looked inside the class I could see that.
That just leaves the question of how I can determine the approximate number
of rows in the spreadsheet, which is why I was looking at the class in the
first place.


Re: Bug in RowRecordsAggregate

Posted by "Andrew C. Oliver" <ac...@apache.org>.
You can't recieve an instance of any aggregate.

Jim Cobban wrote:

>In the definition of the class RowRecordsAggregate there appears to be a
>bug.  The member sid is not declared static.  At least when I attempt to
>determine whether or not the record I have received is an instance of
>RowRecordsAggregate I receive the following error message:
>
>ReadXls.java:157: non-static variable sid cannot be referenced from a static
>context
>            case RowRecordsAggregate.sid:
>                                    ^
>
>Do I have to retrieve the source and recompile this class in order to
>identify this record?
>
>Jim Cobban   jcobban@magma.ca
>34 Palomino Dr.
>Kanata, ON, CANADA
>K2M 1M1
>+1-613-592-9438
>
>
>--
>To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
>For additional commands, e-mail: <ma...@jakarta.apache.org>
>
>
>  
>