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

  1. /*
  2.  *--- PTextWrap.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 PTextWrap.html
  8.  *-------------------------------------------------------------------------
  9.  */
  10.  
  11. #include "PTextWrap.h"
  12. #include "PRequestBuf.h"
  13. #include "PCommand.h"
  14.  
  15. const size_t REQUEST_SIZE = 22;
  16.  
  17. PTextWrap::PTextWrap
  18.   (    short    cWrapOption,
  19.     short    cTextFlow,
  20.     long    xLeftSO,
  21.     long    yTopSO,
  22.     long    xRightSO,
  23.     long    yBottomSO,
  24.     short    cLayerWrap )
  25. {
  26.     char * temp[REQUEST_SIZE];
  27.     PRequestBuf request(temp);
  28.  
  29.     request << cWrapOption
  30.             << cTextFlow
  31.             << xLeftSO
  32.             << yTopSO
  33.             << xRightSO
  34.             << yBottomSO
  35.             << cLayerWrap;
  36.             
  37.     PCommand command(pm_textwrap, request);
  38. }
  39.  
  40. // end of PTextWrap.cpp
  41.