-
Notifications
You must be signed in to change notification settings - Fork 661
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Table formatting options set to default on empty cells #20
Comments
Thanks for reporting this! Turns out, this is feature from Microsoft (the Apple Slides app formats all cells uniformly). The exact same code is generated for each of the table cells, however, since I was using an empty string when the cell was null, blank, etc., PPT just used it's default (?) of Arial 18pt. I've updated the |
If I empty a cell in PowerPoint it does remove the styling, but with a table created and styled in PowerPoint itself it doesn't. I guess you format the tables in a different way than PowerPoint does it. Adding a space while a little annoying is a fine solution I guess. |
I have the same problem, but still when i put empty space " " or "\u00A0" doesnt matter what coding for space styling on this cell is removed |
Hi @Szymon-dziewonski , Can you tell me which version of PowerPoint you are using, what version of PptxGenJS you have, and the code being used? A screencap of the output would also be helpful. |
Hey, yeah sure sorry I didnt done it in first place Powerpoint 2010 v14.0.7015.1000 (32-bit) Script for creating desirable tables
|
I have a problem with table options getting defaulted on empty table cells. Consider the following simple code which creates a table:
I expect that all 4 cells get all the formatting options specified in
options
. However, the result defaults the styling of the last 2 cells (''
andnull
). Giving those font size 18.This might happend for all formatting options. The only other option I was using was
font_face
which got defaulted toArial
.The text was updated successfully, but these errors were encountered: