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

#include <IAdaptiveTransform.h>

Inheritance diagram for IAdaptiveTransform:
IPMUnknownCPMUnknown< IAdaptiveTransform >CPageItemAdaptiveTransform

Public Types

enum  { kDefaultIID = IID_IADAPTIVETRANSFORM }
 

Public Member Functions

virtual ErrorCode PreProcess ()=0
 
virtual ErrorCode Process ()=0
 
virtual ErrorCode PostProcess ()=0
 
virtual void Finish ()=0
 
virtual std::set< PMRealGetAllFontsSizes ()=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

Interface to control adaptive layout.

Member Function Documentation

virtual void IAdaptiveTransform::Finish ()
pure virtual

This is called at the very end when the page item can perform a cleanup and reset any cached information in the above calls. This may even be called in between if the whole process is to be aborted.

Implemented in CPageItemAdaptiveTransform.

virtual ErrorCode IAdaptiveTransform::PostProcess ()
pure virtual

This is the third control given to the page item. This is called after calling process on every page item. This is mainly supposed to be used when some processing has dependency on the other page items to adjust themselves.

Implemented in CPageItemAdaptiveTransform.

virtual ErrorCode IAdaptiveTransform::PreProcess ()
pure virtual

This is the first control given to the page item. This is called when the process of change in layout is about to start. The page item can capture the initial state e.g. initial bounds of the page item and dependent etc. This information may be used in later steps.

Implemented in CPageItemAdaptiveTransform.

virtual ErrorCode IAdaptiveTransform::Process ()
pure virtual

This is the second control given to the page item. This will be called after the changes in the layout has happened and thus gives a chance to the individual page items to adjust according to the changes in the layout. Changes like resizing of the outer bound may happen here.

Implemented in CPageItemAdaptiveTransform.