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

SearchDescriptor Cell reference

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


Joined: 07 Nov 2004
Posts: 261

PostPosted: Sat Jan 22, 2005 11:28 am    Post subject: SearchDescriptor Cell reference Reply with quote

Hi,

what is the correct way to retrieve the Row and Column from matches
generated by

createSearchDescriptor() and (for example) findFirst?

I don't want to select the cell since I'm still in a dialog and want to refer to a match in this Dialog without going to the cell first.

You get the point.. Smile

Thanks in advance,

Marinus.
Back to top
View user's profile Send private message Visit poster's website
pitonyak
Administrator
Administrator


Joined: 09 Mar 2004
Posts: 3655
Location: Columbus, Ohio, USA

PostPosted: Sun Jan 23, 2005 9:57 pm    Post subject: Reply with quote

Based on an example in my free macro document (the section is titled Searching a Calc document), it looks like the returned object can be used as a cell....
_________________
--
Andrew Pitonyak
http://www.pitonyak.org/oo.php
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address
pitonyak
Administrator
Administrator


Joined: 09 Mar 2004
Posts: 3655
Location: Columbus, Ohio, USA

PostPosted: Sun Jan 23, 2005 10:01 pm    Post subject: Reply with quote

OK, I verfiied that the returned object can be used as a SheetCell. So, are you asking how to get an address from a SheetCell, or did you not know that you can use the returned object as a SheetCell?
_________________
--
Andrew Pitonyak
http://www.pitonyak.org/oo.php
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address
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