BarLineFeed Class Reference

Defines a new line after the item before this one. Can be viewed as a 'LF/CR' char pair when look at as a formatting item. More...

#include <bars.h>

Inheritance diagram for BarLineFeed:

BarItem ListItem CCObject SimpleCCObject List of all members.

Public Member Functions

BOOL Read (CCLexFile &)
BOOL Write (CCLexFile &file)
 Writes a tokenized form of the linefeed to the given file.
virtual BOOL Read (String_256 *)
virtual BOOL Write (String_256 *)
 Writes the control to the given string.

Detailed Description

Defines a new line after the item before this one. Can be viewed as a 'LF/CR' char pair when look at as a formatting item.

Author:
Mark_Neves (Xara Group Ltd) <camelotdev@xara.com>
Date:
5/4/94

Definition at line 506 of file bars.h.


Member Function Documentation

virtual BOOL BarLineFeed::Read String_256  )  [inline, virtual]
 

Implements BarItem.

Definition at line 514 of file bars.h.

00514 { return TRUE; }

BOOL BarLineFeed::Read CCLexFile  )  [inline, virtual]
 

Implements BarItem.

Definition at line 511 of file bars.h.

00511 { return TRUE; }

BOOL BarLineFeed::Write String_256 pString  )  [virtual]
 

Writes the control to the given string.

Author:
Neville_Humphrys (Xara Group Ltd) <camelotdev@xara.com>
Date:
20/2/97
Parameters:
pString = string to put the data for this control into [OUTPUTS]
Returns:
TRUE if successful, FALSE otherwise

Errors: -

See also:
-

Implements BarItem.

Definition at line 4484 of file bars.cpp.

04485 {
04486     ERROR2IF(pString == NULL,FALSE,"Write given null string");
04487     *pString += TokenTable[TOKEN_BAR_LINEFEED].Token;
04488     return TRUE;
04489 }

BOOL BarLineFeed::Write CCLexFile file  )  [virtual]
 

Writes a tokenized form of the linefeed to the given file.

Author:
Mark_Neves (Xara Group Ltd) <camelotdev@xara.com>
Date:
28/3/94
Parameters:
file = a file object [INPUTS]
- [OUTPUTS]
Returns:
TRUE if successful, FALSE otherwise

Errors: -

See also:
-

Implements BarItem.

Definition at line 4465 of file bars.cpp.

04466 {
04467     return (file.PutToken(TokenTable[TOKEN_BAR_LINEFEED].Token));
04468 }


The documentation for this class was generated from the following files:
Generated on Sat Nov 10 03:50:48 2007 for Camelot by  doxygen 1.4.4