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

#include <IStandAloneDoc.h>

Inheritance diagram for IStandAloneDoc:
IPMUnknown

Public Types

enum  { kDefaultIID = IID_ISTANDALONEDOC }
 

Public Member Functions

virtual void SetIsStandAloneDoc (bool16 standAlone)=0
 
virtual bool16 IsStandAloneDoc () const =0
 
virtual void SetShowInfoColumn (bool16 showInfoColumn)=0
 
virtual bool16 GetShowInfoColumn () 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

This interface is used to keep track of the types of InCopy documents. There are two classifications Standalone documents and non-standalone (or managed). Standalone documents are created in InCopy by selecting new from the file menu in InCopy. These documents have one auto generated story that has pages auto generated on an as needed basis (based on how much text is present like autoflow essentially). A standalone document also allows the user to edit/add/delete styles and colors. There are various other decisions that are made based on whether a document is standalone or not for the InCopy Bridge mostly. A managed document (or non-standalone) is a document that is formed by exporting a InCopy stories from InDesign. This type document may have multiple stories and frames are not auto created instead the geometry is static an the geometry information comes from the associated InDesign document. The user may not edit styles or colors in such a document by they may apply them.

Member Function Documentation

virtual bool16 IStandAloneDoc::GetShowInfoColumn () const
pure virtual

Info column showing or not.

Returns
kTrue showing else kFalse
virtual bool16 IStandAloneDoc::IsStandAloneDoc () const
pure virtual

Lets the called determine if a document is standalone or managed

Returns
kTrue if the document is standalone
virtual void IStandAloneDoc::SetIsStandAloneDoc (bool16 standAlone)
pure virtual

Allows a document to be marked as standalone. Note the document must meet the criteria above (see interface description) to be standalone.

Parameters
standAlone- kTrue to make the document behave as standalone
Returns
none
virtual void IStandAloneDoc::SetShowInfoColumn (bool16 showInfoColumn)
pure virtual

Old way of hiding and showing the info column. Use SetColumnHiddenPrefCmdBoss instead the command will handle everthing correctly. This method will go away next release (5.x).

Parameters
showInfoColumn- show the info column or not
Returns
none