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

#include <IOverrideFrameBehavior.h>

Inheritance diagram for IOverrideFrameBehavior:
IPMUnknown

Public Types

enum  { kDefaultIID = IID_IOVERRIDEFRAMEBEHAVIOR }
 

Public Member Functions

virtual bool16 TreatFrameAsRectangular () const =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

IOverrideFrameBehavior is a hack will affect vertical justification – allowing it to run on non-rectangular frames by pretending the lines can actually be slid up and down in the frame. This interface does not have an implementation, but is provided for possible use by third parties. Very dangerous and hacky, but can allow certain types of VJ to work.

Member Function Documentation

virtual bool16 IOverrideFrameBehavior::TreatFrameAsRectangular () const
pure virtual

TreatFrameAsRectangular – override standard behavior for this text frame

Returns
kTrue if you want the text frame to ignore its actual shape are report being rectangular. this hack will affect vertical justification – allowing it to run on non-rectangular frames by pretending the lines can actually be shifted up and down. This interface .