/// <summary> /// Constructor with file parameter /// </summary> /// <param name="filePath"></param> public ePUBPackage(string packRelativFileName) { Manifest = new ePUBManifest(); Metadata = new ePUBMetadata(); TableOfContent = new ePUBTableNCX(); Spine = new ePUBSpine(); Guide = new ePUBGuide(); RelativPackageFolder = Path.GetDirectoryName(packRelativFileName); PackageFileName = Path.GetFileName(packRelativFileName); }
/// <summary> /// Constructor /// </summary> /// <param name="filePath"></param> public ePUBPackage() { Manifest = new ePUBManifest(); Metadata = new ePUBMetadata(); TableOfContent = new ePUBTableNCX(); Spine = new ePUBSpine(); Guide = new ePUBGuide(); RelativPackageFolder = ePUBHelper.Files.PackageFolder; PackageFileName = ePUBHelper.Files.PackageFile; }