![]() | InDesign SDK 20.5 |
#include <IApplyCJKGridDirection.h>

Public Types | |
| enum | ApplyDirection { kApplyStoryDirection, kForceVerticalDirection, kForceHorizontalDirection } |
Public Member Functions | |
| virtual ApplyDirection | GetDirectionOption ()=0 |
| virtual void | SetDirectionOption (ApplyDirection applyDirection)=0 |
Public Member Functions inherited from IPMUnknown | |
| virtual IPMUnknown * | QueryInterface (PMIID interfaceID) const =0 |
| virtual void | AddRef () const =0 |
| virtual void | Release () const =0 |
IApplyCJKGridDirection is an interface on kApplyCJKGridFormatCmdBoss. This command applies
attributes from the grid to the specified range. The scaling attributes need to be applied differently based on orientation. There were cases, such as place and import, where a temporary story was used that didn't have the desired orientation. This data allows you either use the story's direction, or you can force it to use the desired direction.
When attributes are applied they can be applied in either direction, or in the direction of the story.
| pure virtual |
Gets the direction option.
| pure virtual |
Sets the direction option.
| applyDirection | IN The ApplyDirection value. |