InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
ISVGImportPrefs.h
1 //========================================================================================
2 //
3 // $File$
4 //
5 // Owner: Gaurav T Kakkar
6 //
7 // $Author$
8 //
9 // $DateTime$
10 //
11 // $Revision$
12 //
13 // $Change$
14 //
15 // Copyright 1997-2019 Adobe Systems Incorporated. All rights reserved.
16 //
17 // NOTICE: Adobe permits you to use, modify, and distribute this file in accordance
18 // with the terms of the Adobe license agreement accompanying it. If you have received
19 // this file from a source other than Adobe, then your use, modification, or
20 // distribution of it requires the prior written permission of Adobe.
21 //
22 //
23 // Purpose:
24 // Stores the current SVG import preferences. These preferences should
25 // be set using the kSetSVGPrefsCmdBoss command.
26 //
27 //========================================================================================
28 
29 #ifndef __ISVGImportPrefs__
30 #define __ISVGImportPrefs__
31 
32 #include "IPMUnknown.h"
33 #include "PMReal.h"
34 #include "EPSID.h"
35 
36 
41 {
42 public:
43  enum { kDefaultIID = IID_ISVGIMPORTPREFS };
46  enum
47  {
48  kCropToBBox,
49  kCropToArt,
50  kCropToClippingPath
51  };
52 
55  virtual bool16 GetShowPreview() const= 0;
56  virtual void SetShowPreview(bool16 b) = 0;
57 
58 
62  virtual void SetCropTo(int32 newCropTo) = 0;
63 
67  virtual int32 GetCropTo() const = 0;
68 
72  virtual void CopyData(ISVGImportPrefs* toCopy) = 0;
73 
74 };
75 
76 #endif