![]() | InDesign SDK 20.5 |

Public Types | |
| enum | { kDefaultIID = IID_IFLOWFACADE } |
Public Member Functions | |
| virtual UIDRef | GetStoryFromSpline (const UIDRef &splineFlowFrameRef) const =0 |
| virtual bool16 | CanSetPrimaryTextFlowSpline (const UIDRef &masterSpreadRef, const UIDRef &splineFlowFrameRef) const =0 |
| virtual bool16 | CanSetPrimaryTextFlowStory (const UIDRef &masterSpreadRef, const UIDRef &storyRef) const =0 |
| virtual ErrorCode | SetPrimaryTextFlowSpline (const UIDRef &masterSpreadRef, const UIDRef &splineFlowFrameRef)=0 |
| virtual UIDRef | GetPrimaryTextFlowStory (const UIDRef &masterSpreadRef, const bool16 bWalkUpMasters=kFalse) const =0 |
| virtual ErrorCode | SetPrimaryTextFlowStory (const UIDRef &masterSpreadRef, const UIDRef &storyRef)=0 |
| virtual UIDList | GetPrimaryTextFlowSplineListForPage (const UIDRef &pageRef, const UIDRef &masterRef)=0 |
| virtual UIDList | GetPrimaryTextFlowSplineListForMaster (const UIDRef &pageOrSpreadMasterRef)=0 |
| virtual bool16 | IsInPrimaryTextFlowStory (const UIDRef &masterRef, const UIDRef &splineRef) const =0 |
| virtual bool16 | IsAPrimaryTextFlowStory (const UIDRef &storyRef, UIDRef *fromThisMaster=nil) const =0 |
| virtual bool16 | IsAnOverriddenPrimaryTextFlowStory (const UIDRef &storyRef, UIDRef *fromThisMaster=nil) const =0 |
| virtual bool16 | CanCreateAlternateLayout (const UIDList &spreadList) const =0 |
| virtual ErrorCode | CreateAlternateLayout (const UIDList &spreadList, const PMString &name, const PMPageSize &pageSize, const bool16 bCreateTextStyles, const bool16 bLinkTextStories, ILayoutObject::LayoutPolicy policy)=0 |
| virtual bool16 | CanDeleteAlternateLayout (const UIDRef &spreadRef) const =0 |
| virtual ErrorCode | DeleteAlternateLayout (const UIDRef &spreadRef, bool16 bDeleteMasters=kTrue, bool16 bDeleteStyleGroups=kTrue)=0 |
| virtual ErrorCode | DeletePrimaryTextFlowStory (const UIDRef &storyRef)=0 |
| virtual ErrorCode | SetConstraints (const UIDList &itemList, const Flow::ConstraintList &list)=0 |
| virtual void | GetConstraints (const UIDRef &oneItem, Flow::ConstraintList &outList) const =0 |
| virtual bool16 | GetDuringCreateAlternateLayout (IDocument *document) const =0 |
| virtual void | SetDuringCreateAlternateLayout (IDocument *document, const bool16 flag)=0 |
Public Member Functions inherited from IPMUnknown | |
| virtual IPMUnknown * | QueryInterface (PMIID interfaceID) const =0 |
| virtual void | AddRef () const =0 |
| virtual void | Release () const =0 |
| pure virtual |
Can the list of spreads be used to create an alternate layout?
| spreadList | - the list of spreads to use for the alternate layout |
| pure virtual |
Can the alternate layout containing the given spread be deleted?
| spreadRef | - a UIDRef to a spread |
| pure virtual |
Can the indicated spline's story be set as the primary text flow for the master spread?
| masterRef | - the master spread target to set the flow |
| splineFlowFrameRef | - the spline (containing a MultiColumnTextFrame) whose story will be the primary text flow |
| pure virtual |
Can the indicated story be set as the primary text flow for the master spread?
| masterRef | - the master spread target to set the flow |
| storyRef | - the story that will be the primary text flow |
| pure virtual |
Create an alternate layout for the document based on a set of spreads. All the spreads will be duplicated.
| spreadList | - the list of spreads to generate the new alternate layout of spreads from |
| name | - the name of the alternate layout. |
| pageSize | - the page size to use for the new spreads |
| bCreateTextStyles | - kTrue to create new text styles, kFalse otherwise |
| bLinkTextStories | - kTrue to create link text stories to source spreads, kFalse otherwise |
| policy | - the layout policy to use for the new pages. Do not use ILayoutObject::kUseMasterLayoutPolicy, use ILayoutObject::kPreserveLayoutPolicy instead. |
| pure virtual |
Delete an alternate layout containing the given spread. Associated master spreads and style groups are optionally deleted as well.
| spreadRef | - a UIDRef to a spread |
| bDeleteMasters | - kTrue to delete masters pages applied in this alternate layout, kFalse to not. |
| bDeleteMasters | - kTrue to delete style group named the same as this alternate layout, kFalse to not. |
| pure virtual |
Remove the primary text flow story for any master spread that uses it. Generally for internal use only used in response to a story getting deleted.
| storyRef | - the story that is being deleted. |
| pure virtual |
Return the constraints for an item in a list with Flow::kNumConstraints values. Values returned with be Flow::kFlexibleDimension (spring) or Flow::kFixedDimension (strut)
| pure virtual |
Return the value for whether we are in the process of creating an alternate layout or not. i.e. Within the sequence generated by CreateAlternateLayout.
| document,a | pointer to the document to return the flag for. |
| pure virtual |
| pure virtual |
| pure virtual |
Return the primary text flow (spline ref) associated with a master spread. kInvalidUIDRef if there isn't one.
| masterRef | - the master spread to return the spline flow for. |
| bWalkUpMasters | - kFalse to just return the data for that master spread, kTrue to keep walking up applied masters, stopping when a primary text frame is found. |
| pure virtual |
Return the story UID for the spline (containing a MultiColumnTextFrame)
| splineFlowFrameRef | - the spline (containing a MultiColumnTextFrame) whose story will be the primary text flow |
| pure virtual |
Returns true if the story is a primary text flow story.
| storyRef | - the story to check to see if it's a primary text flow story |
| fromThisMaster | [OUT] - optional pointer receive the master spread the primary text story comes from (defaults to nil) |
| pure virtual |
Returns true if the spline is in the primary text flow story.
| masterRef | - a UIDRef for the master to get the primary text flow spline from |
| splineRef | - the spline (containing a MultiColumnTextFrame) to check to see if it's in the primary text flow story |
| pure virtual |
Set the layout constraints for a list of page items.
| itemList | - the list of items to set constraints for. |
| ConstraintList | - the constraint values to set. |
Common usage: Flow::ConstraintList constraints(Flow::kNumConstraints, Flow::kSkipDimension); constraints[Flow::kRightConstraint] = Flow::kFlipConstraint; SetConstraints(itemList, constraints);
| pure virtual |
Set the value for whether we are in the process of creating an alternate layout or not. i.e. Within the sequence generated by CreateAlternateLayout.
| document,a | pointer to the document to set the flag for. |
| flag,the | value for the flag, kTrue for within CreateAlternates, kFalse when done. |
| pure virtual |
Set the primary text flow for the master spread.
| masterRef | - the master spread target to set the flow |
| splineFlowFrameRef | - the spline (containing a MultiColumnTextFrame) whose story will be the primary text flow |
| pure virtual |
Set the primary text flow story for the master spread.
| masterRef | - the master spread target to set the flow |
| storyRef | - the story that will be the primary text flow |