Issue 33869 - API: sc.ScHeaderFooterTextObj::XTextRangeMover
Summary: API: sc.ScHeaderFooterTextObj::XTextRangeMover
Status: CONFIRMED
Alias: None
Product: App Dev
Classification: Unclassified
Component: api (show other issues)
Version: 3.3.0 or older (OOo)
Hardware: All All
: P3 Trivial
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-09-06 14:10 UTC by steffen.grund
Modified: 2013-07-30 02:23 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description steffen.grund 2004-09-06 14:10:05 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()
Comment 1 Rob Weir 2013-07-30 02:23:27 UTC
Reset assignee on issues not touched by assignee in more than 2000 days.