converter now part of package
This commit is contained in:
parent
515cbd8a20
commit
34780db289
@ -19,6 +19,14 @@
|
||||
<AssetDir>PackageDefinitions\khofmann-pdf-reader\ContentInfo\</AssetDir>
|
||||
<OutputDir>ContentInfo\khofmann-pdf-reader\</OutputDir>
|
||||
</AssetGroup>
|
||||
<AssetGroup Name="converter">
|
||||
<Type>Copy</Type>
|
||||
<Flags>
|
||||
<FSXCompatibility>false</FSXCompatibility>
|
||||
</Flags>
|
||||
<AssetDir>PackageSources\converter\bin\x64\Release\net8.0-windows\</AssetDir>
|
||||
<OutputDir>converter\</OutputDir>
|
||||
</AssetGroup>
|
||||
<AssetGroup Name="html-ui">
|
||||
<Type>Copy</Type>
|
||||
<Flags>
|
||||
|
||||
@ -16,15 +16,16 @@ const double MM2IN = 25.4;
|
||||
#endregion
|
||||
|
||||
#region Main Code
|
||||
/*
|
||||
|
||||
if (args.Length == 0)
|
||||
{
|
||||
Console.WriteLine("No PDF specified");
|
||||
Console.ReadKey();
|
||||
return 1;
|
||||
}
|
||||
|
||||
Console.WriteLine($"Conversion for {args[0]}\n");
|
||||
*/
|
||||
|
||||
Tuple<int, int> size = ReadConfig();
|
||||
return ReadPDF("MD11_FCOM_vol1.pdf", size.Item1, size.Item2);
|
||||
|
||||
|
||||
@ -60,6 +60,8 @@ const ListPage: FC = () => {
|
||||
Files
|
||||
</Typography>
|
||||
)}
|
||||
{getPages(list.length) > 0 && (
|
||||
<>
|
||||
<TextField
|
||||
variant="filled"
|
||||
value={pageJump}
|
||||
@ -124,6 +126,8 @@ const ListPage: FC = () => {
|
||||
>
|
||||
<NavigateNextIcon htmlColor="white" fontSize="large" />
|
||||
</Button>
|
||||
</>
|
||||
)}
|
||||
<Button
|
||||
onClick={() => {
|
||||
setOffset((prev) => {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user