on 06-25-2007 7:20 AM
Hi friends,
I got a task to find the X and Y coordinates of a table cell using Table Single Markable cell.......
Is it possible to get X,Y coordinates using the above API.....
Is there any alternative for this......
please code me and help me....
Thanks &Regards
Shravan kumar
Hi Shravan Kumar,
you need a context attribute of type "AttributePointer". To define it, see:
http://help.sap.com/saphelp_nw70/helpdata/en/ed/785a42793d1653e10000000a155106/frameset.htm
To get the coordinates:
IWDAttributePointer attPointer = wdContext.currentContextElement().getAttributePointer();
String colName = attPointer.getAttributeInfo().getName();
//get row number as x
int x = attPointer.getNodeElement().index();
//get col number as y
int y = 0;
if (colName.equals("name of column1"))
y = 0;
and so on.....
hope this helps
regards
Stefanie
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Here it is:
kind regards
Stefanie
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi freind,
I would be very thank ful to u if u send that link as early as possible
since my work is delayed due to that....
Advanced Thanks
Shravan Kumar
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi Shravan Kumar,
I submitted a sample project to SDN, I will you link as soon as I got it.
Have you set
selectionMode
of your table to
none
?
regards
Stefanie
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
HI friend
Where to write that piece of code in the implem,entation i triesd it but i am getting errors ......... is there any other solution.......
Thanks &Regards
Shravan Kuamr
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Friends,
I am having the ample of resources....on them biut i am unable to use them ....
i need piece of code to find the X and y co ordinates.....
How to write piece of code using them..?
Thanks and Regards
Shravan Kumar
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Shravan kumar,
there is a topic called "Defining Cell Variants", this might help:
http://help.sap.com/saphelp_nw70/helpdata/en/c1/fa7842fdb70f53e10000000a155106/frameset.htm
regards
Stefanie
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.