Index

DXMatchesTextItemTS

Purpose:

The DXMatchesTextItemTS class provides the interface for a document text item.

Methods:

protocol
short protocol();

Gets the protocol type associated with this data object.

getObjectType
BSTR getObjectType();

Gets the type of this object.

getText
BSTR getText();

Gets the document text.

setText
setText(LPCTSTR text);

Sets the document text.

isMatch
BOOL isMatch();

Returns the value TRUE if this text contains a match.

numberOfNewLines
long numberOfNewLines();

Number of new lines in the text.

addNewLine
addNewLine();

Adds a new line to this text.

getOffset
long getOffset();

Gets the match offset in the text string.

setOffset
setOffset(long offset);

Sets the match offset in the text string.

getLength
long getLength();

Gets the match length in the text string.

setLength
setLength(long length);

Sets the match length in the text string.

(c) Copyright International Business Machines Corporation 1996, 2002. IBM Corp. All rights reserved.