poi-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 24490] New: - StyleRegion bug ?
Date Fri, 07 Nov 2003 12:09:27 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=24490>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=24490

StyleRegion bug ?

           Summary: StyleRegion bug ?
           Product: POI
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: HSSF
        AssignedTo: poi-dev@jakarta.apache.org
        ReportedBy: ricardcp_k2solution@libertypaulista.com.br


Hi. 

  I am using a stylesheet to generate excel reports with HSSF (Cocoon 2.1.1 and 
POI 1.10.o-dev). 
  In the stylesheet , I have a piece of code that is used to format data:

   ...

            <gmr:StyleRegion endCol="0" startCol="0" endRow="318" startRow="6">
               <gmr:Style Format="#,##0.00#" PatternColor="0000:0000:0000" 
Back="0000:0000:0000" Fore="0:0:0" Hidden="0" Locked="0" Indent="0" Shade="1" 
Orient="1" WrapText="1" VAlign="1" HAlign="2">
                  <gmr:Font StrikeThrough="0" Underline="0" Italic="0" Bold="0" 
Unit="10">Arial</gmr:Font>
                  <gmr:StyleBorder>
                     <gmr:Top Color="3333:3333:3333" Style="1" />
                     <gmr:Bottom Color="3333:3333:3333" Style="1" />
                     <gmr:Left Color="3333:3333:3333" Style="1" />
                     <gmr:Right Color="3333:3333:3333" Style="1" />
                     <gmr:Diagonal Style="0" />
                     <gmr:Rev-Diagonal Style="0" />
                  </gmr:StyleBorder>
               </gmr:Style>
            </gmr:StyleRegion>
            <gmr:StyleRegion endCol="8" startCol="1" endRow="318" startRow="6">
               <gmr:Style Format="#,##0.00#" PatternColor="0000:0000:0000" 
Back="0000:0000:0000" Fore="0:0:0" Hidden="0" Locked="0" Indent="0" Shade="1" 
Orient="1" WrapText="1" VAlign="1" HAlign="8">
                  <gmr:Font StrikeThrough="0" Underline="0" Italic="0" Bold="0" 
Unit="10">Arial</gmr:Font>
                  <gmr:StyleBorder>
                     <gmr:Top Color="3333:3333:3333" Style="1" />
                     <gmr:Bottom Color="3333:3333:3333" Style="1" />
                     <gmr:Left Color="3333:3333:3333" Style="1" />
                     <gmr:Right Color="3333:3333:3333" Style="1" />
                     <gmr:Diagonal Style="0" />
                     <gmr:Rev-Diagonal Style="0" />
                  </gmr:StyleBorder>
               </gmr:Style>
            </gmr:StyleRegion>

   ...


   The first StyleRegion, that begins and ends at column 0 works fine, but the 
second donĀ“t.
   The second StyleRegion worked fine just when I decreased the endRow to 255. 
   Is this a limitation?

Thanks

Ricardo

---------------------------------------------------------------------
To unsubscribe, e-mail: poi-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: poi-dev-help@jakarta.apache.org


Mime
View raw message