fontarraywrapper-ag凯发旗舰厅



com.spire.xls.core.spreadsheet
class fontarraywrapper

java.lang.object
  extended by com.spire.xls.core.spreadsheet.xlsobject
      extended by com.spire.xls.core.spreadsheet.fontarraywrapper
all implemented interfaces:
ifont, ioptimizedupdate

public class fontarraywrapper
extends xlsobject
implements ifont

class that is created when user accesses the font in a multicell range. redirects all calls to the fonts of the individual cells.


constructor summary
fontarraywrapper(ixlsrange range)
           
 
method summary
 void beginupdate()
          this method should be called before several updates to the object will take place.
 void endupdate()
          this method should be called after several updates to the object took place.
 java.awt.color getcolor()
          gets / sets font color.
 void setcolor(java.awt.color value)
          gets / sets font color.
 
methods inherited from class com.spire.xls.core.spreadsheet.xlsobject
dispose
 
methods inherited from interface com.spire.xls.core.ifont
generatenativefont, getfontname, getknowncolor, getsize, getstrikethroughtype, getunderline, getverticalalignment, isautocolor, isbold, isbold, isitalic, isitalic, isstrikethrough, isstrikethrough, issubscript, issubscript, issuperscript, issuperscript, setfontname, setknowncolor, setsize, setstrikethroughtype, setunderline, setverticalalignment
 
constructor detail

fontarraywrapper

public fontarraywrapper(ixlsrange range)
method detail

getcolor

public java.awt.color getcolor()
gets / sets font color. if there is at least one free color, define a new color. if not, search for the closest one in workbook palette
specified by:
getcolor in interface ifont
returns:

setcolor

public void setcolor(java.awt.color value)
gets / sets font color. if there is at least one free color, define a new color. if not, search for the closest one in workbook palette
specified by:
setcolor in interface ifont

beginupdate

public void beginupdate()
this method should be called before several updates to the object will take place.
specified by:
beginupdate in interface ioptimizedupdate

endupdate

public void endupdate()
this method should be called after several updates to the object took place.
specified by:
endupdate in interface ioptimizedupdate


网站地图