Bug 85719

Summary: Add "page width minus margins" width for frames
Product: LibreOffice Reporter: Victor Porton <porton>
Component: WriterAssignee: Not Assigned <libreoffice-bugs>
Status: NEW ---    
Severity: enhancement CC: cno, paddy, rb.henschel
Priority: medium    
Version: Inherited From OOo   
Hardware: All   
OS: All   
Whiteboard:
Crash report or crash signature: Regression By:
Bug Depends on:    
Bug Blocks: 103305    

Description Victor Porton 2014-10-31 21:42:08 UTC
Width of frames can be set either as: 1. relative to paragraph area or 2. relative to page width.

I propose to add the third option: relative to the page width minus page margins. This is distinct from paragraph area width as in the case if there are more than one column.

In other words, I want to set frame width relative to the summary width of all columns plus the space between columns.
Comment 1 Victor Porton 2014-10-31 21:55:10 UTC
Probably we also should have "relative to section width".

For example now I edit a document with a two-column section. I want an figure to be of the width of the entire section, not just the width of one of the two columns.
Comment 2 Cor Nouws 2014-10-31 22:14:06 UTC
Nice idea Victor
thanks,
Cor
Comment 3 Regina Henschel 2018-02-18 16:07:19 UTC
One problem is, that there exist no position values, that refer to the section or to a section column. All existing position values refer to page or to paragraph or, in case of anchor to/as character, to character. So if you would have a relative width/height based on section width/height, you were not able to position the image or frame relative to the section.

Having a customize base for the relative width/height is tracked in issue https://issues.oasis-open.org/browse/OFFICE-3854