dcorking / wave-robot-java-client

Automatically exported from code.google.com/p/wave-robot-java-client
0 stars 0 forks source link

Can't get h1, h2, etc. via TextView.getStyles(). Returns empty list. #3

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Create a robot that gets the wave document, calls TextView.getStyles(),
and outputs the Annotation list.
2. Create a wave and add some headings: h1, h2, h3, h4
3. Add the robot as a participant

What is the expected output? What do you see instead?
I expect to see something like "style/h1", or the string version of
StyleType.HEADING1

What version of the product are you using? On what operating system?
The latest version as of June 14. Google AppEngine.

Please provide any additional information below.
tocgen.appspot.com is my robot, which currently just outputs debug info
from getStyles and getAnnotations.

Note that getStyles returns an empty list, and getAnnotations returns
spell, lang, user, and other Annotation names, but no headings.

Sorry, but I initially submitted this under:
http://code.google.com/p/google-wave-resources/issues/detail?id=51

Original issue reported on code.google.com by byroni...@gmail.com on 16 Jun 2009 at 2:48

GoogleCodeExporter commented 9 years ago
I tried this again with the 20090916 Java client, and I'm still seeing nothing 
come 
back for getStyles(). Any idea if and when this will be resolved?

Original comment by byroni...@gmail.com on 23 Dec 2009 at 3:48

GoogleCodeExporter commented 9 years ago
I have also noticed this omission.

Original comment by barryear...@gmail.com on 22 Mar 2010 at 6:30

GoogleCodeExporter commented 9 years ago
The version 2 API now uses a completely different paradigm. Now one can get 
Lines and 
then check the Line Type. This defect can be closed.

Original comment by byroni...@gmail.com on 22 Mar 2010 at 5:36