home *** CD-ROM | disk | FTP | other *** search
/ Adobe Graphics & Publishing SDK 1996 December / Adobe Graphics & Publishing SDK 1996 December.iso / pc / pm65sdk / sourcecode / pagemakerclasslibrary / commands / pimagesaveforsep.cpp < prev    next >
Encoding:
C/C++ Source or Header  |  1996-09-04  |  1.0 KB  |  44 lines

  1. /*
  2.  *--- PImageSaveForSep.cpp --------------------------------------------------------
  3.  * Copyright (c) 1995-96 Adobe Systems Incorporated.  All rights reserved.
  4.  * Created on Sun, Oct 22, 1995 @ 3:29 PM by Paul Ferguson.
  5.  *
  6.  * Description:  For notes about this class, refer to the
  7.  * header file PImageSaveForSep.h
  8.  *-------------------------------------------------------------------------
  9.  */
  10.  
  11. #include "PImageSaveForSep.h"
  12. #include "PRequestBuf.h"
  13. #include "PCommand.h"
  14.  
  15. PImageSaveForSep::PImageSaveForSep(
  16.                 const char * sFileName,
  17.                 PMBool    bLinkOption,
  18.                 short    nPreview,
  19.                 short    nFileFormat,
  20.                 PMBool    bCropped,
  21.                 PMBool    bProfile,
  22.                 short    nCompression,
  23.                 short    nDataFormat,
  24.                 short    nCompliance)
  25.  
  26. {
  27.     PRequestBuf request(strlen(sFileName) +  18);
  28.     
  29.     request <<    sFileName
  30.             <<    bLinkOption
  31.             <<    nPreview
  32.             <<    nFileFormat
  33.             <<    bCropped
  34.             <<    bProfile
  35.             <<    nCompression
  36.             <<    nDataFormat
  37.             <<    nCompliance    ;
  38.  
  39.     PCommand command(pm_imagesaveforsep, request);
  40. }
  41.  
  42.  
  43. // end of PImageSaveForSep.cpp
  44.