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

Public Types | |
| enum | { kDefaultIID = IID_IOPENEDFILEINFO } |
Public Member Functions | |
| virtual void | FileOpened (const IDFile &filePath)=0 |
| virtual IDFile | GetOpenedFilePath () 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 |
Interface for keeping information about the file when it was opened Templates and converted documents open as new files which lose information such as file path. At this point, only file path is being preserved.
| pure virtual |
Called when a file is opened to store data data about the opened file on the document
| filePath | the full path of the file that was opened |
| pure virtual |
Returns the file path of the file that was opened