Removing Character Styles In the Text (Controlled by User)
If the title should be bold, and, in addition to the paragraph style, it is also assigned a character style that duplicates the bold style, there is, of course, nothing wrong with that. However, there are cases when the same text "wanders" from one layout to another, and the title at some point should become, for example, italic — in this case, the character style assigned to it will replace the paragraph style parameters and add an unpleasant routine to the layout designer. Undesirable local formatting can also appear in the table of contents, which also will not be pleasant. The RemoveCharStylesFromText script removes character styles from text formatted with certain paragraph styles.
The script removes character styles only in the text marked with paragraph styles that the user selects in the corresponding dialog box. Only the character styles selected by the user will be removed. At the same time, it is possible to save local formatting.
If a text or a text frame is selected, character styles will be removed in the selected area. If the cursor is in the text, the styles will be removed within the selected story. If nothing is selected, then they will be removed throughout the document.
Leave a comment:
- Common Formatting of Several Tables
- Exact Table Alignment
- Search-replace the Table Stroke Weight
- Split Table Row by Paragraphs
- Search Table Cell Overflows
- Merge Repeating Lines of Index
- Table of Contents Correction: Update Page Numbers Only
- Change Numbers In Text
- Split Text By Paragraphs
- Change Font Size In Styles
- Compare Paragraph Styles
- Transliterate style names
- Copy GREP Styles
- Quick Apply Paragraph Style Then Next Style
- Change Language in Styles and in the Text