Skip to content
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

Add styles to table cell element #2344

Open
SLSCoder58 opened this issue Dec 2, 2022 · 0 comments
Open

Add styles to table cell element #2344

SLSCoder58 opened this issue Dec 2, 2022 · 0 comments

Comments

@SLSCoder58
Copy link

I'm interested in helping solve this and realize a pull request was made but never implemented.
I can't figure out how to add styles to an element.
For example, Styles/TextBox.php includes the property: innerMarginRight.
How does that property end up being used in a Word doc?
I see in Writer/Word2007/Style/Cell.php line 59 this: w:textDirection
I understand what textDirection is but have no idea how it ends up in a Word element.
How can I learn what this means and how it translates into a property in a Word element?
How can I learn what other properties (ie Margin; Padding) are possible that Word would recognize?

I'd really appreciate it if somebody would point me in a direction so I can add margins and padding to tables and cells.
[email protected]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant