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

In single document some values can be in one units, and other values in other units #136

Closed
ShockwaveNN opened this issue Aug 22, 2016 · 2 comments

Comments

@ShockwaveNN
Copy link
Collaborator

Like this code is one document (paragraph with indent 1inch and image with size 1 inch)

<w:ind w:firstLine="1440"/>
<a:ext cx="914400" cy="1335023"/>
Need to able to set units delimeter for each tag separatly

@flaminestone
Copy link

Can you add option :origin to units array for take all values in origin format, like in xml file

@ShockwaveNN
Copy link
Collaborator Author

Implemented #139
No need in :origin format, since OoxmlSize return value by default in its original format and can be called like size.to_unit(:centimeter) to convert original value to more user-friendly format.

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