InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
MiniFolioOptions.h
1 //========================================================================================
2 //
3 // $File$
4 //
5 // Owner: Adobe Systems Inc.
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 
25 #include "IJPEGEncoder.h" // For JPEG quality enum
26 #include <adobe/vector.hpp>
27 
35 {
40 
45 
50  {
51  kPNGFormat,
52  kJPEGFormat,
53  kAutoRasterFormat, // uses various heuristics to select between PNG and JPEG formats
54  kPDFFormat,
55  kPGTFormat,
56 
57  kInvalidAssetFormat = 0xffffffff
58  };
59 
64 
68  JPEGQuality fJPEGQuality;
69 
75 
80 
85  {
86  kNoSmoothScrolling,
87  kVerticalSmoothScrolling,
88  kHorizontalSmoothScrolling,
89  kVerticalAndHorizontalSmoothScrolling,
90 
91  kInvalidSmoothScrolling = 0xffffffff
92  };
93 
94  SmoothScrollingBehavior fSmoothScrollingBehavior;
95 
96  WideString fContentStackID;
97 
98  bool fIsFlattened;
99 
100  bool fAlwaysDisplayOverlays;
101 
106  adobe::vector<uint32> fSpreadList;
107 
108 
114 
115  MiniFolioOptions() :
116  fWideDimension(1024),
117  fNarrowDimension(768),
118  fFormat(MiniFolioOptions::kAutoRasterFormat),
119  fJPEGQuality(kExcellentQuality),
120  fSmoothScrollingBehavior(MiniFolioOptions::kNoSmoothScrolling),
121  fIsFlattened(false),
122  fAlwaysDisplayOverlays(false)
123  {
124  }
125 };