CODLineBreakSet Class

class CODLineBreakSet: public CCArray_T

This class encapsulates an array of DWORD integers that represent the position and length lines in a text buffer. Each element in the array is a DWORD, where the LOWORD is the position of the line and the HIWORD is the length of the line.

Defined in: OdTextComp.h

Class Members

int  GetLinePos(const int nLineIdx) const

Get the position of a given line.

int  GetLineLen(const int nLineIdx) const

Get the length of a given line.

void  SetLinePos(const int nLineIdx, const int nPos)

Set the position of a given line.

void  SetLineLen(const int nLineIdx, const int nLen)

Set the length of a given line.

CString  GetLine(const CString& strBuf, const int nLineIdx)

Retrieve a line from the given buffer.