OpenOffice.org Forum at OOoForum.orgThe OpenOffice.org Forum
 
 [Home]   [FAQ]   [Search]   [Memberlist]   [Usergroups]   [Register
 [Profile]   [Log in to check your private messages]   [Log in

to travere the text

 
Post new topic   Reply to topic    OOoForum.org Forum Index -> OpenOffice.org Macros and API
View previous topic :: View next topic  
Author Message
peter
Guest





PostPosted: Thu May 13, 2004 4:29 am    Post subject: to travere the text Reply with quote

How to revover all lines starting with "T" from OObasic ??
Back to top
DannyB
Moderator
Moderator


Joined: 02 Apr 2003
Posts: 3991
Location: Lawrence, Kansas, USA

PostPosted: Thu May 13, 2004 5:41 am    Post subject: Reply with quote

I assume you are walking about traversing the text in a Writer document.

In a writer document, you can traverse the text by paragraphs, sentences, words, or characters.

Here is an example of traversing by sentences....
http://www.oooforum.org/forum/viewtopic.php?p=29319#29319

Here is an example traversing by words....
http://www.oooforum.org/forum/viewtopic.php?p=28373#28373

This message will explain about the text cursors (among other things)....
http://www.oooforum.org/forum/viewtopic.php?p=22499#22499

All three of the above, really point to the same thread. Maybe you should just start at the beginning of the thread.

Writer Examples
http://www.oooforum.org/forum/viewtopic.php?t=6049

To traverse the text by "lines" is probably equivalent to traversing by "paragraphs". Once each paragraph is retrieved, see if the first character of the string is a "T".
_________________
Want to make OOo Drawings like the colored flower design to the left?
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    OOoForum.org Forum Index -> OpenOffice.org Macros and API All times are GMT - 8 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group