Skip to main content
Participating Frequently
November 26, 2024
Question

How to get kDocBoss class? Indesign SDK.

  • November 26, 2024
  • 2 replies
  • 222 views

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
January 16, 2025

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.

Community Expert
January 15, 2025