Reply To: copied text from Word with Mojikumi & Kinsoku

Home Page / Forums / General InDesign Topics (CLOSED) / copied text from Word with Mojikumi & Kinsoku / Reply To: copied text from Word with Mojikumi & Kinsoku

#14408940

To remove mention of “IdeoSpaceBehavior” you could run the following 2 lines of JavaScript (write in your own paragraph style name instead of “para-name”):


var myParagraphStyle = app.activeDocument.paragraphStyles.itemByName("para-name");
myParagraphStyle.treatIdeographicSpaceAsSpace = true;

Adding the following line will set diacritic position to “None”, but unfortunately doesn’t remove all mention of it from Style Settings:


myParagraphStyle.diacriticPosition = DiacriticPositionOptions.DEFAULT_POSITION;

I’m guessing that adding the following lines will probably remove mention of Mijokumi and Kinsoku, if they’re present in Style Settings:


myParagraphStyle.mojikumi = MojikumiTableDefaults.NOTHING;
myParagraphStyle.kinsokuSet = KinsokuSet.NOTHING;

This article was last modified on November 22, 2024

Comments (0)

Loading comments...