com.sun.star.text.XTextRange
interface methods : getText()
getStart()
getEnd()
getString()
setString()
First the content is set to 'Middle' string value, then start range is retrieved and its content is set to 'Start' and end range is set to 'End'. Finally the whole TextRange is checked and it must be 'StartMiddleEnd'.
Test is NOT multithread compilant.
@see com.sun.star.text.XTextRange
|
|
|
|
|
|
|
|
|
|
|
|