InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
IFootnoteFacade.h
1 //========================================================================================
2 //
3 // $File$
4 //
5 // Owner: David 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 __IFootnoteFacade__
25 #define __IFootnoteFacade__
26 
27 #include "IPMUnknown.h"
28 
29 #include "IFootnoteOptionsSuite.h"
30 
38 {
39 public:
40  enum { kDefaultIID = IID_IFOOTNOTEFACADE };
41 
48 
55 
58  virtual int32 GetStartingNumber(IFootnoteSettings* target) const = 0;
61  virtual void SetStartingNumber(IFootnoteSettings* target, int32 n) = 0;
62 
65  virtual ClassID GetNumberingMethod(IFootnoteSettings* target) const = 0;
68  virtual void SetNumberingMethod(IFootnoteSettings* target, ClassID whichMethod) = 0;
69 
72  virtual const WideString& GetMarkerPrefix(IFootnoteSettings* target) const = 0;
75  virtual void SetMarkerPrefix(IFootnoteSettings* target, const WideString& pre) = 0;
76 
79  virtual const WideString& GetMarkerSuffix(IFootnoteSettings* target) const = 0;
82  virtual void SetMarkerSuffix(IFootnoteSettings* target, const WideString& suf) = 0;
83 
90 
93  virtual UID GetFootnoteMarkerStyle(IFootnoteSettings* target) const = 0;
96  virtual void SetFootnoteMarkerStyle(IFootnoteSettings* target, UID s) = 0;
97 
100  virtual UID GetFootnoteParagraphStyle(IFootnoteSettings* target) const = 0;
103  virtual void SetFootnoteParagraphStyle(IFootnoteSettings* target, UID s) = 0;
104 
107  virtual const WideString& GetFootnoteSeparator(IFootnoteSettings* target) const = 0;
110  virtual void SetFootnoteSeparator(IFootnoteSettings* target, const WideString& sep) = 0;
111 
112  // The space between footnote parcels
115  virtual PMReal GetSpaceBetween(IFootnoteSettings* target) const = 0;
118  virtual void SetSpaceBetween(IFootnoteSettings* target, PMReal g) = 0;
119 
122  virtual PMReal GetSpacerHeight(IFootnoteSettings* target) const = 0;
125  virtual void SetSpacerHeight(IFootnoteSettings* target, PMReal g) = 0;
126 
129  virtual Text::FirstLineOffsetMetric GetFirstLineOffset(IFootnoteSettings* target) const = 0;
132  virtual void SetFirstLineOffset(IFootnoteSettings* target, Text::FirstLineOffsetMetric flo) = 0;
133 
136  virtual PMReal GetMinFirstLineOffset(IFootnoteSettings* target) const = 0;
139  virtual void SetMinFirstLineOffset(IFootnoteSettings* target, PMReal g) = 0;
140 
143  virtual bool16 GetEndOfStoryPlacement(IFootnoteSettings* target) const = 0;
146  virtual void SetEndOfStoryPlacement(IFootnoteSettings* target, bool16 b) = 0;
147 
150  virtual bool16 GetNoSplitting(IFootnoteSettings* target) const = 0;
153  virtual void SetNoSplitting(IFootnoteSettings* target, bool16 b) = 0;
154 
157  virtual bool16 GetStraddlingInfo(IFootnoteSettings* target) const = 0;
160  virtual void SetStraddlingInfo(IFootnoteSettings* target, bool16 b) = 0;
161 
164  virtual bool16 GetSeparatorLineOn(IFootnoteSettings* target, IFootnoteSettings::FootnoteRuleKind k) const = 0;
167  virtual void SetSeparatorLineOn(IFootnoteSettings* target, IFootnoteSettings::FootnoteRuleKind k, bool16 b) = 0;
168 
175 
182 
189 
196 
203 
210 
217 
220  virtual bool16 GetOverprintStroke(IFootnoteSettings* target, IFootnoteSettings::FootnoteRuleKind k) const = 0;
223  virtual void SetOverprintStroke(IFootnoteSettings* target, IFootnoteSettings::FootnoteRuleKind k, bool16 b) = 0;
224 
231 
238 
241  virtual bool16 GetOverprintGap(IFootnoteSettings* target, IFootnoteSettings::FootnoteRuleKind k) const = 0;
244  virtual void SetOverprintGap(IFootnoteSettings* target, IFootnoteSettings::FootnoteRuleKind k, bool16 b) = 0;
245 
248  virtual void SetAllSettings(IFootnoteSettings* target, const IFootnoteSettingsCmdData::FootnotePrefs* settings,
250  const IFootnoteSettingsCmdData::FootnoteLinePrefs* continuing) = 0;
251 };
252 
253 #endif // __IFootnoteFacade__