Index

DXMatchesDocSectionTS

Purpose:

The DXMatchesDocSectionTS class provides the interface for a document section.

Methods:

protocol
short protocol();
 

Gets the protocol type associated with this data object.

getObjectType
BSTR getObjectType();

Gets the type of this object.

getSectionName
BSTR getSectionName();

Gets the section name.

setSectionName
setSectionName(LPCTSTR SectionName);

Sets the section name.

numberOfParagraphs
long numberOfParagraphs();

Returns the number of document paragraphs contained in the section.

getParagraph
LPDISPATCH getParagraph(long paragraphIndex);

Gets the document paragraph. The paragraphIndex value ranges between 1 and the total number of paragraphs. If no document paragraphs are found, this method returns the value NULL. The returned LPDISPATCH pointer contains a DXMatchesParagraphTS object.

addParagraph
addParagraph(LPDISPATCH paragraph);

Adds a document paragraph. The input parameter LPDISPATCH pointer contains a DXMatchesParagraphTS object.

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