cellformat-ag凯发旗舰厅



com.spire.doc.formatting
class cellformat

java.lang.object
  extended by com.spire.doc.ownerholder
      extended by com.spire.doc.documents.xml.documentserializable
          extended by com.spire.doc.formatting.formatbase
              extended by com.spire.doc.formatting.attrcollection
                  extended by com.spire.doc.formatting.wordattrcollection
                      extended by com.spire.doc.formatting.cellformat

public class cellformat
extends wordattrcollection

constructor summary
cellformat()
          initializes a new instance of the cellformat class.
 
method summary
 java.awt.color getbackcolor()
          gets background color.
 borders getborders()
          gets borders.
 boolean getfittext()
          gets fit text option.
 cellmerge gethorizontalmerge()
          returns the way of horizontal merging of the cell.
 paddings getpaddings()
          gets paddings.
 boolean getsamepaddingsastable()
          gets whether to use same paddings as table has.
 textdirection gettextdirection()
          gets cell text direction.
 boolean gettextwrap()
          gets a value indicating whether [text wrap].
 verticalalignment getverticalalignment()
          gets vertical alignment.
 cellmerge getverticalmerge()
          returns the way of vertical merging of the cell.
 void setbackcolor(java.awt.color value)
          sets background color.
 void setfittext(boolean value)
          sets fit text option.
 void sethorizontalmerge(cellmerge value)
          sets the way of horizontal merging of the cell.
 void setsamepaddingsastable(boolean value)
          sets whether to use same paddings as table has.
 void settextdirection(textdirection value)
          sets cell text direction.
 void settextwrap(boolean value)
          sets a value indicating whether [text wrap].
 void setverticalalignment(verticalalignment value)
          sets vertical alignment.
 void setverticalmerge(cellmerge value)
          sets the way of vertical merging of the cell.
 
methods inherited from class com.spire.doc.formatting.formatbase
clearformatting, haskey, isdefault
 
methods inherited from class com.spire.doc.ownerholder
getdocument
 
constructor detail

cellformat

public cellformat()
initializes a new instance of the cellformat class.
method detail

getborders

public borders getborders()
gets borders.

getpaddings

public paddings getpaddings()
gets paddings.

getverticalalignment

public verticalalignment getverticalalignment()
gets vertical alignment.

setverticalalignment

public void setverticalalignment(verticalalignment value)
sets vertical alignment.

getbackcolor

public java.awt.color getbackcolor()
gets background color.

setbackcolor

public void setbackcolor(java.awt.color value)
sets background color.

getverticalmerge

public cellmerge getverticalmerge()
returns the way of vertical merging of the cell.

setverticalmerge

public void setverticalmerge(cellmerge value)
sets the way of vertical merging of the cell.

gethorizontalmerge

public cellmerge gethorizontalmerge()
returns the way of horizontal merging of the cell.

sethorizontalmerge

public void sethorizontalmerge(cellmerge value)
sets the way of horizontal merging of the cell.

gettextwrap

public boolean gettextwrap()
gets a value indicating whether [text wrap].

settextwrap

public void settextwrap(boolean value)
sets a value indicating whether [text wrap].

getfittext

public boolean getfittext()
gets fit text option.

setfittext

public void setfittext(boolean value)
sets fit text option.

gettextdirection

public textdirection gettextdirection()
gets cell text direction.

settextdirection

public void settextdirection(textdirection value)
sets cell text direction.

getsamepaddingsastable

public boolean getsamepaddingsastable()
gets whether to use same paddings as table has.

setsamepaddingsastable

public void setsamepaddingsastable(boolean value)
sets whether to use same paddings as table has.


网站地图