InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
IDocSavePrefs.h
1 //========================================================================================
2 //
3 // $File$
4 //
5 // Owner: Dave Stephens
6 //
7 // $Author$
8 //
9 // $DateTime$
10 //
11 // $Revision$
12 //
13 // $Change$
14 //
15 // Copyright 1997-2010 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 
24 #ifndef __IDocSavePrefs__
25 #define __IDocSavePrefs__
26 
27 #include "IPMUnknown.h"
28 #include "DocumentID.h"
29 
30 
39 class IDocSavePrefs : public IPMUnknown
40 {
41 public:
43  enum { kDefaultIID = IID_IDOCSAVEPREFS};
44 
47  typedef enum
48  {
49  kFirstPageJPEGThumbnail = 0, // create a JPEG thumbnail of the first Page
50  kFirst2PagesJPEGThumbnail , // create a JPEG thumbnail of the first 2 Pages
51  kFirst5PagesJPEGThumbnail , // create a JPEG thumbnail of the first 5 Pages
52  kFirst10PagesJPEGThumbnail , // create a JPEG thumbnail of the first 10 Pages
53  kAllPagesJPEGThumbnail // create a JPEG thumbnail of all Pages
55 
59  virtual void SetThumbnailOptions(ThumbnailOptions thumbnail) = 0;
60 
65  virtual ThumbnailOptions GetThumbnailOptions() const = 0;
66 
70  virtual void SetSaveThumbnailWithDocument(bool16 saveThumbnail) = 0;
71 
76  virtual bool16 GetSaveThumbnailWithDocument() const = 0;
77 
80  typedef enum
81  {
82  kSmall = 0, // Small 128x128
83  kMedium, // Medium 256x256
84  kLarge, // Large 512x512
85  kExtraLarge // ExtraLarge 1024x1024
87 
91  virtual void SetPreviewSizeOptions(PreviewSizeOptions previewsize) = 0;
92 
97  virtual PreviewSizeOptions GetPreviewSizeOptions() const = 0;
98 
99 };
100 
101 #endif