mirror of
https://github.com/QL-Win/QuickLook.git
synced 2025-09-14 20:29:07 +00:00
Included epub library in plugin project
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace VersOne.Epub.Schema
|
||||
{
|
||||
public class EpubNavigation
|
||||
{
|
||||
public EpubNavigationHead Head { get; set; }
|
||||
public EpubNavigationDocTitle DocTitle { get; set; }
|
||||
public List<EpubNavigationDocAuthor> DocAuthors { get; set; }
|
||||
public EpubNavigationMap NavMap { get; set; }
|
||||
public EpubNavigationPageList PageList { get; set; }
|
||||
public List<EpubNavigationList> NavLists { get; set; }
|
||||
}
|
||||
}
|
@@ -0,0 +1,15 @@
|
||||
using System;
|
||||
|
||||
namespace VersOne.Epub.Schema
|
||||
{
|
||||
public class EpubNavigationContent
|
||||
{
|
||||
public string Id { get; set; }
|
||||
public string Source { get; set; }
|
||||
|
||||
public override string ToString()
|
||||
{
|
||||
return String.Concat("Source: " + Source);
|
||||
}
|
||||
}
|
||||
}
|
@@ -0,0 +1,8 @@
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace VersOne.Epub.Schema
|
||||
{
|
||||
public class EpubNavigationDocAuthor : List<string>
|
||||
{
|
||||
}
|
||||
}
|
@@ -0,0 +1,8 @@
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace VersOne.Epub.Schema
|
||||
{
|
||||
public class EpubNavigationDocTitle : List<string>
|
||||
{
|
||||
}
|
||||
}
|
@@ -0,0 +1,8 @@
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace VersOne.Epub.Schema
|
||||
{
|
||||
public class EpubNavigationHead : List<EpubNavigationHeadMeta>
|
||||
{
|
||||
}
|
||||
}
|
@@ -0,0 +1,9 @@
|
||||
namespace VersOne.Epub.Schema
|
||||
{
|
||||
public class EpubNavigationHeadMeta
|
||||
{
|
||||
public string Name { get; set; }
|
||||
public string Content { get; set; }
|
||||
public string Scheme { get; set; }
|
||||
}
|
||||
}
|
@@ -0,0 +1,12 @@
|
||||
namespace VersOne.Epub.Schema
|
||||
{
|
||||
public class EpubNavigationLabel
|
||||
{
|
||||
public string Text { get; set; }
|
||||
|
||||
public override string ToString()
|
||||
{
|
||||
return Text;
|
||||
}
|
||||
}
|
||||
}
|
@@ -0,0 +1,12 @@
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace VersOne.Epub.Schema
|
||||
{
|
||||
public class EpubNavigationList
|
||||
{
|
||||
public string Id { get; set; }
|
||||
public string Class { get; set; }
|
||||
public List<EpubNavigationLabel> NavigationLabels { get; set; }
|
||||
public List<EpubNavigationTarget> NavigationTargets { get; set; }
|
||||
}
|
||||
}
|
@@ -0,0 +1,8 @@
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace VersOne.Epub.Schema
|
||||
{
|
||||
public class EpubNavigationMap : List<EpubNavigationPoint>
|
||||
{
|
||||
}
|
||||
}
|
@@ -0,0 +1,8 @@
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace VersOne.Epub.Schema
|
||||
{
|
||||
public class EpubNavigationPageList : List<EpubNavigationPageTarget>
|
||||
{
|
||||
}
|
||||
}
|
@@ -0,0 +1,15 @@
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace VersOne.Epub.Schema
|
||||
{
|
||||
public class EpubNavigationPageTarget
|
||||
{
|
||||
public string Id { get; set; }
|
||||
public string Value { get; set; }
|
||||
public EpubNavigationPageTargetType Type { get; set; }
|
||||
public string Class { get; set; }
|
||||
public string PlayOrder { get; set; }
|
||||
public List<EpubNavigationLabel> NavigationLabels { get; set; }
|
||||
public EpubNavigationContent Content { get; set; }
|
||||
}
|
||||
}
|
@@ -0,0 +1,9 @@
|
||||
namespace VersOne.Epub.Schema
|
||||
{
|
||||
public enum EpubNavigationPageTargetType
|
||||
{
|
||||
FRONT = 1,
|
||||
NORMAL,
|
||||
SPECIAL
|
||||
}
|
||||
}
|
@@ -0,0 +1,20 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace VersOne.Epub.Schema
|
||||
{
|
||||
public class EpubNavigationPoint
|
||||
{
|
||||
public string Id { get; set; }
|
||||
public string Class { get; set; }
|
||||
public string PlayOrder { get; set; }
|
||||
public List<EpubNavigationLabel> NavigationLabels { get; set; }
|
||||
public EpubNavigationContent Content { get; set; }
|
||||
public List<EpubNavigationPoint> ChildNavigationPoints { get; set; }
|
||||
|
||||
public override string ToString()
|
||||
{
|
||||
return String.Format("Id: {0}, Content.Source: {1}", Id, Content.Source);
|
||||
}
|
||||
}
|
||||
}
|
@@ -0,0 +1,14 @@
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace VersOne.Epub.Schema
|
||||
{
|
||||
public class EpubNavigationTarget
|
||||
{
|
||||
public string Id { get; set; }
|
||||
public string Class { get; set; }
|
||||
public string Value { get; set; }
|
||||
public string PlayOrder { get; set; }
|
||||
public List<EpubNavigationLabel> NavigationLabels { get; set; }
|
||||
public EpubNavigationContent Content { get; set; }
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user