![]() | InDesign SDK 20.5 |

Public Member Functions | |
| BscTADocResponder (IPMUnknown *boss) | |
| virtual | ~BscTADocResponder () |
| virtual void | Respond (ISignalMgr *signalMgr) |
Public Member Functions inherited from CResponder | |
| CResponder (IPMUnknown *boss) | |
| virtual ServiceID | GetResponderService () |
| virtual void | SignalFailed (ISignalMgr *signalMgr) |
Additional Inherited Members | |
Public Types inherited from IResponder | |
| enum | { kDefaultIID = IID_IRESPONDER } |
From SDK sample; Implements a responder, IResponder based on CResponder, that adds this plug-in's text attribute into the root style and defaults if it is not already present when a document is opened or a new document is created.
If this plug-in is around when the application starts without any defaults then this plug-ins text attribute, kBscTAAttrBoss, is added to the root style and to text defaults on the session workspace. However, if the plug-in is added after defaults are already initialised, then kBscTAAttrBoss won't be in the root style or text defaults. This responder checks and fixes the document's root style and defaults if necessary.
| BscTADocResponder::BscTADocResponder | ( | IPMUnknown * | boss | ) |
Constructor.
| boss | object this object is aggregated on. |
| inlinevirtual |
Destructor.
| virtual |
Responds to new and open document signals.
| signalMgr | provides information about the signal. |
Reimplemented from CResponder.