Full list of supported annotations?

0 views
Skip to first unread message

jbeder...@attensity.com

unread,
Aug 16, 2009, 2:51:34 PM8/16/09
to Google Wave API
Is there a list of all available annotations for TextDocument?
I am aware of the StyleType class in the Java API.
Looking at the source, these add an Annotation("styled-text", "BOLD")
for example.

Also, the drop-down box of the spellchecker: Is that also some kind of
annotation?

Thank you,
Jochen

PS: Google Wave rocks. Had my first robot up and running in 1 hour!

raul...@gmail.com

unread,
Sep 1, 2009, 6:04:54 PM9/1/09
to Google Wave API
Anybody has an answer for this?

I'm working on an extension and I need to have a dropdown on certain
words in the same way the spellcheck does.
I tried with gadgets but when you insert a gadget they do not get
inserted in line but in a new line everytime

On Aug 16, 11:51 am, "jbedersdor...@attensity.com"

Jason Salas

unread,
Sep 3, 2009, 1:21:38 AM9/3/09
to google-...@googlegroups.com
I pulled this out of a wave named "Annotation keys like 'link/manual'"
(tagged with 'robot-dev' in wave):

List of keys with example values:
"link/manual" = "http://senikk.com"
"link/wave" = "wavesandbox.com!w+5p1A3x9o%B"
"link/auto" = "http://ukwave.org"
"style/fontWeight" = "bold"
"style/textDecoration" = "underline"
"style/fontFamily" = "arial black,sans-serif"
"style/backgroundColor" = "rgb(255, 0, 0)"
"style/color" = "rgb(0, 153, 0)"
"style/fontSize" = "22pt"
"lang" = "en"
"spell"

Jason :)
jason...@wavesandbox.com
Reply all
Reply to author
Forward
0 new messages