Ejemplo n.º 1
0
 /**
  * Sets the underline style for this font, if the font hasn't been
  * initialized
  *
  * @param us the underline style
  * @exception WriteException, if this font is already in use elsewhere
  */
 public virtual void setUnderlineStyle(UnderlineStyle us)
 {
     base.setUnderlineStyle(us.getValue());
 }
Ejemplo n.º 2
0
 /**
  * Creates a font of the specified face, point size, bold style,
  * italicisation, underline style, colour, and script
  * style (superscript/subscript)
  *
  * @param ps the point size
  * @param bs the bold style
  * @param us the underline style
  * @param fn the font name
  * @param it the italic flag
  * @param c the colour
  * @param ss the script style
  */
 public WritableFont(FontName fn,
     int ps,
     BoldStyle bs,
     bool it,
     UnderlineStyle us,
     Colour c,
     ScriptStyle ss)
     : base(fn.name, ps, bs.value, it, us.getValue(), c.getValue(), ss.getValue())
 {
 }
Ejemplo n.º 3
0
 /**
  * Creates a font of the specified face, point size, bold style,
  * italicisation, underline style, colour, and script
  * style (superscript/subscript)
  *
  * @param ps the point size
  * @param bs the bold style
  * @param us the underline style
  * @param fn the font name
  * @param it the italic flag
  * @param c the colour
  * @param ss the script style
  * @deprecated use jxl.write.WritableFont
  */
 public Font(FontName fn,
     int ps,
     BoldStyle bs,
     bool it,
     UnderlineStyle us,
     Colour c,
     ScriptStyle ss)
     : base(fn,ps,bs,it,us,c,ss)
 {
 }
Ejemplo n.º 4
0
 /**
  * Creates a font of the specified face, point size, bold style,
  * italicisation, underline style and colour
  *
  * @param ps the point size
  * @param bs the bold style
  * @param us the underline style
  * @param fn the font name
  * @param it italic flag
  * @param c the colour
  */
 public WritableFont(FontName fn,
     int ps,
     BoldStyle bs,
     bool it,
     UnderlineStyle us,
     Colour c)
     : this(fn, ps, bs, it, us, c, ScriptStyle.NORMAL_SCRIPT)
 {
 }
Ejemplo n.º 5
0
 /**
  * Creates a font of the specified face, point size, bold style,
  * italicisation, underline style and colour
  *
  * @param ps the point size
  * @param bs the bold style
  * @param us the underline style
  * @param fn the font name
  * @param it italic flag
  * @param c the colour
  * @deprecated use jxl.write.WritableFont
  */
 public Font(FontName fn,
     int ps,
     BoldStyle bs,
     bool it,
     UnderlineStyle us,
     Colour c)
     : base(fn,ps,bs,it,us,c)
 {
 }