|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IRemoteTextRange
This class represents a text range.
Access
Method Summary | |
---|---|
IRemoteSymphonyApplication |
getApplication()
This property represents the Lotus Symphony application. |
int |
getBackColor()
This property returns or sets the background color of the text range. |
java.lang.String |
getCharStyleName()
This property returns or sets the char style of a range. |
IRemoteDocument |
getDocument()
Deprecated. |
IRemoteTextRange |
getEnd()
This property returns a text range which represents the ending character position of a range. |
IRemoteFont |
getFont()
This property returns the font of the range. |
int |
getHoriAlignment()
This property returns or sets the horizontal alignment of the range. |
IRemotePresentation |
getPresentation()
Deprecated. |
IRemoteSpreadsheet |
getSpreadsheet()
Deprecated. |
IRemoteTextRange |
getStart()
This property returns a text range which represents the starting character position of a range. |
IRemoteSymphonyDocument |
getSymphonyDocument()
This property returns the document to which the range belongs. |
java.lang.String |
getText()
This property returns or sets the string content in this range. |
void |
importFile(java.lang.String fileName)
This method imports the content of a target file to the text range. |
void |
insertAfter(java.lang.String text)
This method inserts text at the end of a range. |
void |
insertBefore(java.lang.String text)
This method inserts text before a range. |
void |
insertBreak(IRemoteTextRange position,
int type)
This method inserts a break, such as paragraph break, line break, and so on. |
IRemoteTextParagraph |
insertParagraph(java.lang.Object tableOrSection,
boolean before)
This method inserts a paragraph before or after a table or section. |
boolean |
isBackTransparent()
This property returns or sets whether the background of the text range is transparent. |
void |
setBackColor(int color)
This property returns or sets the background color of the text range. |
void |
setBackTransparent(boolean transparent)
This property returns or sets whether the background of the text range is transparent. |
void |
setCharStyleName(java.lang.String charStyleName)
This property returns or sets the char style of a range. |
void |
setHoriAlignment(int alignment)
This property returns or sets the horizontal alignment of the range. |
void |
setText(java.lang.String text)
This property returns or sets the string content in this range. |
Method Detail |
---|
IRemoteSymphonyApplication getApplication() throws RemoteEclipseAPIException
RemoteEclipseAPIException
int getHoriAlignment() throws RemoteEclipseAPIException
RemoteEclipseAPIException
void setHoriAlignment(int alignment) throws RemoteEclipseAPIException
alignment
- alignment
RemoteEclipseAPIException
IRemoteDocument getDocument() throws RemoteEclipseAPIException
RemoteEclipseAPIException
IRemoteTextRange getEnd() throws RemoteEclipseAPIException
RemoteEclipseAPIException
IRemoteFont getFont() throws RemoteEclipseAPIException
RemoteEclipseAPIException
java.lang.String getText() throws RemoteEclipseAPIException
RemoteEclipseAPIException
void setText(java.lang.String text) throws RemoteEclipseAPIException
text
- text
RemoteEclipseAPIException
IRemoteTextRange getStart() throws RemoteEclipseAPIException
RemoteEclipseAPIException
void insertBefore(java.lang.String text) throws RemoteEclipseAPIException
text
- Specifies the text to be inserted into the range.
RemoteEclipseAPIException
void insertAfter(java.lang.String text) throws RemoteEclipseAPIException
text
- Specifies the text to be inserted into the range.
RemoteEclipseAPIException
void insertBreak(IRemoteTextRange position, int type) throws RemoteEclipseAPIException
position
- Specifies the position where the break is to be inserted.type
- Specifies the type of the break. The type of this property can be a break type constant.
RemoteEclipseAPIException
IRemoteConstant
int getBackColor() throws RemoteEclipseAPIException
RemoteEclipseAPIException
void setBackColor(int color) throws RemoteEclipseAPIException
color
-
RemoteEclipseAPIException
boolean isBackTransparent() throws RemoteEclipseAPIException
RemoteEclipseAPIException
void setBackTransparent(boolean transparent) throws RemoteEclipseAPIException
transparent
- transparent
RemoteEclipseAPIException
void importFile(java.lang.String fileName) throws RemoteEclipseAPIException
fileName
- Specifies the full name of the file to be imported. The file formats odt, doc, and txt are supported. If the file does not exist or is an unsupported file type, this method throws an exception.
RemoteEclipseAPIException
IRemoteTextParagraph insertParagraph(java.lang.Object tableOrSection, boolean before) throws RemoteEclipseAPIException
tableOrSection
- Specifies where the new paragraph to be inserted. Only a TextTable or TextSection object can be used as the argument, otherwise this method throws an exception.before
- Specifying true means to insert the paragraph before the parameter tableOrSection. Specifying false means to insert the paragraph after the parameter tableOrSection.
RemoteEclipseAPIException
IRemotePresentation getPresentation() throws RemoteEclipseAPIException
RemoteEclipseAPIException
IRemoteSpreadsheet getSpreadsheet() throws RemoteEclipseAPIException
RemoteEclipseAPIException
IRemoteSymphonyDocument getSymphonyDocument() throws RemoteEclipseAPIException
RemoteEclipseAPIException
void setCharStyleName(java.lang.String charStyleName) throws RemoteEclipseAPIException
charStyleName
-
RemoteEclipseAPIException
java.lang.String getCharStyleName() throws RemoteEclipseAPIException
RemoteEclipseAPIException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |