![]() | InDesign SDK 20.5 |

Public Member Functions | |
| CPageItemAdaptiveTransform (IPMUnknown *boss) | |
| virtual ErrorCode | PreProcess () |
| virtual ErrorCode | Process () |
| virtual ErrorCode | PostProcess () |
| virtual void | Finish () |
Public Member Functions inherited from CPMUnknown< IAdaptiveTransform > | |
| IPMUnknown * | QueryInterface (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 | |
| CPMUnknown & | operator= (const CPMUnknown &)=delete |
Protected Member Functions | |
| virtual ErrorCode | PreProcessThis () |
| virtual ErrorCode | ProcessThis () |
| virtual ErrorCode | PostProcessThis () |
| virtual void | FinishThis () |
| virtual ErrorCode | ProcessDependents (CPageItemAdaptiveTransform::STAGE stage) |
| virtual UIDList | CollectDependents () |
| virtual ErrorCode | Resize () |
| virtual ErrorCode | Reposition () |
| virtual void | MaintainAspectRatioIfNeeded () |
| virtual bool16 | ShouldHandleHidden () |
| virtual bool16 | ShouldHandleLocked () |
| virtual bool16 | ShouldHandleText () |
| virtual bool16 | ShouldMaintainAspectRatioForNonRectangularPI () |
| virtual bool16 | ShouldMaintainAspectRatioForThis () |
| virtual bool16 | ShouldProcessThis () |
| virtual std::set< PMReal > | GetAllFontsSizes () |
| virtual ErrorCode | ResizeXPEffects () |
| virtual void | AdaptTextOnPath () |
Protected Member Functions inherited from CPMUnknown< IAdaptiveTransform > | |
| CPMUnknown (IPMUnknown *boss) | |
Protected Attributes | |
| AdapativePageItemData * | fData |
Protected Attributes inherited from CPMUnknown< IAdaptiveTransform > | |
| HelperInterface | fHelperInterface |
Additional Inherited Members | |
Public Types inherited from IAdaptiveTransform | |
| enum | { kDefaultIID = IID_IADAPTIVETRANSFORM } |
| protectedvirtual |
This is used to collect all the page items which the current page items deems to be its dependent.
| 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.
Implements IAdaptiveTransform.
| protectedvirtual |
This is called from Finish() for the processing of the current page item.
| protectedvirtual |
This is called after the final bounds have been computed and set in fFinalBounds. This looks for the option of maintaining aspect ratio and if needed sets the final bounds as per that.
| 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.
Implements IAdaptiveTransform.
| protectedvirtual |
This is called from PostProcess() for the processing of the current page item.
| 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.
Implements IAdaptiveTransform.
| protectedvirtual |
The page items are given controls to work on the adjustment at various stages of the process which have been defined above. These controls are not just about the processing of current page item but also about the dependent page items. e.g. A group should also work on the page items that constitute that group. Hence, to ease out the processing at various stages, the broad level calls are further broken into two calls. One (XXThis()) for the processing of the current page item and the second (ProcessDependents()) for the processing of the dependent page items. This information may be used in later steps.This is called from PreProcess() for the processing of the current page item.
| 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.
Implements IAdaptiveTransform.
| protectedvirtual |
This is called from PreProcess(), Process(), PostProcess() and Finish() for the processing of the page items which are dependent on the current page item.
| protectedvirtual |
This is called from Process() for the processing of the current page item.
| protectedvirtual |
This may be called when the repositioning of the page item is essential as well. e.g. this may be needed for a parent page item but not for the page items under its hierarchy. This is also being called after the final bounds have been computed and set in fFinalBounds.
| protectedvirtual |
This is called after the final bounds have been computed and set in fFinalBounds. This is done to resize the page items as per the final bounds. A page item may choose to do a no-op here.
| protectedvirtual |
Returns whether the current page item, if hidden, needs to be adjusted or not.
| protectedvirtual |
Returns whether the current page item, if locked, needs to be adjusted or not.
| protectedvirtual |
Returns if the text should be adjusted for the current page item.
| protectedvirtual |
Returns whether the current page item, if non rectangular, needs to be adjusted while maintaining aspect ratio.
| protectedvirtual |
Returns if for the current page item, adjustment needs to be done while maintaining aspect ratio.
| protectedvirtual |
Returns if the current page item, should be processed or not. The decision is made while taking care of various options e.g. whether handling of hidden items is enabled or not. These option in conjunction with the current state of page item defines the return value.