home *** CD-ROM | disk | FTP | other *** search
- /*
- *--- PPreferences.cpp -----------------------------------------------------
- * Copyright (c) 1996 Adobe Systems, Inc. All rights reserved.
- * Created on Tue, Jan 16, 1996 @ 4:10 PM by Paul Norton.
- *
- * Description: For notes about this class, refer to the
- * PCL documentation file PPreferences.html
- *-------------------------------------------------------------------------
- */
-
- #include "PPreferences.h"
- #include "PRequestBuf.h"
- #include "PCommand.h"
-
- void PPreferences::SetPrefs
- ( short nGreekBelow,
- short cGuides,
- short cGraphics,
- PMBool bLoose,
- PMBool bKeeps,
- short cSaveOption,
- PMBool bQuotes,
- PMBool bNumSnapTo,
- PMBool bSlowAutoflow,
- PMBool bDisplayName,
- short nKBitmap,
- long nKLimit,
- long xHorizNudge,
- long yVerticalNudge,
- short cPSMemory)
-
- {
- char * temp[36];
- PRequestBuf request(temp);
-
- request << nGreekBelow
- << cGuides
- << cGraphics
- << bLoose
- << bKeeps
- << cSaveOption
- << bQuotes
- << bNumSnapTo
- << bSlowAutoflow
- << bDisplayName
- << nKBitmap
- << nKLimit
- << xHorizNudge
- << yVerticalNudge
- << cPSMemory;
-
- PCommand command(pm_preferences, request);
- }
-
- // end of PPreferences.cpp
-