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

How to create a View Cursor in Calc??

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


Joined: 28 Nov 2005
Posts: 42

PostPosted: Mon Feb 27, 2006 11:08 pm    Post subject: How to create a View Cursor in Calc?? Reply with quote

hi

How do i create a View Cursor in Calc which will traverse through each cell??

Thanks in advance

regards
Varun
Back to top
View user's profile Send private message
noranthon
Super User
Super User


Joined: 07 Jul 2005
Posts: 3318

PostPosted: Tue Feb 28, 2006 12:44 am    Post subject: Reply with quote

I don't know about a View Cursor but I've used this to create a text cursor to move through cells and change the contents:
oText = oCell.getText()
oCursor = oText.createTextCursor
Back to top
View user's profile Send private message
varun_login
General User
General User


Joined: 28 Nov 2005
Posts: 42

PostPosted: Tue Feb 28, 2006 2:15 am    Post subject: Reply with quote

hi,

Thanks for the reply..
I acually know how to create a CellCursor... the purpose i need to create a View Cursor is such that the visible area of the display will change according to the position of my cursor...

regards
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