Copy link to clipboard
Copied
Hi, there.
I have a paragraph style, which contains two nested (char) styles.
var psBody = myDocument.paragraphStyles.add({
name: "ps Body",
appliedFont: "Cambria",
fontStyle: "Bold",
pointSize: 24,
justification: Justification.centerAlign,
keepWithNext:1});
psBody.nestedStyles.add({
appliedCharacterStyle: ,//<=============
delimiter: NestedStyleDelimiters.anyWord,
inclusive: true,
repetition: 1});
psBody.nestedStyles.add({
appliedCharacterStyle: csBlue,
delimiter: NestedStyleDelimiters.anyWord,
inclusive: true,
repetition: 1});
How do I "say" that I want my first nested style to be none?
Any help would be appreciated
Hi
it's one of simple way to set [None] without dependency on the locale.
psBody.nestedStyles.add({
appliedCharacterStyle: "$ID/[No Character Style]",
delimiter: NestedStyleDelimiters.anyWord,
inclusive: true,
repetition: 1});
thank you
mg.
Copy link to clipboard
Copied
Hi
it's one of simple way to set [None] without dependency on the locale.
psBody.nestedStyles.add({
appliedCharacterStyle: "$ID/[No Character Style]",
delimiter: NestedStyleDelimiters.anyWord,
inclusive: true,
repetition: 1});
thank you
mg.
Copy link to clipboard
Copied
Thank you very much Milligramme