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

  1. /*
  2.  *--- PPreferences.cpp -----------------------------------------------------
  3.  * Copyright (c) 1996 Adobe Systems, Inc.  All rights reserved.
  4.  * Created on Tue, Jan 16, 1996 @ 4:10 PM by Paul Norton.
  5.  *
  6.  * Description:  For notes about this class, refer to the
  7.  * PCL documentation file PPreferences.html
  8.  *-------------------------------------------------------------------------
  9.  */
  10.  
  11. #include "PPreferences.h"
  12. #include "PRequestBuf.h"
  13. #include "PCommand.h"
  14.  
  15. void PPreferences::SetPrefs
  16.   ( short nGreekBelow,
  17.     short cGuides,
  18.     short cGraphics,
  19.     PMBool  bLoose,
  20.     PMBool  bKeeps,
  21.     short cSaveOption,
  22.     PMBool  bQuotes,
  23.     PMBool  bNumSnapTo,
  24.     PMBool  bSlowAutoflow,
  25.     PMBool  bDisplayName,
  26.     short nKBitmap,
  27.     long  nKLimit,
  28.     long  xHorizNudge,
  29.     long  yVerticalNudge,
  30.     short cPSMemory)
  31.  
  32. {          
  33.     char * temp[36];
  34.     PRequestBuf request(temp);
  35.  
  36.     request << nGreekBelow
  37.             << cGuides
  38.             << cGraphics
  39.             << bLoose
  40.             << bKeeps
  41.             << cSaveOption
  42.             << bQuotes
  43.             << bNumSnapTo
  44.             << bSlowAutoflow
  45.             << bDisplayName
  46.             << nKBitmap
  47.             << nKLimit
  48.             << xHorizNudge
  49.             << yVerticalNudge
  50.             << cPSMemory;
  51.             
  52.     PCommand command(pm_preferences, request);
  53. }
  54.  
  55. // end of PPreferences.cpp
  56.