symbol-ag凯发旗舰厅



com.spire.doc.fields
class symbol

java.lang.object
  extended by com.spire.doc.ownerholder
      extended by com.spire.doc.documents.xml.documentserializable
          extended by com.spire.doc.documentobject
              extended by com.spire.doc.documentbase
                  extended by com.spire.doc.fields.paragraphbase
                      extended by com.spire.doc.fields.symbol
all implemented interfaces:
irunattrsource, idocumentobject, iparagraphbase

public class symbol
extends paragraphbase

constructor summary
symbol(idocument doc)
          initializing constructor.
 
method summary
 byte getcharactercode()
          returns symbol's character code.
 characterformat getcharacterformat()
          gets character format for the symbol.
 documentobjecttype getdocumentobjecttype()
          gets the type of the document object.
 java.lang.string getfontname()
          returns symbol font name.
 void setcharactercode(byte value)
          sets symbol's character code.
 void setfontname(java.lang.string value)
          sets symbol font name.
 
methods inherited from class com.spire.doc.fields.paragraphbase
applycharacterformat, applystyle, getancestor, getchildobjects, getownerparagraph, getstylename, isdeleterevision, isinsertrevision
 
methods inherited from class com.spire.doc.documentobject
deepclone, getfirstchild, getlastchild, getnextsibling, getowner, getprevioussibling, iscomposite, tostring
 
methods inherited from class com.spire.doc.ownerholder
getdocument
 
methods inherited from interface com.spire.doc.interfaces.idocumentobject
deepclone, getdocument, getnextsibling, getowner, getprevioussibling, iscomposite
 
methods inherited from interface com.spire.doc.documents.irunattrsource
clearrunattrs, fetchinheritedrunattr, getdirectrunattr, getdirectrunattrbyindex, getdirectrunattrscount, setrunattr
 
constructor detail

symbol

public symbol(idocument doc)
initializing constructor.
parameters:
doc - doc
method detail

getdocumentobjecttype

public documentobjecttype getdocumentobjecttype()
gets the type of the document object.
specified by:
getdocumentobjecttype in interface idocumentobject
specified by:
getdocumentobjecttype in class documentobject
returns:
the type of the document object.

getcharacterformat

public characterformat getcharacterformat()
gets character format for the symbol.
overrides:
getcharacterformat in class paragraphbase
returns:
the character format

getfontname

public java.lang.string getfontname()
returns symbol font name.
returns:
the font name

setfontname

public void setfontname(java.lang.string value)
sets symbol font name.
parameters:
value - the font name

getcharactercode

public byte getcharactercode()
returns symbol's character code.
returns:
the character code

setcharactercode

public void setcharactercode(byte value)
sets symbol's character code.
parameters:
value - the character code


网站地图