LoadPrintMarks Class Reference

A derived class to load the print marks. Uses the winoil class LoadDirect. More...

#include <prnmks.h>

Inheritance diagram for LoadPrintMarks:

LoadDirect List of all members.

Public Member Functions

virtual ~LoadPrintMarks ()

Protected Member Functions

virtual BOOL OnLoadDocument (Document *pKernelDoc)
 Decode all print marks in this loaded document.

Private Member Functions

 CC_DECLARE_MEMDUMP (LoadPrintMarks)

Detailed Description

A derived class to load the print marks. Uses the winoil class LoadDirect.

Author:
Mike_Kenny (Xara Group Ltd) <camelotdev@xara.com>
Date:
06/08/96

Definition at line 138 of file prnmks.h.


Constructor & Destructor Documentation

virtual LoadPrintMarks::~LoadPrintMarks  )  [inline, virtual]
 

Definition at line 143 of file prnmks.h.

00143 {}


Member Function Documentation

LoadPrintMarks::CC_DECLARE_MEMDUMP LoadPrintMarks   )  [private]
 

BOOL LoadPrintMarks::OnLoadDocument Document pKernelDoc  )  [protected, virtual]
 

Decode all print marks in this loaded document.

Author:
Mike_Kenny (Xara Group Ltd) <camelotdev@xara.com>
Date:
06/08/96
Parameters:
pKernelDoc = a pointer to the loaded kernel document [INPUTS] Returns TRUE if the document was processed correctly FALSE if not.

Reimplemented from LoadDirect.

Definition at line 1897 of file prnmks.cpp.

01898 {
01899     // Get a pointer to the marks manager
01900     PrintMarksMan* pPrintMarksMan = GetApplication()->GetMarksManager();
01901     if (pPrintMarksMan==NULL)
01902         return FALSE;
01903     
01904     // ok do the conversion of all colours.
01905     pPrintMarksMan->ConvertAllDocColours(pKernelDoc);
01906     
01907     // ok we now have a loaded document, lets scan of the all the layers we need.
01908     // should we respond to an error from here?
01909     pPrintMarksMan->PMMCache.DecodeCachedLayers(pKernelDoc);
01910     
01911     // All is well we hope.
01912     return TRUE;
01913 }


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