I recently started using wave API
I wrote a code for editing the blip submitted by any participant.
if (e.getType() == EventType.BLIP_SUBMITTED )
{
Blip blip = e.getBlip();
blip.getDocument().setStyle(StyleType.BOLD);
//StyledText styledText = new StyledText(blip.getDocument
().getText().toString());
//styledText.addStyle(StyleType.BOLD);
// blip.getDocument().replaceStyledText(styledText);
}
the event is being caught. But the text is not becoming bold. Am I
doing some thing wrong??
First I tried to set style directly. Then tried to replace the text
with a styled text. Bith ways no result :(
Please help!!
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Google Wave API" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/google-wave-api?hl=en
-~----------~----~----~----~------~----~------~--~---