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

Public Types | |
| enum | { kDefaultIID = IID_IDOCUMENTSETUPUTILS } |
Public Member Functions | |
| virtual ErrorCode | ResizeAllStoryTextFrames (IDocument *doc)=0 |
| virtual PMReal | GetDocumentSetupTextAreaLength (IDocument *doc)=0 |
Public Member Functions inherited from IPMUnknown | |
| virtual IPMUnknown * | QueryInterface (PMIID interfaceID) const =0 |
| virtual void | AddRef () const =0 |
| virtual void | Release () const =0 |
Utilities related to document setup for InCopy.
Get the text area width based on the preference's setting. In InCopy J, the text area width is calculated based on the number of grid character in a line for frame grid text frame.
| doc | The preference on the document is used to determin the width, if nil, the session's preference is used |
| pure virtual |
Resize all the stories' text frame to reflect the document setup changes
| doc | The active document |