ExcelGen icon indicating copy to clipboard operation
ExcelGen copied to clipboard

README, example for "makeCellStyle" - wrong parameter name for the function makeAlignment

Open v-hlotau opened this issue 9 months ago • 1 comments

Just a small documentation issue. ;)

I think there's a wrong parameter name for the function makeAlignment in README.md, line 1967 (Example of makeCellStyle). Should be p_horizontal instead of horizontal.

Lines 1962 - 1968:

1962 >  cellStyle := ExcelGen.makeCellStyle(
1963 >                 p_ctxId     => ctxId
1964 >               , p_font      => ExcelGen.makeFont('Calibri',11,true)
1965 >               , p_fill      => ExcelGen.makePatternFill('solid','YellowGreen')
1966 >               , p_border    => ExcelGen.makeBorder('thick','red')
1967 >               , p_alignment => ExcelGen.makeAlignment(horizontal => 'center')
1968 >               );

v-hlotau avatar Apr 28 '25 14:04 v-hlotau

Thanks, I'll fix that as part of the upcoming release (image-support).

mbleron avatar Apr 28 '25 18:04 mbleron

Done in v4.4.0.

mbleron avatar May 01 '25 13:05 mbleron