![]() | InDesign SDK 20.5 |
#include <RunInGrepStyleList.h>
Public Types | |
| typedef object_type | data_type |
Public Member Functions | |
| RunInGrepStyleRule (UID charstyle, const WideString &trigger) | |
| bool | operator== (const RunInGrepStyleRule &) const |
| void | SetCharacterStyle (const UID &cs) |
| UID | GetCharacterStyle () const |
| WideString | GetGrepExpression () const |
| void | SetGrepExpression (const WideString &s) |
| void | ReadWrite (IPMStream *stream) |
A description of a single grep-based style, where a grep-style is the application of a character style to text that matches a particular GREP expression. A paragraph will have a text attribute (kTextAttrGrepStylesBoss) specified by either a paragraph style or a locally applied attribute. This attribute contains a list of RunInGrepStyleRule objects called a RunInGrepStyleList.
| inline |
| inline |
| void RunInGrepStyleRule::ReadWrite | ( | IPMStream * | stream | ) |
read or write the single run-in style rule to the stream
| inline |
assign the character style associated with this run-in style
| character | style UID |