Show_Style_Segment
Functions | |
void | Show_Named_Style_Segment (HC_KEY style_key, char *style_name) |
Returns the name of a named style previously defined by Define_Named_Style(). More... | |
HC_KEY | Show_Style_Segment (HC_KEY key, char *pathname) |
Returns the segment that is referenced by a style inclusion. More... | |
Detailed Description
Function Documentation
◆ Show_Named_Style_Segment()
void Show_Named_Style_Segment | ( | HC_KEY | style_key, |
char * | style_name | ||
) |
Returns the name of a named style previously defined by Define_Named_Style().
- Parameters
-
style_key - Unique numeric identifier pointing to a previously defined style inclusion. style_name - Name of the custom style. Returned to the user.
DETAILS
No additional details. See Named_Style_Segment() and Define_Named_Style().
◆ Show_Style_Segment()
HC_KEY Show_Style_Segment | ( | HC_KEY | key, |
char * | pathname | ||
) |
Returns the segment that is referenced by a style inclusion.
- Parameters
-
key - Unique numeric identifier pointing to a previously defined style inclusion. pathname - Full pathname of the segment that is used for the styling referenced by key. Returned to user. Passed by reference always.
- Returns
- The key to the style segment.
DETAILS
Given the key returned by a previous call to Find_Contents() ( Begin_Contents_Search() ) or Style_Segment() , this routine will indicate which segment was to be used for styling. It might be used, for example, to "localize" a styling by looking at the style segment, then duplicating some of its attributes within a new segment.
NOTES
RESTRICTIONS
- See also
- Style_Segment, Begin_Contents_Search.