PGetPrivateList(const char * sDeveloperID, const char * sPlugInID, short cTargetClass,
unsigned long nTypeFlag, unsigned long nTargetID);
const char * sDeveloperID;
Four-character string representing your name or company name (e.g. "ADBE" for Adobe)
kParmDontCare to list all private data in publica tionconst char * sPlugInID;
Four-character string representing plug-in (e.g. "KYLN"for Keyline plug-in)
kParmDontCare to list all private data in publication associated with specified sDeveloperID, or if sDeveloperID is set to kParmDontCareshort cTargetClass;
classobject for imported graphics and images, and for PageMaker-drawn lines, boxes, ovals, polygons, or text blocks
classstory for stories
classpub for publication (current publication only)
classpage for page
classmaster for master page
kParmDontCare or -2 to list all private data in publica tion associated with specified sDeveloperID and sPlugInID, or if any previous parameter is set to kParmDontCareunsigned long nTypeFlag;
Identifier you defined to distinguish between types of private data for same cTargetClass (-1 is not allowed)
kParmDontCare to list all private data in publica tion associated with specified sDeveloperID, sPlugInID, and cTargetClass, or if any previous parameter is set to kParmDontCareunsigned long nTargetID;
Internal PageMaker identifier for element (graphic, image, text block, story, page, or master page) to which private data is associated
0 (zero) for publication (PageMaker gets private data for current publication only)
kParmDontCare or -2 to list all private data in publica tion associated with specified sDeveloperID , sPlugInID, cTargetClass, and nTypeFlag, or if any previous parameter is set to kParmDontCare
const char * sDeveloperID;
Four-character string representing name or company name (e.g., ADBE for Adobe)
const char * sPlugInID;
Four-character string representing plug-in (e.g., KYLN for Keyline plug-in)
short cTargetClass;
kClassObject for imported graphics and images, and for PageMaker-drawn lines, boxes, ovals, polygons, or text blocks
kClassStory for stories
kClassPub for publication (current publication only)
kClassPage for page
kClassMaster for master page definitions
unsigned long nTypeFlag;
Identifier you defined to distinguish between types of private data for same cTargetClass
unsigned long nTargetID;
Internal PageMaker identifier for element (graphic, image, text block, story, page, or master page) to which private data is associated
0 (zero) for publication (PageMaker gets private data for current publication only)
short cPlatform;
0 for Windows
1 for Macintosh
unsigned long nSize;
Size of private data (for character strings, nSize equals the number of characters in the string plus one)Exceptions. PGetPrivateList throws an exception if:
Example. The following example retrieves information about all the private data associated with the developer ADBE and the plug-in KYLN.
PGetPrivateList("ADBE", "KYLN", kParmDontCare,
kParmDontCare, kParmDontCare);
The following example lists information about all private data in the publication that is associated with ADBE.
PGetPrivateList("ADBE", kParmDontCare, kParmDontCare, kParmDontCare,
kParmDontCare);
The PDeletePrivateData, PPrivateData, and PPrivateString commands
Comments or suggestions? Contact Adobe Developer Support