-
-
Notifications
You must be signed in to change notification settings - Fork 157
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
Cell.copyCellStyle(Cell) does only copy some part of the style #51
Comments
Hi, the left border is not set if it was null, because only the first cell in a row should have a left border. Thanks, Dries |
Thank you for your reply. For my use case where I defined two cells with a seperating border in the middle it would be great to have a copy Method that actually copies all the borders of the cell. I also have another question unrelated to this one: |
The draw method should return the bottom position of your table. You should be able to work with that. |
float posY = table.draw(); |
Oh. |
Thank you btw for the fast responses |
Well, there's multiple efforts going on :
Any help is always appreciated. |
I think that the version 1.4 on Maven doesn't contain the fix on This library is fantastic. Thanks, |
The current implementation copies the border style for all borders from the top border of the source cell but preserves the left border if it was null.
Also it doesn't copy the font size but the font type and color.
I think that's not intuitive. Why not copy all the border styles seperately. Why not copy the font size?
The name of the Method suggests that it copies the style of the cell, so it should actually do this.
I wonder why this is. Is this some sort of historical behavior?
The text was updated successfully, but these errors were encountered: