-
Notifications
You must be signed in to change notification settings - Fork 32
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
Picture resize with cells #157
Comments
Thanks for the report! Yes, this is possible, but is not exposed by org.apache.poi.ss.usermodel.ClientAnchor has ints / enums (old version has ints, I think that is what we are on - new version has enums) that specify, as described here:
https://poi.apache.org/apidocs/4.0/ It would not be too hard to add a parameter to the It would be an addition of something like the following to the function (tracing through the details):
You can see some of the patterns used for enums in the past with:
|
That's what I imagine that if a parameter can be added to enable or disable "Move and size with cells", it will solve the issue. I would be happy to test any beta or new version to add this enhancement. |
I am creating and saving .xlsx file using the xlsx package. Is there anyway to disable "Move and size with cells" for picture properties?
If you open the saved test.xlsx file and resize column width of columns with the plot, the inserted picture will resize with the column width change. After some research, I found that the added picture has a properties call "Move and size with cells" is enabled. Is there anyway to disable it or set as "Don't move or size with cells"
The text was updated successfully, but these errors were encountered: