InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
IPageItemCache Class Referenceabstract

#include <IPageItemCache.h>

Inheritance diagram for IPageItemCache:
IPMUnknown

Public Types

enum  { kDefaultIID = IID_IPAGEITEMCACHE }
 

Public Member Functions

virtual void InvalidateCaches ()=0
 
virtual void SetGeometryCacheValid (bool16 isValid)=0
 
virtual bool16 IsGeometryCacheValid () const =0
 
virtual void SetPathGeometryCacheValid (bool16 isValid)=0
 
virtual bool16 IsPathGeometryCacheValid () const =0
 
virtual void SetShapeCacheValid (bool16 isValid)=0
 
virtual bool16 IsShapeCacheValid () const =0
 
virtual void SetPathItemCacheValid (bool16 isValid)=0
 
virtual bool16 IsPathItemCacheValid () const =0
 
virtual void ChildInvalidated (IPMUnknown *iChild)=0
 
- Public Member Functions inherited from IPMUnknown
virtual IPMUnknownQueryInterface (PMIID interfaceID) const =0
 
virtual void AddRef () const =0
 
virtual void Release () const =0
 

Detailed Description

Attach this interface to pageitems to provide cache invalidation notifications

NOTE: This interface is private to the caching pageitems implementation and should not be used outside of that context.

Member Function Documentation

virtual void IPageItemCache::ChildInvalidated (IPMUnknowniChild)
pure virtual
Called by the implementation of IPageItemCache telling the parent

that this item has changed

Parameters
iChild- The child whose parent needs to be notified
virtual void IPageItemCache::InvalidateCaches ()
pure virtual

Set all of the cache states to invalid

virtual bool16 IPageItemCache::IsGeometryCacheValid () const
pure virtual
Determine whether or not the geometry cache is valid

Returns
bool16 - kTrue for valid, kFalse for invalid
virtual bool16 IPageItemCache::IsPathGeometryCacheValid () const
pure virtual
Determine whether or not the path geometry cache is valid

Returns
bool16 - kTrue for valid, kFalse for invalid
virtual bool16 IPageItemCache::IsPathItemCacheValid () const
pure virtual
Determine whether or not the path item cache is valid

Returns
bool16 - kTrue for valid, kFalse for invalid
virtual bool16 IPageItemCache::IsShapeCacheValid () const
pure virtual
Determine whether or not the shape cache is valid

Returns
bool16 - kTrue for valid, kFalse for invalid
virtual void IPageItemCache::SetGeometryCacheValid (bool16 isValid)
pure virtual
Set whether or not the geometry cache is valid

Parameters
isValid- kTrue for valid, kFalse for invalid
virtual void IPageItemCache::SetPathGeometryCacheValid (bool16 isValid)
pure virtual
Set whether or not the path geometry cache is valid

Parameters
isValid- kTrue for valid, kFalse for invalid
virtual void IPageItemCache::SetPathItemCacheValid (bool16 isValid)
pure virtual
Set whether or not the path item cache is valid

Parameters
isValid- kTrue for valid, kFalse for invalid
virtual void IPageItemCache::SetShapeCacheValid (bool16 isValid)
pure virtual
Set whether or not the shape cache is valid

Parameters
isValid- kTrue for valid, kFalse for invalid