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

Public Types | |
| enum | { kDefaultIID = IID_ILAYOUTPOLICYSUITE } |
Public Member Functions | |
| virtual bool32 | GetLayoutPolicy (ILayoutObject::LayoutPolicy &outPolicy) const =0 |
| virtual ErrorCode | SetLayoutPolicy (ILayoutObject::LayoutPolicy policy) const =0 |
| virtual bool32 | GetPageRangeString (PMString &pPageString) const =0 |
| virtual bool32 | CanApplyBasedOnMasterPolicy () const =0 |
| virtual bool32 | GetConstraints (Flow::ConstraintList &outListOfConstraints) const =0 |
| virtual ErrorCode | SetConstraints (const Flow::ConstraintList &constraints) const =0 |
| virtual bool32 | CanApplyObjectConstraints () const =0 |
Public Member Functions inherited from IPMUnknown | |
| virtual IPMUnknown * | QueryInterface (PMIID interfaceID) const =0 |
| virtual void | AddRef () const =0 |
| virtual void | Release () const =0 |
Selection suite for manipulating HTML page items.
| pure virtual |
Return whether or not the current page selection allows the "Based On Master" layout policy to be applied. The "Based On Master" layout policy can only be applied if the applied master page's geometry is coincident with the selected page's geometry.
| pure virtual |
Return whether or not the current page layout policy is Object-Based and there is a selection for which object-based constraints can be applied.
| pure virtual |
Get the object constraints applied to the selected page items or key objects
| outListOfConstraints | [OUT]: The constraints |
| pure virtual |
Tests the current selection for a layout policy.
| outPolicy | [OUT]: the layout policy applied to the current selection |
| pure virtual |
Get a page range string for the selected pages.
| pPageString | [OUT] result page range string |
| pure virtual |
Set object constraints on the current page item or key object selection.
| constraints | [IN]: The constraints to apply |
| pure virtual |
Set the layout policy on the current selection.
| policy | [IN]: The new layout policy to apply |