InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
IEndnoteOptionsSuite.h
1 //========================================================================================
2 //
3 // $File$
4 //
5 // Owner: Susmita Singh
6 //
7 // $Author$
8 //
9 // $DateTime$
10 //
11 // $Revision$
12 //
13 // $Change$
14 //
15 // ADOBE CONFIDENTIAL
16 //
17 // Copyright 2017 Adobe
18 // All Rights Reserved.
19 //
20 // NOTICE: Adobe permits you to use, modify, and distribute this file in
21 // accordance with the terms of the Adobe license agreement accompanying
22 // it. If you have received this file from a source other than Adobe,
23 // then your use, modification, or distribution of it requires the prior
24 // written permission of Adobe.
25 //
26 //========================================================================================
27 
28 #ifndef _IEndnoteOptionsSuite_
29 #define _IEndnoteOptionsSuite_
30 
31 #include "IPMUnknown.h"
32 #include "IEndnoteSettings.h"
33 
39 {
40 public:
41  enum { kDefaultIID = IID_IENDNOTEOPTIONS_ISUITE };
42 
45  virtual bool16 CanApplyEndnoteOptions(void) const = 0;
46 
49  virtual WideString GetTitle() const = 0;
50  virtual void SetTitle(WideString title) = 0;
51 
54  virtual UID GetHeaderParaStyle() const = 0;
55  virtual void SetHeaderParaStyle(UID styleID) = 0;
56 
60  virtual void SetRestartOption(IEndnoteSettings::RestartNumberingOptions option) = 0;
61 
64  virtual int32 GetStartingNumber() const = 0;
65  virtual void SetStartingNumber(int32 n) = 0;
66 
69  virtual ClassID GetNumberingMethod() const = 0;
70  virtual void SetNumberingMethod(ClassID whichMethod) = 0;
71 
75  virtual void SetMarkerPositioning(IEndnoteSettings::MarkerPositionOptions option) = 0;
76 
79  virtual UID GetMarkerStyle() const = 0;
80  virtual void SetMarkerStyle(UID styleID) = 0;
81 
84  virtual UID GetEndnoteParagraphStyle() const = 0;
85  virtual void SetEndnoteParagraphStyle(UID s) = 0;
86 
89  virtual const WideString& GetEndnoteSeparator() const = 0;
90  virtual void SetEndnoteSeparator(const WideString& sep) = 0;
91 
94  virtual IEndnoteSettings::Scope GetScope() const = 0;
95  virtual void SetScope(IEndnoteSettings::Scope scope) = 0;
96 
99  virtual IEndnoteSettings::Place GetPlace() const = 0;
100  virtual void SetPlace(IEndnoteSettings::Place place) = 0;
101 
104  virtual const WideString& GetMarkerPrefix() const = 0;
105  virtual void SetMarkerPrefix(const WideString& pre) = 0;
106 
109  virtual const WideString& GetMarkerSuffix() const = 0;
110  virtual void SetMarkerSuffix(const WideString& suf) = 0;
111 
115  virtual void SetPrefixSuffixUsage(IEndnoteSettings::SuffixPrefixUsageOptions options) = 0;
116 
119  virtual void SetAllSettings(const IEndnoteSettings::EndnotePrefs* settings) = 0;
120 };
121 
122 #endif // _IEndnoteOptionsSuite_