Apache OpenOffice (AOO) Bugzilla – Issue 40580
better placement for text on connector
Last modified: 2010-12-20 18:32:36 UTC
see attached document. try adding text to all three connectors. text is placed in especially strange location for upper right connector, but others are not much better. so, placement for text on connectors should be better (and probably also customizeable). 1. if possible, it should stick to longest horizontal section of the connector; 2. if there are no long enough horizontal section, it should stick to longest available vertical section; 3. on both cases it should try to be either up/down (or left/right) of the connector so that smallest possible amount of other objects is covered; (what should be done if there is not enough room either on horizontal or vertical sections ? maybe choose longest available and overflow ?) 4. there should be an ability to drag this text to any other section and side of the connector line (even to those where it sort of doesn't fit - in this case it overflows that section); 5. some limit for overflows probably ? what does it do then ? font reduction might be one option, but line breaking probably is better. 6. there should be an ability to define distance for text to line, overflow at which other methods are applied, choice between line breaking and font reduction, preference for left/right and up/down placement of the text. ps curent option "adjust to contour" doesn't work; also controls in "dimensioning" tab don't seem to work to achieve this.
Created attachment 21456 [details] testcase
Created attachment 21457 [details] how it should look like
Reassigned.
For some of your requests there is a workaround. You can apply the old fontwork property "rotate" to the connector. Then the text will follow the line direction and you can set a distance from line to text in the fontwork dialog. (In 2.0 you must customize your toolbar/menu to get the old fontwork.)
Better position for connector texts are already tracked in issue 35752. *** This issue has been marked as a duplicate of 35752 ***
Closing, duplicate