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 / pstoryeditpref.cpp < prev    next >
Encoding:
C/C++ Source or Header  |  1996-09-04  |  1.1 KB  |  40 lines

  1. /*
  2.  *--- PStoryEditPref.cpp --------------------------------------------------
  3.  * Copyright (c) 1995-96 Adobe Systems Incorporated.  All rights reserved.
  4.  * Created on Sun, Oct 22, 1995 @ 4:19 PM by Paul Ferguson.
  5.  *
  6.  * Description:  For notes about this class, refer to the
  7.  * PCL documentation file PStoryEditPref.html
  8.  *-------------------------------------------------------------------------
  9.  */
  10.  
  11. #include "PStoryEditPref.h"
  12. #include "PGetStoryEditPref.h"
  13. #include "PRequestBuf.h"
  14. #include "PCommand.h"
  15.  
  16. PStoryEditPref::PStoryEditPref
  17.   (    PMBool            bDisplayPara,
  18.     PMBool            bDisplayStyle,
  19.     short            dSize,
  20.     const char *    sFont )
  21. {
  22.     PRequestBuf request(strlen(sFont) + 20);
  23.  
  24.     request << bDisplayPara << bDisplayStyle << dSize << sFont;
  25.             
  26.     PCommand command(pm_storyeditpref, request);
  27. }
  28.  
  29.  
  30. PStoryEditPref::PStoryEditPref(const PGetStoryEditPref& sePref)
  31. {
  32.     PRequestBuf request(strlen(sePref.sFont) + 20);
  33.  
  34.     request << sePref.bDisplayPara << sePref.bDisplayStyle << sePref.dSize << sePref.sFont;
  35.             
  36.     PCommand command(pm_storyeditpref, request);
  37. }
  38.  
  39. // end of PStoryEditPref.cpp
  40.