Apache OpenOffice (AOO) Bugzilla – Full Text Issue Listing |
Summary: | Equation Frame size linked to caption frame size | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | Writer | Reporter: | thespider <mycae> | ||||||
Component: | formatting | Assignee: | Oliver Specht <os_ooo> | ||||||
Status: | CLOSED FIXED | QA Contact: | |||||||
Severity: | Trivial | ||||||||
Priority: | P3 | CC: | armanschwarz, hanya.runo, issues, rb.henschel, steve.yin.aoo | ||||||
Version: | OOo 2.0 Beta | ||||||||
Target Milestone: | 4.1.0 | ||||||||
Hardware: | All | ||||||||
OS: | All | ||||||||
Issue Type: | DEFECT | Latest Confirmation in: | --- | ||||||
Developer Difficulty: | --- | ||||||||
Issue Depends on: | 9821, 40957 | ||||||||
Issue Blocks: | |||||||||
Attachments: |
|
Description
thespider
2005-07-01 13:01:24 UTC
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 |