Skip to content

Commit a1ed555

Browse files
committed
added updates for NET4LLM new version 0.3.4
1 parent cf9517f commit a1ed555

37 files changed

Lines changed: 2800 additions & 2062 deletions

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -395,5 +395,8 @@ FodyWeavers.xsd
395395
*.msm
396396
*.msp
397397

398+
# Local clone of https://github.com/pymupdf/pymupdf4llm for porting / diff (optional)
399+
pymupdf4llm/
400+
398401
# JetBrains Rider
399402
*.sln.iml

Demo/Demo.csproj

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
<Project Sdk="Microsoft.NET.Sdk">
2+
<!-- Demo: Support/, Samples/&lt;area&gt;/; MuPDF.NET4LLM fixtures in Samples/Llm/Program.Llm.*.Fixtures.cs. -->
23

34
<PropertyGroup>
45
<OutputType>Exe</OutputType>
@@ -7,8 +8,8 @@
78
</PropertyGroup>
89

910
<ItemGroup>
10-
<ProjectReference Include="..\MuPDF.NET\MuPDF.NET.csproj" />
1111
<ProjectReference Include="..\MuPDF.NET4LLM\MuPDF.NET4LLM.csproj" />
12+
<ProjectReference Include="..\MuPDF.NET\MuPDF.NET.csproj" />
1213
</ItemGroup>
1314

1415
</Project>

Demo/GlobalUsings.cs

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
global using System;
2+
global using System.Collections.Generic;
3+
global using System.IO;
4+
global using System.Linq;
5+
global using System.Text;
6+
global using System.Threading;
7+
global using mupdf;
8+
global using MuPDF.NET;
9+
global using MuPDF.NET4LLM;
10+
global using MuPDF.NET4LLM.Helpers;
11+
global using MuPDF.NET4LLM.Llama;
12+
global using SkiaSharp;
13+
global using Box = MuPDF.NET.Box;
14+
global using Encoding = System.Text.Encoding;
15+
global using File = System.IO.File;
16+
global using Font = MuPDF.NET.Font;
17+
global using Morph = MuPDF.NET.Morph;
18+
global using TextWriter = MuPDF.NET.TextWriter;
19+
global using Utils = MuPDF.NET.Utils;

0 commit comments

Comments
 (0)