To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=114520





------- Additional comments from [email protected] Wed Sep 15 
10:12:04 +0000 2010 -------
sample code is as follows :

oText = oDocument.getText
oCursor = oText.createTextCursorByRange(oText.getStart)
' document elements loop
do
   ' current word selection 
   oResult = oCursor.gotoEndOfWord(True)
           
   ' word value 
   MsgBox "Word value [" + n + "] : " + oCursor.String

   ' next step
   n = n + 1
   Proceed = oCursor.gotoNextWord (false)
           
Loop While Proceed                                      

If you have a look in attached document, see macro in Macro:module1:main macro,
 file containing mailing fields is GotoEndofWord Sample.odt

---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to