InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
ITextAttrProviderHyphStyle.h
1 //========================================================================================
2 //
3 // $File$
4 //
5 // Owner: Amish Kumar Bedi
6 //
7 // $Author$
8 //
9 // $DateTime$
10 //
11 // $Revision$
12 //
13 // $Change$
14 //
15 // ADOBE CONFIDENTIAL
16 //
17 // Copyright 2017 Adobe
18 // All Rights Reserved.
19 //
20 // NOTICE: Adobe permits you to use, modify, and distribute this file in
21 // accordance with the terms of the Adobe license agreement accompanying
22 // it. If you have received this file from a source other than Adobe,
23 // then your use, modification, or distribution of it requires the prior
24 // written permission of Adobe.
25 //
26 //========================================================================================
27 
28 #ifndef __ITextAttrProviderHyphStyle__
29 #define __ITextAttrProviderHyphStyle__
30 
31 #include "IHyphenationStyle.h"
32 #include "TextAttrID.h"
33 
34 
43 {
44  public:
45  enum { kDefaultIID = IID_ITEXTATTRPROVIDERHYPHSTYLE };
46 
48 
53  void Set(ValueType phs)
54  { SetProviderHyphStyle(phs); }
55 
60  ValueType Get() const
61  { return GetProviderHyphStyle(); }
62 
67  virtual void SetProviderHyphStyle(ValueType providerHyphStyle) = 0;
68 
73  virtual ValueType GetProviderHyphStyle() const = 0;
74 
75 };
76 
77 #endif