Index

DXMatchesParagraphTS

Purpose:

The DXMatchesParagraphTS class provides the interface for a document paragraph.

Methods:

protocol
short protocol();
 

Gets the protocol type associated with this data object.

getObjectType
BSTR getObjectType();

Gets the type of this object.

getCCSID
long getCCSID();

Gets the coded character set ID (CCSID) for the paragraph.

setCCSID
setCCSID(long ccsid);

Sets the coded character set ID (CCSID) for the paragraph.

getLanguageId
long getLanguageId();

Gets the language ID for the paragraph.

setLanguageId
setLanguageId(long LanguageId);

Sets the language ID for the paragraph.

numberOfTextItems
long numberOfTextItems();

Returns the number of document text items in the paragraph.

getTextItem
LPDISPATCH getTextItem(long textItemIndex);

Gets the document text item. The textItemIndex value ranges between 1 and the total number of text items. If no text items are found, this method returns the value NULL. The returned LPDISPATCH pointer contains a DXMatchesTextItemTS object.

addTextItem
addTextItem(LPDISPATCH textItem);

Adds a document text item to the paragraph. The input parameter LPDISPATCH pointer contains a DXMatchesTextItemTS object.

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