Cell Selection ChangeEvent in Calc

Java, C++, C#, Delphi, ??? - Using the UNO bridges

Cell Selection ChangeEvent in Calc

Postby jayaramu » Mon Mar 13, 2017 1:46 pm

Hi,
I need to find cell address when user change selection of cell.
Ex: If cursor current position "A1" if user change selection to "C5". here I need to identify and print the cursor current position is C5. Please any one help for this problem.
Openoffice 4.1.3 on Windows
jayaramu
 
Posts: 15
Joined: Mon Mar 13, 2017 9:09 am

Re: Cell Selection ChangeEvent in Calc

Postby karolus » Mon Mar 13, 2017 4:07 pm

Hallo

for Example:

Code: Select all   Expand viewCollapse view
def selection_changed(event):
    
event.String event.AbsoluteName


bind to sheet-event "Selection has changed"
AOO4, Libreoffice - 5.1 … 5.3.2.2 on Linux Mint17
User avatar
karolus
Volunteer
 
Posts: 843
Joined: Sat Jul 02, 2011 9:47 am

Re: Cell Selection ChangeEvent in Calc

Postby jayaramu » Tue Mar 14, 2017 5:34 am

Hi. Thank you for reply. Sorry I forgot to mention Technology. Am using Java. Can you please give some example in Java. Thank you.
Openoffice 4.1.3 on Windows
jayaramu
 
Posts: 15
Joined: Mon Mar 13, 2017 9:09 am


Return to External Programs

Who is online

Users browsing this forum: No registered users and 2 guests