InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
IFontFamilyData.h
1 //========================================================================================
2 //
3 // $File$
4 //
5 // Owner: ekenning
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 __IFontFamilyData__
25 #define __IFontFamilyData__
26 
27 #include "IPMUnknown.h"
28 #include "IFontMgr.h" // FontNameInfo
29 
30 class FontEntry;
31 
36 {
37  public:
38  enum { kDefaultIID = IID_IFONTFAMILYDATA };
39 
45  virtual void Set(const UIDRef& workspace, const PMString& familyName, bool16 makeFake) = 0;
46 
50  virtual PMString GetFamilyName() const = 0;
54  virtual void SetFamilyNameNative(const PMString& familyNameNative) = 0;
58  virtual PMString GetFamilyNameNative() const = 0;
62  virtual bool16 MakeFake() const = 0;
66  virtual UIDRef GetWorkspaceRef() const = 0;
67 
73  virtual void SetAddEntry(bool16 addEntry) = 0;
77  virtual bool16 GetAddEntry() const = 0;
78 
82  virtual void SetFontEntry( const FontEntry &fontEntry ) = 0;
86  virtual void GetFontEntry( FontEntry *fontEntry ) const = 0;
87 
91  virtual void SetMissingButFoundPSName( bool16 isMissing ) = 0;
94  virtual bool16 GetMissingButFoundPSName( ) const = 0;
95 
96 
97 };
98 
99 #endif
100  // __IFontFamilyData__
101