Index

DKMatchesParagraphTS

Purpose:

The DKMatchesParagraphTS class provides the interface for a document paragraph.

Class summary:

    class DKMatchesParagraphTS : public dkDataObjectBase
    {
   public:
     ...
     DKMatchesParagraphTS();
     virtual ~DKMatchesParagraphTS();
     short protocol();
     DKString getObjectType();
     long getCCSID();
     void setCCSID(long ccsid);
     long getLanguageId();
     void setLanguageId(long langId);
     long numberOfTextItems();
     DKMatchesTextItemTS* getTextItem(long textItemIndex);
     void addTextItem(DKMatchesTextItemTS* textItem);
    }
 

Members:

Constructors and destructor
    DKMatchesParagraphTS();
    virtual ~DKMatchesParagraphTS();

Member functions

protocol
Gets the protocol type associated with this data object.
     short protocol();
 

getObjectType
Gets the type of this object.
     DKString getObjectType();
 

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

setCCSID
Sets the coded character set ID (CCSID) for the paragraph.
     void setCCSID(long ccsid);
 

getLanguageId
Gets the language ID for the paragraph.
     long getLanguageId();
 

setLanguageId
Sets the language ID for the paragraph.
     void setLanguageId(long langId);
 

numberOfTextItems
Returns the number of document text items in the paragraph.
     long numberOfTextItems();
 

getTextItem
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 function returns the value NULL.
     DKMatchesTextItemTS* getTextItem(long textItemIndex);
 

addTextItem
Adds a document text item to the paragraph.
     void addTextItem(DKMatchesTextItemTS* textItem);
 

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