CMXReferPage Class Reference

#include <cmxexdc.h>

Inheritance diagram for CMXReferPage:

CMXReferListItemOffset CMXReferListItem ListItem CCObject SimpleCCObject List of all members.

Public Member Functions

 CMXReferPage (CMXExportDC *pDC)
void SetLayerTableOffset (INT32 off)
void SetRefListOffset (INT32 off)
BOOL IsInWhichIndex (void)
BOOL WriteInIndex (CMXExportDC *pDC)
 writes the page details in the layer list
INT32 IndexEntrySize (CMXExportDC *pDC)

Protected Attributes

INT32 LayerTableOffset
INT32 RefListOffset

Private Member Functions

 CC_DECLARE_DYNAMIC (CMXReferPage)

Detailed Description

Definition at line 696 of file cmxexdc.h.


Constructor & Destructor Documentation

CMXReferPage::CMXReferPage CMXExportDC pDC  )  [inline]
 

Definition at line 701 of file cmxexdc.h.

00701 : CMXReferListItemOffset(pDC) {};


Member Function Documentation

CMXReferPage::CC_DECLARE_DYNAMIC CMXReferPage   )  [private]
 

INT32 CMXReferPage::IndexEntrySize CMXExportDC pDC  )  [inline, virtual]
 

Reimplemented from CMXReferListItem.

Definition at line 708 of file cmxexdc.h.

00708 {return sizeof(cmxPageIndexEntry)+(pDC->IsThirtyTwoBit()?sizeof(WORD):0);};

BOOL CMXReferPage::IsInWhichIndex void   )  [inline, virtual]
 

Reimplemented from CMXReferListItem.

Definition at line 706 of file cmxexdc.h.

00706 {return cmxINDEX_PAGE;};

void CMXReferPage::SetLayerTableOffset INT32  off  )  [inline]
 

Definition at line 703 of file cmxexdc.h.

00703 {LayerTableOffset = off;};

void CMXReferPage::SetRefListOffset INT32  off  )  [inline]
 

Definition at line 704 of file cmxexdc.h.

00704 {RefListOffset = off;};

BOOL CMXReferPage::WriteInIndex CMXExportDC pDC  )  [virtual]
 

writes the page details in the layer list

Author:
Ben_Summers (Xara Group Ltd) <camelotdev@xara.com>
Date:
26/06/96
Parameters:
export dc [INPUTS]
Returns:
none
See also:

Reimplemented from CMXReferListItem.

Definition at line 505 of file cmxexdc.cpp.

00506 {
00507 
00508     // write the entry
00509     cmxPageIndexEntry pe;
00510 
00511     // write size in file
00512     pDC->WriteSizeInFile(sizeof(pe));
00513 
00514     pe.PageOffset = Offset;
00515     pe.LayerTableOffset = LayerTableOffset;
00516     pe.ThumbnailOffset = 0;
00517     pe.RefListOffset = RefListOffset;
00518 
00519     if(!pDC->WriteData(&pe, sizeof(pe)))
00520         return FALSE;
00521 
00522     return TRUE;
00523 }


Member Data Documentation

INT32 CMXReferPage::LayerTableOffset [protected]
 

Definition at line 708 of file cmxexdc.h.

INT32 CMXReferPage::RefListOffset [protected]
 

Definition at line 712 of file cmxexdc.h.


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