BarNewPage Class Reference

Defines a gap between the item before this one and the one that follows. Can be viewed as a 'space' char when look at as a formatting item. More...

#include <bars.h>

Inheritance diagram for BarNewPage:

BarItem ListItem CCObject SimpleCCObject List of all members.

Public Member Functions

BOOL Read (CCLexFile &)
BOOL Write (CCLexFile &file)
 Writes a tokenized form of the separator 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 gap between the item before this one and the one that follows. Can be viewed as a 'space' char when look at as a formatting item.

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

Definition at line 459 of file bars.h.


Member Function Documentation

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

Implements BarItem.

Definition at line 467 of file bars.h.

00467 { return TRUE; }

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

Implements BarItem.

Definition at line 464 of file bars.h.

00464 { return TRUE; }

BOOL BarNewPage::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 4275 of file bars.cpp.

04276 {
04277     ERROR2IF(pString == NULL,FALSE,"Write given null string");
04278     *pString += TokenTable[TOKEN_BAR_NEWPAGE].Token;
04279     return TRUE;
04280 }

BOOL BarNewPage::Write CCLexFile file  )  [virtual]
 

Writes a tokenized form of the separator 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 4256 of file bars.cpp.

04257 {
04258     return (file.PutToken(TokenTable[TOKEN_BAR_NEWPAGE].Token));
04259 }


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