InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
ITextPreferencesFacade.h
1 //========================================================================================
2 //
3 // $File$
4 //
5 // Owner: nmccully
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 __ITextPreferencesFacade__
25 #define __ITextPreferencesFacade__
26 
27 // ----- Interfaces -----
28 
29 #include "IPMUnknown.h"
30 
31 // ----- Includes -----
32 
33 #include "TextEditorModelID.h"
34 
35 class IDataBase;
36 
42 namespace Facade
43 {
45  kAtEndOfStory = 0,
48  };
49 
51  {
52  public:
53  enum { kDefaultIID = IID_ITEXTPREFERENCESFACADE };
54 
55 
56  //------------------------------------------------------
57  // Type Options
58  //------------------------------------------------------
62  virtual bool GetTextToolConvertsFrames() const = 0;
63 
68  virtual ErrorCode SetTextToolConvertsFrames(bool bConvertToText) const = 0;
69 
83  virtual ErrorCode SetDynamicAutoFlowOptions(bool enabled, DynamicAutoFlowKind kind, bool requireMaster,
84  bool preserveRectoVerso, bool allowAutoDelete, IDataBase *db) const = 0;
85 
98  virtual bool GetDynamicAutoFlowOptions( DynamicAutoFlowKind& kind, bool& requireMaster,
99  bool& preserveRectoVerso, bool& allowAutoDelete, IDataBase *db) const = 0;
100 
101 
117  virtual ErrorCode SetDynamicAutoFlowSynchronous(bool enabled, DynamicAutoFlowKind kind, bool requireMaster,
118  bool preserveRectoVerso, bool allowAutoDelete, bool syncStatus, IDataBase *db) const = 0;
119 
126  virtual bool GetDynamicAutoFlowSynchronousStatus(IDataBase *db, bool &syncStatus) const = 0;
127 
128 
129  //------------------------------------------------------
130  // Drag & Drop Text Editing
131  //------------------------------------------------------
132 
133  //------------------------------------------------------
134  // Links
135  //------------------------------------------------------
136  };
137 }
138 #endif // __ITextPreferencesFacade__