![]() | InDesign SDK 20.5 |
#include <CHLUtils.h>
Static Public Member Functions | |
| static ErrorCode | GetApplicationFolder (PMString &appFolder) |
| static ICoreFilename * | QueryCoreFilename (const PMString &fullPath) |
| static void | RemoveLastElement (PMString &fromthis) |
| static IPMStream * | CreateFileStreamRead (const PMString &fullPath) |
| static ErrorCode | FileExistsForRead (const PMString &fullPath) |
Utility helper class used in this plug-in.
Creates a file stream fo reading, using the given path.
| fullPath | IN Full path to file to open for reading. |
| static |
Tests if the file exists and can be read.
| fullPath | IN Full path to file to open for reading. |
| static |
Gets the application folder. From this folder, you can get the "Plug-Ins" folder.
NOTE: For the Macintosh platform, this returns the InDesign installation folder path, not the path inside the package folder where the actual InDesign application binary resides.
| appFolder | OUT The complete path to the application folder. |
| static |
Queries the ICoreFileName. Unimplemented.
| static |
Removes the last element from the path. We search for the last delimeter and knock off the stuff that comes after. We lose this data so beware!
| fromthis | IN/OUT Path from which you want to remove last element. |