Apache OpenOffice (AOO) Bugzilla – Issue 51453
Equation Frame size linked to caption frame size
Last modified: 2014-04-03 07:31:52 UTC
Hello, I have a small equation that requires a large caption. When i write the caption it is split over many lines (~3 words per line) so i resize the frame to allow the caption to be all on one line and the equation object resizes as well, i cant find any way to keep the equation the same size and still have the caption object at the base of the equation such that the formatting is consistent with other equation objects. Ideally i could unlink the equation and caption frame sizes and freely resize the caption frame, keeping the equation above it Thanks
MRU->OS: when assigning a caption to a formula object, the object will get "relative" width (including "keep ratio"). The user will never be able to change this afterwards. It is inconsistent, because in normal mode (without caption) it is forbidden to resize a formula object. Here, it must be differentiated between FOrmula objects and graphics (where it makes sense to handle it like this). For formulas it does not make sense.
*** Issue 55397 has been marked as a duplicate of this issue. ***
*** Issue 83147 has been marked as a duplicate of this issue. ***
This issue is still alive and kicking on the current release of OO. (320m18)
This is a major defect, it makes Liboffice extremely painstaking for writing reports...
Created attachment 80987 [details] Basic macro to uncheck relative width Till someone finds the time to correct it in the code, you can use the attached Basic macro to uncheck "Relative Width". After that the formula will behave same as in other context. Select the Math object and then run the macro.
Created attachment 81014 [details] Patch to set size parcent for width to zero In lcl_InsertLabel [1] function, aFrmSize.SetWidthPercent( 100 ); (on SwFmtFrmSize) is specified. I propose to set it to 0. This affects to: - math formula: not resized with outer frame - picture: Relative is off by default. But pictures with caption can be resized and relative check box can be changed by the user. In my opinion, relative check box should be not checked by default even for pictures. The content of the caption frame is the main content of the document and no one want to resize it depends on the caption layout. Drawing object does not have relative resizing, so not affected. [1] http://svn.apache.org/viewvc/openoffice/trunk/main/sw/source/core/doc/doclay.cxx?revision=1413471&view=markup#l1423
"hanya" committed SVN revision 1556515 into trunk: #i51453# avoid relative sizing for the picture and formula wrapped by inserte...
Fixed on trunk.
Verified on branch AOO410. Rev. 1583666