24 #ifndef __ITextParcelListData__ 25 #define __ITextParcelListData__ 27 #include "IPMUnknown.h" 28 #include "ICompositionStyle.h" 34 #include "CTextEnum.h" 35 #include "ParcelKey.h" 36 #include "TextWrapRef.h" 48 enum { kDefaultIID = IID_ITEXTPARCELLISTDATA };
53 virtual IDataBase * GetDataBase()
const = 0;
54 virtual UID GetTextModelUID()
const = 0;
55 virtual UID GetFrameListUID()
const = 0;
63 virtual void SetParcelDamaged(
ParcelKey key) = 0;
64 virtual void ClearParcelDamage(
ParcelKey key) = 0;
105 virtual TextIndex GetParcelTextStart(
ParcelKey key)
const = 0;
106 virtual int32 GetParcelTextSpan(
ParcelKey key)
const = 0;
107 virtual void SetParcelTextSpan(
ParcelKey key, TextIndex span) = 0;
109 virtual ParcelKey GetParcelContaining(TextIndex at)
const = 0;
120 PMReal* pBottom)
const = 0;
130 virtual void SetParcelHasPositionDependentContent(
ParcelKey key, bool16 v) = 0;
136 virtual void SetParcelHasKeepsOn(
ParcelKey key, bool16 v) = 0;
144 virtual bool16 GetParcelHasBeenVJed(
ParcelKey key)
const = 0;
145 virtual void SetParcelHasBeenVJed(
ParcelKey key, bool16 vj) = 0;
151 virtual bool16 GetParcelHasGridAlignedWax(
ParcelKey key)
const = 0;
152 virtual void SetParcelHasGridAlignedWax(
ParcelKey key, bool16 v) = 0;
158 virtual bool16 GetParcelHasNeedsPostProcessWax(
ParcelKey key)
const = 0;
159 virtual void SetParcelHasNeedsPostProcessWax(
ParcelKey key, bool16 v) = 0;
181 int32* pIndex = nil)
const = 0;
202 nextParcelType pType,
203 int32* pIndex = nil)
const = 0;
213 int32* pIndex = nil)
const = 0;
237 virtual Text::FirstLineOffsetMetric
238 GetParcelFirstLineOffsetMetric(
ParcelKey key)
const = 0;
240 virtual bool16 GetIsVertical()
const = 0;
241 virtual bool16 GetIsRightToLeft()
const = 0;
248 virtual void SetParcelMaxSoftBottomHeight(
ParcelKey key,
PMReal maxHeight) = 0;
250 virtual bool16 GetParcelIsValidStartBreakLocation(
ParcelKey key,
251 Text::StartBreakLocation mode)
const = 0;
252 virtual bool16 GetHasAnyValidStartBreakLocation()
const = 0;
327 UIDList* list = nil)
const = 0;
345 int32& needWrapCheckKeyIndex)
const = 0;
350 virtual bool16 ShouldFakeTabAlignToChar()
const = 0;
357 virtual void InvalidateParcelComposedState(
ParcelKey key) = 0;
365 virtual void NotifyParcelParentInkBoundsChanged(
ParcelKey key) = 0;
401 bool16 isInlineToParcel) = 0;
460 PMReal& waxYBottom)
const = 0;
469 const PMReal& waxYBottom) = 0;
541 #endif // __ITextParcelListData__