Still newbie: ¿How do I make a paragraph mixing styles?

 1 post  » Share this        Feedicon
Replies: 0 - Last Post: May 21, 2010 10:13
by: Julius
showing 1 - 1 of 1
 
Posted: May 21, 2010 10:13 by Julius
Hi

I'll try to reproduce what I'm trying:

This is a paragraph with bold words and some italic fonts. I'd also like to use different sizes and colors.

Setting paragraph style changes everything (as expected ;-P), but using things like

OdfTextHeading heading ...
heading.addStyledSpan
or
heading.addStyledContent

doesn't seems to work. It also changes the full paragraph.

¿Some advise (or code snippet please, I'm not familiar with this API neither with XML or DOM) to produce a mixing-styles paragraph ?

Thanks in advance
Best Regards
Julio


Replies: 0 - Last Post: May 21, 2010 10:13
by: Julius
  • Powered by:
Terms of Use; Privacy Policy; Copyright ©2008-2010 (revision 20100827.958a3e4)
 
 
loading
Please Confirm