InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
ICHLData.h
1 //========================================================================================
2 //
3 // $File$
4 //
5 // Owner: Adobe Developer Technologies
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 
25 #ifndef __ICHLData__
26 #define __ICHLData__
27 
28 #include "IPMUnknown.h"
29 #include "CHLID.h"
30 
31 class WideString;
32 
33 //----------------------------------------------------------------------------------------
34 // Interface ICHLData
35 //----------------------------------------------------------------------------------------
36 
37 class ICHLData : public IPMUnknown
38 {
39 public:
40  enum { kDefaultIID = IID_ICHLINGUISTICDATA };
41 
42  virtual int32 GetNumSearchPaths(void) = 0;
43  virtual void SetNumSearchPaths(int32 numSearchPaths) = 0;
44  virtual void* AddSearchPath(bool16 flush) = 0;
45  virtual void* RemoveSearchPath(bool16 flush) = 0;
46 
47  virtual void SetNotWordUDCFileName( const PMString &rName ) = 0;
48  virtual const PMString& GetNotWordUDCFileName() const = 0;
49  virtual void SetIsWordUDCFileName( const PMString &rName ) = 0;
50  virtual const PMString& GetIsWordUDCFileName() const = 0;
51 
52  virtual IDFile* CreateNewUDC(const PMString& fileName) = 0;
53  virtual IDFile* GetUDC(const PMString& fileName) = 0;
54  virtual IDFile* GetNotWordUDC( bool16 bCreateIfNotFound ) = 0; /* get the NOT data file */
55  virtual IDFile* GetIsWordUDC( bool16 bCreateIfNotFound ) = 0; /* get the default userdict UDC data file */
56 };
57 
58 #endif