How to find a paragraph/character style is imported using javascript?
Hi Team,
How to find a paragraph/charcter styles is imported from another template using javascript.
Thanks
Hi Team,
How to find a paragraph/charcter styles is imported from another template using javascript.
Thanks
Just a note:
I watched the value for styleUniqueId in a source document.
Then I loaded all the custom styles from the source to a new document.
All values of styleUniqueId are still intact.
The same if you load a style and overwrite an existing one using all incoming properties.
That will change in the moment when a style is renamed or changed otherwise[*].
Perhaps needless to say that if you rename the style back to its old name the styleUniqueId will not be restored, it will just get another id for the second change.
Also note that the value for styleUniqueId in the [No Paragraph Style] is always empty.
And that the value for property label of a style will persist if you load a style.
[*] Changing the value for property label will not change the value for styleUniqueId .
Regards,
Uwe Laubender
( Adobe Community Professional )
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.