InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
IInCopyGalleySettingData.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 __IInCopyGalleySettingData__
28 #define __IInCopyGalleySettingData__
29 
30 #include "IPMUnknown.h"
31 #include "WritingModeUIID.h"
32 #include "WritingModeID.h"
33 #include "IControlView.h"
34 #include "IDocument.h"
35 #include "IWindow.h"
36 #include "PMReal.h"
37 #include "UIDList.h"
38 #include "UIDRef.h"
39 
47 {
48 public:
49  enum { kDefaultIID = IID_IINCOPYGALLEYSETTINGDATA };
50 
54  virtual void CopyData(IInCopyGalleySettingData const* copyFrom) = 0;
55 
59  virtual void SetWritingView(IControlView * view) = 0;
60 
65  virtual IControlView * GetWritingView() const = 0;
66 
70  virtual void SetInfoColumnView(IControlView * view) = 0;
71 
76  virtual IControlView * GetInfoColumnView() const = 0;
77 
81  virtual void SetLineNumberView(IControlView * view) = 0;
82 
87  virtual IControlView * GetLineNumberView() const = 0;
88 
92  virtual void SetInfoSplitterView(IControlView * view) = 0;
93 
98  virtual IControlView * GetInfoSplitterView() const = 0;
99 
103  virtual void SetTotalHeight(PMReal height) = 0;
104 
109  virtual PMReal GetTotalHeight() const = 0;
110 
114  virtual void SetStartLineNumber(int32 line) =0;
115 
120  virtual int32 GetStartLineNumber() const = 0;
121 
125  virtual void SetEndLineNumber(int32 line)=0;
126 
131  virtual int32 GetEndLineNumber() const = 0;
132 
136  virtual void SetColumnWidth(PMReal width) = 0;
137 
142  virtual PMReal GetColumnWidth() const = 0;
143 
147  virtual void SetGalleySetting(bool16 setting) = 0;
148 
153  virtual bool16 GetGalleySetting() const = 0;
154 
158  virtual void SetDocUIDRef(const UIDRef& docUIDRef)=0;
159 
164  virtual const UIDRef& GetDocUIDRef() const=0;
165 
169  virtual void SetParaStyles(bool16 displayed) = 0;
170 
175  virtual bool16 GetParaStyles() const = 0;
176 
180  virtual void SetLineNumber(bool16 displayed) = 0;
181 
186  virtual bool16 GetLineNumber() const = 0;
187 
191  virtual void SetALE(bool16 displayed) = 0;
192 
197  virtual bool16 GetALE() const = 0;
198 
199  // to print with notes displayed
200 
204  virtual void SetNotes(bool16 displayed) = 0;
205 
210  virtual bool16 GetNotes() const = 0;
211 
215  virtual void SetTrackChanges(bool16 displayed) = 0;
216 
221  virtual bool16 GetTrackChanges() const = 0;
222 
226  virtual void SetNotesType(int32 type) = 0;
227 
232  virtual int32 GetNotesType() const = 0;
233 
237  virtual void SetTrackChangesType(int32 type) = 0;
238 
243  virtual int32 GetTrackChangesType() const = 0;
244 
248  virtual void SetFontName(const PMString& fontName) = 0;
249 
254  virtual PMString GetFontName() const = 0;
255 
259  virtual void SetFontType(const PMString& fontType) = 0;
260 
265  virtual PMString GetFontType() const = 0;
266 
270  virtual void SetFontSize(const PMString& fontSize) = 0;
271 
276  virtual PMString GetFontSize() const = 0;
277 
281  virtual void SetFontLeading(const PMString& fontLeading) = 0;
282 
287  virtual PMString GetFontLeading() const = 0;
288 
292  virtual void SetWhich(int32 range)=0;
293 
298  virtual int32 GetWhich() const = 0;
299 
303  virtual void SetRange(PMString range)=0;
304 
309  virtual PMString GetRange() const = 0;
310 
314  virtual void SetFrameSize(PMRect frame)=0;
315 
320  virtual PMRect GetFrameSize() const = 0;
321 
325  virtual void SetFill(bool16 displayed) = 0;
326 
331  virtual bool16 GetFill() const = 0;
332 
336  virtual void SetScope(int32 scope) = 0;
337 
342  virtual int32 GetScope() const = 0;
343 
347  virtual void SetStoryInfo(bool16 displayed) = 0;
348 
353  virtual bool16 GetStoryInfo() const = 0;
354 
358  virtual void SetNotesBackgroundInColor(bool16 displayed) = 0;
359 
364  virtual bool16 GetNotesBackgroundInColor() const = 0;
365 
369  virtual void SetTrackChangesBackgroundInColor(bool16 displayed) = 0;
370 
375  virtual bool16 GetTrackChangesBackgroundInColor() const = 0;
376 
380  virtual void SetPagesInfo(bool16 displayed) = 0;
381 
386  virtual bool16 GetPagesInfo() const = 0;
387 
391  virtual void SetColumns(int32 columns) = 0;
392 
397  virtual int32 GetColumns() const = 0;
398 
399  // manage story list
400 
405  virtual int32 GetStoryCount() const = 0;
406 
411  virtual int32 GetStoryIndex(const UIDRef& storyRef) const = 0;
412 
417  virtual const UIDRef& GetStoryRef(int32 index) const = 0;
418 
423  virtual bool16 GetNthStoryCollapsedState(int32 index) const = 0;
424 
428  virtual void SetCurrentStoryIndex(int32 index)=0;
429 
434  virtual int32 GetCurrentStoryIndex() const = 0;
435 
440  virtual void QueryGalleySettings(IDocument * document, IControlView* galley) = 0;
441 
445  virtual void SetLineRangeLimits(IControlView* galley) = 0;
446 
450  virtual void InitializeColumnBounds() = 0;
451 
456  virtual PMRect GetNthColumnBounds(int32 index) const = 0;
457 
462  virtual int32 GetColumnBoundsCount() const = 0;
463 };
464 
466 {
467 public:
468  typedef base_type data_type;
469  UIDRef fStoryRef;
470  bool16 fCollapsed;
471 };
472 
473 #endif
474 
475 // End, IPrintGalleyData.h.