![]() | InDesign SDK 20.5 |
#include <ScriptInfoDefs.h>
Public Member Functions | |
| FormatNamePolicy (Capitalization c, Spacing s, const PMString &prefix, const PMString &suffix) | |
| Capitalization | GetCapitalization () const |
| Spacing | GetSpacing () const |
| const PMString & | GetPrefix () const |
| const PMString & | GetSuffix () const |
| bool16 | operator== (const FormatNamePolicy &other) const |
| void | FormatName (PMString &name) const |
Different clients have different expectations for how name identifiers are formatted.
How to capitalize a formatted name
How to change the spacing when formatting a name
| void ScriptInfo::FormatNamePolicy::FormatName | ( | PMString & | name | ) | const |
Format a name according to this policy
| inline |
Get the capitalization
| inline |
Get the prefix
| inline |
Get the spacing
| inline |
Get the suffix