diff options
Diffstat (limited to 'winRT')
33 files changed, 6376 insertions, 0 deletions
diff --git a/winRT/generate.bat b/winRT/generate.bat new file mode 100644 index 00000000..fa6c6d51 --- /dev/null +++ b/winRT/generate.bat @@ -0,0 +1,41 @@ +@echo off + +if not exist scripts/fontdump.c cd .. +if not exist generated mkdir generated + +cl /nologo -Ifitz -Ipdf scripts/fontdump.c +cl /nologo -Ifitz -Ipdf scripts/cmapdump.c +cl /nologo -Ifitz -Ipdf scripts/cquote.c + +if not exist fontdump.exe goto usage +if not exist cmapdump.exe goto usage +if not exist cquote.exe goto usage + +if not exist generated/font_base14.h fontdump.exe generated/font_base14.h fonts/Dingbats.cff fonts/NimbusMonL-Bold.cff fonts/NimbusMonL-BoldObli.cff fonts/NimbusMonL-Regu.cff fonts/NimbusMonL-ReguObli.cff fonts/NimbusRomNo9L-Medi.cff fonts/NimbusRomNo9L-MediItal.cff fonts/NimbusRomNo9L-Regu.cff fonts/NimbusRomNo9L-ReguItal.cff fonts/NimbusSanL-Bold.cff fonts/NimbusSanL-BoldItal.cff fonts/NimbusSanL-Regu.cff fonts/NimbusSanL-ReguItal.cff fonts/StandardSymL.cff + +if not exist generated/font_droid.h fontdump.exe generated/font_droid.h fonts/droid/DroidSans.ttf fonts/droid/DroidSansMono.ttf + +if not exist generated/font_cjk.h fontdump.exe generated/font_cjk.h fonts/droid/DroidSansFallback.ttf + +if not exist generated/font_cjk_full.h fontdump.exe generated/font_cjk_full.h fonts/droid/DroidSansFallbackFull.ttf + +if not exist generated/cmap_cns.h cmapdump.exe generated/cmap_cns.h cmaps/cns/Adobe-CNS1-UCS2 cmaps/cns/Adobe-CNS1-0 cmaps/cns/Adobe-CNS1-1 cmaps/cns/Adobe-CNS1-2 cmaps/cns/Adobe-CNS1-3 cmaps/cns/Adobe-CNS1-4 cmaps/cns/Adobe-CNS1-5 cmaps/cns/Adobe-CNS1-6 cmaps/cns/B5-H cmaps/cns/B5-V cmaps/cns/B5pc-H cmaps/cns/B5pc-V cmaps/cns/CNS-EUC-H cmaps/cns/CNS-EUC-V cmaps/cns/CNS1-H cmaps/cns/CNS1-V cmaps/cns/CNS2-H cmaps/cns/CNS2-V cmaps/cns/ETen-B5-H cmaps/cns/ETen-B5-V cmaps/cns/ETenms-B5-H cmaps/cns/ETenms-B5-V cmaps/cns/ETHK-B5-H cmaps/cns/ETHK-B5-V cmaps/cns/HKdla-B5-H cmaps/cns/HKdla-B5-V cmaps/cns/HKdlb-B5-H cmaps/cns/HKdlb-B5-V cmaps/cns/HKgccs-B5-H cmaps/cns/HKgccs-B5-V cmaps/cns/HKm314-B5-H cmaps/cns/HKm314-B5-V cmaps/cns/HKm471-B5-H cmaps/cns/HKm471-B5-V cmaps/cns/HKscs-B5-H cmaps/cns/HKscs-B5-V cmaps/cns/UniCNS-UCS2-H cmaps/cns/UniCNS-UCS2-V cmaps/cns/UniCNS-UTF16-H cmaps/cns/UniCNS-UTF16-V + +if not exist generated/cmap_gb.h cmapdump.exe generated/cmap_gb.h cmaps/gb/Adobe-GB1-UCS2 cmaps/gb/Adobe-GB1-0 cmaps/gb/Adobe-GB1-1 cmaps/gb/Adobe-GB1-2 cmaps/gb/Adobe-GB1-3 cmaps/gb/Adobe-GB1-4 cmaps/gb/Adobe-GB1-5 cmaps/gb/GB-EUC-H cmaps/gb/GB-EUC-V cmaps/gb/GB-H cmaps/gb/GB-V cmaps/gb/GBK-EUC-H cmaps/gb/GBK-EUC-V cmaps/gb/GBK2K-H cmaps/gb/GBK2K-V cmaps/gb/GBKp-EUC-H cmaps/gb/GBKp-EUC-V cmaps/gb/GBpc-EUC-H cmaps/gb/GBpc-EUC-V cmaps/gb/GBT-EUC-H cmaps/gb/GBT-EUC-V cmaps/gb/GBT-H cmaps/gb/GBT-V cmaps/gb/GBTpc-EUC-H cmaps/gb/GBTpc-EUC-V cmaps/gb/UniGB-UCS2-H cmaps/gb/UniGB-UCS2-V cmaps/gb/UniGB-UTF16-H cmaps/gb/UniGB-UTF16-V + +if not exist generated/cmap_japan.h cmapdump.exe generated/cmap_japan.h cmaps/japan/Adobe-Japan1-UCS2 cmaps/japan/78-EUC-H cmaps/japan/78-EUC-V cmaps/japan/78-H cmaps/japan/78-RKSJ-H cmaps/japan/78-RKSJ-V cmaps/japan/78-V cmaps/japan/78ms-RKSJ-H cmaps/japan/78ms-RKSJ-V cmaps/japan/83pv-RKSJ-H cmaps/japan/90ms-RKSJ-H cmaps/japan/90ms-RKSJ-V cmaps/japan/90msp-RKSJ-H cmaps/japan/90msp-RKSJ-V cmaps/japan/90pv-RKSJ-H cmaps/japan/90pv-RKSJ-V cmaps/japan/Add-H cmaps/japan/Add-RKSJ-H cmaps/japan/Add-RKSJ-V cmaps/japan/Add-V cmaps/japan/Adobe-Japan1-0 cmaps/japan/Adobe-Japan1-1 cmaps/japan/Adobe-Japan1-2 cmaps/japan/Adobe-Japan1-3 cmaps/japan/Adobe-Japan1-4 cmaps/japan/Adobe-Japan1-5 cmaps/japan/Adobe-Japan1-6 cmaps/japan/EUC-H cmaps/japan/EUC-V cmaps/japan/Ext-H cmaps/japan/Ext-RKSJ-H cmaps/japan/Ext-RKSJ-V cmaps/japan/Ext-V cmaps/japan/H cmaps/japan/Hankaku cmaps/japan/Hiragana cmaps/japan/Katakana cmaps/japan/NWP-H cmaps/japan/NWP-V cmaps/japan/RKSJ-H cmaps/japan/RKSJ-V cmaps/japan/Roman cmaps/japan/UniJIS-UCS2-H cmaps/japan/UniJIS-UCS2-HW-H cmaps/japan/UniJIS-UCS2-HW-V cmaps/japan/UniJIS-UCS2-V cmaps/japan/UniJISPro-UCS2-HW-V cmaps/japan/UniJISPro-UCS2-V cmaps/japan/V cmaps/japan/WP-Symbol cmaps/japan/Adobe-Japan2-0 cmaps/japan/Hojo-EUC-H cmaps/japan/Hojo-EUC-V cmaps/japan/Hojo-H cmaps/japan/Hojo-V cmaps/japan/UniHojo-UCS2-H cmaps/japan/UniHojo-UCS2-V cmaps/japan/UniHojo-UTF16-H cmaps/japan/UniHojo-UTF16-V cmaps/japan/UniJIS-UTF16-H cmaps/japan/UniJIS-UTF16-V + +if not exist generated/cmap_korea.h cmapdump.exe generated/cmap_korea.h cmaps/korea/Adobe-Korea1-UCS2 cmaps/korea/Adobe-Korea1-0 cmaps/korea/Adobe-Korea1-1 cmaps/korea/Adobe-Korea1-2 cmaps/korea/KSC-EUC-H cmaps/korea/KSC-EUC-V cmaps/korea/KSC-H cmaps/korea/KSC-Johab-H cmaps/korea/KSC-Johab-V cmaps/korea/KSC-V cmaps/korea/KSCms-UHC-H cmaps/korea/KSCms-UHC-HW-H cmaps/korea/KSCms-UHC-HW-V cmaps/korea/KSCms-UHC-V cmaps/korea/KSCpc-EUC-H cmaps/korea/KSCpc-EUC-V cmaps/korea/UniKS-UCS2-H cmaps/korea/UniKS-UCS2-V cmaps/korea/UniKS-UTF16-H cmaps/korea/UniKS-UTF16-V + +if not exist generated/js_util.h cquote.exe generated/js_util.h pdf/pdf_util.js + +del cmapdump.obj fontdump.obj cquote.obj cmapdump.exe fontdump.exe cquote.exe + +goto fin + +:usage +echo ERROR: Run this script in the mupdf directory. +echo ERROR: Run this script in a Visual Studio command prompt. +pause + +:fin diff --git a/winRT/generated.vcxproj b/winRT/generated.vcxproj new file mode 100644 index 00000000..4c1956fa --- /dev/null +++ b/winRT/generated.vcxproj @@ -0,0 +1,265 @@ +<?xml version="1.0" encoding="utf-8"?> +<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> + <ItemGroup Label="ProjectConfigurations"> + <ProjectConfiguration Include="Debug|Win32"> + <Configuration>Debug</Configuration> + <Platform>Win32</Platform> + </ProjectConfiguration> + <ProjectConfiguration Include="Memento|Win32"> + <Configuration>Memento</Configuration> + <Platform>Win32</Platform> + </ProjectConfiguration> + <ProjectConfiguration Include="Release|Win32"> + <Configuration>Release</Configuration> + <Platform>Win32</Platform> + </ProjectConfiguration> + </ItemGroup> + <PropertyGroup Label="Globals"> + <ProjectGuid>{A5053AA7-02E5-4903-B596-04F17AEB1526}</ProjectGuid> + <Keyword>MakeFileProj</Keyword> + </PropertyGroup> + <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" /> + <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Memento|Win32'" Label="Configuration"> + <ConfigurationType>Makefile</ConfigurationType> + <PlatformToolset>v110</PlatformToolset> + </PropertyGroup> + <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration"> + <ConfigurationType>Makefile</ConfigurationType> + <PlatformToolset>v110</PlatformToolset> + </PropertyGroup> + <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration"> + <ConfigurationType>Makefile</ConfigurationType> + <PlatformToolset>v110</PlatformToolset> + </PropertyGroup> + <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" /> + <ImportGroup Label="ExtensionSettings"> + </ImportGroup> + <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Memento|Win32'" Label="PropertySheets"> + <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> + </ImportGroup> + <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="PropertySheets"> + <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> + </ImportGroup> + <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="PropertySheets"> + <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> + </ImportGroup> + <PropertyGroup Label="UserMacros" /> + <PropertyGroup> + <_ProjectFileVersion>11.0.51106.1</_ProjectFileVersion> + </PropertyGroup> + <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'"> + <OutDir>$(Configuration)\</OutDir> + <IntDir>$(Configuration)\</IntDir> + <NMakeBuildCommandLine>generate.bat</NMakeBuildCommandLine> + <NMakeReBuildCommandLine>del /q ..\generated && generate.bat</NMakeReBuildCommandLine> + <NMakeCleanCommandLine>del /q ..\generated</NMakeCleanCommandLine> + <NMakeOutput /> + <NMakePreprocessorDefinitions>WIN32;_DEBUG;$(NMakePreprocessorDefinitions)</NMakePreprocessorDefinitions> + </PropertyGroup> + <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'"> + <OutDir>$(Configuration)\</OutDir> + <IntDir>$(Configuration)\</IntDir> + <NMakeBuildCommandLine>generate.bat</NMakeBuildCommandLine> + <NMakeReBuildCommandLine>del /q ..\generated && generate.bat</NMakeReBuildCommandLine> + <NMakeCleanCommandLine>del /q ..\generated</NMakeCleanCommandLine> + <NMakeOutput>generated\cmap_cns.h</NMakeOutput> + <NMakePreprocessorDefinitions>WIN32;NDEBUG;$(NMakePreprocessorDefinitions)</NMakePreprocessorDefinitions> + </PropertyGroup> + <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Memento|Win32'"> + <OutDir>$(Configuration)\</OutDir> + <IntDir>$(Configuration)\</IntDir> + <NMakeBuildCommandLine>generate.bat</NMakeBuildCommandLine> + <NMakeReBuildCommandLine>del /q ..\generated && generate.bat</NMakeReBuildCommandLine> + <NMakeCleanCommandLine>del /q ..\generated</NMakeCleanCommandLine> + <NMakeOutput>generated\cmap_cns.h</NMakeOutput> + <NMakePreprocessorDefinitions>WIN32;_DEBUG;$(NMakePreprocessorDefinitions)</NMakePreprocessorDefinitions> + </PropertyGroup> + <ItemDefinitionGroup> + </ItemDefinitionGroup> + <ItemGroup> + <ClCompile Include="..\scripts\cmapdump.c" /> + <ClCompile Include="..\scripts\cquote.c" /> + <ClCompile Include="..\scripts\fontdump.c" /> + </ItemGroup> + <ItemGroup> + <ClInclude Include="..\scripts\jconfig.h" /> + <ClInclude Include="..\scripts\opj_config.h" /> + <ClInclude Include="..\scripts\slimftmodules.h" /> + <ClInclude Include="..\scripts\slimftoptions.h" /> + </ItemGroup> + <ItemGroup> + <None Include="..\cmaps\cns\Adobe-CNS1-0" /> + <None Include="..\cmaps\cns\Adobe-CNS1-1" /> + <None Include="..\cmaps\cns\Adobe-CNS1-2" /> + <None Include="..\cmaps\cns\Adobe-CNS1-3" /> + <None Include="..\cmaps\cns\Adobe-CNS1-4" /> + <None Include="..\cmaps\cns\Adobe-CNS1-5" /> + <None Include="..\cmaps\cns\Adobe-CNS1-6" /> + <None Include="..\cmaps\cns\Adobe-CNS1-UCS2" /> + <None Include="..\cmaps\cns\B5-H" /> + <None Include="..\cmaps\cns\B5-V" /> + <None Include="..\cmaps\cns\B5pc-H" /> + <None Include="..\cmaps\cns\B5pc-V" /> + <None Include="..\cmaps\cns\CNS-EUC-H" /> + <None Include="..\cmaps\cns\CNS-EUC-V" /> + <None Include="..\cmaps\cns\CNS1-H" /> + <None Include="..\cmaps\cns\CNS1-V" /> + <None Include="..\cmaps\cns\CNS2-H" /> + <None Include="..\cmaps\cns\CNS2-V" /> + <None Include="..\cmaps\cns\ETen-B5-H" /> + <None Include="..\cmaps\cns\ETen-B5-V" /> + <None Include="..\cmaps\cns\ETenms-B5-H" /> + <None Include="..\cmaps\cns\ETenms-B5-V" /> + <None Include="..\cmaps\cns\ETHK-B5-H" /> + <None Include="..\cmaps\cns\ETHK-B5-V" /> + <None Include="..\cmaps\cns\HKdla-B5-H" /> + <None Include="..\cmaps\cns\HKdla-B5-V" /> + <None Include="..\cmaps\cns\HKdlb-B5-H" /> + <None Include="..\cmaps\cns\HKdlb-B5-V" /> + <None Include="..\cmaps\cns\HKgccs-B5-H" /> + <None Include="..\cmaps\cns\HKgccs-B5-V" /> + <None Include="..\cmaps\cns\HKm314-B5-H" /> + <None Include="..\cmaps\cns\HKm314-B5-V" /> + <None Include="..\cmaps\cns\HKm471-B5-H" /> + <None Include="..\cmaps\cns\HKm471-B5-V" /> + <None Include="..\cmaps\cns\HKscs-B5-H" /> + <None Include="..\cmaps\cns\HKscs-B5-V" /> + <None Include="..\cmaps\cns\UniCNS-UCS2-H" /> + <None Include="..\cmaps\cns\UniCNS-UCS2-V" /> + <None Include="..\cmaps\cns\UniCNS-UTF16-H" /> + <None Include="..\cmaps\cns\UniCNS-UTF16-V" /> + <None Include="..\cmaps\gb\Adobe-GB1-0" /> + <None Include="..\cmaps\gb\Adobe-GB1-1" /> + <None Include="..\cmaps\gb\Adobe-GB1-2" /> + <None Include="..\cmaps\gb\Adobe-GB1-3" /> + <None Include="..\cmaps\gb\Adobe-GB1-4" /> + <None Include="..\cmaps\gb\Adobe-GB1-5" /> + <None Include="..\cmaps\gb\Adobe-GB1-UCS2" /> + <None Include="..\cmaps\gb\GB-EUC-H" /> + <None Include="..\cmaps\gb\GB-EUC-V" /> + <None Include="..\cmaps\gb\GB-H" /> + <None Include="..\cmaps\gb\GB-V" /> + <None Include="..\cmaps\gb\GBK-EUC-H" /> + <None Include="..\cmaps\gb\GBK-EUC-V" /> + <None Include="..\cmaps\gb\GBK2K-H" /> + <None Include="..\cmaps\gb\GBK2K-V" /> + <None Include="..\cmaps\gb\GBKp-EUC-H" /> + <None Include="..\cmaps\gb\GBKp-EUC-V" /> + <None Include="..\cmaps\gb\GBpc-EUC-H" /> + <None Include="..\cmaps\gb\GBpc-EUC-V" /> + <None Include="..\cmaps\gb\GBT-EUC-H" /> + <None Include="..\cmaps\gb\GBT-EUC-V" /> + <None Include="..\cmaps\gb\GBT-H" /> + <None Include="..\cmaps\gb\GBT-V" /> + <None Include="..\cmaps\gb\GBTpc-EUC-H" /> + <None Include="..\cmaps\gb\GBTpc-EUC-V" /> + <None Include="..\cmaps\gb\UniGB-UCS2-H" /> + <None Include="..\cmaps\gb\UniGB-UCS2-V" /> + <None Include="..\cmaps\gb\UniGB-UTF16-H" /> + <None Include="..\cmaps\gb\UniGB-UTF16-V" /> + <None Include="..\cmaps\japan\78-EUC-H" /> + <None Include="..\cmaps\japan\78-EUC-V" /> + <None Include="..\cmaps\japan\78-H" /> + <None Include="..\cmaps\japan\78-RKSJ-H" /> + <None Include="..\cmaps\japan\78-RKSJ-V" /> + <None Include="..\cmaps\japan\78-V" /> + <None Include="..\cmaps\japan\78ms-RKSJ-H" /> + <None Include="..\cmaps\japan\78ms-RKSJ-V" /> + <None Include="..\cmaps\japan\83pv-RKSJ-H" /> + <None Include="..\cmaps\japan\90ms-RKSJ-H" /> + <None Include="..\cmaps\japan\90ms-RKSJ-V" /> + <None Include="..\cmaps\japan\90msp-RKSJ-H" /> + <None Include="..\cmaps\japan\90msp-RKSJ-V" /> + <None Include="..\cmaps\japan\90pv-RKSJ-H" /> + <None Include="..\cmaps\japan\90pv-RKSJ-V" /> + <None Include="..\cmaps\japan\Add-H" /> + <None Include="..\cmaps\japan\Add-RKSJ-H" /> + <None Include="..\cmaps\japan\Add-RKSJ-V" /> + <None Include="..\cmaps\japan\Add-V" /> + <None Include="..\cmaps\japan\Adobe-Japan1-0" /> + <None Include="..\cmaps\japan\Adobe-Japan1-1" /> + <None Include="..\cmaps\japan\Adobe-Japan1-2" /> + <None Include="..\cmaps\japan\Adobe-Japan1-3" /> + <None Include="..\cmaps\japan\Adobe-Japan1-4" /> + <None Include="..\cmaps\japan\Adobe-Japan1-5" /> + <None Include="..\cmaps\japan\Adobe-Japan1-6" /> + <None Include="..\cmaps\japan\Adobe-Japan1-UCS2" /> + <None Include="..\cmaps\japan\Adobe-Japan2-0" /> + <None Include="..\cmaps\japan\EUC-H" /> + <None Include="..\cmaps\japan\EUC-V" /> + <None Include="..\cmaps\japan\Ext-H" /> + <None Include="..\cmaps\japan\Ext-RKSJ-H" /> + <None Include="..\cmaps\japan\Ext-RKSJ-V" /> + <None Include="..\cmaps\japan\Ext-V" /> + <None Include="..\cmaps\japan\H" /> + <None Include="..\cmaps\japan\Hankaku" /> + <None Include="..\cmaps\japan\Hiragana" /> + <None Include="..\cmaps\japan\Hojo-EUC-H" /> + <None Include="..\cmaps\japan\Hojo-EUC-V" /> + <None Include="..\cmaps\japan\Hojo-H" /> + <None Include="..\cmaps\japan\Hojo-V" /> + <None Include="..\cmaps\japan\Katakana" /> + <None Include="..\cmaps\japan\NWP-H" /> + <None Include="..\cmaps\japan\NWP-V" /> + <None Include="..\cmaps\japan\RKSJ-H" /> + <None Include="..\cmaps\japan\RKSJ-V" /> + <None Include="..\cmaps\japan\Roman" /> + <None Include="..\cmaps\japan\UniHojo-UCS2-H" /> + <None Include="..\cmaps\japan\UniHojo-UCS2-V" /> + <None Include="..\cmaps\japan\UniHojo-UTF16-H" /> + <None Include="..\cmaps\japan\UniHojo-UTF16-V" /> + <None Include="..\cmaps\japan\UniJIS-UCS2-H" /> + <None Include="..\cmaps\japan\UniJIS-UCS2-HW-H" /> + <None Include="..\cmaps\japan\UniJIS-UCS2-HW-V" /> + <None Include="..\cmaps\japan\UniJIS-UCS2-V" /> + <None Include="..\cmaps\japan\UniJIS-UTF16-H" /> + <None Include="..\cmaps\japan\UniJIS-UTF16-V" /> + <None Include="..\cmaps\japan\UniJISPro-UCS2-HW-V" /> + <None Include="..\cmaps\japan\UniJISPro-UCS2-V" /> + <None Include="..\cmaps\japan\V" /> + <None Include="..\cmaps\japan\WP-Symbol" /> + <None Include="..\cmaps\korea\Adobe-Korea1-0" /> + <None Include="..\cmaps\korea\Adobe-Korea1-1" /> + <None Include="..\cmaps\korea\Adobe-Korea1-2" /> + <None Include="..\cmaps\korea\Adobe-Korea1-UCS2" /> + <None Include="..\cmaps\korea\KSC-EUC-H" /> + <None Include="..\cmaps\korea\KSC-EUC-V" /> + <None Include="..\cmaps\korea\KSC-H" /> + <None Include="..\cmaps\korea\KSC-Johab-H" /> + <None Include="..\cmaps\korea\KSC-Johab-V" /> + <None Include="..\cmaps\korea\KSC-V" /> + <None Include="..\cmaps\korea\KSCms-UHC-H" /> + <None Include="..\cmaps\korea\KSCms-UHC-HW-H" /> + <None Include="..\cmaps\korea\KSCms-UHC-HW-V" /> + <None Include="..\cmaps\korea\KSCms-UHC-V" /> + <None Include="..\cmaps\korea\KSCpc-EUC-H" /> + <None Include="..\cmaps\korea\KSCpc-EUC-V" /> + <None Include="..\cmaps\korea\UniKS-UCS2-H" /> + <None Include="..\cmaps\korea\UniKS-UCS2-V" /> + <None Include="..\cmaps\korea\UniKS-UTF16-H" /> + <None Include="..\cmaps\korea\UniKS-UTF16-V" /> + <None Include="..\fonts\Dingbats.cff" /> + <None Include="..\fonts\NimbusMonL-Bold.cff" /> + <None Include="..\fonts\NimbusMonL-BoldObli.cff" /> + <None Include="..\fonts\NimbusMonL-Regu.cff" /> + <None Include="..\fonts\NimbusMonL-ReguObli.cff" /> + <None Include="..\fonts\NimbusRomNo9L-Medi.cff" /> + <None Include="..\fonts\NimbusRomNo9L-MediItal.cff" /> + <None Include="..\fonts\NimbusRomNo9L-Regu.cff" /> + <None Include="..\fonts\NimbusRomNo9L-ReguItal.cff" /> + <None Include="..\fonts\NimbusSanL-Bold.cff" /> + <None Include="..\fonts\NimbusSanL-BoldItal.cff" /> + <None Include="..\fonts\NimbusSanL-Regu.cff" /> + <None Include="..\fonts\NimbusSanL-ReguItal.cff" /> + <None Include="..\fonts\StandardSymL.cff" /> + <None Include="..\fonts\droid\NOTICE" /> + </ItemGroup> + <ItemGroup> + <Font Include="..\fonts\droid\DroidSans.ttf" /> + <Font Include="..\fonts\droid\DroidSansFallback.ttf" /> + <Font Include="..\fonts\droid\DroidSansMono.ttf" /> + </ItemGroup> + <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" /> + <ImportGroup Label="ExtensionTargets"> + </ImportGroup> +</Project>
\ No newline at end of file diff --git a/winRT/generated.vcxproj.filters b/winRT/generated.vcxproj.filters new file mode 100644 index 00000000..1a078e59 --- /dev/null +++ b/winRT/generated.vcxproj.filters @@ -0,0 +1,568 @@ +<?xml version="1.0" encoding="utf-8"?> +<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> + <ItemGroup> + <Filter Include="Source Files"> + <UniqueIdentifier>{4FC737F1-C7A5-4376-A066-2A32D752A2FF}</UniqueIdentifier> + <Extensions>cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx</Extensions> + </Filter> + <Filter Include="Header Files"> + <UniqueIdentifier>{93995380-89BD-4b04-88EB-625FBE52EBFB}</UniqueIdentifier> + <Extensions>h;hpp;hxx;hm;inl;inc;xsd</Extensions> + </Filter> + <Filter Include="CMAPs"> + <UniqueIdentifier>{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}</UniqueIdentifier> + <Extensions>rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav</Extensions> + </Filter> + <Filter Include="CMAPs\cns"> + <UniqueIdentifier>{5129a522-0f9b-4dd3-aaf8-5b20b66060d8}</UniqueIdentifier> + </Filter> + <Filter Include="CMAPs\gb"> + <UniqueIdentifier>{75b3deb7-11ce-4813-b282-6dc1c099e669}</UniqueIdentifier> + </Filter> + <Filter Include="CMAPs\japan"> + <UniqueIdentifier>{1706f021-1fce-4074-9299-6fd9c516c7ca}</UniqueIdentifier> + </Filter> + <Filter Include="CMAPs\korea"> + <UniqueIdentifier>{f2a3739d-4175-47e4-9711-4a066e0f7094}</UniqueIdentifier> + </Filter> + <Filter Include="Fonts"> + <UniqueIdentifier>{5168e64f-094a-43e0-b53f-83df3632d7ae}</UniqueIdentifier> + </Filter> + <Filter Include="Fonts\droid"> + <UniqueIdentifier>{8462cde5-1461-408e-8708-d2b844cbb69d}</UniqueIdentifier> + </Filter> + </ItemGroup> + <ItemGroup> + <ClCompile Include="..\scripts\cmapdump.c"> + <Filter>Source Files</Filter> + </ClCompile> + <ClCompile Include="..\scripts\cquote.c"> + <Filter>Source Files</Filter> + </ClCompile> + <ClCompile Include="..\scripts\fontdump.c"> + <Filter>Source Files</Filter> + </ClCompile> + </ItemGroup> + <ItemGroup> + <ClInclude Include="..\scripts\jconfig.h"> + <Filter>Header Files</Filter> + </ClInclude> + <ClInclude Include="..\scripts\opj_config.h"> + <Filter>Header Files</Filter> + </ClInclude> + <ClInclude Include="..\scripts\slimftmodules.h"> + <Filter>Header Files</Filter> + </ClInclude> + <ClInclude Include="..\scripts\slimftoptions.h"> + <Filter>Header Files</Filter> + </ClInclude> + </ItemGroup> + <ItemGroup> + <None Include="..\cmaps\cns\Adobe-CNS1-0"> + <Filter>CMAPs\cns</Filter> + </None> + <None Include="..\cmaps\cns\Adobe-CNS1-1"> + <Filter>CMAPs\cns</Filter> + </None> + <None Include="..\cmaps\cns\Adobe-CNS1-2"> + <Filter>CMAPs\cns</Filter> + </None> + <None Include="..\cmaps\cns\Adobe-CNS1-3"> + <Filter>CMAPs\cns</Filter> + </None> + <None Include="..\cmaps\cns\Adobe-CNS1-4"> + <Filter>CMAPs\cns</Filter> + </None> + <None Include="..\cmaps\cns\Adobe-CNS1-5"> + <Filter>CMAPs\cns</Filter> + </None> + <None Include="..\cmaps\cns\Adobe-CNS1-6"> + <Filter>CMAPs\cns</Filter> + </None> + <None Include="..\cmaps\cns\Adobe-CNS1-UCS2"> + <Filter>CMAPs\cns</Filter> + </None> + <None Include="..\cmaps\cns\B5-H"> + <Filter>CMAPs\cns</Filter> + </None> + <None Include="..\cmaps\cns\B5-V"> + <Filter>CMAPs\cns</Filter> + </None> + <None Include="..\cmaps\cns\B5pc-H"> + <Filter>CMAPs\cns</Filter> + </None> + <None Include="..\cmaps\cns\B5pc-V"> + <Filter>CMAPs\cns</Filter> + </None> + <None Include="..\cmaps\cns\CNS-EUC-H"> + <Filter>CMAPs\cns</Filter> + </None> + <None Include="..\cmaps\cns\CNS-EUC-V"> + <Filter>CMAPs\cns</Filter> + </None> + <None Include="..\cmaps\cns\CNS1-H"> + <Filter>CMAPs\cns</Filter> + </None> + <None Include="..\cmaps\cns\CNS1-V"> + <Filter>CMAPs\cns</Filter> + </None> + <None Include="..\cmaps\cns\CNS2-H"> + <Filter>CMAPs\cns</Filter> + </None> + <None Include="..\cmaps\cns\CNS2-V"> + <Filter>CMAPs\cns</Filter> + </None> + <None Include="..\cmaps\cns\ETen-B5-H"> + <Filter>CMAPs\cns</Filter> + </None> + <None Include="..\cmaps\cns\ETen-B5-V"> + <Filter>CMAPs\cns</Filter> + </None> + <None Include="..\cmaps\cns\ETenms-B5-H"> + <Filter>CMAPs\cns</Filter> + </None> + <None Include="..\cmaps\cns\ETenms-B5-V"> + <Filter>CMAPs\cns</Filter> + </None> + <None Include="..\cmaps\cns\ETHK-B5-H"> + <Filter>CMAPs\cns</Filter> + </None> + <None Include="..\cmaps\cns\ETHK-B5-V"> + <Filter>CMAPs\cns</Filter> + </None> + <None Include="..\cmaps\cns\HKdla-B5-H"> + <Filter>CMAPs\cns</Filter> + </None> + <None Include="..\cmaps\cns\HKdla-B5-V"> + <Filter>CMAPs\cns</Filter> + </None> + <None Include="..\cmaps\cns\HKdlb-B5-H"> + <Filter>CMAPs\cns</Filter> + </None> + <None Include="..\cmaps\cns\HKdlb-B5-V"> + <Filter>CMAPs\cns</Filter> + </None> + <None Include="..\cmaps\cns\HKgccs-B5-H"> + <Filter>CMAPs\cns</Filter> + </None> + <None Include="..\cmaps\cns\HKgccs-B5-V"> + <Filter>CMAPs\cns</Filter> + </None> + <None Include="..\cmaps\cns\HKm314-B5-H"> + <Filter>CMAPs\cns</Filter> + </None> + <None Include="..\cmaps\cns\HKm314-B5-V"> + <Filter>CMAPs\cns</Filter> + </None> + <None Include="..\cmaps\cns\HKm471-B5-H"> + <Filter>CMAPs\cns</Filter> + </None> + <None Include="..\cmaps\cns\HKm471-B5-V"> + <Filter>CMAPs\cns</Filter> + </None> + <None Include="..\cmaps\cns\HKscs-B5-H"> + <Filter>CMAPs\cns</Filter> + </None> + <None Include="..\cmaps\cns\HKscs-B5-V"> + <Filter>CMAPs\cns</Filter> + </None> + <None Include="..\cmaps\cns\UniCNS-UCS2-H"> + <Filter>CMAPs\cns</Filter> + </None> + <None Include="..\cmaps\cns\UniCNS-UCS2-V"> + <Filter>CMAPs\cns</Filter> + </None> + <None Include="..\cmaps\cns\UniCNS-UTF16-H"> + <Filter>CMAPs\cns</Filter> + </None> + <None Include="..\cmaps\cns\UniCNS-UTF16-V"> + <Filter>CMAPs\cns</Filter> + </None> + <None Include="..\cmaps\gb\Adobe-GB1-0"> + <Filter>CMAPs\gb</Filter> + </None> + <None Include="..\cmaps\gb\Adobe-GB1-1"> + <Filter>CMAPs\gb</Filter> + </None> + <None Include="..\cmaps\gb\Adobe-GB1-2"> + <Filter>CMAPs\gb</Filter> + </None> + <None Include="..\cmaps\gb\Adobe-GB1-3"> + <Filter>CMAPs\gb</Filter> + </None> + <None Include="..\cmaps\gb\Adobe-GB1-4"> + <Filter>CMAPs\gb</Filter> + </None> + <None Include="..\cmaps\gb\Adobe-GB1-5"> + <Filter>CMAPs\gb</Filter> + </None> + <None Include="..\cmaps\gb\Adobe-GB1-UCS2"> + <Filter>CMAPs\gb</Filter> + </None> + <None Include="..\cmaps\gb\GB-EUC-H"> + <Filter>CMAPs\gb</Filter> + </None> + <None Include="..\cmaps\gb\GB-EUC-V"> + <Filter>CMAPs\gb</Filter> + </None> + <None Include="..\cmaps\gb\GB-H"> + <Filter>CMAPs\gb</Filter> + </None> + <None Include="..\cmaps\gb\GB-V"> + <Filter>CMAPs\gb</Filter> + </None> + <None Include="..\cmaps\gb\GBK-EUC-H"> + <Filter>CMAPs\gb</Filter> + </None> + <None Include="..\cmaps\gb\GBK-EUC-V"> + <Filter>CMAPs\gb</Filter> + </None> + <None Include="..\cmaps\gb\GBK2K-H"> + <Filter>CMAPs\gb</Filter> + </None> + <None Include="..\cmaps\gb\GBK2K-V"> + <Filter>CMAPs\gb</Filter> + </None> + <None Include="..\cmaps\gb\GBKp-EUC-H"> + <Filter>CMAPs\gb</Filter> + </None> + <None Include="..\cmaps\gb\GBKp-EUC-V"> + <Filter>CMAPs\gb</Filter> + </None> + <None Include="..\cmaps\gb\GBpc-EUC-H"> + <Filter>CMAPs\gb</Filter> + </None> + <None Include="..\cmaps\gb\GBpc-EUC-V"> + <Filter>CMAPs\gb</Filter> + </None> + <None Include="..\cmaps\gb\GBT-EUC-H"> + <Filter>CMAPs\gb</Filter> + </None> + <None Include="..\cmaps\gb\GBT-EUC-V"> + <Filter>CMAPs\gb</Filter> + </None> + <None Include="..\cmaps\gb\GBT-H"> + <Filter>CMAPs\gb</Filter> + </None> + <None Include="..\cmaps\gb\GBT-V"> + <Filter>CMAPs\gb</Filter> + </None> + <None Include="..\cmaps\gb\GBTpc-EUC-H"> + <Filter>CMAPs\gb</Filter> + </None> + <None Include="..\cmaps\gb\GBTpc-EUC-V"> + <Filter>CMAPs\gb</Filter> + </None> + <None Include="..\cmaps\gb\UniGB-UCS2-H"> + <Filter>CMAPs\gb</Filter> + </None> + <None Include="..\cmaps\gb\UniGB-UCS2-V"> + <Filter>CMAPs\gb</Filter> + </None> + <None Include="..\cmaps\gb\UniGB-UTF16-H"> + <Filter>CMAPs\gb</Filter> + </None> + <None Include="..\cmaps\gb\UniGB-UTF16-V"> + <Filter>CMAPs\gb</Filter> + </None> + <None Include="..\cmaps\japan\78-EUC-H"> + <Filter>CMAPs\japan</Filter> + </None> + <None Include="..\cmaps\japan\78-EUC-V"> + <Filter>CMAPs\japan</Filter> + </None> + <None Include="..\cmaps\japan\78-H"> + <Filter>CMAPs\japan</Filter> + </None> + <None Include="..\cmaps\japan\78-RKSJ-H"> + <Filter>CMAPs\japan</Filter> + </None> + <None Include="..\cmaps\japan\78-RKSJ-V"> + <Filter>CMAPs\japan</Filter> + </None> + <None Include="..\cmaps\japan\78-V"> + <Filter>CMAPs\japan</Filter> + </None> + <None Include="..\cmaps\japan\78ms-RKSJ-H"> + <Filter>CMAPs\japan</Filter> + </None> + <None Include="..\cmaps\japan\78ms-RKSJ-V"> + <Filter>CMAPs\japan</Filter> + </None> + <None Include="..\cmaps\japan\83pv-RKSJ-H"> + <Filter>CMAPs\japan</Filter> + </None> + <None Include="..\cmaps\japan\90ms-RKSJ-H"> + <Filter>CMAPs\japan</Filter> + </None> + <None Include="..\cmaps\japan\90ms-RKSJ-V"> + <Filter>CMAPs\japan</Filter> + </None> + <None Include="..\cmaps\japan\90msp-RKSJ-H"> + <Filter>CMAPs\japan</Filter> + </None> + <None Include="..\cmaps\japan\90msp-RKSJ-V"> + <Filter>CMAPs\japan</Filter> + </None> + <None Include="..\cmaps\japan\90pv-RKSJ-H"> + <Filter>CMAPs\japan</Filter> + </None> + <None Include="..\cmaps\japan\90pv-RKSJ-V"> + <Filter>CMAPs\japan</Filter> + </None> + <None Include="..\cmaps\japan\Add-H"> + <Filter>CMAPs\japan</Filter> + </None> + <None Include="..\cmaps\japan\Add-RKSJ-H"> + <Filter>CMAPs\japan</Filter> + </None> + <None Include="..\cmaps\japan\Add-RKSJ-V"> + <Filter>CMAPs\japan</Filter> + </None> + <None Include="..\cmaps\japan\Add-V"> + <Filter>CMAPs\japan</Filter> + </None> + <None Include="..\cmaps\japan\Adobe-Japan1-0"> + <Filter>CMAPs\japan</Filter> + </None> + <None Include="..\cmaps\japan\Adobe-Japan1-1"> + <Filter>CMAPs\japan</Filter> + </None> + <None Include="..\cmaps\japan\Adobe-Japan1-2"> + <Filter>CMAPs\japan</Filter> + </None> + <None Include="..\cmaps\japan\Adobe-Japan1-3"> + <Filter>CMAPs\japan</Filter> + </None> + <None Include="..\cmaps\japan\Adobe-Japan1-4"> + <Filter>CMAPs\japan</Filter> + </None> + <None Include="..\cmaps\japan\Adobe-Japan1-5"> + <Filter>CMAPs\japan</Filter> + </None> + <None Include="..\cmaps\japan\Adobe-Japan1-6"> + <Filter>CMAPs\japan</Filter> + </None> + <None Include="..\cmaps\japan\Adobe-Japan1-UCS2"> + <Filter>CMAPs\japan</Filter> + </None> + <None Include="..\cmaps\japan\Adobe-Japan2-0"> + <Filter>CMAPs\japan</Filter> + </None> + <None Include="..\cmaps\japan\EUC-H"> + <Filter>CMAPs\japan</Filter> + </None> + <None Include="..\cmaps\japan\EUC-V"> + <Filter>CMAPs\japan</Filter> + </None> + <None Include="..\cmaps\japan\Ext-H"> + <Filter>CMAPs\japan</Filter> + </None> + <None Include="..\cmaps\japan\Ext-RKSJ-H"> + <Filter>CMAPs\japan</Filter> + </None> + <None Include="..\cmaps\japan\Ext-RKSJ-V"> + <Filter>CMAPs\japan</Filter> + </None> + <None Include="..\cmaps\japan\Ext-V"> + <Filter>CMAPs\japan</Filter> + </None> + <None Include="..\cmaps\japan\H"> + <Filter>CMAPs\japan</Filter> + </None> + <None Include="..\cmaps\japan\Hankaku"> + <Filter>CMAPs\japan</Filter> + </None> + <None Include="..\cmaps\japan\Hiragana"> + <Filter>CMAPs\japan</Filter> + </None> + <None Include="..\cmaps\japan\Hojo-EUC-H"> + <Filter>CMAPs\japan</Filter> + </None> + <None Include="..\cmaps\japan\Hojo-EUC-V"> + <Filter>CMAPs\japan</Filter> + </None> + <None Include="..\cmaps\japan\Hojo-H"> + <Filter>CMAPs\japan</Filter> + </None> + <None Include="..\cmaps\japan\Hojo-V"> + <Filter>CMAPs\japan</Filter> + </None> + <None Include="..\cmaps\japan\Katakana"> + <Filter>CMAPs\japan</Filter> + </None> + <None Include="..\cmaps\japan\NWP-H"> + <Filter>CMAPs\japan</Filter> + </None> + <None Include="..\cmaps\japan\NWP-V"> + <Filter>CMAPs\japan</Filter> + </None> + <None Include="..\cmaps\japan\RKSJ-H"> + <Filter>CMAPs\japan</Filter> + </None> + <None Include="..\cmaps\japan\RKSJ-V"> + <Filter>CMAPs\japan</Filter> + </None> + <None Include="..\cmaps\japan\Roman"> + <Filter>CMAPs\japan</Filter> + </None> + <None Include="..\cmaps\japan\UniHojo-UCS2-H"> + <Filter>CMAPs\japan</Filter> + </None> + <None Include="..\cmaps\japan\UniHojo-UCS2-V"> + <Filter>CMAPs\japan</Filter> + </None> + <None Include="..\cmaps\japan\UniHojo-UTF16-H"> + <Filter>CMAPs\japan</Filter> + </None> + <None Include="..\cmaps\japan\UniHojo-UTF16-V"> + <Filter>CMAPs\japan</Filter> + </None> + <None Include="..\cmaps\japan\UniJIS-UCS2-H"> + <Filter>CMAPs\japan</Filter> + </None> + <None Include="..\cmaps\japan\UniJIS-UCS2-HW-H"> + <Filter>CMAPs\japan</Filter> + </None> + <None Include="..\cmaps\japan\UniJIS-UCS2-HW-V"> + <Filter>CMAPs\japan</Filter> + </None> + <None Include="..\cmaps\japan\UniJIS-UCS2-V"> + <Filter>CMAPs\japan</Filter> + </None> + <None Include="..\cmaps\japan\UniJIS-UTF16-H"> + <Filter>CMAPs\japan</Filter> + </None> + <None Include="..\cmaps\japan\UniJIS-UTF16-V"> + <Filter>CMAPs\japan</Filter> + </None> + <None Include="..\cmaps\japan\UniJISPro-UCS2-HW-V"> + <Filter>CMAPs\japan</Filter> + </None> + <None Include="..\cmaps\japan\UniJISPro-UCS2-V"> + <Filter>CMAPs\japan</Filter> + </None> + <None Include="..\cmaps\japan\V"> + <Filter>CMAPs\japan</Filter> + </None> + <None Include="..\cmaps\japan\WP-Symbol"> + <Filter>CMAPs\japan</Filter> + </None> + <None Include="..\cmaps\korea\Adobe-Korea1-0"> + <Filter>CMAPs\korea</Filter> + </None> + <None Include="..\cmaps\korea\Adobe-Korea1-1"> + <Filter>CMAPs\korea</Filter> + </None> + <None Include="..\cmaps\korea\Adobe-Korea1-2"> + <Filter>CMAPs\korea</Filter> + </None> + <None Include="..\cmaps\korea\Adobe-Korea1-UCS2"> + <Filter>CMAPs\korea</Filter> + </None> + <None Include="..\cmaps\korea\KSC-EUC-H"> + <Filter>CMAPs\korea</Filter> + </None> + <None Include="..\cmaps\korea\KSC-EUC-V"> + <Filter>CMAPs\korea</Filter> + </None> + <None Include="..\cmaps\korea\KSC-H"> + <Filter>CMAPs\korea</Filter> + </None> + <None Include="..\cmaps\korea\KSC-Johab-H"> + <Filter>CMAPs\korea</Filter> + </None> + <None Include="..\cmaps\korea\KSC-Johab-V"> + <Filter>CMAPs\korea</Filter> + </None> + <None Include="..\cmaps\korea\KSC-V"> + <Filter>CMAPs\korea</Filter> + </None> + <None Include="..\cmaps\korea\KSCms-UHC-H"> + <Filter>CMAPs\korea</Filter> + </None> + <None Include="..\cmaps\korea\KSCms-UHC-HW-H"> + <Filter>CMAPs\korea</Filter> + </None> + <None Include="..\cmaps\korea\KSCms-UHC-HW-V"> + <Filter>CMAPs\korea</Filter> + </None> + <None Include="..\cmaps\korea\KSCms-UHC-V"> + <Filter>CMAPs\korea</Filter> + </None> + <None Include="..\cmaps\korea\KSCpc-EUC-H"> + <Filter>CMAPs\korea</Filter> + </None> + <None Include="..\cmaps\korea\KSCpc-EUC-V"> + <Filter>CMAPs\korea</Filter> + </None> + <None Include="..\cmaps\korea\UniKS-UCS2-H"> + <Filter>CMAPs\korea</Filter> + </None> + <None Include="..\cmaps\korea\UniKS-UCS2-V"> + <Filter>CMAPs\korea</Filter> + </None> + <None Include="..\cmaps\korea\UniKS-UTF16-H"> + <Filter>CMAPs\korea</Filter> + </None> + <None Include="..\cmaps\korea\UniKS-UTF16-V"> + <Filter>CMAPs\korea</Filter> + </None> + <None Include="..\fonts\Dingbats.cff"> + <Filter>Fonts</Filter> + </None> + <None Include="..\fonts\NimbusMonL-Bold.cff"> + <Filter>Fonts</Filter> + </None> + <None Include="..\fonts\NimbusMonL-BoldObli.cff"> + <Filter>Fonts</Filter> + </None> + <None Include="..\fonts\NimbusMonL-Regu.cff"> + <Filter>Fonts</Filter> + </None> + <None Include="..\fonts\NimbusMonL-ReguObli.cff"> + <Filter>Fonts</Filter> + </None> + <None Include="..\fonts\NimbusRomNo9L-Medi.cff"> + <Filter>Fonts</Filter> + </None> + <None Include="..\fonts\NimbusRomNo9L-MediItal.cff"> + <Filter>Fonts</Filter> + </None> + <None Include="..\fonts\NimbusRomNo9L-Regu.cff"> + <Filter>Fonts</Filter> + </None> + <None Include="..\fonts\NimbusRomNo9L-ReguItal.cff"> + <Filter>Fonts</Filter> + </None> + <None Include="..\fonts\NimbusSanL-Bold.cff"> + <Filter>Fonts</Filter> + </None> + <None Include="..\fonts\NimbusSanL-BoldItal.cff"> + <Filter>Fonts</Filter> + </None> + <None Include="..\fonts\NimbusSanL-Regu.cff"> + <Filter>Fonts</Filter> + </None> + <None Include="..\fonts\NimbusSanL-ReguItal.cff"> + <Filter>Fonts</Filter> + </None> + <None Include="..\fonts\StandardSymL.cff"> + <Filter>Fonts</Filter> + </None> + <None Include="..\fonts\droid\NOTICE"> + <Filter>Fonts\droid</Filter> + </None> + </ItemGroup> + <ItemGroup> + <Font Include="..\fonts\droid\DroidSans.ttf"> + <Filter>Fonts\droid</Filter> + </Font> + <Font Include="..\fonts\droid\DroidSansFallback.ttf"> + <Filter>Fonts\droid</Filter> + </Font> + <Font Include="..\fonts\droid\DroidSansMono.ttf"> + <Filter>Fonts\droid</Filter> + </Font> + </ItemGroup> +</Project>
\ No newline at end of file diff --git a/winRT/libmupdf-nov8.vcxproj b/winRT/libmupdf-nov8.vcxproj new file mode 100644 index 00000000..ffbcde2f --- /dev/null +++ b/winRT/libmupdf-nov8.vcxproj @@ -0,0 +1,124 @@ +<?xml version="1.0" encoding="utf-8"?> +<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> + <ItemGroup Label="ProjectConfigurations"> + <ProjectConfiguration Include="Debug|Win32"> + <Configuration>Debug</Configuration> + <Platform>Win32</Platform> + </ProjectConfiguration> + <ProjectConfiguration Include="Memento|Win32"> + <Configuration>Memento</Configuration> + <Platform>Win32</Platform> + </ProjectConfiguration> + <ProjectConfiguration Include="Release|Win32"> + <Configuration>Release</Configuration> + <Platform>Win32</Platform> + </ProjectConfiguration> + </ItemGroup> + <PropertyGroup Label="Globals"> + <ProjectGuid>{EC81A9F3-88A6-4170-B7B4-C41CB789A7F6}</ProjectGuid> + <RootNamespace>mupdf</RootNamespace> + </PropertyGroup> + <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" /> + <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Memento|Win32'" Label="Configuration"> + <ConfigurationType>StaticLibrary</ConfigurationType> + <PlatformToolset>v110</PlatformToolset> + <CharacterSet>MultiByte</CharacterSet> + </PropertyGroup> + <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration"> + <ConfigurationType>StaticLibrary</ConfigurationType> + <PlatformToolset>v110</PlatformToolset> + <CharacterSet>MultiByte</CharacterSet> + <WholeProgramOptimization>true</WholeProgramOptimization> + </PropertyGroup> + <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration"> + <ConfigurationType>StaticLibrary</ConfigurationType> + <PlatformToolset>v110</PlatformToolset> + <CharacterSet>MultiByte</CharacterSet> + </PropertyGroup> + <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" /> + <ImportGroup Label="ExtensionSettings"> + </ImportGroup> + <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Memento|Win32'" Label="PropertySheets"> + <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> + </ImportGroup> + <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="PropertySheets"> + <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> + </ImportGroup> + <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="PropertySheets"> + <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> + </ImportGroup> + <PropertyGroup Label="UserMacros" /> + <PropertyGroup> + <_ProjectFileVersion>11.0.51106.1</_ProjectFileVersion> + </PropertyGroup> + <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'"> + <OutDir>$(Configuration)\</OutDir> + <IntDir>$(Configuration)\$(ProjectName)\</IntDir> + </PropertyGroup> + <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'"> + <OutDir>$(Configuration)\</OutDir> + <IntDir>$(Configuration)\$(ProjectName)\</IntDir> + </PropertyGroup> + <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Memento|Win32'"> + <OutDir>$(Configuration)\</OutDir> + <IntDir>$(Configuration)\$(ProjectName)\</IntDir> + </PropertyGroup> + <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'"> + <PreBuildEvent> + <Message /> + <Command /> + </PreBuildEvent> + <ClCompile> + <Optimization>Disabled</Optimization> + <AdditionalIncludeDirectories>..\scripts;..\fitz;..\pdf;..\thirdparty\jbig2dec;..\thirdparty\jpeg;..\thirdparty\openjpeg\libopenjpeg;..\thirdparty\zlib;..\thirdparty\freetype\include;..\thirdparty\v8-3.9\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> + <PreprocessorDefinitions>DEBUG=1;%(PreprocessorDefinitions)</PreprocessorDefinitions> + <MinimalRebuild>true</MinimalRebuild> + <BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks> + <RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary> + <WarningLevel>Level3</WarningLevel> + <DebugInformationFormat>EditAndContinue</DebugInformationFormat> + </ClCompile> + </ItemDefinitionGroup> + <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'"> + <PreBuildEvent> + <Message>Generate CMap and Font source files</Message> + <Command>generate.bat</Command> + </PreBuildEvent> + <ClCompile> + <Optimization>MaxSpeed</Optimization> + <IntrinsicFunctions>true</IntrinsicFunctions> + <AdditionalIncludeDirectories>..\scripts;..\fitz;..\pdf;..\thirdparty\jbig2dec;..\thirdparty\jpeg;..\thirdparty\openjpeg\libopenjpeg;..\thirdparty\zlib;..\thirdparty\freetype\include;..\thirdparty\v8-3.9\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> + <RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary> + <FunctionLevelLinking>true</FunctionLevelLinking> + <WarningLevel>Level3</WarningLevel> + <DebugInformationFormat>ProgramDatabase</DebugInformationFormat> + </ClCompile> + </ItemDefinitionGroup> + <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Memento|Win32'"> + <PreBuildEvent> + <Command /> + </PreBuildEvent> + <ClCompile> + <Optimization>Disabled</Optimization> + <AdditionalIncludeDirectories>..\scripts;..\fitz;..\pdf;..\thirdparty\jbig2dec;..\thirdparty\jpeg;..\thirdparty\openjpeg\libopenjpeg;..\thirdparty\zlib;..\thirdparty\freetype\include;..\thirdparty\v8-3.9\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> + <PreprocessorDefinitions>MEMENTO=1;DEBUG=1;%(PreprocessorDefinitions)</PreprocessorDefinitions> + <MinimalRebuild>true</MinimalRebuild> + <BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks> + <RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary> + <WarningLevel>Level3</WarningLevel> + <DebugInformationFormat>EditAndContinue</DebugInformationFormat> + </ClCompile> + </ItemDefinitionGroup> + <ItemGroup> + <ClCompile Include="..\pdf\pdf_js_none.c" /> + </ItemGroup> + <ItemGroup> + <ProjectReference Include="libmupdf.vcxproj"> + <Project>{5f615f91-dff8-4f05-bf48-6222b7d86519}</Project> + <ReferenceOutputAssembly>false</ReferenceOutputAssembly> + </ProjectReference> + </ItemGroup> + <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" /> + <ImportGroup Label="ExtensionTargets"> + </ImportGroup> +</Project>
\ No newline at end of file diff --git a/winRT/libmupdf-nov8.vcxproj.filters b/winRT/libmupdf-nov8.vcxproj.filters new file mode 100644 index 00000000..3efdcbb5 --- /dev/null +++ b/winRT/libmupdf-nov8.vcxproj.filters @@ -0,0 +1,13 @@ +<?xml version="1.0" encoding="utf-8"?> +<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> + <ItemGroup> + <Filter Include="pdf"> + <UniqueIdentifier>{6f183396-5a5d-449c-ad81-5f2b5d38d467}</UniqueIdentifier> + </Filter> + </ItemGroup> + <ItemGroup> + <ClCompile Include="..\pdf\pdf_js_none.c"> + <Filter>pdf</Filter> + </ClCompile> + </ItemGroup> +</Project>
\ No newline at end of file diff --git a/winRT/libmupdf-v8.vcxproj b/winRT/libmupdf-v8.vcxproj new file mode 100644 index 00000000..2a90347f --- /dev/null +++ b/winRT/libmupdf-v8.vcxproj @@ -0,0 +1,133 @@ +<?xml version="1.0" encoding="utf-8"?> +<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> + <ItemGroup Label="ProjectConfigurations"> + <ProjectConfiguration Include="Debug|Win32"> + <Configuration>Debug</Configuration> + <Platform>Win32</Platform> + </ProjectConfiguration> + <ProjectConfiguration Include="Memento|Win32"> + <Configuration>Memento</Configuration> + <Platform>Win32</Platform> + </ProjectConfiguration> + <ProjectConfiguration Include="Release|Win32"> + <Configuration>Release</Configuration> + <Platform>Win32</Platform> + </ProjectConfiguration> + </ItemGroup> + <PropertyGroup Label="Globals"> + <ProjectGuid>{2E5DAFDB-A060-4011-B760-32F6A3A4BC9D}</ProjectGuid> + <RootNamespace>mupdf</RootNamespace> + </PropertyGroup> + <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" /> + <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Memento|Win32'" Label="Configuration"> + <ConfigurationType>StaticLibrary</ConfigurationType> + <PlatformToolset>v110</PlatformToolset> + <CharacterSet>MultiByte</CharacterSet> + </PropertyGroup> + <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration"> + <ConfigurationType>StaticLibrary</ConfigurationType> + <PlatformToolset>v110</PlatformToolset> + <CharacterSet>MultiByte</CharacterSet> + <WholeProgramOptimization>true</WholeProgramOptimization> + </PropertyGroup> + <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration"> + <ConfigurationType>StaticLibrary</ConfigurationType> + <PlatformToolset>v110</PlatformToolset> + <CharacterSet>MultiByte</CharacterSet> + </PropertyGroup> + <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" /> + <ImportGroup Label="ExtensionSettings"> + </ImportGroup> + <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Memento|Win32'" Label="PropertySheets"> + <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> + </ImportGroup> + <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="PropertySheets"> + <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> + </ImportGroup> + <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="PropertySheets"> + <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> + </ImportGroup> + <PropertyGroup Label="UserMacros" /> + <PropertyGroup> + <_ProjectFileVersion>11.0.51106.1</_ProjectFileVersion> + </PropertyGroup> + <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'"> + <OutDir>$(Configuration)\</OutDir> + <IntDir>$(Configuration)\$(ProjectName)\</IntDir> + </PropertyGroup> + <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'"> + <OutDir>$(Configuration)\</OutDir> + <IntDir>$(Configuration)\$(ProjectName)\</IntDir> + </PropertyGroup> + <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Memento|Win32'"> + <OutDir>$(Configuration)\</OutDir> + <IntDir>$(Configuration)\$(ProjectName)\</IntDir> + </PropertyGroup> + <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'"> + <PreBuildEvent> + <Message /> + <Command /> + </PreBuildEvent> + <ClCompile> + <Optimization>Disabled</Optimization> + <AdditionalIncludeDirectories>..\scripts;..\fitz;..\pdf;..\thirdparty\jbig2dec;..\thirdparty\jpeg;..\thirdparty\openjpeg\libopenjpeg;..\thirdparty\zlib;..\thirdparty\freetype\include;..\thirdparty\v8-3.9\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> + <PreprocessorDefinitions>DEBUG=1;%(PreprocessorDefinitions)</PreprocessorDefinitions> + <MinimalRebuild>true</MinimalRebuild> + <BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks> + <RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary> + <WarningLevel>Level3</WarningLevel> + <DebugInformationFormat>EditAndContinue</DebugInformationFormat> + </ClCompile> + </ItemDefinitionGroup> + <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'"> + <PreBuildEvent> + <Message>Generate CMap and Font source files</Message> + <Command>generate.bat</Command> + </PreBuildEvent> + <ClCompile> + <Optimization>MaxSpeed</Optimization> + <IntrinsicFunctions>true</IntrinsicFunctions> + <AdditionalIncludeDirectories>..\scripts;..\fitz;..\pdf;..\thirdparty\jbig2dec;..\thirdparty\jpeg;..\thirdparty\openjpeg\libopenjpeg;..\thirdparty\zlib;..\thirdparty\freetype\include;..\thirdparty\v8-3.9\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> + <RuntimeLibrary>MultiThreaded</RuntimeLibrary> + <FunctionLevelLinking>true</FunctionLevelLinking> + <WarningLevel>Level3</WarningLevel> + <DebugInformationFormat>ProgramDatabase</DebugInformationFormat> + </ClCompile> + </ItemDefinitionGroup> + <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Memento|Win32'"> + <PreBuildEvent> + <Command /> + </PreBuildEvent> + <ClCompile> + <Optimization>Disabled</Optimization> + <AdditionalIncludeDirectories>..\scripts;..\fitz;..\pdf;..\thirdparty\jbig2dec;..\thirdparty\jpeg;..\thirdparty\openjpeg\libopenjpeg;..\thirdparty\zlib;..\thirdparty\freetype\include;..\thirdparty\v8-3.9\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> + <PreprocessorDefinitions>MEMENTO=1;DEBUG=1;%(PreprocessorDefinitions)</PreprocessorDefinitions> + <MinimalRebuild>true</MinimalRebuild> + <BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks> + <RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary> + <WarningLevel>Level3</WarningLevel> + <DebugInformationFormat>EditAndContinue</DebugInformationFormat> + </ClCompile> + </ItemDefinitionGroup> + <ItemGroup> + <ClCompile Include="..\pdf\pdf_js.c" /> + <ClCompile Include="..\pdf\pdf_jsimp_cpp.c" /> + <ClCompile Include="..\pdf\pdf_jsimp_v8.cpp" /> + </ItemGroup> + <ItemGroup> + <ClInclude Include="..\pdf\pdf_jsimp_cpp.h" /> + </ItemGroup> + <ItemGroup> + <ProjectReference Include="generated.vcxproj"> + <Project>{a5053aa7-02e5-4903-b596-04f17aeb1526}</Project> + <ReferenceOutputAssembly>false</ReferenceOutputAssembly> + </ProjectReference> + <ProjectReference Include="libmupdf.vcxproj"> + <Project>{5f615f91-dff8-4f05-bf48-6222b7d86519}</Project> + <ReferenceOutputAssembly>false</ReferenceOutputAssembly> + </ProjectReference> + </ItemGroup> + <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" /> + <ImportGroup Label="ExtensionTargets"> + </ImportGroup> +</Project>
\ No newline at end of file diff --git a/winRT/libmupdf-v8.vcxproj.filters b/winRT/libmupdf-v8.vcxproj.filters new file mode 100644 index 00000000..3360cd3c --- /dev/null +++ b/winRT/libmupdf-v8.vcxproj.filters @@ -0,0 +1,24 @@ +<?xml version="1.0" encoding="utf-8"?> +<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> + <ItemGroup> + <Filter Include="pdf"> + <UniqueIdentifier>{29553168-4cc5-4fc1-9bcc-61b9c6d39b23}</UniqueIdentifier> + </Filter> + </ItemGroup> + <ItemGroup> + <ClCompile Include="..\pdf\pdf_js.c"> + <Filter>pdf</Filter> + </ClCompile> + <ClCompile Include="..\pdf\pdf_jsimp_cpp.c"> + <Filter>pdf</Filter> + </ClCompile> + <ClCompile Include="..\pdf\pdf_jsimp_v8.cpp"> + <Filter>pdf</Filter> + </ClCompile> + </ItemGroup> + <ItemGroup> + <ClInclude Include="..\pdf\pdf_jsimp_cpp.h"> + <Filter>pdf</Filter> + </ClInclude> + </ItemGroup> +</Project>
\ No newline at end of file diff --git a/winRT/libmupdf.vcxproj b/winRT/libmupdf.vcxproj new file mode 100644 index 00000000..5423d29e --- /dev/null +++ b/winRT/libmupdf.vcxproj @@ -0,0 +1,242 @@ +<?xml version="1.0" encoding="utf-8"?> +<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> + <ItemGroup Label="ProjectConfigurations"> + <ProjectConfiguration Include="Debug|Win32"> + <Configuration>Debug</Configuration> + <Platform>Win32</Platform> + </ProjectConfiguration> + <ProjectConfiguration Include="Memento|Win32"> + <Configuration>Memento</Configuration> + <Platform>Win32</Platform> + </ProjectConfiguration> + <ProjectConfiguration Include="Release|Win32"> + <Configuration>Release</Configuration> + <Platform>Win32</Platform> + </ProjectConfiguration> + </ItemGroup> + <PropertyGroup Label="Globals"> + <ProjectGuid>{5F615F91-DFF8-4F05-BF48-6222B7D86519}</ProjectGuid> + <RootNamespace>mupdf</RootNamespace> + </PropertyGroup> + <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" /> + <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Memento|Win32'" Label="Configuration"> + <ConfigurationType>StaticLibrary</ConfigurationType> + <PlatformToolset>v110</PlatformToolset> + <CharacterSet>MultiByte</CharacterSet> + </PropertyGroup> + <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration"> + <ConfigurationType>StaticLibrary</ConfigurationType> + <PlatformToolset>v110</PlatformToolset> + <CharacterSet>MultiByte</CharacterSet> + <WholeProgramOptimization>true</WholeProgramOptimization> + </PropertyGroup> + <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration"> + <ConfigurationType>StaticLibrary</ConfigurationType> + <PlatformToolset>v110</PlatformToolset> + <CharacterSet>MultiByte</CharacterSet> + </PropertyGroup> + <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" /> + <ImportGroup Label="ExtensionSettings"> + </ImportGroup> + <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Memento|Win32'" Label="PropertySheets"> + <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> + </ImportGroup> + <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="PropertySheets"> + <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> + </ImportGroup> + <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="PropertySheets"> + <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> + </ImportGroup> + <PropertyGroup Label="UserMacros" /> + <PropertyGroup> + <_ProjectFileVersion>11.0.51106.1</_ProjectFileVersion> + </PropertyGroup> + <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'"> + <OutDir>$(Configuration)\</OutDir> + <IntDir>$(Configuration)\$(ProjectName)\</IntDir> + </PropertyGroup> + <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'"> + <OutDir>$(Configuration)\</OutDir> + <IntDir>$(Configuration)\$(ProjectName)\</IntDir> + </PropertyGroup> + <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Memento|Win32'"> + <OutDir>$(Configuration)\</OutDir> + <IntDir>$(Configuration)\$(ProjectName)\</IntDir> + </PropertyGroup> + <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'"> + <PreBuildEvent> + <Message /> + <Command /> + </PreBuildEvent> + <ClCompile> + <Optimization>Disabled</Optimization> + <AdditionalIncludeDirectories>..\scripts;..\fitz;..\pdf;..\thirdparty\jbig2dec;..\thirdparty\jpeg;..\thirdparty\openjpeg\libopenjpeg;..\thirdparty\zlib;..\thirdparty\freetype\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> + <PreprocessorDefinitions>DEBUG=1;%(PreprocessorDefinitions)</PreprocessorDefinitions> + <MinimalRebuild>true</MinimalRebuild> + <BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks> + <RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary> + <WarningLevel>Level3</WarningLevel> + <DebugInformationFormat>EditAndContinue</DebugInformationFormat> + </ClCompile> + </ItemDefinitionGroup> + <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'"> + <PreBuildEvent> + <Message>Generate CMap and Font source files</Message> + <Command>generate.bat</Command> + </PreBuildEvent> + <ClCompile> + <Optimization>MaxSpeed</Optimization> + <IntrinsicFunctions>true</IntrinsicFunctions> + <AdditionalIncludeDirectories>..\scripts;..\fitz;..\pdf;..\thirdparty\jbig2dec;..\thirdparty\jpeg;..\thirdparty\openjpeg\libopenjpeg;..\thirdparty\zlib;..\thirdparty\freetype\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> + <RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary> + <FunctionLevelLinking>true</FunctionLevelLinking> + <WarningLevel>Level3</WarningLevel> + <DebugInformationFormat>ProgramDatabase</DebugInformationFormat> + </ClCompile> + </ItemDefinitionGroup> + <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Memento|Win32'"> + <PreBuildEvent> + <Command /> + </PreBuildEvent> + <ClCompile> + <Optimization>Disabled</Optimization> + <AdditionalIncludeDirectories>..\scripts;..\fitz;..\pdf;..\thirdparty\jbig2dec;..\thirdparty\jpeg;..\thirdparty\openjpeg\libopenjpeg;..\thirdparty\zlib;..\thirdparty\freetype\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> + <PreprocessorDefinitions>MEMENTO=1;DEBUG=1;%(PreprocessorDefinitions)</PreprocessorDefinitions> + <MinimalRebuild>true</MinimalRebuild> + <BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks> + <RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary> + <WarningLevel>Level3</WarningLevel> + <DebugInformationFormat>EditAndContinue</DebugInformationFormat> + </ClCompile> + </ItemDefinitionGroup> + <ItemGroup> + <ClInclude Include="..\pdf\data_encodings.h" /> + <ClInclude Include="..\pdf\data_glyphlist.h" /> + <ClInclude Include="..\pdf\mupdf-internal.h" /> + <ClInclude Include="..\pdf\mupdf.h" /> + <ClInclude Include="..\fitz\fitz-internal.h" /> + <ClInclude Include="..\fitz\fitz.h" /> + <ClInclude Include="..\fitz\memento.h" /> + <ClInclude Include="..\xps\muxps.h" /> + <ClInclude Include="..\cbz\mucbz.h" /> + </ItemGroup> + <ItemGroup> + <ClCompile Include="..\fitz\stm_output.c" /> + <ClCompile Include="..\pdf\pdf_annot.c" /> + <ClCompile Include="..\pdf\pdf_cmap.c" /> + <ClCompile Include="..\pdf\pdf_cmap_load.c" /> + <ClCompile Include="..\pdf\pdf_cmap_parse.c" /> + <ClCompile Include="..\pdf\pdf_cmap_table.c" /> + <ClCompile Include="..\pdf\pdf_colorspace.c" /> + <ClCompile Include="..\pdf\pdf_crypt.c" /> + <ClCompile Include="..\pdf\pdf_device.c" /> + <ClCompile Include="..\pdf\pdf_encoding.c" /> + <ClCompile Include="..\pdf\pdf_event.c" /> + <ClCompile Include="..\pdf\pdf_font.c" /> + <ClCompile Include="..\pdf\pdf_fontfile.c" /> + <ClCompile Include="..\pdf\pdf_form.c" /> + <ClCompile Include="..\pdf\pdf_function.c" /> + <ClCompile Include="..\pdf\pdf_image.c" /> + <ClCompile Include="..\pdf\pdf_interpret.c" /> + <ClCompile Include="..\pdf\pdf_lex.c" /> + <ClCompile Include="..\pdf\pdf_metrics.c" /> + <ClCompile Include="..\pdf\pdf_nametree.c" /> + <ClCompile Include="..\pdf\pdf_object.c" /> + <ClCompile Include="..\pdf\pdf_outline.c" /> + <ClCompile Include="..\pdf\pdf_page.c" /> + <ClCompile Include="..\pdf\pdf_parse.c" /> + <ClCompile Include="..\pdf\pdf_pattern.c" /> + <ClCompile Include="..\pdf\pdf_repair.c" /> + <ClCompile Include="..\pdf\pdf_shade.c" /> + <ClCompile Include="..\pdf\pdf_store.c" /> + <ClCompile Include="..\pdf\pdf_stream.c" /> + <ClCompile Include="..\pdf\pdf_type3.c" /> + <ClCompile Include="..\pdf\pdf_unicode.c" /> + <ClCompile Include="..\pdf\pdf_write.c" /> + <ClCompile Include="..\pdf\pdf_xobject.c" /> + <ClCompile Include="..\pdf\pdf_xref.c" /> + <ClCompile Include="..\pdf\pdf_xref_aux.c" /> + <ClCompile Include="..\fitz\base_context.c" /> + <ClCompile Include="..\fitz\base_error.c" /> + <ClCompile Include="..\fitz\base_geometry.c" /> + <ClCompile Include="..\fitz\base_getopt.c" /> + <ClCompile Include="..\fitz\base_hash.c" /> + <ClCompile Include="..\fitz\base_memory.c" /> + <ClCompile Include="..\fitz\base_string.c" /> + <ClCompile Include="..\fitz\base_time.c" /> + <ClCompile Include="..\fitz\base_trans.c" /> + <ClCompile Include="..\fitz\base_xml.c" /> + <ClCompile Include="..\fitz\crypt_aes.c" /> + <ClCompile Include="..\fitz\crypt_arc4.c" /> + <ClCompile Include="..\fitz\crypt_md5.c" /> + <ClCompile Include="..\fitz\crypt_sha2.c" /> + <ClCompile Include="..\fitz\dev_bbox.c" /> + <ClCompile Include="..\fitz\dev_list.c" /> + <ClCompile Include="..\fitz\dev_null.c" /> + <ClCompile Include="..\fitz\dev_text.c" /> + <ClCompile Include="..\fitz\dev_trace.c" /> + <ClCompile Include="..\fitz\doc_document.c" /> + <ClCompile Include="..\fitz\doc_interactive.c" /> + <ClCompile Include="..\fitz\doc_link.c" /> + <ClCompile Include="..\fitz\doc_outline.c" /> + <ClCompile Include="..\fitz\doc_search.c" /> + <ClCompile Include="..\fitz\filt_basic.c" /> + <ClCompile Include="..\fitz\filt_dctd.c" /> + <ClCompile Include="..\fitz\filt_faxd.c" /> + <ClCompile Include="..\fitz\filt_flate.c" /> + <ClCompile Include="..\fitz\filt_jbig2d.c" /> + <ClCompile Include="..\fitz\filt_lzwd.c" /> + <ClCompile Include="..\fitz\filt_predict.c" /> + <ClCompile Include="..\fitz\image_jpeg.c" /> + <ClCompile Include="..\fitz\image_jpx.c" /> + <ClCompile Include="..\fitz\image_md5.c" /> + <ClCompile Include="..\fitz\image_png.c" /> + <ClCompile Include="..\fitz\image_save.c" /> + <ClCompile Include="..\fitz\image_tiff.c" /> + <ClCompile Include="..\fitz\memento.c" /> + <ClCompile Include="..\fitz\res_bitmap.c" /> + <ClCompile Include="..\fitz\res_colorspace.c" /> + <ClCompile Include="..\fitz\res_font.c" /> + <ClCompile Include="..\fitz\res_halftone.c" /> + <ClCompile Include="..\fitz\res_path.c" /> + <ClCompile Include="..\fitz\res_pixmap.c" /> + <ClCompile Include="..\fitz\res_shade.c" /> + <ClCompile Include="..\fitz\res_store.c" /> + <ClCompile Include="..\fitz\res_text.c" /> + <ClCompile Include="..\fitz\stm_buffer.c" /> + <ClCompile Include="..\fitz\stm_comp_buf.c" /> + <ClCompile Include="..\fitz\stm_open.c" /> + <ClCompile Include="..\fitz\stm_read.c" /> + <ClCompile Include="..\draw\draw_affine.c" /> + <ClCompile Include="..\draw\draw_blend.c" /> + <ClCompile Include="..\draw\draw_device.c" /> + <ClCompile Include="..\draw\draw_edge.c" /> + <ClCompile Include="..\draw\draw_glyph.c" /> + <ClCompile Include="..\draw\draw_mesh.c" /> + <ClCompile Include="..\draw\draw_paint.c" /> + <ClCompile Include="..\draw\draw_path.c" /> + <ClCompile Include="..\draw\draw_simple_scale.c" /> + <ClCompile Include="..\draw\draw_unpack.c" /> + <ClCompile Include="..\xps\xps_common.c" /> + <ClCompile Include="..\xps\xps_doc.c" /> + <ClCompile Include="..\xps\xps_glyphs.c" /> + <ClCompile Include="..\xps\xps_gradient.c" /> + <ClCompile Include="..\xps\xps_image.c" /> + <ClCompile Include="..\xps\xps_outline.c" /> + <ClCompile Include="..\xps\xps_path.c" /> + <ClCompile Include="..\xps\xps_resource.c" /> + <ClCompile Include="..\xps\xps_tile.c" /> + <ClCompile Include="..\xps\xps_util.c" /> + <ClCompile Include="..\xps\xps_zip.c" /> + <ClCompile Include="..\cbz\mucbz.c" /> + </ItemGroup> + <ItemGroup> + <ProjectReference Include="generated.vcxproj"> + <Project>{a5053aa7-02e5-4903-b596-04f17aeb1526}</Project> + <ReferenceOutputAssembly>false</ReferenceOutputAssembly> + </ProjectReference> + </ItemGroup> + <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" /> + <ImportGroup Label="ExtensionTargets"> + </ImportGroup> +</Project>
\ No newline at end of file diff --git a/winRT/libmupdf.vcxproj.filters b/winRT/libmupdf.vcxproj.filters new file mode 100644 index 00000000..08bf8a98 --- /dev/null +++ b/winRT/libmupdf.vcxproj.filters @@ -0,0 +1,375 @@ +<?xml version="1.0" encoding="utf-8"?> +<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> + <ItemGroup> + <Filter Include="pdf"> + <UniqueIdentifier>{694f89e0-c198-45a6-aa2f-9d1022d9909f}</UniqueIdentifier> + </Filter> + <Filter Include="fitz"> + <UniqueIdentifier>{8ad9e7fa-d262-45c6-ab54-8a1418175d0f}</UniqueIdentifier> + </Filter> + <Filter Include="draw"> + <UniqueIdentifier>{3a490dbf-9c91-4c17-859f-4e2044d37e00}</UniqueIdentifier> + </Filter> + <Filter Include="xps"> + <UniqueIdentifier>{8a540721-c712-4e06-9d1c-30d3b8afe33e}</UniqueIdentifier> + </Filter> + <Filter Include="cbz"> + <UniqueIdentifier>{73bd1864-c786-4435-8ee2-8686a8d4e4fd}</UniqueIdentifier> + </Filter> + </ItemGroup> + <ItemGroup> + <ClInclude Include="..\pdf\data_encodings.h"> + <Filter>pdf</Filter> + </ClInclude> + <ClInclude Include="..\pdf\data_glyphlist.h"> + <Filter>pdf</Filter> + </ClInclude> + <ClInclude Include="..\pdf\mupdf-internal.h"> + <Filter>pdf</Filter> + </ClInclude> + <ClInclude Include="..\pdf\mupdf.h"> + <Filter>pdf</Filter> + </ClInclude> + <ClInclude Include="..\fitz\fitz-internal.h"> + <Filter>fitz</Filter> + </ClInclude> + <ClInclude Include="..\fitz\fitz.h"> + <Filter>fitz</Filter> + </ClInclude> + <ClInclude Include="..\fitz\memento.h"> + <Filter>fitz</Filter> + </ClInclude> + <ClInclude Include="..\xps\muxps.h"> + <Filter>xps</Filter> + </ClInclude> + <ClInclude Include="..\cbz\mucbz.h"> + <Filter>cbz</Filter> + </ClInclude> + </ItemGroup> + <ItemGroup> + <ClCompile Include="..\pdf\pdf_annot.c"> + <Filter>pdf</Filter> + </ClCompile> + <ClCompile Include="..\pdf\pdf_cmap.c"> + <Filter>pdf</Filter> + </ClCompile> + <ClCompile Include="..\pdf\pdf_cmap_load.c"> + <Filter>pdf</Filter> + </ClCompile> + <ClCompile Include="..\pdf\pdf_cmap_parse.c"> + <Filter>pdf</Filter> + </ClCompile> + <ClCompile Include="..\pdf\pdf_cmap_table.c"> + <Filter>pdf</Filter> + </ClCompile> + <ClCompile Include="..\pdf\pdf_colorspace.c"> + <Filter>pdf</Filter> + </ClCompile> + <ClCompile Include="..\pdf\pdf_crypt.c"> + <Filter>pdf</Filter> + </ClCompile> + <ClCompile Include="..\pdf\pdf_encoding.c"> + <Filter>pdf</Filter> + </ClCompile> + <ClCompile Include="..\pdf\pdf_event.c"> + <Filter>pdf</Filter> + </ClCompile> + <ClCompile Include="..\pdf\pdf_font.c"> + <Filter>pdf</Filter> + </ClCompile> + <ClCompile Include="..\pdf\pdf_fontfile.c"> + <Filter>pdf</Filter> + </ClCompile> + <ClCompile Include="..\pdf\pdf_form.c"> + <Filter>pdf</Filter> + </ClCompile> + <ClCompile Include="..\pdf\pdf_function.c"> + <Filter>pdf</Filter> + </ClCompile> + <ClCompile Include="..\pdf\pdf_image.c"> + <Filter>pdf</Filter> + </ClCompile> + <ClCompile Include="..\pdf\pdf_interpret.c"> + <Filter>pdf</Filter> + </ClCompile> + <ClCompile Include="..\pdf\pdf_lex.c"> + <Filter>pdf</Filter> + </ClCompile> + <ClCompile Include="..\pdf\pdf_metrics.c"> + <Filter>pdf</Filter> + </ClCompile> + <ClCompile Include="..\pdf\pdf_nametree.c"> + <Filter>pdf</Filter> + </ClCompile> + <ClCompile Include="..\pdf\pdf_object.c"> + <Filter>pdf</Filter> + </ClCompile> + <ClCompile Include="..\pdf\pdf_outline.c"> + <Filter>pdf</Filter> + </ClCompile> + <ClCompile Include="..\pdf\pdf_page.c"> + <Filter>pdf</Filter> + </ClCompile> + <ClCompile Include="..\pdf\pdf_parse.c"> + <Filter>pdf</Filter> + </ClCompile> + <ClCompile Include="..\pdf\pdf_pattern.c"> + <Filter>pdf</Filter> + </ClCompile> + <ClCompile Include="..\pdf\pdf_repair.c"> + <Filter>pdf</Filter> + </ClCompile> + <ClCompile Include="..\pdf\pdf_shade.c"> + <Filter>pdf</Filter> + </ClCompile> + <ClCompile Include="..\pdf\pdf_store.c"> + <Filter>pdf</Filter> + </ClCompile> + <ClCompile Include="..\pdf\pdf_stream.c"> + <Filter>pdf</Filter> + </ClCompile> + <ClCompile Include="..\pdf\pdf_type3.c"> + <Filter>pdf</Filter> + </ClCompile> + <ClCompile Include="..\pdf\pdf_unicode.c"> + <Filter>pdf</Filter> + </ClCompile> + <ClCompile Include="..\pdf\pdf_write.c"> + <Filter>pdf</Filter> + </ClCompile> + <ClCompile Include="..\pdf\pdf_xobject.c"> + <Filter>pdf</Filter> + </ClCompile> + <ClCompile Include="..\pdf\pdf_xref.c"> + <Filter>pdf</Filter> + </ClCompile> + <ClCompile Include="..\pdf\pdf_xref_aux.c"> + <Filter>pdf</Filter> + </ClCompile> + <ClCompile Include="..\fitz\base_context.c"> + <Filter>fitz</Filter> + </ClCompile> + <ClCompile Include="..\fitz\base_error.c"> + <Filter>fitz</Filter> + </ClCompile> + <ClCompile Include="..\fitz\base_geometry.c"> + <Filter>fitz</Filter> + </ClCompile> + <ClCompile Include="..\fitz\base_getopt.c"> + <Filter>fitz</Filter> + </ClCompile> + <ClCompile Include="..\fitz\base_hash.c"> + <Filter>fitz</Filter> + </ClCompile> + <ClCompile Include="..\fitz\base_memory.c"> + <Filter>fitz</Filter> + </ClCompile> + <ClCompile Include="..\fitz\base_string.c"> + <Filter>fitz</Filter> + </ClCompile> + <ClCompile Include="..\fitz\base_time.c"> + <Filter>fitz</Filter> + </ClCompile> + <ClCompile Include="..\fitz\base_trans.c"> + <Filter>fitz</Filter> + </ClCompile> + <ClCompile Include="..\fitz\base_xml.c"> + <Filter>fitz</Filter> + </ClCompile> + <ClCompile Include="..\fitz\crypt_aes.c"> + <Filter>fitz</Filter> + </ClCompile> + <ClCompile Include="..\fitz\crypt_arc4.c"> + <Filter>fitz</Filter> + </ClCompile> + <ClCompile Include="..\fitz\crypt_md5.c"> + <Filter>fitz</Filter> + </ClCompile> + <ClCompile Include="..\fitz\crypt_sha2.c"> + <Filter>fitz</Filter> + </ClCompile> + <ClCompile Include="..\fitz\dev_bbox.c"> + <Filter>fitz</Filter> + </ClCompile> + <ClCompile Include="..\fitz\dev_list.c"> + <Filter>fitz</Filter> + </ClCompile> + <ClCompile Include="..\fitz\dev_null.c"> + <Filter>fitz</Filter> + </ClCompile> + <ClCompile Include="..\fitz\dev_text.c"> + <Filter>fitz</Filter> + </ClCompile> + <ClCompile Include="..\fitz\dev_trace.c"> + <Filter>fitz</Filter> + </ClCompile> + <ClCompile Include="..\fitz\doc_document.c"> + <Filter>fitz</Filter> + </ClCompile> + <ClCompile Include="..\fitz\doc_interactive.c"> + <Filter>fitz</Filter> + </ClCompile> + <ClCompile Include="..\fitz\doc_link.c"> + <Filter>fitz</Filter> + </ClCompile> + <ClCompile Include="..\fitz\doc_outline.c"> + <Filter>fitz</Filter> + </ClCompile> + <ClCompile Include="..\fitz\doc_search.c"> + <Filter>fitz</Filter> + </ClCompile> + <ClCompile Include="..\fitz\filt_basic.c"> + <Filter>fitz</Filter> + </ClCompile> + <ClCompile Include="..\fitz\filt_dctd.c"> + <Filter>fitz</Filter> + </ClCompile> + <ClCompile Include="..\fitz\filt_faxd.c"> + <Filter>fitz</Filter> + </ClCompile> + <ClCompile Include="..\fitz\filt_flate.c"> + <Filter>fitz</Filter> + </ClCompile> + <ClCompile Include="..\fitz\filt_jbig2d.c"> + <Filter>fitz</Filter> + </ClCompile> + <ClCompile Include="..\fitz\filt_lzwd.c"> + <Filter>fitz</Filter> + </ClCompile> + <ClCompile Include="..\fitz\filt_predict.c"> + <Filter>fitz</Filter> + </ClCompile> + <ClCompile Include="..\fitz\image_jpeg.c"> + <Filter>fitz</Filter> + </ClCompile> + <ClCompile Include="..\fitz\image_jpx.c"> + <Filter>fitz</Filter> + </ClCompile> + <ClCompile Include="..\fitz\image_md5.c"> + <Filter>fitz</Filter> + </ClCompile> + <ClCompile Include="..\fitz\image_png.c"> + <Filter>fitz</Filter> + </ClCompile> + <ClCompile Include="..\fitz\image_save.c"> + <Filter>fitz</Filter> + </ClCompile> + <ClCompile Include="..\fitz\image_tiff.c"> + <Filter>fitz</Filter> + </ClCompile> + <ClCompile Include="..\fitz\memento.c"> + <Filter>fitz</Filter> + </ClCompile> + <ClCompile Include="..\fitz\res_bitmap.c"> + <Filter>fitz</Filter> + </ClCompile> + <ClCompile Include="..\fitz\res_colorspace.c"> + <Filter>fitz</Filter> + </ClCompile> + <ClCompile Include="..\fitz\res_font.c"> + <Filter>fitz</Filter> + </ClCompile> + <ClCompile Include="..\fitz\res_halftone.c"> + <Filter>fitz</Filter> + </ClCompile> + <ClCompile Include="..\fitz\res_path.c"> + <Filter>fitz</Filter> + </ClCompile> + <ClCompile Include="..\fitz\res_pixmap.c"> + <Filter>fitz</Filter> + </ClCompile> + <ClCompile Include="..\fitz\res_shade.c"> + <Filter>fitz</Filter> + </ClCompile> + <ClCompile Include="..\fitz\res_store.c"> + <Filter>fitz</Filter> + </ClCompile> + <ClCompile Include="..\fitz\res_text.c"> + <Filter>fitz</Filter> + </ClCompile> + <ClCompile Include="..\fitz\stm_buffer.c"> + <Filter>fitz</Filter> + </ClCompile> + <ClCompile Include="..\fitz\stm_comp_buf.c"> + <Filter>fitz</Filter> + </ClCompile> + <ClCompile Include="..\fitz\stm_open.c"> + <Filter>fitz</Filter> + </ClCompile> + <ClCompile Include="..\fitz\stm_read.c"> + <Filter>fitz</Filter> + </ClCompile> + <ClCompile Include="..\draw\draw_affine.c"> + <Filter>draw</Filter> + </ClCompile> + <ClCompile Include="..\draw\draw_blend.c"> + <Filter>draw</Filter> + </ClCompile> + <ClCompile Include="..\draw\draw_device.c"> + <Filter>draw</Filter> + </ClCompile> + <ClCompile Include="..\draw\draw_edge.c"> + <Filter>draw</Filter> + </ClCompile> + <ClCompile Include="..\draw\draw_glyph.c"> + <Filter>draw</Filter> + </ClCompile> + <ClCompile Include="..\draw\draw_mesh.c"> + <Filter>draw</Filter> + </ClCompile> + <ClCompile Include="..\draw\draw_paint.c"> + <Filter>draw</Filter> + </ClCompile> + <ClCompile Include="..\draw\draw_path.c"> + <Filter>draw</Filter> + </ClCompile> + <ClCompile Include="..\draw\draw_simple_scale.c"> + <Filter>draw</Filter> + </ClCompile> + <ClCompile Include="..\draw\draw_unpack.c"> + <Filter>draw</Filter> + </ClCompile> + <ClCompile Include="..\xps\xps_common.c"> + <Filter>xps</Filter> + </ClCompile> + <ClCompile Include="..\xps\xps_doc.c"> + <Filter>xps</Filter> + </ClCompile> + <ClCompile Include="..\xps\xps_glyphs.c"> + <Filter>xps</Filter> + </ClCompile> + <ClCompile Include="..\xps\xps_gradient.c"> + <Filter>xps</Filter> + </ClCompile> + <ClCompile Include="..\xps\xps_image.c"> + <Filter>xps</Filter> + </ClCompile> + <ClCompile Include="..\xps\xps_outline.c"> + <Filter>xps</Filter> + </ClCompile> + <ClCompile Include="..\xps\xps_path.c"> + <Filter>xps</Filter> + </ClCompile> + <ClCompile Include="..\xps\xps_resource.c"> + <Filter>xps</Filter> + </ClCompile> + <ClCompile Include="..\xps\xps_tile.c"> + <Filter>xps</Filter> + </ClCompile> + <ClCompile Include="..\xps\xps_util.c"> + <Filter>xps</Filter> + </ClCompile> + <ClCompile Include="..\xps\xps_zip.c"> + <Filter>xps</Filter> + </ClCompile> + <ClCompile Include="..\cbz\mucbz.c"> + <Filter>cbz</Filter> + </ClCompile> + <ClCompile Include="..\pdf\pdf_device.c"> + <Filter>pdf</Filter> + </ClCompile> + <ClCompile Include="..\fitz\stm_output.c"> + <Filter>fitz</Filter> + </ClCompile> + </ItemGroup> +</Project>
\ No newline at end of file diff --git a/winRT/libthirdparty.vcxproj b/winRT/libthirdparty.vcxproj new file mode 100644 index 00000000..567c6512 --- /dev/null +++ b/winRT/libthirdparty.vcxproj @@ -0,0 +1,207 @@ +<?xml version="1.0" encoding="utf-8"?> +<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> + <ItemGroup Label="ProjectConfigurations"> + <ProjectConfiguration Include="Debug|Win32"> + <Configuration>Debug</Configuration> + <Platform>Win32</Platform> + </ProjectConfiguration> + <ProjectConfiguration Include="Memento|Win32"> + <Configuration>Memento</Configuration> + <Platform>Win32</Platform> + </ProjectConfiguration> + <ProjectConfiguration Include="Release|Win32"> + <Configuration>Release</Configuration> + <Platform>Win32</Platform> + </ProjectConfiguration> + </ItemGroup> + <PropertyGroup Label="Globals"> + <ProjectGuid>{5EDCF4FD-0291-4FB9-8D96-D58957CA5E3C}</ProjectGuid> + <RootNamespace>mupdf</RootNamespace> + </PropertyGroup> + <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" /> + <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Memento|Win32'" Label="Configuration"> + <ConfigurationType>StaticLibrary</ConfigurationType> + <PlatformToolset>v110</PlatformToolset> + <CharacterSet>MultiByte</CharacterSet> + </PropertyGroup> + <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration"> + <ConfigurationType>StaticLibrary</ConfigurationType> + <PlatformToolset>v110</PlatformToolset> + <CharacterSet>MultiByte</CharacterSet> + <WholeProgramOptimization>true</WholeProgramOptimization> + </PropertyGroup> + <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration"> + <ConfigurationType>StaticLibrary</ConfigurationType> + <PlatformToolset>v110</PlatformToolset> + <CharacterSet>MultiByte</CharacterSet> + </PropertyGroup> + <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" /> + <ImportGroup Label="ExtensionSettings"> + </ImportGroup> + <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Memento|Win32'" Label="PropertySheets"> + <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> + </ImportGroup> + <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="PropertySheets"> + <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> + </ImportGroup> + <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="PropertySheets"> + <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> + </ImportGroup> + <PropertyGroup Label="UserMacros" /> + <PropertyGroup> + <_ProjectFileVersion>11.0.51106.1</_ProjectFileVersion> + </PropertyGroup> + <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'"> + <OutDir>$(Configuration)\</OutDir> + <IntDir>$(Configuration)\$(ProjectName)\</IntDir> + </PropertyGroup> + <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'"> + <OutDir>$(Configuration)\</OutDir> + <IntDir>$(Configuration)\$(ProjectName)\</IntDir> + </PropertyGroup> + <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Memento|Win32'"> + <OutDir>$(Configuration)\</OutDir> + <IntDir>$(Configuration)\$(ProjectName)\</IntDir> + </PropertyGroup> + <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'"> + <ClCompile> + <Optimization>Disabled</Optimization> + <AdditionalIncludeDirectories>..\scripts;..\thirdparty\jbig2dec;..\thirdparty\jpeg;..\thirdparty\openjpeg\libopenjpeg;..\thirdparty\zlib;..\thirdparty\freetype\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> + <PreprocessorDefinitions>_CRT_SECURE_NO_WARNINGS;FT2_BUILD_LIBRARY;OPJ_STATIC;FT_CONFIG_MODULES_H="slimftmodules.h";FT_CONFIG_OPTIONS_H="slimftoptions.h";DEBUG=1;verbose=-1;%(PreprocessorDefinitions)</PreprocessorDefinitions> + <MinimalRebuild>true</MinimalRebuild> + <BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks> + <RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary> + <WarningLevel>Level3</WarningLevel> + <DebugInformationFormat>EditAndContinue</DebugInformationFormat> + </ClCompile> + </ItemDefinitionGroup> + <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'"> + <ClCompile> + <Optimization>MaxSpeed</Optimization> + <IntrinsicFunctions>true</IntrinsicFunctions> + <AdditionalIncludeDirectories>..\scripts;..\thirdparty\jbig2dec;..\thirdparty\jpeg;..\thirdparty\openjpeg\libopenjpeg;..\thirdparty\zlib;..\thirdparty\freetype\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> + <PreprocessorDefinitions>_CRT_SECURE_NO_WARNINGS;FT2_BUILD_LIBRARY;OPJ_STATIC;FT_CONFIG_MODULES_H="slimftmodules.h";FT_CONFIG_OPTIONS_H="slimftoptions.h";verbose=-1;%(PreprocessorDefinitions)</PreprocessorDefinitions> + <RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary> + <FunctionLevelLinking>true</FunctionLevelLinking> + <WarningLevel>Level3</WarningLevel> + <DebugInformationFormat>ProgramDatabase</DebugInformationFormat> + </ClCompile> + </ItemDefinitionGroup> + <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Memento|Win32'"> + <ClCompile> + <Optimization>Disabled</Optimization> + <AdditionalIncludeDirectories>..\scripts;..\thirdparty\jbig2dec;..\thirdparty\jpeg;..\thirdparty\openjpeg\libopenjpeg;..\thirdparty\zlib;..\thirdparty\freetype\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> + <PreprocessorDefinitions>_CRT_SECURE_NO_WARNINGS;FT2_BUILD_LIBRARY;OPJ_STATIC;FT_CONFIG_MODULES_H="slimftmodules.h";FT_CONFIG_OPTIONS_H="slimftoptions.h";MEMENTO=1;DEBUG=1;verbose=-1;%(PreprocessorDefinitions)</PreprocessorDefinitions> + <MinimalRebuild>true</MinimalRebuild> + <BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks> + <RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary> + <WarningLevel>Level3</WarningLevel> + <DebugInformationFormat>EditAndContinue</DebugInformationFormat> + </ClCompile> + </ItemDefinitionGroup> + <ItemGroup> + <ClCompile Include="..\thirdparty\jpeg\jaricom.c" /> + <ClCompile Include="..\thirdparty\jpeg\jcomapi.c" /> + <ClCompile Include="..\thirdparty\jpeg\jdapimin.c" /> + <ClCompile Include="..\thirdparty\jpeg\jdapistd.c" /> + <ClCompile Include="..\thirdparty\jpeg\jdarith.c" /> + <ClCompile Include="..\thirdparty\jpeg\jdatadst.c" /> + <ClCompile Include="..\thirdparty\jpeg\jdatasrc.c" /> + <ClCompile Include="..\thirdparty\jpeg\jdcoefct.c" /> + <ClCompile Include="..\thirdparty\jpeg\jdcolor.c" /> + <ClCompile Include="..\thirdparty\jpeg\jddctmgr.c" /> + <ClCompile Include="..\thirdparty\jpeg\jdhuff.c" /> + <ClCompile Include="..\thirdparty\jpeg\jdinput.c" /> + <ClCompile Include="..\thirdparty\jpeg\jdmainct.c" /> + <ClCompile Include="..\thirdparty\jpeg\jdmarker.c" /> + <ClCompile Include="..\thirdparty\jpeg\jdmaster.c" /> + <ClCompile Include="..\thirdparty\jpeg\jdmerge.c" /> + <ClCompile Include="..\thirdparty\jpeg\jdpostct.c" /> + <ClCompile Include="..\thirdparty\jpeg\jdsample.c" /> + <ClCompile Include="..\thirdparty\jpeg\jdtrans.c" /> + <ClCompile Include="..\thirdparty\jpeg\jerror.c" /> + <ClCompile Include="..\thirdparty\jpeg\jfdctflt.c" /> + <ClCompile Include="..\thirdparty\jpeg\jfdctfst.c" /> + <ClCompile Include="..\thirdparty\jpeg\jfdctint.c" /> + <ClCompile Include="..\thirdparty\jpeg\jidctflt.c" /> + <ClCompile Include="..\thirdparty\jpeg\jidctfst.c" /> + <ClCompile Include="..\thirdparty\jpeg\jidctint.c" /> + <ClCompile Include="..\thirdparty\jpeg\jmemmgr.c" /> + <ClCompile Include="..\thirdparty\jpeg\jmemnobs.c" /> + <ClCompile Include="..\thirdparty\jpeg\jquant1.c" /> + <ClCompile Include="..\thirdparty\jpeg\jquant2.c" /> + <ClCompile Include="..\thirdparty\jpeg\jutils.c" /> + <ClCompile Include="..\thirdparty\jbig2dec\jbig2.c" /> + <ClCompile Include="..\thirdparty\jbig2dec\jbig2_arith.c" /> + <ClCompile Include="..\thirdparty\jbig2dec\jbig2_arith_iaid.c" /> + <ClCompile Include="..\thirdparty\jbig2dec\jbig2_arith_int.c" /> + <ClCompile Include="..\thirdparty\jbig2dec\jbig2_generic.c" /> + <ClCompile Include="..\thirdparty\jbig2dec\jbig2_halftone.c" /> + <ClCompile Include="..\thirdparty\jbig2dec\jbig2_huffman.c" /> + <ClCompile Include="..\thirdparty\jbig2dec\jbig2_image.c" /> + <ClCompile Include="..\thirdparty\jbig2dec\jbig2_metadata.c" /> + <ClCompile Include="..\thirdparty\jbig2dec\jbig2_mmr.c" /> + <ClCompile Include="..\thirdparty\jbig2dec\jbig2_page.c" /> + <ClCompile Include="..\thirdparty\jbig2dec\jbig2_refinement.c" /> + <ClCompile Include="..\thirdparty\jbig2dec\jbig2_segment.c" /> + <ClCompile Include="..\thirdparty\jbig2dec\jbig2_symbol_dict.c" /> + <ClCompile Include="..\thirdparty\jbig2dec\jbig2_text.c" /> + <ClCompile Include="..\thirdparty\zlib\adler32.c" /> + <ClCompile Include="..\thirdparty\zlib\compress.c" /> + <ClCompile Include="..\thirdparty\zlib\crc32.c" /> + <ClCompile Include="..\thirdparty\zlib\deflate.c" /> + <ClCompile Include="..\thirdparty\zlib\inffast.c" /> + <ClCompile Include="..\thirdparty\zlib\inflate.c" /> + <ClCompile Include="..\thirdparty\zlib\inftrees.c" /> + <ClCompile Include="..\thirdparty\zlib\trees.c" /> + <ClCompile Include="..\thirdparty\zlib\uncompr.c" /> + <ClCompile Include="..\thirdparty\zlib\zutil.c" /> + <ClCompile Include="..\thirdparty\openjpeg\libopenjpeg\bio.c" /> + <ClCompile Include="..\thirdparty\openjpeg\libopenjpeg\cidx_manager.c" /> + <ClCompile Include="..\thirdparty\openjpeg\libopenjpeg\cio.c" /> + <ClCompile Include="..\thirdparty\openjpeg\libopenjpeg\dwt.c" /> + <ClCompile Include="..\thirdparty\openjpeg\libopenjpeg\event.c" /> + <ClCompile Include="..\thirdparty\openjpeg\libopenjpeg\image.c" /> + <ClCompile Include="..\thirdparty\openjpeg\libopenjpeg\j2k.c" /> + <ClCompile Include="..\thirdparty\openjpeg\libopenjpeg\j2k_lib.c" /> + <ClCompile Include="..\thirdparty\openjpeg\libopenjpeg\jp2.c" /> + <ClCompile Include="..\thirdparty\openjpeg\libopenjpeg\jpt.c" /> + <ClCompile Include="..\thirdparty\openjpeg\libopenjpeg\mct.c" /> + <ClCompile Include="..\thirdparty\openjpeg\libopenjpeg\mqc.c" /> + <ClCompile Include="..\thirdparty\openjpeg\libopenjpeg\openjpeg.c" /> + <ClCompile Include="..\thirdparty\openjpeg\libopenjpeg\phix_manager.c" /> + <ClCompile Include="..\thirdparty\openjpeg\libopenjpeg\pi.c" /> + <ClCompile Include="..\thirdparty\openjpeg\libopenjpeg\ppix_manager.c" /> + <ClCompile Include="..\thirdparty\openjpeg\libopenjpeg\raw.c" /> + <ClCompile Include="..\thirdparty\openjpeg\libopenjpeg\t1.c" /> + <ClCompile Include="..\thirdparty\openjpeg\libopenjpeg\t2.c" /> + <ClCompile Include="..\thirdparty\openjpeg\libopenjpeg\tcd.c" /> + <ClCompile Include="..\thirdparty\openjpeg\libopenjpeg\tgt.c" /> + <ClCompile Include="..\thirdparty\openjpeg\libopenjpeg\thix_manager.c" /> + <ClCompile Include="..\thirdparty\openjpeg\libopenjpeg\tpix_manager.c" /> + <ClCompile Include="..\thirdparty\freetype\src\cff\cff.c" /> + <ClCompile Include="..\thirdparty\freetype\src\psaux\psaux.c" /> + <ClCompile Include="..\thirdparty\freetype\src\pshinter\pshinter.c" /> + <ClCompile Include="..\thirdparty\freetype\src\psnames\psnames.c" /> + <ClCompile Include="..\thirdparty\freetype\src\raster\raster.c" /> + <ClCompile Include="..\thirdparty\freetype\src\sfnt\sfnt.c" /> + <ClCompile Include="..\thirdparty\freetype\src\smooth\smooth.c" /> + <ClCompile Include="..\thirdparty\freetype\src\truetype\truetype.c" /> + <ClCompile Include="..\thirdparty\freetype\src\type1\type1.c" /> + <ClCompile Include="..\thirdparty\freetype\src\cid\type1cid.c" /> + <ClCompile Include="..\thirdparty\freetype\src\base\ftbase.c" /> + <ClCompile Include="..\thirdparty\freetype\src\base\ftbbox.c" /> + <ClCompile Include="..\thirdparty\freetype\src\base\ftbitmap.c" /> + <ClCompile Include="..\thirdparty\freetype\src\base\ftgasp.c" /> + <ClCompile Include="..\thirdparty\freetype\src\base\ftglyph.c" /> + <ClCompile Include="..\thirdparty\freetype\src\base\ftinit.c" /> + <ClCompile Include="..\thirdparty\freetype\src\base\ftstroke.c" /> + <ClCompile Include="..\thirdparty\freetype\src\base\ftsynth.c" /> + <ClCompile Include="..\thirdparty\freetype\src\base\ftsystem.c" /> + <ClCompile Include="..\thirdparty\freetype\src\base\fttype1.c" /> + <ClCompile Include="..\thirdparty\freetype\src\base\ftxf86.c" /> + </ItemGroup> + <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" /> + <ImportGroup Label="ExtensionTargets"> + </ImportGroup> +</Project>
\ No newline at end of file diff --git a/winRT/libthirdparty.vcxproj.filters b/winRT/libthirdparty.vcxproj.filters new file mode 100644 index 00000000..227d9d6a --- /dev/null +++ b/winRT/libthirdparty.vcxproj.filters @@ -0,0 +1,325 @@ +<?xml version="1.0" encoding="utf-8"?> +<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> + <ItemGroup> + <Filter Include="libjpeg"> + <UniqueIdentifier>{4cb5f070-5bbd-493b-9b63-010401d29ada}</UniqueIdentifier> + </Filter> + <Filter Include="libjbig2dec"> + <UniqueIdentifier>{7d2d0ce6-541f-4bdf-84ca-f6f4caf7be37}</UniqueIdentifier> + </Filter> + <Filter Include="libz"> + <UniqueIdentifier>{eeff1418-1d25-4ab6-b352-43cac96e8826}</UniqueIdentifier> + </Filter> + <Filter Include="libopenjpeg"> + <UniqueIdentifier>{e6b1f4d0-9c26-45d0-8da3-9117ce87eef4}</UniqueIdentifier> + </Filter> + <Filter Include="libfreetype"> + <UniqueIdentifier>{1ba764cb-f749-47b7-82fc-1696b44780dc}</UniqueIdentifier> + </Filter> + <Filter Include="libfreetype\base"> + <UniqueIdentifier>{6980c4d8-161d-4d24-b8a9-7b5b612c2b39}</UniqueIdentifier> + </Filter> + </ItemGroup> + <ItemGroup> + <ClCompile Include="..\thirdparty\jpeg\jaricom.c"> + <Filter>libjpeg</Filter> + </ClCompile> + <ClCompile Include="..\thirdparty\jpeg\jcomapi.c"> + <Filter>libjpeg</Filter> + </ClCompile> + <ClCompile Include="..\thirdparty\jpeg\jdapimin.c"> + <Filter>libjpeg</Filter> + </ClCompile> + <ClCompile Include="..\thirdparty\jpeg\jdapistd.c"> + <Filter>libjpeg</Filter> + </ClCompile> + <ClCompile Include="..\thirdparty\jpeg\jdarith.c"> + <Filter>libjpeg</Filter> + </ClCompile> + <ClCompile Include="..\thirdparty\jpeg\jdatadst.c"> + <Filter>libjpeg</Filter> + </ClCompile> + <ClCompile Include="..\thirdparty\jpeg\jdatasrc.c"> + <Filter>libjpeg</Filter> + </ClCompile> + <ClCompile Include="..\thirdparty\jpeg\jdcoefct.c"> + <Filter>libjpeg</Filter> + </ClCompile> + <ClCompile Include="..\thirdparty\jpeg\jdcolor.c"> + <Filter>libjpeg</Filter> + </ClCompile> + <ClCompile Include="..\thirdparty\jpeg\jddctmgr.c"> + <Filter>libjpeg</Filter> + </ClCompile> + <ClCompile Include="..\thirdparty\jpeg\jdhuff.c"> + <Filter>libjpeg</Filter> + </ClCompile> + <ClCompile Include="..\thirdparty\jpeg\jdinput.c"> + <Filter>libjpeg</Filter> + </ClCompile> + <ClCompile Include="..\thirdparty\jpeg\jdmainct.c"> + <Filter>libjpeg</Filter> + </ClCompile> + <ClCompile Include="..\thirdparty\jpeg\jdmarker.c"> + <Filter>libjpeg</Filter> + </ClCompile> + <ClCompile Include="..\thirdparty\jpeg\jdmaster.c"> + <Filter>libjpeg</Filter> + </ClCompile> + <ClCompile Include="..\thirdparty\jpeg\jdmerge.c"> + <Filter>libjpeg</Filter> + </ClCompile> + <ClCompile Include="..\thirdparty\jpeg\jdpostct.c"> + <Filter>libjpeg</Filter> + </ClCompile> + <ClCompile Include="..\thirdparty\jpeg\jdsample.c"> + <Filter>libjpeg</Filter> + </ClCompile> + <ClCompile Include="..\thirdparty\jpeg\jdtrans.c"> + <Filter>libjpeg</Filter> + </ClCompile> + <ClCompile Include="..\thirdparty\jpeg\jerror.c"> + <Filter>libjpeg</Filter> + </ClCompile> + <ClCompile Include="..\thirdparty\jpeg\jfdctflt.c"> + <Filter>libjpeg</Filter> + </ClCompile> + <ClCompile Include="..\thirdparty\jpeg\jfdctfst.c"> + <Filter>libjpeg</Filter> + </ClCompile> + <ClCompile Include="..\thirdparty\jpeg\jfdctint.c"> + <Filter>libjpeg</Filter> + </ClCompile> + <ClCompile Include="..\thirdparty\jpeg\jidctflt.c"> + <Filter>libjpeg</Filter> + </ClCompile> + <ClCompile Include="..\thirdparty\jpeg\jidctfst.c"> + <Filter>libjpeg</Filter> + </ClCompile> + <ClCompile Include="..\thirdparty\jpeg\jidctint.c"> + <Filter>libjpeg</Filter> + </ClCompile> + <ClCompile Include="..\thirdparty\jpeg\jmemmgr.c"> + <Filter>libjpeg</Filter> + </ClCompile> + <ClCompile Include="..\thirdparty\jpeg\jmemnobs.c"> + <Filter>libjpeg</Filter> + </ClCompile> + <ClCompile Include="..\thirdparty\jpeg\jquant1.c"> + <Filter>libjpeg</Filter> + </ClCompile> + <ClCompile Include="..\thirdparty\jpeg\jquant2.c"> + <Filter>libjpeg</Filter> + </ClCompile> + <ClCompile Include="..\thirdparty\jpeg\jutils.c"> + <Filter>libjpeg</Filter> + </ClCompile> + <ClCompile Include="..\thirdparty\jbig2dec\jbig2.c"> + <Filter>libjbig2dec</Filter> + </ClCompile> + <ClCompile Include="..\thirdparty\jbig2dec\jbig2_arith.c"> + <Filter>libjbig2dec</Filter> + </ClCompile> + <ClCompile Include="..\thirdparty\jbig2dec\jbig2_arith_iaid.c"> + <Filter>libjbig2dec</Filter> + </ClCompile> + <ClCompile Include="..\thirdparty\jbig2dec\jbig2_arith_int.c"> + <Filter>libjbig2dec</Filter> + </ClCompile> + <ClCompile Include="..\thirdparty\jbig2dec\jbig2_generic.c"> + <Filter>libjbig2dec</Filter> + </ClCompile> + <ClCompile Include="..\thirdparty\jbig2dec\jbig2_halftone.c"> + <Filter>libjbig2dec</Filter> + </ClCompile> + <ClCompile Include="..\thirdparty\jbig2dec\jbig2_huffman.c"> + <Filter>libjbig2dec</Filter> + </ClCompile> + <ClCompile Include="..\thirdparty\jbig2dec\jbig2_image.c"> + <Filter>libjbig2dec</Filter> + </ClCompile> + <ClCompile Include="..\thirdparty\jbig2dec\jbig2_metadata.c"> + <Filter>libjbig2dec</Filter> + </ClCompile> + <ClCompile Include="..\thirdparty\jbig2dec\jbig2_mmr.c"> + <Filter>libjbig2dec</Filter> + </ClCompile> + <ClCompile Include="..\thirdparty\jbig2dec\jbig2_page.c"> + <Filter>libjbig2dec</Filter> + </ClCompile> + <ClCompile Include="..\thirdparty\jbig2dec\jbig2_refinement.c"> + <Filter>libjbig2dec</Filter> + </ClCompile> + <ClCompile Include="..\thirdparty\jbig2dec\jbig2_segment.c"> + <Filter>libjbig2dec</Filter> + </ClCompile> + <ClCompile Include="..\thirdparty\jbig2dec\jbig2_symbol_dict.c"> + <Filter>libjbig2dec</Filter> + </ClCompile> + <ClCompile Include="..\thirdparty\jbig2dec\jbig2_text.c"> + <Filter>libjbig2dec</Filter> + </ClCompile> + <ClCompile Include="..\thirdparty\zlib\adler32.c"> + <Filter>libz</Filter> + </ClCompile> + <ClCompile Include="..\thirdparty\zlib\compress.c"> + <Filter>libz</Filter> + </ClCompile> + <ClCompile Include="..\thirdparty\zlib\crc32.c"> + <Filter>libz</Filter> + </ClCompile> + <ClCompile Include="..\thirdparty\zlib\deflate.c"> + <Filter>libz</Filter> + </ClCompile> + <ClCompile Include="..\thirdparty\zlib\inffast.c"> + <Filter>libz</Filter> + </ClCompile> + <ClCompile Include="..\thirdparty\zlib\inflate.c"> + <Filter>libz</Filter> + </ClCompile> + <ClCompile Include="..\thirdparty\zlib\inftrees.c"> + <Filter>libz</Filter> + </ClCompile> + <ClCompile Include="..\thirdparty\zlib\trees.c"> + <Filter>libz</Filter> + </ClCompile> + <ClCompile Include="..\thirdparty\zlib\uncompr.c"> + <Filter>libz</Filter> + </ClCompile> + <ClCompile Include="..\thirdparty\zlib\zutil.c"> + <Filter>libz</Filter> + </ClCompile> + <ClCompile Include="..\thirdparty\openjpeg\libopenjpeg\bio.c"> + <Filter>libopenjpeg</Filter> + </ClCompile> + <ClCompile Include="..\thirdparty\openjpeg\libopenjpeg\cidx_manager.c"> + <Filter>libopenjpeg</Filter> + </ClCompile> + <ClCompile Include="..\thirdparty\openjpeg\libopenjpeg\cio.c"> + <Filter>libopenjpeg</Filter> + </ClCompile> + <ClCompile Include="..\thirdparty\openjpeg\libopenjpeg\dwt.c"> + <Filter>libopenjpeg</Filter> + </ClCompile> + <ClCompile Include="..\thirdparty\openjpeg\libopenjpeg\event.c"> + <Filter>libopenjpeg</Filter> + </ClCompile> + <ClCompile Include="..\thirdparty\openjpeg\libopenjpeg\image.c"> + <Filter>libopenjpeg</Filter> + </ClCompile> + <ClCompile Include="..\thirdparty\openjpeg\libopenjpeg\j2k.c"> + <Filter>libopenjpeg</Filter> + </ClCompile> + <ClCompile Include="..\thirdparty\openjpeg\libopenjpeg\j2k_lib.c"> + <Filter>libopenjpeg</Filter> + </ClCompile> + <ClCompile Include="..\thirdparty\openjpeg\libopenjpeg\jp2.c"> + <Filter>libopenjpeg</Filter> + </ClCompile> + <ClCompile Include="..\thirdparty\openjpeg\libopenjpeg\jpt.c"> + <Filter>libopenjpeg</Filter> + </ClCompile> + <ClCompile Include="..\thirdparty\openjpeg\libopenjpeg\mct.c"> + <Filter>libopenjpeg</Filter> + </ClCompile> + <ClCompile Include="..\thirdparty\openjpeg\libopenjpeg\mqc.c"> + <Filter>libopenjpeg</Filter> + </ClCompile> + <ClCompile Include="..\thirdparty\openjpeg\libopenjpeg\openjpeg.c"> + <Filter>libopenjpeg</Filter> + </ClCompile> + <ClCompile Include="..\thirdparty\openjpeg\libopenjpeg\phix_manager.c"> + <Filter>libopenjpeg</Filter> + </ClCompile> + <ClCompile Include="..\thirdparty\openjpeg\libopenjpeg\pi.c"> + <Filter>libopenjpeg</Filter> + </ClCompile> + <ClCompile Include="..\thirdparty\openjpeg\libopenjpeg\ppix_manager.c"> + <Filter>libopenjpeg</Filter> + </ClCompile> + <ClCompile Include="..\thirdparty\openjpeg\libopenjpeg\raw.c"> + <Filter>libopenjpeg</Filter> + </ClCompile> + <ClCompile Include="..\thirdparty\openjpeg\libopenjpeg\t1.c"> + <Filter>libopenjpeg</Filter> + </ClCompile> + <ClCompile Include="..\thirdparty\openjpeg\libopenjpeg\t2.c"> + <Filter>libopenjpeg</Filter> + </ClCompile> + <ClCompile Include="..\thirdparty\openjpeg\libopenjpeg\tcd.c"> + <Filter>libopenjpeg</Filter> + </ClCompile> + <ClCompile Include="..\thirdparty\openjpeg\libopenjpeg\tgt.c"> + <Filter>libopenjpeg</Filter> + </ClCompile> + <ClCompile Include="..\thirdparty\openjpeg\libopenjpeg\thix_manager.c"> + <Filter>libopenjpeg</Filter> + </ClCompile> + <ClCompile Include="..\thirdparty\openjpeg\libopenjpeg\tpix_manager.c"> + <Filter>libopenjpeg</Filter> + </ClCompile> + <ClCompile Include="..\thirdparty\freetype\src\cff\cff.c"> + <Filter>libfreetype</Filter> + </ClCompile> + <ClCompile Include="..\thirdparty\freetype\src\psaux\psaux.c"> + <Filter>libfreetype</Filter> + </ClCompile> + <ClCompile Include="..\thirdparty\freetype\src\pshinter\pshinter.c"> + <Filter>libfreetype</Filter> + </ClCompile> + <ClCompile Include="..\thirdparty\freetype\src\psnames\psnames.c"> + <Filter>libfreetype</Filter> + </ClCompile> + <ClCompile Include="..\thirdparty\freetype\src\raster\raster.c"> + <Filter>libfreetype</Filter> + </ClCompile> + <ClCompile Include="..\thirdparty\freetype\src\sfnt\sfnt.c"> + <Filter>libfreetype</Filter> + </ClCompile> + <ClCompile Include="..\thirdparty\freetype\src\smooth\smooth.c"> + <Filter>libfreetype</Filter> + </ClCompile> + <ClCompile Include="..\thirdparty\freetype\src\truetype\truetype.c"> + <Filter>libfreetype</Filter> + </ClCompile> + <ClCompile Include="..\thirdparty\freetype\src\type1\type1.c"> + <Filter>libfreetype</Filter> + </ClCompile> + <ClCompile Include="..\thirdparty\freetype\src\cid\type1cid.c"> + <Filter>libfreetype</Filter> + </ClCompile> + <ClCompile Include="..\thirdparty\freetype\src\base\ftbase.c"> + <Filter>libfreetype\base</Filter> + </ClCompile> + <ClCompile Include="..\thirdparty\freetype\src\base\ftbbox.c"> + <Filter>libfreetype\base</Filter> + </ClCompile> + <ClCompile Include="..\thirdparty\freetype\src\base\ftbitmap.c"> + <Filter>libfreetype\base</Filter> + </ClCompile> + <ClCompile Include="..\thirdparty\freetype\src\base\ftgasp.c"> + <Filter>libfreetype\base</Filter> + </ClCompile> + <ClCompile Include="..\thirdparty\freetype\src\base\ftglyph.c"> + <Filter>libfreetype\base</Filter> + </ClCompile> + <ClCompile Include="..\thirdparty\freetype\src\base\ftinit.c"> + <Filter>libfreetype\base</Filter> + </ClCompile> + <ClCompile Include="..\thirdparty\freetype\src\base\ftstroke.c"> + <Filter>libfreetype\base</Filter> + </ClCompile> + <ClCompile Include="..\thirdparty\freetype\src\base\ftsynth.c"> + <Filter>libfreetype\base</Filter> + </ClCompile> + <ClCompile Include="..\thirdparty\freetype\src\base\ftsystem.c"> + <Filter>libfreetype\base</Filter> + </ClCompile> + <ClCompile Include="..\thirdparty\freetype\src\base\fttype1.c"> + <Filter>libfreetype\base</Filter> + </ClCompile> + <ClCompile Include="..\thirdparty\freetype\src\base\ftxf86.c"> + <Filter>libfreetype\base</Filter> + </ClCompile> + </ItemGroup> +</Project>
\ No newline at end of file diff --git a/winRT/mudraw.vcxproj b/winRT/mudraw.vcxproj new file mode 100644 index 00000000..0e1df19a --- /dev/null +++ b/winRT/mudraw.vcxproj @@ -0,0 +1,135 @@ +<?xml version="1.0" encoding="utf-8"?> +<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> + <ItemGroup Label="ProjectConfigurations"> + <ProjectConfiguration Include="Debug|Win32"> + <Configuration>Debug</Configuration> + <Platform>Win32</Platform> + </ProjectConfiguration> + <ProjectConfiguration Include="Memento|Win32"> + <Configuration>Memento</Configuration> + <Platform>Win32</Platform> + </ProjectConfiguration> + <ProjectConfiguration Include="Release|Win32"> + <Configuration>Release</Configuration> + <Platform>Win32</Platform> + </ProjectConfiguration> + </ItemGroup> + <PropertyGroup Label="Globals"> + <ProjectGuid>{0B51171B-B10E-4EAC-8FFA-19226A1828A3}</ProjectGuid> + <RootNamespace>mupdf</RootNamespace> + </PropertyGroup> + <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" /> + <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Memento|Win32'" Label="Configuration"> + <ConfigurationType>Application</ConfigurationType> + <PlatformToolset>v110</PlatformToolset> + <CharacterSet>MultiByte</CharacterSet> + </PropertyGroup> + <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration"> + <ConfigurationType>Application</ConfigurationType> + <PlatformToolset>v110</PlatformToolset> + <CharacterSet>MultiByte</CharacterSet> + <WholeProgramOptimization>true</WholeProgramOptimization> + </PropertyGroup> + <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration"> + <ConfigurationType>Application</ConfigurationType> + <PlatformToolset>v110</PlatformToolset> + <CharacterSet>MultiByte</CharacterSet> + </PropertyGroup> + <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" /> + <ImportGroup Label="ExtensionSettings"> + </ImportGroup> + <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Memento|Win32'" Label="PropertySheets"> + <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> + </ImportGroup> + <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="PropertySheets"> + <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> + </ImportGroup> + <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="PropertySheets"> + <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> + </ImportGroup> + <PropertyGroup Label="UserMacros" /> + <PropertyGroup> + <_ProjectFileVersion>11.0.51106.1</_ProjectFileVersion> + </PropertyGroup> + <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'"> + <OutDir>$(Configuration)\</OutDir> + <IntDir>$(Configuration)\$(ProjectName)\</IntDir> + </PropertyGroup> + <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'"> + <OutDir>$(Configuration)\</OutDir> + <IntDir>$(Configuration)\$(ProjectName)\</IntDir> + </PropertyGroup> + <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Memento|Win32'"> + <OutDir>$(Configuration)\</OutDir> + <IntDir>$(Configuration)\$(ProjectName)\</IntDir> + </PropertyGroup> + <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'"> + <ClCompile> + <Optimization>Disabled</Optimization> + <AdditionalIncludeDirectories>..\fitz;..\pdf;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> + <PreprocessorDefinitions>DEBUG=1;%(PreprocessorDefinitions)</PreprocessorDefinitions> + <MinimalRebuild>true</MinimalRebuild> + <BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks> + <RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary> + <WarningLevel>Level3</WarningLevel> + <DebugInformationFormat>EditAndContinue</DebugInformationFormat> + </ClCompile> + <Link> + <GenerateDebugInformation>true</GenerateDebugInformation> + <TargetMachine>MachineX86</TargetMachine> + </Link> + </ItemDefinitionGroup> + <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'"> + <ClCompile> + <Optimization>MaxSpeed</Optimization> + <IntrinsicFunctions>true</IntrinsicFunctions> + <AdditionalIncludeDirectories>..\fitz;..\pdf;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> + <RuntimeLibrary>MultiThreaded</RuntimeLibrary> + <FunctionLevelLinking>true</FunctionLevelLinking> + <WarningLevel>Level3</WarningLevel> + <DebugInformationFormat>ProgramDatabase</DebugInformationFormat> + </ClCompile> + <Link> + <GenerateDebugInformation>true</GenerateDebugInformation> + <OptimizeReferences>true</OptimizeReferences> + <EnableCOMDATFolding>true</EnableCOMDATFolding> + <TargetMachine>MachineX86</TargetMachine> + </Link> + </ItemDefinitionGroup> + <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Memento|Win32'"> + <ClCompile> + <Optimization>Disabled</Optimization> + <AdditionalIncludeDirectories>..\fitz;..\pdf;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> + <PreprocessorDefinitions>MEMENTO=1;DEBUG=1;%(PreprocessorDefinitions)</PreprocessorDefinitions> + <MinimalRebuild>true</MinimalRebuild> + <BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks> + <RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary> + <WarningLevel>Level3</WarningLevel> + <DebugInformationFormat>EditAndContinue</DebugInformationFormat> + </ClCompile> + <Link> + <GenerateDebugInformation>true</GenerateDebugInformation> + <TargetMachine>MachineX86</TargetMachine> + </Link> + </ItemDefinitionGroup> + <ItemGroup> + <ClCompile Include="..\apps\mudraw.c" /> + </ItemGroup> + <ItemGroup> + <ProjectReference Include="generated.vcxproj"> + <Project>{a5053aa7-02e5-4903-b596-04f17aeb1526}</Project> + <ReferenceOutputAssembly>false</ReferenceOutputAssembly> + </ProjectReference> + <ProjectReference Include="libmupdf-nov8.vcxproj"> + <Project>{ec81a9f3-88a6-4170-b7b4-c41cb789a7f6}</Project> + <ReferenceOutputAssembly>false</ReferenceOutputAssembly> + </ProjectReference> + <ProjectReference Include="libthirdparty.vcxproj"> + <Project>{5edcf4fd-0291-4fb9-8d96-d58957ca5e3c}</Project> + <ReferenceOutputAssembly>false</ReferenceOutputAssembly> + </ProjectReference> + </ItemGroup> + <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" /> + <ImportGroup Label="ExtensionTargets"> + </ImportGroup> +</Project>
\ No newline at end of file diff --git a/winRT/mujstest-v8.vcxproj b/winRT/mujstest-v8.vcxproj new file mode 100644 index 00000000..9e9790bf --- /dev/null +++ b/winRT/mujstest-v8.vcxproj @@ -0,0 +1,142 @@ +<?xml version="1.0" encoding="utf-8"?> +<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> + <ItemGroup Label="ProjectConfigurations"> + <ProjectConfiguration Include="Debug|Win32"> + <Configuration>Debug</Configuration> + <Platform>Win32</Platform> + </ProjectConfiguration> + <ProjectConfiguration Include="Memento|Win32"> + <Configuration>Memento</Configuration> + <Platform>Win32</Platform> + </ProjectConfiguration> + <ProjectConfiguration Include="Release|Win32"> + <Configuration>Release</Configuration> + <Platform>Win32</Platform> + </ProjectConfiguration> + </ItemGroup> + <PropertyGroup Label="Globals"> + <ProjectGuid>{21E28758-E4D2-4B84-8EC5-B631CEE66B30}</ProjectGuid> + <RootNamespace>mupdf</RootNamespace> + </PropertyGroup> + <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" /> + <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Memento|Win32'" Label="Configuration"> + <ConfigurationType>Application</ConfigurationType> + <PlatformToolset>v110</PlatformToolset> + <CharacterSet>MultiByte</CharacterSet> + </PropertyGroup> + <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration"> + <ConfigurationType>Application</ConfigurationType> + <PlatformToolset>v110</PlatformToolset> + <CharacterSet>MultiByte</CharacterSet> + <WholeProgramOptimization>true</WholeProgramOptimization> + </PropertyGroup> + <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration"> + <ConfigurationType>Application</ConfigurationType> + <PlatformToolset>v110</PlatformToolset> + <CharacterSet>MultiByte</CharacterSet> + </PropertyGroup> + <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" /> + <ImportGroup Label="ExtensionSettings"> + </ImportGroup> + <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Memento|Win32'" Label="PropertySheets"> + <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> + </ImportGroup> + <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="PropertySheets"> + <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> + </ImportGroup> + <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="PropertySheets"> + <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> + </ImportGroup> + <PropertyGroup Label="UserMacros" /> + <PropertyGroup> + <_ProjectFileVersion>11.0.51106.1</_ProjectFileVersion> + </PropertyGroup> + <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'"> + <OutDir>$(Configuration)\</OutDir> + <IntDir>$(Configuration)\$(ProjectName)\</IntDir> + </PropertyGroup> + <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'"> + <OutDir>$(Configuration)\</OutDir> + <IntDir>$(Configuration)\$(ProjectName)\</IntDir> + </PropertyGroup> + <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Memento|Win32'"> + <OutDir>$(Configuration)\</OutDir> + <IntDir>$(Configuration)\$(ProjectName)\</IntDir> + </PropertyGroup> + <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'"> + <ClCompile> + <Optimization>Disabled</Optimization> + <AdditionalIncludeDirectories>..\fitz;..\pdf;..\xps;..\cbz;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> + <PreprocessorDefinitions>FT2_BUILD_LIBRARY;OPJ_STATIC;DEBUG=1;%(PreprocessorDefinitions)</PreprocessorDefinitions> + <MinimalRebuild>true</MinimalRebuild> + <BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks> + <RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary> + <WarningLevel>Level3</WarningLevel> + <DebugInformationFormat>EditAndContinue</DebugInformationFormat> + </ClCompile> + <Link> + <AdditionalOptions>/FORCE %(AdditionalOptions)</AdditionalOptions> + <AdditionalDependencies>v8_base.lib;v8_snapshot.lib;ws2_32.lib;winmm.lib;%(AdditionalDependencies)</AdditionalDependencies> + <AdditionalLibraryDirectories>..\thirdparty\v8-3.9\build\Debug\lib\;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories> + <GenerateDebugInformation>true</GenerateDebugInformation> + <TargetMachine>MachineX86</TargetMachine> + </Link> + </ItemDefinitionGroup> + <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'"> + <ClCompile> + <Optimization>MaxSpeed</Optimization> + <IntrinsicFunctions>true</IntrinsicFunctions> + <AdditionalIncludeDirectories>..\fitz;..\pdf;..\xps;..\cbz;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> + <RuntimeLibrary>MultiThreaded</RuntimeLibrary> + <FunctionLevelLinking>true</FunctionLevelLinking> + <WarningLevel>Level3</WarningLevel> + <DebugInformationFormat>ProgramDatabase</DebugInformationFormat> + </ClCompile> + <Link> + <AdditionalDependencies>v8_base.lib;v8_snapshot.lib;ws2_32.lib;winmm.lib;%(AdditionalDependencies)</AdditionalDependencies> + <AdditionalLibraryDirectories>..\thirdparty\v8-3.9\build\Release\lib;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories> + <GenerateDebugInformation>true</GenerateDebugInformation> + <OptimizeReferences>true</OptimizeReferences> + <EnableCOMDATFolding>true</EnableCOMDATFolding> + <TargetMachine>MachineX86</TargetMachine> + </Link> + </ItemDefinitionGroup> + <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Memento|Win32'"> + <ClCompile> + <Optimization>Disabled</Optimization> + <AdditionalIncludeDirectories>..\fitz;..\pdf;..\xps;..\cbz;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> + <PreprocessorDefinitions>FT2_BUILD_LIBRARY;OPJ_STATIC;MEMENTO=1;DEBUG=1;%(PreprocessorDefinitions)</PreprocessorDefinitions> + <MinimalRebuild>true</MinimalRebuild> + <BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks> + <RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary> + <WarningLevel>Level3</WarningLevel> + <DebugInformationFormat>EditAndContinue</DebugInformationFormat> + </ClCompile> + <Link> + <AdditionalDependencies>v8_base.lib;v8_snapshot.lib;ws2_32.lib;winmm.lib;%(AdditionalDependencies)</AdditionalDependencies> + <AdditionalLibraryDirectories>..\thirdparty\v8-3.9\Build\Debug\lib;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories> + <GenerateDebugInformation>true</GenerateDebugInformation> + <TargetMachine>MachineX86</TargetMachine> + </Link> + </ItemDefinitionGroup> + <ItemGroup> + <ClCompile Include="..\apps\jstest_main.c" /> + <ClCompile Include="..\apps\pdfapp.c" /> + </ItemGroup> + <ItemGroup> + <ClInclude Include="..\apps\pdfapp.h" /> + </ItemGroup> + <ItemGroup> + <ProjectReference Include="libmupdf-v8.vcxproj"> + <Project>{2e5dafdb-a060-4011-b760-32f6a3a4bc9d}</Project> + <ReferenceOutputAssembly>false</ReferenceOutputAssembly> + </ProjectReference> + <ProjectReference Include="libthirdparty.vcxproj"> + <Project>{5edcf4fd-0291-4fb9-8d96-d58957ca5e3c}</Project> + <ReferenceOutputAssembly>false</ReferenceOutputAssembly> + </ProjectReference> + </ItemGroup> + <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" /> + <ImportGroup Label="ExtensionTargets"> + </ImportGroup> +</Project>
\ No newline at end of file diff --git a/winRT/mupdf-v8.vcxproj b/winRT/mupdf-v8.vcxproj new file mode 100644 index 00000000..bbee0d9b --- /dev/null +++ b/winRT/mupdf-v8.vcxproj @@ -0,0 +1,145 @@ +<?xml version="1.0" encoding="utf-8"?> +<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> + <ItemGroup Label="ProjectConfigurations"> + <ProjectConfiguration Include="Debug|Win32"> + <Configuration>Debug</Configuration> + <Platform>Win32</Platform> + </ProjectConfiguration> + <ProjectConfiguration Include="Memento|Win32"> + <Configuration>Memento</Configuration> + <Platform>Win32</Platform> + </ProjectConfiguration> + <ProjectConfiguration Include="Release|Win32"> + <Configuration>Release</Configuration> + <Platform>Win32</Platform> + </ProjectConfiguration> + </ItemGroup> + <PropertyGroup Label="Globals"> + <ProjectGuid>{9035A4F3-4219-45A5-985D-FBF4D9609713}</ProjectGuid> + <RootNamespace>mupdf</RootNamespace> + </PropertyGroup> + <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" /> + <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Memento|Win32'" Label="Configuration"> + <ConfigurationType>Application</ConfigurationType> + <PlatformToolset>v110</PlatformToolset> + <CharacterSet>MultiByte</CharacterSet> + </PropertyGroup> + <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration"> + <ConfigurationType>Application</ConfigurationType> + <PlatformToolset>v110</PlatformToolset> + <CharacterSet>MultiByte</CharacterSet> + <WholeProgramOptimization>true</WholeProgramOptimization> + </PropertyGroup> + <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration"> + <ConfigurationType>Application</ConfigurationType> + <PlatformToolset>v110</PlatformToolset> + <CharacterSet>MultiByte</CharacterSet> + </PropertyGroup> + <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" /> + <ImportGroup Label="ExtensionSettings"> + </ImportGroup> + <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Memento|Win32'" Label="PropertySheets"> + <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> + </ImportGroup> + <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="PropertySheets"> + <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> + </ImportGroup> + <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="PropertySheets"> + <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> + </ImportGroup> + <PropertyGroup Label="UserMacros" /> + <PropertyGroup> + <_ProjectFileVersion>11.0.51106.1</_ProjectFileVersion> + </PropertyGroup> + <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'"> + <OutDir>$(Configuration)\</OutDir> + <IntDir>$(Configuration)\$(ProjectName)\</IntDir> + </PropertyGroup> + <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'"> + <OutDir>$(Configuration)\</OutDir> + <IntDir>$(Configuration)\$(ProjectName)\</IntDir> + </PropertyGroup> + <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Memento|Win32'"> + <OutDir>$(Configuration)\</OutDir> + <IntDir>$(Configuration)\$(ProjectName)\</IntDir> + </PropertyGroup> + <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'"> + <ClCompile> + <Optimization>Disabled</Optimization> + <AdditionalIncludeDirectories>..\fitz;..\pdf;..\xps;..\cbz;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> + <PreprocessorDefinitions>FT2_BUILD_LIBRARY;OPJ_STATIC;DEBUG=1;%(PreprocessorDefinitions)</PreprocessorDefinitions> + <MinimalRebuild>true</MinimalRebuild> + <BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks> + <RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary> + <WarningLevel>Level3</WarningLevel> + <DebugInformationFormat>EditAndContinue</DebugInformationFormat> + </ClCompile> + <Link> + <AdditionalOptions>/FORCE %(AdditionalOptions)</AdditionalOptions> + <AdditionalDependencies>v8_base.lib;v8_snapshot.lib;ws2_32.lib;winmm.lib;%(AdditionalDependencies)</AdditionalDependencies> + <AdditionalLibraryDirectories>..\thirdparty\v8-3.9\build\Debug\lib;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories> + <GenerateDebugInformation>true</GenerateDebugInformation> + <TargetMachine>MachineX86</TargetMachine> + </Link> + </ItemDefinitionGroup> + <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'"> + <ClCompile> + <Optimization>MaxSpeed</Optimization> + <IntrinsicFunctions>true</IntrinsicFunctions> + <AdditionalIncludeDirectories>..\fitz;..\pdf;..\xps;..\cbz;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> + <RuntimeLibrary>MultiThreaded</RuntimeLibrary> + <FunctionLevelLinking>true</FunctionLevelLinking> + <WarningLevel>Level3</WarningLevel> + <DebugInformationFormat>ProgramDatabase</DebugInformationFormat> + </ClCompile> + <Link> + <AdditionalDependencies>v8_base.lib;v8_snapshot.lib;ws2_32.lib;winmm.lib;%(AdditionalDependencies)</AdditionalDependencies> + <AdditionalLibraryDirectories>..\thirdparty\v8-3.9\Build\release\lib;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories> + <GenerateDebugInformation>true</GenerateDebugInformation> + <OptimizeReferences>true</OptimizeReferences> + <EnableCOMDATFolding>true</EnableCOMDATFolding> + <TargetMachine>MachineX86</TargetMachine> + </Link> + </ItemDefinitionGroup> + <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Memento|Win32'"> + <ClCompile> + <Optimization>Disabled</Optimization> + <AdditionalIncludeDirectories>..\fitz;..\pdf;..\xps;..\cbz;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> + <PreprocessorDefinitions>FT2_BUILD_LIBRARY;OPJ_STATIC;MEMENTO=1;DEBUG=1;%(PreprocessorDefinitions)</PreprocessorDefinitions> + <MinimalRebuild>true</MinimalRebuild> + <BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks> + <RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary> + <WarningLevel>Level3</WarningLevel> + <DebugInformationFormat>EditAndContinue</DebugInformationFormat> + </ClCompile> + <Link> + <AdditionalDependencies>v8_base.lib;v8_snapshot.lib;ws2_32.lib;winmm.lib;%(AdditionalDependencies)</AdditionalDependencies> + <AdditionalLibraryDirectories>..\thirdparty\v8-3.9\Build\Debug\lib;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories> + <GenerateDebugInformation>true</GenerateDebugInformation> + <TargetMachine>MachineX86</TargetMachine> + </Link> + </ItemDefinitionGroup> + <ItemGroup> + <ClCompile Include="..\apps\pdfapp.c" /> + <ClCompile Include="..\apps\win_main.c" /> + </ItemGroup> + <ItemGroup> + <ClInclude Include="..\apps\pdfapp.h" /> + </ItemGroup> + <ItemGroup> + <ResourceCompile Include="..\apps\win_res.rc" /> + </ItemGroup> + <ItemGroup> + <ProjectReference Include="libmupdf-v8.vcxproj"> + <Project>{2e5dafdb-a060-4011-b760-32f6a3a4bc9d}</Project> + <ReferenceOutputAssembly>false</ReferenceOutputAssembly> + </ProjectReference> + <ProjectReference Include="libthirdparty.vcxproj"> + <Project>{5edcf4fd-0291-4fb9-8d96-d58957ca5e3c}</Project> + <ReferenceOutputAssembly>false</ReferenceOutputAssembly> + </ProjectReference> + </ItemGroup> + <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" /> + <ImportGroup Label="ExtensionTargets"> + </ImportGroup> +</Project>
\ No newline at end of file diff --git a/winRT/mupdf.sln b/winRT/mupdf.sln new file mode 100644 index 00000000..794b32e0 --- /dev/null +++ b/winRT/mupdf.sln @@ -0,0 +1,194 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio 2012 +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "mupdf", "mupdf.vcxproj", "{E74F29F0-FA43-4ADC-B92C-6AFA08E4A417}" +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "libthirdparty", "libthirdparty.vcxproj", "{5EDCF4FD-0291-4FB9-8D96-D58957CA5E3C}" +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "libmupdf", "libmupdf.vcxproj", "{5F615F91-DFF8-4F05-BF48-6222B7D86519}" +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "mudraw", "mudraw.vcxproj", "{0B51171B-B10E-4EAC-8FFA-19226A1828A3}" +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "mutool", "mutool.vcxproj", "{00811970-815B-4F64-BC9D-219078B1F3AA}" +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "generated", "generated.vcxproj", "{A5053AA7-02E5-4903-B596-04F17AEB1526}" +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "libmupdf-v8", "libmupdf-v8.vcxproj", "{2E5DAFDB-A060-4011-B760-32F6A3A4BC9D}" +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "mupdf-v8", "mupdf-v8.vcxproj", "{9035A4F3-4219-45A5-985D-FBF4D9609713}" +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "mujstest-v8", "mujstest-v8.vcxproj", "{21E28758-E4D2-4B84-8EC5-B631CEE66B30}" +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "libmupdf-nov8", "libmupdf-nov8.vcxproj", "{EC81A9F3-88A6-4170-B7B4-C41CB789A7F6}" +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "winapp", "winapp\winapp.vcxproj", "{35C27DF7-0CF2-413E-9C7A-6436AFEE5D4E}" + ProjectSection(ProjectDependencies) = postProject + {5F615F91-DFF8-4F05-BF48-6222B7D86519} = {5F615F91-DFF8-4F05-BF48-6222B7D86519} + {EC81A9F3-88A6-4170-B7B4-C41CB789A7F6} = {EC81A9F3-88A6-4170-B7B4-C41CB789A7F6} + EndProjectSection +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|ARM = Debug|ARM + Debug|Win32 = Debug|Win32 + Debug|x64 = Debug|x64 + Memento|ARM = Memento|ARM + Memento|Win32 = Memento|Win32 + Memento|x64 = Memento|x64 + Release|ARM = Release|ARM + Release|Win32 = Release|Win32 + Release|x64 = Release|x64 + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {E74F29F0-FA43-4ADC-B92C-6AFA08E4A417}.Debug|ARM.ActiveCfg = Debug|Win32 + {E74F29F0-FA43-4ADC-B92C-6AFA08E4A417}.Debug|Win32.ActiveCfg = Debug|Win32 + {E74F29F0-FA43-4ADC-B92C-6AFA08E4A417}.Debug|Win32.Build.0 = Debug|Win32 + {E74F29F0-FA43-4ADC-B92C-6AFA08E4A417}.Debug|x64.ActiveCfg = Debug|Win32 + {E74F29F0-FA43-4ADC-B92C-6AFA08E4A417}.Memento|ARM.ActiveCfg = Memento|Win32 + {E74F29F0-FA43-4ADC-B92C-6AFA08E4A417}.Memento|Win32.ActiveCfg = Memento|Win32 + {E74F29F0-FA43-4ADC-B92C-6AFA08E4A417}.Memento|Win32.Build.0 = Memento|Win32 + {E74F29F0-FA43-4ADC-B92C-6AFA08E4A417}.Memento|x64.ActiveCfg = Memento|Win32 + {E74F29F0-FA43-4ADC-B92C-6AFA08E4A417}.Release|ARM.ActiveCfg = Release|Win32 + {E74F29F0-FA43-4ADC-B92C-6AFA08E4A417}.Release|Win32.ActiveCfg = Release|Win32 + {E74F29F0-FA43-4ADC-B92C-6AFA08E4A417}.Release|Win32.Build.0 = Release|Win32 + {E74F29F0-FA43-4ADC-B92C-6AFA08E4A417}.Release|x64.ActiveCfg = Release|Win32 + {5EDCF4FD-0291-4FB9-8D96-D58957CA5E3C}.Debug|ARM.ActiveCfg = Debug|Win32 + {5EDCF4FD-0291-4FB9-8D96-D58957CA5E3C}.Debug|Win32.ActiveCfg = Debug|Win32 + {5EDCF4FD-0291-4FB9-8D96-D58957CA5E3C}.Debug|Win32.Build.0 = Debug|Win32 + {5EDCF4FD-0291-4FB9-8D96-D58957CA5E3C}.Debug|x64.ActiveCfg = Debug|Win32 + {5EDCF4FD-0291-4FB9-8D96-D58957CA5E3C}.Memento|ARM.ActiveCfg = Memento|Win32 + {5EDCF4FD-0291-4FB9-8D96-D58957CA5E3C}.Memento|Win32.ActiveCfg = Memento|Win32 + {5EDCF4FD-0291-4FB9-8D96-D58957CA5E3C}.Memento|Win32.Build.0 = Memento|Win32 + {5EDCF4FD-0291-4FB9-8D96-D58957CA5E3C}.Memento|x64.ActiveCfg = Memento|Win32 + {5EDCF4FD-0291-4FB9-8D96-D58957CA5E3C}.Release|ARM.ActiveCfg = Release|Win32 + {5EDCF4FD-0291-4FB9-8D96-D58957CA5E3C}.Release|Win32.ActiveCfg = Release|Win32 + {5EDCF4FD-0291-4FB9-8D96-D58957CA5E3C}.Release|Win32.Build.0 = Release|Win32 + {5EDCF4FD-0291-4FB9-8D96-D58957CA5E3C}.Release|x64.ActiveCfg = Release|Win32 + {5F615F91-DFF8-4F05-BF48-6222B7D86519}.Debug|ARM.ActiveCfg = Debug|Win32 + {5F615F91-DFF8-4F05-BF48-6222B7D86519}.Debug|Win32.ActiveCfg = Debug|Win32 + {5F615F91-DFF8-4F05-BF48-6222B7D86519}.Debug|Win32.Build.0 = Debug|Win32 + {5F615F91-DFF8-4F05-BF48-6222B7D86519}.Debug|x64.ActiveCfg = Debug|Win32 + {5F615F91-DFF8-4F05-BF48-6222B7D86519}.Memento|ARM.ActiveCfg = Memento|Win32 + {5F615F91-DFF8-4F05-BF48-6222B7D86519}.Memento|Win32.ActiveCfg = Memento|Win32 + {5F615F91-DFF8-4F05-BF48-6222B7D86519}.Memento|Win32.Build.0 = Memento|Win32 + {5F615F91-DFF8-4F05-BF48-6222B7D86519}.Memento|x64.ActiveCfg = Memento|Win32 + {5F615F91-DFF8-4F05-BF48-6222B7D86519}.Release|ARM.ActiveCfg = Release|Win32 + {5F615F91-DFF8-4F05-BF48-6222B7D86519}.Release|Win32.ActiveCfg = Release|Win32 + {5F615F91-DFF8-4F05-BF48-6222B7D86519}.Release|Win32.Build.0 = Release|Win32 + {5F615F91-DFF8-4F05-BF48-6222B7D86519}.Release|x64.ActiveCfg = Release|Win32 + {0B51171B-B10E-4EAC-8FFA-19226A1828A3}.Debug|ARM.ActiveCfg = Debug|Win32 + {0B51171B-B10E-4EAC-8FFA-19226A1828A3}.Debug|Win32.ActiveCfg = Debug|Win32 + {0B51171B-B10E-4EAC-8FFA-19226A1828A3}.Debug|Win32.Build.0 = Debug|Win32 + {0B51171B-B10E-4EAC-8FFA-19226A1828A3}.Debug|x64.ActiveCfg = Debug|Win32 + {0B51171B-B10E-4EAC-8FFA-19226A1828A3}.Memento|ARM.ActiveCfg = Memento|Win32 + {0B51171B-B10E-4EAC-8FFA-19226A1828A3}.Memento|Win32.ActiveCfg = Memento|Win32 + {0B51171B-B10E-4EAC-8FFA-19226A1828A3}.Memento|Win32.Build.0 = Memento|Win32 + {0B51171B-B10E-4EAC-8FFA-19226A1828A3}.Memento|x64.ActiveCfg = Memento|Win32 + {0B51171B-B10E-4EAC-8FFA-19226A1828A3}.Release|ARM.ActiveCfg = Release|Win32 + {0B51171B-B10E-4EAC-8FFA-19226A1828A3}.Release|Win32.ActiveCfg = Release|Win32 + {0B51171B-B10E-4EAC-8FFA-19226A1828A3}.Release|Win32.Build.0 = Release|Win32 + {0B51171B-B10E-4EAC-8FFA-19226A1828A3}.Release|x64.ActiveCfg = Release|Win32 + {00811970-815B-4F64-BC9D-219078B1F3AA}.Debug|ARM.ActiveCfg = Debug|Win32 + {00811970-815B-4F64-BC9D-219078B1F3AA}.Debug|Win32.ActiveCfg = Debug|Win32 + {00811970-815B-4F64-BC9D-219078B1F3AA}.Debug|Win32.Build.0 = Debug|Win32 + {00811970-815B-4F64-BC9D-219078B1F3AA}.Debug|x64.ActiveCfg = Debug|Win32 + {00811970-815B-4F64-BC9D-219078B1F3AA}.Memento|ARM.ActiveCfg = Memento|Win32 + {00811970-815B-4F64-BC9D-219078B1F3AA}.Memento|Win32.ActiveCfg = Memento|Win32 + {00811970-815B-4F64-BC9D-219078B1F3AA}.Memento|Win32.Build.0 = Memento|Win32 + {00811970-815B-4F64-BC9D-219078B1F3AA}.Memento|x64.ActiveCfg = Memento|Win32 + {00811970-815B-4F64-BC9D-219078B1F3AA}.Release|ARM.ActiveCfg = Release|Win32 + {00811970-815B-4F64-BC9D-219078B1F3AA}.Release|Win32.ActiveCfg = Release|Win32 + {00811970-815B-4F64-BC9D-219078B1F3AA}.Release|Win32.Build.0 = Release|Win32 + {00811970-815B-4F64-BC9D-219078B1F3AA}.Release|x64.ActiveCfg = Release|Win32 + {A5053AA7-02E5-4903-B596-04F17AEB1526}.Debug|ARM.ActiveCfg = Debug|Win32 + {A5053AA7-02E5-4903-B596-04F17AEB1526}.Debug|Win32.ActiveCfg = Debug|Win32 + {A5053AA7-02E5-4903-B596-04F17AEB1526}.Debug|Win32.Build.0 = Debug|Win32 + {A5053AA7-02E5-4903-B596-04F17AEB1526}.Debug|x64.ActiveCfg = Debug|Win32 + {A5053AA7-02E5-4903-B596-04F17AEB1526}.Memento|ARM.ActiveCfg = Memento|Win32 + {A5053AA7-02E5-4903-B596-04F17AEB1526}.Memento|Win32.ActiveCfg = Memento|Win32 + {A5053AA7-02E5-4903-B596-04F17AEB1526}.Memento|Win32.Build.0 = Memento|Win32 + {A5053AA7-02E5-4903-B596-04F17AEB1526}.Memento|x64.ActiveCfg = Memento|Win32 + {A5053AA7-02E5-4903-B596-04F17AEB1526}.Release|ARM.ActiveCfg = Release|Win32 + {A5053AA7-02E5-4903-B596-04F17AEB1526}.Release|Win32.ActiveCfg = Release|Win32 + {A5053AA7-02E5-4903-B596-04F17AEB1526}.Release|Win32.Build.0 = Release|Win32 + {A5053AA7-02E5-4903-B596-04F17AEB1526}.Release|x64.ActiveCfg = Release|Win32 + {2E5DAFDB-A060-4011-B760-32F6A3A4BC9D}.Debug|ARM.ActiveCfg = Debug|Win32 + {2E5DAFDB-A060-4011-B760-32F6A3A4BC9D}.Debug|Win32.ActiveCfg = Debug|Win32 + {2E5DAFDB-A060-4011-B760-32F6A3A4BC9D}.Debug|Win32.Build.0 = Debug|Win32 + {2E5DAFDB-A060-4011-B760-32F6A3A4BC9D}.Debug|x64.ActiveCfg = Debug|Win32 + {2E5DAFDB-A060-4011-B760-32F6A3A4BC9D}.Memento|ARM.ActiveCfg = Memento|Win32 + {2E5DAFDB-A060-4011-B760-32F6A3A4BC9D}.Memento|Win32.ActiveCfg = Memento|Win32 + {2E5DAFDB-A060-4011-B760-32F6A3A4BC9D}.Memento|Win32.Build.0 = Memento|Win32 + {2E5DAFDB-A060-4011-B760-32F6A3A4BC9D}.Memento|x64.ActiveCfg = Memento|Win32 + {2E5DAFDB-A060-4011-B760-32F6A3A4BC9D}.Release|ARM.ActiveCfg = Release|Win32 + {2E5DAFDB-A060-4011-B760-32F6A3A4BC9D}.Release|Win32.ActiveCfg = Release|Win32 + {2E5DAFDB-A060-4011-B760-32F6A3A4BC9D}.Release|Win32.Build.0 = Release|Win32 + {2E5DAFDB-A060-4011-B760-32F6A3A4BC9D}.Release|x64.ActiveCfg = Release|Win32 + {9035A4F3-4219-45A5-985D-FBF4D9609713}.Debug|ARM.ActiveCfg = Debug|Win32 + {9035A4F3-4219-45A5-985D-FBF4D9609713}.Debug|Win32.ActiveCfg = Debug|Win32 + {9035A4F3-4219-45A5-985D-FBF4D9609713}.Debug|Win32.Build.0 = Debug|Win32 + {9035A4F3-4219-45A5-985D-FBF4D9609713}.Debug|x64.ActiveCfg = Debug|Win32 + {9035A4F3-4219-45A5-985D-FBF4D9609713}.Memento|ARM.ActiveCfg = Memento|Win32 + {9035A4F3-4219-45A5-985D-FBF4D9609713}.Memento|Win32.ActiveCfg = Memento|Win32 + {9035A4F3-4219-45A5-985D-FBF4D9609713}.Memento|Win32.Build.0 = Memento|Win32 + {9035A4F3-4219-45A5-985D-FBF4D9609713}.Memento|x64.ActiveCfg = Memento|Win32 + {9035A4F3-4219-45A5-985D-FBF4D9609713}.Release|ARM.ActiveCfg = Release|Win32 + {9035A4F3-4219-45A5-985D-FBF4D9609713}.Release|Win32.ActiveCfg = Release|Win32 + {9035A4F3-4219-45A5-985D-FBF4D9609713}.Release|Win32.Build.0 = Release|Win32 + {9035A4F3-4219-45A5-985D-FBF4D9609713}.Release|x64.ActiveCfg = Release|Win32 + {21E28758-E4D2-4B84-8EC5-B631CEE66B30}.Debug|ARM.ActiveCfg = Debug|Win32 + {21E28758-E4D2-4B84-8EC5-B631CEE66B30}.Debug|Win32.ActiveCfg = Debug|Win32 + {21E28758-E4D2-4B84-8EC5-B631CEE66B30}.Debug|Win32.Build.0 = Debug|Win32 + {21E28758-E4D2-4B84-8EC5-B631CEE66B30}.Debug|x64.ActiveCfg = Debug|Win32 + {21E28758-E4D2-4B84-8EC5-B631CEE66B30}.Memento|ARM.ActiveCfg = Memento|Win32 + {21E28758-E4D2-4B84-8EC5-B631CEE66B30}.Memento|Win32.ActiveCfg = Memento|Win32 + {21E28758-E4D2-4B84-8EC5-B631CEE66B30}.Memento|Win32.Build.0 = Memento|Win32 + {21E28758-E4D2-4B84-8EC5-B631CEE66B30}.Memento|x64.ActiveCfg = Memento|Win32 + {21E28758-E4D2-4B84-8EC5-B631CEE66B30}.Release|ARM.ActiveCfg = Release|Win32 + {21E28758-E4D2-4B84-8EC5-B631CEE66B30}.Release|Win32.ActiveCfg = Release|Win32 + {21E28758-E4D2-4B84-8EC5-B631CEE66B30}.Release|Win32.Build.0 = Release|Win32 + {21E28758-E4D2-4B84-8EC5-B631CEE66B30}.Release|x64.ActiveCfg = Release|Win32 + {EC81A9F3-88A6-4170-B7B4-C41CB789A7F6}.Debug|ARM.ActiveCfg = Debug|Win32 + {EC81A9F3-88A6-4170-B7B4-C41CB789A7F6}.Debug|Win32.ActiveCfg = Debug|Win32 + {EC81A9F3-88A6-4170-B7B4-C41CB789A7F6}.Debug|Win32.Build.0 = Debug|Win32 + {EC81A9F3-88A6-4170-B7B4-C41CB789A7F6}.Debug|x64.ActiveCfg = Debug|Win32 + {EC81A9F3-88A6-4170-B7B4-C41CB789A7F6}.Memento|ARM.ActiveCfg = Memento|Win32 + {EC81A9F3-88A6-4170-B7B4-C41CB789A7F6}.Memento|Win32.ActiveCfg = Memento|Win32 + {EC81A9F3-88A6-4170-B7B4-C41CB789A7F6}.Memento|Win32.Build.0 = Memento|Win32 + {EC81A9F3-88A6-4170-B7B4-C41CB789A7F6}.Memento|x64.ActiveCfg = Memento|Win32 + {EC81A9F3-88A6-4170-B7B4-C41CB789A7F6}.Release|ARM.ActiveCfg = Release|Win32 + {EC81A9F3-88A6-4170-B7B4-C41CB789A7F6}.Release|Win32.ActiveCfg = Release|Win32 + {EC81A9F3-88A6-4170-B7B4-C41CB789A7F6}.Release|Win32.Build.0 = Release|Win32 + {EC81A9F3-88A6-4170-B7B4-C41CB789A7F6}.Release|x64.ActiveCfg = Release|Win32 + {35C27DF7-0CF2-413E-9C7A-6436AFEE5D4E}.Debug|ARM.ActiveCfg = Debug|ARM + {35C27DF7-0CF2-413E-9C7A-6436AFEE5D4E}.Debug|ARM.Build.0 = Debug|ARM + {35C27DF7-0CF2-413E-9C7A-6436AFEE5D4E}.Debug|ARM.Deploy.0 = Debug|ARM + {35C27DF7-0CF2-413E-9C7A-6436AFEE5D4E}.Debug|Win32.ActiveCfg = Debug|Win32 + {35C27DF7-0CF2-413E-9C7A-6436AFEE5D4E}.Debug|Win32.Build.0 = Debug|Win32 + {35C27DF7-0CF2-413E-9C7A-6436AFEE5D4E}.Debug|Win32.Deploy.0 = Debug|Win32 + {35C27DF7-0CF2-413E-9C7A-6436AFEE5D4E}.Debug|x64.ActiveCfg = Debug|x64 + {35C27DF7-0CF2-413E-9C7A-6436AFEE5D4E}.Debug|x64.Build.0 = Debug|x64 + {35C27DF7-0CF2-413E-9C7A-6436AFEE5D4E}.Debug|x64.Deploy.0 = Debug|x64 + {35C27DF7-0CF2-413E-9C7A-6436AFEE5D4E}.Memento|ARM.ActiveCfg = Release|ARM + {35C27DF7-0CF2-413E-9C7A-6436AFEE5D4E}.Memento|ARM.Build.0 = Release|ARM + {35C27DF7-0CF2-413E-9C7A-6436AFEE5D4E}.Memento|ARM.Deploy.0 = Release|ARM + {35C27DF7-0CF2-413E-9C7A-6436AFEE5D4E}.Memento|Win32.ActiveCfg = Release|Win32 + {35C27DF7-0CF2-413E-9C7A-6436AFEE5D4E}.Memento|Win32.Build.0 = Release|Win32 + {35C27DF7-0CF2-413E-9C7A-6436AFEE5D4E}.Memento|Win32.Deploy.0 = Release|Win32 + {35C27DF7-0CF2-413E-9C7A-6436AFEE5D4E}.Memento|x64.ActiveCfg = Release|x64 + {35C27DF7-0CF2-413E-9C7A-6436AFEE5D4E}.Memento|x64.Build.0 = Release|x64 + {35C27DF7-0CF2-413E-9C7A-6436AFEE5D4E}.Memento|x64.Deploy.0 = Release|x64 + {35C27DF7-0CF2-413E-9C7A-6436AFEE5D4E}.Release|ARM.ActiveCfg = Release|ARM + {35C27DF7-0CF2-413E-9C7A-6436AFEE5D4E}.Release|ARM.Build.0 = Release|ARM + {35C27DF7-0CF2-413E-9C7A-6436AFEE5D4E}.Release|ARM.Deploy.0 = Release|ARM + {35C27DF7-0CF2-413E-9C7A-6436AFEE5D4E}.Release|Win32.ActiveCfg = Release|Win32 + {35C27DF7-0CF2-413E-9C7A-6436AFEE5D4E}.Release|Win32.Build.0 = Release|Win32 + {35C27DF7-0CF2-413E-9C7A-6436AFEE5D4E}.Release|Win32.Deploy.0 = Release|Win32 + {35C27DF7-0CF2-413E-9C7A-6436AFEE5D4E}.Release|x64.ActiveCfg = Release|x64 + {35C27DF7-0CF2-413E-9C7A-6436AFEE5D4E}.Release|x64.Build.0 = Release|x64 + {35C27DF7-0CF2-413E-9C7A-6436AFEE5D4E}.Release|x64.Deploy.0 = Release|x64 + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal diff --git a/winRT/mupdf.vcxproj b/winRT/mupdf.vcxproj new file mode 100644 index 00000000..4425d15d --- /dev/null +++ b/winRT/mupdf.vcxproj @@ -0,0 +1,138 @@ +<?xml version="1.0" encoding="utf-8"?> +<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> + <ItemGroup Label="ProjectConfigurations"> + <ProjectConfiguration Include="Debug|Win32"> + <Configuration>Debug</Configuration> + <Platform>Win32</Platform> + </ProjectConfiguration> + <ProjectConfiguration Include="Memento|Win32"> + <Configuration>Memento</Configuration> + <Platform>Win32</Platform> + </ProjectConfiguration> + <ProjectConfiguration Include="Release|Win32"> + <Configuration>Release</Configuration> + <Platform>Win32</Platform> + </ProjectConfiguration> + </ItemGroup> + <PropertyGroup Label="Globals"> + <ProjectGuid>{E74F29F0-FA43-4ADC-B92C-6AFA08E4A417}</ProjectGuid> + <RootNamespace>mupdf</RootNamespace> + </PropertyGroup> + <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" /> + <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Memento|Win32'" Label="Configuration"> + <ConfigurationType>Application</ConfigurationType> + <PlatformToolset>v110</PlatformToolset> + <CharacterSet>MultiByte</CharacterSet> + </PropertyGroup> + <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration"> + <ConfigurationType>Application</ConfigurationType> + <PlatformToolset>v110</PlatformToolset> + <CharacterSet>MultiByte</CharacterSet> + <WholeProgramOptimization>true</WholeProgramOptimization> + </PropertyGroup> + <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration"> + <ConfigurationType>Application</ConfigurationType> + <PlatformToolset>v110</PlatformToolset> + <CharacterSet>MultiByte</CharacterSet> + </PropertyGroup> + <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" /> + <ImportGroup Label="ExtensionSettings"> + </ImportGroup> + <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Memento|Win32'" Label="PropertySheets"> + <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> + </ImportGroup> + <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="PropertySheets"> + <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> + </ImportGroup> + <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="PropertySheets"> + <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> + </ImportGroup> + <PropertyGroup Label="UserMacros" /> + <PropertyGroup> + <_ProjectFileVersion>11.0.51106.1</_ProjectFileVersion> + </PropertyGroup> + <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'"> + <OutDir>$(Configuration)\</OutDir> + <IntDir>$(Configuration)\$(ProjectName)\</IntDir> + </PropertyGroup> + <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'"> + <OutDir>$(Configuration)\</OutDir> + <IntDir>$(Configuration)\$(ProjectName)\</IntDir> + </PropertyGroup> + <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Memento|Win32'"> + <OutDir>$(Configuration)\</OutDir> + <IntDir>$(Configuration)\$(ProjectName)\</IntDir> + </PropertyGroup> + <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'"> + <ClCompile> + <Optimization>Disabled</Optimization> + <AdditionalIncludeDirectories>..\fitz;..\pdf;..\xps;..\cbz;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> + <PreprocessorDefinitions>FT2_BUILD_LIBRARY;OPJ_STATIC;DEBUG=1;%(PreprocessorDefinitions)</PreprocessorDefinitions> + <MinimalRebuild>true</MinimalRebuild> + <BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks> + <RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary> + <WarningLevel>Level3</WarningLevel> + <DebugInformationFormat>EditAndContinue</DebugInformationFormat> + </ClCompile> + <Link> + <GenerateDebugInformation>true</GenerateDebugInformation> + <TargetMachine>MachineX86</TargetMachine> + </Link> + </ItemDefinitionGroup> + <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'"> + <ClCompile> + <Optimization>MaxSpeed</Optimization> + <IntrinsicFunctions>true</IntrinsicFunctions> + <AdditionalIncludeDirectories>..\fitz;..\pdf;..\xps;..\cbz;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> + <RuntimeLibrary>MultiThreaded</RuntimeLibrary> + <FunctionLevelLinking>true</FunctionLevelLinking> + <WarningLevel>Level3</WarningLevel> + <DebugInformationFormat>ProgramDatabase</DebugInformationFormat> + </ClCompile> + <Link> + <GenerateDebugInformation>true</GenerateDebugInformation> + <OptimizeReferences>true</OptimizeReferences> + <EnableCOMDATFolding>true</EnableCOMDATFolding> + <TargetMachine>MachineX86</TargetMachine> + </Link> + </ItemDefinitionGroup> + <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Memento|Win32'"> + <ClCompile> + <Optimization>Disabled</Optimization> + <AdditionalIncludeDirectories>..\fitz;..\pdf;..\xps;..\cbz;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> + <PreprocessorDefinitions>FT2_BUILD_LIBRARY;OPJ_STATIC;MEMENTO=1;DEBUG=1;%(PreprocessorDefinitions)</PreprocessorDefinitions> + <MinimalRebuild>true</MinimalRebuild> + <BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks> + <RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary> + <WarningLevel>Level3</WarningLevel> + <DebugInformationFormat>EditAndContinue</DebugInformationFormat> + </ClCompile> + <Link> + <GenerateDebugInformation>true</GenerateDebugInformation> + <TargetMachine>MachineX86</TargetMachine> + </Link> + </ItemDefinitionGroup> + <ItemGroup> + <ClCompile Include="..\apps\pdfapp.c" /> + <ClCompile Include="..\apps\win_main.c" /> + </ItemGroup> + <ItemGroup> + <ClInclude Include="..\apps\pdfapp.h" /> + </ItemGroup> + <ItemGroup> + <ResourceCompile Include="..\apps\win_res.rc" /> + </ItemGroup> + <ItemGroup> + <ProjectReference Include="libmupdf-nov8.vcxproj"> + <Project>{ec81a9f3-88a6-4170-b7b4-c41cb789a7f6}</Project> + <ReferenceOutputAssembly>false</ReferenceOutputAssembly> + </ProjectReference> + <ProjectReference Include="libthirdparty.vcxproj"> + <Project>{5edcf4fd-0291-4fb9-8d96-d58957ca5e3c}</Project> + <ReferenceOutputAssembly>false</ReferenceOutputAssembly> + </ProjectReference> + </ItemGroup> + <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" /> + <ImportGroup Label="ExtensionTargets"> + </ImportGroup> +</Project>
\ No newline at end of file diff --git a/winRT/mutool.vcxproj b/winRT/mutool.vcxproj new file mode 100644 index 00000000..7e95d9bc --- /dev/null +++ b/winRT/mutool.vcxproj @@ -0,0 +1,136 @@ +<?xml version="1.0" encoding="utf-8"?> +<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> + <ItemGroup Label="ProjectConfigurations"> + <ProjectConfiguration Include="Debug|Win32"> + <Configuration>Debug</Configuration> + <Platform>Win32</Platform> + </ProjectConfiguration> + <ProjectConfiguration Include="Memento|Win32"> + <Configuration>Memento</Configuration> + <Platform>Win32</Platform> + </ProjectConfiguration> + <ProjectConfiguration Include="Release|Win32"> + <Configuration>Release</Configuration> + <Platform>Win32</Platform> + </ProjectConfiguration> + </ItemGroup> + <PropertyGroup Label="Globals"> + <ProjectGuid>{00811970-815B-4F64-BC9D-219078B1F3AA}</ProjectGuid> + <RootNamespace>mupdf</RootNamespace> + </PropertyGroup> + <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" /> + <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Memento|Win32'" Label="Configuration"> + <ConfigurationType>Application</ConfigurationType> + <PlatformToolset>v110</PlatformToolset> + <CharacterSet>MultiByte</CharacterSet> + </PropertyGroup> + <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration"> + <ConfigurationType>Application</ConfigurationType> + <PlatformToolset>v110</PlatformToolset> + <CharacterSet>MultiByte</CharacterSet> + <WholeProgramOptimization>true</WholeProgramOptimization> + </PropertyGroup> + <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration"> + <ConfigurationType>Application</ConfigurationType> + <PlatformToolset>v110</PlatformToolset> + <CharacterSet>MultiByte</CharacterSet> + </PropertyGroup> + <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" /> + <ImportGroup Label="ExtensionSettings"> + </ImportGroup> + <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Memento|Win32'" Label="PropertySheets"> + <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> + </ImportGroup> + <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="PropertySheets"> + <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> + </ImportGroup> + <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="PropertySheets"> + <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> + </ImportGroup> + <PropertyGroup Label="UserMacros" /> + <PropertyGroup> + <_ProjectFileVersion>11.0.51106.1</_ProjectFileVersion> + </PropertyGroup> + <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'"> + <OutDir>$(Configuration)\</OutDir> + <IntDir>$(Configuration)\$(ProjectName)\</IntDir> + </PropertyGroup> + <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'"> + <OutDir>$(Configuration)\</OutDir> + <IntDir>$(Configuration)\$(ProjectName)\</IntDir> + </PropertyGroup> + <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Memento|Win32'"> + <OutDir>$(Configuration)\</OutDir> + <IntDir>$(Configuration)\$(ProjectName)\</IntDir> + </PropertyGroup> + <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'"> + <ClCompile> + <Optimization>Disabled</Optimization> + <AdditionalIncludeDirectories>..\fitz;..\pdf;..\xps;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> + <PreprocessorDefinitions>DEBUG=1;%(PreprocessorDefinitions)</PreprocessorDefinitions> + <MinimalRebuild>true</MinimalRebuild> + <BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks> + <RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary> + <WarningLevel>Level3</WarningLevel> + <DebugInformationFormat>EditAndContinue</DebugInformationFormat> + </ClCompile> + <Link> + <GenerateDebugInformation>true</GenerateDebugInformation> + <TargetMachine>MachineX86</TargetMachine> + </Link> + </ItemDefinitionGroup> + <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'"> + <ClCompile> + <Optimization>MaxSpeed</Optimization> + <IntrinsicFunctions>true</IntrinsicFunctions> + <AdditionalIncludeDirectories>..\fitz;..\pdf;..\xps;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> + <RuntimeLibrary>MultiThreaded</RuntimeLibrary> + <FunctionLevelLinking>true</FunctionLevelLinking> + <WarningLevel>Level3</WarningLevel> + <DebugInformationFormat>ProgramDatabase</DebugInformationFormat> + </ClCompile> + <Link> + <GenerateDebugInformation>true</GenerateDebugInformation> + <OptimizeReferences>true</OptimizeReferences> + <EnableCOMDATFolding>true</EnableCOMDATFolding> + <TargetMachine>MachineX86</TargetMachine> + </Link> + </ItemDefinitionGroup> + <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Memento|Win32'"> + <ClCompile> + <Optimization>Disabled</Optimization> + <AdditionalIncludeDirectories>..\fitz;..\pdf;..\xps;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> + <PreprocessorDefinitions>MEMENTO=1;DEBUG=1;%(PreprocessorDefinitions)</PreprocessorDefinitions> + <MinimalRebuild>true</MinimalRebuild> + <BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks> + <RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary> + <WarningLevel>Level3</WarningLevel> + <DebugInformationFormat>EditAndContinue</DebugInformationFormat> + </ClCompile> + <Link> + <GenerateDebugInformation>true</GenerateDebugInformation> + <TargetMachine>MachineX86</TargetMachine> + </Link> + </ItemDefinitionGroup> + <ItemGroup> + <ClCompile Include="..\apps\mutool.c" /> + <ClCompile Include="..\apps\pdfclean.c" /> + <ClCompile Include="..\apps\pdfextract.c" /> + <ClCompile Include="..\apps\pdfinfo.c" /> + <ClCompile Include="..\apps\pdfposter.c" /> + <ClCompile Include="..\apps\pdfshow.c" /> + </ItemGroup> + <ItemGroup> + <ProjectReference Include="libmupdf-nov8.vcxproj"> + <Project>{ec81a9f3-88a6-4170-b7b4-c41cb789a7f6}</Project> + <ReferenceOutputAssembly>false</ReferenceOutputAssembly> + </ProjectReference> + <ProjectReference Include="libthirdparty.vcxproj"> + <Project>{5edcf4fd-0291-4fb9-8d96-d58957ca5e3c}</Project> + <ReferenceOutputAssembly>false</ReferenceOutputAssembly> + </ProjectReference> + </ItemGroup> + <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" /> + <ImportGroup Label="ExtensionTargets"> + </ImportGroup> +</Project>
\ No newline at end of file diff --git a/winRT/winapp/App.xaml b/winRT/winapp/App.xaml new file mode 100644 index 00000000..59d289e0 --- /dev/null +++ b/winRT/winapp/App.xaml @@ -0,0 +1,20 @@ +<Application + x:Class="winapp.App" + xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" + xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" + xmlns:local="using:winapp"> + + <Application.Resources> + <ResourceDictionary> + <ResourceDictionary.MergedDictionaries> + + <!-- + Styles that define common aspects of the platform look and feel + Required by Visual Studio project and item templates + --> + <ResourceDictionary Source="Common/StandardStyles.xaml"/> + </ResourceDictionary.MergedDictionaries> + + </ResourceDictionary> + </Application.Resources> +</Application> diff --git a/winRT/winapp/App.xaml.cpp b/winRT/winapp/App.xaml.cpp new file mode 100644 index 00000000..d51b19bb --- /dev/null +++ b/winRT/winapp/App.xaml.cpp @@ -0,0 +1,109 @@ +// +// App.xaml.cpp +// Implementation of the App class. +// + +#include "pch.h" +#include "MainPage.xaml.h" + + +using namespace winapp; + +using namespace Platform; +using namespace Windows::ApplicationModel; +using namespace Windows::ApplicationModel::Activation; +using namespace Windows::Foundation; +using namespace Windows::Foundation::Collections; +using namespace Windows::UI::Xaml; +using namespace Windows::UI::Xaml::Controls; +using namespace Windows::UI::Xaml::Controls::Primitives; +using namespace Windows::UI::Xaml::Data; +using namespace Windows::UI::Xaml::Input; +using namespace Windows::UI::Xaml::Interop; +using namespace Windows::UI::Xaml::Media; +using namespace Windows::UI::Xaml::Navigation; + + +// The Blank Application template is documented at http://go.microsoft.com/fwlink/?LinkId=234227 + +/// <summary> +/// Initializes the singleton application object. This is the first line of authored code +/// executed, and as such is the logical equivalent of main() or WinMain(). +/// </summary> +App::App() +{ + InitializeComponent(); + Suspending += ref new SuspendingEventHandler(this, &App::OnSuspending); +} + +/// <summary> +/// Invoked when the application is launched normally by the end user. Other entry points +/// will be used when the application is launched to open a specific file, to display +/// search results, and so forth. +/// </summary> +/// <param name="args">Details about the launch request and process.</param> +void App::OnLaunched(Windows::ApplicationModel::Activation::LaunchActivatedEventArgs^ args) +{ + auto rootFrame = dynamic_cast<Frame^>(Window::Current->Content); + + // Do not repeat app initialization when the Window already has content, + // just ensure that the window is active + if (rootFrame == nullptr) + { + // Create a Frame to act as the navigation context and associate it with + // a SuspensionManager key + rootFrame = ref new Frame(); + + if (args->PreviousExecutionState == ApplicationExecutionState::Terminated) + { + // TODO: Restore the saved session state only when appropriate, scheduling the + // final launch steps after the restore is complete + + } + + if (rootFrame->Content == nullptr) + { + // When the navigation stack isn't restored navigate to the first page, + // configuring the new page by passing required information as a navigation + // parameter + if (!rootFrame->Navigate(TypeName(MainPage::typeid), args->Arguments)) + { + throw ref new FailureException("Failed to create initial page"); + } + } + // Place the frame in the current Window + Window::Current->Content = rootFrame; + // Ensure the current window is active + Window::Current->Activate(); + } + else + { + if (rootFrame->Content == nullptr) + { + // When the navigation stack isn't restored navigate to the first page, + // configuring the new page by passing required information as a navigation + // parameter + if (!rootFrame->Navigate(TypeName(MainPage::typeid), args->Arguments)) + { + throw ref new FailureException("Failed to create initial page"); + } + } + // Ensure the current window is active + Window::Current->Activate(); + } +} + +/// <summary> +/// Invoked when application execution is being suspended. Application state is saved +/// without knowing whether the application will be terminated or resumed with the contents +/// of memory still intact. +/// </summary> +/// <param name="sender">The source of the suspend request.</param> +/// <param name="e">Details about the suspend request.</param> +void App::OnSuspending(Object^ sender, SuspendingEventArgs^ e) +{ + (void) sender; // Unused parameter + (void) e; // Unused parameter + + //TODO: Save application state and stop any background activity +} diff --git a/winRT/winapp/App.xaml.h b/winRT/winapp/App.xaml.h new file mode 100644 index 00000000..760d4eb9 --- /dev/null +++ b/winRT/winapp/App.xaml.h @@ -0,0 +1,25 @@ +// +// App.xaml.h +// Declaration of the App class. +// + +#pragma once + +#include "App.g.h" + + +namespace winapp +{ + /// <summary> + /// Provides application-specific behavior to supplement the default Application class. + /// </summary> + ref class App sealed + { + public: + App(); + virtual void OnLaunched(Windows::ApplicationModel::Activation::LaunchActivatedEventArgs^ args) override; + + private: + void OnSuspending(Platform::Object^ sender, Windows::ApplicationModel::SuspendingEventArgs^ e); + }; +} diff --git a/winRT/winapp/Assets/mupdf_logo.png b/winRT/winapp/Assets/mupdf_logo.png Binary files differnew file mode 100644 index 00000000..ba6b005d --- /dev/null +++ b/winRT/winapp/Assets/mupdf_logo.png diff --git a/winRT/winapp/Assets/mupdf_smallogo.png b/winRT/winapp/Assets/mupdf_smallogo.png Binary files differnew file mode 100644 index 00000000..15997f5c --- /dev/null +++ b/winRT/winapp/Assets/mupdf_smallogo.png diff --git a/winRT/winapp/Assets/mupdf_splash.png b/winRT/winapp/Assets/mupdf_splash.png Binary files differnew file mode 100644 index 00000000..5f011d17 --- /dev/null +++ b/winRT/winapp/Assets/mupdf_splash.png diff --git a/winRT/winapp/Assets/mupdf_storelogo.png b/winRT/winapp/Assets/mupdf_storelogo.png Binary files differnew file mode 100644 index 00000000..1b6473d4 --- /dev/null +++ b/winRT/winapp/Assets/mupdf_storelogo.png diff --git a/winRT/winapp/Common/StandardStyles.xaml b/winRT/winapp/Common/StandardStyles.xaml new file mode 100644 index 00000000..71c4e4ba --- /dev/null +++ b/winRT/winapp/Common/StandardStyles.xaml @@ -0,0 +1,1835 @@ +<!-- + This file contains XAML styles that simplify application development. + + These are not merely convenient, but are required by most Visual Studio project and item templates. + Removing, renaming, or otherwise modifying the content of these files may result in a project that + does not build, or that will not build once additional pages are added. If variations on these + styles are desired it is recommended that you copy the content under a new name and modify your + private copy. +--> + +<ResourceDictionary + xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" + xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"> + + <!-- Non-brush values that vary across themes --> + + <ResourceDictionary.ThemeDictionaries> + <ResourceDictionary x:Key="Default"> + <x:String x:Key="BackButtonGlyph"></x:String> + <x:String x:Key="BackButtonSnappedGlyph"></x:String> + </ResourceDictionary> + + <ResourceDictionary x:Key="HighContrast"> + <x:String x:Key="BackButtonGlyph"></x:String> + <x:String x:Key="BackButtonSnappedGlyph"></x:String> + </ResourceDictionary> + </ResourceDictionary.ThemeDictionaries> + + <x:String x:Key="ChevronGlyph"></x:String> + + <!-- RichTextBlock styles --> + + <Style x:Key="BasicRichTextStyle" TargetType="RichTextBlock"> + <Setter Property="Foreground" Value="{StaticResource ApplicationForegroundThemeBrush}"/> + <Setter Property="FontSize" Value="{StaticResource ControlContentThemeFontSize}"/> + <Setter Property="FontFamily" Value="{StaticResource ContentControlThemeFontFamily}"/> + <Setter Property="TextTrimming" Value="WordEllipsis"/> + <Setter Property="TextWrapping" Value="Wrap"/> + <Setter Property="Typography.StylisticSet20" Value="True"/> + <Setter Property="Typography.DiscretionaryLigatures" Value="True"/> + <Setter Property="Typography.CaseSensitiveForms" Value="True"/> + </Style> + + <Style x:Key="BaselineRichTextStyle" TargetType="RichTextBlock" BasedOn="{StaticResource BasicRichTextStyle}"> + <Setter Property="LineHeight" Value="20"/> + <Setter Property="LineStackingStrategy" Value="BlockLineHeight"/> + <!-- Properly align text along its baseline --> + <Setter Property="RenderTransform"> + <Setter.Value> + <TranslateTransform X="-1" Y="4"/> + </Setter.Value> + </Setter> + </Style> + + <Style x:Key="ItemRichTextStyle" TargetType="RichTextBlock" BasedOn="{StaticResource BaselineRichTextStyle}"/> + + <Style x:Key="BodyRichTextStyle" TargetType="RichTextBlock" BasedOn="{StaticResource BaselineRichTextStyle}"> + <Setter Property="FontWeight" Value="SemiLight"/> + </Style> + + <!-- TextBlock styles --> + + <Style x:Key="BasicTextStyle" TargetType="TextBlock"> + <Setter Property="Foreground" Value="{StaticResource ApplicationForegroundThemeBrush}"/> + <Setter Property="FontSize" Value="{StaticResource ControlContentThemeFontSize}"/> + <Setter Property="FontFamily" Value="{StaticResource ContentControlThemeFontFamily}"/> + <Setter Property="TextTrimming" Value="WordEllipsis"/> + <Setter Property="TextWrapping" Value="Wrap"/> + <Setter Property="Typography.StylisticSet20" Value="True"/> + <Setter Property="Typography.DiscretionaryLigatures" Value="True"/> + <Setter Property="Typography.CaseSensitiveForms" Value="True"/> + </Style> + + <Style x:Key="BaselineTextStyle" TargetType="TextBlock" BasedOn="{StaticResource BasicTextStyle}"> + <Setter Property="LineHeight" Value="20"/> + <Setter Property="LineStackingStrategy" Value="BlockLineHeight"/> + <!-- Properly align text along its baseline --> + <Setter Property="RenderTransform"> + <Setter.Value> + <TranslateTransform X="-1" Y="4"/> + </Setter.Value> + </Setter> + </Style> + + <Style x:Key="HeaderTextStyle" TargetType="TextBlock" BasedOn="{StaticResource BaselineTextStyle}"> + <Setter Property="FontSize" Value="56"/> + <Setter Property="FontWeight" Value="Light"/> + <Setter Property="LineHeight" Value="40"/> + <Setter Property="RenderTransform"> + <Setter.Value> + <TranslateTransform X="-2" Y="8"/> + </Setter.Value> + </Setter> + </Style> + + <Style x:Key="SubheaderTextStyle" TargetType="TextBlock" BasedOn="{StaticResource BaselineTextStyle}"> + <Setter Property="FontSize" Value="26.667"/> + <Setter Property="FontWeight" Value="Light"/> + <Setter Property="LineHeight" Value="30"/> + <Setter Property="RenderTransform"> + <Setter.Value> + <TranslateTransform X="-1" Y="6"/> + </Setter.Value> + </Setter> + </Style> + + <Style x:Key="TitleTextStyle" TargetType="TextBlock" BasedOn="{StaticResource BaselineTextStyle}"> + <Setter Property="FontWeight" Value="SemiBold"/> + </Style> + + <Style x:Key="SubtitleTextStyle" TargetType="TextBlock" BasedOn="{StaticResource BaselineTextStyle}"> + <Setter Property="FontWeight" Value="Normal"/> + </Style> + + <Style x:Key="ItemTextStyle" TargetType="TextBlock" BasedOn="{StaticResource BaselineTextStyle}"/> + + <Style x:Key="BodyTextStyle" TargetType="TextBlock" BasedOn="{StaticResource BaselineTextStyle}"> + <Setter Property="FontWeight" Value="SemiLight"/> + </Style> + + <Style x:Key="CaptionTextStyle" TargetType="TextBlock" BasedOn="{StaticResource BaselineTextStyle}"> + <Setter Property="FontSize" Value="12"/> + <Setter Property="Foreground" Value="{StaticResource ApplicationSecondaryForegroundThemeBrush}"/> + </Style> + + <Style x:Key="GroupHeaderTextStyle" TargetType="TextBlock"> + <Setter Property="FontFamily" Value="{StaticResource ContentControlThemeFontFamily}"/> + <Setter Property="TextTrimming" Value="WordEllipsis"/> + <Setter Property="TextWrapping" Value="NoWrap"/> + <Setter Property="Typography.StylisticSet20" Value="True"/> + <Setter Property="Typography.DiscretionaryLigatures" Value="True"/> + <Setter Property="Typography.CaseSensitiveForms" Value="True"/> + <Setter Property="FontSize" Value="26.667"/> + <Setter Property="LineStackingStrategy" Value="BlockLineHeight"/> + <Setter Property="FontWeight" Value="Light"/> + <Setter Property="LineHeight" Value="30"/> + <Setter Property="RenderTransform"> + <Setter.Value> + <TranslateTransform X="-1" Y="6"/> + </Setter.Value> + </Setter> + </Style> + + <!-- Button styles --> + + <!-- + TextButtonStyle is used to style a Button using subheader-styled text with no other adornment. There + are two styles that are based on TextButtonStyle (TextPrimaryButtonStyle and TextSecondaryButtonStyle) + which are used in the GroupedItemsPage as a group header and in the FileOpenPickerPage for triggering + commands. + --> + <Style x:Key="TextButtonStyle" TargetType="ButtonBase"> + <Setter Property="MinWidth" Value="0"/> + <Setter Property="MinHeight" Value="0"/> + <Setter Property="Template"> + <Setter.Value> + <ControlTemplate TargetType="ButtonBase"> + <Grid Background="Transparent"> + <ContentPresenter x:Name="Text" Content="{TemplateBinding Content}" /> + <Rectangle + x:Name="FocusVisualWhite" + IsHitTestVisible="False" + Stroke="{StaticResource FocusVisualWhiteStrokeThemeBrush}" + StrokeEndLineCap="Square" + StrokeDashArray="1,1" + Opacity="0" + StrokeDashOffset="1.5"/> + <Rectangle + x:Name="FocusVisualBlack" + IsHitTestVisible="False" + Stroke="{StaticResource FocusVisualBlackStrokeThemeBrush}" + StrokeEndLineCap="Square" + StrokeDashArray="1,1" + Opacity="0" + StrokeDashOffset="0.5"/> + <VisualStateManager.VisualStateGroups> + <VisualStateGroup x:Name="CommonStates"> + <VisualState x:Name="Normal"/> + <VisualState x:Name="PointerOver"> + <Storyboard> + <ObjectAnimationUsingKeyFrames Storyboard.TargetName="Text" Storyboard.TargetProperty="Foreground"> + <DiscreteObjectKeyFrame KeyTime="0" Value="{StaticResource ApplicationPointerOverForegroundThemeBrush}"/> + </ObjectAnimationUsingKeyFrames> + </Storyboard> + </VisualState> + <VisualState x:Name="Pressed"> + <Storyboard> + <ObjectAnimationUsingKeyFrames Storyboard.TargetName="Text" Storyboard.TargetProperty="Foreground"> + <DiscreteObjectKeyFrame KeyTime="0" Value="{StaticResource ApplicationPressedForegroundThemeBrush}"/> + </ObjectAnimationUsingKeyFrames> + </Storyboard> + </VisualState> + <VisualState x:Name="Disabled"> + <Storyboard> + <ObjectAnimationUsingKeyFrames Storyboard.TargetName="Text" Storyboard.TargetProperty="Foreground"> + <DiscreteObjectKeyFrame KeyTime="0" Value="{StaticResource ApplicationPressedForegroundThemeBrush}"/> + </ObjectAnimationUsingKeyFrames> + </Storyboard> + </VisualState> + </VisualStateGroup> + <VisualStateGroup x:Name="FocusStates"> + <VisualState x:Name="Focused"> + <Storyboard> + <DoubleAnimation Duration="0" To="1" Storyboard.TargetName="FocusVisualWhite" Storyboard.TargetProperty="Opacity"/> + <DoubleAnimation Duration="0" To="1" Storyboard.TargetName="FocusVisualBlack" Storyboard.TargetProperty="Opacity"/> + </Storyboard> + </VisualState> + <VisualState x:Name="Unfocused"/> + </VisualStateGroup> + <VisualStateGroup x:Name="CheckStates"> + <VisualState x:Name="Checked"/> + <VisualState x:Name="Unchecked"> + <Storyboard> + <ObjectAnimationUsingKeyFrames Storyboard.TargetName="Text" Storyboard.TargetProperty="Foreground"> + <DiscreteObjectKeyFrame KeyTime="0" Value="{StaticResource ApplicationSecondaryForegroundThemeBrush}"/> + </ObjectAnimationUsingKeyFrames> + </Storyboard> + </VisualState> + <VisualState x:Name="Indeterminate"/> + </VisualStateGroup> + </VisualStateManager.VisualStateGroups> + </Grid> + </ControlTemplate> + </Setter.Value> + </Setter> + </Style> + + <Style x:Key="TextPrimaryButtonStyle" TargetType="ButtonBase" BasedOn="{StaticResource TextButtonStyle}"> + <Setter Property="Foreground" Value="{StaticResource ApplicationHeaderForegroundThemeBrush}"/> + </Style> + + <Style x:Key="TextSecondaryButtonStyle" TargetType="ButtonBase" BasedOn="{StaticResource TextButtonStyle}"> + <Setter Property="Foreground" Value="{StaticResource ApplicationSecondaryForegroundThemeBrush}"/> + </Style> + + <!-- + TextRadioButtonStyle is used to style a RadioButton using subheader-styled text with no other adornment. + This style is used in the SearchResultsPage to allow selection among filters. + --> + <Style x:Key="TextRadioButtonStyle" TargetType="RadioButton" BasedOn="{StaticResource TextButtonStyle}"> + <Setter Property="Margin" Value="0,0,30,0"/> + </Style> + + <!-- + AppBarButtonStyle is used to style a Button (or ToggleButton) for use in an App Bar. Content will be centered + and should fit within the 40 pixel radius glyph provided. 16-point Segoe UI Symbol is used for content text + to simplify the use of glyphs from that font. AutomationProperties.Name is used for the text below the glyph. + --> + <Style x:Key="AppBarButtonStyle" TargetType="ButtonBase"> + <Setter Property="Foreground" Value="{StaticResource AppBarItemForegroundThemeBrush}"/> + <Setter Property="VerticalAlignment" Value="Stretch"/> + <Setter Property="FontFamily" Value="Segoe UI Symbol"/> + <Setter Property="FontWeight" Value="Normal"/> + <Setter Property="FontSize" Value="20"/> + <Setter Property="AutomationProperties.ItemType" Value="App Bar Button"/> + <Setter Property="Template"> + <Setter.Value> + <ControlTemplate TargetType="ButtonBase"> + <Grid x:Name="RootGrid" Width="100" Background="Transparent"> + <StackPanel VerticalAlignment="Top" Margin="0,12,0,11"> + <Grid Width="40" Height="40" Margin="0,0,0,5" HorizontalAlignment="Center"> + <TextBlock x:Name="BackgroundGlyph" Text="" FontFamily="Segoe UI Symbol" FontSize="53.333" Margin="-4,-19,0,0" Foreground="{StaticResource AppBarItemBackgroundThemeBrush}"/> + <TextBlock x:Name="OutlineGlyph" Text="" FontFamily="Segoe UI Symbol" FontSize="53.333" Margin="-4,-19,0,0"/> + <ContentPresenter x:Name="Content" HorizontalAlignment="Center" Margin="-1,-1,0,0" VerticalAlignment="Center"/> + </Grid> + <TextBlock + x:Name="TextLabel" + Text="{TemplateBinding AutomationProperties.Name}" + Foreground="{StaticResource AppBarItemForegroundThemeBrush}" + Margin="0,0,2,0" + FontSize="12" + TextAlignment="Center" + Width="88" + MaxHeight="32" + TextTrimming="WordEllipsis" + Style="{StaticResource BasicTextStyle}"/> + </StackPanel> + <Rectangle + x:Name="FocusVisualWhite" + IsHitTestVisible="False" + Stroke="{StaticResource FocusVisualWhiteStrokeThemeBrush}" + StrokeEndLineCap="Square" + StrokeDashArray="1,1" + Opacity="0" + StrokeDashOffset="1.5"/> + <Rectangle + x:Name="FocusVisualBlack" + IsHitTestVisible="False" + Stroke="{StaticResource FocusVisualBlackStrokeThemeBrush}" + StrokeEndLineCap="Square" + StrokeDashArray="1,1" + Opacity="0" + StrokeDashOffset="0.5"/> + + <VisualStateManager.VisualStateGroups> + <VisualStateGroup x:Name="ApplicationViewStates"> + <VisualState x:Name="FullScreenLandscape"/> + <VisualState x:Name="Filled"/> + <VisualState x:Name="FullScreenPortrait"> + <Storyboard> + <ObjectAnimationUsingKeyFrames Storyboard.TargetName="TextLabel" Storyboard.TargetProperty="Visibility"> + <DiscreteObjectKeyFrame KeyTime="0" Value="Collapsed"/> + </ObjectAnimationUsingKeyFrames> + <ObjectAnimationUsingKeyFrames Storyboard.TargetName="RootGrid" Storyboard.TargetProperty="Width"> + <DiscreteObjectKeyFrame KeyTime="0" Value="60"/> + </ObjectAnimationUsingKeyFrames> + </Storyboard> + </VisualState> + <VisualState x:Name="Snapped"> + <Storyboard> + <ObjectAnimationUsingKeyFrames Storyboard.TargetName="TextLabel" Storyboard.TargetProperty="Visibility"> + <DiscreteObjectKeyFrame KeyTime="0" Value="Collapsed"/> + </ObjectAnimationUsingKeyFrames> + <ObjectAnimationUsingKeyFrames Storyboard.TargetName="RootGrid" Storyboard.TargetProperty="Width"> + <DiscreteObjectKeyFrame KeyTime="0" Value="60"/> + </ObjectAnimationUsingKeyFrames> + </Storyboard> + </VisualState> + </VisualStateGroup> + <VisualStateGroup x:Name="CommonStates"> + <VisualState x:Name="Normal"/> + <VisualState x:Name="PointerOver"> + <Storyboard> + <ObjectAnimationUsingKeyFrames Storyboard.TargetName="BackgroundGlyph" Storyboard.TargetProperty="Foreground"> + <DiscreteObjectKeyFrame KeyTime="0" Value="{StaticResource AppBarItemPointerOverBackgroundThemeBrush}"/> + </ObjectAnimationUsingKeyFrames> + <ObjectAnimationUsingKeyFrames Storyboard.TargetName="Content" Storyboard.TargetProperty="Foreground"> + <DiscreteObjectKeyFrame KeyTime="0" Value="{StaticResource AppBarItemPointerOverForegroundThemeBrush}"/> + </ObjectAnimationUsingKeyFrames> + </Storyboard> + </VisualState> + <VisualState x:Name="Pressed"> + <Storyboard> + <ObjectAnimationUsingKeyFrames Storyboard.TargetName="OutlineGlyph" Storyboard.TargetProperty="Foreground"> + <DiscreteObjectKeyFrame KeyTime="0" Value="{StaticResource AppBarItemForegroundThemeBrush}"/> + </ObjectAnimationUsingKeyFrames> + <ObjectAnimationUsingKeyFrames Storyboard.TargetName="BackgroundGlyph" Storyboard.TargetProperty="Foreground"> + <DiscreteObjectKeyFrame KeyTime="0" Value="{StaticResource AppBarItemForegroundThemeBrush}"/> + </ObjectAnimationUsingKeyFrames> + <ObjectAnimationUsingKeyFrames Storyboard.TargetName="Content" Storyboard.TargetProperty="Foreground"> + <DiscreteObjectKeyFrame KeyTime="0" Value="{StaticResource AppBarItemPressedForegroundThemeBrush}"/> + </ObjectAnimationUsingKeyFrames> + </Storyboard> + </VisualState> + <VisualState x:Name="Disabled"> + <Storyboard> + <ObjectAnimationUsingKeyFrames Storyboard.TargetName="OutlineGlyph" Storyboard.TargetProperty="Foreground"> + <DiscreteObjectKeyFrame KeyTime="0" Value="{StaticResource AppBarItemDisabledForegroundThemeBrush}"/> + </ObjectAnimationUsingKeyFrames> + <ObjectAnimationUsingKeyFrames Storyboard.TargetName="Content" Storyboard.TargetProperty="Foreground"> + <DiscreteObjectKeyFrame KeyTime="0" Value="{StaticResource AppBarItemDisabledForegroundThemeBrush}"/> + </ObjectAnimationUsingKeyFrames> + <ObjectAnimationUsingKeyFrames Storyboard.TargetName="TextLabel" Storyboard.TargetProperty="Foreground"> + <DiscreteObjectKeyFrame KeyTime="0" Value="{StaticResource AppBarItemDisabledForegroundThemeBrush}"/> + </ObjectAnimationUsingKeyFrames> + </Storyboard> + </VisualState> + </VisualStateGroup> + <VisualStateGroup x:Name="FocusStates"> + <VisualState x:Name="Focused"> + <Storyboard> + <DoubleAnimation + Storyboard.TargetName="FocusVisualWhite" + Storyboard.TargetProperty="Opacity" + To="1" + Duration="0"/> + <DoubleAnimation + Storyboard.TargetName="FocusVisualBlack" + Storyboard.TargetProperty="Opacity" + To="1" + Duration="0"/> + </Storyboard> + </VisualState> + <VisualState x:Name="Unfocused" /> + <VisualState x:Name="PointerFocused" /> + </VisualStateGroup> + <VisualStateGroup x:Name="CheckStates"> + <VisualState x:Name="Checked"> + <Storyboard> + <DoubleAnimation Duration="0" To="0" Storyboard.TargetName="OutlineGlyph" Storyboard.TargetProperty="Opacity"/> + <ObjectAnimationUsingKeyFrames Storyboard.TargetName="BackgroundGlyph" Storyboard.TargetProperty="Foreground"> + <DiscreteObjectKeyFrame KeyTime="0" Value="{StaticResource AppBarItemForegroundThemeBrush}"/> + </ObjectAnimationUsingKeyFrames> + <ObjectAnimationUsingKeyFrames Storyboard.TargetName="BackgroundCheckedGlyph" Storyboard.TargetProperty="Visibility"> + <DiscreteObjectKeyFrame KeyTime="0" Value="Visible"/> + </ObjectAnimationUsingKeyFrames> + <ObjectAnimationUsingKeyFrames Storyboard.TargetName="Content" Storyboard.TargetProperty="Foreground"> + <DiscreteObjectKeyFrame KeyTime="0" Value="{StaticResource AppBarItemPressedForegroundThemeBrush}"/> + </ObjectAnimationUsingKeyFrames> + </Storyboard> + </VisualState> + <VisualState x:Name="Unchecked"/> + <VisualState x:Name="Indeterminate"/> + </VisualStateGroup> + </VisualStateManager.VisualStateGroups> + </Grid> + </ControlTemplate> + </Setter.Value> + </Setter> + </Style> + + <!-- + Standard AppBarButton Styles for use with Button and ToggleButton + + An AppBarButton Style is provided for each of the glyphs in the Segoe UI Symbol font. + Uncomment any style you reference (as not all may be required). + --> + <Style x:Key="HelpAppBarButtonStyle" TargetType="ButtonBase" BasedOn="{StaticResource AppBarButtonStyle}"> + <Setter Property="AutomationProperties.AutomationId" Value="HelpAppBarButton"/> + <Setter Property="AutomationProperties.Name" Value="Help"/> + <Setter Property="Content" Value=""/> + </Style> + <Style x:Key="SearchAppBarButtonStyle" TargetType="ButtonBase" BasedOn="{StaticResource AppBarButtonStyle}"> + <Setter Property="AutomationProperties.AutomationId" Value="SearchAppBarButton"/> + <Setter Property="AutomationProperties.Name" Value="Search"/> + <Setter Property="Content" Value=""/> + </Style> + <Style x:Key="OpenFileAppBarButtonStyle" TargetType="ButtonBase" BasedOn="{StaticResource AppBarButtonStyle}"> + <Setter Property="AutomationProperties.AutomationId" Value="OpenFileAppBarButton"/> + <Setter Property="AutomationProperties.Name" Value="Open File"/> + <Setter Property="Content" Value=""/> + </Style> + <Style x:Key="NextAppBarButtonStyle" TargetType="ButtonBase" BasedOn="{StaticResource AppBarButtonStyle}"> + <Setter Property="AutomationProperties.AutomationId" Value="NextAppBarButton"/> + <Setter Property="AutomationProperties.Name" Value="Next"/> + <Setter Property="Content" Value=""/> + </Style> + <Style x:Key="PreviousAppBarButtonStyle" TargetType="ButtonBase" BasedOn="{StaticResource AppBarButtonStyle}"> + <Setter Property="AutomationProperties.AutomationId" Value="PreviousAppBarButton"/> + <Setter Property="AutomationProperties.Name" Value="Previous"/> + <Setter Property="Content" Value=""/> + </Style> + <Style x:Key="NoAppBarButtonStyle" TargetType="ButtonBase" BasedOn="{StaticResource AppBarButtonStyle}"> + <Setter Property="AutomationProperties.AutomationId" Value="NoAppBarButton"/> + <Setter Property="AutomationProperties.Name" Value="No"/> + <Setter Property="Content" Value=""/> + </Style> + + + <!-- + + <Style x:Key="SkipBackAppBarButtonStyle" TargetType="ButtonBase" BasedOn="{StaticResource AppBarButtonStyle}"> + <Setter Property="AutomationProperties.AutomationId" Value="SkipBackAppBarButton"/> + <Setter Property="AutomationProperties.Name" Value="Skip Back"/> + <Setter Property="Content" Value=""/> + </Style> + <Style x:Key="SkipAheadAppBarButtonStyle" TargetType="ButtonBase" BasedOn="{StaticResource AppBarButtonStyle}"> + <Setter Property="AutomationProperties.AutomationId" Value="SkipAheadAppBarButton"/> + <Setter Property="AutomationProperties.Name" Value="Skip Ahead"/> + <Setter Property="Content" Value=""/> + </Style> + <Style x:Key="PlayAppBarButtonStyle" TargetType="ButtonBase" BasedOn="{StaticResource AppBarButtonStyle}"> + <Setter Property="AutomationProperties.AutomationId" Value="PlayAppBarButton"/> + <Setter Property="AutomationProperties.Name" Value="Play"/> + <Setter Property="Content" Value=""/> + </Style> + <Style x:Key="PauseAppBarButtonStyle" TargetType="ButtonBase" BasedOn="{StaticResource AppBarButtonStyle}"> + <Setter Property="AutomationProperties.AutomationId" Value="PauseAppBarButton"/> + <Setter Property="AutomationProperties.Name" Value="Pause"/> + <Setter Property="Content" Value=""/> + </Style> + <Style x:Key="EditAppBarButtonStyle" TargetType="ButtonBase" BasedOn="{StaticResource AppBarButtonStyle}"> + <Setter Property="AutomationProperties.AutomationId" Value="EditAppBarButton"/> + <Setter Property="AutomationProperties.Name" Value="Edit"/> + <Setter Property="Content" Value=""/> + </Style> + <Style x:Key="SaveAppBarButtonStyle" TargetType="ButtonBase" BasedOn="{StaticResource AppBarButtonStyle}"> + <Setter Property="AutomationProperties.AutomationId" Value="SaveAppBarButton"/> + <Setter Property="AutomationProperties.Name" Value="Save"/> + <Setter Property="Content" Value=""/> + </Style> + <Style x:Key="DeleteAppBarButtonStyle" TargetType="ButtonBase" BasedOn="{StaticResource AppBarButtonStyle}"> + <Setter Property="AutomationProperties.AutomationId" Value="DeleteAppBarButton"/> + <Setter Property="AutomationProperties.Name" Value="Delete"/> + <Setter Property="Content" Value=""/> + </Style> + <Style x:Key="DiscardAppBarButtonStyle" TargetType="ButtonBase" BasedOn="{StaticResource AppBarButtonStyle}"> + <Setter Property="AutomationProperties.AutomationId" Value="DiscardAppBarButton"/> + <Setter Property="AutomationProperties.Name" Value="Discard"/> + <Setter Property="Content" Value=""/> + </Style> + <Style x:Key="RemoveAppBarButtonStyle" TargetType="ButtonBase" BasedOn="{StaticResource AppBarButtonStyle}"> + <Setter Property="AutomationProperties.AutomationId" Value="RemoveAppBarButton"/> + <Setter Property="AutomationProperties.Name" Value="Remove"/> + <Setter Property="Content" Value=""/> + </Style> + <Style x:Key="AddAppBarButtonStyle" TargetType="ButtonBase" BasedOn="{StaticResource AppBarButtonStyle}"> + <Setter Property="AutomationProperties.AutomationId" Value="AddAppBarButton"/> + <Setter Property="AutomationProperties.Name" Value="Add"/> + <Setter Property="Content" Value=""/> + </Style> + <Style x:Key="YesAppBarButtonStyle" TargetType="ButtonBase" BasedOn="{StaticResource AppBarButtonStyle}"> + <Setter Property="AutomationProperties.AutomationId" Value="YesAppBarButton"/> + <Setter Property="AutomationProperties.Name" Value="Yes"/> + <Setter Property="Content" Value=""/> + </Style> + <Style x:Key="MoreAppBarButtonStyle" TargetType="ButtonBase" BasedOn="{StaticResource AppBarButtonStyle}"> + <Setter Property="AutomationProperties.AutomationId" Value="MoreAppBarButton"/> + <Setter Property="AutomationProperties.Name" Value="More"/> + <Setter Property="Content" Value=""/> + </Style> + <Style x:Key="RedoAppBarButtonStyle" TargetType="ButtonBase" BasedOn="{StaticResource AppBarButtonStyle}"> + <Setter Property="AutomationProperties.AutomationId" Value="RedoAppBarButton"/> + <Setter Property="AutomationProperties.Name" Value="Redo"/> + <Setter Property="Content" Value=""/> + </Style> + <Style x:Key="UndoAppBarButtonStyle" TargetType="ButtonBase" BasedOn="{StaticResource AppBarButtonStyle}"> + <Setter Property="AutomationProperties.AutomationId" Value="UndoAppBarButton"/> + <Setter Property="AutomationProperties.Name" Value="Undo"/> + <Setter Property="Content" Value=""/> + </Style> + <Style x:Key="HomeAppBarButtonStyle" TargetType="ButtonBase" BasedOn="{StaticResource AppBarButtonStyle}"> + <Setter Property="AutomationProperties.AutomationId" Value="HomeAppBarButton"/> + <Setter Property="AutomationProperties.Name" Value="Home"/> + <Setter Property="Content" Value=""/> + </Style> + <Style x:Key="OutAppBarButtonStyle" TargetType="ButtonBase" BasedOn="{StaticResource AppBarButtonStyle}"> + <Setter Property="AutomationProperties.AutomationId" Value="OutAppBarButton"/> + <Setter Property="AutomationProperties.Name" Value="Out"/> + <Setter Property="Content" Value=""/> + </Style> + <Style x:Key="FavoriteAppBarButtonStyle" TargetType="ButtonBase" BasedOn="{StaticResource AppBarButtonStyle}"> + <Setter Property="AutomationProperties.AutomationId" Value="FavoriteAppBarButton"/> + <Setter Property="AutomationProperties.Name" Value="Favorite"/> + <Setter Property="Content" Value=""/> + </Style> + <Style x:Key="PhotoAppBarButtonStyle" TargetType="ButtonBase" BasedOn="{StaticResource AppBarButtonStyle}"> + <Setter Property="AutomationProperties.AutomationId" Value="PhotoAppBarButton"/> + <Setter Property="AutomationProperties.Name" Value="Photo"/> + <Setter Property="Content" Value=""/> + </Style> + <Style x:Key="SettingsAppBarButtonStyle" TargetType="ButtonBase" BasedOn="{StaticResource AppBarButtonStyle}"> + <Setter Property="AutomationProperties.AutomationId" Value="SettingsAppBarButton"/> + <Setter Property="AutomationProperties.Name" Value="Settings"/> + <Setter Property="Content" Value=""/> + </Style> + --> + + <!-- + <Style x:Key="VideoAppBarButtonStyle" TargetType="ButtonBase" BasedOn="{StaticResource AppBarButtonStyle}"> + <Setter Property="AutomationProperties.AutomationId" Value="VideoAppBarButton"/> + <Setter Property="AutomationProperties.Name" Value="Video"/> + <Setter Property="Content" Value=""/> + </Style> + <Style x:Key="RefreshAppBarButtonStyle" TargetType="ButtonBase" BasedOn="{StaticResource AppBarButtonStyle}"> + <Setter Property="AutomationProperties.AutomationId" Value="RefreshAppBarButton"/> + <Setter Property="AutomationProperties.Name" Value="Refresh"/> + <Setter Property="Content" Value=""/> + </Style> + <Style x:Key="DownloadAppBarButtonStyle" TargetType="ButtonBase" BasedOn="{StaticResource AppBarButtonStyle}"> + <Setter Property="AutomationProperties.AutomationId" Value="DownloadAppBarButton"/> + <Setter Property="AutomationProperties.Name" Value="Download"/> + <Setter Property="Content" Value=""/> + </Style> + <Style x:Key="MailAppBarButtonStyle" TargetType="ButtonBase" BasedOn="{StaticResource AppBarButtonStyle}"> + <Setter Property="AutomationProperties.AutomationId" Value="MailAppBarButton"/> + <Setter Property="AutomationProperties.Name" Value="Mail"/> + <Setter Property="Content" Value=""/> + </Style> + <Style x:Key="UploadAppBarButtonStyle" TargetType="ButtonBase" BasedOn="{StaticResource AppBarButtonStyle}"> + <Setter Property="AutomationProperties.AutomationId" Value="UploadAppBarButton"/> + <Setter Property="AutomationProperties.Name" Value="Upload"/> + <Setter Property="Content" Value=""/> + </Style> + <Style x:Key="EmojiAppBarButtonStyle" TargetType="ButtonBase" BasedOn="{StaticResource AppBarButtonStyle}"> + <Setter Property="AutomationProperties.AutomationId" Value="EmojiAppBarButton"/> + <Setter Property="AutomationProperties.Name" Value="Emoji"/> + <Setter Property="Content" Value=""/> + </Style> + <Style x:Key="TwoPageAppBarButtonStyle" TargetType="ButtonBase" BasedOn="{StaticResource AppBarButtonStyle}"> + <Setter Property="AutomationProperties.AutomationId" Value="TwoPageAppBarButton"/> + <Setter Property="AutomationProperties.Name" Value="Two Page"/> + <Setter Property="Content" Value=""/> + </Style> + <Style x:Key="LeaveChatAppBarButtonStyle" TargetType="ButtonBase" BasedOn="{StaticResource AppBarButtonStyle}"> + <Setter Property="AutomationProperties.AutomationId" Value="LeaveChatAppBarButton"/> + <Setter Property="AutomationProperties.Name" Value="Upload"/> + <Setter Property="Content" Value=""/> + </Style> + <Style x:Key="MailForwardAppBarButtonStyle" TargetType="ButtonBase" BasedOn="{StaticResource AppBarButtonStyle}"> + <Setter Property="AutomationProperties.AutomationId" Value="MailForwardAppBarButton"/> + <Setter Property="AutomationProperties.Name" Value="Forward Mail"/> + <Setter Property="Content" Value=""/> + </Style> + <Style x:Key="ClockAppBarButtonStyle" TargetType="ButtonBase" BasedOn="{StaticResource AppBarButtonStyle}"> + <Setter Property="AutomationProperties.AutomationId" Value="ClockAppBarButton"/> + <Setter Property="AutomationProperties.Name" Value="Clock"/> + <Setter Property="Content" Value=""/> + </Style> + <Style x:Key="SendAppBarButtonStyle" TargetType="ButtonBase" BasedOn="{StaticResource AppBarButtonStyle}"> + <Setter Property="AutomationProperties.AutomationId" Value="SendAppBarButton"/> + <Setter Property="AutomationProperties.Name" Value="Send"/> + <Setter Property="Content" Value=""/> + </Style> + <Style x:Key="CropAppBarButtonStyle" TargetType="ButtonBase" BasedOn="{StaticResource AppBarButtonStyle}"> + <Setter Property="AutomationProperties.AutomationId" Value="CropAppBarButton"/> + <Setter Property="AutomationProperties.Name" Value="Crop"/> + <Setter Property="Content" Value=""/> + </Style> + <Style x:Key="RotateCameraAppBarButtonStyle" TargetType="ButtonBase" BasedOn="{StaticResource AppBarButtonStyle}"> + <Setter Property="AutomationProperties.AutomationId" Value="RotateCameraAppBarButton"/> + <Setter Property="AutomationProperties.Name" Value="Rotate Camera"/> + <Setter Property="Content" Value=""/> + </Style> + <Style x:Key="PeopleAppBarButtonStyle" TargetType="ButtonBase" BasedOn="{StaticResource AppBarButtonStyle}"> + <Setter Property="AutomationProperties.AutomationId" Value="PeopleAppBarButton"/> + <Setter Property="AutomationProperties.Name" Value="People"/> + <Setter Property="Content" Value=""/> + </Style> + <Style x:Key="ClosePaneAppBarButtonStyle" TargetType="ButtonBase" BasedOn="{StaticResource AppBarButtonStyle}"> + <Setter Property="AutomationProperties.AutomationId" Value="ClosePaneAppBarButton"/> + <Setter Property="AutomationProperties.Name" Value="Close Pane"/> + <Setter Property="Content" Value=""/> + </Style> + <Style x:Key="OpenPaneAppBarButtonStyle" TargetType="ButtonBase" BasedOn="{StaticResource AppBarButtonStyle}"> + <Setter Property="AutomationProperties.AutomationId" Value="OpenPaneAppBarButton"/> + <Setter Property="AutomationProperties.Name" Value="Open Pane"/> + <Setter Property="Content" Value=""/> + </Style> + --> + + <!-- + <Style x:Key="WorldAppBarButtonStyle" TargetType="ButtonBase" BasedOn="{StaticResource AppBarButtonStyle}"> + <Setter Property="AutomationProperties.AutomationId" Value="WorldAppBarButton"/> + <Setter Property="AutomationProperties.Name" Value="World"/> + <Setter Property="Content" Value=""/> + </Style> + <Style x:Key="FlagAppBarButtonStyle" TargetType="ButtonBase" BasedOn="{StaticResource AppBarButtonStyle}"> + <Setter Property="AutomationProperties.AutomationId" Value="FlagAppBarButton"/> + <Setter Property="AutomationProperties.Name" Value="Flag"/> + <Setter Property="Content" Value=""/> + </Style> + <Style x:Key="PreviewLinkAppBarButtonStyle" TargetType="ButtonBase" BasedOn="{StaticResource AppBarButtonStyle}"> + <Setter Property="AutomationProperties.AutomationId" Value="PreviewLinkAppBarButton"/> + <Setter Property="AutomationProperties.Name" Value="Preview Link"/> + <Setter Property="Content" Value=""/> + </Style> + <Style x:Key="GlobeAppBarButtonStyle" TargetType="ButtonBase" BasedOn="{StaticResource AppBarButtonStyle}"> + <Setter Property="AutomationProperties.AutomationId" Value="GlobeAppBarButton"/> + <Setter Property="AutomationProperties.Name" Value="Globe"/> + <Setter Property="Content" Value=""/> + </Style> + <Style x:Key="TrimAppBarButtonStyle" TargetType="ButtonBase" BasedOn="{StaticResource AppBarButtonStyle}"> + <Setter Property="AutomationProperties.AutomationId" Value="TrimAppBarButton"/> + <Setter Property="AutomationProperties.Name" Value="Trim"/> + <Setter Property="Content" Value=""/> + </Style> + <Style x:Key="AttachCameraAppBarButtonStyle" TargetType="ButtonBase" BasedOn="{StaticResource AppBarButtonStyle}"> + <Setter Property="AutomationProperties.AutomationId" Value="AttachCameraAppBarButton"/> + <Setter Property="AutomationProperties.Name" Value="Attach Camera"/> + <Setter Property="Content" Value=""/> + </Style> + <Style x:Key="ZoomInAppBarButtonStyle" TargetType="ButtonBase" BasedOn="{StaticResource AppBarButtonStyle}"> + <Setter Property="AutomationProperties.AutomationId" Value="ZoomInAppBarButton"/> + <Setter Property="AutomationProperties.Name" Value="Zoom In"/> + <Setter Property="Content" Value=""/> + </Style> + <Style x:Key="BookmarksAppBarButtonStyle" TargetType="ButtonBase" BasedOn="{StaticResource AppBarButtonStyle}"> + <Setter Property="AutomationProperties.AutomationId" Value="BookmarksAppBarButton"/> + <Setter Property="AutomationProperties.Name" Value="Bookmarks"/> + <Setter Property="Content" Value=""/> + </Style> + <Style x:Key="DocumentAppBarButtonStyle" TargetType="ButtonBase" BasedOn="{StaticResource AppBarButtonStyle}"> + <Setter Property="AutomationProperties.AutomationId" Value="DocumentAppBarButton"/> + <Setter Property="AutomationProperties.Name" Value="Document"/> + <Setter Property="Content" Value=""/> + </Style> + <Style x:Key="ProtectedDocumentAppBarButtonStyle" TargetType="ButtonBase" BasedOn="{StaticResource AppBarButtonStyle}"> + <Setter Property="AutomationProperties.AutomationId" Value="ProtectedDocumentAppBarButton"/> + <Setter Property="AutomationProperties.Name" Value="Protected Document"/> + <Setter Property="Content" Value=""/> + </Style> + <Style x:Key="PageAppBarButtonStyle" TargetType="ButtonBase" BasedOn="{StaticResource AppBarButtonStyle}"> + <Setter Property="AutomationProperties.AutomationId" Value="PageAppBarButton"/> + <Setter Property="AutomationProperties.Name" Value="Page"/> + <Setter Property="Content" Value=""/> + </Style> + <Style x:Key="BulletsAppBarButtonStyle" TargetType="ButtonBase" BasedOn="{StaticResource AppBarButtonStyle}"> + <Setter Property="AutomationProperties.AutomationId" Value="BulletsAppBarButton"/> + <Setter Property="AutomationProperties.Name" Value="Bullets"/> + <Setter Property="Content" Value=""/> + </Style> + <Style x:Key="CommentAppBarButtonStyle" TargetType="ButtonBase" BasedOn="{StaticResource AppBarButtonStyle}"> + <Setter Property="AutomationProperties.AutomationId" Value="CommentAppBarButton"/> + <Setter Property="AutomationProperties.Name" Value="Comment"/> + <Setter Property="Content" Value=""/> + </Style> + <Style x:Key="Mail2AppBarButtonStyle" TargetType="ButtonBase" BasedOn="{StaticResource AppBarButtonStyle}"> + <Setter Property="AutomationProperties.AutomationId" Value="Mail2AppBarButton"/> + <Setter Property="AutomationProperties.Name" Value="Mail2"/> + <Setter Property="Content" Value=""/> + </Style> + <Style x:Key="ContactInfoAppBarButtonStyle" TargetType="ButtonBase" BasedOn="{StaticResource AppBarButtonStyle}"> + <Setter Property="AutomationProperties.AutomationId" Value="ContactInfoAppBarButton"/> + <Setter Property="AutomationProperties.Name" Value="Contact Info"/> + <Setter Property="Content" Value=""/> + </Style> + <Style x:Key="HangUpAppBarButtonStyle" TargetType="ButtonBase" BasedOn="{StaticResource AppBarButtonStyle}"> + <Setter Property="AutomationProperties.AutomationId" Value="HangUpAppBarButton"/> + <Setter Property="AutomationProperties.Name" Value="Hang Up"/> + <Setter Property="Content" Value=""/> + </Style> + <Style x:Key="ViewAllAppBarButtonStyle" TargetType="ButtonBase" BasedOn="{StaticResource AppBarButtonStyle}"> + <Setter Property="AutomationProperties.AutomationId" Value="ViewAllAppBarButton"/> + <Setter Property="AutomationProperties.Name" Value="View All"/> + <Setter Property="Content" Value=""/> + </Style> + <Style x:Key="MapPinAppBarButtonStyle" TargetType="ButtonBase" BasedOn="{StaticResource AppBarButtonStyle}"> + <Setter Property="AutomationProperties.AutomationId" Value="MapPinAppBarButton"/> + <Setter Property="AutomationProperties.Name" Value="Map Pin"/> + <Setter Property="Content" Value=""/> + </Style> + <Style x:Key="PhoneAppBarButtonStyle" TargetType="ButtonBase" BasedOn="{StaticResource AppBarButtonStyle}"> + <Setter Property="AutomationProperties.AutomationId" Value="PhoneAppBarButton"/> + <Setter Property="AutomationProperties.Name" Value="Phone"/> + <Setter Property="Content" Value=""/> + </Style> + <Style x:Key="VideoChatAppBarButtonStyle" TargetType="ButtonBase" BasedOn="{StaticResource AppBarButtonStyle}"> + <Setter Property="AutomationProperties.AutomationId" Value="VideoChatAppBarButton"/> + <Setter Property="AutomationProperties.Name" Value="Video Chat"/> + <Setter Property="Content" Value=""/> + </Style> + <Style x:Key="SwitchAppBarButtonStyle" TargetType="ButtonBase" BasedOn="{StaticResource AppBarButtonStyle}"> + <Setter Property="AutomationProperties.AutomationId" Value="SwitchAppBarButton"/> + <Setter Property="AutomationProperties.Name" Value="Switch"/> + <Setter Property="Content" Value=""/> + </Style> + <Style x:Key="ContactAppBarButtonStyle" TargetType="ButtonBase" BasedOn="{StaticResource AppBarButtonStyle}"> + <Setter Property="AutomationProperties.AutomationId" Value="ContactAppBarButton"/> + <Setter Property="AutomationProperties.Name" Value="Contact"/> + <Setter Property="Content" Value=""/> + </Style> + + --> + + <!-- + + <Style x:Key="RenameAppBarButtonStyle" TargetType="ButtonBase" BasedOn="{StaticResource AppBarButtonStyle}"> + <Setter Property="AutomationProperties.AutomationId" Value="RenameAppBarButton"/> + <Setter Property="AutomationProperties.Name" Value="Rename"/> + <Setter Property="Content" Value=""/> + </Style> + <Style x:Key="PinAppBarButtonStyle" TargetType="ButtonBase" BasedOn="{StaticResource AppBarButtonStyle}"> + <Setter Property="AutomationProperties.AutomationId" Value="PinAppBarButton"/> + <Setter Property="AutomationProperties.Name" Value="Pin"/> + <Setter Property="Content" Value=""/> + </Style> + <Style x:Key="MusicInfoAppBarButtonStyle" TargetType="ButtonBase" BasedOn="{StaticResource AppBarButtonStyle}"> + <Setter Property="AutomationProperties.AutomationId" Value="MusicInfoAppBarButton"/> + <Setter Property="AutomationProperties.Name" Value="Music Info"/> + <Setter Property="Content" Value=""/> + </Style> + <Style x:Key="GoAppBarButtonStyle" TargetType="ButtonBase" BasedOn="{StaticResource AppBarButtonStyle}"> + <Setter Property="AutomationProperties.AutomationId" Value="GoAppBarButton"/> + <Setter Property="AutomationProperties.Name" Value="Go"/> + <Setter Property="Content" Value=""/> + </Style> + <Style x:Key="KeyboardAppBarButtonStyle" TargetType="ButtonBase" BasedOn="{StaticResource AppBarButtonStyle}"> + <Setter Property="AutomationProperties.AutomationId" Value="KeyboardAppBarButton"/> + <Setter Property="AutomationProperties.Name" Value="Keyboard"/> + <Setter Property="Content" Value=""/> + </Style> + <Style x:Key="DockLeftAppBarButtonStyle" TargetType="ButtonBase" BasedOn="{StaticResource AppBarButtonStyle}"> + <Setter Property="AutomationProperties.AutomationId" Value="DockLeftAppBarButton"/> + <Setter Property="AutomationProperties.Name" Value="Dock Left"/> + <Setter Property="Content" Value=""/> + </Style> + <Style x:Key="DockRightAppBarButtonStyle" TargetType="ButtonBase" BasedOn="{StaticResource AppBarButtonStyle}"> + <Setter Property="AutomationProperties.AutomationId" Value="DockRightAppBarButton"/> + <Setter Property="AutomationProperties.Name" Value="Dock Right"/> + <Setter Property="Content" Value=""/> + </Style> + <Style x:Key="DockBottomAppBarButtonStyle" TargetType="ButtonBase" BasedOn="{StaticResource AppBarButtonStyle}"> + <Setter Property="AutomationProperties.AutomationId" Value="DockBottomAppBarButton"/> + <Setter Property="AutomationProperties.Name" Value="Dock Bottom"/> + <Setter Property="Content" Value=""/> + </Style> + <Style x:Key="RemoteAppBarButtonStyle" TargetType="ButtonBase" BasedOn="{StaticResource AppBarButtonStyle}"> + <Setter Property="AutomationProperties.AutomationId" Value="RemoteAppBarButton"/> + <Setter Property="AutomationProperties.Name" Value="Remote"/> + <Setter Property="Content" Value=""/> + </Style> + <Style x:Key="SyncAppBarButtonStyle" TargetType="ButtonBase" BasedOn="{StaticResource AppBarButtonStyle}"> + <Setter Property="AutomationProperties.AutomationId" Value="SyncAppBarButton"/> + <Setter Property="AutomationProperties.Name" Value="Sync"/> + <Setter Property="Content" Value=""/> + </Style> + <Style x:Key="RotateAppBarButtonStyle" TargetType="ButtonBase" BasedOn="{StaticResource AppBarButtonStyle}"> + <Setter Property="AutomationProperties.AutomationId" Value="RotateAppBarButton"/> + <Setter Property="AutomationProperties.Name" Value="Rotate"/> + <Setter Property="Content" Value=""/> + </Style> + <Style x:Key="ShuffleAppBarButtonStyle" TargetType="ButtonBase" BasedOn="{StaticResource AppBarButtonStyle}"> + <Setter Property="AutomationProperties.AutomationId" Value="ShuffleAppBarButton"/> + <Setter Property="AutomationProperties.Name" Value="Shuffle"/> + <Setter Property="Content" Value=""/> + </Style> + <Style x:Key="ListAppBarButtonStyle" TargetType="ButtonBase" BasedOn="{StaticResource AppBarButtonStyle}"> + <Setter Property="AutomationProperties.AutomationId" Value="ListAppBarButton"/> + <Setter Property="AutomationProperties.Name" Value="List"/> + <Setter Property="Content" Value=""/> + </Style> + <Style x:Key="ShopAppBarButtonStyle" TargetType="ButtonBase" BasedOn="{StaticResource AppBarButtonStyle}"> + <Setter Property="AutomationProperties.AutomationId" Value="ShopAppBarButton"/> + <Setter Property="AutomationProperties.Name" Value="Shop"/> + <Setter Property="Content" Value=""/> + </Style> + <Style x:Key="SelectAllAppBarButtonStyle" TargetType="ButtonBase" BasedOn="{StaticResource AppBarButtonStyle}"> + <Setter Property="AutomationProperties.AutomationId" Value="SelectAllAppBarButton"/> + <Setter Property="AutomationProperties.Name" Value="Select All"/> + <Setter Property="Content" Value=""/> + </Style> + <Style x:Key="OrientationAppBarButtonStyle" TargetType="ButtonBase" BasedOn="{StaticResource AppBarButtonStyle}"> + <Setter Property="AutomationProperties.AutomationId" Value="OrientationAppBarButton"/> + <Setter Property="AutomationProperties.Name" Value="Orientation"/> + <Setter Property="Content" Value=""/> + </Style> + <Style x:Key="ImportAppBarButtonStyle" TargetType="ButtonBase" BasedOn="{StaticResource AppBarButtonStyle}"> + <Setter Property="AutomationProperties.AutomationId" Value="ImportAppBarButton"/> + <Setter Property="AutomationProperties.Name" Value="Import"/> + <Setter Property="Content" Value=""/> + </Style> + <Style x:Key="ImportAllAppBarButtonStyle" TargetType="ButtonBase" BasedOn="{StaticResource AppBarButtonStyle}"> + <Setter Property="AutomationProperties.AutomationId" Value="ImportAllAppBarButton"/> + <Setter Property="AutomationProperties.Name" Value="Import All"/> + <Setter Property="Content" Value=""/> + </Style> + <Style x:Key="BrowsePhotosAppBarButtonStyle" TargetType="ButtonBase" BasedOn="{StaticResource AppBarButtonStyle}"> + <Setter Property="AutomationProperties.AutomationId" Value="BrowsePhotosAppBarButton"/> + <Setter Property="AutomationProperties.Name" Value="Browse Photos"/> + <Setter Property="Content" Value=""/> + </Style> + <Style x:Key="WebcamAppBarButtonStyle" TargetType="ButtonBase" BasedOn="{StaticResource AppBarButtonStyle}"> + <Setter Property="AutomationProperties.AutomationId" Value="WebcamAppBarButton"/> + <Setter Property="AutomationProperties.Name" Value="Webcam"/> + <Setter Property="Content" Value=""/> + </Style> + --> + + <!-- + <Style x:Key="PicturesAppBarButtonStyle" TargetType="ButtonBase" BasedOn="{StaticResource AppBarButtonStyle}"> + <Setter Property="AutomationProperties.AutomationId" Value="PicturesAppBarButton"/> + <Setter Property="AutomationProperties.Name" Value="Pictures"/> + <Setter Property="Content" Value=""/> + </Style> + <Style x:Key="SaveLocalAppBarButtonStyle" TargetType="ButtonBase" BasedOn="{StaticResource AppBarButtonStyle}"> + <Setter Property="AutomationProperties.AutomationId" Value="SaveLocalAppBarButton"/> + <Setter Property="AutomationProperties.Name" Value="Save Local"/> + <Setter Property="Content" Value=""/> + </Style> + <Style x:Key="CaptionAppBarButtonStyle" TargetType="ButtonBase" BasedOn="{StaticResource AppBarButtonStyle}"> + <Setter Property="AutomationProperties.AutomationId" Value="CaptionAppBarButton"/> + <Setter Property="AutomationProperties.Name" Value="Caption"/> + <Setter Property="Content" Value=""/> + </Style> + <Style x:Key="StopAppBarButtonStyle" TargetType="ButtonBase" BasedOn="{StaticResource AppBarButtonStyle}"> + <Setter Property="AutomationProperties.AutomationId" Value="StopAppBarButton"/> + <Setter Property="AutomationProperties.Name" Value="Stop"/> + <Setter Property="Content" Value=""/> + </Style> + <Style x:Key="ShowResultsAppBarButtonStyle" TargetType="ButtonBase" BasedOn="{StaticResource AppBarButtonStyle}"> + <Setter Property="AutomationProperties.AutomationId" Value="ShowResultsAppBarButton"/> + <Setter Property="AutomationProperties.Name" Value="Show Results"/> + <Setter Property="Content" Value=""/> + </Style> + <Style x:Key="VolumeAppBarButtonStyle" TargetType="ButtonBase" BasedOn="{StaticResource AppBarButtonStyle}"> + <Setter Property="AutomationProperties.AutomationId" Value="VolumeAppBarButton"/> + <Setter Property="AutomationProperties.Name" Value="Volume"/> + <Setter Property="Content" Value=""/> + </Style> + <Style x:Key="RepairAppBarButtonStyle" TargetType="ButtonBase" BasedOn="{StaticResource AppBarButtonStyle}"> + <Setter Property="AutomationProperties.AutomationId" Value="RepairAppBarButton"/> + <Setter Property="AutomationProperties.Name" Value="Repair"/> + <Setter Property="Content" Value=""/> + </Style> + <Style x:Key="MessageAppBarButtonStyle" TargetType="ButtonBase" BasedOn="{StaticResource AppBarButtonStyle}"> + <Setter Property="AutomationProperties.AutomationId" Value="MessageAppBarButton"/> + <Setter Property="AutomationProperties.Name" Value="Message"/> + <Setter Property="Content" Value=""/> + </Style> + <Style x:Key="Page2AppBarButtonStyle" TargetType="ButtonBase" BasedOn="{StaticResource AppBarButtonStyle}"> + <Setter Property="AutomationProperties.AutomationId" Value="Page2AppBarButton"/> + <Setter Property="AutomationProperties.Name" Value="Page2"/> + <Setter Property="Content" Value=""/> + </Style> + <Style x:Key="CalendarDayAppBarButtonStyle" TargetType="ButtonBase" BasedOn="{StaticResource AppBarButtonStyle}"> + <Setter Property="AutomationProperties.AutomationId" Value="CalendarDayAppBarButton"/> + <Setter Property="AutomationProperties.Name" Value="Day"/> + <Setter Property="Content" Value=""/> + </Style> + <Style x:Key="CalendarWeekAppBarButtonStyle" TargetType="ButtonBase" BasedOn="{StaticResource AppBarButtonStyle}"> + <Setter Property="AutomationProperties.AutomationId" Value="CalendarWeekAppBarButton"/> + <Setter Property="AutomationProperties.Name" Value="Week"/> + <Setter Property="Content" Value=""/> + </Style> + <Style x:Key="CalendarAppBarButtonStyle" TargetType="ButtonBase" BasedOn="{StaticResource AppBarButtonStyle}"> + <Setter Property="AutomationProperties.AutomationId" Value="CalendarAppBarButton"/> + <Setter Property="AutomationProperties.Name" Value="Calendar"/> + <Setter Property="Content" Value=""/> + </Style> + <Style x:Key="CharactersAppBarButtonStyle" TargetType="ButtonBase" BasedOn="{StaticResource AppBarButtonStyle}"> + <Setter Property="AutomationProperties.AutomationId" Value="CharactersAppBarButton"/> + <Setter Property="AutomationProperties.Name" Value="Characters"/> + <Setter Property="Content" Value=""/> + </Style> + <Style x:Key="MailReplyAllAppBarButtonStyle" TargetType="ButtonBase" BasedOn="{StaticResource AppBarButtonStyle}"> + <Setter Property="AutomationProperties.AutomationId" Value="MailReplyAllAppBarButton"/> + <Setter Property="AutomationProperties.Name" Value="Reply All"/> + <Setter Property="Content" Value=""/> + </Style> + <Style x:Key="ReadAppBarButtonStyle" TargetType="ButtonBase" BasedOn="{StaticResource AppBarButtonStyle}"> + <Setter Property="AutomationProperties.AutomationId" Value="ReadAppBarButton"/> + <Setter Property="AutomationProperties.Name" Value="Read"/> + <Setter Property="Content" Value=""/> + </Style> + <Style x:Key="LinkAppBarButtonStyle" TargetType="ButtonBase" BasedOn="{StaticResource AppBarButtonStyle}"> + <Setter Property="AutomationProperties.AutomationId" Value="LinkAppBarButton"/> + <Setter Property="AutomationProperties.Name" Value="Link"/> + <Setter Property="Content" Value=""/> + </Style> + <Style x:Key="AccountsAppBarButtonStyle" TargetType="ButtonBase" BasedOn="{StaticResource AppBarButtonStyle}"> + <Setter Property="AutomationProperties.AutomationId" Value="AccountsAppBarButton"/> + <Setter Property="AutomationProperties.Name" Value="Accounts"/> + <Setter Property="Content" Value=""/> + </Style> + <Style x:Key="ShowBccAppBarButtonStyle" TargetType="ButtonBase" BasedOn="{StaticResource AppBarButtonStyle}"> + <Setter Property="AutomationProperties.AutomationId" Value="ShowBccAppBarButton"/> + <Setter Property="AutomationProperties.Name" Value="Show Bcc"/> + <Setter Property="Content" Value=""/> + </Style> + <Style x:Key="HideBccAppBarButtonStyle" TargetType="ButtonBase" BasedOn="{StaticResource AppBarButtonStyle}"> + <Setter Property="AutomationProperties.AutomationId" Value="HideBccAppBarButton"/> + <Setter Property="AutomationProperties.Name" Value="Hide Bcc"/> + <Setter Property="Content" Value=""/> + </Style> + --> + + <!-- + <Style x:Key="CutAppBarButtonStyle" TargetType="ButtonBase" BasedOn="{StaticResource AppBarButtonStyle}"> + <Setter Property="AutomationProperties.AutomationId" Value="CutAppBarButton"/> + <Setter Property="AutomationProperties.Name" Value="Cut"/> + <Setter Property="Content" Value=""/> + </Style> + <Style x:Key="AttachAppBarButtonStyle" TargetType="ButtonBase" BasedOn="{StaticResource AppBarButtonStyle}"> + <Setter Property="AutomationProperties.AutomationId" Value="AttachAppBarButton"/> + <Setter Property="AutomationProperties.Name" Value="Attach"/> + <Setter Property="Content" Value=""/> + </Style> + <Style x:Key="PasteAppBarButtonStyle" TargetType="ButtonBase" BasedOn="{StaticResource AppBarButtonStyle}"> + <Setter Property="AutomationProperties.AutomationId" Value="PasteAppBarButton"/> + <Setter Property="AutomationProperties.Name" Value="Paste"/> + <Setter Property="Content" Value=""/> + </Style> + <Style x:Key="FilterAppBarButtonStyle" TargetType="ButtonBase" BasedOn="{StaticResource AppBarButtonStyle}"> + <Setter Property="AutomationProperties.AutomationId" Value="FilterAppBarButton"/> + <Setter Property="AutomationProperties.Name" Value="Filter"/> + <Setter Property="Content" Value=""/> + </Style> + <Style x:Key="CopyAppBarButtonStyle" TargetType="ButtonBase" BasedOn="{StaticResource AppBarButtonStyle}"> + <Setter Property="AutomationProperties.AutomationId" Value="CopyAppBarButton"/> + <Setter Property="AutomationProperties.Name" Value="Copy"/> + <Setter Property="Content" Value=""/> + </Style> + <Style x:Key="Emoji2AppBarButtonStyle" TargetType="ButtonBase" BasedOn="{StaticResource AppBarButtonStyle}"> + <Setter Property="AutomationProperties.AutomationId" Value="Emoji2AppBarButton"/> + <Setter Property="AutomationProperties.Name" Value="Emoji2"/> + <Setter Property="Content" Value=""/> + </Style> + <Style x:Key="ImportantAppBarButtonStyle" TargetType="ButtonBase" BasedOn="{StaticResource AppBarButtonStyle}"> + <Setter Property="AutomationProperties.AutomationId" Value="ImportantAppBarButton"/> + <Setter Property="AutomationProperties.Name" Value="Important"/> + <Setter Property="Content" Value=""/> + </Style> + <Style x:Key="MailReplyAppBarButtonStyle" TargetType="ButtonBase" BasedOn="{StaticResource AppBarButtonStyle}"> + <Setter Property="AutomationProperties.AutomationId" Value="MailReplyAppBarButton"/> + <Setter Property="AutomationProperties.Name" Value="Reply"/> + <Setter Property="Content" Value=""/> + </Style> + <Style x:Key="SlideShowAppBarButtonStyle" TargetType="ButtonBase" BasedOn="{StaticResource AppBarButtonStyle}"> + <Setter Property="AutomationProperties.AutomationId" Value="SlideShowAppBarButton"/> + <Setter Property="AutomationProperties.Name" Value="Slideshow"/> + <Setter Property="Content" Value=""/> + </Style> + <Style x:Key="SortAppBarButtonStyle" TargetType="ButtonBase" BasedOn="{StaticResource AppBarButtonStyle}"> + <Setter Property="AutomationProperties.AutomationId" Value="SortAppBarButton"/> + <Setter Property="AutomationProperties.Name" Value="Sort"/> + <Setter Property="Content" Value=""/> + </Style> + <Style x:Key="ManageAppBarButtonStyle" TargetType="ButtonBase" BasedOn="{StaticResource AppBarButtonStyle}"> + <Setter Property="AutomationProperties.AutomationId" Value="ManageAppBarButton"/> + <Setter Property="AutomationProperties.Name" Value="Manage"/> + <Setter Property="Content" Value=""/> + </Style> + <Style x:Key="AllAppsAppBarButtonStyle" TargetType="ButtonBase" BasedOn="{StaticResource AppBarButtonStyle}"> + <Setter Property="AutomationProperties.AutomationId" Value="AllAppsAppBarButton"/> + <Setter Property="AutomationProperties.Name" Value="All Apps"/> + <Setter Property="Content" Value=""/> + </Style> + <Style x:Key="DisconnectDriveAppBarButtonStyle" TargetType="ButtonBase" BasedOn="{StaticResource AppBarButtonStyle}"> + <Setter Property="AutomationProperties.AutomationId" Value="DisconnectDriveAppBarButton"/> + <Setter Property="AutomationProperties.Name" Value="Disconnect Drive"/> + <Setter Property="Content" Value=""/> + </Style> + <Style x:Key="MapDriveAppBarButtonStyle" TargetType="ButtonBase" BasedOn="{StaticResource AppBarButtonStyle}"> + <Setter Property="AutomationProperties.AutomationId" Value="MapDriveAppBarButton"/> + <Setter Property="AutomationProperties.Name" Value="Map Drive"/> + <Setter Property="Content" Value=""/> + </Style> + <Style x:Key="NewWindowAppBarButtonStyle" TargetType="ButtonBase" BasedOn="{StaticResource AppBarButtonStyle}"> + <Setter Property="AutomationProperties.AutomationId" Value="NewWindowAppBarButton"/> + <Setter Property="AutomationProperties.Name" Value="New Window"/> + <Setter Property="Content" Value=""/> + </Style> + <Style x:Key="OpenWithAppBarButtonStyle" TargetType="ButtonBase" BasedOn="{StaticResource AppBarButtonStyle}"> + <Setter Property="AutomationProperties.AutomationId" Value="OpenWithAppBarButton"/> + <Setter Property="AutomationProperties.Name" Value="Open With"/> + <Setter Property="Content" Value=""/> + </Style> + <Style x:Key="ContactPresenceAppBarButtonStyle" TargetType="ButtonBase" BasedOn="{StaticResource AppBarButtonStyle}"> + <Setter Property="AutomationProperties.AutomationId" Value="ContactPresenceAppBarButton"/> + <Setter Property="AutomationProperties.Name" Value="Presence"/> + <Setter Property="Content" Value=""/> + </Style> + <Style x:Key="PriorityAppBarButtonStyle" TargetType="ButtonBase" BasedOn="{StaticResource AppBarButtonStyle}"> + <Setter Property="AutomationProperties.AutomationId" Value="PriorityAppBarButton"/> + <Setter Property="AutomationProperties.Name" Value="Priority"/> + <Setter Property="Content" Value=""/> + </Style> + <Style x:Key="UploadSkyDriveAppBarButtonStyle" TargetType="ButtonBase" BasedOn="{StaticResource AppBarButtonStyle}"> + <Setter Property="AutomationProperties.AutomationId" Value="UploadSkyDriveAppBarButton"/> + <Setter Property="AutomationProperties.Name" Value="Skydrive"/> + <Setter Property="Content" Value=""/> + </Style> + <Style x:Key="GoToTodayAppBarButtonStyle" TargetType="ButtonBase" BasedOn="{StaticResource AppBarButtonStyle}"> + <Setter Property="AutomationProperties.AutomationId" Value="GoToTodayAppBarButton"/> + <Setter Property="AutomationProperties.Name" Value="Today"/> + <Setter Property="Content" Value=""/> + </Style> + <Style x:Key="FontAppBarButtonStyle" TargetType="ButtonBase" BasedOn="{StaticResource AppBarButtonStyle}"> + <Setter Property="AutomationProperties.AutomationId" Value="FontAppBarButton"/> + <Setter Property="AutomationProperties.Name" Value="Font"/> + <Setter Property="Content" Value=""/> + </Style> + + --> + + <!-- + + <Style x:Key="FontColorAppBarButtonStyle" TargetType="ButtonBase" BasedOn="{StaticResource AppBarButtonStyle}"> + <Setter Property="AutomationProperties.AutomationId" Value="FontColorAppBarButton"/> + <Setter Property="AutomationProperties.Name" Value="Font Color"/> + <Setter Property="Content" Value=""/> + </Style> + <Style x:Key="Contact2AppBarButtonStyle" TargetType="ButtonBase" BasedOn="{StaticResource AppBarButtonStyle}"> + <Setter Property="AutomationProperties.AutomationId" Value="Contact2AppBarButton"/> + <Setter Property="AutomationProperties.Name" Value="Contact"/> + <Setter Property="Content" Value=""/> + </Style> + <Style x:Key="FolderppBarButtonStyle" TargetType="ButtonBase" BasedOn="{StaticResource AppBarButtonStyle}"> + <Setter Property="AutomationProperties.AutomationId" Value="FolderAppBarButton"/> + <Setter Property="AutomationProperties.Name" Value="Folder"/> + <Setter Property="Content" Value=""/> + </Style> + <Style x:Key="AudioAppBarButtonStyle" TargetType="ButtonBase" BasedOn="{StaticResource AppBarButtonStyle}"> + <Setter Property="AutomationProperties.AutomationId" Value="AudioAppBarButton"/> + <Setter Property="AutomationProperties.Name" Value="Audio"/> + <Setter Property="Content" Value=""/> + </Style> + <Style x:Key="PlaceholderAppBarButtonStyle" TargetType="ButtonBase" BasedOn="{StaticResource AppBarButtonStyle}"> + <Setter Property="AutomationProperties.AutomationId" Value="PlaceholderAppBarButton"/> + <Setter Property="AutomationProperties.Name" Value="Placeholder"/> + <Setter Property="Content" Value=""/> + </Style> + <Style x:Key="ViewAppBarButtonStyle" TargetType="ButtonBase" BasedOn="{StaticResource AppBarButtonStyle}"> + <Setter Property="AutomationProperties.AutomationId" Value="ViewAppBarButton"/> + <Setter Property="AutomationProperties.Name" Value="View"/> + <Setter Property="Content" Value=""/> + </Style> + <Style x:Key="SetLockScreenAppBarButtonStyle" TargetType="ButtonBase" BasedOn="{StaticResource AppBarButtonStyle}"> + <Setter Property="AutomationProperties.AutomationId" Value="SetLockscreenAppBarButton"/> + <Setter Property="AutomationProperties.Name" Value="Set Lockscreen"/> + <Setter Property="Content" Value=""/> + </Style> + <Style x:Key="SetTitleAppBarButtonStyle" TargetType="ButtonBase" BasedOn="{StaticResource AppBarButtonStyle}"> + <Setter Property="AutomationProperties.AutomationId" Value="SetTitleAppBarButton"/> + <Setter Property="AutomationProperties.Name" Value="Set Title"/> + <Setter Property="Content" Value=""/> + </Style> + <Style x:Key="CcAppBarButtonStyle" TargetType="ButtonBase" BasedOn="{StaticResource AppBarButtonStyle}"> + <Setter Property="AutomationProperties.AutomationId" Value="CcAppBarButton"/> + <Setter Property="AutomationProperties.Name" Value="Cc"/> + <Setter Property="Content" Value=""/> + </Style> + <Style x:Key="StopSlideShowAppBarButtonStyle" TargetType="ButtonBase" BasedOn="{StaticResource AppBarButtonStyle}"> + <Setter Property="AutomationProperties.AutomationId" Value="StopSlideshowAppBarButton"/> + <Setter Property="AutomationProperties.Name" Value="Stop Slideshow"/> + <Setter Property="Content" Value=""/> + </Style> + <Style x:Key="PermissionsAppBarButtonStyle" TargetType="ButtonBase" BasedOn="{StaticResource AppBarButtonStyle}"> + <Setter Property="AutomationProperties.AutomationId" Value="PermissionsAppBarButton"/> + <Setter Property="AutomationProperties.Name" Value="Permisions"/> + <Setter Property="Content" Value=""/> + </Style> + <Style x:Key="HighlightAppBarButtonStyle" TargetType="ButtonBase" BasedOn="{StaticResource AppBarButtonStyle}"> + <Setter Property="AutomationProperties.AutomationId" Value="HighlightAppBarButton"/> + <Setter Property="AutomationProperties.Name" Value="Highlight"/> + <Setter Property="Content" Value=""/> + </Style> + <Style x:Key="DisableUpdatesAppBarButtonStyle" TargetType="ButtonBase" BasedOn="{StaticResource AppBarButtonStyle}"> + <Setter Property="AutomationProperties.AutomationId" Value="DisableUpdatesAppBarButton"/> + <Setter Property="AutomationProperties.Name" Value="Disable Updates"/> + <Setter Property="Content" Value=""/> + </Style> + <Style x:Key="UnfavoriteAppBarButtonStyle" TargetType="ButtonBase" BasedOn="{StaticResource AppBarButtonStyle}"> + <Setter Property="AutomationProperties.AutomationId" Value="UnfavoriteAppBarButton"/> + <Setter Property="AutomationProperties.Name" Value="Unfavorite"/> + <Setter Property="Content" Value=""/> + </Style> + <Style x:Key="UnPinAppBarButtonStyle" TargetType="ButtonBase" BasedOn="{StaticResource AppBarButtonStyle}"> + <Setter Property="AutomationProperties.AutomationId" Value="UnPinAppBarButton"/> + <Setter Property="AutomationProperties.Name" Value="Unpin"/> + <Setter Property="Content" Value=""/> + </Style> + <Style x:Key="OpenLocalAppBarButtonStyle" TargetType="ButtonBase" BasedOn="{StaticResource AppBarButtonStyle}"> + <Setter Property="AutomationProperties.AutomationId" Value="OpenLocalAppBarButton"/> + <Setter Property="AutomationProperties.Name" Value="Open Loal"/> + <Setter Property="Content" Value=""/> + </Style> + <Style x:Key="MuteAppBarButtonStyle" TargetType="ButtonBase" BasedOn="{StaticResource AppBarButtonStyle}"> + <Setter Property="AutomationProperties.AutomationId" Value="MuteAppBarButton"/> + <Setter Property="AutomationProperties.Name" Value="Mute"/> + <Setter Property="Content" Value=""/> + </Style> + <Style x:Key="ItalicAppBarButtonStyle" TargetType="ButtonBase" BasedOn="{StaticResource AppBarButtonStyle}"> + <Setter Property="AutomationProperties.AutomationId" Value="ItalicAppBarButton"/> + <Setter Property="AutomationProperties.Name" Value="Italic"/> + <Setter Property="Content" Value=""/> + </Style> + --> + + <!-- + <Style x:Key="UnderlineAppBarButtonStyle" TargetType="ButtonBase" BasedOn="{StaticResource AppBarButtonStyle}"> + <Setter Property="AutomationProperties.AutomationId" Value="UnderlineAppBarButton"/> + <Setter Property="AutomationProperties.Name" Value="Underline"/> + <Setter Property="Content" Value=""/> + </Style> + <Style x:Key="BoldAppBarButtonStyle" TargetType="ButtonBase" BasedOn="{StaticResource AppBarButtonStyle}"> + <Setter Property="AutomationProperties.AutomationId" Value="BoldAppBarButton"/> + <Setter Property="AutomationProperties.Name" Value="Bold"/> + <Setter Property="Content" Value=""/> + </Style> + <Style x:Key="MoveToFolderAppBarButtonStyle" TargetType="ButtonBase" BasedOn="{StaticResource AppBarButtonStyle}"> + <Setter Property="AutomationProperties.AutomationId" Value="MoveToFolderAppBarButton"/> + <Setter Property="AutomationProperties.Name" Value="Move to Folder"/> + <Setter Property="Content" Value=""/> + </Style> + <Style x:Key="LikeDislikeAppBarButtonStyle" TargetType="ButtonBase" BasedOn="{StaticResource AppBarButtonStyle}"> + <Setter Property="AutomationProperties.AutomationId" Value="LikeDislikeAppBarButton"/> + <Setter Property="AutomationProperties.Name" Value="Like/Dislike"/> + <Setter Property="Content" Value=""/> + </Style> + <Style x:Key="DislikeAppBarButtonStyle" TargetType="ButtonBase" BasedOn="{StaticResource AppBarButtonStyle}"> + <Setter Property="AutomationProperties.AutomationId" Value="DislikeAppBarButton"/> + <Setter Property="AutomationProperties.Name" Value="Dislike"/> + <Setter Property="Content" Value=""/> + </Style> + <Style x:Key="LikeAppBarButtonStyle" TargetType="ButtonBase" BasedOn="{StaticResource AppBarButtonStyle}"> + <Setter Property="AutomationProperties.AutomationId" Value="LikeAppBarButton"/> + <Setter Property="AutomationProperties.Name" Value="Like"/> + <Setter Property="Content" Value=""/> + </Style> + <Style x:Key="AlignRightAppBarButtonStyle" TargetType="ButtonBase" BasedOn="{StaticResource AppBarButtonStyle}"> + <Setter Property="AutomationProperties.AutomationId" Value="AlignRightAppBarButton"/> + <Setter Property="AutomationProperties.Name" Value="Align Right"/> + <Setter Property="Content" Value=""/> + </Style> + <Style x:Key="AlignCenterAppBarButtonStyle" TargetType="ButtonBase" BasedOn="{StaticResource AppBarButtonStyle}"> + <Setter Property="AutomationProperties.AutomationId" Value="AlignCenterAppBarButton"/> + <Setter Property="AutomationProperties.Name" Value="Align Center"/> + <Setter Property="Content" Value=""/> + </Style> + <Style x:Key="AlignLeftAppBarButtonStyle" TargetType="ButtonBase" BasedOn="{StaticResource AppBarButtonStyle}"> + <Setter Property="AutomationProperties.AutomationId" Value="AlignLeftAppBarButton"/> + <Setter Property="AutomationProperties.Name" Value="Align Left"/> + <Setter Property="Content" Value=""/> + </Style> + <Style x:Key="ZoomAppBarButtonStyle" TargetType="ButtonBase" BasedOn="{StaticResource AppBarButtonStyle}"> + <Setter Property="AutomationProperties.AutomationId" Value="ZoomAppBarButton"/> + <Setter Property="AutomationProperties.Name" Value="Zoom"/> + <Setter Property="Content" Value=""/> + </Style> + <Style x:Key="ZoomOutAppBarButtonStyle" TargetType="ButtonBase" BasedOn="{StaticResource AppBarButtonStyle}"> + <Setter Property="AutomationProperties.AutomationId" Value="ZoomOutAppBarButton"/> + <Setter Property="AutomationProperties.Name" Value="Zoom Out"/> + <Setter Property="Content" Value=""/> + </Style> + <Style x:Key="OpenFileAppBarButtonStyle" TargetType="ButtonBase" BasedOn="{StaticResource AppBarButtonStyle}"> + <Setter Property="AutomationProperties.AutomationId" Value="OpenFileAppBarButton"/> + <Setter Property="AutomationProperties.Name" Value="Open File"/> + <Setter Property="Content" Value=""/> + </Style> + <Style x:Key="OtherUserAppBarButtonStyle" TargetType="ButtonBase" BasedOn="{StaticResource AppBarButtonStyle}"> + <Setter Property="AutomationProperties.AutomationId" Value="OtherUserAppBarButton"/> + <Setter Property="AutomationProperties.Name" Value="Other User"/> + <Setter Property="Content" Value=""/> + </Style> + <Style x:Key="AdminAppBarButtonStyle" TargetType="ButtonBase" BasedOn="{StaticResource AppBarButtonStyle}"> + <Setter Property="AutomationProperties.AutomationId" Value="AdminAppBarButton"/> + <Setter Property="AutomationProperties.Name" Value="Admin"/> + <Setter Property="Content" Value=""/> + </Style> + <Style x:Key="StreetAppBarButtonStyle" TargetType="ButtonBase" BasedOn="{StaticResource AppBarButtonStyle}"> + <Setter Property="AutomationProperties.AutomationId" Value="StreetAppBarButton"/> + <Setter Property="AutomationProperties.Name" Value="Street"/> + <Setter Property="Content" Value=""/> + </Style> + <Style x:Key="MapAppBarButtonStyle" TargetType="ButtonBase" BasedOn="{StaticResource AppBarButtonStyle}"> + <Setter Property="AutomationProperties.AutomationId" Value="MapAppBarButton"/> + <Setter Property="AutomationProperties.Name" Value="Map"/> + <Setter Property="Content" Value=""/> + </Style> + <Style x:Key="ClearSelectionAppBarButtonStyle" TargetType="ButtonBase" BasedOn="{StaticResource AppBarButtonStyle}"> + <Setter Property="AutomationProperties.AutomationId" Value="ClearSelectionAppBarButton"/> + <Setter Property="AutomationProperties.Name" Value="Clear Selection"/> + <Setter Property="Content" Value=""/> + </Style> + <Style x:Key="FontDecreaseAppBarButtonStyle" TargetType="ButtonBase" BasedOn="{StaticResource AppBarButtonStyle}"> + <Setter Property="AutomationProperties.AutomationId" Value="FontDecreaseAppBarButton"/> + <Setter Property="AutomationProperties.Name" Value="Decrease Font"/> + <Setter Property="Content" Value=""/> + </Style> + <Style x:Key="FontIncreaseAppBarButtonStyle" TargetType="ButtonBase" BasedOn="{StaticResource AppBarButtonStyle}"> + <Setter Property="AutomationProperties.AutomationId" Value="FontIncreaseAppBarButton"/> + <Setter Property="AutomationProperties.Name" Value="Increase Font"/> + <Setter Property="Content" Value=""/> + </Style> + <Style x:Key="FontSizeAppBarButtonStyle" TargetType="ButtonBase" BasedOn="{StaticResource AppBarButtonStyle}"> + <Setter Property="AutomationProperties.AutomationId" Value="FontSizeAppBarButton"/> + <Setter Property="AutomationProperties.Name" Value="Font Size"/> + <Setter Property="Content" Value=""/> + </Style> + --> + + <!-- + <Style x:Key="CellphoneAppBarButtonStyle" TargetType="ButtonBase" BasedOn="{StaticResource AppBarButtonStyle}"> + <Setter Property="AutomationProperties.AutomationId" Value="CellphoneAppBarButton"/> + <Setter Property="AutomationProperties.Name" Value="Cellphone"/> + <Setter Property="Content" Value=""/> + </Style> + <Style x:Key="ReshareAppBarButtonStyle" TargetType="ButtonBase" BasedOn="{StaticResource AppBarButtonStyle}"> + <Setter Property="AutomationProperties.AutomationId" Value="ReshareAppBarButton"/> + <Setter Property="AutomationProperties.Name" Value="Reshare"/> + <Setter Property="Content" Value=""/> + </Style> + <Style x:Key="TagAppBarButtonStyle" TargetType="ButtonBase" BasedOn="{StaticResource AppBarButtonStyle}"> + <Setter Property="AutomationProperties.AutomationId" Value="TagAppBarButton"/> + <Setter Property="AutomationProperties.Name" Value="Tag"/> + <Setter Property="Content" Value=""/> + </Style> + <Style x:Key="RepeatOneAppBarButtonStyle" TargetType="ButtonBase" BasedOn="{StaticResource AppBarButtonStyle}"> + <Setter Property="AutomationProperties.AutomationId" Value="RepeatOneAppBarButton"/> + <Setter Property="AutomationProperties.Name" Value="Repeat Once"/> + <Setter Property="Content" Value=""/> + </Style> + <Style x:Key="RepeatAllAppBarButtonStyle" TargetType="ButtonBase" BasedOn="{StaticResource AppBarButtonStyle}"> + <Setter Property="AutomationProperties.AutomationId" Value="RepeatAllAppBarButton"/> + <Setter Property="AutomationProperties.Name" Value="Repeat All"/> + <Setter Property="Content" Value=""/> + </Style> + <Style x:Key="OutlineStarAppBarButtonStyle" TargetType="ButtonBase" BasedOn="{StaticResource AppBarButtonStyle}"> + <Setter Property="AutomationProperties.AutomationId" Value="OutlineStarAppBarButton"/> + <Setter Property="AutomationProperties.Name" Value="Outline Star"/> + <Setter Property="Content" Value=""/> + </Style> + <Style x:Key="SolidStarAppBarButtonStyle" TargetType="ButtonBase" BasedOn="{StaticResource AppBarButtonStyle}"> + <Setter Property="AutomationProperties.AutomationId" Value="SolidStarAppBarButton"/> + <Setter Property="AutomationProperties.Name" Value="Solid Star"/> + <Setter Property="Content" Value=""/> + </Style> + <Style x:Key="CalculatorAppBarButtonStyle" TargetType="ButtonBase" BasedOn="{StaticResource AppBarButtonStyle}"> + <Setter Property="AutomationProperties.AutomationId" Value="CalculatorAppBarButton"/> + <Setter Property="AutomationProperties.Name" Value="Calculator"/> + <Setter Property="Content" Value=""/> + </Style> + <Style x:Key="DirectionsAppBarButtonStyle" TargetType="ButtonBase" BasedOn="{StaticResource AppBarButtonStyle}"> + <Setter Property="AutomationProperties.AutomationId" Value="DirectionsAppBarButton"/> + <Setter Property="AutomationProperties.Name" Value="Directions"/> + <Setter Property="Content" Value=""/> + </Style> + <Style x:Key="TargetAppBarButtonStyle" TargetType="ButtonBase" BasedOn="{StaticResource AppBarButtonStyle}"> + <Setter Property="AutomationProperties.AutomationId" Value="TargetAppBarButton"/> + <Setter Property="AutomationProperties.Name" Value="Target"/> + <Setter Property="Content" Value=""/> + </Style> + <Style x:Key="LibraryAppBarButtonStyle" TargetType="ButtonBase" BasedOn="{StaticResource AppBarButtonStyle}"> + <Setter Property="AutomationProperties.AutomationId" Value="LibraryAppBarButton"/> + <Setter Property="AutomationProperties.Name" Value="Library"/> + <Setter Property="Content" Value=""/> + </Style> + <Style x:Key="PhonebookAppBarButtonStyle" TargetType="ButtonBase" BasedOn="{StaticResource AppBarButtonStyle}"> + <Setter Property="AutomationProperties.AutomationId" Value="PhonebookAppBarButton"/> + <Setter Property="AutomationProperties.Name" Value="Phonebook"/> + <Setter Property="Content" Value=""/> + </Style> + <Style x:Key="MemoAppBarButtonStyle" TargetType="ButtonBase" BasedOn="{StaticResource AppBarButtonStyle}"> + <Setter Property="AutomationProperties.AutomationId" Value="MemoAppBarButton"/> + <Setter Property="AutomationProperties.Name" Value="Memo"/> + <Setter Property="Content" Value=""/> + </Style> + <Style x:Key="MicrophoneAppBarButtonStyle" TargetType="ButtonBase" BasedOn="{StaticResource AppBarButtonStyle}"> + <Setter Property="AutomationProperties.AutomationId" Value="MicrophoneAppBarButton"/> + <Setter Property="AutomationProperties.Name" Value="Microphone"/> + <Setter Property="Content" Value=""/> + </Style> + <Style x:Key="PostUpdateAppBarButtonStyle" TargetType="ButtonBase" BasedOn="{StaticResource AppBarButtonStyle}"> + <Setter Property="AutomationProperties.AutomationId" Value="PostUpdateAppBarButton"/> + <Setter Property="AutomationProperties.Name" Value="Post Update"/> + <Setter Property="Content" Value=""/> + </Style> + <Style x:Key="BackToWindowAppBarButtonStyle" TargetType="ButtonBase" BasedOn="{StaticResource AppBarButtonStyle}"> + <Setter Property="AutomationProperties.AutomationId" Value="BackToWindowAppBarButton"/> + <Setter Property="AutomationProperties.Name" Value="Back to Window"/> + <Setter Property="Content" Value=""/> + </Style> + --> + + <!-- + <Style x:Key="FullScreenAppBarButtonStyle" TargetType="ButtonBase" BasedOn="{StaticResource AppBarButtonStyle}"> + <Setter Property="AutomationProperties.AutomationId" Value="FullScreenAppBarButton"/> + <Setter Property="AutomationProperties.Name" Value="Full Screen"/> + <Setter Property="Content" Value=""/> + </Style> + <Style x:Key="NewFolderAppBarButtonStyle" TargetType="ButtonBase" BasedOn="{StaticResource AppBarButtonStyle}"> + <Setter Property="AutomationProperties.AutomationId" Value="NewFolderAppBarButton"/> + <Setter Property="AutomationProperties.Name" Value="New Folder"/> + <Setter Property="Content" Value=""/> + </Style> + <Style x:Key="CalendarReplyAppBarButtonStyle" TargetType="ButtonBase" BasedOn="{StaticResource AppBarButtonStyle}"> + <Setter Property="AutomationProperties.AutomationId" Value="CalendarReplyAppBarButton"/> + <Setter Property="AutomationProperties.Name" Value="Calendar Reply"/> + <Setter Property="Content" Value=""/> + </Style> + <Style x:Key="UnsyncFolderAppBarButtonStyle" TargetType="ButtonBase" BasedOn="{StaticResource AppBarButtonStyle}"> + <Setter Property="AutomationProperties.AutomationId" Value="UnsyncFolderAppBarButton"/> + <Setter Property="AutomationProperties.Name" Value="Unsync Folder"/> + <Setter Property="Content" Value=""/> + </Style> + <Style x:Key="ReportHackedAppBarButtonStyle" TargetType="ButtonBase" BasedOn="{StaticResource AppBarButtonStyle}"> + <Setter Property="AutomationProperties.AutomationId" Value="ReportHackedAppBarButton"/> + <Setter Property="AutomationProperties.Name" Value="Report Hacked"/> + <Setter Property="Content" Value=""/> + </Style> + <Style x:Key="SyncFolderAppBarButtonStyle" TargetType="ButtonBase" BasedOn="{StaticResource AppBarButtonStyle}"> + <Setter Property="AutomationProperties.AutomationId" Value="SyncFolderAppBarButton"/> + <Setter Property="AutomationProperties.Name" Value="Sync Folder"/> + <Setter Property="Content" Value=""/> + </Style> + <Style x:Key="BlockContactAppBarButtonStyle" TargetType="ButtonBase" BasedOn="{StaticResource AppBarButtonStyle}"> + <Setter Property="AutomationProperties.AutomationId" Value="Block ContactAppBarButton"/> + <Setter Property="AutomationProperties.Name" Value="BlockContact"/> + <Setter Property="Content" Value=""/> + </Style> + <Style x:Key="SwitchAppsAppBarButtonStyle" TargetType="ButtonBase" BasedOn="{StaticResource AppBarButtonStyle}"> + <Setter Property="AutomationProperties.AutomationId" Value="SwitchAppsAppBarButton"/> + <Setter Property="AutomationProperties.Name" Value="Switch Apps"/> + <Setter Property="Content" Value=""/> + </Style> + <Style x:Key="AddFriendAppBarButtonStyle" TargetType="ButtonBase" BasedOn="{StaticResource AppBarButtonStyle}"> + <Setter Property="AutomationProperties.AutomationId" Value="AddFriendAppBarButton"/> + <Setter Property="AutomationProperties.Name" Value="Add Friend"/> + <Setter Property="Content" Value=""/> + </Style> + <Style x:Key="TouchPointerAppBarButtonStyle" TargetType="ButtonBase" BasedOn="{StaticResource AppBarButtonStyle}"> + <Setter Property="AutomationProperties.AutomationId" Value="TouchPointerAppBarButton"/> + <Setter Property="AutomationProperties.Name" Value="Touch Pointer"/> + <Setter Property="Content" Value=""/> + </Style> + <Style x:Key="GoToStartAppBarButtonStyle" TargetType="ButtonBase" BasedOn="{StaticResource AppBarButtonStyle}"> + <Setter Property="AutomationProperties.AutomationId" Value="GoToStartAppBarButton"/> + <Setter Property="AutomationProperties.Name" Value="Go to Start"/> + <Setter Property="Content" Value=""/> + </Style> + <Style x:Key="ZeroBarsAppBarButtonStyle" TargetType="ButtonBase" BasedOn="{StaticResource AppBarButtonStyle}"> + <Setter Property="AutomationProperties.AutomationId" Value="ZeroBarsAppBarButton"/> + <Setter Property="AutomationProperties.Name" Value="Zero Bars"/> + <Setter Property="Content" Value=""/> + </Style> + <Style x:Key="OneBarAppBarButtonStyle" TargetType="ButtonBase" BasedOn="{StaticResource AppBarButtonStyle}"> + <Setter Property="AutomationProperties.AutomationId" Value="OneBarAppBarButton"/> + <Setter Property="AutomationProperties.Name" Value="One Bar"/> + <Setter Property="Content" Value=""/> + </Style> + <Style x:Key="TwoBarsAppBarButtonStyle" TargetType="ButtonBase" BasedOn="{StaticResource AppBarButtonStyle}"> + <Setter Property="AutomationProperties.AutomationId" Value="TwoBarsAppBarButton"/> + <Setter Property="AutomationProperties.Name" Value="Two Bars"/> + <Setter Property="Content" Value=""/> + </Style> + <Style x:Key="ThreeBarsAppBarButtonStyle" TargetType="ButtonBase" BasedOn="{StaticResource AppBarButtonStyle}"> + <Setter Property="AutomationProperties.AutomationId" Value="ThreeBarsAppBarButton"/> + <Setter Property="AutomationProperties.Name" Value="Three Bars"/> + <Setter Property="Content" Value=""/> + </Style> + <Style x:Key="FourBarsAppBarButtonStyle" TargetType="ButtonBase" BasedOn="{StaticResource AppBarButtonStyle}"> + <Setter Property="AutomationProperties.AutomationId" Value="FourBarsAppBarButton"/> + <Setter Property="AutomationProperties.Name" Value="Four Bars"/> + <Setter Property="Content" Value=""/> + </Style> + + --> + + <!-- Title area styles --> + + <Style x:Key="PageHeaderTextStyle" TargetType="TextBlock" BasedOn="{StaticResource HeaderTextStyle}"> + <Setter Property="TextWrapping" Value="NoWrap"/> + <Setter Property="VerticalAlignment" Value="Bottom"/> + <Setter Property="Margin" Value="0,0,30,40"/> + </Style> + + <Style x:Key="PageSubheaderTextStyle" TargetType="TextBlock" BasedOn="{StaticResource SubheaderTextStyle}"> + <Setter Property="TextWrapping" Value="NoWrap"/> + <Setter Property="VerticalAlignment" Value="Bottom"/> + <Setter Property="Margin" Value="0,0,0,40"/> + </Style> + + <Style x:Key="SnappedPageHeaderTextStyle" TargetType="TextBlock" BasedOn="{StaticResource PageSubheaderTextStyle}"> + <Setter Property="Margin" Value="0,0,18,40"/> + </Style> + + <!-- + BackButtonStyle is used to style a Button for use in the title area of a page. Margins appropriate for + the conventional page layout are included as part of the style. + --> + <Style x:Key="BackButtonStyle" TargetType="Button"> + <Setter Property="MinWidth" Value="0"/> + <Setter Property="Width" Value="48"/> + <Setter Property="Height" Value="48"/> + <Setter Property="Margin" Value="36,0,36,36"/> + <Setter Property="VerticalAlignment" Value="Bottom"/> + <Setter Property="FontFamily" Value="Segoe UI Symbol"/> + <Setter Property="FontWeight" Value="Normal"/> + <Setter Property="FontSize" Value="56"/> + <Setter Property="AutomationProperties.AutomationId" Value="BackButton"/> + <Setter Property="AutomationProperties.Name" Value="Back"/> + <Setter Property="AutomationProperties.ItemType" Value="Navigation Button"/> + <Setter Property="Template"> + <Setter.Value> + <ControlTemplate TargetType="Button"> + <Grid x:Name="RootGrid"> + <Grid Margin="-1,-16,0,0"> + <TextBlock x:Name="BackgroundGlyph" Text="" Foreground="{StaticResource BackButtonBackgroundThemeBrush}"/> + <TextBlock x:Name="NormalGlyph" Text="{StaticResource BackButtonGlyph}" Foreground="{StaticResource BackButtonForegroundThemeBrush}"/> + <TextBlock x:Name="ArrowGlyph" Text="" Foreground="{StaticResource BackButtonPressedForegroundThemeBrush}" Opacity="0"/> + </Grid> + <Rectangle + x:Name="FocusVisualWhite" + IsHitTestVisible="False" + Stroke="{StaticResource FocusVisualWhiteStrokeThemeBrush}" + StrokeEndLineCap="Square" + StrokeDashArray="1,1" + Opacity="0" + StrokeDashOffset="1.5"/> + <Rectangle + x:Name="FocusVisualBlack" + IsHitTestVisible="False" + Stroke="{StaticResource FocusVisualBlackStrokeThemeBrush}" + StrokeEndLineCap="Square" + StrokeDashArray="1,1" + Opacity="0" + StrokeDashOffset="0.5"/> + + <VisualStateManager.VisualStateGroups> + <VisualStateGroup x:Name="CommonStates"> + <VisualState x:Name="Normal" /> + <VisualState x:Name="PointerOver"> + <Storyboard> + <ObjectAnimationUsingKeyFrames Storyboard.TargetName="BackgroundGlyph" Storyboard.TargetProperty="Foreground"> + <DiscreteObjectKeyFrame KeyTime="0" Value="{StaticResource BackButtonPointerOverBackgroundThemeBrush}"/> + </ObjectAnimationUsingKeyFrames> + <ObjectAnimationUsingKeyFrames Storyboard.TargetName="NormalGlyph" Storyboard.TargetProperty="Foreground"> + <DiscreteObjectKeyFrame KeyTime="0" Value="{StaticResource BackButtonPointerOverForegroundThemeBrush}"/> + </ObjectAnimationUsingKeyFrames> + </Storyboard> + </VisualState> + <VisualState x:Name="Pressed"> + <Storyboard> + <ObjectAnimationUsingKeyFrames Storyboard.TargetName="BackgroundGlyph" Storyboard.TargetProperty="Foreground"> + <DiscreteObjectKeyFrame KeyTime="0" Value="{StaticResource BackButtonForegroundThemeBrush}"/> + </ObjectAnimationUsingKeyFrames> + <DoubleAnimation + Storyboard.TargetName="ArrowGlyph" + Storyboard.TargetProperty="Opacity" + To="1" + Duration="0"/> + <DoubleAnimation + Storyboard.TargetName="NormalGlyph" + Storyboard.TargetProperty="Opacity" + To="0" + Duration="0"/> + </Storyboard> + </VisualState> + <VisualState x:Name="Disabled"> + <Storyboard> + <ObjectAnimationUsingKeyFrames Storyboard.TargetName="RootGrid" Storyboard.TargetProperty="Visibility"> + <DiscreteObjectKeyFrame KeyTime="0" Value="Collapsed"/> + </ObjectAnimationUsingKeyFrames> + </Storyboard> + </VisualState> + </VisualStateGroup> + <VisualStateGroup x:Name="FocusStates"> + <VisualState x:Name="Focused"> + <Storyboard> + <DoubleAnimation + Storyboard.TargetName="FocusVisualWhite" + Storyboard.TargetProperty="Opacity" + To="1" + Duration="0"/> + <DoubleAnimation + Storyboard.TargetName="FocusVisualBlack" + Storyboard.TargetProperty="Opacity" + To="1" + Duration="0"/> + </Storyboard> + </VisualState> + <VisualState x:Name="Unfocused" /> + <VisualState x:Name="PointerFocused" /> + </VisualStateGroup> + </VisualStateManager.VisualStateGroups> + </Grid> + </ControlTemplate> + </Setter.Value> + </Setter> + </Style> + + <!-- + PortraitBackButtonStyle is used to style a Button for use in the title area of a portrait page. Margins appropriate + for the conventional page layout are included as part of the style. + --> + <Style x:Key="PortraitBackButtonStyle" TargetType="Button" BasedOn="{StaticResource BackButtonStyle}"> + <Setter Property="Margin" Value="26,0,26,36"/> + </Style> + + <!-- + SnappedBackButtonStyle is used to style a Button for use in the title area of a snapped page. Margins appropriate + for the conventional page layout are included as part of the style. + + The obvious duplication here is necessary as the glyphs used in snapped are not merely smaller versions of the same + glyph but are actually distinct. + --> + <Style x:Key="SnappedBackButtonStyle" TargetType="Button"> + <Setter Property="MinWidth" Value="0"/> + <Setter Property="Margin" Value="20,0,0,0"/> + <Setter Property="VerticalAlignment" Value="Bottom"/> + <Setter Property="FontFamily" Value="Segoe UI Symbol"/> + <Setter Property="FontWeight" Value="Normal"/> + <Setter Property="FontSize" Value="26.66667"/> + <Setter Property="AutomationProperties.AutomationId" Value="BackButton"/> + <Setter Property="AutomationProperties.Name" Value="Back"/> + <Setter Property="AutomationProperties.ItemType" Value="Navigation Button"/> + <Setter Property="Template"> + <Setter.Value> + <ControlTemplate TargetType="Button"> + <Grid x:Name="RootGrid" Width="36" Height="36" Margin="-3,0,7,33"> + <Grid Margin="-1,-1,0,0"> + <TextBlock x:Name="BackgroundGlyph" Text="" Foreground="{StaticResource BackButtonBackgroundThemeBrush}"/> + <TextBlock x:Name="NormalGlyph" Text="{StaticResource BackButtonSnappedGlyph}" Foreground="{StaticResource BackButtonForegroundThemeBrush}"/> + <TextBlock x:Name="ArrowGlyph" Text="" Foreground="{StaticResource BackButtonPressedForegroundThemeBrush}" Opacity="0"/> + </Grid> + <Rectangle + x:Name="FocusVisualWhite" + IsHitTestVisible="False" + Stroke="{StaticResource FocusVisualWhiteStrokeThemeBrush}" + StrokeEndLineCap="Square" + StrokeDashArray="1,1" + Opacity="0" + StrokeDashOffset="1.5"/> + <Rectangle + x:Name="FocusVisualBlack" + IsHitTestVisible="False" + Stroke="{StaticResource FocusVisualBlackStrokeThemeBrush}" + StrokeEndLineCap="Square" + StrokeDashArray="1,1" + Opacity="0" + StrokeDashOffset="0.5"/> + + <VisualStateManager.VisualStateGroups> + <VisualStateGroup x:Name="CommonStates"> + <VisualState x:Name="Normal" /> + <VisualState x:Name="PointerOver"> + <Storyboard> + <ObjectAnimationUsingKeyFrames Storyboard.TargetName="BackgroundGlyph" Storyboard.TargetProperty="Foreground"> + <DiscreteObjectKeyFrame KeyTime="0" Value="{StaticResource BackButtonPointerOverBackgroundThemeBrush}"/> + </ObjectAnimationUsingKeyFrames> + <ObjectAnimationUsingKeyFrames Storyboard.TargetName="NormalGlyph" Storyboard.TargetProperty="Foreground"> + <DiscreteObjectKeyFrame KeyTime="0" Value="{StaticResource BackButtonPointerOverForegroundThemeBrush}"/> + </ObjectAnimationUsingKeyFrames> + </Storyboard> + </VisualState> + <VisualState x:Name="Pressed"> + <Storyboard> + <ObjectAnimationUsingKeyFrames Storyboard.TargetName="BackgroundGlyph" Storyboard.TargetProperty="Foreground"> + <DiscreteObjectKeyFrame KeyTime="0" Value="{StaticResource BackButtonForegroundThemeBrush}"/> + </ObjectAnimationUsingKeyFrames> + <DoubleAnimation + Storyboard.TargetName="ArrowGlyph" + Storyboard.TargetProperty="Opacity" + To="1" + Duration="0"/> + <DoubleAnimation + Storyboard.TargetName="NormalGlyph" + Storyboard.TargetProperty="Opacity" + To="0" + Duration="0"/> + </Storyboard> + </VisualState> + <VisualState x:Name="Disabled"> + <Storyboard> + <ObjectAnimationUsingKeyFrames Storyboard.TargetName="RootGrid" Storyboard.TargetProperty="Visibility"> + <DiscreteObjectKeyFrame KeyTime="0" Value="Collapsed"/> + </ObjectAnimationUsingKeyFrames> + </Storyboard> + </VisualState> + </VisualStateGroup> + <VisualStateGroup x:Name="FocusStates"> + <VisualState x:Name="Focused"> + <Storyboard> + <DoubleAnimation + Storyboard.TargetName="FocusVisualWhite" + Storyboard.TargetProperty="Opacity" + To="1" + Duration="0"/> + <DoubleAnimation + Storyboard.TargetName="FocusVisualBlack" + Storyboard.TargetProperty="Opacity" + To="1" + Duration="0"/> + </Storyboard> + </VisualState> + <VisualState x:Name="Unfocused" /> + <VisualState x:Name="PointerFocused" /> + </VisualStateGroup> + </VisualStateManager.VisualStateGroups> + </Grid> + </ControlTemplate> + </Setter.Value> + </Setter> + </Style> + + <!-- Item templates --> + + <!-- Grid-appropriate 250 pixel square item template as seen in the GroupedItemsPage and ItemsPage --> + <DataTemplate x:Key="Standard250x250ItemTemplate"> + <Grid HorizontalAlignment="Left" Width="250" Height="250"> + <Border Background="{StaticResource ListViewItemPlaceholderBackgroundThemeBrush}"> + <Image Source="{Binding Image}" Stretch="UniformToFill" AutomationProperties.Name="{Binding Title}"/> + </Border> + <StackPanel VerticalAlignment="Bottom" Background="{StaticResource ListViewItemOverlayBackgroundThemeBrush}"> + <TextBlock Text="{Binding Title}" Foreground="{StaticResource ListViewItemOverlayForegroundThemeBrush}" Style="{StaticResource TitleTextStyle}" Height="60" Margin="15,0,15,0"/> + <TextBlock Text="{Binding Subtitle}" Foreground="{StaticResource ListViewItemOverlaySecondaryForegroundThemeBrush}" Style="{StaticResource CaptionTextStyle}" TextWrapping="NoWrap" Margin="15,0,15,10"/> + </StackPanel> + </Grid> + </DataTemplate> + + <!-- Grid-appropriate 500 by 130 pixel item template as seen in the GroupDetailPage --> + <DataTemplate x:Key="Standard500x130ItemTemplate"> + <Grid Height="110" Width="480" Margin="10"> + <Grid.ColumnDefinitions> + <ColumnDefinition Width="Auto"/> + <ColumnDefinition Width="*"/> + </Grid.ColumnDefinitions> + <Border Background="{StaticResource ListViewItemPlaceholderBackgroundThemeBrush}" Width="110" Height="110"> + <Image Source="{Binding Image}" Stretch="UniformToFill" AutomationProperties.Name="{Binding Title}"/> + </Border> + <StackPanel Grid.Column="1" VerticalAlignment="Top" Margin="10,0,0,0"> + <TextBlock Text="{Binding Title}" Style="{StaticResource TitleTextStyle}" TextWrapping="NoWrap"/> + <TextBlock Text="{Binding Subtitle}" Style="{StaticResource CaptionTextStyle}" TextWrapping="NoWrap"/> + <TextBlock Text="{Binding Description}" Style="{StaticResource BodyTextStyle}" MaxHeight="60"/> + </StackPanel> + </Grid> + </DataTemplate> + + <!-- List-appropriate 130 pixel high item template as seen in the SplitPage --> + <DataTemplate x:Key="Standard130ItemTemplate"> + <Grid Height="110" Margin="6"> + <Grid.ColumnDefinitions> + <ColumnDefinition Width="Auto"/> + <ColumnDefinition Width="*"/> + </Grid.ColumnDefinitions> + <Border Background="{StaticResource ListViewItemPlaceholderBackgroundThemeBrush}" Width="110" Height="110"> + <Image Source="{Binding Image}" Stretch="UniformToFill" AutomationProperties.Name="{Binding Title}"/> + </Border> + <StackPanel Grid.Column="1" VerticalAlignment="Top" Margin="10,0,0,0"> + <TextBlock Text="{Binding Title}" Style="{StaticResource TitleTextStyle}" TextWrapping="NoWrap"/> + <TextBlock Text="{Binding Subtitle}" Style="{StaticResource CaptionTextStyle}" TextWrapping="NoWrap"/> + <TextBlock Text="{Binding Description}" Style="{StaticResource BodyTextStyle}" MaxHeight="60"/> + </StackPanel> + </Grid> + </DataTemplate> + + <!-- + List-appropriate 80 pixel high item template as seen in the SplitPage when Filled, and + the following pages when snapped: GroupedItemsPage, GroupDetailPage, and ItemsPage + --> + <DataTemplate x:Key="Standard80ItemTemplate"> + <Grid Margin="6"> + <Grid.ColumnDefinitions> + <ColumnDefinition Width="Auto"/> + <ColumnDefinition Width="*"/> + </Grid.ColumnDefinitions> + <Border Background="{StaticResource ListViewItemPlaceholderBackgroundThemeBrush}" Width="60" Height="60"> + <Image Source="{Binding Image}" Stretch="UniformToFill"/> + </Border> + <StackPanel Grid.Column="1" Margin="10,0,0,0"> + <TextBlock Text="{Binding Title}" Style="{StaticResource ItemTextStyle}" MaxHeight="40"/> + <TextBlock Text="{Binding Subtitle}" Style="{StaticResource CaptionTextStyle}" TextWrapping="NoWrap"/> + </StackPanel> + </Grid> + </DataTemplate> + + <!-- Grid-appropriate 300 by 70 pixel item template as seen in the SearchResultsPage --> + <DataTemplate x:Key="StandardSmallIcon300x70ItemTemplate"> + <Grid Width="294" Margin="6"> + <Grid.ColumnDefinitions> + <ColumnDefinition Width="Auto"/> + <ColumnDefinition Width="*"/> + </Grid.ColumnDefinitions> + <Border Background="{StaticResource ListViewItemPlaceholderBackgroundThemeBrush}" Margin="0,0,0,10" Width="40" Height="40"> + <Image Source="{Binding Image}" Stretch="UniformToFill"/> + </Border> + <StackPanel Grid.Column="1" Margin="10,-10,0,0"> + <TextBlock Text="{Binding Title}" Style="{StaticResource BodyTextStyle}" TextWrapping="NoWrap"/> + <TextBlock Text="{Binding Subtitle}" Style="{StaticResource BodyTextStyle}" Foreground="{StaticResource ApplicationSecondaryForegroundThemeBrush}" TextWrapping="NoWrap"/> + <TextBlock Text="{Binding Description}" Style="{StaticResource BodyTextStyle}" Foreground="{StaticResource ApplicationSecondaryForegroundThemeBrush}" TextWrapping="NoWrap"/> + </StackPanel> + </Grid> + </DataTemplate> + + <!-- List-appropriate 70 pixel high item template as seen in the SearchResultsPage when Snapped --> + <DataTemplate x:Key="StandardSmallIcon70ItemTemplate"> + <Grid Margin="6"> + <Grid.ColumnDefinitions> + <ColumnDefinition Width="Auto"/> + <ColumnDefinition Width="*"/> + </Grid.ColumnDefinitions> + <Border Background="{StaticResource ListViewItemPlaceholderBackgroundThemeBrush}" Margin="0,0,0,10" Width="40" Height="40"> + <Image Source="{Binding Image}" Stretch="UniformToFill"/> + </Border> + <StackPanel Grid.Column="1" Margin="10,-10,0,0"> + <TextBlock Text="{Binding Title}" Style="{StaticResource BodyTextStyle}" TextWrapping="NoWrap"/> + <TextBlock Text="{Binding Subtitle}" Style="{StaticResource BodyTextStyle}" Foreground="{StaticResource ApplicationSecondaryForegroundThemeBrush}" TextWrapping="NoWrap"/> + <TextBlock Text="{Binding Description}" Style="{StaticResource BodyTextStyle}" Foreground="{StaticResource ApplicationSecondaryForegroundThemeBrush}" TextWrapping="NoWrap"/> + </StackPanel> + </Grid> + </DataTemplate> + + <!-- + 190x130 pixel item template for displaying file previews as seen in the FileOpenPickerPage + Includes an elaborate tooltip to display title and description text + --> + <DataTemplate x:Key="StandardFileWithTooltip190x130ItemTemplate"> + <Grid> + <Grid Background="{StaticResource ListViewItemPlaceholderBackgroundThemeBrush}"> + <Image + Source="{Binding Image}" + Width="190" + Height="130" + HorizontalAlignment="Center" + VerticalAlignment="Center" + Stretch="Uniform"/> + </Grid> + <ToolTipService.Placement>Mouse</ToolTipService.Placement> + <ToolTipService.ToolTip> + <ToolTip> + <ToolTip.Style> + <Style TargetType="ToolTip"> + <Setter Property="BorderBrush" Value="{StaticResource ToolTipBackgroundThemeBrush}" /> + <Setter Property="Padding" Value="0" /> + </Style> + </ToolTip.Style> + + <Grid Background="{StaticResource ApplicationPageBackgroundThemeBrush}"> + <Grid.ColumnDefinitions> + <ColumnDefinition Width="Auto"/> + <ColumnDefinition Width="*"/> + </Grid.ColumnDefinitions> + + <Grid Background="{StaticResource ListViewItemPlaceholderBackgroundThemeBrush}" Margin="20"> + <Image + Source="{Binding Image}" + Width="160" + Height="160" + HorizontalAlignment="Center" + VerticalAlignment="Center" + Stretch="Uniform"/> + </Grid> + <StackPanel Width="200" Grid.Column="1" Margin="0,20,20,20"> + <TextBlock Text="{Binding Title}" TextWrapping="NoWrap" Style="{StaticResource BodyTextStyle}"/> + <TextBlock Text="{Binding Description}" MaxHeight="140" Foreground="{StaticResource ApplicationSecondaryForegroundThemeBrush}" Style="{StaticResource BodyTextStyle}"/> + </StackPanel> + </Grid> + </ToolTip> + </ToolTipService.ToolTip> + </Grid> + </DataTemplate> + + <!-- ScrollViewer styles --> + + <Style x:Key="HorizontalScrollViewerStyle" TargetType="ScrollViewer"> + <Setter Property="HorizontalScrollBarVisibility" Value="Auto"/> + <Setter Property="VerticalScrollBarVisibility" Value="Disabled"/> + <Setter Property="ScrollViewer.HorizontalScrollMode" Value="Enabled" /> + <Setter Property="ScrollViewer.VerticalScrollMode" Value="Disabled" /> + <Setter Property="ScrollViewer.ZoomMode" Value="Disabled" /> + </Style> + + <Style x:Key="VerticalScrollViewerStyle" TargetType="ScrollViewer"> + <Setter Property="HorizontalScrollBarVisibility" Value="Disabled"/> + <Setter Property="VerticalScrollBarVisibility" Value="Auto"/> + <Setter Property="ScrollViewer.HorizontalScrollMode" Value="Disabled" /> + <Setter Property="ScrollViewer.VerticalScrollMode" Value="Enabled" /> + <Setter Property="ScrollViewer.ZoomMode" Value="Disabled" /> + </Style> + + <!-- Page layout roots typically use entrance animations and a theme-appropriate background color --> + + <Style x:Key="LayoutRootStyle" TargetType="Panel"> + <Setter Property="Background" Value="{StaticResource ApplicationPageBackgroundThemeBrush}"/> + <Setter Property="ChildrenTransitions"> + <Setter.Value> + <TransitionCollection> + <EntranceThemeTransition/> + </TransitionCollection> + </Setter.Value> + </Setter> + </Style> +</ResourceDictionary> diff --git a/winRT/winapp/MainPage.xaml b/winRT/winapp/MainPage.xaml new file mode 100644 index 00000000..d864da72 --- /dev/null +++ b/winRT/winapp/MainPage.xaml @@ -0,0 +1,90 @@ +<Page + x:Class="winapp.MainPage" + xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" + xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" + xmlns:local="using:winapp" + xmlns:d="http://schemas.microsoft.com/expression/blend/2008" + xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" + mc:Ignorable="d"> + <Page.Resources> + <Style x:Key="ButtonStyle1" TargetType="Button"> + <Setter Property="Template"> + <Setter.Value> + <ControlTemplate TargetType="Button"> + <Grid> + <VisualStateManager.VisualStateGroups> + <VisualStateGroup x:Name="CommonStates"> + <VisualState x:Name="Pressed"/> + <VisualState x:Name="Disabled"/> + <VisualState x:Name="PointerOver"/> + </VisualStateGroup> + <VisualStateGroup x:Name="FocusStates"> + <VisualState x:Name="Focused"/> + <VisualState x:Name="PointerFocused"/> + </VisualStateGroup> + </VisualStateManager.VisualStateGroups> + <Image Source="Assets/mupdf_splash.png" Stretch="Fill"/> + <ContentPresenter x:Name="Mupdf_button" HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}" VerticalAlignment="{TemplateBinding VerticalContentAlignment}"/> + </Grid> + </ControlTemplate> + </Setter.Value> + </Setter> + </Style> + </Page.Resources> + <Page.BottomAppBar> + <AppBar> + <Grid Background="{StaticResource AppBarBackgroundThemeBrush}" HorizontalAlignment="Left" Width="1346"> + <Grid.RowDefinitions> + <RowDefinition Height="Auto"/> + <RowDefinition Height="Auto"/> + </Grid.RowDefinitions> + <StackPanel x:Name="LeftBottomPanel" Orientation="Horizontal" HorizontalAlignment="Left"> + <Slider x:Name="xaml_PageSlider" Minimum="0" Maximum="10" ValueChanged="Slider_ValueChanged" HorizontalAlignment="Left" Width="1122" Margin="10,12,0,12" /> + </StackPanel> + <StackPanel x:Name="RightBottomPanel" Orientation="Horizontal" HorizontalAlignment="Right"> + <Button x:Name="Find_File" Style="{StaticResource OpenFileAppBarButtonStyle}" Tag="OpenFile" Click="Picker"/> + </StackPanel> + </Grid> + </AppBar> + </Page.BottomAppBar> + <Page.TopAppBar> + <AppBar x:Name="TopAppBar1" AutomationProperties.Name="Top App Bar"> + <Grid> + <Grid.RowDefinitions> + <RowDefinition Height="Auto"/> + <RowDefinition Height="Auto"/> + </Grid.RowDefinitions> + <StackPanel x:Name="LeftPanel" Orientation="Horizontal"> + + </StackPanel> + <StackPanel x:Name="RightPanel" Orientation="Horizontal" HorizontalAlignment="Right"> + <Button x:Name="Search" Style="{StaticResource SearchAppBarButtonStyle}" Tag="Search" Click="Searcher"/> + <Button x:Name="Help" Style="{StaticResource HelpAppBarButtonStyle}" Tag="Help"/> + </StackPanel> + </Grid> + </AppBar> + </Page.TopAppBar> + <Grid> + <Grid.Background> + <LinearGradientBrush EndPoint="-0.074,-0.068" StartPoint="1.027,1.024"> + <GradientStop Color="Black"/> + <GradientStop Color="White"/> + <GradientStop Color="White" Offset="0.919"/> + <GradientStop Color="#FFCDCDCD" Offset="0.741"/> + <GradientStop Color="#FF909090" Offset="0.524"/> + <GradientStop Color="#FF737373" Offset="0.421"/> + <GradientStop Color="#FF2A2A2A" Offset="0.155"/> + <GradientStop Color="#FF1A1A1A" Offset="0.097"/> + <GradientStop Color="#FF040404" Offset="0.018"/> + <GradientStop Color="#FFB3B3B3" Offset="0.651"/> + <GradientStop Color="#FF989898" Offset="0.556"/> + <GradientStop Color="#FF666666" Offset="0.375"/> + <GradientStop Color="#FF4B4B4B" Offset="0.278"/> + <GradientStop Color="#FF3A3A3A" Offset="0.215"/> + </LinearGradientBrush> + </Grid.Background> + + <Grid x:Name="xaml_MainGrid" Margin="-106,10,106,-10" HorizontalAlignment="Center" VerticalAlignment="Top"> + </Grid> + </Grid> +</Page> diff --git a/winRT/winapp/MainPage.xaml.cpp b/winRT/winapp/MainPage.xaml.cpp new file mode 100644 index 00000000..1925fc35 --- /dev/null +++ b/winRT/winapp/MainPage.xaml.cpp @@ -0,0 +1,696 @@ +// +// MainPage.xaml.cpp +// Implementation of the MainPage class. +// + +#include "pch.h" +#include "MainPage.xaml.h" + +#define LOOK_AHEAD 10 /* A +/- count on the pages to pre-render */ +#define MIN_SCALE 0.5 +#define MAX_SCALE 4 +#define MARGIN_BUFF 400 + +typedef struct RectSize_s +{ + float width; + float height; +} RectSize; + +static float screenScale = 1; +static fz_context *ctx = NULL; + +using namespace winapp; + +using namespace Platform; +using namespace Windows::Foundation; +using namespace Windows::Foundation::Collections; +using namespace Windows::UI::Xaml; +using namespace Windows::UI::Xaml::Controls; +using namespace Windows::UI::Xaml::Controls::Primitives; +using namespace Windows::UI::Xaml::Data; +using namespace Windows::UI::Xaml::Media; +using namespace Windows::UI::Xaml::Navigation; + +//****************** Added ***************** +using namespace Windows::Storage::Pickers; +using namespace Windows::Devices::Enumeration; +using namespace concurrency; +using namespace Windows::Graphics::Imaging; +//****************** End Add **************** + +typedef struct win_stream_struct_s +{ + IRandomAccessStream^ stream; +} win_stream_struct; +static win_stream_struct win_stream; + +MainPage::MainPage() +{ + InitializeComponent(); + m_currpage = 0; + m_file_open = false; + m_doc = NULL; + m_slider_min = 0; + m_slider_max = 0; + m_init_done = false; + m_memory_use = 0; + m_zoom_mode = false; + m_zoom_handled = false; + m_first_time = false; + m_insearch = false; + + m_curr_zoom = 1.0; + m_canvas_translate.X = 0; + m_canvas_translate.Y = 0; + + this->xaml_PageSlider->Minimum = m_slider_min; + this->xaml_PageSlider->Maximum = m_slider_max; + this->xaml_PageSlider->IsEnabled = false; + + // use at most 128M for resource cache + ctx = fz_new_context(NULL, NULL, 128<<20); + + // Create the flipview object + m_flipView = ref new FlipView(); + m_flipView->VerticalAlignment = Windows::UI::Xaml::VerticalAlignment::Center; + m_flipView->HorizontalAlignment = Windows::UI::Xaml::HorizontalAlignment::Center; + m_flipView->SelectionChanged += + ref new SelectionChangedEventHandler(this, &MainPage::FlipView_SelectionChanged); + m_flipView->DoubleTapped += + ref new DoubleTappedEventHandler(this, &MainPage::FlipView_Double); + + // Create the image brush + m_renderedImage = ref new ImageBrush(); +} + +/// <summary> +/// Invoked when this page is about to be displayed in a Frame. +/// </summary> +/// <param name="e">Event data that describes how this page was reached. The Parameter +/// property is typically used to configure the page.</param> +void MainPage::OnNavigatedTo(NavigationEventArgs^ e) +{ + (void) e; // Unused parameter +} + +void winapp::MainPage::Picker(Platform::Object^ sender, Windows::UI::Xaml::RoutedEventArgs^ e) +{ + FileOpenPicker^ openPicker = ref new FileOpenPicker(); + openPicker->ViewMode = PickerViewMode::List; + openPicker->SuggestedStartLocation = PickerLocationId::PicturesLibrary; + openPicker->FileTypeFilter->Append(".pdf"); + openPicker->FileTypeFilter->Append(".xps"); + openPicker->FileTypeFilter->Append(".oxps"); + + create_task(openPicker->PickSingleFileAsync()).then([this](StorageFile^ file) + { + if (file) + { + this->OpenDocument(file); + /* File selected. Start rendering and switch view. */ + //txtBlockOutput->Text = "Picked photo: " + file->Name; + } + else + { + /* Nothing selected */ + } + }); +} + +void MainPage::NotifyUserFileNotExist() +{ + //NotifyUser("The file '" + Filename + "' does not exist. Use scenario one to create this file.", NotifyType::ErrorMessage); +} + +void MainPage::HandleFileNotFoundException(Platform::COMException^ e) +{ + if (e->HResult == 0x80070002) // Catch FileNotExistException + { + NotifyUserFileNotExist(); + } + else + { + throw e; + } +} + +static RectSize measurePage(fz_document *doc, fz_page *page) +{ + RectSize pageSize; + fz_rect rect; + fz_rect *bounds = fz_bound_page(doc, page, &rect); + + pageSize.width = bounds->x1 - bounds->x0; + pageSize.height = bounds->y1 - bounds->y0; + return pageSize; +} + +static RectSize fitPageToScreen(RectSize page, RectSize screen) +{ + RectSize pageSize; + + float hscale = screen.width / page.width; + float vscale = screen.height / page.height; + float scale = fz_min(hscale, vscale); + pageSize.width = floorf(page.width * scale) / page.width; + pageSize.height = floorf(page.height * scale) / page.height; + return pageSize; +} + +void MainPage::Prepare_bmp(int width, int height, DataWriter ^dw) +{ + int row_size = width * 4; + int bmp_size = row_size * height + 54; + + dw->WriteString("BM"); + dw->ByteOrder = ByteOrder::LittleEndian; + dw->WriteInt32(bmp_size); + dw->WriteInt16(0); + dw->WriteInt16(0); + dw->WriteInt32(54); + dw->WriteInt32(40); + dw->WriteInt32(width); + dw->WriteInt32(height); + dw->WriteInt16(1); + dw->WriteInt16(32); + dw->WriteInt32(0); + dw->WriteInt32(row_size * height); + dw->WriteInt32(2835); + dw->WriteInt32(2835); + dw->WriteInt32(0); + dw->WriteInt32(0); +} + +/* Add rendered page into flipview structure at location page_num */ +void MainPage::AddPage(int page_num) +{ + FlipViewItem ^flipview_temp = ref new FlipViewItem(); + flipview_temp->Background = this->m_renderedImage; + m_flipView->Items->Append(flipview_temp); +} + +/* Replace rendered page into flipview structure at location page_num */ +void MainPage::ReplacePage(int page_num) +{ + FlipViewItem ^flipview_temp = (FlipViewItem^) m_flipView->Items->GetAt(page_num); + flipview_temp->Background = this->m_renderedImage; +} + +/* Add rendered page into flipview structure at location page_num */ +void MainPage::AddBlankPage(int page_num) +{ + FlipViewItem ^flipview_temp = ref new FlipViewItem(); + flipview_temp->Background = this->m_blankPage; + m_flipView->Items->Append(flipview_temp); +} + +/* Create white image for us to use as place holder in large document for flip + view filling instead of the thumbnail image */ +void MainPage::CreateBlank(int width, int height) +{ + Platform::Array<unsigned char>^ bmp_data = + ref new Platform::Array<unsigned char>(height * 4 * width); + /* Set up the memory stream */ + WriteableBitmap ^bmp = ref new WriteableBitmap(width, height); + InMemoryRandomAccessStream ^ras = ref new InMemoryRandomAccessStream(); + DataWriter ^dw = ref new DataWriter(ras->GetOutputStreamAt(0)); + /* Go ahead and write our header data into the memory stream */ + this->Prepare_bmp(width, height, dw); + + /* Set the data to all white */ + memset(bmp_data->Data, 255, height * 4 * width); + + /* Write the data */ + dw->WriteBytes(bmp_data); + + DataWriterStoreOperation^ result = dw->StoreAsync(); + /* Block on the Async call */ + while(result->Status != AsyncStatus::Completed) { + } + /* And store in a the image brush */ + bmp->SetSource(ras); + m_blankPage = ref new ImageBrush(); + m_blankPage->Stretch = Windows::UI::Xaml::Media::Stretch::None; + m_blankPage->ImageSource = bmp; +} + +/* win_read_file. Reading of windows managed stream. This is not ideal as I have + to read into a managed buffer and then transfer to the actual buffer I want. I + would like a more direct approach */ +static int win_read_file(fz_stream *stm, unsigned char *buf, int len) +{ + void *temp = stm->state; + win_stream_struct *stream = reinterpret_cast <win_stream_struct*> (temp); + IRandomAccessStream^ Stream = stream->stream; + unsigned long long curr_pos = Stream->Position; + unsigned long long length = Stream->Size; + + DataReader^ local_reader = ref new DataReader(Stream); + DataReaderLoadOperation^ result = local_reader->LoadAsync(len); + + /* Block on the Async call */ + while(result->Status != AsyncStatus::Completed) { + + } + result->GetResults(); + int curr_len2 = local_reader->UnconsumedBufferLength; + if (curr_len2 < len) + len = curr_len2; + + Platform::Array<unsigned char>^ arrByte = ref new Platform::Array<unsigned char>(len); + local_reader->ReadBytes(arrByte); + + memcpy(buf, arrByte->Data, len); + local_reader->DetachStream(); + + return len; +} + +static void win_seek_file(fz_stream *stm, int offset, int whence) +{ + void *temp = stm->state; + win_stream_struct *stream = reinterpret_cast <win_stream_struct*> (temp); + IRandomAccessStream^ Stream = stream->stream; + unsigned long long curr_pos = Stream->Position; + unsigned long long length = Stream->Size; + unsigned long long n; + + if (whence == SEEK_END) + { + n = length + offset; + } + else if (whence == SEEK_CUR) + { + n = curr_pos + offset; + } + else if (whence == SEEK_SET) + { + n = offset; + } + Stream->Seek(n); + curr_pos = Stream->Position; + stm->pos = n; + stm->rp = stm->bp; + stm->wp = stm->bp; +} + +static void win_close_file(fz_context *ctx, void *state) +{ + + DataReader^ dataReader = reinterpret_cast <DataReader^> (state); + + delete dataReader; +} + +void winapp::MainPage::PixToMemStream(fz_pixmap *pix, DataWriter ^dw, Platform::Array<unsigned char> ^arr) +{ + unsigned char *samples = fz_pixmap_samples(ctx, pix); + int w = fz_pixmap_width(ctx, pix); + int h = fz_pixmap_height(ctx, pix); + + /* Write the data */ + dw->WriteBytes(arr); + + DataWriterStoreOperation^ result = dw->StoreAsync(); + /* Block on the Async call */ + while(result->Status != AsyncStatus::Completed) { + } +} + +void winapp::MainPage::RenderPage(fz_document *doc, fz_page *page, int *width, int *height, double scale_factor) +{ + fz_matrix ctm, *pctm = &ctm; + fz_device *dev; + fz_pixmap *pix; + RectSize pageSize; + RectSize scale; + RectSize screenSize; + int bmp_width, bmp_height; + + screenSize.height = this->ActualHeight; + screenSize.width = this->ActualWidth; + + screenSize.width *= screenScale; + screenSize.height *= screenScale; + + pageSize = measurePage(doc, page); + scale = fitPageToScreen(pageSize, screenSize); + pctm = fz_scale(pctm, scale.width * scale_factor, scale.height * scale_factor); + bmp_width = pageSize.width * scale.width * scale_factor; + bmp_height = pageSize.height * scale.height * scale_factor; + + /* Y is flipped for some reason */ + ctm.f = bmp_height; + ctm.d = -ctm.d; + + /* Allocate space for bmp */ + Platform::Array<unsigned char>^ bmp_data = + ref new Platform::Array<unsigned char>(bmp_height * 4 * bmp_width); + m_memory_use += bmp_height * 4 * bmp_width; + /* Set up the memory stream */ + WriteableBitmap ^bmp = ref new WriteableBitmap(bmp_width, bmp_height); + InMemoryRandomAccessStream ^ras = ref new InMemoryRandomAccessStream(); + DataWriter ^dw = ref new DataWriter(ras->GetOutputStreamAt(0)); + /* Go ahead and write our header data into the memory stream */ + this->Prepare_bmp(bmp_width, bmp_height, dw); + /* Now get a pointer to our samples and pass it to fitz to use */ + pix = fz_new_pixmap_with_data(ctx, fz_device_bgr, bmp_width, bmp_height, &(bmp_data[0])); + fz_clear_pixmap_with_value(ctx, pix, 255); + dev = fz_new_draw_device(ctx, pix); + fz_run_page(doc, page, dev, pctm, NULL); + fz_free_device(dev); + /* Now the data into the memory stream */ + PixToMemStream(pix, dw, bmp_data); + /* And store in a new image brush */ + bmp->SetSource(ras); + m_renderedImage = ref new ImageBrush(); + m_renderedImage->Stretch = Windows::UI::Xaml::Media::Stretch::None; + m_renderedImage->ImageSource = bmp; + *width = bmp_width; + *height = bmp_height; +} + +void winapp::MainPage::SetupCanvas() +{ + int height = this->ActualHeight; + int width = this->ActualWidth; + + m_Canvas = ref new Canvas(); + + m_Canvas->Height = height; + m_Canvas->Width = width; + + m_Canvas->VerticalAlignment = Windows::UI::Xaml::VerticalAlignment::Center; + m_Canvas->HorizontalAlignment = Windows::UI::Xaml::HorizontalAlignment::Center; + m_Canvas->ManipulationMode = Windows::UI::Xaml::Input::ManipulationModes::All; + m_Canvas->ManipulationDelta += + ref new ManipulationDeltaEventHandler(this, &MainPage::Canvas_ManipulationDelta); + m_Canvas->ManipulationStarted += + ref new ManipulationStartedEventHandler(this, &MainPage::Canvas_ManipulationStarted); + m_Canvas->ManipulationStarting += + ref new ManipulationStartingEventHandler(this, &MainPage::Canvas_ManipulationStarting); + m_Canvas->DoubleTapped += + ref new DoubleTappedEventHandler(this, &MainPage::Canvas_Double); + + CreateBlank(width, height); + m_Canvas->Background = this->m_blankPage; + m_Canvas->Children->Append(m_flipView); + xaml_MainGrid->Children->Append(m_Canvas); + m_Canvas->Background->Opacity = 0; +} + +void winapp::MainPage::OpenDocument(StorageFile^ file) +{ + String^ path = file->Path; + const wchar_t *w = path->Data(); + int size = wcslen(w); + + /* Set up the canvas */ + this->SetupCanvas(); + + create_task(file->OpenAsync(FileAccessMode::Read)).then([this, file](task<IRandomAccessStream^> task) + { + try + { + IRandomAccessStream^ readStream = task.get(); + UINT64 const size = readStream->Size; + win_stream.stream = readStream; + + if (size <= MAXUINT32) + { + /* assign data reader to stream object */ + fz_stream *str; + + str = fz_new_stream(ctx, 0, win_read_file, win_close_file); + str->seek = win_seek_file; + str->state = reinterpret_cast <void*> (&win_stream); + + /* Now lets see if we can render the file */ + m_doc = fz_open_document_with_stream(ctx, "pdf", str); + m_num_pages = m_doc->count_pages(m_doc); + + if ((m_currpage) >= m_num_pages) + { + m_currpage = m_num_pages - 1; + } + else if (m_currpage < 0) + { + m_currpage = 0; + } + /* Do a few pages */ + int height, width; + for (int k = 0; k < LOOK_AHEAD + 2; k++) + { + if (m_num_pages > k ) + { + fz_page *page = fz_load_page(m_doc, k); + this->RenderPage(m_doc, page, &width, &height, 1); + AddPage(k); + fz_free_page(m_doc, page); + } + } + /* If we still have more pages, then set the rest to a blank white + page which will get bumped as we move through the doc. */ + if (m_num_pages > LOOK_AHEAD + 2) + { + CreateBlank(width, height); + for (int k = LOOK_AHEAD + 2; k < m_num_pages; k++) + { + AddBlankPage(k); + } + } + /* Update the slider settings, if more than one page */ + if (m_num_pages > 1) + { + this->xaml_PageSlider->Maximum = m_num_pages; + this->xaml_PageSlider->Minimum = 1; + this->xaml_PageSlider->IsEnabled = true; + } + else + { + this->xaml_PageSlider->Maximum = 0; + this->xaml_PageSlider->Minimum = 0; + this->xaml_PageSlider->IsEnabled = false; + } + this->m_init_done = true; + } + else + { + delete readStream; + } + } + catch(COMException^ ex) { + this->HandleFileNotFoundException(ex); + } + }); +} + +void winapp::MainPage::RenderRange(int curr_page) +{ + /* Render +/- the look ahead from where we are if blank page is present */ + for (int k = curr_page - LOOK_AHEAD; k <= curr_page + LOOK_AHEAD; k++) + { + if (k >= 0 && k < m_num_pages) + { + FlipViewItem ^flipview_temp = (FlipViewItem^) m_flipView->Items->GetAt(k); + if (flipview_temp->Background == this->m_blankPage) + { + fz_page *page = fz_load_page(m_doc, k); + int width, height; + this->RenderPage(m_doc, page, &width, &height, 1); + ReplacePage(k); + fz_free_page(m_doc, page); + } + } + } +} + +void winapp::MainPage::Slider_ValueChanged(Platform::Object^ sender, Windows::UI::Xaml::Controls::Primitives::RangeBaseValueChangedEventArgs^ e) +{ + int newValue= (int) this->xaml_PageSlider->Value - 1; /* zero based */ + + if (m_init_done && this->xaml_PageSlider->IsEnabled) + { + this->m_flipView->SelectedIndex = newValue; + this->RenderRange(newValue); + } + Windows::UI::Xaml::Input::ManipulationModes temp = m_flipView->ManipulationMode; +} + +void winapp::MainPage::FlipView_SelectionChanged(Object^ sender, SelectionChangedEventArgs^ e) +{ + int pos = this->m_flipView->SelectedIndex; + + if (m_init_done) + this->RenderRange(pos); +} + +void winapp::MainPage::FlipView_Double(Object^ sender, DoubleTappedRoutedEventArgs^ e) +{ + if (!m_zoom_mode) + { + m_zoom_mode = true; + int pos = this->m_flipView->SelectedIndex; + FlipViewItem ^flipview_temp = (FlipViewItem^) m_flipView->Items->GetAt(pos); + ImageBrush^ Image = (ImageBrush^) (flipview_temp->Background); + m_flipView->IsEnabled = false; + this->m_Canvas->Background = Image; + this->m_Canvas->Background->Opacity = 1; + this->m_flipView->Opacity = 0; + m_zoom_handled = true; + m_first_time = true; + } +} + +void winapp::MainPage::Canvas_ManipulationStarting(Object^ sender, ManipulationStartingRoutedEventArgs^ e) +{ + bool handled; + + e->GetType(); + handled = e->Handled; +} + +void winapp::MainPage::Canvas_ManipulationStarted(Object^ sender, ManipulationStartedRoutedEventArgs^ e) +{ + this->m_touchpoint = e->Position; +} + +void winapp::MainPage::Canvas_ManipulationDelta(Object^ sender, ManipulationDeltaRoutedEventArgs^ e) +{ + int width, height; + + m_changes = e->Cumulative; + if (e->Delta.Scale != 1 || m_first_time) + { + /* Render at scaled resolution */ + int pos = this->m_flipView->SelectedIndex; + fz_page *page = fz_load_page(m_doc, pos); + m_curr_zoom = m_curr_zoom * e->Delta.Scale; + if (m_curr_zoom < MIN_SCALE) m_curr_zoom = MIN_SCALE; + if (m_curr_zoom > MAX_SCALE) m_curr_zoom = MAX_SCALE; + this->RenderPage(m_doc, page, &width, &height, m_curr_zoom); + this->m_Canvas->Background = this->m_renderedImage; + m_zoom_size.X = width; + m_zoom_size.Y = height; + m_first_time = false; + } + + Windows::UI::Xaml::Media::TranslateTransform ^trans_transform = ref new TranslateTransform(); + m_canvas_translate.X += e->Delta.Translation.X; + m_canvas_translate.Y += e->Delta.Translation.Y; + + if (m_canvas_translate.Y > ((this->ActualHeight + m_zoom_size.Y) / 2 - MARGIN_BUFF) ) + { + m_canvas_translate.Y = (this->ActualHeight + m_zoom_size.Y) / 2 - MARGIN_BUFF; + } + if (m_canvas_translate.Y < (MARGIN_BUFF - (this->ActualHeight + m_zoom_size.Y) / 2) ) + { + m_canvas_translate.Y = MARGIN_BUFF - (this->ActualHeight + m_zoom_size.Y) / 2; + } + if (m_canvas_translate.X > ((this->ActualWidth + m_zoom_size.X) / 2 - MARGIN_BUFF)) + { + m_canvas_translate.X = (this->ActualWidth + m_zoom_size.X) / 2 - MARGIN_BUFF; + } + + if (m_canvas_translate.X < (MARGIN_BUFF - (this->ActualWidth + m_zoom_size.X) / 2)) + { + m_canvas_translate.X = (MARGIN_BUFF - (this->ActualWidth + m_zoom_size.X) / 2); + } + + trans_transform->X = m_canvas_translate.X; + trans_transform->Y = m_canvas_translate.Y; + this->m_Canvas->Background->Transform = trans_transform; +} + +void winapp::MainPage::Canvas_Double(Object^ sender, DoubleTappedRoutedEventArgs^ e) +{ + if (m_zoom_mode && !m_zoom_handled) + { + m_zoom_mode = false; + FlipViewItem ^flipview_temp = (FlipViewItem^) m_flipView->Items->GetAt(this->m_currpage); + this->m_Canvas->Background->Opacity = 0; + this->m_flipView->Opacity = 1; + m_flipView->IsEnabled = true; + m_first_time = true; + } + m_zoom_handled = false; + m_curr_zoom = 1.0; + m_canvas_translate.X = 0; + m_canvas_translate.Y = 0; +} + +/* Search Related Code */ + +static int hit_count = 0; +static fz_rect hit_bbox[500]; + +static int +search_page(fz_document *doc, int number, char *needle, fz_cookie *cookie) +{ + fz_page *page = fz_load_page(doc, number); + + fz_text_sheet *sheet = fz_new_text_sheet(ctx); + fz_text_page *text = fz_new_text_page(ctx, &fz_empty_rect); + fz_device *dev = fz_new_text_device(ctx, sheet, text); + fz_run_page(doc, page, dev, &fz_identity, cookie); + fz_free_device(dev); + + hit_count = fz_search_text_page(ctx, text, needle, hit_bbox, nelem(hit_bbox));; + + fz_free_text_page(ctx, text); + fz_free_text_sheet(ctx, sheet); + fz_free_page(doc, page); + + return hit_count; +} + +void winapp::MainPage::Searcher(Platform::Object^ sender, Windows::UI::Xaml::RoutedEventArgs^ e) +{ + /* Update the app bar so that we can do the search */ + StackPanel^ leftPanel = (StackPanel^) this->TopAppBar->FindName("LeftPanel"); + + if (leftPanel != nullptr && m_insearch) + { + m_insearch = false; + leftPanel->Children->RemoveAtEnd(); + leftPanel->Children->RemoveAtEnd(); + leftPanel->Children->RemoveAtEnd(); + } + else if (leftPanel != nullptr && !m_insearch) + { + m_insearch = true; + Windows::UI::Xaml::Controls::Button^ PrevButton = ref new Button(); + PrevButton->Style = safe_cast<Windows::UI::Xaml::Style^>(App::Current->Resources->Lookup("PreviousAppBarButtonStyle")); + PrevButton->Click += ref new RoutedEventHandler(this, &winapp::MainPage::SearchPrev); + + Windows::UI::Xaml::Controls::Button^ NextButton = ref new Button(); + NextButton->Style = safe_cast<Windows::UI::Xaml::Style^>(App::Current->Resources->Lookup("NextAppBarButtonStyle")); + NextButton->Click += ref new RoutedEventHandler(this, &winapp::MainPage::SearchNext); + + Windows::UI::Xaml::Controls::TextBox^ SearchBox = ref new TextBox(); + SearchBox->Name = "findBox"; + SearchBox->Width = 200; + SearchBox->Height = 20; + + leftPanel->Children->Append(SearchBox); + leftPanel->Children->Append(PrevButton); + leftPanel->Children->Append(NextButton); + } +} + +void winapp::MainPage::SearchNext(Platform::Object^ sender, Windows::UI::Xaml::RoutedEventArgs^ e) +{ + StackPanel^ leftPanel = (StackPanel^) this->TopAppBar->FindName("LeftPanel"); + TextBox^ findBox = (TextBox^) leftPanel->FindName("findBox"); + String^ textToFind = findBox->Text; + +} + +void winapp::MainPage::SearchPrev(Platform::Object^ sender, Windows::UI::Xaml::RoutedEventArgs^ e) +{ + StackPanel^ leftPanel = (StackPanel^) this->TopAppBar->FindName("LeftPanel"); + TextBox^ findBox = (TextBox^) leftPanel->FindName("findBox"); + String^ textToFind = findBox->Text; + +} diff --git a/winRT/winapp/MainPage.xaml.h b/winRT/winapp/MainPage.xaml.h new file mode 100644 index 00000000..99a5072c --- /dev/null +++ b/winRT/winapp/MainPage.xaml.h @@ -0,0 +1,85 @@ +// +// MainPage.xaml.h +// Declaration of the MainPage class. +// + +#pragma once + +#include "MainPage.g.h" +#include "fitz.h" +#include "fitz-internal.h" +#include "muxps.h" +#include "mupdf.h" + +using namespace Windows::Storage; +using namespace Windows::UI::Xaml; +using namespace Windows::UI::Xaml::Media::Imaging; +using namespace Windows::Storage::Streams; +using namespace Windows::Foundation; +using namespace Windows::UI::Xaml::Controls; +using namespace Windows::UI::Xaml::Media; +using namespace Windows::UI::Xaml::Input; + +namespace winapp +{ + /// <summary> + /// An empty page that can be used on its own or navigated to within a Frame. + /// </summary> + public ref class MainPage sealed + { + public: + MainPage(); + + protected: + virtual void OnNavigatedTo(Windows::UI::Xaml::Navigation::NavigationEventArgs^ e) override; + + /* added */ + private: + bool m_file_open; + int m_currpage; + int m_num_pages; + int m_slider_min; + int m_slider_max; + bool m_init_done; + bool m_first_time; + Point m_display_size; + long long m_memory_use; + double m_curr_zoom; + Point m_zoom_size; + fz_document *m_doc; + Point m_touchpoint; + Point m_canvas_translate; + Windows::UI::Input::ManipulationDelta m_changes; + ImageBrush^ m_renderedImage; + ImageBrush^ m_blankPage; + FlipView^ m_flipView; + Canvas^ m_Canvas; + ImageBrush^ m_zoomedImage; + bool m_zoom_mode; + bool m_zoom_handled; + bool m_insearch; + void Picker(Platform::Object^ sender, Windows::UI::Xaml::RoutedEventArgs^ e); + void Searcher(Platform::Object^ sender, Windows::UI::Xaml::RoutedEventArgs^ e); + void OpenDocument(StorageFile^ file); + void RenderPage(fz_document *doc, fz_page *page, int *width, int *height, double scale); + void RenderRange(int curr_page); + void AddPage(int page_num); + void ReplacePage(int page_num); + void AddBlankPage(int page_num); + void CreateBlank(int width, int height); + void HandleFileNotFoundException(Platform::COMException^ e); + void NotifyUserFileNotExist(); + void SetupCanvas(); + void Prepare_bmp(int width, int height, DataWriter ^dw); + void PixToMemStream(fz_pixmap *pix, DataWriter ^dw, Platform::Array<unsigned char> ^arr); + void Slider_ValueChanged(Platform::Object^ sender, Windows::UI::Xaml::Controls::Primitives::RangeBaseValueChangedEventArgs^ e); + void FlipView_SelectionChanged(Object^ sender, SelectionChangedEventArgs^ e); + void FlipView_Double(Object^ sender, DoubleTappedRoutedEventArgs^ e); + void Canvas_ManipulationDelta(Object^ sender, ManipulationDeltaRoutedEventArgs^ e); + void Canvas_ManipulationStarted(Object^ sender, ManipulationStartedRoutedEventArgs^ e); + void Canvas_ManipulationStarting(Object^ sender, ManipulationStartingRoutedEventArgs^ e); + void Canvas_Double(Object^ sender, DoubleTappedRoutedEventArgs^ e); + void SearchNext(Platform::Object^ sender, Windows::UI::Xaml::RoutedEventArgs^ e); + void SearchPrev(Platform::Object^ sender, Windows::UI::Xaml::RoutedEventArgs^ e); + }; +} diff --git a/winRT/winapp/Package.appxmanifest b/winRT/winapp/Package.appxmanifest new file mode 100644 index 00000000..36a26c27 --- /dev/null +++ b/winRT/winapp/Package.appxmanifest @@ -0,0 +1,46 @@ +<?xml version="1.0" encoding="utf-8"?> +<Package xmlns="http://schemas.microsoft.com/appx/2010/manifest"> + <Identity Name="d9462f36-8b87-4b46-897a-66f6c91774ec" Publisher="CN=michaelv" Version="1.0.0.0" /> + <Properties> + <DisplayName>winapp</DisplayName> + <PublisherDisplayName>michaelv</PublisherDisplayName> + <Logo>Assets\mupdf_storelogo.png</Logo> + </Properties> + <Prerequisites> + <OSMinVersion>6.2.1</OSMinVersion> + <OSMaxVersionTested>6.2.1</OSMaxVersionTested> + </Prerequisites> + <Resources> + <Resource Language="x-generate" /> + </Resources> + <Applications> + <Application Id="App" Executable="$targetnametoken$.exe" EntryPoint="winapp.App"> + <VisualElements DisplayName="winapp" Logo="Assets\mupdf_logo.png" SmallLogo="Assets\mupdf_smallogo.png" Description="winapp" ForegroundText="light" BackgroundColor="#464646"> + <DefaultTile ShowName="allLogos" /> + <SplashScreen Image="Assets\mupdf_splash.png" /> + </VisualElements> + <Extensions> + <Extension Category="windows.fileOpenPicker"> + <FileOpenPicker> + <SupportedFileTypes> + <FileType>.pdf</FileType> + <FileType>.xps</FileType> + <FileType>.oxps</FileType> + </SupportedFileTypes> + </FileOpenPicker> + </Extension> + <Extension Category="windows.fileTypeAssociation"> + <FileTypeAssociation Name=".pdf"> + <SupportedFileTypes> + <FileType>.pdf</FileType> + </SupportedFileTypes> + </FileTypeAssociation> + </Extension> + </Extensions> + </Application> + </Applications> + <Capabilities> + <Capability Name="documentsLibrary" /> + <Capability Name="internetClient" /> + </Capabilities> +</Package>
\ No newline at end of file diff --git a/winRT/winapp/pch.cpp b/winRT/winapp/pch.cpp new file mode 100644 index 00000000..01484ff5 --- /dev/null +++ b/winRT/winapp/pch.cpp @@ -0,0 +1,6 @@ +// +// pch.cpp +// Include the standard header and generate the precompiled header. +// + +#include "pch.h" diff --git a/winRT/winapp/pch.h b/winRT/winapp/pch.h new file mode 100644 index 00000000..751c0efb --- /dev/null +++ b/winRT/winapp/pch.h @@ -0,0 +1,10 @@ +// +// pch.h +// Header for standard system include files. +// + +#pragma once + +#include <collection.h> +#include <ppltasks.h> +#include "App.xaml.h" diff --git a/winRT/winapp/winapp.vcxproj b/winRT/winapp/winapp.vcxproj new file mode 100644 index 00000000..562e9c42 --- /dev/null +++ b/winRT/winapp/winapp.vcxproj @@ -0,0 +1,197 @@ +<?xml version="1.0" encoding="utf-8"?> +<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> + <ItemGroup Label="ProjectConfigurations"> + <ProjectConfiguration Include="Debug|ARM"> + <Configuration>Debug</Configuration> + <Platform>ARM</Platform> + </ProjectConfiguration> + <ProjectConfiguration Include="Debug|Win32"> + <Configuration>Debug</Configuration> + <Platform>Win32</Platform> + </ProjectConfiguration> + <ProjectConfiguration Include="Debug|x64"> + <Configuration>Debug</Configuration> + <Platform>x64</Platform> + </ProjectConfiguration> + <ProjectConfiguration Include="Release|ARM"> + <Configuration>Release</Configuration> + <Platform>ARM</Platform> + </ProjectConfiguration> + <ProjectConfiguration Include="Release|Win32"> + <Configuration>Release</Configuration> + <Platform>Win32</Platform> + </ProjectConfiguration> + <ProjectConfiguration Include="Release|x64"> + <Configuration>Release</Configuration> + <Platform>x64</Platform> + </ProjectConfiguration> + </ItemGroup> + <PropertyGroup Label="Globals"> + <ProjectGuid>{35c27df7-0cf2-413e-9c7a-6436afee5d4e}</ProjectGuid> + <RootNamespace>winapp</RootNamespace> + <DefaultLanguage>en-US</DefaultLanguage> + <MinimumVisualStudioVersion>11.0</MinimumVisualStudioVersion> + <AppContainerApplication>true</AppContainerApplication> + </PropertyGroup> + <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" /> + <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration"> + <ConfigurationType>Application</ConfigurationType> + <UseDebugLibraries>true</UseDebugLibraries> + <PlatformToolset>v110</PlatformToolset> + </PropertyGroup> + <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|ARM'" Label="Configuration"> + <ConfigurationType>Application</ConfigurationType> + <UseDebugLibraries>true</UseDebugLibraries> + <PlatformToolset>v110</PlatformToolset> + </PropertyGroup> + <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration"> + <ConfigurationType>Application</ConfigurationType> + <UseDebugLibraries>true</UseDebugLibraries> + <PlatformToolset>v110</PlatformToolset> + </PropertyGroup> + <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration"> + <ConfigurationType>Application</ConfigurationType> + <UseDebugLibraries>false</UseDebugLibraries> + <WholeProgramOptimization>true</WholeProgramOptimization> + <PlatformToolset>v110</PlatformToolset> + </PropertyGroup> + <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|ARM'" Label="Configuration"> + <ConfigurationType>Application</ConfigurationType> + <UseDebugLibraries>false</UseDebugLibraries> + <WholeProgramOptimization>true</WholeProgramOptimization> + <PlatformToolset>v110</PlatformToolset> + </PropertyGroup> + <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration"> + <ConfigurationType>Application</ConfigurationType> + <UseDebugLibraries>false</UseDebugLibraries> + <WholeProgramOptimization>true</WholeProgramOptimization> + <PlatformToolset>v110</PlatformToolset> + </PropertyGroup> + <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" /> + <ImportGroup Label="ExtensionSettings"> + </ImportGroup> + <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'"> + <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> + </ImportGroup> + <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'"> + <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> + </ImportGroup> + <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|ARM'"> + <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> + </ImportGroup> + <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|ARM'"> + <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> + </ImportGroup> + <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|x64'"> + <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> + </ImportGroup> + <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|x64'"> + <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> + </ImportGroup> + <PropertyGroup Label="UserMacros" /> + <PropertyGroup> + <PackageCertificateKeyFile>winapp_TemporaryKey.pfx</PackageCertificateKeyFile> + </PropertyGroup> + <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|ARM'"> + <ClCompile> + <AdditionalOptions>/bigobj %(AdditionalOptions)</AdditionalOptions> + <DisableSpecificWarnings>4453</DisableSpecificWarnings> + <AdditionalIncludeDirectories>../../fitz/;$(ProjectDir);$(GeneratedFilesDir);$(IntDir);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> + </ClCompile> + <Link> + <AdditionalDependencies>kernel32.lib;%(AdditionalDependencies);C:\vrhel\Artifex_laptop\git_mupdf\mupdf\win32\Debug/libmupdf.lib;C:\vrhel\Artifex_laptop\git_mupdf\mupdf\win32\Debug/libthirdparty.lib;C:\vrhel\Artifex_laptop\git_mupdf\mupdf\win32\Debug/libmupdf-nov8.lib</AdditionalDependencies> + </Link> + </ItemDefinitionGroup> + <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|ARM'"> + <ClCompile> + <AdditionalOptions>/bigobj %(AdditionalOptions)</AdditionalOptions> + <DisableSpecificWarnings>4453</DisableSpecificWarnings> + </ClCompile> + </ItemDefinitionGroup> + <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'"> + <ClCompile> + <AdditionalOptions>/bigobj %(AdditionalOptions)</AdditionalOptions> + <DisableSpecificWarnings>4453</DisableSpecificWarnings> + <RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary> + <AdditionalUsingDirectories> + </AdditionalUsingDirectories> + <AdditionalIncludeDirectories>../../fitz/;../../pdf/;../../xps/;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> + </ClCompile> + <Link> + <AdditionalDependencies>kernel32.lib;%(AdditionalDependencies);..\Debug/libmupdf.lib;..\Debug/libthirdparty.lib;..\Debug/libmupdf-nov8.lib</AdditionalDependencies> + </Link> + </ItemDefinitionGroup> + <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'"> + <ClCompile> + <AdditionalOptions>/bigobj %(AdditionalOptions)</AdditionalOptions> + <DisableSpecificWarnings>4453</DisableSpecificWarnings> + <AdditionalIncludeDirectories>../../xps/;../../fitz/;../../pdf/;$(ProjectDir);$(GeneratedFilesDir);$(IntDir);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> + </ClCompile> + <Link> + <AdditionalDependencies>kernel32.lib;%(AdditionalDependencies);..\Release/libmupdf.lib;..\Release/libthirdparty.lib;..\Release/libmupdf-nov8.lib</AdditionalDependencies> + </Link> + </ItemDefinitionGroup> + <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'"> + <ClCompile> + <AdditionalOptions>/bigobj %(AdditionalOptions)</AdditionalOptions> + <DisableSpecificWarnings>4453</DisableSpecificWarnings> + </ClCompile> + </ItemDefinitionGroup> + <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'"> + <ClCompile> + <AdditionalOptions>/bigobj %(AdditionalOptions)</AdditionalOptions> + <DisableSpecificWarnings>4453</DisableSpecificWarnings> + </ClCompile> + </ItemDefinitionGroup> + <ItemGroup> + <ClInclude Include="pch.h" /> + <ClInclude Include="App.xaml.h"> + <DependentUpon>App.xaml</DependentUpon> + </ClInclude> + <ClInclude Include="MainPage.xaml.h"> + <DependentUpon>MainPage.xaml</DependentUpon> + </ClInclude> + </ItemGroup> + <ItemGroup> + <ApplicationDefinition Include="App.xaml"> + <SubType>Designer</SubType> + </ApplicationDefinition> + <Page Include="Common\StandardStyles.xaml"> + <SubType>Designer</SubType> + </Page> + <Page Include="MainPage.xaml"> + <SubType>Designer</SubType> + </Page> + </ItemGroup> + <ItemGroup> + <AppxManifest Include="Package.appxmanifest"> + <SubType>Designer</SubType> + </AppxManifest> + <None Include="winapp_TemporaryKey.pfx" /> + </ItemGroup> + <ItemGroup> + <Image Include="Assets\mupdf_logo.png" /> + <Image Include="Assets\mupdf_smallogo.png" /> + <Image Include="Assets\mupdf_splash.png" /> + <Image Include="Assets\mupdf_storelogo.png" /> + </ItemGroup> + <ItemGroup> + <ClCompile Include="App.xaml.cpp"> + <DependentUpon>App.xaml</DependentUpon> + </ClCompile> + <ClCompile Include="MainPage.xaml.cpp"> + <DependentUpon>MainPage.xaml</DependentUpon> + </ClCompile> + <ClCompile Include="pch.cpp"> + <PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Create</PrecompiledHeader> + <PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">Create</PrecompiledHeader> + <PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Debug|ARM'">Create</PrecompiledHeader> + <PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Release|ARM'">Create</PrecompiledHeader> + <PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">Create</PrecompiledHeader> + <PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Release|x64'">Create</PrecompiledHeader> + </ClCompile> + </ItemGroup> + <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" /> + <ImportGroup Label="ExtensionTargets"> + </ImportGroup> +</Project>
\ No newline at end of file diff --git a/winRT/winapp/winapp.vcxproj.filters b/winRT/winapp/winapp.vcxproj.filters new file mode 100644 index 00000000..cef82ff4 --- /dev/null +++ b/winRT/winapp/winapp.vcxproj.filters @@ -0,0 +1,50 @@ +<?xml version="1.0" encoding="utf-8"?> +<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> + <ItemGroup> + <Filter Include="Common"> + <UniqueIdentifier>35c27df7-0cf2-413e-9c7a-6436afee5d4e</UniqueIdentifier> + </Filter> + <Filter Include="Assets"> + <UniqueIdentifier>10cafe4f-106e-4600-bee1-3f5891ecf28a</UniqueIdentifier> + </Filter> + <Page Include="Common\StandardStyles.xaml"> + <Filter>Common</Filter> + </Page> + </ItemGroup> + <ItemGroup> + <ApplicationDefinition Include="App.xaml" /> + </ItemGroup> + <ItemGroup> + <ClCompile Include="App.xaml.cpp" /> + <ClCompile Include="MainPage.xaml.cpp" /> + <ClCompile Include="pch.cpp" /> + </ItemGroup> + <ItemGroup> + <ClInclude Include="pch.h" /> + <ClInclude Include="App.xaml.h" /> + <ClInclude Include="MainPage.xaml.h" /> + </ItemGroup> + <ItemGroup> + <AppxManifest Include="Package.appxmanifest" /> + </ItemGroup> + <ItemGroup> + <None Include="winapp_TemporaryKey.pfx" /> + </ItemGroup> + <ItemGroup> + <Page Include="MainPage.xaml" /> + </ItemGroup> + <ItemGroup> + <Image Include="Assets\mupdf_logo.png"> + <Filter>Assets</Filter> + </Image> + <Image Include="Assets\mupdf_smallogo.png"> + <Filter>Assets</Filter> + </Image> + <Image Include="Assets\mupdf_splash.png"> + <Filter>Assets</Filter> + </Image> + <Image Include="Assets\mupdf_storelogo.png"> + <Filter>Assets</Filter> + </Image> + </ItemGroup> +</Project>
\ No newline at end of file |