Included epub library in plugin project

This commit is contained in:
Marco Gavelli
2018-07-16 10:06:17 +02:00
parent a78428c698
commit a82cacd126
57 changed files with 57 additions and 61 deletions

View File

@@ -42,6 +42,10 @@
<Reference Include="System" /> <Reference Include="System" />
<Reference Include="System.Core" /> <Reference Include="System.Core" />
<Reference Include="System.Drawing" /> <Reference Include="System.Drawing" />
<Reference Include="System.IO.Compression, Version=4.1.2.0, Culture=neutral, PublicKeyToken=b77a5c561934e089, processorArchitecture=MSIL">
<HintPath>..\..\packages\System.IO.Compression.4.3.0\lib\net46\System.IO.Compression.dll</HintPath>
</Reference>
<Reference Include="System.IO.Compression.FileSystem" />
<Reference Include="System.Windows.Forms" /> <Reference Include="System.Windows.Forms" />
<Reference Include="System.Xaml" /> <Reference Include="System.Xaml" />
<Reference Include="System.Xml.Linq" /> <Reference Include="System.Xml.Linq" />
@@ -56,6 +60,58 @@
<Compile Include="..\..\GitVersion.cs"> <Compile Include="..\..\GitVersion.cs">
<Link>Properties\GitVersion.cs</Link> <Link>Properties\GitVersion.cs</Link>
</Compile> </Compile>
<Compile Include="EpubReader\Entities\EpubBook.cs" />
<Compile Include="EpubReader\Entities\EpubByteContentFile.cs" />
<Compile Include="EpubReader\Entities\EpubChapter.cs" />
<Compile Include="EpubReader\Entities\EpubContent.cs" />
<Compile Include="EpubReader\Entities\EpubContentFile.cs" />
<Compile Include="EpubReader\Entities\EpubContentType.cs" />
<Compile Include="EpubReader\Entities\EpubSchema.cs" />
<Compile Include="EpubReader\Entities\EpubTextContentFile.cs" />
<Compile Include="EpubReader\EpubReader.cs" />
<Compile Include="EpubReader\Readers\BookCoverReader.cs" />
<Compile Include="EpubReader\Readers\ChapterReader.cs" />
<Compile Include="EpubReader\Readers\ContentReader.cs" />
<Compile Include="EpubReader\Readers\NavigationReader.cs" />
<Compile Include="EpubReader\Readers\PackageReader.cs" />
<Compile Include="EpubReader\Readers\RootFilePathReader.cs" />
<Compile Include="EpubReader\Readers\SchemaReader.cs" />
<Compile Include="EpubReader\RefEntities\EpubBookRef.cs" />
<Compile Include="EpubReader\RefEntities\EpubByteContentFileRef.cs" />
<Compile Include="EpubReader\RefEntities\EpubChapterRef.cs" />
<Compile Include="EpubReader\RefEntities\EpubContentFileRef.cs" />
<Compile Include="EpubReader\RefEntities\EpubContentRef.cs" />
<Compile Include="EpubReader\RefEntities\EpubTextContentFileRef.cs" />
<Compile Include="EpubReader\Schema\Navigation\EpubNavigation.cs" />
<Compile Include="EpubReader\Schema\Navigation\EpubNavigationContent.cs" />
<Compile Include="EpubReader\Schema\Navigation\EpubNavigationDocAuthor.cs" />
<Compile Include="EpubReader\Schema\Navigation\EpubNavigationDocTitle.cs" />
<Compile Include="EpubReader\Schema\Navigation\EpubNavigationHead.cs" />
<Compile Include="EpubReader\Schema\Navigation\EpubNavigationHeadMeta.cs" />
<Compile Include="EpubReader\Schema\Navigation\EpubNavigationLabel.cs" />
<Compile Include="EpubReader\Schema\Navigation\EpubNavigationList.cs" />
<Compile Include="EpubReader\Schema\Navigation\EpubNavigationMap.cs" />
<Compile Include="EpubReader\Schema\Navigation\EpubNavigationPageList.cs" />
<Compile Include="EpubReader\Schema\Navigation\EpubNavigationPageTarget.cs" />
<Compile Include="EpubReader\Schema\Navigation\EpubNavigationPageTargetType.cs" />
<Compile Include="EpubReader\Schema\Navigation\EpubNavigationPoint.cs" />
<Compile Include="EpubReader\Schema\Navigation\EpubNavigationTarget.cs" />
<Compile Include="EpubReader\Schema\Opf\EpubGuide.cs" />
<Compile Include="EpubReader\Schema\Opf\EpubGuideReference.cs" />
<Compile Include="EpubReader\Schema\Opf\EpubManifest.cs" />
<Compile Include="EpubReader\Schema\Opf\EpubManifestItem.cs" />
<Compile Include="EpubReader\Schema\Opf\EpubMetadata.cs" />
<Compile Include="EpubReader\Schema\Opf\EpubMetadataContributor.cs" />
<Compile Include="EpubReader\Schema\Opf\EpubMetadataCreator.cs" />
<Compile Include="EpubReader\Schema\Opf\EpubMetadataDate.cs" />
<Compile Include="EpubReader\Schema\Opf\EpubMetadataIdentifier.cs" />
<Compile Include="EpubReader\Schema\Opf\EpubMetadataMeta.cs" />
<Compile Include="EpubReader\Schema\Opf\EpubPackage.cs" />
<Compile Include="EpubReader\Schema\Opf\EpubSpine.cs" />
<Compile Include="EpubReader\Schema\Opf\EpubSpineItemRef.cs" />
<Compile Include="EpubReader\Schema\Opf\EpubVersion.cs" />
<Compile Include="EpubReader\Utils\XmlUtils.cs" />
<Compile Include="EpubReader\Utils\ZipPathUtils.cs" />
<Compile Include="EpubViewerControl.xaml.cs"> <Compile Include="EpubViewerControl.xaml.cs">
<DependentUpon>EpubViewerControl.xaml</DependentUpon> <DependentUpon>EpubViewerControl.xaml</DependentUpon>
</Compile> </Compile>
@@ -71,10 +127,6 @@
<Project>{ce22a1f3-7f2c-4ec8-bfde-b58d0eb625fc}</Project> <Project>{ce22a1f3-7f2c-4ec8-bfde-b58d0eb625fc}</Project>
<Name>QuickLook.Plugin.HtmlViewer</Name> <Name>QuickLook.Plugin.HtmlViewer</Name>
</ProjectReference> </ProjectReference>
<ProjectReference Include="..\VersOne.Epub\VersOne.Epub.csproj">
<Project>{8bfc120e-7e59-437c-9196-595ab00025e1}</Project>
<Name>VersOne.Epub</Name>
</ProjectReference>
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<Page Include="EpubViewerControl.xaml"> <Page Include="EpubViewerControl.xaml">

View File

@@ -2,4 +2,5 @@
<packages> <packages>
<package id="HtmlRenderer.Core" version="1.5.0.6" targetFramework="net461" /> <package id="HtmlRenderer.Core" version="1.5.0.6" targetFramework="net461" />
<package id="HtmlRenderer.WPF" version="1.5.0.6" targetFramework="net461" /> <package id="HtmlRenderer.WPF" version="1.5.0.6" targetFramework="net461" />
<package id="System.IO.Compression" version="4.3.0" targetFramework="net462" />
</packages> </packages>

View File

@@ -1,15 +0,0 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFrameworks>net45;netcoreapp1.0;netstandard1.3</TargetFrameworks>
<Authors>vers</Authors>
<Company />
<Product />
<Description />
<Copyright>vers, 2015-2018</Copyright>
<Version>2.0.4</Version>
<GeneratePackageOnBuild>false</GeneratePackageOnBuild>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="System.IO.Compression" Version="4.3.0" />
</ItemGroup>
</Project>

View File

@@ -1,31 +0,0 @@
<?xml version="1.0"?>
<package xmlns="http://schemas.microsoft.com/packaging/2013/05/nuspec.xsd">
<metadata>
<id>VersOne.Epub</id>
<version>2.0.4</version>
<title>EPUB reader</title>
<description>.NET library for reading EPUB files</description>
<authors>vers</authors>
<requireLicenseAcceptance>false</requireLicenseAcceptance>
<licenseUrl>https://github.com/vers-one/EpubReader/blob/master/LICENSE</licenseUrl>
<projectUrl>https://github.com/vers-one/EpubReader</projectUrl>
<releaseNotes>.NET Standard 1.3 support.</releaseNotes>
<copyright>Unlicense &lt;http://unlicense.org&gt;</copyright>
<tags>epub</tags>
<dependencies>
<group targetFramework="net45">
</group>
<group targetFramework="netcoreapp1.0">
<dependency id="System.IO.Compression" version="4.3.0" exclude="Build,Analyzers" />
</group>
<group targetFramework="netstandard1.3">
<dependency id="System.IO.Compression" version="4.3.0" exclude="Build,Analyzers" />
</group>
</dependencies>
</metadata>
<files>
<file src="bin\Release\net45\VersOne.Epub.dll" target="lib\net45" />
<file src="bin\Release\netcoreapp1.0\VersOne.Epub.dll" target="lib\netcoreapp1.0" />
<file src="bin\Release\netstandard1.3\VersOne.Epub.dll" target="lib\netstandard1.3" />
</files>
</package>

View File

@@ -74,8 +74,6 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "QuickLook.Plugin.CameraRawV
EndProject EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "QuickLook.Plugin.EpubViewer", "QuickLook.Plugin\QuickLook.Plugin.EpubViewer\QuickLook.Plugin.EpubViewer.csproj", "{260C9E70-0582-471F-BFB5-022CFE7984C8}" Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "QuickLook.Plugin.EpubViewer", "QuickLook.Plugin\QuickLook.Plugin.EpubViewer\QuickLook.Plugin.EpubViewer.csproj", "{260C9E70-0582-471F-BFB5-022CFE7984C8}"
EndProject EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "VersOne.Epub", "QuickLook.Plugin\VersOne.Epub\VersOne.Epub.csproj", "{8BFC120E-7E59-437C-9196-595AB00025E1}"
EndProject
Global Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU Debug|Any CPU = Debug|Any CPU
@@ -222,14 +220,6 @@ Global
{260C9E70-0582-471F-BFB5-022CFE7984C8}.Release|Any CPU.Build.0 = Release|Any CPU {260C9E70-0582-471F-BFB5-022CFE7984C8}.Release|Any CPU.Build.0 = Release|Any CPU
{260C9E70-0582-471F-BFB5-022CFE7984C8}.Release|x86.ActiveCfg = Release|Any CPU {260C9E70-0582-471F-BFB5-022CFE7984C8}.Release|x86.ActiveCfg = Release|Any CPU
{260C9E70-0582-471F-BFB5-022CFE7984C8}.Release|x86.Build.0 = Release|Any CPU {260C9E70-0582-471F-BFB5-022CFE7984C8}.Release|x86.Build.0 = Release|Any CPU
{8BFC120E-7E59-437C-9196-595AB00025E1}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{8BFC120E-7E59-437C-9196-595AB00025E1}.Debug|Any CPU.Build.0 = Debug|Any CPU
{8BFC120E-7E59-437C-9196-595AB00025E1}.Debug|x86.ActiveCfg = Debug|Any CPU
{8BFC120E-7E59-437C-9196-595AB00025E1}.Debug|x86.Build.0 = Debug|Any CPU
{8BFC120E-7E59-437C-9196-595AB00025E1}.Release|Any CPU.ActiveCfg = Release|Any CPU
{8BFC120E-7E59-437C-9196-595AB00025E1}.Release|Any CPU.Build.0 = Release|Any CPU
{8BFC120E-7E59-437C-9196-595AB00025E1}.Release|x86.ActiveCfg = Release|Any CPU
{8BFC120E-7E59-437C-9196-595AB00025E1}.Release|x86.Build.0 = Release|Any CPU
EndGlobalSection EndGlobalSection
GlobalSection(SolutionProperties) = preSolution GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE HideSolutionNode = FALSE
@@ -250,7 +240,6 @@ Global
{45E94893-3076-4A8E-8969-6955B6340739} = {06EFDBE0-6408-4B37-BCF2-0CF9EBEA2E93} {45E94893-3076-4A8E-8969-6955B6340739} = {06EFDBE0-6408-4B37-BCF2-0CF9EBEA2E93}
{BD58F3FC-7601-47BA-AAA1-D8A9D54A33DA} = {06EFDBE0-6408-4B37-BCF2-0CF9EBEA2E93} {BD58F3FC-7601-47BA-AAA1-D8A9D54A33DA} = {06EFDBE0-6408-4B37-BCF2-0CF9EBEA2E93}
{260C9E70-0582-471F-BFB5-022CFE7984C8} = {06EFDBE0-6408-4B37-BCF2-0CF9EBEA2E93} {260C9E70-0582-471F-BFB5-022CFE7984C8} = {06EFDBE0-6408-4B37-BCF2-0CF9EBEA2E93}
{8BFC120E-7E59-437C-9196-595AB00025E1} = {06EFDBE0-6408-4B37-BCF2-0CF9EBEA2E93}
EndGlobalSection EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {D3761C32-8C5F-498A-892B-3B0882994B62} SolutionGuid = {D3761C32-8C5F-498A-892B-3B0882994B62}