Book
A book.
Instance
Read Only
PreflightBookOption preflightBookOptions
Preflight book option settings.
Read Only
EPubFixedLayoutExportPreference epubFixedLayoutExportPreferences
EPub fixed layout export preference settings.
Read Only
EPubExportPreference epubExportPreferences
EPub export preference settings.
Read Only
PrintPreference printPreferences
Print preference settings.
Read Only
String name
The name of the Book.
Read Only
File fullName
The full path to the Book, including the name of the Book.
Read Only
File filePath
The full path to the file.
Read Only
Boolean modified
If true, the Book has been modified since it was last saved.
Read Only
Boolean saved
If true, the Book has been saved since it was created.
Read Only
Boolean isValid
Returns true if the object specifier resolves to valid objects.
Read Only
Application parent
The parent of the Book (a Application).
Read Only
Number index
The index of the Book within its containing object.
Read Only
Preferences preferences
A collection of preferences objects.
Read Only
Events events
A collection of events.
Read Only
EventListeners eventListeners
A collection of event listeners.
Read Only
BookContents bookContents
A collection of book content objects.
Mixed styleSourceDocument
Current style source document. Can return: Document or BookContent.
RepaginateOption repaginationOption
Page numbering options for book content objects within the book.
Boolean insertBlankPage
If true, inserts a blank page as necessary to fill in page number gaps caused by the odd or even specification set in the repagination option.
Boolean automaticPagination
If true, automatically updates page numbers when pages in book content files are added, deleted, or rearranged.
Boolean automaticDocumentConversion
If true, automatically converts the book content object during repagination and synchronization.
Boolean synchronizeCrossReferenceFormat
If true, synchronize cross reference formats
Boolean mergeIdenticalLayers
If true, merges identically named layers when exporting to PDF.
String label
A property that can be set to any string.
Boolean synchronizeTableOfContentStyle
If true, synchronize table of content styles.
Boolean synchronizeTextVariable
If true, synchronize text variables.
Boolean synchronizeTableStyle
If true, synchronize table styles.
Boolean synchronizeParagraphStyle
If true, synchronize paragraph styles.
Boolean synchronizeCharacterStyle
If true, synchronize character styles.
Boolean synchronizeTrapStyle
If true, synchronize trap styles.
Boolean synchronizeMasterPage
If true, synchronize master pages.
Boolean synchronizeObjectStyle
If true, synchronize object styles.
Boolean synchronizeSwatch
If true, synchronize swatches.
Boolean synchronizeCellStyle
If true, synchronize cell styles.
Boolean synchronizeBulletNumberingList
If true, synchronize bullets and numbering.
Boolean synchronizeConditionalText
If true, synchronize conditional text.
SmartMatchOptions smartMatchStyleGroups
How to match styles with same name while synchronizing a book.
Object properties
A property that allows setting of several properties at the same time.
Methods
Boolean packageForPrint( File to, Boolean copyingFonts, Boolean copyingLinkedGraphics, Boolean copyingProfiles, Boolean updatingGraphics, Boolean includingHiddenLayers, Boolean ignorePreflightErrors, Boolean creatingReport, Boolean includeIdml, Boolean includePdf, String pdfStyle, Boolean useDocumentHyphenationExceptionsOnly, String versionComments, Boolean forceSave )
Packages the document.
Parameters
preflight( File to, Boolean autoOpen )
Preflight a book and optionally save the resulting report.
Parameters
print( Boolean printDialog, Mixed using )
Prints the Book(s).
Parameters
close( SaveOptions saving, File savingIn, String versionComments, Boolean forceSave )
Close the Book
Parameters
save( File to, String versionComments, Boolean forceSave )
Saves the book.
Parameters
exportFile( Mixed format, File to, Boolean showingOptions, PDFExportPreset using, BookContent whichDocuments, String versionComments, Boolean forceSave )
Exports the book to a file.
Parameters
synchronize()
Synchronizes the entire book to the style source document.
repaginate()
Repaginates the book.
insertLabel( String key, String value )
Sets the label to the value associated with the specified key.
Parameters
String extractLabel( String key )
Gets the label value associated with the specified key.
Parameters
updateChapterAndParagraphNumbers()
Updates chapter numbers and paragraph numbers throughout the book.
updateAllNumbers()
Update all numbers (e.g. Page numbers, chapter numbers and paragraph numbers) throughout the book.
updateAllCrossReferences()
Updates the cross references in the entire book.
String toSource()
Generates a string which, if executed, will return the Book.
Book getElements()
Resolves the object specifier, creating an array of object references.
String toSpecifier()
Retrieves the object specifier.
EventListener addEventListener( String eventType, Mixed handler, Boolean captures )
Adds an event listener.
Parameters
Boolean removeEventListener( String eventType, Mixed handler, Boolean captures )
Removes the event listener.