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

Script property not parsed #69

Closed
lucwuyts opened this issue Oct 14, 2016 · 1 comment
Closed

Script property not parsed #69

lucwuyts opened this issue Oct 14, 2016 · 1 comment

Comments

@lucwuyts
Copy link
Contributor

lucwuyts commented Oct 14, 2016

This code should be added to the Parse function in Formatting.cs
case "vertAlign":
var script = option.GetAttribute(XName.Get("val", DocX.w.NamespaceName), null);
formatting.Script = (Script)Enum.Parse(typeof(Script), script);
break;

@PrzemyslawKlys
Copy link
Contributor

Added. Please verify. If possible please send some unit tests for this / examples of usage. Thank you

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

No branches or pull requests

2 participants