Apache OpenOffice (AOO) Bugzilla – Issue 50221
Frames anchored "to frame" cannot have negative position in dialog
Last modified: 2017-05-20 11:19:36 UTC
I have a textframe „Rahmen1“ on a page. Then, I insert in this frame a second frame „Rahmen2“ with anchor-type „frame“. The position of „Rahmen2“ is relative to „complete frame“ (I don't know exactly how this is in english). I isn't possible to enter directly in the dialog negative values. But (differently to OOo1.1 - but very practical) I can take „Rahmen2“ with the mouse and move it to a negative position relatively to „Rahmen1“, here svg:x="-6.67mm" svg:y="-3.81mm (taken from content.xml). Like this the file is saved. When I reload it, „Rahmen2“ stays at the negative position. But why isn't it possible to enter directly negative values in the dialog? When I call the dialog of the frame, he show's me the position x=0, y=0 even if it's in reality at a negative position. This behavior I could reproduce on linux (suse 9.1) and windows (2000). The textframe is also exportet at the negative position to pdf's. Here the relevant part of content.xml. I'll also attach the file... <?xml version="1.0" encoding="UTF-8"?> [...] <draw:frame draw:style-name="fr1" draw:name="Rahmen1" text:anchor-type="page" text:anchor-page-number="1" svg:x="23.3mm" svg:y="24.24mm" svg:width="162.75mm" svg:height="77.68mm" draw:z-index="0"> <draw:text-box> <draw:frame draw:style-name="fr2" draw:name="Rahmen2" text:anchor-type="frame" svg:x="-6.67mm" svg:y="-3.81mm" svg:width="19.97mm" svg:height="4.99mm" draw:z-index="1"> <draw:text-box> <text:p text:style-name="Frame_20_contents"/> </draw:text-box> </draw:frame> <text:p text:style-name="Frame_20_contents"/> </draw:text-box> </draw:frame> [...]
Created attachment 26819 [details] The file showing this behavior
MRU->OS: a frame anchored to another frame cannot be positioned with negative values in the frame dialog. This can be easily done by moving the frame with the mouse.
Reset assigne to the default "issues@openoffice.apache.org".