![]() | InDesign SDK 20.5 |
#include <IStyleSyncService.h>

Public Member Functions | |
| virtual PMIID | GetStyleInterfaceID ()=0 |
| virtual PMString | GetGroupName ()=0 |
| virtual PMString | GetStyleName ()=0 |
| virtual bool16 | IsCJKStyle ()=0 |
| virtual void | DoSynchronization (IDFile sourceFile, IDocument *target)=0 |
| virtual bool16 | IsOptionOnByDefault ()=0 |
| virtual void | SetStyleMatchingStrategy (StyleClashResolutionTypes::StyleMatchingStrategyEnum styleMatchingStrategy)=0 |
| virtual StyleClashResolutionTypes::StyleMatchingStrategyEnum | GetStyleMatchingStrategy () const =0 |
Public Member Functions inherited from IPMUnknown | |
| virtual IPMUnknown * | QueryInterface (PMIID interfaceID) const =0 |
| virtual void | AddRef () const =0 |
| virtual void | Release () const =0 |
This interface is used to provide information of styles that are registered as synchronizable and do the actual synchronization(adding/modifying styles) by comparing the source/target documents.
| pure virtual |
Do the actual synchronization, e.g., copy/modify the styles from source document to target document.
| sourceFile | refers to the master document(also called style source) of the book. |
| target | refers to the document whose styles may be modified or new styles may be added into. |
Implemented in StyleSyncService.
| pure virtual |
Get the group name that the style belongs to. For Roman version, there is only one group("All Styles"); for J version, we have two groups("All Styles" and "CJK Styles").
Implemented in StyleSyncService.
| pure virtual |
| pure virtual |
Return the style matching method.
Implemented in StyleSyncService.
| pure virtual |
Get the registered synchronizable style name.
Implemented in StyleSyncService.
| pure virtual |
Check if this is a CJK style or not.
Implemented in StyleSyncService.
| pure virtual |
Check if this option is turned on or off by default.
Implemented in StyleSyncService.
| pure virtual |
Sets the Style matching Strategy, This choice is not on per style type basis. If set then this will
be used for all the style types for that load style command.
| styleMatchingStrategy | [IN] To find the clashing style in target, Uses full path of style if kMatchStyleFullPath is passed if kMatchStyleName is passed then matches style with the same name at any location if the style is unique in target. if same name style exist in more then one location then falls back to matching styles path. |
Implemented in StyleSyncService.