-
Notifications
You must be signed in to change notification settings - Fork 3.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
support justifyLastLine #4373
support justifyLastLine #4373
Conversation
You will need to fix the Phpstan problems and the unit tests that broke as a result of your change. Then you need to make sure that the new property in Alignment is used when calculating the alignment hash code. Then you need to add some tests to demonstrate that your change is working - at a minimum, set the new property in some cell on a spreadsheet (and leave it unset in other cells), write out the spreadsheet, read it back in, and confirm that the property is set or not as desired. |
I'd fix the Phpstan problems and the unit tests. |
Good work on correcting the earlier problems. You still need to include the new field when generating the hash code for Alignment, and to add unit test(s). |
Excuse me, but which file should I add the test to? |
Despite the number of changes I've requested, you're in pretty good shape. I expect this will be ready to go soon. |
Thank you for your contribution. |
This is:
Checklist:
Why this change is needed?
justifyLastLine” is a flag used for the ‘Justify Distributed’ option, which is enabled only when the value of ‘Horizontal’ in the EXCEL setting ‘FormatCells’ is ‘Distributed’. When the option is enabled, an indent of a certain width is added before and after the text in the cell.
This option is often used in Japanese-speaking countries.