Apache OpenOffice (AOO) Bugzilla – Issue 33869
API: sc.ScHeaderFooterTextObj::XTextRangeMover
Last modified: 2013-07-30 02:23:27 UTC
Text inside of the header/footer is not moved. Text stays at the place where it was inserted. Basic Script to reproduce: xStyle = ThisComponent.GetStyleFamilies() xPageStyle = xStyle.getByName("PageStyles") xStandard = xPageStyle.getByName("Default") xHeaderFooterContent = xStandard.getPropertyValue("RightPageHeaderContent") xText = xHeaderFooterContent.getRightText() xTextCursor = xText.createTextCursor() xText.insertString(xTextCursor, "THE QUICK BROWN FOX JUMPS OVER THE LAZY DOG", false) xTextCursor.setString("TextToMove") xText.insertString(xTextCursor, "THE QUICK BROWN FOX JUMPS OVER THE LAZY DOG", false) msgbox xText.getString() xText.moveTextRange(xTextCursor, 10) msgbox xText.getString()
Reset assignee on issues not touched by assignee in more than 2000 days.