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 / pwordspace.cpp < prev    next >
Encoding:
C/C++ Source or Header  |  1996-08-15  |  982 b   |  38 lines

  1. /*
  2.  *--- PWordSpace.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 PWordSpace.html
  8.  *-------------------------------------------------------------------------
  9.  */
  10.  
  11. #include "PWordSpace.h"
  12. #include "PGetWordSpace.h"
  13. #include "PCommand.h"
  14.  
  15. const size_t REQUEST_SIZE = 6;
  16.  
  17. PWordSpace::PWordSpace(short dWordMin, short dWordDesired, short dWordMax)
  18. {
  19.     short x[3];
  20.     x[0] = dWordMin;
  21.     x[1] = dWordDesired;
  22.     x[2] = dWordMax;
  23.     
  24.     PCommand command(pm_wordspace, x, REQUEST_SIZE);
  25. }
  26.  
  27. PWordSpace::PWordSpace(const PGetWordSpace& wordSpace)
  28. {
  29.     short x[3];
  30.     x[0] = wordSpace.dWordMin;
  31.     x[1] = wordSpace.dWordDesired;
  32.     x[2] = wordSpace.dWordMax;
  33.     
  34.     PCommand command(pm_wordspace, x, REQUEST_SIZE);
  35.  
  36. }
  37. // end of PWordSpace.cpp
  38.