E-PC: PSSpreadsheet RangeApplyStyle Method Does Not Apply Styles Consistently. It Converts Styled Cells with a Background Color to Cells with Black Background Fill. Also, Border Styling Is Ignored.
(Doc ID 2710719.1)
Last updated on AUGUST 26, 2022
Applies to:PeopleSoft Enterprise PT PeopleTools - Version 8.58 to 8.59 [Release 8.4]
Information in this document applies to any platform.
The PSSpreadsheet RangeApplyStyle method does not apply styles consistently. It converts styled cells with a background color to cells with black background fill. Border styling is ignored.
The issue can be reproduced at will with the following steps:
1. Create a spreadsheet that has one worksheet named PSSTYLESHEET.
2. In that worksheet, enter the styles to be used in the final excel file. Set some of the styled cells with borders and/or background color.
3. Execute PeopleCode that generates cells based on the styles defined in the PSSTYLESHEET worksheet.
Sample method below is provided as reference:
4. Note that the resulting cells are not styled as expected. Cells with border got filled with black background color and the borders are ignored.
To view full details, sign in with your My Oracle Support account.
Don't have a My Oracle Support account? Click to get started!
In this Document