![]() | InDesign SDK 20.5 |
Public Member Functions | |
| SnpPerformTextAttrWarichu () | |
| virtual | ~SnpPerformTextAttrWarichu () |
| ErrorCode | ApplyWarichu (const InDesign::TextRange &textRange, const SnpWarichuDataSettings &warichuData) |
| ErrorCode | RemoveWarichu (const InDesign::TextRange &textRange) |
| ErrorCode | InspectWarichu (const InDesign::TextRange &textRange, SnpWarichuDataSettings &warichuData) |
| void | SetWarichuData (const InDesign::TextRange &textRange, SnpWarichuDataSettings &warichuData) |
| void | ReportWarichuData (const SnpWarichuDataSettings &warichuData) |
"Warichu" refers to an in-line text annotation that is commonly used in Japanese text layout. It is used in ways similar to footnotes or endnotes in. In InDesign, Warichu is implemented as a group of text attributes along with appropriate support from the Japanese text composers. When you apply Warichu to your text, you must be using a Japanese text composer.

| inline |
Constructor.
| inlinevirtual |
Destructor.
| ErrorCode SnpPerformTextAttrWarichu::ApplyWarichu | ( | const InDesign::TextRange & | textRange, |
| const SnpWarichuDataSettings & | warichuData | ||
| ) |
Applies Warichu attributes onto the specified text model range.
| [in] | textRange | The text range to which you want to apply Warichu. |
| [in] | warichuData | The Warichu settings. Use SetWarichuData() to fill in the members. |
| ErrorCode SnpPerformTextAttrWarichu::InspectWarichu | ( | const InDesign::TextRange & | textRange, |
| SnpWarichuDataSettings & | warichuData | ||
| ) |
Inspects Warichu attributes over the specified text model range. The details are printed onto the SNIPLOG.
| [in] | textRange | The text range from which you want to inspect Warichu. |
| [out] | warichuData | The Warichu settings. |
| ErrorCode SnpPerformTextAttrWarichu::RemoveWarichu | ( | const InDesign::TextRange & | textRange | ) |
Removes (or simply turns off) Warichu attributes from the specified text model range.
| [in] | textRange | The text range from which you want to remove Warichu. |
| void SnpPerformTextAttrWarichu::ReportWarichuData | ( | const SnpWarichuDataSettings & | warichuData | ) |
Reports Warichu data to SNIPLOG.
| [in] | warichuData | The Warichu settings. |
| void SnpPerformTextAttrWarichu::SetWarichuData | ( | const InDesign::TextRange & | textRange, |
| SnpWarichuDataSettings & | warichuData | ||
| ) |
Sets the SnpWarichuDataSettings structure.
| [in] | textRange | The text range to use as a basis for some Warichu settings. |
| [out] | warichuData | The Warichu settings that can be passed on to ApplyWarichu(). |