Hi,
How to be more specific while import style from external file? I am talking about method:
Document.importStyles (ImportFormat.PARAGRAPH_STYLES_FORMAT,
myFile[, GlobalClashResolutionStrategy=GlobalClashResolutionStrategy.LOAD_ALL_WITH_OVERWRITE])
The goal is to import chosen styles only (one, few of them) nor all of them.
thx
As you found out, the method is called "importStyles" not "importStyle".
One approach is to use the "properties" property to transfer the essentials of any native object.
Sub-objects such as the various settings and and options of object styles require extra steps, though.
E.g.
myStyle.properties = otherStyle.properties;
You can also create a blank document, import the styles there and remove the non desired ones.
North America
Europe, Middle East and Africa
Asia Pacific