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

Public Types | |
| enum | { kDefaultIID = IID_IBOOKUIUTILS } |
Public Member Functions | |
| virtual int32 | GetListItems (IPanelControlData *panelData)=0 |
| virtual int32 | GetSelectedBookContents (K2Vector< int32 > &selectedItems, UIDList *&selectedUIDList, IPanelControlData *panelData)=0 |
| virtual void | GetBookFileFromBookPanel (IDFile &bookFile, IPMUnknown *widget)=0 |
| virtual IPanelControlData * | QueryBookPanelData (IPMUnknown *widget)=0 |
| virtual IPanelControlData * | QueryActiveBookPanel (void)=0 |
| virtual void | SetBookPanelWidget (IPMUnknown *widget)=0 |
| virtual IPMUnknown * | GetBookPanelWidget (void)=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 exposes some utility functions related to book UI.
| anonymous enum |
kDefaultIID
| pure virtual |
Get book file from book panel..
| bookFile | describes the IDFile of the book. This is an out parameter. |
| widget,IPMUnknown | interface for widget in book panel. Typically comes from UpdateActionStates or DoAction from action manager. |
| pure virtual |
INTERNAL USE ONLY private function, DO NOT USE.
| void. |
| pure virtual |
Get the total list items(documents) from the book panel.
| panelData | describes the book panel control data. |
| pure virtual |
Helper function to return the indices of selected items in this list and their BookContent(Indd document) UIDs.
| selectedItems | describe the indices of the selected items. This is an out parameter. |
| selectedUIDList | describe book content UIDs corresponding to the selected items. This is an out parameter. |
| panelData | describe the book panel control data and use widget parent interface of the panel to find the list box and then the selected items |
| pure virtual |
Query the book panel data for the active book (IBookManager::GetCurrentActiveBook)
| void. |
| pure virtual |
Query the book panel data from the current active UI such as panel's popup menu, panel's current selection, buttons on the panel etc.
| widget,IPMUnknown | interface for widget in book panel. Typically comes from UpdateActionStates or DoAction from action manager. |
| pure virtual |
INTERNAL USE ONLY private function, DO NOT USE.
| widget,IPMUnknown | interface for from UpdateActionStates or DoAction from action manager. |