![]() | InDesign SDK 20.5 |
Public Member Functions | |
| SnpHyphenation () | |
| virtual | ~SnpHyphenation () |
| ErrorCode | ReportHyphenationPolicy (ITextAttributeSuite *iTextAttributeSuite) |
| ErrorCode | ModifyHyphenationPolicy (ITextAttributeSuite *iTextAttributeSuite) |
Sample code snippet that shows how access the hyphenation policy that applies to text, and how to set the hyphenation policy for particular text.
| inline |
Constructor.
| inlinevirtual |
Destructor.
| ErrorCode SnpHyphenation::ModifyHyphenationPolicy | ( | ITextAttributeSuite * | iTextAttributeSuite | ) |
Adapts from the UI to model.
| iTextAttributeSuite | IN the attribute suite used to manipulate the attributes. This means any updates are based on the context of the call. If we call with a text selection, it is the attributes that apply that are modified. If there is no text selection, it will be the document of session preferences that are modified. |
| ErrorCode SnpHyphenation::ReportHyphenationPolicy | ( | ITextAttributeSuite * | iTextAttributeSuite | ) |
Adapts from the UI to model.
| iTextAttributeSuite | IN the suite used to get the value of the attributes. If there is a text selection, we wil get the value of the attributes that apply to the text, otherwise we will retrieve the document or session defaults. |