com.spire.doc.fields
Class FieldMark

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.FieldMark
All Implemented Interfaces:
IDocumentObject, IDocumentSerializable, IParagraphBase

public class FieldMark
extends ParagraphBase


Constructor Summary
FieldMark(IDocument doc, FieldMarkType type)
          Initializes a new instance of the class.
 
Method Summary
 CharacterFormat getCharacterFormat()
          Gets character format of field mark.
 DocumentObjectType getDocumentObjectType()
          Gets the type of the document object.
 FieldMarkType getType()
          Gets or sets type of field mark.
 void setType(FieldMarkType value)
          Gets or sets type of field mark.
 
Methods inherited from class com.spire.doc.fields.ParagraphBase
applyCharacterFormat, applyStyle, getChildObjects, getDeleteRevision, getInsertRevision, getNextWidgetSibling, getOwnerParagraph, getPreviousWidgetSibling, getStyleName, isDeleteRevision, isInsertRevision
 
Methods inherited from class com.spire.doc.DocumentObject
deepClone, getFirstChild, getLastChild, getNextSibling, getOwner, getPreviousSibling, isComposite, prependChild, 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
 

Constructor Detail

FieldMark

public FieldMark(IDocument doc,
                 FieldMarkType type)
Initializes a new instance of the class.

Parameters:
doc - The doc.
type - The type.
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 of field mark.

Overrides:
getCharacterFormat in class ParagraphBase
Returns:
The paragraph item character format.

getType

public FieldMarkType getType()
Gets or sets type of field mark.


setType

public void setType(FieldMarkType value)
Gets or sets type of field mark.