You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
i had a look at the style collection and it seems like there is only one static collection pool for all stored styles. And the add{element}Style method does not override the value, it rejects after first addition.
That could cause the following prolems:
two or more instances of phpword in one script could try to add a font style with the same name.
one of the instances could use a wrong style without even knowing about it
Maybe it would be better if phpword instances use an instance of Style to have it's own style collection pool?
Hi,
i had a look at the style collection and it seems like there is only one static collection pool for all stored styles. And the add{element}Style method does not override the value, it rejects after first addition.
That could cause the following prolems:
Maybe it would be better if phpword instances use an instance of Style to have it's own style collection pool?
Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.
The text was updated successfully, but these errors were encountered: