https://issues.apache.org/bugzilla/show_bug.cgi?id=48344

Jeff Tilby <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Version|3.8-dev                     |3.10-FINAL
                 OS|Windows XP                  |Windows 7

--- Comment #16 from Jeff Tilby <[email protected]> ---
I have also had a problem with setRowStyle. It sets the style on the row OK but
all the cells on the row have their style set to "Default", overriding the row
style.

e.g. If save as XML:

<?xml version="1.0"?>
<?mso-application progid="Excel.Sheet"?>
<Workbook xmlns="urn:schemas-microsoft-com:office:spreadsheet"
 xmlns:o="urn:schemas-microsoft-com:office:office"
 xmlns:x="urn:schemas-microsoft-com:office:excel"
 xmlns:ss="urn:schemas-microsoft-com:office:spreadsheet"
 xmlns:html="http://www.w3.org/TR/REC-html40";>
 <DocumentProperties xmlns="urn:schemas-microsoft-com:office:office">
  <Author>Fred Bloggs</Author>
  <LastAuthor>tecdvp3</LastAuthor>
  <Created>2014-09-24T12:58:38Z</Created>
  <LastSaved>2014-09-24T12:58:38Z</LastSaved>
  <Version>14.00</Version>
 </DocumentProperties>
 <OfficeDocumentSettings xmlns="urn:schemas-microsoft-com:office:office">
  <AllowPNG/>
 </OfficeDocumentSettings>
 <ExcelWorkbook xmlns="urn:schemas-microsoft-com:office:excel">
  <WindowHeight>9150</WindowHeight>
  <WindowWidth>14940</WindowWidth>
  <WindowTopX>360</WindowTopX>
  <WindowTopY>270</WindowTopY>
  <ProtectStructure>False</ProtectStructure>
  <ProtectWindows>False</ProtectWindows>
 </ExcelWorkbook>
 <Styles>
  <Style ss:ID="Default" ss:Name="Normal">
   <Alignment ss:Vertical="Bottom"/>
   <Borders/>
   <Font ss:FontName="Arial"/>
   <Interior/>
   <NumberFormat/>
   <Protection/>
  </Style>
  <Style ss:ID="s21">
   <Font ss:FontName="Eurostyle" ss:Bold="1" ss:Underline="Single"/>
  </Style>
 </Styles>
 <Worksheet ss:Name="Hello World">
  <Table ss:ExpandedColumnCount="2" ss:ExpandedRowCount="3" x:FullColumns="1"
   x:FullRows="1">
   <Column ss:AutoFitWidth="0" ss:Width="102.75"/>
   <Column ss:AutoFitWidth="0" ss:Width="204.75"/>
   <Row ss:StyleID="s21">
    <Cell ss:StyleID="Default"><Data ss:Type="String">Col 1</Data></Cell>
    <Cell ss:StyleID="Default"><Data ss:Type="String">Col 2</Data></Cell>
   </Row>
   <Row>
    <Cell><Data ss:Type="String">Hello</Data></Cell>
    <Cell><Data ss:Type="String">World</Data></Cell>
   </Row>
   <Row>
    <Cell><Data ss:Type="String">&#45;&#45;&#45;&#45;-</Data></Cell>
    <Cell><Data ss:Type="String">&#45;&#45;&#45;&#45;-</Data></Cell>
   </Row>
  </Table>
  <WorksheetOptions xmlns="urn:schemas-microsoft-com:office:excel">
   <Print>
    <ValidPrinterInfo/>
    <HorizontalResolution>300</HorizontalResolution>
    <VerticalResolution>300</VerticalResolution>
   </Print>
   <Selected/>
   <ProtectObjects>False</ProtectObjects>
   <ProtectScenarios>False</ProtectScenarios>
  </WorksheetOptions>
 </Worksheet>
</Workbook>

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to