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

Table column width? #95

Closed
andyboeh opened this issue Oct 10, 2015 · 5 comments
Closed

Table column width? #95

andyboeh opened this issue Oct 10, 2015 · 5 comments
Labels

Comments

@andyboeh
Copy link

I added support for exporting to ODT in the data plugin (Currently at PR splitbrain/dokuwiki-plugin-data/pull/169) a few weeks ago. The data plugin allows to specify the column width for its HTML output and I wanted to implement that for ODT as well.

Is there already support for specifying the column width? If not, how could I add that?

Thanks

@lpaulsen93
Copy link
Owner

Not with the "classic" functions you mentioned. These are also called from the parser so there are no parameters at all that can be passed to the functions.

You should have a look at this functions:
_odtTableOpenUseCSS, _odtTableOpenUseCSSStyle, _odtTableOpenUseProperties,
_odtTableHeaderOpenUseCSS, _odtTableHeaderOpenUseCSSStyle, _odtTableHeaderOpenUseProperties, _odtTableAddColumnUseProperties, _odtTableRowOpenUseCSS, _odtTableRowOpenUseCSSStyle, _odtTableRowOpenUseProperties,
_odtTableCellOpenUseCSS, _odtTableCellOpenUseCSSStyle, _odtTableCellOpenUseProperties,

With that functions it should be possible to set the width, e.g. by passing it in the property array $properties ['width'] = '5cm';. For an example usage see the exttab3 plugin.

@lpaulsen93
Copy link
Owner

If you need more information, just let me know.

@lpaulsen93
Copy link
Owner

Have you got any further questions or can I close this?

@andyboeh
Copy link
Author

andyboeh commented Nov 2, 2015

Of course, it can be closed. I haven't had the time to look into it, but your comments make sense to me. Thanks!

@andyboeh andyboeh closed this as completed Nov 2, 2015
@lpaulsen93
Copy link
Owner

You are welcome. If you got any questions on this topic later, just re-open it.

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

No branches or pull requests

2 participants