Fix #154: Switch to Pdfium; better PDF async loading

This commit is contained in:
Paddy Xu
2017-12-22 01:28:30 +02:00
parent 1bcfd8db08
commit fe39854b57
17 changed files with 1675 additions and 545 deletions

View File

@@ -60,11 +60,18 @@
<AssemblyOriginatorKeyFile>key.snk</AssemblyOriginatorKeyFile>
</PropertyGroup>
<ItemGroup>
<Reference Include="PDFiumSharp, Version=0.1.2.0, Culture=neutral, PublicKeyToken=8828c73f39c04650, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>PDFiumSharp\PDFiumSharp.dll</HintPath>
</Reference>
<Reference Include="PDFiumSharp.Wpf, Version=0.1.0.0, Culture=neutral, PublicKeyToken=e03c80e9a3af1656, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>PDFiumSharp\PDFiumSharp.Wpf.dll</HintPath>
</Reference>
<Reference Include="PresentationCore" />
<Reference Include="PresentationFramework" />
<Reference Include="System" />
<Reference Include="System.Core" />
<Reference Include="System.Drawing" />
<Reference Include="System.Xaml" />
<Reference Include="WindowsBase" />
</ItemGroup>
@@ -76,9 +83,7 @@
<DependentUpon>PdfViewerControl.xaml</DependentUpon>
</Compile>
<Compile Include="Plugin.cs" />
<Compile Include="LibMuPdf.cs" />
<Compile Include="PageIdToImageConverter.cs" />
<Compile Include="PdfFile.cs" />
<Compile Include="PdfPageExtension.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
</ItemGroup>
<ItemGroup>
@@ -93,14 +98,6 @@
<Private>False</Private>
</ProjectReference>
</ItemGroup>
<ItemGroup>
<Content Include="LibMuPdf32.dll">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</Content>
<Content Include="LibMuPdf64.dll">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</Content>
</ItemGroup>
<ItemGroup>
<Page Include="ListBoxItemStyleNoFocusedBorder.xaml">
<SubType>Designer</SubType>
@@ -114,5 +111,13 @@
<ItemGroup>
<None Include="key.snk" />
</ItemGroup>
<ItemGroup>
<Content Include="pdfium_x64.dll">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
<Content Include="pdfium_x86.dll">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
</Project>