#region ========================================================================= USING ===================================================================================== using System; using System.Collections.Generic; using System.Diagnostics; #endregion namespace Nemera.Plugins.Epub.Common.Models.DTO.Opf; /// /// Data transfer object for the parsed OPF package document of an EPUB. /// [DebuggerDisplay("Title: {Title}")] internal sealed class OpfDocumentDto { /// /// Gets or sets the title of the book. /// public string? Title { get; set; } /// /// Gets or sets the author of the book, if applicable. /// public string? Author { get; set; } /// /// Gets the manifest items of the EPUB. /// public List Items { get; } = []; /// /// Gets the manifest items of the EPUB, keyed by their Id. /// public Dictionary ItemsById { get; } = []; /// /// Gets the Ids of the manifest items that are reading sections, in reading order. /// public List SpineIds { get; } = []; /// /// Gets or sets the Id of the manifest item of the navigation document, if applicable. /// public string? NavItemId { get; set; } /// /// Gets or sets the Id of the manifest item of the NCX document, if applicable. /// public string? NcxItemId { get; set; } /// /// Gets or sets the Id of the manifest item of the cover image, if applicable. /// public string? CoverItemId { get; set; } }