#include <cmxexdc.h>
Inheritance diagram for CMXReferPage:
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) |
Definition at line 696 of file cmxexdc.h.
|
Definition at line 701 of file cmxexdc.h. 00701 : CMXReferListItemOffset(pDC) {};
|
|
|
|
Reimplemented from CMXReferListItem. Definition at line 708 of file cmxexdc.h. 00708 {return sizeof(cmxPageIndexEntry)+(pDC->IsThirtyTwoBit()?sizeof(WORD):0);};
|
|
Reimplemented from CMXReferListItem. Definition at line 706 of file cmxexdc.h. 00706 {return cmxINDEX_PAGE;};
|
|
Definition at line 703 of file cmxexdc.h. 00703 {LayerTableOffset = off;};
|
|
Definition at line 704 of file cmxexdc.h. 00704 {RefListOffset = off;};
|
|
writes the page details in the layer list
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 }
|
|
|
|
|