InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
IInCopyPDFExptLayoutData.h
1 //========================================================================================
2 //
3 // $File$
4 //
5 // Owner: Cindy Chen
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 // Purpose:
24 //
25 //========================================================================================
26 
27 #ifndef __IInCopyPDFExptLayoutData__
28 #define __IInCopyPDFExptLayoutData__
29 
30 #include "IPMUnknown.h"
31 #include "IXferBytes.h"
32 #include "InCopyCoreID.h"
33 #include "PersistUIDList.h"
34 #include "PMString.h"
35 #include "PMReal.h"
36 #include "PMRect.h"
37 #include "IGenericSettings.h"
38 
48 {
49 public:
50 enum { kDefaultIID = IID_IINCOPYPDFEXPTLAYOUTDATA };
51 
52 enum {
53  //scope
54  kAllPages = 0, // Ignore range string, use all pages of the document.
55  kUseRange, // Use range string. The string must be specified with ordinal page numbers.
56  kLastType = kUseRange
57  };
58 
59  // Copy methods
60  virtual void CopyData(IInCopyPDFExptLayoutData* copyFrom) = 0;
61 
62  // Change notification method
63  virtual void Notify(void* changedBy = nil) = 0;
64 
65  // set methods
66  virtual void SetPDFExLaunchAcrobat(const bool16 value) = 0;
67  virtual void SetPDFExPageInfo(const bool16 value) = 0;
68  virtual void SetPDFExReaderSpreads(const bool16 value) = 0;
69  virtual void SetPDFExThumbnails(const bool16 value) = 0;
70  virtual void SetPDFExLinearized(const bool16 value) = 0;
71  virtual void SetPDFExAnnotationNotes(const bool16 value) = 0;
72  virtual void SetPDFExAcrobatCompatibilityLevel(const int32 value) = 0;
73  virtual void SetPDFExPageRangeFormat(const int32 format) = 0;
74  virtual void SetPDFExPageRange(const PMString range) = 0;
75  virtual void SetPDFExSubsetFontsThreshold(const int32 subsetFontsThreshold) = 0;
76  //virtual void SetPDFExStandardsCompliance(const int32 standard) = 0;
77  virtual void SetPDFExAddInteractiveElements(const bool16 add) = 0;
78  virtual void SetContentToEmbed(const int32 content) = 0;
79 
80  // Get methods
81  virtual bool16 GetPDFExLaunchAcrobat() const = 0;
82  virtual bool16 GetPDFExPageInfo() const = 0;
83  virtual bool16 GetPDFExReaderSpreads() const = 0;
84  virtual bool16 GetPDFExThumbnails() const = 0;
85  virtual bool16 GetPDFExLinearized() const = 0;
86  virtual bool16 GetPDFExAnnotationNotes() const = 0;
87  virtual int32 GetPDFExAcrobatCompatibilityLevel() const = 0;
88  virtual int32 GetPDFExPageRangeFormat() const = 0;
89  virtual PMString GetPDFExPageRange() const = 0;
90  virtual int32 GetPDFExSubsetFontsThreshold() const = 0;
91  //virtual int32 GetPDFExStandardsCompliance() const = 0;
92  virtual bool16 GetPDFExAddInteractiveElements() const = 0;
93  virtual int32 GetContentToEmbed() const = 0;
94 };
95 
96 #endif
97 
98 // End, IInCopyPDFExptLayoutData.h.