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
Any news for this? It seems units are not correct for images as well. For example, style for images: height: 100mm; width: 100mm;
In the resulting docx, the image has about 170mm width and height.
What is the transformation from CSS-unit to docx-unit in docx4j used?
Consider the following table, where the cell should have 10cm width:
In the resulting docx, the cell has about 14cm width.
The size is consistent with other units. So "100mm" will also give this result.
The width for "1in" seems also not correct in the docx file.
I guess there is a general issue with the transformation from CSS-unit to docx-unit.
docx4j has UnitsOfMeasurement.java which might be a good starting point for finding the correct calculation.
The text was updated successfully, but these errors were encountered: