InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
CCellContent Class Reference
Inheritance diagram for CCellContent:
CPMUnknown< ICellContent >ICellContentIPMUnknown

Public Member Functions

 CCellContent (IPMUnknown *boss)
 
virtual void SetTableModel (const UIDRef &tableModelRef)
 
virtual UIDRef GetTableModel () const
 
virtual void SetGridID (const GridID &gridID)
 
virtual GridID GetGridID () const
 
virtual void SetGridAddress (const GridAddress &gridAddress)
 
virtual GridAddress GetGridAddress () const
 
virtual PMRect GetCellPathBounds (ParcelKey key) const
 
virtual UID GetParcelFrameUID (ParcelKey key) const
 
virtual PMMatrix GetParcelToFrameMatrix (ParcelKey key) const
 
virtual bool16 GetParcelAcceptingInvals (ParcelKey key) const
 
virtual void AddParcelPendingInval (ParcelKey key, const PMRect &invalRect)
 
virtual void NotifyLayoutParcelDamageChanged (ParcelKey key, bool16 isDamaged)
 
virtual void NotifyLayoutParcelPosDependentContentSet (ParcelKey key)
 
virtual void NotifyLayoutParcelInkBoundsChanged (ParcelKey key)
 
virtual void InvalCellContent (ParcelKey key)
 
virtual void CollectParcelOwnedItems (ParcelKey key, OwnedItemDataList *rList) const
 
virtual void ConvertFromAnna (TableLayout *layout)
 
- Public Member Functions inherited from CPMUnknown< ICellContent >
IPMUnknownQueryInterface (PMIID interfaceID) const
 
void AddRef () const
 
void Release () const
 
void PreDirty (ImplementationID prop=kInvalidImpl, bool16 allowModification=kTrue)
 
void PreDirtyNoMessage (ImplementationID prop=kInvalidImpl, bool16 allowModification=kTrue)
 
 CPMUnknown (const CPMUnknown &)=delete
 
CPMUnknownoperator= (const CPMUnknown &)=delete
 
- Public Member Functions inherited from ICellContent
virtual CellType GetCellType () const =0
 
virtual void NotifyRowTypeChanging (bool16 repeat, int32 lRowCount)=0
 
virtual void ResetCompositionState ()=0
 
virtual int32 GetParcelCount () const =0
 
virtual int32 GetParcelIndex (ParcelKey key) const =0
 
virtual ParcelKey GetNthParcelKey (int32 n) const =0
 
virtual ParcelKey CreateParcelAt (int32 index)=0
 
virtual void RemoveParcel (int32 index)=0
 
virtual void SetParcelGeometry (ParcelKey key, const PMRect &cellPathBounds, const PMRect &parcelBounds, const PMRect &maxGrowBounds, GrowableDirection growDir, bool16 contentAttributeChanged)=0
 
virtual void SetParcelGrowDir (ParcelKey key, GrowableDirection growDir)=0
 
virtual void SetParcelHeight (ParcelKey key, PMReal height)=0
 
virtual void NotifyContentAttributeChanged (ParcelKey key)=0
 
virtual void NotifyParcelMoved (ParcelKey key)=0
 
virtual bool16 GetParcelNeedsComposition (ParcelKey key) const =0
 
virtual void RecomposeThruParcel (ParcelKey key)=0
 
virtual PMRect GetParcelContentInkBounds (ParcelKey key) const =0
 
virtual bool16 GetParcelHasPositionDependentContent (ParcelKey key) const =0
 
virtual PMReal GetParcelTopHungComposedBottom (ParcelKey key) const =0
 
virtual PMReal GetParcelBottomHungComposedTop (ParcelKey key) const =0
 
virtual PMReal GetParcelComposedGrowableHeight (ParcelKey parcelKey) const =0
 
virtual bool16 IsEmpty () const =0
 
virtual PMRect GetParcelPaintedBBox (ParcelKey key) const =0
 

Protected Attributes

UIDRef fTableModelRef
 
GridID fGridID
 
GridAddress fGridAddress
 
- Protected Attributes inherited from CPMUnknown< ICellContent >
HelperInterface fHelperInterface
 

Additional Inherited Members

- Public Types inherited from ICellContent
enum  { kDefaultIID = IID_ICELLCONTENT }
 
enum  GrowableDirection {
  kNone = 0, kLeft = 0x01, kTop = 0x02, kRight = 0x04,
  kBottom = 0x08
}
 
- Protected Member Functions inherited from CPMUnknown< ICellContent >
 CPMUnknown (IPMUnknown *boss)
 

Member Function Documentation

virtual void CCellContent::CollectParcelOwnedItems (ParcelKey key,
OwnedItemDataListrList 
) const
inlinevirtual

Appends the list of OwnedItems that are associated with the specified Parcel. Only those OwnedItems that are actually composed within the Parcel are added. Note that because of the presence of WaxAnchorPts and WaxAnchoredElements it is not sufficient to use the span of the Parcel to compute this.

Parameters
key
rListThe results are appended to the list.

Implements ICellContent.

virtual void CCellContent::ConvertFromAnna (TableLayout * layout)
inlinevirtual

Internal method. Do not call.

Implements ICellContent.

virtual PMRect CCellContent::GetCellPathBounds (ParcelKey key) const
inlinevirtual

Convenience methods. See ITableLayout for more information.

Implements ICellContent.

virtual void CCellContent::NotifyLayoutParcelDamageChanged (ParcelKey key,
bool16 isDamaged 
)
inlinevirtual

Notifies the Table Layout that the Parcel content damage state has changed.

Implements ICellContent.

virtual void CCellContent::NotifyLayoutParcelInkBoundsChanged (ParcelKey key)
inlinevirtual

If the inkBounds of the Parcel changes outside of composition this method should be called.

Implements ICellContent.

virtual void CCellContent::NotifyLayoutParcelPosDependentContentSet (ParcelKey key)
inlinevirtual

This method should be calleed when a Parcel which has content which was not previously position dependent is now position dependent.

Implements ICellContent.