Skip to main content
Participating Frequently
Nov 26, 2024 11:16 PM UTC
Question

How to get kDocBoss class? Indesign SDK.

Hi, 

 

Brand new to Indesign Plugin development.

 

I'm trying to get an instance of the kDocBoss class, but how do I go about doing so in code?

2 replies

Legend
Jan 16, 2025 9:15 AM UTC

Coming from where?

If you have any object in the same publication (document), use the root UID from the ::GetDataBase(any)

If you mean the active document in UI, you may be tempted to start from IActiveContext.

On the other hand that often means participating in the selection, thus you'd add to the matching selection suite, where you'd find it in the target interface of the concrete selection boss.

Translate
Community Expert
Jan 15, 2025 5:57 AM UTC