Created attachment 162489 [details] Example file from Word with shapes sized relative to page/margin It is possible to import shape width/height settings from DOCX that are a percentage value relative to margin / page (in Word terms) or Paragraph area / Entire page (in Writer terms). Also changing page size from A4 to A3 resizes the shapes just like it would in Word. Saving such file to ODT retains these settings as loext:rel-width-rel="page" / loext:rel-height-rel="page" and loext:rel-width-rel="paragraph" loext:rel-height-rel="paragraph" also the percentage values as style:rel-width="20%" style:rel-height="20%" - these match the settings in the imported example DOCX. There is however no option in the shape properties dialogs Position and size tab to display/change these settings, unlike for image and frame objects. Steps to reproduce: 1. Open attached docx/odt, right click on the shapes and open Position and Size dialog Actual results: No settings for relative shape size. Expected results: Checkbox under Width/Height to set “Relative to” and dropdown box with settings Paragraph area / Entire page just like for images. LibreOffice details: Version: 7.1.0.0.alpha0+ (x64) Build ID: 010713e65ccade7b682c219707c8db3d864145c1 CPU threads: 4; OS: Windows 6.3 Build 9600; UI render: default; VCL: win Locale: en-US (hu_HU); UI: en-US Calc: CL
Created attachment 162490 [details] Shape size settings in Word and their lack in Writer
Created attachment 162491 [details] The example file saved in Writer to odt
Created attachment 162492 [details] The relative image size settings which could be copied
Regina, any blocker regarding the file format? I wonder what relative to paragraph could be in case of Draw/Impress. Would be just the entire page, I guess. And if we make the size relative, how about the position? Place the shape/image at 33% of the paragraph/page sounds like a use case. Maybe off-topic here.
Don't see a blocker to define shape size relative to paragraph/page. And the feature is clearly desired and needed since it exists in MSO.