com.mindoo.remote.api.symphony.document
Interface IRemoteField

All Known Subinterfaces:
IRemoteDateTimeField, IRemoteHiddenTextField, IRemotePageNumberField, IRemoteSetVariableField, IRemoteShowVariableField, IRemoteUserField

public interface IRemoteField

This class represents a user field in a document.

Creation and access


Method Summary
 java.lang.String getContent()
          This property returns the content of a field.
 IRemoteTextRange getRange()
          This property returns the position of a field.
 int getType()
          This property returns the type of a field.
 void remove()
          This method deletes a field from a document.
 

Method Detail

getContent

java.lang.String getContent()
                            throws RemoteEclipseAPIException
This property returns the content of a field.

Returns:
content
Throws:
RemoteEclipseAPIException

remove

void remove()
            throws RemoteEclipseAPIException
This method deletes a field from a document.

Throws:
RemoteEclipseAPIException

getType

int getType()
            throws RemoteEclipseAPIException
This property returns the type of a field.

Legal values:

ConstantValueDescription
Constant.FIELD_TYPE_USER0specifies the user field.
Constant.FIELD_TYPE_PAGENUMBER1specifies the page number field.
Constant.FIELD_TYPE_DATETIME2specifies the show variable field.
Constant.FIELD_TYPE_HIDDENTEXT3specifies the set variable field.
Constant.FIELD_TYPE_SETVARIABLE4specifies the hidden text field.
Constant.FIELD_TYPE_SHOWVARIABLE5specifies the date time field.

Returns:
Throws:
RemoteEclipseAPIException

getRange

IRemoteTextRange getRange()
                          throws RemoteEclipseAPIException
This property returns the position of a field.

Returns:
range
Throws:
RemoteEclipseAPIException