how can I use that name when defining styles.
for example I have something like Font font;
and I have a Stylesheet object, How can I integrate these two.
can you show me the sample code.
--
View this message in context:
http://www.nabble.com/paasing-stylesheet-object-to-Font-object-tp17086575p17
kcbxt8 wrote:
> Can any one help.
If you already have a font, register it.
Get its name, then use that name when defining the styles.
If that doesn't answer the question, I didn't understand
what you were asking.
br,
Bruno
-
Is there any way to pass stylesheet object to font object.
or using the values in font object to generate a stylesheet object.
I am trying to
Stylesheet styles;
styles.loadTagStyle("b", "font-weight", "bold");
styles.loadTagStyle("i", "font-weight", "italic");
but I already have a fon