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

Public Types | |
| enum | { kDefaultIID = IID_IBOOKCONTENT } |
Public Member Functions | |
| virtual PMString | GetCurrentBook ()=0 |
| virtual void | SetCurrentBook (const PMString &book)=0 |
| virtual PMString | GetPageRange ()=0 |
| virtual void | SetPageRange (const PMString &pageRange)=0 |
| virtual int32 | GetFirstPageNum ()=0 |
| virtual void | SetFirstPageNum (const int32 &pageNum)=0 |
| virtual int32 | GetNonHiddenFirstPageNum ()=0 |
| virtual void | SetNonHiddenFirstPageNum (const int32 &pageNum)=0 |
| virtual bool16 | IsAvailable ()=0 |
| virtual bool16 | IsPaginated ()=0 |
| virtual void | SetPaginated (bool16 paginate)=0 |
| virtual void | Open ()=0 |
| virtual int32 | GetChapterNumber ()=0 |
| virtual void | SetChapterNumber (int32 chapterNumber)=0 |
| virtual bool16 | GetIDFile (IDFile &file) const =0 |
| virtual WideString | GetShortName () const =0 |
| virtual WideString | GetLongName () const =0 |
| virtual uint64 | GetSize () const =0 |
| virtual IDTime | GetModTime () const =0 |
| virtual bool16 | IsNormal () const =0 |
| virtual bool16 | IsMissing () const =0 |
| virtual bool16 | IsModified () 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 access the information about book content. Currently, the book content is individual InDesign documents. We also call book content as chapter.
| pure virtual |
Get the chapter number of the book content(chapter).
| none |
| pure virtual |
| pure virtual |
Get the first page number of the book content(chapter).
| none |
| pure virtual |
Returns kTrue if a file can be obtained for the book content, kFalse otherwise.
| file |
| pure virtual |
Returns the long name of the book content.
| pure virtual |
Returns the modification time of the book content.
| pure virtual |
Get the first non hidden page number of the book content(chapter).
| none |
| pure virtual |
Get the string representation of book content(chapter)'s page range.
| none |
| pure virtual |
Returns the short name of the book content.
| pure virtual |
Returns the size of the book content.
| pure virtual |
Returns kTrue if the book content is available, kFalse otherwise.
| pure virtual |
Returns kTrue if the book content is missing, kFalse otherwise.
| pure virtual |
Returns kTrue if the book content is modified, kFalse otherwise.
| pure virtual |
Returns kTrue if the book content is unmodified and available, kFalse otherwise.
| pure virtual |
Check if chapter is paginated or not.
| none |
| pure virtual |
Open the chapter. This API currently is NOT used in InDesign' core code base and it is a no-op. Third party may want to override this if they want to use it.
| none |
| pure virtual |
Set the chapter number of book content(chapter).
| chapterNumber | IN the chapter number to be set |
| pure virtual |
Set the current book.
| book | IN the file name of current book that is to be the current book. |
| pure virtual |
Set the first page number of book content(chapter).
| pageNum | IN the page number to be set |
| pure virtual |
Set the first non hidden page number of book content(chapter).
| pageNum | IN the page number to be set |
| pure virtual |
Set the page range of the current book.
| pageRange | IN the string of page range to be set on the book content. |
| pure virtual |
Set the flag about if chapter is paginated or not.
| paginate | IN the flag to be set as to chapter's pagination. |