You have to wait for traversing over all blips in a wavelet. This is coming up with the new API Release. For the moment you could take the root blip only. A Samplecode would be: //get the wavelet Wavelet wavelet = bundle.getWavelet(); //get the rootblip Blip root_blip = wavelet.getRootBlip(); //extract the annotations from the textview TextView textView_root = root_blip.getDocument(); java.util.List<Annotation> annotations = textView_root.getAnnotations();
//Now you have a listing of annotations, all you have to do is to iterate: for(Annotation an : annotations) { //look for the highlight if(an.getName().equals("INSERT THE NAME OF THE ANNOTATION")) { //do what you want, maybe extract the range with an.getRange(); } } I hope the syntax isn't messed up that hard. Good luck On 17 Feb., 09:56, Vik <vik....@gmail.com> wrote: > Hie Thomas > > I am using java.. could you please point me the wave to travese over all the > text in wave? > How to look at annotation etc? I am using sandbox only for my robot. > > Thankx and Regards > > Vik > Founderwww.sakshum.comwww.sakshum.blogspot.com > > On Wed, Feb 17, 2010 at 2:15 PM, Thomas Jungblut < > > thomas.jungb...@googlemail.com> wrote: > > I think this might be an annotation. It is stored in the textview and > > you have to iterate over all possible annotations looking for the one > > you need. You can highlight a text in the sandbox and then view what > > annotation is exactly is. It should be something like "highlighted". > > In the annotation is a range stored, you can easily access the > > textview and extract only the range that you need. > > What language do you use? Python / Java? > > > regards thomas > > > On 17 Feb., 09:34, Vik <vik....@gmail.com> wrote: > > > Hie > > > > I want to find all the highlighted text in a wave through my robot. So > > what > > > should be used to do so? > > > > Thankx and Regards > > > > Vik > > > Founderwww.sakshum.comwww.sakshum.blogspot.com > > > -- > > You received this message because you are subscribed to the Google Groups > > "Google Wave API" group. > > To post to this group, send email to google-wave-...@googlegroups.com. > > To unsubscribe from this group, send email to > > google-wave-api+unsubscr...@googlegroups.com<google-wave-api%2bunsubscr...@googlegroups.com> > > . > > For more options, visit this group at > >http://groups.google.com/group/google-wave-api?hl=en. -- You received this message because you are subscribed to the Google Groups "Google Wave API" group. To post to this group, send email to google-wave-...@googlegroups.com. To unsubscribe from this group, send email to google-wave-api+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-wave-api?hl=en.