namespace VersOne.Epub.Options
{
///
/// Various options to configure the behavior of the EPUB reader.
///
public class EpubReaderOptions
{
///
/// Initializes a new instance of the class.
///
/// An optional preset to initialize the class with a predefined set of options.
public EpubReaderOptions(EpubReaderOptionsPreset? preset = null)
{
PackageReaderOptions = new PackageReaderOptions(preset);
ContentReaderOptions = new ContentReaderOptions(preset);
ContentDownloaderOptions = new ContentDownloaderOptions(preset);
BookCoverReaderOptions = new BookCoverReaderOptions(preset);
SpineReaderOptions = new SpineReaderOptions(preset);
Epub2NcxReaderOptions = new Epub2NcxReaderOptions(preset);
XmlReaderOptions = new XmlReaderOptions(preset);
}
///
/// Gets or sets EPUB OPF package reader options.
///
public PackageReaderOptions PackageReaderOptions { get; set; }
///
/// Gets or sets EPUB content reader options which is used for loading local content files.
///
public ContentReaderOptions ContentReaderOptions { get; set; }
///
/// Gets or sets EPUB content downloader options which is used for downloading remote content files.
///
public ContentDownloaderOptions ContentDownloaderOptions { get; set; }
///
/// Gets or sets EPUB content reader options which is used for loading the EPUB book cover image.
///
public BookCoverReaderOptions BookCoverReaderOptions { get; set; }
///
/// Gets or sets EPUB spine reader options which is used for parsing the default reading order of the EPUB book.
///
public SpineReaderOptions SpineReaderOptions { get; set; }
///
/// Gets or sets EPUB 2 NCX navigation document reader options.
///
public Epub2NcxReaderOptions Epub2NcxReaderOptions { get; set; }
///
/// Gets or sets XML reader options.
///
public XmlReaderOptions XmlReaderOptions { get; set; }
}
}