PGetNextStyle

Gets the name of the style designated as the Next Style in the current style's definition.


Query results

This query returns a C string containing the name of the style set as the Next Style.
Defining or editing a style. If you are defining or editing a style using the PStyleBegin command, PageMaker gets the Next Style for that style rather than for the selected text.

Empty string. PageMaker returns an empty string for sNextStyle:

Pointer tool active. If the pointer tool is active, PageMaker gets the Next style for the default style.

To change the next style setting, use the PNextStyle command.

PGetNextStyle nextStyle;
if (strcmp(nextStyle, "") == 0) ...


See also

The PGetBasedOn, PGetStyle, and PGetStyleNames queries



Copyright © 1996, Adobe Systems Incorporated. All rights reserved.

Comments or suggestions? Contact Adobe Developer Support