示例#1
0
        /// <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);
        }
示例#2
0
        /// <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;
        }