InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
IInCopyPDFExptGalleyData.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 __IInCopyPDFExptGalleyData__
28 #define __IInCopyPDFExptGalleyData__
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 #include "IInCopyGalleySettingData.h"
39 
50 {
51 public:
52 enum { kDefaultIID = IID_IINCOPYPDFEXPTGALLEYDATA };
53 
54 enum {
55  //line range scope
56  kAllLines = 0, // Ignore range string, use all pages of the document.
57  kUseRange, // Use range string. The string must be specified with ordinal page numbers.
58 
59  //the scope
60  kAllStories = 0,
61  kCurrentStory,
62  kExpandedStory,
63 
64  //the Notes/Track changes
65  kAll = 0,
66  kVisible,
67 
68  //the column unit
69  kInches = 0,
70  kCentimeter
71  };
72 
73  virtual bool16 GetIsDefaultValues() const = 0;
74 
75  // Copy/Initialization methods
76  virtual void CopyData(IInCopyPDFExptGalleyData* copyFrom) = 0;
77  // set the default setting from IInCopyGalleySettingData
78  virtual void CopyDefault(IInCopyGalleySettingData* setting) = 0;
79 
80  // Change notification method
81  virtual void Notify(void* changedBy = nil) = 0;
82 
83  // Set methods
84  virtual void SetPDFExLaunchAcrobat(const bool16 value) = 0;
85  virtual void SetPDFExPageInfo(const bool16 value) = 0;
86  virtual void SetPDFExStyle(const bool16 value) = 0;
87  virtual void SetPDFExLineNumber(const bool16 value) = 0;
88  virtual void SetPDFExInlineNotes(const bool16 value) = 0;
89  virtual void SetPDFExTrackChanges(const bool16 value) = 0;
90  virtual void SetPDFExFill(const bool16 value) = 0;
91  virtual void SetPDFExALE(const bool16 value) = 0;
92  virtual void SetPDFExLineRangeFormat(const int32 value) = 0;
93  virtual void SetPDFExLineRange(const PMString value) = 0;
94  virtual void SetPDFExAcrobatCompatibilityLevel(const int32 value) = 0;
95  virtual void SetPDFExFont(const PMString value) = 0;
96  virtual void SetPDFExFontType(const PMString value) = 0;
97  virtual void SetPDFExFontSize(const PMString value) = 0;
98  virtual void SetPDFExFontLeading(const PMString value) = 0;
99  virtual void SetPDFExColumnWidth(const PMReal value) = 0;
100  virtual void SetPDFExColumnWidthType(const int32 value) = 0;
101  virtual void SetPDFExCustomUnit(const PMReal value) = 0;
102  virtual void SetPDFExNotesType(const int32 value) = 0;
103  virtual void SetPDFExTrackChangesType(const int32 value) = 0;
104  virtual void SetPDFExNotesBackground(const bool16 value) = 0;
105  virtual void SetPDFExTrackChangesBackground(const bool16 value) = 0;
106  virtual void SetPDFExScope(const int32 value) = 0;
107  virtual void SetPDFExStoryInfo(const bool16 value) = 0;
108  virtual void SetPDFExSubsetFontsThreshold(const int32 subsetFontsThreshold) = 0;
109 
110  // Get methods
111  virtual bool16 GetPDFExLaunchAcrobat() const = 0;
112  virtual bool16 GetPDFExPageInfo() const = 0;
113  virtual bool16 GetPDFExStyle() const = 0;
114  virtual bool16 GetPDFExLineNumber() const = 0;
115  virtual bool16 GetPDFExInlineNotes() const = 0;
116  virtual bool16 GetPDFExTrackChanges() const = 0;
117  virtual bool16 GetPDFExFill() const = 0;
118  virtual bool16 GetPDFExALE() const = 0;
119  virtual int32 GetPDFExLineRangeFormat() const = 0;
120  virtual PMString GetPDFExLineRange() const = 0;
121  virtual int32 GetPDFExAcrobatCompatibilityLevel() const = 0;
122  virtual PMString GetPDFExFont() const = 0;
123  virtual PMString GetPDFExFontType() const = 0;
124  virtual PMString GetPDFExFontSize() const = 0;
125  virtual PMString GetPDFExFontLeading() const = 0;
126  virtual PMReal GetPDFExColumnWidth() const = 0;
127  virtual int32 GetPDFExColumnWidthType() const = 0;
128  virtual PMReal GetPDFExCustomUnit() const = 0;
129  virtual int32 GetPDFExNotesType() const = 0;
130  virtual int32 GetPDFExTrackChangesType() const = 0;
131  virtual bool16 GetPDFExNotesBackground() const = 0;
132  virtual bool16 GetPDFExTrackChangesBackground() const = 0;
133  virtual int32 GetPDFExScope() const = 0;
134  virtual bool16 GetPDFExStoryInfo() const = 0;
135  virtual int32 GetPDFExSubsetFontsThreshold() const = 0;
136 };
137 
138 #endif
139 
140 // End, IInCopyPDFExptGalleyData.h.