24 #ifndef __IHyphenatedWord__ 25 #define __IHyphenatedWord__ 27 #include "GRRefCountedObj.h" 28 #include "InterfacePtr.h" 31 #include "KeyValuePair.h" 46 HyphenPoint(int32 pos, int32 val) : nPosition(pos), nValue(val)
69 enum { kNoHyphenPoint = 0,
70 kVeryUnpreferredHyphenPoint = 10,
71 kUnpreferredHyphenPoint = 25,
72 kRegularHyphenPoint = 50,
73 kPreferredHyphenPoint = 75,
74 kDiscretionaryHyphenPoint = 80,
75 kHardHyphenPoint = 90,
77 kBestHyphenPoint = 100,
78 kWorstHyphenPoint = 0,
79 kForcedHyphenPoint = kBestHyphenPoint,
80 kRefusedHyphenPoint = kWorstHyphenPoint,
82 kInvalidHyphenPoint = -1
156 :fFace(AddRef_(p.
get())) { }
162 template <
class OtherType>
179 reset(AddRef_(p.get()));
194 ASSERT_MSG(fFace != nil,
"About to use nil interface ptr!");
201 {
return fFace == nil; }
231 template <
class OtherType>