public string GenerateMetaInf(MetaInf metaInf) { return($@"<?xml version=""1.0""?> <container version=""1.0"" xmlns=""urn:oasis:names:tc:opendocument:xmlns:container""> <rootfiles> <rootfile full-path=""{metaInf.FullPath}"" media-type=""{metaInf.MediaType}""/> </rootfiles> </container>"); }
public Epub(string title, CultureInfo culture) { _title = title; _chapterList = new ChapterList(); _chapterList.ChapterAdded += OnChapterAdded; _content = new Content(_title, culture.TwoLetterISOLanguageName.ToLower()); _mimeType = new MimeType(); _metaInf = new MetaInf(); _tableOfContent = new TableOfContent(_title); }