1
0
mirror of https://github.com/VCMP-SqMod/SqMod.git synced 2025-06-16 15:17:13 +02:00

Major plugin refactor and cleanup.

Switched to POCO library for unified platform/library interface.
Deprecated the external module API. It was creating more problems than solving.
Removed most built-in libraries in favor of system libraries for easier maintenance.
Cleaned and secured code with help from static analyzers.
This commit is contained in:
Sandu Liviu Catalin
2021-01-30 08:51:39 +02:00
parent e0e34b4030
commit 4a6bfc086c
6219 changed files with 1209835 additions and 454916 deletions

153
vendor/POCO/PDF/CMakeLists.txt vendored Normal file
View File

@ -0,0 +1,153 @@
# Sources
file(GLOB SRCS_G "src/*.cpp")
POCO_SOURCES_AUTO(SRCS ${SRCS_G})
# Headers
file(GLOB_RECURSE HDRS_G "include/*.h")
POCO_HEADERS_AUTO(SRCS ${HDRS_G})
# If POCO_UNBUNDLED is enabled we try to find the required packages
# The configuration will fail if the packages are not found
if(POCO_UNBUNDLED)
find_package(ZLIB REQUIRED)
else()
# zlib
POCO_SOURCES(SRCS zlib
src/adler32.c
src/compress.c
src/crc32.c
src/deflate.c
src/gzio.c
src/infback.c
src/inffast.c
src/inflate.c
src/inftrees.c
src/trees.c
src/zutil.c
)
endif(POCO_UNBUNDLED)
# TODO: Currently only bundled is supported, in future this should also be possible
# with an unbundled version of hpdf
# hpdf
POCO_SOURCES(SRCS hpdf
src/hpdf_3dmeasure.c
src/hpdf_annotation.c
src/hpdf_array.c
src/hpdf_binary.c
src/hpdf_boolean.c
src/hpdf_catalog.c
src/hpdf_destination.c
src/hpdf_dict.c
src/hpdf_doc.c
src/hpdf_doc_png.c
src/hpdf_encoder.c
src/hpdf_encoder_cns.c
src/hpdf_encoder_cnt.c
src/hpdf_encoder_jp.c
src/hpdf_encoder_kr.c
src/hpdf_encoder_utf.c
src/hpdf_encrypt.c
src/hpdf_encryptdict.c
src/hpdf_error.c
src/hpdf_exdata.c
src/hpdf_ext_gstate.c
src/hpdf_font.c
src/hpdf_font_cid.c
src/hpdf_font_tt.c
src/hpdf_font_type1.c
src/hpdf_fontdef.c
src/hpdf_fontdef_base14.c
src/hpdf_fontdef_cid.c
src/hpdf_fontdef_cns.c
src/hpdf_fontdef_cnt.c
src/hpdf_fontdef_jp.c
src/hpdf_fontdef_kr.c
src/hpdf_fontdef_tt.c
src/hpdf_fontdef_type1.c
src/hpdf_gstate.c
src/hpdf_image.c
src/hpdf_image_ccitt.c
src/hpdf_image_png.c
src/hpdf_info.c
src/hpdf_list.c
src/hpdf_mmgr.c
src/hpdf_name.c
src/hpdf_namedict.c
src/hpdf_null.c
src/hpdf_number.c
src/hpdf_objects.c
src/hpdf_outline.c
src/hpdf_page_label.c
src/hpdf_page_operator.c
src/hpdf_pages.c
src/hpdf_pdfa.c
src/hpdf_real.c
src/hpdf_streams.c
src/hpdf_string.c
src/hpdf_u3d.c
src/hpdf_utils.c
src/hpdf_xref.c
)
# TODO: Currently only bundled is supported, in future this should also be possible
# with an unbundled version of libpng
POCO_SOURCES(SRCS libpng
src/png.c
src/pngerror.c
src/pnggccrd.c
src/pngget.c
src/pngmem.c
src/pngpread.c
src/pngread.c
src/pngrio.c
src/pngrtran.c
src/pngrutil.c
src/pngset.c
src/pngtest.c
src/pngtrans.c
src/pngvcrd.c
src/pngwio.c
src/pngwrite.c
src/pngwtran.c
src/pngwutil.c
)
# Version Resource
if(MSVC AND BUILD_SHARED_LIBS)
source_group("Resources" FILES ${PROJECT_SOURCE_DIR}/DLLVersion.rc)
list(APPEND SRCS ${PROJECT_SOURCE_DIR}/DLLVersion.rc)
endif()
#TODO: Can we put this with the below includes? PRIVAT eg.
include_directories("include/Poco/PDF") # zip src
add_library(PDF ${SRCS})
add_library(Poco::PDF ALIAS PDF)
set_target_properties(PDF
PROPERTIES
VERSION ${SHARED_LIBRARY_VERSION} SOVERSION ${SHARED_LIBRARY_VERSION}
OUTPUT_NAME PocoPDF
DEFINE_SYMBOL PDF_EXPORTS
)
if(POCO_UNBUNDLED)
target_link_libraries(PDF PUBLIC ZLIB::ZLIB)
target_compile_definitions(PDF PUBLIC POCO_UNBUNDLED)
endif(POCO_UNBUNDLED)
target_link_libraries(PDF PUBLIC Poco::XML Poco::Util)
target_include_directories(PDF
PUBLIC
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include>
$<INSTALL_INTERFACE:include>
PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/src
)
POCO_INSTALL(PDF)
POCO_GENERATE_PACKAGE(PDF)
if(ENABLE_TESTS)
add_subdirectory(samples)
add_subdirectory(testsuite)
endif()

34
vendor/POCO/PDF/Makefile vendored Normal file
View File

@ -0,0 +1,34 @@
#
# Makefile
#
# Makefile for Poco PDF
#
include $(POCO_BASE)/build/rules/global
INCLUDE += -I $(POCO_BASE)/PDF/include/Poco/PDF
objects = AttributedString Cell Destination Document Encoder Font Image Outline \
LinkAnnotation Page PDFException Table TextAnnotation XMLTemplate \
hpdf_3dmeasure hpdf_annotation hpdf_array hpdf_binary hpdf_boolean \
hpdf_catalog hpdf_destination hpdf_dict hpdf_doc hpdf_doc_png \
hpdf_encoder hpdf_encoder_cns hpdf_encoder_cnt hpdf_encoder_jp \
hpdf_encoder_kr hpdf_encoder_utf hpdf_encrypt hpdf_encryptdict hpdf_error \
hpdf_exdata hpdf_ext_gstate hpdf_font hpdf_font_cid hpdf_font_tt \
hpdf_font_type1 hpdf_fontdef hpdf_fontdef_base14 hpdf_fontdef_cid \
hpdf_fontdef_cns hpdf_fontdef_cnt hpdf_fontdef_jp hpdf_fontdef_kr \
hpdf_fontdef_tt hpdf_fontdef_type1 hpdf_gstate hpdf_image hpdf_image_ccitt \
hpdf_image_png hpdf_info hpdf_list hpdf_mmgr hpdf_name hpdf_namedict hpdf_null \
hpdf_number hpdf_objects hpdf_outline hpdf_page_label hpdf_page_operator \
hpdf_pages hpdf_pdfa hpdf_real hpdf_streams hpdf_string hpdf_u3d hpdf_utils hpdf_xref \
adler32 compress crc32 deflate gzio \
infback inffast inflate inftrees trees zutil \
png pngerror pnggccrd pngget pngmem pngpread \
pngread pngrio pngrtran pngrutil pngset pngtest \
pngtrans pngvcrd pngwio pngwrite pngwtran pngwutil
target = PocoPDF
target_version = $(LIBVERSION)
target_libs = PocoXML PocoJSON PocoUtil PocoFoundation
include $(POCO_BASE)/build/rules/lib

16
vendor/POCO/PDF/PDF.progen vendored Normal file
View File

@ -0,0 +1,16 @@
vc.project.guid = E12E5C71-79A4-495A-848F-F1710111E610
vc.project.name = PDF
vc.project.target = Poco${vc.project.name}
vc.project.type = library
vc.project.pocobase = ..
vc.project.outdir = ${vc.project.pocobase}
vc.project.platforms = Win32
vc.project.configurations = debug_shared, release_shared, debug_static_mt, release_static_mt, debug_static_md, release_static_md
vc.project.prototype = ${vc.project.name}_vs90.vcproj
vc.project.compiler.include = .\\include\\Poco\\PDF;..\\Foundation\\include;..\\XML\\include;..\\Util\\include
vc.project.compiler.defines =
vc.project.compiler.defines.shared = _CRT_SECURE_NO_WARNINGS;${vc.project.name}_EXPORTS
vc.project.compiler.defines.debug_shared = ${vc.project.compiler.defines.shared}
vc.project.compiler.defines.release_shared = ${vc.project.compiler.defines.shared}
vc.solution.create = true
vc.solution.include = testsuite\\TestSuite

102
vendor/POCO/PDF/PDF_vs140.sln vendored Normal file
View File

@ -0,0 +1,102 @@
Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 14
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "PDF", "PDF_vs140.vcxproj", "{E12E5C71-79A4-495A-848F-F1710111E610}"
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "TestSuite", "testsuite\TestSuite_vs140.vcxproj", "{24134877-368D-11DB-9FBC-00123FC423B5}"
ProjectSection(ProjectDependencies) = postProject
{E12E5C71-79A4-495A-848F-F1710111E610} = {E12E5C71-79A4-495A-848F-F1710111E610}
EndProjectSection
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
debug_shared|Win32 = debug_shared|Win32
release_shared|Win32 = release_shared|Win32
debug_static_mt|Win32 = debug_static_mt|Win32
release_static_mt|Win32 = release_static_mt|Win32
debug_static_md|Win32 = debug_static_md|Win32
release_static_md|Win32 = release_static_md|Win32
debug_shared|x64 = debug_shared|x64
release_shared|x64 = release_shared|x64
debug_static_mt|x64 = debug_static_mt|x64
release_static_mt|x64 = release_static_mt|x64
debug_static_md|x64 = debug_static_md|x64
release_static_md|x64 = release_static_md|x64
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{E12E5C71-79A4-495A-848F-F1710111E610}.debug_shared|Win32.ActiveCfg = debug_shared|Win32
{E12E5C71-79A4-495A-848F-F1710111E610}.debug_shared|Win32.Build.0 = debug_shared|Win32
{E12E5C71-79A4-495A-848F-F1710111E610}.debug_shared|Win32.Deploy.0 = debug_shared|Win32
{E12E5C71-79A4-495A-848F-F1710111E610}.release_shared|Win32.ActiveCfg = release_shared|Win32
{E12E5C71-79A4-495A-848F-F1710111E610}.release_shared|Win32.Build.0 = release_shared|Win32
{E12E5C71-79A4-495A-848F-F1710111E610}.release_shared|Win32.Deploy.0 = release_shared|Win32
{E12E5C71-79A4-495A-848F-F1710111E610}.debug_static_mt|Win32.ActiveCfg = debug_static_mt|Win32
{E12E5C71-79A4-495A-848F-F1710111E610}.debug_static_mt|Win32.Build.0 = debug_static_mt|Win32
{E12E5C71-79A4-495A-848F-F1710111E610}.debug_static_mt|Win32.Deploy.0 = debug_static_mt|Win32
{E12E5C71-79A4-495A-848F-F1710111E610}.release_static_mt|Win32.ActiveCfg = release_static_mt|Win32
{E12E5C71-79A4-495A-848F-F1710111E610}.release_static_mt|Win32.Build.0 = release_static_mt|Win32
{E12E5C71-79A4-495A-848F-F1710111E610}.release_static_mt|Win32.Deploy.0 = release_static_mt|Win32
{E12E5C71-79A4-495A-848F-F1710111E610}.debug_static_md|Win32.ActiveCfg = debug_static_md|Win32
{E12E5C71-79A4-495A-848F-F1710111E610}.debug_static_md|Win32.Build.0 = debug_static_md|Win32
{E12E5C71-79A4-495A-848F-F1710111E610}.debug_static_md|Win32.Deploy.0 = debug_static_md|Win32
{E12E5C71-79A4-495A-848F-F1710111E610}.release_static_md|Win32.ActiveCfg = release_static_md|Win32
{E12E5C71-79A4-495A-848F-F1710111E610}.release_static_md|Win32.Build.0 = release_static_md|Win32
{E12E5C71-79A4-495A-848F-F1710111E610}.release_static_md|Win32.Deploy.0 = release_static_md|Win32
{E12E5C71-79A4-495A-848F-F1710111E610}.debug_shared|x64.ActiveCfg = debug_shared|x64
{E12E5C71-79A4-495A-848F-F1710111E610}.debug_shared|x64.Build.0 = debug_shared|x64
{E12E5C71-79A4-495A-848F-F1710111E610}.debug_shared|x64.Deploy.0 = debug_shared|x64
{E12E5C71-79A4-495A-848F-F1710111E610}.release_shared|x64.ActiveCfg = release_shared|x64
{E12E5C71-79A4-495A-848F-F1710111E610}.release_shared|x64.Build.0 = release_shared|x64
{E12E5C71-79A4-495A-848F-F1710111E610}.release_shared|x64.Deploy.0 = release_shared|x64
{E12E5C71-79A4-495A-848F-F1710111E610}.debug_static_mt|x64.ActiveCfg = debug_static_mt|x64
{E12E5C71-79A4-495A-848F-F1710111E610}.debug_static_mt|x64.Build.0 = debug_static_mt|x64
{E12E5C71-79A4-495A-848F-F1710111E610}.debug_static_mt|x64.Deploy.0 = debug_static_mt|x64
{E12E5C71-79A4-495A-848F-F1710111E610}.release_static_mt|x64.ActiveCfg = release_static_mt|x64
{E12E5C71-79A4-495A-848F-F1710111E610}.release_static_mt|x64.Build.0 = release_static_mt|x64
{E12E5C71-79A4-495A-848F-F1710111E610}.release_static_mt|x64.Deploy.0 = release_static_mt|x64
{E12E5C71-79A4-495A-848F-F1710111E610}.debug_static_md|x64.ActiveCfg = debug_static_md|x64
{E12E5C71-79A4-495A-848F-F1710111E610}.debug_static_md|x64.Build.0 = debug_static_md|x64
{E12E5C71-79A4-495A-848F-F1710111E610}.debug_static_md|x64.Deploy.0 = debug_static_md|x64
{E12E5C71-79A4-495A-848F-F1710111E610}.release_static_md|x64.ActiveCfg = release_static_md|x64
{E12E5C71-79A4-495A-848F-F1710111E610}.release_static_md|x64.Build.0 = release_static_md|x64
{E12E5C71-79A4-495A-848F-F1710111E610}.release_static_md|x64.Deploy.0 = release_static_md|x64
{24134877-368D-11DB-9FBC-00123FC423B5}.debug_shared|Win32.ActiveCfg = debug_shared|Win32
{24134877-368D-11DB-9FBC-00123FC423B5}.debug_shared|Win32.Build.0 = debug_shared|Win32
{24134877-368D-11DB-9FBC-00123FC423B5}.debug_shared|Win32.Deploy.0 = debug_shared|Win32
{24134877-368D-11DB-9FBC-00123FC423B5}.release_shared|Win32.ActiveCfg = release_shared|Win32
{24134877-368D-11DB-9FBC-00123FC423B5}.release_shared|Win32.Build.0 = release_shared|Win32
{24134877-368D-11DB-9FBC-00123FC423B5}.release_shared|Win32.Deploy.0 = release_shared|Win32
{24134877-368D-11DB-9FBC-00123FC423B5}.debug_static_mt|Win32.ActiveCfg = debug_static_mt|Win32
{24134877-368D-11DB-9FBC-00123FC423B5}.debug_static_mt|Win32.Build.0 = debug_static_mt|Win32
{24134877-368D-11DB-9FBC-00123FC423B5}.debug_static_mt|Win32.Deploy.0 = debug_static_mt|Win32
{24134877-368D-11DB-9FBC-00123FC423B5}.release_static_mt|Win32.ActiveCfg = release_static_mt|Win32
{24134877-368D-11DB-9FBC-00123FC423B5}.release_static_mt|Win32.Build.0 = release_static_mt|Win32
{24134877-368D-11DB-9FBC-00123FC423B5}.release_static_mt|Win32.Deploy.0 = release_static_mt|Win32
{24134877-368D-11DB-9FBC-00123FC423B5}.debug_static_md|Win32.ActiveCfg = debug_static_md|Win32
{24134877-368D-11DB-9FBC-00123FC423B5}.debug_static_md|Win32.Build.0 = debug_static_md|Win32
{24134877-368D-11DB-9FBC-00123FC423B5}.debug_static_md|Win32.Deploy.0 = debug_static_md|Win32
{24134877-368D-11DB-9FBC-00123FC423B5}.release_static_md|Win32.ActiveCfg = release_static_md|Win32
{24134877-368D-11DB-9FBC-00123FC423B5}.release_static_md|Win32.Build.0 = release_static_md|Win32
{24134877-368D-11DB-9FBC-00123FC423B5}.release_static_md|Win32.Deploy.0 = release_static_md|Win32
{24134877-368D-11DB-9FBC-00123FC423B5}.debug_shared|x64.ActiveCfg = debug_shared|x64
{24134877-368D-11DB-9FBC-00123FC423B5}.debug_shared|x64.Build.0 = debug_shared|x64
{24134877-368D-11DB-9FBC-00123FC423B5}.debug_shared|x64.Deploy.0 = debug_shared|x64
{24134877-368D-11DB-9FBC-00123FC423B5}.release_shared|x64.ActiveCfg = release_shared|x64
{24134877-368D-11DB-9FBC-00123FC423B5}.release_shared|x64.Build.0 = release_shared|x64
{24134877-368D-11DB-9FBC-00123FC423B5}.release_shared|x64.Deploy.0 = release_shared|x64
{24134877-368D-11DB-9FBC-00123FC423B5}.debug_static_mt|x64.ActiveCfg = debug_static_mt|x64
{24134877-368D-11DB-9FBC-00123FC423B5}.debug_static_mt|x64.Build.0 = debug_static_mt|x64
{24134877-368D-11DB-9FBC-00123FC423B5}.debug_static_mt|x64.Deploy.0 = debug_static_mt|x64
{24134877-368D-11DB-9FBC-00123FC423B5}.release_static_mt|x64.ActiveCfg = release_static_mt|x64
{24134877-368D-11DB-9FBC-00123FC423B5}.release_static_mt|x64.Build.0 = release_static_mt|x64
{24134877-368D-11DB-9FBC-00123FC423B5}.release_static_mt|x64.Deploy.0 = release_static_mt|x64
{24134877-368D-11DB-9FBC-00123FC423B5}.debug_static_md|x64.ActiveCfg = debug_static_md|x64
{24134877-368D-11DB-9FBC-00123FC423B5}.debug_static_md|x64.Build.0 = debug_static_md|x64
{24134877-368D-11DB-9FBC-00123FC423B5}.debug_static_md|x64.Deploy.0 = debug_static_md|x64
{24134877-368D-11DB-9FBC-00123FC423B5}.release_static_md|x64.ActiveCfg = release_static_md|x64
{24134877-368D-11DB-9FBC-00123FC423B5}.release_static_md|x64.Build.0 = release_static_md|x64
{24134877-368D-11DB-9FBC-00123FC423B5}.release_static_md|x64.Deploy.0 = release_static_md|x64
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
EndGlobal

917
vendor/POCO/PDF/PDF_vs140.vcxproj vendored Normal file
View File

@ -0,0 +1,917 @@
<?xml version="1.0" encoding="UTF-8"?>
<Project DefaultTargets="Build" ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup Label="ProjectConfigurations">
<ProjectConfiguration Include="debug_shared|Win32">
<Configuration>debug_shared</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="debug_shared|x64">
<Configuration>debug_shared</Configuration>
<Platform>x64</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="debug_static_md|Win32">
<Configuration>debug_static_md</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="debug_static_md|x64">
<Configuration>debug_static_md</Configuration>
<Platform>x64</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="debug_static_mt|Win32">
<Configuration>debug_static_mt</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="debug_static_mt|x64">
<Configuration>debug_static_mt</Configuration>
<Platform>x64</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="release_shared|Win32">
<Configuration>release_shared</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="release_shared|x64">
<Configuration>release_shared</Configuration>
<Platform>x64</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="release_static_md|Win32">
<Configuration>release_static_md</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="release_static_md|x64">
<Configuration>release_static_md</Configuration>
<Platform>x64</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="release_static_mt|Win32">
<Configuration>release_static_mt</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="release_static_mt|x64">
<Configuration>release_static_mt</Configuration>
<Platform>x64</Platform>
</ProjectConfiguration>
</ItemGroup>
<PropertyGroup Label="Globals">
<ProjectName>PDF</ProjectName>
<ProjectGuid>{E12E5C71-79A4-495A-848F-F1710111E610}</ProjectGuid>
<RootNamespace>PDF</RootNamespace>
<Keyword>Win32Proj</Keyword>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props"/>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='release_static_md|Win32'" Label="Configuration">
<ConfigurationType>StaticLibrary</ConfigurationType>
<CharacterSet>MultiByte</CharacterSet>
<PlatformToolset>v140</PlatformToolset>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='debug_static_md|Win32'" Label="Configuration">
<ConfigurationType>StaticLibrary</ConfigurationType>
<CharacterSet>MultiByte</CharacterSet>
<PlatformToolset>v140</PlatformToolset>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='release_static_mt|Win32'" Label="Configuration">
<ConfigurationType>StaticLibrary</ConfigurationType>
<CharacterSet>MultiByte</CharacterSet>
<PlatformToolset>v140</PlatformToolset>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='debug_static_mt|Win32'" Label="Configuration">
<ConfigurationType>StaticLibrary</ConfigurationType>
<CharacterSet>MultiByte</CharacterSet>
<PlatformToolset>v140</PlatformToolset>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='release_shared|Win32'" Label="Configuration">
<ConfigurationType>DynamicLibrary</ConfigurationType>
<CharacterSet>MultiByte</CharacterSet>
<PlatformToolset>v140</PlatformToolset>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='debug_shared|Win32'" Label="Configuration">
<ConfigurationType>DynamicLibrary</ConfigurationType>
<CharacterSet>MultiByte</CharacterSet>
<PlatformToolset>v140</PlatformToolset>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='release_static_md|x64'" Label="Configuration">
<ConfigurationType>StaticLibrary</ConfigurationType>
<CharacterSet>MultiByte</CharacterSet>
<PlatformToolset>v140</PlatformToolset>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='debug_static_md|x64'" Label="Configuration">
<ConfigurationType>StaticLibrary</ConfigurationType>
<CharacterSet>MultiByte</CharacterSet>
<PlatformToolset>v140</PlatformToolset>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='release_static_mt|x64'" Label="Configuration">
<ConfigurationType>StaticLibrary</ConfigurationType>
<CharacterSet>MultiByte</CharacterSet>
<PlatformToolset>v140</PlatformToolset>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='debug_static_mt|x64'" Label="Configuration">
<ConfigurationType>StaticLibrary</ConfigurationType>
<CharacterSet>MultiByte</CharacterSet>
<PlatformToolset>v140</PlatformToolset>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='release_shared|x64'" Label="Configuration">
<ConfigurationType>DynamicLibrary</ConfigurationType>
<CharacterSet>MultiByte</CharacterSet>
<PlatformToolset>v140</PlatformToolset>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='debug_shared|x64'" Label="Configuration">
<ConfigurationType>DynamicLibrary</ConfigurationType>
<CharacterSet>MultiByte</CharacterSet>
<PlatformToolset>v140</PlatformToolset>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props"/>
<ImportGroup Label="ExtensionSettings"/>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='release_static_md|Win32'" Label="PropertySheets">
<Import Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props"/>
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='debug_static_md|Win32'" Label="PropertySheets">
<Import Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props"/>
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='release_static_mt|Win32'" Label="PropertySheets">
<Import Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props"/>
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='debug_static_mt|Win32'" Label="PropertySheets">
<Import Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props"/>
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='release_shared|Win32'" Label="PropertySheets">
<Import Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props"/>
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='debug_shared|Win32'" Label="PropertySheets">
<Import Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props"/>
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='release_static_md|x64'" Label="PropertySheets">
<Import Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props"/>
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='debug_static_md|x64'" Label="PropertySheets">
<Import Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props"/>
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='release_static_mt|x64'" Label="PropertySheets">
<Import Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props"/>
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='debug_static_mt|x64'" Label="PropertySheets">
<Import Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props"/>
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='release_shared|x64'" Label="PropertySheets">
<Import Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props"/>
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='debug_shared|x64'" Label="PropertySheets">
<Import Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props"/>
</ImportGroup>
<PropertyGroup Label="UserMacros"/>
<PropertyGroup>
<_ProjectFileVersion>14.0.25420.1</_ProjectFileVersion>
<TargetName Condition="'$(Configuration)|$(Platform)'=='debug_shared|Win32'">PocoPDFd</TargetName>
<TargetName Condition="'$(Configuration)|$(Platform)'=='debug_static_md|Win32'">PocoPDFmdd</TargetName>
<TargetName Condition="'$(Configuration)|$(Platform)'=='debug_static_mt|Win32'">PocoPDFmtd</TargetName>
<TargetName Condition="'$(Configuration)|$(Platform)'=='release_shared|Win32'">PocoPDF</TargetName>
<TargetName Condition="'$(Configuration)|$(Platform)'=='release_static_md|Win32'">PocoPDFmd</TargetName>
<TargetName Condition="'$(Configuration)|$(Platform)'=='release_static_mt|Win32'">PocoPDFmt</TargetName>
<TargetName Condition="'$(Configuration)|$(Platform)'=='debug_shared|x64'">PocoPDF64d</TargetName>
<TargetName Condition="'$(Configuration)|$(Platform)'=='debug_static_md|x64'">PocoPDFmdd</TargetName>
<TargetName Condition="'$(Configuration)|$(Platform)'=='debug_static_mt|x64'">PocoPDFmtd</TargetName>
<TargetName Condition="'$(Configuration)|$(Platform)'=='release_shared|x64'">PocoPDF64</TargetName>
<TargetName Condition="'$(Configuration)|$(Platform)'=='release_static_md|x64'">PocoPDFmd</TargetName>
<TargetName Condition="'$(Configuration)|$(Platform)'=='release_static_mt|x64'">PocoPDFmt</TargetName>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='debug_shared|Win32'">
<OutDir>..\bin\</OutDir>
<IntDir>obj\PDF\$(Configuration)\</IntDir>
<LinkIncremental>true</LinkIncremental>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='release_shared|Win32'">
<OutDir>..\bin\</OutDir>
<IntDir>obj\PDF\$(Configuration)\</IntDir>
<LinkIncremental>false</LinkIncremental>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='debug_static_mt|Win32'">
<OutDir>..\lib\</OutDir>
<IntDir>obj\PDF\$(Configuration)\</IntDir>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='release_static_mt|Win32'">
<OutDir>..\lib\</OutDir>
<IntDir>obj\PDF\$(Configuration)\</IntDir>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='debug_static_md|Win32'">
<OutDir>..\lib\</OutDir>
<IntDir>obj\PDF\$(Configuration)\</IntDir>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='release_static_md|Win32'">
<OutDir>..\lib\</OutDir>
<IntDir>obj\PDF\$(Configuration)\</IntDir>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='debug_shared|x64'">
<OutDir>..\bin64\</OutDir>
<IntDir>obj64\PDF\$(Configuration)\</IntDir>
<LinkIncremental>true</LinkIncremental>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='release_shared|x64'">
<OutDir>..\bin64\</OutDir>
<IntDir>obj64\PDF\$(Configuration)\</IntDir>
<LinkIncremental>false</LinkIncremental>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='debug_static_mt|x64'">
<OutDir>..\lib64\</OutDir>
<IntDir>obj64\PDF\$(Configuration)\</IntDir>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='release_static_mt|x64'">
<OutDir>..\lib64\</OutDir>
<IntDir>obj64\PDF\$(Configuration)\</IntDir>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='debug_static_md|x64'">
<OutDir>..\lib64\</OutDir>
<IntDir>obj64\PDF\$(Configuration)\</IntDir>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='release_static_md|x64'">
<OutDir>..\lib64\</OutDir>
<IntDir>obj64\PDF\$(Configuration)\</IntDir>
</PropertyGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='debug_shared|Win32'">
<ClCompile>
<Optimization>Disabled</Optimization>
<AdditionalIncludeDirectories>.\include;.\include\Poco\PDF;..\Foundation\include;..\XML\include;..\Util\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<PreprocessorDefinitions>WIN32;_DEBUG;_WINDOWS;_USRDLL;_CRT_SECURE_NO_WARNINGS;PDF_EXPORTS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<StringPooling>true</StringPooling>
<BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
<RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
<BufferSecurityCheck>true</BufferSecurityCheck>
<TreatWChar_tAsBuiltInType>true</TreatWChar_tAsBuiltInType>
<ForceConformanceInForLoopScope>true</ForceConformanceInForLoopScope>
<RuntimeTypeInfo>true</RuntimeTypeInfo>
<PrecompiledHeader/>
<WarningLevel>Level3</WarningLevel>
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
<CompileAs>Default</CompileAs>
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<Link>
<OutputFile>..\bin\PocoPDFd.dll</OutputFile>
<SuppressStartupBanner>true</SuppressStartupBanner>
<GenerateDebugInformation>true</GenerateDebugInformation>
<ProgramDatabaseFile>..\bin\PocoPDFd.pdb</ProgramDatabaseFile>
<AdditionalLibraryDirectories>..\lib;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
<SubSystem>Console</SubSystem>
<ImportLibrary>..\lib\PocoPDFd.lib</ImportLibrary>
<TargetMachine>MachineX86</TargetMachine>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='release_shared|Win32'">
<ClCompile>
<Optimization>MaxSpeed</Optimization>
<InlineFunctionExpansion>OnlyExplicitInline</InlineFunctionExpansion>
<IntrinsicFunctions>true</IntrinsicFunctions>
<FavorSizeOrSpeed>Speed</FavorSizeOrSpeed>
<OmitFramePointers>true</OmitFramePointers>
<AdditionalIncludeDirectories>.\include;.\include\Poco\PDF;..\Foundation\include;..\XML\include;..\Util\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;_USRDLL;_CRT_SECURE_NO_WARNINGS;PDF_EXPORTS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<StringPooling>true</StringPooling>
<RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
<BufferSecurityCheck>false</BufferSecurityCheck>
<TreatWChar_tAsBuiltInType>true</TreatWChar_tAsBuiltInType>
<ForceConformanceInForLoopScope>true</ForceConformanceInForLoopScope>
<RuntimeTypeInfo>true</RuntimeTypeInfo>
<PrecompiledHeader/>
<WarningLevel>Level3</WarningLevel>
<DebugInformationFormat/>
<CompileAs>Default</CompileAs>
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<Link>
<OutputFile>..\bin\PocoPDF.dll</OutputFile>
<SuppressStartupBanner>true</SuppressStartupBanner>
<GenerateDebugInformation>false</GenerateDebugInformation>
<AdditionalLibraryDirectories>..\lib;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
<SubSystem>Console</SubSystem>
<OptimizeReferences>true</OptimizeReferences>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<ImportLibrary>..\lib\PocoPDF.lib</ImportLibrary>
<TargetMachine>MachineX86</TargetMachine>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='debug_static_mt|Win32'">
<ClCompile>
<Optimization>Disabled</Optimization>
<AdditionalIncludeDirectories>.\include;.\include\Poco\PDF;..\Foundation\include;..\XML\include;..\Util\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<PreprocessorDefinitions>WIN32;_DEBUG;_WINDOWS;POCO_STATIC;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<StringPooling>true</StringPooling>
<BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
<RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
<BufferSecurityCheck>true</BufferSecurityCheck>
<TreatWChar_tAsBuiltInType>true</TreatWChar_tAsBuiltInType>
<ForceConformanceInForLoopScope>true</ForceConformanceInForLoopScope>
<RuntimeTypeInfo>true</RuntimeTypeInfo>
<PrecompiledHeader/>
<ProgramDataBaseFileName>..\lib\PocoPDFmtd.pdb</ProgramDataBaseFileName>
<WarningLevel>Level3</WarningLevel>
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
<CompileAs>Default</CompileAs>
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<Lib>
<OutputFile>..\lib\PocoPDFmtd.lib</OutputFile>
</Lib>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='release_static_mt|Win32'">
<ClCompile>
<Optimization>MaxSpeed</Optimization>
<InlineFunctionExpansion>OnlyExplicitInline</InlineFunctionExpansion>
<IntrinsicFunctions>true</IntrinsicFunctions>
<FavorSizeOrSpeed>Speed</FavorSizeOrSpeed>
<OmitFramePointers>true</OmitFramePointers>
<AdditionalIncludeDirectories>.\include;.\include\Poco\PDF;..\Foundation\include;..\XML\include;..\Util\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;POCO_STATIC;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<StringPooling>true</StringPooling>
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
<BufferSecurityCheck>false</BufferSecurityCheck>
<TreatWChar_tAsBuiltInType>true</TreatWChar_tAsBuiltInType>
<ForceConformanceInForLoopScope>true</ForceConformanceInForLoopScope>
<RuntimeTypeInfo>true</RuntimeTypeInfo>
<PrecompiledHeader/>
<WarningLevel>Level3</WarningLevel>
<DebugInformationFormat/>
<CompileAs>Default</CompileAs>
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<Lib>
<OutputFile>..\lib\PocoPDFmt.lib</OutputFile>
</Lib>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='debug_static_md|Win32'">
<ClCompile>
<Optimization>Disabled</Optimization>
<AdditionalIncludeDirectories>.\include;.\include\Poco\PDF;..\Foundation\include;..\XML\include;..\Util\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<PreprocessorDefinitions>WIN32;_DEBUG;_WINDOWS;POCO_STATIC;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<StringPooling>true</StringPooling>
<BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
<RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
<BufferSecurityCheck>true</BufferSecurityCheck>
<TreatWChar_tAsBuiltInType>true</TreatWChar_tAsBuiltInType>
<ForceConformanceInForLoopScope>true</ForceConformanceInForLoopScope>
<RuntimeTypeInfo>true</RuntimeTypeInfo>
<PrecompiledHeader/>
<ProgramDataBaseFileName>..\lib\PocoPDFmdd.pdb</ProgramDataBaseFileName>
<WarningLevel>Level3</WarningLevel>
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
<CompileAs>Default</CompileAs>
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<Lib>
<OutputFile>..\lib\PocoPDFmdd.lib</OutputFile>
</Lib>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='release_static_md|Win32'">
<ClCompile>
<Optimization>MaxSpeed</Optimization>
<InlineFunctionExpansion>OnlyExplicitInline</InlineFunctionExpansion>
<IntrinsicFunctions>true</IntrinsicFunctions>
<FavorSizeOrSpeed>Speed</FavorSizeOrSpeed>
<OmitFramePointers>true</OmitFramePointers>
<AdditionalIncludeDirectories>.\include;.\include\Poco\PDF;..\Foundation\include;..\XML\include;..\Util\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;POCO_STATIC;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<StringPooling>true</StringPooling>
<RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
<BufferSecurityCheck>false</BufferSecurityCheck>
<TreatWChar_tAsBuiltInType>true</TreatWChar_tAsBuiltInType>
<ForceConformanceInForLoopScope>true</ForceConformanceInForLoopScope>
<RuntimeTypeInfo>true</RuntimeTypeInfo>
<PrecompiledHeader/>
<ProgramDataBaseFileName>..\lib\PocoPDFmd.pdb</ProgramDataBaseFileName>
<WarningLevel>Level3</WarningLevel>
<DebugInformationFormat/>
<CompileAs>Default</CompileAs>
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<Lib>
<OutputFile>..\lib\PocoPDFmd.lib</OutputFile>
</Lib>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='debug_shared|x64'">
<ClCompile>
<Optimization>Disabled</Optimization>
<AdditionalIncludeDirectories>.\include;.\include\Poco\PDF;..\Foundation\include;..\XML\include;..\Util\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<PreprocessorDefinitions>WIN32;_DEBUG;_WINDOWS;_USRDLL;_CRT_SECURE_NO_WARNINGS;PDF_EXPORTS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<StringPooling>true</StringPooling>
<BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
<RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
<BufferSecurityCheck>true</BufferSecurityCheck>
<TreatWChar_tAsBuiltInType>true</TreatWChar_tAsBuiltInType>
<ForceConformanceInForLoopScope>true</ForceConformanceInForLoopScope>
<RuntimeTypeInfo>true</RuntimeTypeInfo>
<PrecompiledHeader/>
<WarningLevel>Level3</WarningLevel>
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
<CompileAs>Default</CompileAs>
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<Link>
<OutputFile>..\bin64\PocoPDF64d.dll</OutputFile>
<SuppressStartupBanner>true</SuppressStartupBanner>
<GenerateDebugInformation>true</GenerateDebugInformation>
<ProgramDatabaseFile>..\bin64\PocoPDF64d.pdb</ProgramDatabaseFile>
<AdditionalLibraryDirectories>..\lib64;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
<SubSystem>Console</SubSystem>
<ImportLibrary>..\lib64\PocoPDFd.lib</ImportLibrary>
<TargetMachine>MachineX64</TargetMachine>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='release_shared|x64'">
<ClCompile>
<Optimization>MaxSpeed</Optimization>
<InlineFunctionExpansion>OnlyExplicitInline</InlineFunctionExpansion>
<IntrinsicFunctions>true</IntrinsicFunctions>
<FavorSizeOrSpeed>Speed</FavorSizeOrSpeed>
<OmitFramePointers>true</OmitFramePointers>
<AdditionalIncludeDirectories>.\include;.\include\Poco\PDF;..\Foundation\include;..\XML\include;..\Util\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;_USRDLL;_CRT_SECURE_NO_WARNINGS;PDF_EXPORTS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<StringPooling>true</StringPooling>
<RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
<BufferSecurityCheck>false</BufferSecurityCheck>
<TreatWChar_tAsBuiltInType>true</TreatWChar_tAsBuiltInType>
<ForceConformanceInForLoopScope>true</ForceConformanceInForLoopScope>
<RuntimeTypeInfo>true</RuntimeTypeInfo>
<PrecompiledHeader/>
<WarningLevel>Level3</WarningLevel>
<DebugInformationFormat/>
<CompileAs>Default</CompileAs>
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<Link>
<OutputFile>..\bin64\PocoPDF64.dll</OutputFile>
<SuppressStartupBanner>true</SuppressStartupBanner>
<GenerateDebugInformation>false</GenerateDebugInformation>
<AdditionalLibraryDirectories>..\lib64;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
<SubSystem>Console</SubSystem>
<OptimizeReferences>true</OptimizeReferences>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<ImportLibrary>..\lib64\PocoPDF.lib</ImportLibrary>
<TargetMachine>MachineX64</TargetMachine>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='debug_static_mt|x64'">
<ClCompile>
<Optimization>Disabled</Optimization>
<AdditionalIncludeDirectories>.\include;.\include\Poco\PDF;..\Foundation\include;..\XML\include;..\Util\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<PreprocessorDefinitions>WIN32;_DEBUG;_WINDOWS;POCO_STATIC;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<StringPooling>true</StringPooling>
<BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
<RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
<BufferSecurityCheck>true</BufferSecurityCheck>
<TreatWChar_tAsBuiltInType>true</TreatWChar_tAsBuiltInType>
<ForceConformanceInForLoopScope>true</ForceConformanceInForLoopScope>
<RuntimeTypeInfo>true</RuntimeTypeInfo>
<PrecompiledHeader/>
<ProgramDataBaseFileName>..\lib64\PocoPDFmtd.pdb</ProgramDataBaseFileName>
<WarningLevel>Level3</WarningLevel>
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
<CompileAs>Default</CompileAs>
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<Lib>
<OutputFile>..\lib64\PocoPDFmtd.lib</OutputFile>
</Lib>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='release_static_mt|x64'">
<ClCompile>
<Optimization>MaxSpeed</Optimization>
<InlineFunctionExpansion>OnlyExplicitInline</InlineFunctionExpansion>
<IntrinsicFunctions>true</IntrinsicFunctions>
<FavorSizeOrSpeed>Speed</FavorSizeOrSpeed>
<OmitFramePointers>true</OmitFramePointers>
<AdditionalIncludeDirectories>.\include;.\include\Poco\PDF;..\Foundation\include;..\XML\include;..\Util\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;POCO_STATIC;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<StringPooling>true</StringPooling>
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
<BufferSecurityCheck>false</BufferSecurityCheck>
<TreatWChar_tAsBuiltInType>true</TreatWChar_tAsBuiltInType>
<ForceConformanceInForLoopScope>true</ForceConformanceInForLoopScope>
<RuntimeTypeInfo>true</RuntimeTypeInfo>
<PrecompiledHeader/>
<WarningLevel>Level3</WarningLevel>
<DebugInformationFormat/>
<CompileAs>Default</CompileAs>
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<Lib>
<OutputFile>..\lib64\PocoPDFmt.lib</OutputFile>
</Lib>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='debug_static_md|x64'">
<ClCompile>
<Optimization>Disabled</Optimization>
<AdditionalIncludeDirectories>.\include;.\include\Poco\PDF;..\Foundation\include;..\XML\include;..\Util\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<PreprocessorDefinitions>WIN32;_DEBUG;_WINDOWS;POCO_STATIC;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<StringPooling>true</StringPooling>
<BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
<RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
<BufferSecurityCheck>true</BufferSecurityCheck>
<TreatWChar_tAsBuiltInType>true</TreatWChar_tAsBuiltInType>
<ForceConformanceInForLoopScope>true</ForceConformanceInForLoopScope>
<RuntimeTypeInfo>true</RuntimeTypeInfo>
<PrecompiledHeader/>
<ProgramDataBaseFileName>..\lib64\PocoPDFmdd.pdb</ProgramDataBaseFileName>
<WarningLevel>Level3</WarningLevel>
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
<CompileAs>Default</CompileAs>
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<Lib>
<OutputFile>..\lib64\PocoPDFmdd.lib</OutputFile>
</Lib>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='release_static_md|x64'">
<ClCompile>
<Optimization>MaxSpeed</Optimization>
<InlineFunctionExpansion>OnlyExplicitInline</InlineFunctionExpansion>
<IntrinsicFunctions>true</IntrinsicFunctions>
<FavorSizeOrSpeed>Speed</FavorSizeOrSpeed>
<OmitFramePointers>true</OmitFramePointers>
<AdditionalIncludeDirectories>.\include;.\include\Poco\PDF;..\Foundation\include;..\XML\include;..\Util\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;POCO_STATIC;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<StringPooling>true</StringPooling>
<RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
<BufferSecurityCheck>false</BufferSecurityCheck>
<TreatWChar_tAsBuiltInType>true</TreatWChar_tAsBuiltInType>
<ForceConformanceInForLoopScope>true</ForceConformanceInForLoopScope>
<RuntimeTypeInfo>true</RuntimeTypeInfo>
<PrecompiledHeader/>
<WarningLevel>Level3</WarningLevel>
<DebugInformationFormat/>
<CompileAs>Default</CompileAs>
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<Lib>
<OutputFile>..\lib64\PocoPDFmd.lib</OutputFile>
</Lib>
</ItemDefinitionGroup>
<ItemGroup>
<ClCompile Include="src\adler32.c">
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<ClCompile Include="src\AttributedString.cpp">
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<ClCompile Include="src\Cell.cpp">
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<ClCompile Include="src\compress.c">
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<ClCompile Include="src\crc32.c">
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<ClCompile Include="src\deflate.c">
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<ClCompile Include="src\Destination.cpp">
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<ClCompile Include="src\Document.cpp">
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<ClCompile Include="src\Encoder.cpp">
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<ClCompile Include="src\Font.cpp">
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<ClCompile Include="src\gzio.c">
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<ClCompile Include="src\hpdf_3dmeasure.c">
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<ClCompile Include="src\hpdf_annotation.c">
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<ClCompile Include="src\hpdf_array.c">
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<ClCompile Include="src\hpdf_binary.c">
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<ClCompile Include="src\hpdf_boolean.c">
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<ClCompile Include="src\hpdf_catalog.c">
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<ClCompile Include="src\hpdf_destination.c">
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<ClCompile Include="src\hpdf_dict.c">
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<ClCompile Include="src\hpdf_doc.c">
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<ClCompile Include="src\hpdf_doc_png.c">
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<ClCompile Include="src\hpdf_encoder.c">
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<ClCompile Include="src\hpdf_encoder_cns.c">
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<ClCompile Include="src\hpdf_encoder_cnt.c">
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<ClCompile Include="src\hpdf_encoder_jp.c">
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<ClCompile Include="src\hpdf_encoder_kr.c">
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<ClCompile Include="src\hpdf_encoder_utf.c">
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<ClCompile Include="src\hpdf_encrypt.c">
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<ClCompile Include="src\hpdf_encryptdict.c">
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<ClCompile Include="src\hpdf_error.c">
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<ClCompile Include="src\hpdf_exdata.c">
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<ClCompile Include="src\hpdf_ext_gstate.c">
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<ClCompile Include="src\hpdf_font.c">
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<ClCompile Include="src\hpdf_fontdef.c">
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<ClCompile Include="src\hpdf_fontdef_base14.c">
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<ClCompile Include="src\hpdf_fontdef_cid.c">
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<ClCompile Include="src\hpdf_fontdef_cns.c">
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<ClCompile Include="src\hpdf_fontdef_cnt.c">
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<ClCompile Include="src\hpdf_fontdef_jp.c">
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<ClCompile Include="src\hpdf_fontdef_kr.c">
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<ClCompile Include="src\hpdf_fontdef_tt.c">
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<ClCompile Include="src\hpdf_fontdef_type1.c">
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<ClCompile Include="src\hpdf_font_cid.c">
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<ClCompile Include="src\hpdf_font_tt.c">
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<ClCompile Include="src\hpdf_font_type1.c">
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<ClCompile Include="src\hpdf_gstate.c">
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<ClCompile Include="src\hpdf_image.c">
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<ClCompile Include="src\hpdf_image_ccitt.c">
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<ClCompile Include="src\hpdf_image_png.c">
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<ClCompile Include="src\hpdf_info.c">
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<ClCompile Include="src\hpdf_list.c">
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<ClCompile Include="src\hpdf_mmgr.c">
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<ClCompile Include="src\hpdf_name.c">
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<ClCompile Include="src\hpdf_namedict.c">
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<ClCompile Include="src\hpdf_null.c">
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<ClCompile Include="src\hpdf_number.c">
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<ClCompile Include="src\hpdf_objects.c">
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<ClCompile Include="src\hpdf_outline.c">
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<ClCompile Include="src\hpdf_pages.c">
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<ClCompile Include="src\hpdf_page_label.c">
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<ClCompile Include="src\hpdf_page_operator.c">
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<ClCompile Include="src\hpdf_pdfa.c">
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<ClCompile Include="src\hpdf_real.c">
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<ClCompile Include="src\hpdf_streams.c">
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<ClCompile Include="src\hpdf_string.c">
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<ClCompile Include="src\hpdf_u3d.c">
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<ClCompile Include="src\hpdf_utils.c">
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<ClCompile Include="src\hpdf_xref.c">
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<ClCompile Include="src\Image.cpp">
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<ClCompile Include="src\infback.c">
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<ClCompile Include="src\inffast.c">
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<ClCompile Include="src\inflate.c">
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<ClCompile Include="src\inftrees.c">
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<ClCompile Include="src\LinkAnnotation.cpp">
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<ClCompile Include="src\Outline.cpp">
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<ClCompile Include="src\Page.cpp">
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<ClCompile Include="src\PDFException.cpp">
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<ClCompile Include="src\png.c">
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<ClCompile Include="src\pngerror.c">
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<ClCompile Include="src\pnggccrd.c">
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<ClCompile Include="src\pngget.c">
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<ClCompile Include="src\pngmem.c">
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<ClCompile Include="src\pngpread.c">
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<ClCompile Include="src\pngread.c">
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<ClCompile Include="src\pngrio.c">
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<ClCompile Include="src\pngrtran.c">
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<ClCompile Include="src\pngrutil.c">
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<ClCompile Include="src\pngset.c">
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<ClCompile Include="src\pngtest.c">
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<ClCompile Include="src\pngtrans.c">
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<ClCompile Include="src\pngvcrd.c">
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<ClCompile Include="src\pngwio.c">
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<ClCompile Include="src\pngwrite.c">
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<ClCompile Include="src\pngwtran.c">
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<ClCompile Include="src\pngwutil.c">
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<ClCompile Include="src\Table.cpp">
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<ClCompile Include="src\TextAnnotation.cpp">
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<ClCompile Include="src\trees.c">
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<ClCompile Include="src\XMLTemplate.cpp">
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<ClCompile Include="src\zutil.c">
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
</ItemGroup>
<ItemGroup>
<ClInclude Include="include\Poco\PDF\crc32.h"/>
<ClInclude Include="include\Poco\PDF\deflate.h"/>
<ClInclude Include="include\Poco\PDF\Destination.h"/>
<ClInclude Include="include\Poco\PDF\Document.h"/>
<ClInclude Include="include\Poco\PDF\Encoder.h"/>
<ClInclude Include="include\Poco\PDF\Font.h"/>
<ClInclude Include="include\Poco\PDF\hpdf.h"/>
<ClInclude Include="include\Poco\PDF\hpdf_3dmeasure.h"/>
<ClInclude Include="include\Poco\PDF\hpdf_annotation.h"/>
<ClInclude Include="include\Poco\PDF\hpdf_catalog.h"/>
<ClInclude Include="include\Poco\PDF\hpdf_conf.h"/>
<ClInclude Include="include\Poco\PDF\hpdf_consts.h"/>
<ClInclude Include="include\Poco\PDF\hpdf_destination.h"/>
<ClInclude Include="include\Poco\PDF\hpdf_doc.h"/>
<ClInclude Include="include\Poco\PDF\hpdf_encoder.h"/>
<ClInclude Include="include\Poco\PDF\hpdf_encrypt.h"/>
<ClInclude Include="include\Poco\PDF\hpdf_encryptdict.h"/>
<ClInclude Include="include\Poco\PDF\hpdf_error.h"/>
<ClInclude Include="include\Poco\PDF\hpdf_exdata.h"/>
<ClInclude Include="include\Poco\PDF\hpdf_ext_gstate.h"/>
<ClInclude Include="include\Poco\PDF\hpdf_font.h"/>
<ClInclude Include="include\Poco\PDF\hpdf_fontdef.h"/>
<ClInclude Include="include\Poco\PDF\hpdf_gstate.h"/>
<ClInclude Include="include\Poco\PDF\hpdf_image.h"/>
<ClInclude Include="include\Poco\PDF\hpdf_info.h"/>
<ClInclude Include="include\Poco\PDF\hpdf_list.h"/>
<ClInclude Include="include\Poco\PDF\hpdf_mmgr.h"/>
<ClInclude Include="include\Poco\PDF\hpdf_namedict.h"/>
<ClInclude Include="include\Poco\PDF\hpdf_objects.h"/>
<ClInclude Include="include\Poco\PDF\hpdf_outline.h"/>
<ClInclude Include="include\Poco\PDF\hpdf_pages.h"/>
<ClInclude Include="include\Poco\PDF\hpdf_page_label.h"/>
<ClInclude Include="include\Poco\PDF\hpdf_pdfa.h"/>
<ClInclude Include="include\Poco\PDF\hpdf_streams.h"/>
<ClInclude Include="include\Poco\PDF\hpdf_types.h"/>
<ClInclude Include="include\Poco\PDF\hpdf_u3d.h"/>
<ClInclude Include="include\Poco\PDF\hpdf_utils.h"/>
<ClInclude Include="include\Poco\PDF\hpdf_version.h"/>
<ClInclude Include="include\Poco\PDF\Image.h"/>
<ClInclude Include="include\Poco\PDF\inffast.h"/>
<ClInclude Include="include\Poco\PDF\inffixed.h"/>
<ClInclude Include="include\Poco\PDF\inflate.h"/>
<ClInclude Include="include\Poco\PDF\inftrees.h"/>
<ClInclude Include="include\Poco\PDF\LinkAnnotation.h"/>
<ClInclude Include="include\Poco\PDF\Outline.h"/>
<ClInclude Include="include\Poco\PDF\Page.h"/>
<ClInclude Include="include\Poco\PDF\PDF.h"/>
<ClInclude Include="include\Poco\PDF\PDFException.h"/>
<ClInclude Include="include\Poco\PDF\png.h"/>
<ClInclude Include="include\Poco\PDF\pngconf.h"/>
<ClInclude Include="include\Poco\PDF\Resource.h"/>
<ClInclude Include="include\Poco\PDF\TextAnnotation.h"/>
<ClInclude Include="include\Poco\PDF\trees.h"/>
<ClInclude Include="include\Poco\PDF\zconf.h"/>
<ClInclude Include="include\Poco\PDF\zlib.h"/>
<ClInclude Include="include\Poco\PDF\zutil.h"/>
</ItemGroup>
<ItemGroup>
<ResourceCompile Include="..\DLLVersion.rc">
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='debug_static_md|Win32'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='debug_static_md|x64'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='debug_static_mt|Win32'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='debug_static_mt|x64'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='release_static_md|Win32'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='release_static_md|x64'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='release_static_mt|Win32'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='release_static_mt|x64'">true</ExcludedFromBuild>
</ResourceCompile>
</ItemGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets"/>
<ImportGroup Label="ExtensionTargets"/>
</Project>

View File

@ -0,0 +1,516 @@
<?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>{8dd8bab8-3982-47c4-b9d0-3d29d1aa20db}</UniqueIdentifier>
</Filter>
<Filter Include="Header Files">
<UniqueIdentifier>{00b9a493-090a-40da-9ed9-b2faf3f52f65}</UniqueIdentifier>
</Filter>
<Filter Include="3rd Party">
<UniqueIdentifier>{46221d30-5334-4132-8432-0328cdba0527}</UniqueIdentifier>
</Filter>
<Filter Include="3rd Party\PNG">
<UniqueIdentifier>{7c79c624-d3a4-4fc5-bbb0-ddc0da33e755}</UniqueIdentifier>
</Filter>
<Filter Include="3rd Party\PNG\Header Files">
<UniqueIdentifier>{3052c877-f824-49e1-8425-7e92f0db2d35}</UniqueIdentifier>
</Filter>
<Filter Include="3rd Party\PNG\Source Files">
<UniqueIdentifier>{3c564a30-b485-45e5-91bb-c4ad7a0608ca}</UniqueIdentifier>
</Filter>
<Filter Include="3rd Party\zlib">
<UniqueIdentifier>{5f51231a-93f3-47b1-8122-2b66a65c11e4}</UniqueIdentifier>
</Filter>
<Filter Include="3rd Party\zlib\Header Files">
<UniqueIdentifier>{5a8a7a88-e4f8-4d0b-91b4-724626edc81e}</UniqueIdentifier>
</Filter>
<Filter Include="3rd Party\zlib\Source Files">
<UniqueIdentifier>{e6f1cacb-2e62-4a68-a78d-2c8d85a132e0}</UniqueIdentifier>
</Filter>
<Filter Include="3rd Party\HARU">
<UniqueIdentifier>{c790e717-000c-4808-9752-d83d12c017a9}</UniqueIdentifier>
</Filter>
<Filter Include="3rd Party\HARU\Source Files">
<UniqueIdentifier>{3ae11ad1-1d7a-4b88-90b9-b343a45cfb5d}</UniqueIdentifier>
</Filter>
<Filter Include="3rd Party\HARU\Header Files">
<UniqueIdentifier>{d61f4265-cbab-496b-8418-671b31940c97}</UniqueIdentifier>
</Filter>
</ItemGroup>
<ItemGroup>
<ClCompile Include="src\AttributedString.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="src\Cell.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="src\Destination.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="src\Document.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="src\Encoder.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="src\Font.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="src\Image.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="src\LinkAnnotation.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="src\Outline.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="src\Page.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="src\PDFException.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="src\Table.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="src\TextAnnotation.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="src\XMLTemplate.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="src\png.c">
<Filter>3rd Party\PNG\Source Files</Filter>
</ClCompile>
<ClCompile Include="src\pngerror.c">
<Filter>3rd Party\PNG\Source Files</Filter>
</ClCompile>
<ClCompile Include="src\pnggccrd.c">
<Filter>3rd Party\PNG\Source Files</Filter>
</ClCompile>
<ClCompile Include="src\pngget.c">
<Filter>3rd Party\PNG\Source Files</Filter>
</ClCompile>
<ClCompile Include="src\pngmem.c">
<Filter>3rd Party\PNG\Source Files</Filter>
</ClCompile>
<ClCompile Include="src\pngpread.c">
<Filter>3rd Party\PNG\Source Files</Filter>
</ClCompile>
<ClCompile Include="src\pngread.c">
<Filter>3rd Party\PNG\Source Files</Filter>
</ClCompile>
<ClCompile Include="src\pngrio.c">
<Filter>3rd Party\PNG\Source Files</Filter>
</ClCompile>
<ClCompile Include="src\pngrtran.c">
<Filter>3rd Party\PNG\Source Files</Filter>
</ClCompile>
<ClCompile Include="src\pngrutil.c">
<Filter>3rd Party\PNG\Source Files</Filter>
</ClCompile>
<ClCompile Include="src\pngset.c">
<Filter>3rd Party\PNG\Source Files</Filter>
</ClCompile>
<ClCompile Include="src\pngtest.c">
<Filter>3rd Party\PNG\Source Files</Filter>
</ClCompile>
<ClCompile Include="src\pngtrans.c">
<Filter>3rd Party\PNG\Source Files</Filter>
</ClCompile>
<ClCompile Include="src\pngvcrd.c">
<Filter>3rd Party\PNG\Source Files</Filter>
</ClCompile>
<ClCompile Include="src\pngwio.c">
<Filter>3rd Party\PNG\Source Files</Filter>
</ClCompile>
<ClCompile Include="src\pngwrite.c">
<Filter>3rd Party\PNG\Source Files</Filter>
</ClCompile>
<ClCompile Include="src\pngwtran.c">
<Filter>3rd Party\PNG\Source Files</Filter>
</ClCompile>
<ClCompile Include="src\pngwutil.c">
<Filter>3rd Party\PNG\Source Files</Filter>
</ClCompile>
<ClCompile Include="src\adler32.c">
<Filter>3rd Party\zlib\Source Files</Filter>
</ClCompile>
<ClCompile Include="src\compress.c">
<Filter>3rd Party\zlib\Source Files</Filter>
</ClCompile>
<ClCompile Include="src\crc32.c">
<Filter>3rd Party\zlib\Source Files</Filter>
</ClCompile>
<ClCompile Include="src\deflate.c">
<Filter>3rd Party\zlib\Source Files</Filter>
</ClCompile>
<ClCompile Include="src\gzio.c">
<Filter>3rd Party\zlib\Source Files</Filter>
</ClCompile>
<ClCompile Include="src\infback.c">
<Filter>3rd Party\zlib\Source Files</Filter>
</ClCompile>
<ClCompile Include="src\inffast.c">
<Filter>3rd Party\zlib\Source Files</Filter>
</ClCompile>
<ClCompile Include="src\inflate.c">
<Filter>3rd Party\zlib\Source Files</Filter>
</ClCompile>
<ClCompile Include="src\inftrees.c">
<Filter>3rd Party\zlib\Source Files</Filter>
</ClCompile>
<ClCompile Include="src\trees.c">
<Filter>3rd Party\zlib\Source Files</Filter>
</ClCompile>
<ClCompile Include="src\zutil.c">
<Filter>3rd Party\zlib\Source Files</Filter>
</ClCompile>
<ClCompile Include="src\hpdf_3dmeasure.c">
<Filter>3rd Party\HARU\Source Files</Filter>
</ClCompile>
<ClCompile Include="src\hpdf_annotation.c">
<Filter>3rd Party\HARU\Source Files</Filter>
</ClCompile>
<ClCompile Include="src\hpdf_array.c">
<Filter>3rd Party\HARU\Source Files</Filter>
</ClCompile>
<ClCompile Include="src\hpdf_binary.c">
<Filter>3rd Party\HARU\Source Files</Filter>
</ClCompile>
<ClCompile Include="src\hpdf_boolean.c">
<Filter>3rd Party\HARU\Source Files</Filter>
</ClCompile>
<ClCompile Include="src\hpdf_catalog.c">
<Filter>3rd Party\HARU\Source Files</Filter>
</ClCompile>
<ClCompile Include="src\hpdf_destination.c">
<Filter>3rd Party\HARU\Source Files</Filter>
</ClCompile>
<ClCompile Include="src\hpdf_dict.c">
<Filter>3rd Party\HARU\Source Files</Filter>
</ClCompile>
<ClCompile Include="src\hpdf_doc.c">
<Filter>3rd Party\HARU\Source Files</Filter>
</ClCompile>
<ClCompile Include="src\hpdf_doc_png.c">
<Filter>3rd Party\HARU\Source Files</Filter>
</ClCompile>
<ClCompile Include="src\hpdf_encoder.c">
<Filter>3rd Party\HARU\Source Files</Filter>
</ClCompile>
<ClCompile Include="src\hpdf_encoder_cns.c">
<Filter>3rd Party\HARU\Source Files</Filter>
</ClCompile>
<ClCompile Include="src\hpdf_encoder_cnt.c">
<Filter>3rd Party\HARU\Source Files</Filter>
</ClCompile>
<ClCompile Include="src\hpdf_encoder_jp.c">
<Filter>3rd Party\HARU\Source Files</Filter>
</ClCompile>
<ClCompile Include="src\hpdf_encoder_kr.c">
<Filter>3rd Party\HARU\Source Files</Filter>
</ClCompile>
<ClCompile Include="src\hpdf_encoder_utf.c">
<Filter>3rd Party\HARU\Source Files</Filter>
</ClCompile>
<ClCompile Include="src\hpdf_encrypt.c">
<Filter>3rd Party\HARU\Source Files</Filter>
</ClCompile>
<ClCompile Include="src\hpdf_encryptdict.c">
<Filter>3rd Party\HARU\Source Files</Filter>
</ClCompile>
<ClCompile Include="src\hpdf_error.c">
<Filter>3rd Party\HARU\Source Files</Filter>
</ClCompile>
<ClCompile Include="src\hpdf_exdata.c">
<Filter>3rd Party\HARU\Source Files</Filter>
</ClCompile>
<ClCompile Include="src\hpdf_ext_gstate.c">
<Filter>3rd Party\HARU\Source Files</Filter>
</ClCompile>
<ClCompile Include="src\hpdf_font.c">
<Filter>3rd Party\HARU\Source Files</Filter>
</ClCompile>
<ClCompile Include="src\hpdf_font_cid.c">
<Filter>3rd Party\HARU\Source Files</Filter>
</ClCompile>
<ClCompile Include="src\hpdf_font_tt.c">
<Filter>3rd Party\HARU\Source Files</Filter>
</ClCompile>
<ClCompile Include="src\hpdf_font_type1.c">
<Filter>3rd Party\HARU\Source Files</Filter>
</ClCompile>
<ClCompile Include="src\hpdf_fontdef.c">
<Filter>3rd Party\HARU\Source Files</Filter>
</ClCompile>
<ClCompile Include="src\hpdf_fontdef_base14.c">
<Filter>3rd Party\HARU\Source Files</Filter>
</ClCompile>
<ClCompile Include="src\hpdf_fontdef_cid.c">
<Filter>3rd Party\HARU\Source Files</Filter>
</ClCompile>
<ClCompile Include="src\hpdf_fontdef_cns.c">
<Filter>3rd Party\HARU\Source Files</Filter>
</ClCompile>
<ClCompile Include="src\hpdf_fontdef_cnt.c">
<Filter>3rd Party\HARU\Source Files</Filter>
</ClCompile>
<ClCompile Include="src\hpdf_fontdef_jp.c">
<Filter>3rd Party\HARU\Source Files</Filter>
</ClCompile>
<ClCompile Include="src\hpdf_fontdef_kr.c">
<Filter>3rd Party\HARU\Source Files</Filter>
</ClCompile>
<ClCompile Include="src\hpdf_fontdef_tt.c">
<Filter>3rd Party\HARU\Source Files</Filter>
</ClCompile>
<ClCompile Include="src\hpdf_fontdef_type1.c">
<Filter>3rd Party\HARU\Source Files</Filter>
</ClCompile>
<ClCompile Include="src\hpdf_gstate.c">
<Filter>3rd Party\HARU\Source Files</Filter>
</ClCompile>
<ClCompile Include="src\hpdf_image.c">
<Filter>3rd Party\HARU\Source Files</Filter>
</ClCompile>
<ClCompile Include="src\hpdf_image_ccitt.c">
<Filter>3rd Party\HARU\Source Files</Filter>
</ClCompile>
<ClCompile Include="src\hpdf_image_png.c">
<Filter>3rd Party\HARU\Source Files</Filter>
</ClCompile>
<ClCompile Include="src\hpdf_info.c">
<Filter>3rd Party\HARU\Source Files</Filter>
</ClCompile>
<ClCompile Include="src\hpdf_list.c">
<Filter>3rd Party\HARU\Source Files</Filter>
</ClCompile>
<ClCompile Include="src\hpdf_mmgr.c">
<Filter>3rd Party\HARU\Source Files</Filter>
</ClCompile>
<ClCompile Include="src\hpdf_name.c">
<Filter>3rd Party\HARU\Source Files</Filter>
</ClCompile>
<ClCompile Include="src\hpdf_namedict.c">
<Filter>3rd Party\HARU\Source Files</Filter>
</ClCompile>
<ClCompile Include="src\hpdf_null.c">
<Filter>3rd Party\HARU\Source Files</Filter>
</ClCompile>
<ClCompile Include="src\hpdf_number.c">
<Filter>3rd Party\HARU\Source Files</Filter>
</ClCompile>
<ClCompile Include="src\hpdf_objects.c">
<Filter>3rd Party\HARU\Source Files</Filter>
</ClCompile>
<ClCompile Include="src\hpdf_outline.c">
<Filter>3rd Party\HARU\Source Files</Filter>
</ClCompile>
<ClCompile Include="src\hpdf_page_label.c">
<Filter>3rd Party\HARU\Source Files</Filter>
</ClCompile>
<ClCompile Include="src\hpdf_page_operator.c">
<Filter>3rd Party\HARU\Source Files</Filter>
</ClCompile>
<ClCompile Include="src\hpdf_pages.c">
<Filter>3rd Party\HARU\Source Files</Filter>
</ClCompile>
<ClCompile Include="src\hpdf_pdfa.c">
<Filter>3rd Party\HARU\Source Files</Filter>
</ClCompile>
<ClCompile Include="src\hpdf_real.c">
<Filter>3rd Party\HARU\Source Files</Filter>
</ClCompile>
<ClCompile Include="src\hpdf_streams.c">
<Filter>3rd Party\HARU\Source Files</Filter>
</ClCompile>
<ClCompile Include="src\hpdf_string.c">
<Filter>3rd Party\HARU\Source Files</Filter>
</ClCompile>
<ClCompile Include="src\hpdf_u3d.c">
<Filter>3rd Party\HARU\Source Files</Filter>
</ClCompile>
<ClCompile Include="src\hpdf_utils.c">
<Filter>3rd Party\HARU\Source Files</Filter>
</ClCompile>
<ClCompile Include="src\hpdf_xref.c">
<Filter>3rd Party\HARU\Source Files</Filter>
</ClCompile>
</ItemGroup>
<ItemGroup>
<ClInclude Include="include\Poco\PDF\Destination.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="include\Poco\PDF\Document.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="include\Poco\PDF\Encoder.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="include\Poco\PDF\Font.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="include\Poco\PDF\Image.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="include\Poco\PDF\LinkAnnotation.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="include\Poco\PDF\Outline.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="include\Poco\PDF\Page.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="include\Poco\PDF\PDF.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="include\Poco\PDF\PDFException.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="include\Poco\PDF\Resource.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="include\Poco\PDF\TextAnnotation.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="include\Poco\PDF\png.h">
<Filter>3rd Party\PNG\Header Files</Filter>
</ClInclude>
<ClInclude Include="include\Poco\PDF\pngconf.h">
<Filter>3rd Party\PNG\Header Files</Filter>
</ClInclude>
<ClInclude Include="include\Poco\PDF\crc32.h">
<Filter>3rd Party\zlib\Header Files</Filter>
</ClInclude>
<ClInclude Include="include\Poco\PDF\deflate.h">
<Filter>3rd Party\zlib\Header Files</Filter>
</ClInclude>
<ClInclude Include="include\Poco\PDF\inffast.h">
<Filter>3rd Party\zlib\Header Files</Filter>
</ClInclude>
<ClInclude Include="include\Poco\PDF\inffixed.h">
<Filter>3rd Party\zlib\Header Files</Filter>
</ClInclude>
<ClInclude Include="include\Poco\PDF\inflate.h">
<Filter>3rd Party\zlib\Header Files</Filter>
</ClInclude>
<ClInclude Include="include\Poco\PDF\inftrees.h">
<Filter>3rd Party\zlib\Header Files</Filter>
</ClInclude>
<ClInclude Include="include\Poco\PDF\trees.h">
<Filter>3rd Party\zlib\Header Files</Filter>
</ClInclude>
<ClInclude Include="include\Poco\PDF\zconf.h">
<Filter>3rd Party\zlib\Header Files</Filter>
</ClInclude>
<ClInclude Include="include\Poco\PDF\zlib.h">
<Filter>3rd Party\zlib\Header Files</Filter>
</ClInclude>
<ClInclude Include="include\Poco\PDF\zutil.h">
<Filter>3rd Party\zlib\Header Files</Filter>
</ClInclude>
<ClInclude Include="include\Poco\PDF\hpdf.h">
<Filter>3rd Party\HARU\Header Files</Filter>
</ClInclude>
<ClInclude Include="include\Poco\PDF\hpdf_3dmeasure.h">
<Filter>3rd Party\HARU\Header Files</Filter>
</ClInclude>
<ClInclude Include="include\Poco\PDF\hpdf_annotation.h">
<Filter>3rd Party\HARU\Header Files</Filter>
</ClInclude>
<ClInclude Include="include\Poco\PDF\hpdf_catalog.h">
<Filter>3rd Party\HARU\Header Files</Filter>
</ClInclude>
<ClInclude Include="include\Poco\PDF\hpdf_conf.h">
<Filter>3rd Party\HARU\Header Files</Filter>
</ClInclude>
<ClInclude Include="include\Poco\PDF\hpdf_consts.h">
<Filter>3rd Party\HARU\Header Files</Filter>
</ClInclude>
<ClInclude Include="include\Poco\PDF\hpdf_destination.h">
<Filter>3rd Party\HARU\Header Files</Filter>
</ClInclude>
<ClInclude Include="include\Poco\PDF\hpdf_doc.h">
<Filter>3rd Party\HARU\Header Files</Filter>
</ClInclude>
<ClInclude Include="include\Poco\PDF\hpdf_encoder.h">
<Filter>3rd Party\HARU\Header Files</Filter>
</ClInclude>
<ClInclude Include="include\Poco\PDF\hpdf_encrypt.h">
<Filter>3rd Party\HARU\Header Files</Filter>
</ClInclude>
<ClInclude Include="include\Poco\PDF\hpdf_encryptdict.h">
<Filter>3rd Party\HARU\Header Files</Filter>
</ClInclude>
<ClInclude Include="include\Poco\PDF\hpdf_error.h">
<Filter>3rd Party\HARU\Header Files</Filter>
</ClInclude>
<ClInclude Include="include\Poco\PDF\hpdf_exdata.h">
<Filter>3rd Party\HARU\Header Files</Filter>
</ClInclude>
<ClInclude Include="include\Poco\PDF\hpdf_ext_gstate.h">
<Filter>3rd Party\HARU\Header Files</Filter>
</ClInclude>
<ClInclude Include="include\Poco\PDF\hpdf_font.h">
<Filter>3rd Party\HARU\Header Files</Filter>
</ClInclude>
<ClInclude Include="include\Poco\PDF\hpdf_fontdef.h">
<Filter>3rd Party\HARU\Header Files</Filter>
</ClInclude>
<ClInclude Include="include\Poco\PDF\hpdf_gstate.h">
<Filter>3rd Party\HARU\Header Files</Filter>
</ClInclude>
<ClInclude Include="include\Poco\PDF\hpdf_image.h">
<Filter>3rd Party\HARU\Header Files</Filter>
</ClInclude>
<ClInclude Include="include\Poco\PDF\hpdf_info.h">
<Filter>3rd Party\HARU\Header Files</Filter>
</ClInclude>
<ClInclude Include="include\Poco\PDF\hpdf_list.h">
<Filter>3rd Party\HARU\Header Files</Filter>
</ClInclude>
<ClInclude Include="include\Poco\PDF\hpdf_mmgr.h">
<Filter>3rd Party\HARU\Header Files</Filter>
</ClInclude>
<ClInclude Include="include\Poco\PDF\hpdf_namedict.h">
<Filter>3rd Party\HARU\Header Files</Filter>
</ClInclude>
<ClInclude Include="include\Poco\PDF\hpdf_objects.h">
<Filter>3rd Party\HARU\Header Files</Filter>
</ClInclude>
<ClInclude Include="include\Poco\PDF\hpdf_outline.h">
<Filter>3rd Party\HARU\Header Files</Filter>
</ClInclude>
<ClInclude Include="include\Poco\PDF\hpdf_page_label.h">
<Filter>3rd Party\HARU\Header Files</Filter>
</ClInclude>
<ClInclude Include="include\Poco\PDF\hpdf_pages.h">
<Filter>3rd Party\HARU\Header Files</Filter>
</ClInclude>
<ClInclude Include="include\Poco\PDF\hpdf_pdfa.h">
<Filter>3rd Party\HARU\Header Files</Filter>
</ClInclude>
<ClInclude Include="include\Poco\PDF\hpdf_streams.h">
<Filter>3rd Party\HARU\Header Files</Filter>
</ClInclude>
<ClInclude Include="include\Poco\PDF\hpdf_types.h">
<Filter>3rd Party\HARU\Header Files</Filter>
</ClInclude>
<ClInclude Include="include\Poco\PDF\hpdf_u3d.h">
<Filter>3rd Party\HARU\Header Files</Filter>
</ClInclude>
<ClInclude Include="include\Poco\PDF\hpdf_utils.h">
<Filter>3rd Party\HARU\Header Files</Filter>
</ClInclude>
<ClInclude Include="include\Poco\PDF\hpdf_version.h">
<Filter>3rd Party\HARU\Header Files</Filter>
</ClInclude>
</ItemGroup>
<ItemGroup>
<ResourceCompile Include="..\DLLVersion.rc" />
</ItemGroup>
</Project>

102
vendor/POCO/PDF/PDF_vs150.sln vendored Normal file
View File

@ -0,0 +1,102 @@
Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 15
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "PDF", "PDF_vs150.vcxproj", "{E12E5C71-79A4-495A-848F-F1710111E610}"
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "TestSuite", "testsuite\TestSuite_vs150.vcxproj", "{24134877-368D-11DB-9FBC-00123FC423B5}"
ProjectSection(ProjectDependencies) = postProject
{E12E5C71-79A4-495A-848F-F1710111E610} = {E12E5C71-79A4-495A-848F-F1710111E610}
EndProjectSection
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
debug_shared|Win32 = debug_shared|Win32
release_shared|Win32 = release_shared|Win32
debug_static_mt|Win32 = debug_static_mt|Win32
release_static_mt|Win32 = release_static_mt|Win32
debug_static_md|Win32 = debug_static_md|Win32
release_static_md|Win32 = release_static_md|Win32
debug_shared|x64 = debug_shared|x64
release_shared|x64 = release_shared|x64
debug_static_mt|x64 = debug_static_mt|x64
release_static_mt|x64 = release_static_mt|x64
debug_static_md|x64 = debug_static_md|x64
release_static_md|x64 = release_static_md|x64
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{E12E5C71-79A4-495A-848F-F1710111E610}.debug_shared|Win32.ActiveCfg = debug_shared|Win32
{E12E5C71-79A4-495A-848F-F1710111E610}.debug_shared|Win32.Build.0 = debug_shared|Win32
{E12E5C71-79A4-495A-848F-F1710111E610}.debug_shared|Win32.Deploy.0 = debug_shared|Win32
{E12E5C71-79A4-495A-848F-F1710111E610}.release_shared|Win32.ActiveCfg = release_shared|Win32
{E12E5C71-79A4-495A-848F-F1710111E610}.release_shared|Win32.Build.0 = release_shared|Win32
{E12E5C71-79A4-495A-848F-F1710111E610}.release_shared|Win32.Deploy.0 = release_shared|Win32
{E12E5C71-79A4-495A-848F-F1710111E610}.debug_static_mt|Win32.ActiveCfg = debug_static_mt|Win32
{E12E5C71-79A4-495A-848F-F1710111E610}.debug_static_mt|Win32.Build.0 = debug_static_mt|Win32
{E12E5C71-79A4-495A-848F-F1710111E610}.debug_static_mt|Win32.Deploy.0 = debug_static_mt|Win32
{E12E5C71-79A4-495A-848F-F1710111E610}.release_static_mt|Win32.ActiveCfg = release_static_mt|Win32
{E12E5C71-79A4-495A-848F-F1710111E610}.release_static_mt|Win32.Build.0 = release_static_mt|Win32
{E12E5C71-79A4-495A-848F-F1710111E610}.release_static_mt|Win32.Deploy.0 = release_static_mt|Win32
{E12E5C71-79A4-495A-848F-F1710111E610}.debug_static_md|Win32.ActiveCfg = debug_static_md|Win32
{E12E5C71-79A4-495A-848F-F1710111E610}.debug_static_md|Win32.Build.0 = debug_static_md|Win32
{E12E5C71-79A4-495A-848F-F1710111E610}.debug_static_md|Win32.Deploy.0 = debug_static_md|Win32
{E12E5C71-79A4-495A-848F-F1710111E610}.release_static_md|Win32.ActiveCfg = release_static_md|Win32
{E12E5C71-79A4-495A-848F-F1710111E610}.release_static_md|Win32.Build.0 = release_static_md|Win32
{E12E5C71-79A4-495A-848F-F1710111E610}.release_static_md|Win32.Deploy.0 = release_static_md|Win32
{E12E5C71-79A4-495A-848F-F1710111E610}.debug_shared|x64.ActiveCfg = debug_shared|x64
{E12E5C71-79A4-495A-848F-F1710111E610}.debug_shared|x64.Build.0 = debug_shared|x64
{E12E5C71-79A4-495A-848F-F1710111E610}.debug_shared|x64.Deploy.0 = debug_shared|x64
{E12E5C71-79A4-495A-848F-F1710111E610}.release_shared|x64.ActiveCfg = release_shared|x64
{E12E5C71-79A4-495A-848F-F1710111E610}.release_shared|x64.Build.0 = release_shared|x64
{E12E5C71-79A4-495A-848F-F1710111E610}.release_shared|x64.Deploy.0 = release_shared|x64
{E12E5C71-79A4-495A-848F-F1710111E610}.debug_static_mt|x64.ActiveCfg = debug_static_mt|x64
{E12E5C71-79A4-495A-848F-F1710111E610}.debug_static_mt|x64.Build.0 = debug_static_mt|x64
{E12E5C71-79A4-495A-848F-F1710111E610}.debug_static_mt|x64.Deploy.0 = debug_static_mt|x64
{E12E5C71-79A4-495A-848F-F1710111E610}.release_static_mt|x64.ActiveCfg = release_static_mt|x64
{E12E5C71-79A4-495A-848F-F1710111E610}.release_static_mt|x64.Build.0 = release_static_mt|x64
{E12E5C71-79A4-495A-848F-F1710111E610}.release_static_mt|x64.Deploy.0 = release_static_mt|x64
{E12E5C71-79A4-495A-848F-F1710111E610}.debug_static_md|x64.ActiveCfg = debug_static_md|x64
{E12E5C71-79A4-495A-848F-F1710111E610}.debug_static_md|x64.Build.0 = debug_static_md|x64
{E12E5C71-79A4-495A-848F-F1710111E610}.debug_static_md|x64.Deploy.0 = debug_static_md|x64
{E12E5C71-79A4-495A-848F-F1710111E610}.release_static_md|x64.ActiveCfg = release_static_md|x64
{E12E5C71-79A4-495A-848F-F1710111E610}.release_static_md|x64.Build.0 = release_static_md|x64
{E12E5C71-79A4-495A-848F-F1710111E610}.release_static_md|x64.Deploy.0 = release_static_md|x64
{24134877-368D-11DB-9FBC-00123FC423B5}.debug_shared|Win32.ActiveCfg = debug_shared|Win32
{24134877-368D-11DB-9FBC-00123FC423B5}.debug_shared|Win32.Build.0 = debug_shared|Win32
{24134877-368D-11DB-9FBC-00123FC423B5}.debug_shared|Win32.Deploy.0 = debug_shared|Win32
{24134877-368D-11DB-9FBC-00123FC423B5}.release_shared|Win32.ActiveCfg = release_shared|Win32
{24134877-368D-11DB-9FBC-00123FC423B5}.release_shared|Win32.Build.0 = release_shared|Win32
{24134877-368D-11DB-9FBC-00123FC423B5}.release_shared|Win32.Deploy.0 = release_shared|Win32
{24134877-368D-11DB-9FBC-00123FC423B5}.debug_static_mt|Win32.ActiveCfg = debug_static_mt|Win32
{24134877-368D-11DB-9FBC-00123FC423B5}.debug_static_mt|Win32.Build.0 = debug_static_mt|Win32
{24134877-368D-11DB-9FBC-00123FC423B5}.debug_static_mt|Win32.Deploy.0 = debug_static_mt|Win32
{24134877-368D-11DB-9FBC-00123FC423B5}.release_static_mt|Win32.ActiveCfg = release_static_mt|Win32
{24134877-368D-11DB-9FBC-00123FC423B5}.release_static_mt|Win32.Build.0 = release_static_mt|Win32
{24134877-368D-11DB-9FBC-00123FC423B5}.release_static_mt|Win32.Deploy.0 = release_static_mt|Win32
{24134877-368D-11DB-9FBC-00123FC423B5}.debug_static_md|Win32.ActiveCfg = debug_static_md|Win32
{24134877-368D-11DB-9FBC-00123FC423B5}.debug_static_md|Win32.Build.0 = debug_static_md|Win32
{24134877-368D-11DB-9FBC-00123FC423B5}.debug_static_md|Win32.Deploy.0 = debug_static_md|Win32
{24134877-368D-11DB-9FBC-00123FC423B5}.release_static_md|Win32.ActiveCfg = release_static_md|Win32
{24134877-368D-11DB-9FBC-00123FC423B5}.release_static_md|Win32.Build.0 = release_static_md|Win32
{24134877-368D-11DB-9FBC-00123FC423B5}.release_static_md|Win32.Deploy.0 = release_static_md|Win32
{24134877-368D-11DB-9FBC-00123FC423B5}.debug_shared|x64.ActiveCfg = debug_shared|x64
{24134877-368D-11DB-9FBC-00123FC423B5}.debug_shared|x64.Build.0 = debug_shared|x64
{24134877-368D-11DB-9FBC-00123FC423B5}.debug_shared|x64.Deploy.0 = debug_shared|x64
{24134877-368D-11DB-9FBC-00123FC423B5}.release_shared|x64.ActiveCfg = release_shared|x64
{24134877-368D-11DB-9FBC-00123FC423B5}.release_shared|x64.Build.0 = release_shared|x64
{24134877-368D-11DB-9FBC-00123FC423B5}.release_shared|x64.Deploy.0 = release_shared|x64
{24134877-368D-11DB-9FBC-00123FC423B5}.debug_static_mt|x64.ActiveCfg = debug_static_mt|x64
{24134877-368D-11DB-9FBC-00123FC423B5}.debug_static_mt|x64.Build.0 = debug_static_mt|x64
{24134877-368D-11DB-9FBC-00123FC423B5}.debug_static_mt|x64.Deploy.0 = debug_static_mt|x64
{24134877-368D-11DB-9FBC-00123FC423B5}.release_static_mt|x64.ActiveCfg = release_static_mt|x64
{24134877-368D-11DB-9FBC-00123FC423B5}.release_static_mt|x64.Build.0 = release_static_mt|x64
{24134877-368D-11DB-9FBC-00123FC423B5}.release_static_mt|x64.Deploy.0 = release_static_mt|x64
{24134877-368D-11DB-9FBC-00123FC423B5}.debug_static_md|x64.ActiveCfg = debug_static_md|x64
{24134877-368D-11DB-9FBC-00123FC423B5}.debug_static_md|x64.Build.0 = debug_static_md|x64
{24134877-368D-11DB-9FBC-00123FC423B5}.debug_static_md|x64.Deploy.0 = debug_static_md|x64
{24134877-368D-11DB-9FBC-00123FC423B5}.release_static_md|x64.ActiveCfg = release_static_md|x64
{24134877-368D-11DB-9FBC-00123FC423B5}.release_static_md|x64.Build.0 = release_static_md|x64
{24134877-368D-11DB-9FBC-00123FC423B5}.release_static_md|x64.Deploy.0 = release_static_md|x64
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
EndGlobal

917
vendor/POCO/PDF/PDF_vs150.vcxproj vendored Normal file
View File

@ -0,0 +1,917 @@
<?xml version="1.0" encoding="UTF-8"?>
<Project DefaultTargets="Build" ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup Label="ProjectConfigurations">
<ProjectConfiguration Include="debug_shared|Win32">
<Configuration>debug_shared</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="debug_shared|x64">
<Configuration>debug_shared</Configuration>
<Platform>x64</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="debug_static_md|Win32">
<Configuration>debug_static_md</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="debug_static_md|x64">
<Configuration>debug_static_md</Configuration>
<Platform>x64</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="debug_static_mt|Win32">
<Configuration>debug_static_mt</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="debug_static_mt|x64">
<Configuration>debug_static_mt</Configuration>
<Platform>x64</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="release_shared|Win32">
<Configuration>release_shared</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="release_shared|x64">
<Configuration>release_shared</Configuration>
<Platform>x64</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="release_static_md|Win32">
<Configuration>release_static_md</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="release_static_md|x64">
<Configuration>release_static_md</Configuration>
<Platform>x64</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="release_static_mt|Win32">
<Configuration>release_static_mt</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="release_static_mt|x64">
<Configuration>release_static_mt</Configuration>
<Platform>x64</Platform>
</ProjectConfiguration>
</ItemGroup>
<PropertyGroup Label="Globals">
<ProjectName>PDF</ProjectName>
<ProjectGuid>{E12E5C71-79A4-495A-848F-F1710111E610}</ProjectGuid>
<RootNamespace>PDF</RootNamespace>
<Keyword>Win32Proj</Keyword>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props"/>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='release_static_md|Win32'" Label="Configuration">
<ConfigurationType>StaticLibrary</ConfigurationType>
<CharacterSet>MultiByte</CharacterSet>
<PlatformToolset>v141</PlatformToolset>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='debug_static_md|Win32'" Label="Configuration">
<ConfigurationType>StaticLibrary</ConfigurationType>
<CharacterSet>MultiByte</CharacterSet>
<PlatformToolset>v141</PlatformToolset>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='release_static_mt|Win32'" Label="Configuration">
<ConfigurationType>StaticLibrary</ConfigurationType>
<CharacterSet>MultiByte</CharacterSet>
<PlatformToolset>v141</PlatformToolset>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='debug_static_mt|Win32'" Label="Configuration">
<ConfigurationType>StaticLibrary</ConfigurationType>
<CharacterSet>MultiByte</CharacterSet>
<PlatformToolset>v141</PlatformToolset>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='release_shared|Win32'" Label="Configuration">
<ConfigurationType>DynamicLibrary</ConfigurationType>
<CharacterSet>MultiByte</CharacterSet>
<PlatformToolset>v141</PlatformToolset>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='debug_shared|Win32'" Label="Configuration">
<ConfigurationType>DynamicLibrary</ConfigurationType>
<CharacterSet>MultiByte</CharacterSet>
<PlatformToolset>v141</PlatformToolset>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='release_static_md|x64'" Label="Configuration">
<ConfigurationType>StaticLibrary</ConfigurationType>
<CharacterSet>MultiByte</CharacterSet>
<PlatformToolset>v141</PlatformToolset>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='debug_static_md|x64'" Label="Configuration">
<ConfigurationType>StaticLibrary</ConfigurationType>
<CharacterSet>MultiByte</CharacterSet>
<PlatformToolset>v141</PlatformToolset>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='release_static_mt|x64'" Label="Configuration">
<ConfigurationType>StaticLibrary</ConfigurationType>
<CharacterSet>MultiByte</CharacterSet>
<PlatformToolset>v141</PlatformToolset>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='debug_static_mt|x64'" Label="Configuration">
<ConfigurationType>StaticLibrary</ConfigurationType>
<CharacterSet>MultiByte</CharacterSet>
<PlatformToolset>v141</PlatformToolset>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='release_shared|x64'" Label="Configuration">
<ConfigurationType>DynamicLibrary</ConfigurationType>
<CharacterSet>MultiByte</CharacterSet>
<PlatformToolset>v141</PlatformToolset>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='debug_shared|x64'" Label="Configuration">
<ConfigurationType>DynamicLibrary</ConfigurationType>
<CharacterSet>MultiByte</CharacterSet>
<PlatformToolset>v141</PlatformToolset>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props"/>
<ImportGroup Label="ExtensionSettings"/>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='release_static_md|Win32'" Label="PropertySheets">
<Import Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props"/>
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='debug_static_md|Win32'" Label="PropertySheets">
<Import Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props"/>
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='release_static_mt|Win32'" Label="PropertySheets">
<Import Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props"/>
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='debug_static_mt|Win32'" Label="PropertySheets">
<Import Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props"/>
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='release_shared|Win32'" Label="PropertySheets">
<Import Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props"/>
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='debug_shared|Win32'" Label="PropertySheets">
<Import Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props"/>
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='release_static_md|x64'" Label="PropertySheets">
<Import Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props"/>
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='debug_static_md|x64'" Label="PropertySheets">
<Import Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props"/>
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='release_static_mt|x64'" Label="PropertySheets">
<Import Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props"/>
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='debug_static_mt|x64'" Label="PropertySheets">
<Import Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props"/>
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='release_shared|x64'" Label="PropertySheets">
<Import Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props"/>
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='debug_shared|x64'" Label="PropertySheets">
<Import Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props"/>
</ImportGroup>
<PropertyGroup Label="UserMacros"/>
<PropertyGroup>
<_ProjectFileVersion>15.0.28307.799</_ProjectFileVersion>
<TargetName Condition="'$(Configuration)|$(Platform)'=='debug_shared|Win32'">PocoPDFd</TargetName>
<TargetName Condition="'$(Configuration)|$(Platform)'=='debug_static_md|Win32'">PocoPDFmdd</TargetName>
<TargetName Condition="'$(Configuration)|$(Platform)'=='debug_static_mt|Win32'">PocoPDFmtd</TargetName>
<TargetName Condition="'$(Configuration)|$(Platform)'=='release_shared|Win32'">PocoPDF</TargetName>
<TargetName Condition="'$(Configuration)|$(Platform)'=='release_static_md|Win32'">PocoPDFmd</TargetName>
<TargetName Condition="'$(Configuration)|$(Platform)'=='release_static_mt|Win32'">PocoPDFmt</TargetName>
<TargetName Condition="'$(Configuration)|$(Platform)'=='debug_shared|x64'">PocoPDF64d</TargetName>
<TargetName Condition="'$(Configuration)|$(Platform)'=='debug_static_md|x64'">PocoPDFmdd</TargetName>
<TargetName Condition="'$(Configuration)|$(Platform)'=='debug_static_mt|x64'">PocoPDFmtd</TargetName>
<TargetName Condition="'$(Configuration)|$(Platform)'=='release_shared|x64'">PocoPDF64</TargetName>
<TargetName Condition="'$(Configuration)|$(Platform)'=='release_static_md|x64'">PocoPDFmd</TargetName>
<TargetName Condition="'$(Configuration)|$(Platform)'=='release_static_mt|x64'">PocoPDFmt</TargetName>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='debug_shared|Win32'">
<OutDir>..\bin\</OutDir>
<IntDir>obj\PDF\$(Configuration)\</IntDir>
<LinkIncremental>true</LinkIncremental>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='release_shared|Win32'">
<OutDir>..\bin\</OutDir>
<IntDir>obj\PDF\$(Configuration)\</IntDir>
<LinkIncremental>false</LinkIncremental>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='debug_static_mt|Win32'">
<OutDir>..\lib\</OutDir>
<IntDir>obj\PDF\$(Configuration)\</IntDir>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='release_static_mt|Win32'">
<OutDir>..\lib\</OutDir>
<IntDir>obj\PDF\$(Configuration)\</IntDir>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='debug_static_md|Win32'">
<OutDir>..\lib\</OutDir>
<IntDir>obj\PDF\$(Configuration)\</IntDir>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='release_static_md|Win32'">
<OutDir>..\lib\</OutDir>
<IntDir>obj\PDF\$(Configuration)\</IntDir>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='debug_shared|x64'">
<OutDir>..\bin64\</OutDir>
<IntDir>obj64\PDF\$(Configuration)\</IntDir>
<LinkIncremental>true</LinkIncremental>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='release_shared|x64'">
<OutDir>..\bin64\</OutDir>
<IntDir>obj64\PDF\$(Configuration)\</IntDir>
<LinkIncremental>false</LinkIncremental>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='debug_static_mt|x64'">
<OutDir>..\lib64\</OutDir>
<IntDir>obj64\PDF\$(Configuration)\</IntDir>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='release_static_mt|x64'">
<OutDir>..\lib64\</OutDir>
<IntDir>obj64\PDF\$(Configuration)\</IntDir>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='debug_static_md|x64'">
<OutDir>..\lib64\</OutDir>
<IntDir>obj64\PDF\$(Configuration)\</IntDir>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='release_static_md|x64'">
<OutDir>..\lib64\</OutDir>
<IntDir>obj64\PDF\$(Configuration)\</IntDir>
</PropertyGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='debug_shared|Win32'">
<ClCompile>
<Optimization>Disabled</Optimization>
<AdditionalIncludeDirectories>.\include;.\include\Poco\PDF;..\Foundation\include;..\XML\include;..\Util\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<PreprocessorDefinitions>WIN32;_DEBUG;_WINDOWS;_USRDLL;_CRT_SECURE_NO_WARNINGS;PDF_EXPORTS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<StringPooling>true</StringPooling>
<BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
<RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
<BufferSecurityCheck>true</BufferSecurityCheck>
<TreatWChar_tAsBuiltInType>true</TreatWChar_tAsBuiltInType>
<ForceConformanceInForLoopScope>true</ForceConformanceInForLoopScope>
<RuntimeTypeInfo>true</RuntimeTypeInfo>
<PrecompiledHeader/>
<WarningLevel>Level3</WarningLevel>
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
<CompileAs>Default</CompileAs>
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<Link>
<OutputFile>..\bin\PocoPDFd.dll</OutputFile>
<SuppressStartupBanner>true</SuppressStartupBanner>
<GenerateDebugInformation>true</GenerateDebugInformation>
<ProgramDatabaseFile>..\bin\PocoPDFd.pdb</ProgramDatabaseFile>
<AdditionalLibraryDirectories>..\lib;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
<SubSystem>Console</SubSystem>
<ImportLibrary>..\lib\PocoPDFd.lib</ImportLibrary>
<TargetMachine>MachineX86</TargetMachine>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='release_shared|Win32'">
<ClCompile>
<Optimization>MaxSpeed</Optimization>
<InlineFunctionExpansion>OnlyExplicitInline</InlineFunctionExpansion>
<IntrinsicFunctions>true</IntrinsicFunctions>
<FavorSizeOrSpeed>Speed</FavorSizeOrSpeed>
<OmitFramePointers>true</OmitFramePointers>
<AdditionalIncludeDirectories>.\include;.\include\Poco\PDF;..\Foundation\include;..\XML\include;..\Util\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;_USRDLL;_CRT_SECURE_NO_WARNINGS;PDF_EXPORTS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<StringPooling>true</StringPooling>
<RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
<BufferSecurityCheck>false</BufferSecurityCheck>
<TreatWChar_tAsBuiltInType>true</TreatWChar_tAsBuiltInType>
<ForceConformanceInForLoopScope>true</ForceConformanceInForLoopScope>
<RuntimeTypeInfo>true</RuntimeTypeInfo>
<PrecompiledHeader/>
<WarningLevel>Level3</WarningLevel>
<DebugInformationFormat/>
<CompileAs>Default</CompileAs>
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<Link>
<OutputFile>..\bin\PocoPDF.dll</OutputFile>
<SuppressStartupBanner>true</SuppressStartupBanner>
<GenerateDebugInformation>false</GenerateDebugInformation>
<AdditionalLibraryDirectories>..\lib;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
<SubSystem>Console</SubSystem>
<OptimizeReferences>true</OptimizeReferences>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<ImportLibrary>..\lib\PocoPDF.lib</ImportLibrary>
<TargetMachine>MachineX86</TargetMachine>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='debug_static_mt|Win32'">
<ClCompile>
<Optimization>Disabled</Optimization>
<AdditionalIncludeDirectories>.\include;.\include\Poco\PDF;..\Foundation\include;..\XML\include;..\Util\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<PreprocessorDefinitions>WIN32;_DEBUG;_WINDOWS;POCO_STATIC;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<StringPooling>true</StringPooling>
<BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
<RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
<BufferSecurityCheck>true</BufferSecurityCheck>
<TreatWChar_tAsBuiltInType>true</TreatWChar_tAsBuiltInType>
<ForceConformanceInForLoopScope>true</ForceConformanceInForLoopScope>
<RuntimeTypeInfo>true</RuntimeTypeInfo>
<PrecompiledHeader/>
<ProgramDataBaseFileName>..\lib\PocoPDFmtd.pdb</ProgramDataBaseFileName>
<WarningLevel>Level3</WarningLevel>
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
<CompileAs>Default</CompileAs>
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<Lib>
<OutputFile>..\lib\PocoPDFmtd.lib</OutputFile>
</Lib>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='release_static_mt|Win32'">
<ClCompile>
<Optimization>MaxSpeed</Optimization>
<InlineFunctionExpansion>OnlyExplicitInline</InlineFunctionExpansion>
<IntrinsicFunctions>true</IntrinsicFunctions>
<FavorSizeOrSpeed>Speed</FavorSizeOrSpeed>
<OmitFramePointers>true</OmitFramePointers>
<AdditionalIncludeDirectories>.\include;.\include\Poco\PDF;..\Foundation\include;..\XML\include;..\Util\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;POCO_STATIC;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<StringPooling>true</StringPooling>
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
<BufferSecurityCheck>false</BufferSecurityCheck>
<TreatWChar_tAsBuiltInType>true</TreatWChar_tAsBuiltInType>
<ForceConformanceInForLoopScope>true</ForceConformanceInForLoopScope>
<RuntimeTypeInfo>true</RuntimeTypeInfo>
<PrecompiledHeader/>
<WarningLevel>Level3</WarningLevel>
<DebugInformationFormat/>
<CompileAs>Default</CompileAs>
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<Lib>
<OutputFile>..\lib\PocoPDFmt.lib</OutputFile>
</Lib>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='debug_static_md|Win32'">
<ClCompile>
<Optimization>Disabled</Optimization>
<AdditionalIncludeDirectories>.\include;.\include\Poco\PDF;..\Foundation\include;..\XML\include;..\Util\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<PreprocessorDefinitions>WIN32;_DEBUG;_WINDOWS;POCO_STATIC;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<StringPooling>true</StringPooling>
<BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
<RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
<BufferSecurityCheck>true</BufferSecurityCheck>
<TreatWChar_tAsBuiltInType>true</TreatWChar_tAsBuiltInType>
<ForceConformanceInForLoopScope>true</ForceConformanceInForLoopScope>
<RuntimeTypeInfo>true</RuntimeTypeInfo>
<PrecompiledHeader/>
<ProgramDataBaseFileName>..\lib\PocoPDFmdd.pdb</ProgramDataBaseFileName>
<WarningLevel>Level3</WarningLevel>
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
<CompileAs>Default</CompileAs>
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<Lib>
<OutputFile>..\lib\PocoPDFmdd.lib</OutputFile>
</Lib>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='release_static_md|Win32'">
<ClCompile>
<Optimization>MaxSpeed</Optimization>
<InlineFunctionExpansion>OnlyExplicitInline</InlineFunctionExpansion>
<IntrinsicFunctions>true</IntrinsicFunctions>
<FavorSizeOrSpeed>Speed</FavorSizeOrSpeed>
<OmitFramePointers>true</OmitFramePointers>
<AdditionalIncludeDirectories>.\include;.\include\Poco\PDF;..\Foundation\include;..\XML\include;..\Util\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;POCO_STATIC;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<StringPooling>true</StringPooling>
<RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
<BufferSecurityCheck>false</BufferSecurityCheck>
<TreatWChar_tAsBuiltInType>true</TreatWChar_tAsBuiltInType>
<ForceConformanceInForLoopScope>true</ForceConformanceInForLoopScope>
<RuntimeTypeInfo>true</RuntimeTypeInfo>
<PrecompiledHeader/>
<ProgramDataBaseFileName>..\lib\PocoPDFmd.pdb</ProgramDataBaseFileName>
<WarningLevel>Level3</WarningLevel>
<DebugInformationFormat/>
<CompileAs>Default</CompileAs>
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<Lib>
<OutputFile>..\lib\PocoPDFmd.lib</OutputFile>
</Lib>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='debug_shared|x64'">
<ClCompile>
<Optimization>Disabled</Optimization>
<AdditionalIncludeDirectories>.\include;.\include\Poco\PDF;..\Foundation\include;..\XML\include;..\Util\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<PreprocessorDefinitions>WIN32;_DEBUG;_WINDOWS;_USRDLL;_CRT_SECURE_NO_WARNINGS;PDF_EXPORTS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<StringPooling>true</StringPooling>
<BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
<RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
<BufferSecurityCheck>true</BufferSecurityCheck>
<TreatWChar_tAsBuiltInType>true</TreatWChar_tAsBuiltInType>
<ForceConformanceInForLoopScope>true</ForceConformanceInForLoopScope>
<RuntimeTypeInfo>true</RuntimeTypeInfo>
<PrecompiledHeader/>
<WarningLevel>Level3</WarningLevel>
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
<CompileAs>Default</CompileAs>
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<Link>
<OutputFile>..\bin64\PocoPDF64d.dll</OutputFile>
<SuppressStartupBanner>true</SuppressStartupBanner>
<GenerateDebugInformation>true</GenerateDebugInformation>
<ProgramDatabaseFile>..\bin64\PocoPDF64d.pdb</ProgramDatabaseFile>
<AdditionalLibraryDirectories>..\lib64;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
<SubSystem>Console</SubSystem>
<ImportLibrary>..\lib64\PocoPDFd.lib</ImportLibrary>
<TargetMachine>MachineX64</TargetMachine>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='release_shared|x64'">
<ClCompile>
<Optimization>MaxSpeed</Optimization>
<InlineFunctionExpansion>OnlyExplicitInline</InlineFunctionExpansion>
<IntrinsicFunctions>true</IntrinsicFunctions>
<FavorSizeOrSpeed>Speed</FavorSizeOrSpeed>
<OmitFramePointers>true</OmitFramePointers>
<AdditionalIncludeDirectories>.\include;.\include\Poco\PDF;..\Foundation\include;..\XML\include;..\Util\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;_USRDLL;_CRT_SECURE_NO_WARNINGS;PDF_EXPORTS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<StringPooling>true</StringPooling>
<RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
<BufferSecurityCheck>false</BufferSecurityCheck>
<TreatWChar_tAsBuiltInType>true</TreatWChar_tAsBuiltInType>
<ForceConformanceInForLoopScope>true</ForceConformanceInForLoopScope>
<RuntimeTypeInfo>true</RuntimeTypeInfo>
<PrecompiledHeader/>
<WarningLevel>Level3</WarningLevel>
<DebugInformationFormat/>
<CompileAs>Default</CompileAs>
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<Link>
<OutputFile>..\bin64\PocoPDF64.dll</OutputFile>
<SuppressStartupBanner>true</SuppressStartupBanner>
<GenerateDebugInformation>false</GenerateDebugInformation>
<AdditionalLibraryDirectories>..\lib64;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
<SubSystem>Console</SubSystem>
<OptimizeReferences>true</OptimizeReferences>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<ImportLibrary>..\lib64\PocoPDF.lib</ImportLibrary>
<TargetMachine>MachineX64</TargetMachine>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='debug_static_mt|x64'">
<ClCompile>
<Optimization>Disabled</Optimization>
<AdditionalIncludeDirectories>.\include;.\include\Poco\PDF;..\Foundation\include;..\XML\include;..\Util\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<PreprocessorDefinitions>WIN32;_DEBUG;_WINDOWS;POCO_STATIC;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<StringPooling>true</StringPooling>
<BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
<RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
<BufferSecurityCheck>true</BufferSecurityCheck>
<TreatWChar_tAsBuiltInType>true</TreatWChar_tAsBuiltInType>
<ForceConformanceInForLoopScope>true</ForceConformanceInForLoopScope>
<RuntimeTypeInfo>true</RuntimeTypeInfo>
<PrecompiledHeader/>
<ProgramDataBaseFileName>..\lib64\PocoPDFmtd.pdb</ProgramDataBaseFileName>
<WarningLevel>Level3</WarningLevel>
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
<CompileAs>Default</CompileAs>
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<Lib>
<OutputFile>..\lib64\PocoPDFmtd.lib</OutputFile>
</Lib>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='release_static_mt|x64'">
<ClCompile>
<Optimization>MaxSpeed</Optimization>
<InlineFunctionExpansion>OnlyExplicitInline</InlineFunctionExpansion>
<IntrinsicFunctions>true</IntrinsicFunctions>
<FavorSizeOrSpeed>Speed</FavorSizeOrSpeed>
<OmitFramePointers>true</OmitFramePointers>
<AdditionalIncludeDirectories>.\include;.\include\Poco\PDF;..\Foundation\include;..\XML\include;..\Util\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;POCO_STATIC;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<StringPooling>true</StringPooling>
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
<BufferSecurityCheck>false</BufferSecurityCheck>
<TreatWChar_tAsBuiltInType>true</TreatWChar_tAsBuiltInType>
<ForceConformanceInForLoopScope>true</ForceConformanceInForLoopScope>
<RuntimeTypeInfo>true</RuntimeTypeInfo>
<PrecompiledHeader/>
<WarningLevel>Level3</WarningLevel>
<DebugInformationFormat/>
<CompileAs>Default</CompileAs>
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<Lib>
<OutputFile>..\lib64\PocoPDFmt.lib</OutputFile>
</Lib>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='debug_static_md|x64'">
<ClCompile>
<Optimization>Disabled</Optimization>
<AdditionalIncludeDirectories>.\include;.\include\Poco\PDF;..\Foundation\include;..\XML\include;..\Util\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<PreprocessorDefinitions>WIN32;_DEBUG;_WINDOWS;POCO_STATIC;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<StringPooling>true</StringPooling>
<BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
<RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
<BufferSecurityCheck>true</BufferSecurityCheck>
<TreatWChar_tAsBuiltInType>true</TreatWChar_tAsBuiltInType>
<ForceConformanceInForLoopScope>true</ForceConformanceInForLoopScope>
<RuntimeTypeInfo>true</RuntimeTypeInfo>
<PrecompiledHeader/>
<ProgramDataBaseFileName>..\lib64\PocoPDFmdd.pdb</ProgramDataBaseFileName>
<WarningLevel>Level3</WarningLevel>
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
<CompileAs>Default</CompileAs>
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<Lib>
<OutputFile>..\lib64\PocoPDFmdd.lib</OutputFile>
</Lib>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='release_static_md|x64'">
<ClCompile>
<Optimization>MaxSpeed</Optimization>
<InlineFunctionExpansion>OnlyExplicitInline</InlineFunctionExpansion>
<IntrinsicFunctions>true</IntrinsicFunctions>
<FavorSizeOrSpeed>Speed</FavorSizeOrSpeed>
<OmitFramePointers>true</OmitFramePointers>
<AdditionalIncludeDirectories>.\include;.\include\Poco\PDF;..\Foundation\include;..\XML\include;..\Util\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;POCO_STATIC;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<StringPooling>true</StringPooling>
<RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
<BufferSecurityCheck>false</BufferSecurityCheck>
<TreatWChar_tAsBuiltInType>true</TreatWChar_tAsBuiltInType>
<ForceConformanceInForLoopScope>true</ForceConformanceInForLoopScope>
<RuntimeTypeInfo>true</RuntimeTypeInfo>
<PrecompiledHeader/>
<WarningLevel>Level3</WarningLevel>
<DebugInformationFormat/>
<CompileAs>Default</CompileAs>
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<Lib>
<OutputFile>..\lib64\PocoPDFmd.lib</OutputFile>
</Lib>
</ItemDefinitionGroup>
<ItemGroup>
<ClCompile Include="src\adler32.c">
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<ClCompile Include="src\AttributedString.cpp">
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<ClCompile Include="src\Cell.cpp">
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<ClCompile Include="src\compress.c">
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<ClCompile Include="src\crc32.c">
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<ClCompile Include="src\deflate.c">
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<ClCompile Include="src\Destination.cpp">
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<ClCompile Include="src\Document.cpp">
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<ClCompile Include="src\Encoder.cpp">
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<ClCompile Include="src\Font.cpp">
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<ClCompile Include="src\gzio.c">
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<ClCompile Include="src\hpdf_3dmeasure.c">
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<ClCompile Include="src\hpdf_annotation.c">
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<ClCompile Include="src\hpdf_array.c">
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<ClCompile Include="src\hpdf_binary.c">
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<ClCompile Include="src\hpdf_boolean.c">
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<ClCompile Include="src\hpdf_catalog.c">
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<ClCompile Include="src\hpdf_destination.c">
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<ClCompile Include="src\hpdf_dict.c">
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<ClCompile Include="src\hpdf_doc.c">
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<ClCompile Include="src\hpdf_doc_png.c">
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<ClCompile Include="src\hpdf_encoder.c">
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<ClCompile Include="src\hpdf_encoder_cns.c">
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<ClCompile Include="src\hpdf_encoder_cnt.c">
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<ClCompile Include="src\hpdf_encoder_jp.c">
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<ClCompile Include="src\hpdf_encoder_kr.c">
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<ClCompile Include="src\hpdf_encoder_utf.c">
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<ClCompile Include="src\hpdf_encrypt.c">
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<ClCompile Include="src\hpdf_encryptdict.c">
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<ClCompile Include="src\hpdf_error.c">
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<ClCompile Include="src\hpdf_exdata.c">
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<ClCompile Include="src\hpdf_ext_gstate.c">
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<ClCompile Include="src\hpdf_font.c">
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<ClCompile Include="src\hpdf_fontdef.c">
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<ClCompile Include="src\hpdf_fontdef_base14.c">
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<ClCompile Include="src\hpdf_fontdef_cid.c">
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<ClCompile Include="src\hpdf_fontdef_cns.c">
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<ClCompile Include="src\hpdf_fontdef_cnt.c">
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<ClCompile Include="src\hpdf_fontdef_jp.c">
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<ClCompile Include="src\hpdf_fontdef_kr.c">
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<ClCompile Include="src\hpdf_fontdef_tt.c">
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<ClCompile Include="src\hpdf_fontdef_type1.c">
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<ClCompile Include="src\hpdf_font_cid.c">
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<ClCompile Include="src\hpdf_font_tt.c">
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<ClCompile Include="src\hpdf_font_type1.c">
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<ClCompile Include="src\hpdf_gstate.c">
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<ClCompile Include="src\hpdf_image.c">
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<ClCompile Include="src\hpdf_image_ccitt.c">
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<ClCompile Include="src\hpdf_image_png.c">
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<ClCompile Include="src\hpdf_info.c">
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<ClCompile Include="src\hpdf_list.c">
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<ClCompile Include="src\hpdf_mmgr.c">
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<ClCompile Include="src\hpdf_name.c">
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<ClCompile Include="src\hpdf_namedict.c">
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<ClCompile Include="src\hpdf_null.c">
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<ClCompile Include="src\hpdf_number.c">
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<ClCompile Include="src\hpdf_objects.c">
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<ClCompile Include="src\hpdf_outline.c">
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<ClCompile Include="src\hpdf_pages.c">
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<ClCompile Include="src\hpdf_page_label.c">
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<ClCompile Include="src\hpdf_page_operator.c">
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<ClCompile Include="src\hpdf_pdfa.c">
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<ClCompile Include="src\hpdf_real.c">
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<ClCompile Include="src\hpdf_streams.c">
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<ClCompile Include="src\hpdf_string.c">
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<ClCompile Include="src\hpdf_u3d.c">
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<ClCompile Include="src\hpdf_utils.c">
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<ClCompile Include="src\hpdf_xref.c">
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<ClCompile Include="src\Image.cpp">
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<ClCompile Include="src\infback.c">
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<ClCompile Include="src\inffast.c">
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<ClCompile Include="src\inflate.c">
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<ClCompile Include="src\inftrees.c">
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<ClCompile Include="src\LinkAnnotation.cpp">
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<ClCompile Include="src\Outline.cpp">
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<ClCompile Include="src\Page.cpp">
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<ClCompile Include="src\PDFException.cpp">
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<ClCompile Include="src\png.c">
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<ClCompile Include="src\pngerror.c">
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<ClCompile Include="src\pnggccrd.c">
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<ClCompile Include="src\pngget.c">
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<ClCompile Include="src\pngmem.c">
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<ClCompile Include="src\pngpread.c">
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<ClCompile Include="src\pngread.c">
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<ClCompile Include="src\pngrio.c">
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<ClCompile Include="src\pngrtran.c">
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<ClCompile Include="src\pngrutil.c">
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<ClCompile Include="src\pngset.c">
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<ClCompile Include="src\pngtest.c">
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<ClCompile Include="src\pngtrans.c">
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<ClCompile Include="src\pngvcrd.c">
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<ClCompile Include="src\pngwio.c">
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<ClCompile Include="src\pngwrite.c">
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<ClCompile Include="src\pngwtran.c">
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<ClCompile Include="src\pngwutil.c">
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<ClCompile Include="src\Table.cpp">
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<ClCompile Include="src\TextAnnotation.cpp">
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<ClCompile Include="src\trees.c">
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<ClCompile Include="src\XMLTemplate.cpp">
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<ClCompile Include="src\zutil.c">
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
</ItemGroup>
<ItemGroup>
<ClInclude Include="include\Poco\PDF\crc32.h"/>
<ClInclude Include="include\Poco\PDF\deflate.h"/>
<ClInclude Include="include\Poco\PDF\Destination.h"/>
<ClInclude Include="include\Poco\PDF\Document.h"/>
<ClInclude Include="include\Poco\PDF\Encoder.h"/>
<ClInclude Include="include\Poco\PDF\Font.h"/>
<ClInclude Include="include\Poco\PDF\hpdf.h"/>
<ClInclude Include="include\Poco\PDF\hpdf_3dmeasure.h"/>
<ClInclude Include="include\Poco\PDF\hpdf_annotation.h"/>
<ClInclude Include="include\Poco\PDF\hpdf_catalog.h"/>
<ClInclude Include="include\Poco\PDF\hpdf_conf.h"/>
<ClInclude Include="include\Poco\PDF\hpdf_consts.h"/>
<ClInclude Include="include\Poco\PDF\hpdf_destination.h"/>
<ClInclude Include="include\Poco\PDF\hpdf_doc.h"/>
<ClInclude Include="include\Poco\PDF\hpdf_encoder.h"/>
<ClInclude Include="include\Poco\PDF\hpdf_encrypt.h"/>
<ClInclude Include="include\Poco\PDF\hpdf_encryptdict.h"/>
<ClInclude Include="include\Poco\PDF\hpdf_error.h"/>
<ClInclude Include="include\Poco\PDF\hpdf_exdata.h"/>
<ClInclude Include="include\Poco\PDF\hpdf_ext_gstate.h"/>
<ClInclude Include="include\Poco\PDF\hpdf_font.h"/>
<ClInclude Include="include\Poco\PDF\hpdf_fontdef.h"/>
<ClInclude Include="include\Poco\PDF\hpdf_gstate.h"/>
<ClInclude Include="include\Poco\PDF\hpdf_image.h"/>
<ClInclude Include="include\Poco\PDF\hpdf_info.h"/>
<ClInclude Include="include\Poco\PDF\hpdf_list.h"/>
<ClInclude Include="include\Poco\PDF\hpdf_mmgr.h"/>
<ClInclude Include="include\Poco\PDF\hpdf_namedict.h"/>
<ClInclude Include="include\Poco\PDF\hpdf_objects.h"/>
<ClInclude Include="include\Poco\PDF\hpdf_outline.h"/>
<ClInclude Include="include\Poco\PDF\hpdf_pages.h"/>
<ClInclude Include="include\Poco\PDF\hpdf_page_label.h"/>
<ClInclude Include="include\Poco\PDF\hpdf_pdfa.h"/>
<ClInclude Include="include\Poco\PDF\hpdf_streams.h"/>
<ClInclude Include="include\Poco\PDF\hpdf_types.h"/>
<ClInclude Include="include\Poco\PDF\hpdf_u3d.h"/>
<ClInclude Include="include\Poco\PDF\hpdf_utils.h"/>
<ClInclude Include="include\Poco\PDF\hpdf_version.h"/>
<ClInclude Include="include\Poco\PDF\Image.h"/>
<ClInclude Include="include\Poco\PDF\inffast.h"/>
<ClInclude Include="include\Poco\PDF\inffixed.h"/>
<ClInclude Include="include\Poco\PDF\inflate.h"/>
<ClInclude Include="include\Poco\PDF\inftrees.h"/>
<ClInclude Include="include\Poco\PDF\LinkAnnotation.h"/>
<ClInclude Include="include\Poco\PDF\Outline.h"/>
<ClInclude Include="include\Poco\PDF\Page.h"/>
<ClInclude Include="include\Poco\PDF\PDF.h"/>
<ClInclude Include="include\Poco\PDF\PDFException.h"/>
<ClInclude Include="include\Poco\PDF\png.h"/>
<ClInclude Include="include\Poco\PDF\pngconf.h"/>
<ClInclude Include="include\Poco\PDF\Resource.h"/>
<ClInclude Include="include\Poco\PDF\TextAnnotation.h"/>
<ClInclude Include="include\Poco\PDF\trees.h"/>
<ClInclude Include="include\Poco\PDF\zconf.h"/>
<ClInclude Include="include\Poco\PDF\zlib.h"/>
<ClInclude Include="include\Poco\PDF\zutil.h"/>
</ItemGroup>
<ItemGroup>
<ResourceCompile Include="..\DLLVersion.rc">
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='debug_static_md|Win32'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='debug_static_md|x64'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='debug_static_mt|Win32'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='debug_static_mt|x64'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='release_static_md|Win32'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='release_static_md|x64'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='release_static_mt|Win32'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='release_static_mt|x64'">true</ExcludedFromBuild>
</ResourceCompile>
</ItemGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets"/>
<ImportGroup Label="ExtensionTargets"/>
</Project>

View File

@ -0,0 +1,516 @@
<?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>{7a2e6f73-4644-449a-92ae-108edbbad75a}</UniqueIdentifier>
</Filter>
<Filter Include="Header Files">
<UniqueIdentifier>{a79f6ea6-1afe-4da7-ad10-c2ccdbfe2491}</UniqueIdentifier>
</Filter>
<Filter Include="3rd Party">
<UniqueIdentifier>{8c5331c6-9b7e-4d52-b8fa-6a3b0216909c}</UniqueIdentifier>
</Filter>
<Filter Include="3rd Party\PNG">
<UniqueIdentifier>{77826969-ef40-4159-b9b7-4935be9107a2}</UniqueIdentifier>
</Filter>
<Filter Include="3rd Party\PNG\Header Files">
<UniqueIdentifier>{f0004b45-f9e5-451b-951e-0253b232ea13}</UniqueIdentifier>
</Filter>
<Filter Include="3rd Party\PNG\Source Files">
<UniqueIdentifier>{9fec58aa-a442-489f-ac25-cfe8b20a2189}</UniqueIdentifier>
</Filter>
<Filter Include="3rd Party\zlib">
<UniqueIdentifier>{41717449-9068-49a4-8508-b642ef3e3124}</UniqueIdentifier>
</Filter>
<Filter Include="3rd Party\zlib\Header Files">
<UniqueIdentifier>{c1c20fc6-7576-4221-bcb7-6c54beadbc13}</UniqueIdentifier>
</Filter>
<Filter Include="3rd Party\zlib\Source Files">
<UniqueIdentifier>{a985aff1-0749-47ce-afbd-d886c1a8c5b7}</UniqueIdentifier>
</Filter>
<Filter Include="3rd Party\HARU">
<UniqueIdentifier>{3f67ac71-2d53-4b98-b30e-1f94ace7c976}</UniqueIdentifier>
</Filter>
<Filter Include="3rd Party\HARU\Source Files">
<UniqueIdentifier>{c8587ac4-8817-460c-a06b-96421541360d}</UniqueIdentifier>
</Filter>
<Filter Include="3rd Party\HARU\Header Files">
<UniqueIdentifier>{f60c93a8-7514-48d1-b9c6-ee58fbc093c1}</UniqueIdentifier>
</Filter>
</ItemGroup>
<ItemGroup>
<ClCompile Include="src\AttributedString.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="src\Cell.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="src\Destination.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="src\Document.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="src\Encoder.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="src\Font.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="src\Image.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="src\LinkAnnotation.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="src\Outline.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="src\Page.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="src\PDFException.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="src\Table.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="src\TextAnnotation.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="src\XMLTemplate.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="src\png.c">
<Filter>3rd Party\PNG\Source Files</Filter>
</ClCompile>
<ClCompile Include="src\pngerror.c">
<Filter>3rd Party\PNG\Source Files</Filter>
</ClCompile>
<ClCompile Include="src\pnggccrd.c">
<Filter>3rd Party\PNG\Source Files</Filter>
</ClCompile>
<ClCompile Include="src\pngget.c">
<Filter>3rd Party\PNG\Source Files</Filter>
</ClCompile>
<ClCompile Include="src\pngmem.c">
<Filter>3rd Party\PNG\Source Files</Filter>
</ClCompile>
<ClCompile Include="src\pngpread.c">
<Filter>3rd Party\PNG\Source Files</Filter>
</ClCompile>
<ClCompile Include="src\pngread.c">
<Filter>3rd Party\PNG\Source Files</Filter>
</ClCompile>
<ClCompile Include="src\pngrio.c">
<Filter>3rd Party\PNG\Source Files</Filter>
</ClCompile>
<ClCompile Include="src\pngrtran.c">
<Filter>3rd Party\PNG\Source Files</Filter>
</ClCompile>
<ClCompile Include="src\pngrutil.c">
<Filter>3rd Party\PNG\Source Files</Filter>
</ClCompile>
<ClCompile Include="src\pngset.c">
<Filter>3rd Party\PNG\Source Files</Filter>
</ClCompile>
<ClCompile Include="src\pngtest.c">
<Filter>3rd Party\PNG\Source Files</Filter>
</ClCompile>
<ClCompile Include="src\pngtrans.c">
<Filter>3rd Party\PNG\Source Files</Filter>
</ClCompile>
<ClCompile Include="src\pngvcrd.c">
<Filter>3rd Party\PNG\Source Files</Filter>
</ClCompile>
<ClCompile Include="src\pngwio.c">
<Filter>3rd Party\PNG\Source Files</Filter>
</ClCompile>
<ClCompile Include="src\pngwrite.c">
<Filter>3rd Party\PNG\Source Files</Filter>
</ClCompile>
<ClCompile Include="src\pngwtran.c">
<Filter>3rd Party\PNG\Source Files</Filter>
</ClCompile>
<ClCompile Include="src\pngwutil.c">
<Filter>3rd Party\PNG\Source Files</Filter>
</ClCompile>
<ClCompile Include="src\adler32.c">
<Filter>3rd Party\zlib\Source Files</Filter>
</ClCompile>
<ClCompile Include="src\compress.c">
<Filter>3rd Party\zlib\Source Files</Filter>
</ClCompile>
<ClCompile Include="src\crc32.c">
<Filter>3rd Party\zlib\Source Files</Filter>
</ClCompile>
<ClCompile Include="src\deflate.c">
<Filter>3rd Party\zlib\Source Files</Filter>
</ClCompile>
<ClCompile Include="src\gzio.c">
<Filter>3rd Party\zlib\Source Files</Filter>
</ClCompile>
<ClCompile Include="src\infback.c">
<Filter>3rd Party\zlib\Source Files</Filter>
</ClCompile>
<ClCompile Include="src\inffast.c">
<Filter>3rd Party\zlib\Source Files</Filter>
</ClCompile>
<ClCompile Include="src\inflate.c">
<Filter>3rd Party\zlib\Source Files</Filter>
</ClCompile>
<ClCompile Include="src\inftrees.c">
<Filter>3rd Party\zlib\Source Files</Filter>
</ClCompile>
<ClCompile Include="src\trees.c">
<Filter>3rd Party\zlib\Source Files</Filter>
</ClCompile>
<ClCompile Include="src\zutil.c">
<Filter>3rd Party\zlib\Source Files</Filter>
</ClCompile>
<ClCompile Include="src\hpdf_3dmeasure.c">
<Filter>3rd Party\HARU\Source Files</Filter>
</ClCompile>
<ClCompile Include="src\hpdf_annotation.c">
<Filter>3rd Party\HARU\Source Files</Filter>
</ClCompile>
<ClCompile Include="src\hpdf_array.c">
<Filter>3rd Party\HARU\Source Files</Filter>
</ClCompile>
<ClCompile Include="src\hpdf_binary.c">
<Filter>3rd Party\HARU\Source Files</Filter>
</ClCompile>
<ClCompile Include="src\hpdf_boolean.c">
<Filter>3rd Party\HARU\Source Files</Filter>
</ClCompile>
<ClCompile Include="src\hpdf_catalog.c">
<Filter>3rd Party\HARU\Source Files</Filter>
</ClCompile>
<ClCompile Include="src\hpdf_destination.c">
<Filter>3rd Party\HARU\Source Files</Filter>
</ClCompile>
<ClCompile Include="src\hpdf_dict.c">
<Filter>3rd Party\HARU\Source Files</Filter>
</ClCompile>
<ClCompile Include="src\hpdf_doc.c">
<Filter>3rd Party\HARU\Source Files</Filter>
</ClCompile>
<ClCompile Include="src\hpdf_doc_png.c">
<Filter>3rd Party\HARU\Source Files</Filter>
</ClCompile>
<ClCompile Include="src\hpdf_encoder.c">
<Filter>3rd Party\HARU\Source Files</Filter>
</ClCompile>
<ClCompile Include="src\hpdf_encoder_cns.c">
<Filter>3rd Party\HARU\Source Files</Filter>
</ClCompile>
<ClCompile Include="src\hpdf_encoder_cnt.c">
<Filter>3rd Party\HARU\Source Files</Filter>
</ClCompile>
<ClCompile Include="src\hpdf_encoder_jp.c">
<Filter>3rd Party\HARU\Source Files</Filter>
</ClCompile>
<ClCompile Include="src\hpdf_encoder_kr.c">
<Filter>3rd Party\HARU\Source Files</Filter>
</ClCompile>
<ClCompile Include="src\hpdf_encoder_utf.c">
<Filter>3rd Party\HARU\Source Files</Filter>
</ClCompile>
<ClCompile Include="src\hpdf_encrypt.c">
<Filter>3rd Party\HARU\Source Files</Filter>
</ClCompile>
<ClCompile Include="src\hpdf_encryptdict.c">
<Filter>3rd Party\HARU\Source Files</Filter>
</ClCompile>
<ClCompile Include="src\hpdf_error.c">
<Filter>3rd Party\HARU\Source Files</Filter>
</ClCompile>
<ClCompile Include="src\hpdf_exdata.c">
<Filter>3rd Party\HARU\Source Files</Filter>
</ClCompile>
<ClCompile Include="src\hpdf_ext_gstate.c">
<Filter>3rd Party\HARU\Source Files</Filter>
</ClCompile>
<ClCompile Include="src\hpdf_font.c">
<Filter>3rd Party\HARU\Source Files</Filter>
</ClCompile>
<ClCompile Include="src\hpdf_font_cid.c">
<Filter>3rd Party\HARU\Source Files</Filter>
</ClCompile>
<ClCompile Include="src\hpdf_font_tt.c">
<Filter>3rd Party\HARU\Source Files</Filter>
</ClCompile>
<ClCompile Include="src\hpdf_font_type1.c">
<Filter>3rd Party\HARU\Source Files</Filter>
</ClCompile>
<ClCompile Include="src\hpdf_fontdef.c">
<Filter>3rd Party\HARU\Source Files</Filter>
</ClCompile>
<ClCompile Include="src\hpdf_fontdef_base14.c">
<Filter>3rd Party\HARU\Source Files</Filter>
</ClCompile>
<ClCompile Include="src\hpdf_fontdef_cid.c">
<Filter>3rd Party\HARU\Source Files</Filter>
</ClCompile>
<ClCompile Include="src\hpdf_fontdef_cns.c">
<Filter>3rd Party\HARU\Source Files</Filter>
</ClCompile>
<ClCompile Include="src\hpdf_fontdef_cnt.c">
<Filter>3rd Party\HARU\Source Files</Filter>
</ClCompile>
<ClCompile Include="src\hpdf_fontdef_jp.c">
<Filter>3rd Party\HARU\Source Files</Filter>
</ClCompile>
<ClCompile Include="src\hpdf_fontdef_kr.c">
<Filter>3rd Party\HARU\Source Files</Filter>
</ClCompile>
<ClCompile Include="src\hpdf_fontdef_tt.c">
<Filter>3rd Party\HARU\Source Files</Filter>
</ClCompile>
<ClCompile Include="src\hpdf_fontdef_type1.c">
<Filter>3rd Party\HARU\Source Files</Filter>
</ClCompile>
<ClCompile Include="src\hpdf_gstate.c">
<Filter>3rd Party\HARU\Source Files</Filter>
</ClCompile>
<ClCompile Include="src\hpdf_image.c">
<Filter>3rd Party\HARU\Source Files</Filter>
</ClCompile>
<ClCompile Include="src\hpdf_image_ccitt.c">
<Filter>3rd Party\HARU\Source Files</Filter>
</ClCompile>
<ClCompile Include="src\hpdf_image_png.c">
<Filter>3rd Party\HARU\Source Files</Filter>
</ClCompile>
<ClCompile Include="src\hpdf_info.c">
<Filter>3rd Party\HARU\Source Files</Filter>
</ClCompile>
<ClCompile Include="src\hpdf_list.c">
<Filter>3rd Party\HARU\Source Files</Filter>
</ClCompile>
<ClCompile Include="src\hpdf_mmgr.c">
<Filter>3rd Party\HARU\Source Files</Filter>
</ClCompile>
<ClCompile Include="src\hpdf_name.c">
<Filter>3rd Party\HARU\Source Files</Filter>
</ClCompile>
<ClCompile Include="src\hpdf_namedict.c">
<Filter>3rd Party\HARU\Source Files</Filter>
</ClCompile>
<ClCompile Include="src\hpdf_null.c">
<Filter>3rd Party\HARU\Source Files</Filter>
</ClCompile>
<ClCompile Include="src\hpdf_number.c">
<Filter>3rd Party\HARU\Source Files</Filter>
</ClCompile>
<ClCompile Include="src\hpdf_objects.c">
<Filter>3rd Party\HARU\Source Files</Filter>
</ClCompile>
<ClCompile Include="src\hpdf_outline.c">
<Filter>3rd Party\HARU\Source Files</Filter>
</ClCompile>
<ClCompile Include="src\hpdf_page_label.c">
<Filter>3rd Party\HARU\Source Files</Filter>
</ClCompile>
<ClCompile Include="src\hpdf_page_operator.c">
<Filter>3rd Party\HARU\Source Files</Filter>
</ClCompile>
<ClCompile Include="src\hpdf_pages.c">
<Filter>3rd Party\HARU\Source Files</Filter>
</ClCompile>
<ClCompile Include="src\hpdf_pdfa.c">
<Filter>3rd Party\HARU\Source Files</Filter>
</ClCompile>
<ClCompile Include="src\hpdf_real.c">
<Filter>3rd Party\HARU\Source Files</Filter>
</ClCompile>
<ClCompile Include="src\hpdf_streams.c">
<Filter>3rd Party\HARU\Source Files</Filter>
</ClCompile>
<ClCompile Include="src\hpdf_string.c">
<Filter>3rd Party\HARU\Source Files</Filter>
</ClCompile>
<ClCompile Include="src\hpdf_u3d.c">
<Filter>3rd Party\HARU\Source Files</Filter>
</ClCompile>
<ClCompile Include="src\hpdf_utils.c">
<Filter>3rd Party\HARU\Source Files</Filter>
</ClCompile>
<ClCompile Include="src\hpdf_xref.c">
<Filter>3rd Party\HARU\Source Files</Filter>
</ClCompile>
</ItemGroup>
<ItemGroup>
<ClInclude Include="include\Poco\PDF\Destination.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="include\Poco\PDF\Document.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="include\Poco\PDF\Encoder.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="include\Poco\PDF\Font.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="include\Poco\PDF\Image.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="include\Poco\PDF\LinkAnnotation.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="include\Poco\PDF\Outline.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="include\Poco\PDF\Page.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="include\Poco\PDF\PDF.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="include\Poco\PDF\PDFException.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="include\Poco\PDF\Resource.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="include\Poco\PDF\TextAnnotation.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="include\Poco\PDF\png.h">
<Filter>3rd Party\PNG\Header Files</Filter>
</ClInclude>
<ClInclude Include="include\Poco\PDF\pngconf.h">
<Filter>3rd Party\PNG\Header Files</Filter>
</ClInclude>
<ClInclude Include="include\Poco\PDF\crc32.h">
<Filter>3rd Party\zlib\Header Files</Filter>
</ClInclude>
<ClInclude Include="include\Poco\PDF\deflate.h">
<Filter>3rd Party\zlib\Header Files</Filter>
</ClInclude>
<ClInclude Include="include\Poco\PDF\inffast.h">
<Filter>3rd Party\zlib\Header Files</Filter>
</ClInclude>
<ClInclude Include="include\Poco\PDF\inffixed.h">
<Filter>3rd Party\zlib\Header Files</Filter>
</ClInclude>
<ClInclude Include="include\Poco\PDF\inflate.h">
<Filter>3rd Party\zlib\Header Files</Filter>
</ClInclude>
<ClInclude Include="include\Poco\PDF\inftrees.h">
<Filter>3rd Party\zlib\Header Files</Filter>
</ClInclude>
<ClInclude Include="include\Poco\PDF\trees.h">
<Filter>3rd Party\zlib\Header Files</Filter>
</ClInclude>
<ClInclude Include="include\Poco\PDF\zconf.h">
<Filter>3rd Party\zlib\Header Files</Filter>
</ClInclude>
<ClInclude Include="include\Poco\PDF\zlib.h">
<Filter>3rd Party\zlib\Header Files</Filter>
</ClInclude>
<ClInclude Include="include\Poco\PDF\zutil.h">
<Filter>3rd Party\zlib\Header Files</Filter>
</ClInclude>
<ClInclude Include="include\Poco\PDF\hpdf.h">
<Filter>3rd Party\HARU\Header Files</Filter>
</ClInclude>
<ClInclude Include="include\Poco\PDF\hpdf_3dmeasure.h">
<Filter>3rd Party\HARU\Header Files</Filter>
</ClInclude>
<ClInclude Include="include\Poco\PDF\hpdf_annotation.h">
<Filter>3rd Party\HARU\Header Files</Filter>
</ClInclude>
<ClInclude Include="include\Poco\PDF\hpdf_catalog.h">
<Filter>3rd Party\HARU\Header Files</Filter>
</ClInclude>
<ClInclude Include="include\Poco\PDF\hpdf_conf.h">
<Filter>3rd Party\HARU\Header Files</Filter>
</ClInclude>
<ClInclude Include="include\Poco\PDF\hpdf_consts.h">
<Filter>3rd Party\HARU\Header Files</Filter>
</ClInclude>
<ClInclude Include="include\Poco\PDF\hpdf_destination.h">
<Filter>3rd Party\HARU\Header Files</Filter>
</ClInclude>
<ClInclude Include="include\Poco\PDF\hpdf_doc.h">
<Filter>3rd Party\HARU\Header Files</Filter>
</ClInclude>
<ClInclude Include="include\Poco\PDF\hpdf_encoder.h">
<Filter>3rd Party\HARU\Header Files</Filter>
</ClInclude>
<ClInclude Include="include\Poco\PDF\hpdf_encrypt.h">
<Filter>3rd Party\HARU\Header Files</Filter>
</ClInclude>
<ClInclude Include="include\Poco\PDF\hpdf_encryptdict.h">
<Filter>3rd Party\HARU\Header Files</Filter>
</ClInclude>
<ClInclude Include="include\Poco\PDF\hpdf_error.h">
<Filter>3rd Party\HARU\Header Files</Filter>
</ClInclude>
<ClInclude Include="include\Poco\PDF\hpdf_exdata.h">
<Filter>3rd Party\HARU\Header Files</Filter>
</ClInclude>
<ClInclude Include="include\Poco\PDF\hpdf_ext_gstate.h">
<Filter>3rd Party\HARU\Header Files</Filter>
</ClInclude>
<ClInclude Include="include\Poco\PDF\hpdf_font.h">
<Filter>3rd Party\HARU\Header Files</Filter>
</ClInclude>
<ClInclude Include="include\Poco\PDF\hpdf_fontdef.h">
<Filter>3rd Party\HARU\Header Files</Filter>
</ClInclude>
<ClInclude Include="include\Poco\PDF\hpdf_gstate.h">
<Filter>3rd Party\HARU\Header Files</Filter>
</ClInclude>
<ClInclude Include="include\Poco\PDF\hpdf_image.h">
<Filter>3rd Party\HARU\Header Files</Filter>
</ClInclude>
<ClInclude Include="include\Poco\PDF\hpdf_info.h">
<Filter>3rd Party\HARU\Header Files</Filter>
</ClInclude>
<ClInclude Include="include\Poco\PDF\hpdf_list.h">
<Filter>3rd Party\HARU\Header Files</Filter>
</ClInclude>
<ClInclude Include="include\Poco\PDF\hpdf_mmgr.h">
<Filter>3rd Party\HARU\Header Files</Filter>
</ClInclude>
<ClInclude Include="include\Poco\PDF\hpdf_namedict.h">
<Filter>3rd Party\HARU\Header Files</Filter>
</ClInclude>
<ClInclude Include="include\Poco\PDF\hpdf_objects.h">
<Filter>3rd Party\HARU\Header Files</Filter>
</ClInclude>
<ClInclude Include="include\Poco\PDF\hpdf_outline.h">
<Filter>3rd Party\HARU\Header Files</Filter>
</ClInclude>
<ClInclude Include="include\Poco\PDF\hpdf_page_label.h">
<Filter>3rd Party\HARU\Header Files</Filter>
</ClInclude>
<ClInclude Include="include\Poco\PDF\hpdf_pages.h">
<Filter>3rd Party\HARU\Header Files</Filter>
</ClInclude>
<ClInclude Include="include\Poco\PDF\hpdf_pdfa.h">
<Filter>3rd Party\HARU\Header Files</Filter>
</ClInclude>
<ClInclude Include="include\Poco\PDF\hpdf_streams.h">
<Filter>3rd Party\HARU\Header Files</Filter>
</ClInclude>
<ClInclude Include="include\Poco\PDF\hpdf_types.h">
<Filter>3rd Party\HARU\Header Files</Filter>
</ClInclude>
<ClInclude Include="include\Poco\PDF\hpdf_u3d.h">
<Filter>3rd Party\HARU\Header Files</Filter>
</ClInclude>
<ClInclude Include="include\Poco\PDF\hpdf_utils.h">
<Filter>3rd Party\HARU\Header Files</Filter>
</ClInclude>
<ClInclude Include="include\Poco\PDF\hpdf_version.h">
<Filter>3rd Party\HARU\Header Files</Filter>
</ClInclude>
</ItemGroup>
<ItemGroup>
<ResourceCompile Include="..\DLLVersion.rc" />
</ItemGroup>
</Project>

102
vendor/POCO/PDF/PDF_vs160.sln vendored Normal file
View File

@ -0,0 +1,102 @@
Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 16
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "PDF", "PDF_vs160.vcxproj", "{E12E5C71-79A4-495A-848F-F1710111E610}"
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "TestSuite", "testsuite\TestSuite_vs160.vcxproj", "{24134877-368D-11DB-9FBC-00123FC423B5}"
ProjectSection(ProjectDependencies) = postProject
{E12E5C71-79A4-495A-848F-F1710111E610} = {E12E5C71-79A4-495A-848F-F1710111E610}
EndProjectSection
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
debug_shared|Win32 = debug_shared|Win32
release_shared|Win32 = release_shared|Win32
debug_static_mt|Win32 = debug_static_mt|Win32
release_static_mt|Win32 = release_static_mt|Win32
debug_static_md|Win32 = debug_static_md|Win32
release_static_md|Win32 = release_static_md|Win32
debug_shared|x64 = debug_shared|x64
release_shared|x64 = release_shared|x64
debug_static_mt|x64 = debug_static_mt|x64
release_static_mt|x64 = release_static_mt|x64
debug_static_md|x64 = debug_static_md|x64
release_static_md|x64 = release_static_md|x64
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{E12E5C71-79A4-495A-848F-F1710111E610}.debug_shared|Win32.ActiveCfg = debug_shared|Win32
{E12E5C71-79A4-495A-848F-F1710111E610}.debug_shared|Win32.Build.0 = debug_shared|Win32
{E12E5C71-79A4-495A-848F-F1710111E610}.debug_shared|Win32.Deploy.0 = debug_shared|Win32
{E12E5C71-79A4-495A-848F-F1710111E610}.release_shared|Win32.ActiveCfg = release_shared|Win32
{E12E5C71-79A4-495A-848F-F1710111E610}.release_shared|Win32.Build.0 = release_shared|Win32
{E12E5C71-79A4-495A-848F-F1710111E610}.release_shared|Win32.Deploy.0 = release_shared|Win32
{E12E5C71-79A4-495A-848F-F1710111E610}.debug_static_mt|Win32.ActiveCfg = debug_static_mt|Win32
{E12E5C71-79A4-495A-848F-F1710111E610}.debug_static_mt|Win32.Build.0 = debug_static_mt|Win32
{E12E5C71-79A4-495A-848F-F1710111E610}.debug_static_mt|Win32.Deploy.0 = debug_static_mt|Win32
{E12E5C71-79A4-495A-848F-F1710111E610}.release_static_mt|Win32.ActiveCfg = release_static_mt|Win32
{E12E5C71-79A4-495A-848F-F1710111E610}.release_static_mt|Win32.Build.0 = release_static_mt|Win32
{E12E5C71-79A4-495A-848F-F1710111E610}.release_static_mt|Win32.Deploy.0 = release_static_mt|Win32
{E12E5C71-79A4-495A-848F-F1710111E610}.debug_static_md|Win32.ActiveCfg = debug_static_md|Win32
{E12E5C71-79A4-495A-848F-F1710111E610}.debug_static_md|Win32.Build.0 = debug_static_md|Win32
{E12E5C71-79A4-495A-848F-F1710111E610}.debug_static_md|Win32.Deploy.0 = debug_static_md|Win32
{E12E5C71-79A4-495A-848F-F1710111E610}.release_static_md|Win32.ActiveCfg = release_static_md|Win32
{E12E5C71-79A4-495A-848F-F1710111E610}.release_static_md|Win32.Build.0 = release_static_md|Win32
{E12E5C71-79A4-495A-848F-F1710111E610}.release_static_md|Win32.Deploy.0 = release_static_md|Win32
{E12E5C71-79A4-495A-848F-F1710111E610}.debug_shared|x64.ActiveCfg = debug_shared|x64
{E12E5C71-79A4-495A-848F-F1710111E610}.debug_shared|x64.Build.0 = debug_shared|x64
{E12E5C71-79A4-495A-848F-F1710111E610}.debug_shared|x64.Deploy.0 = debug_shared|x64
{E12E5C71-79A4-495A-848F-F1710111E610}.release_shared|x64.ActiveCfg = release_shared|x64
{E12E5C71-79A4-495A-848F-F1710111E610}.release_shared|x64.Build.0 = release_shared|x64
{E12E5C71-79A4-495A-848F-F1710111E610}.release_shared|x64.Deploy.0 = release_shared|x64
{E12E5C71-79A4-495A-848F-F1710111E610}.debug_static_mt|x64.ActiveCfg = debug_static_mt|x64
{E12E5C71-79A4-495A-848F-F1710111E610}.debug_static_mt|x64.Build.0 = debug_static_mt|x64
{E12E5C71-79A4-495A-848F-F1710111E610}.debug_static_mt|x64.Deploy.0 = debug_static_mt|x64
{E12E5C71-79A4-495A-848F-F1710111E610}.release_static_mt|x64.ActiveCfg = release_static_mt|x64
{E12E5C71-79A4-495A-848F-F1710111E610}.release_static_mt|x64.Build.0 = release_static_mt|x64
{E12E5C71-79A4-495A-848F-F1710111E610}.release_static_mt|x64.Deploy.0 = release_static_mt|x64
{E12E5C71-79A4-495A-848F-F1710111E610}.debug_static_md|x64.ActiveCfg = debug_static_md|x64
{E12E5C71-79A4-495A-848F-F1710111E610}.debug_static_md|x64.Build.0 = debug_static_md|x64
{E12E5C71-79A4-495A-848F-F1710111E610}.debug_static_md|x64.Deploy.0 = debug_static_md|x64
{E12E5C71-79A4-495A-848F-F1710111E610}.release_static_md|x64.ActiveCfg = release_static_md|x64
{E12E5C71-79A4-495A-848F-F1710111E610}.release_static_md|x64.Build.0 = release_static_md|x64
{E12E5C71-79A4-495A-848F-F1710111E610}.release_static_md|x64.Deploy.0 = release_static_md|x64
{24134877-368D-11DB-9FBC-00123FC423B5}.debug_shared|Win32.ActiveCfg = debug_shared|Win32
{24134877-368D-11DB-9FBC-00123FC423B5}.debug_shared|Win32.Build.0 = debug_shared|Win32
{24134877-368D-11DB-9FBC-00123FC423B5}.debug_shared|Win32.Deploy.0 = debug_shared|Win32
{24134877-368D-11DB-9FBC-00123FC423B5}.release_shared|Win32.ActiveCfg = release_shared|Win32
{24134877-368D-11DB-9FBC-00123FC423B5}.release_shared|Win32.Build.0 = release_shared|Win32
{24134877-368D-11DB-9FBC-00123FC423B5}.release_shared|Win32.Deploy.0 = release_shared|Win32
{24134877-368D-11DB-9FBC-00123FC423B5}.debug_static_mt|Win32.ActiveCfg = debug_static_mt|Win32
{24134877-368D-11DB-9FBC-00123FC423B5}.debug_static_mt|Win32.Build.0 = debug_static_mt|Win32
{24134877-368D-11DB-9FBC-00123FC423B5}.debug_static_mt|Win32.Deploy.0 = debug_static_mt|Win32
{24134877-368D-11DB-9FBC-00123FC423B5}.release_static_mt|Win32.ActiveCfg = release_static_mt|Win32
{24134877-368D-11DB-9FBC-00123FC423B5}.release_static_mt|Win32.Build.0 = release_static_mt|Win32
{24134877-368D-11DB-9FBC-00123FC423B5}.release_static_mt|Win32.Deploy.0 = release_static_mt|Win32
{24134877-368D-11DB-9FBC-00123FC423B5}.debug_static_md|Win32.ActiveCfg = debug_static_md|Win32
{24134877-368D-11DB-9FBC-00123FC423B5}.debug_static_md|Win32.Build.0 = debug_static_md|Win32
{24134877-368D-11DB-9FBC-00123FC423B5}.debug_static_md|Win32.Deploy.0 = debug_static_md|Win32
{24134877-368D-11DB-9FBC-00123FC423B5}.release_static_md|Win32.ActiveCfg = release_static_md|Win32
{24134877-368D-11DB-9FBC-00123FC423B5}.release_static_md|Win32.Build.0 = release_static_md|Win32
{24134877-368D-11DB-9FBC-00123FC423B5}.release_static_md|Win32.Deploy.0 = release_static_md|Win32
{24134877-368D-11DB-9FBC-00123FC423B5}.debug_shared|x64.ActiveCfg = debug_shared|x64
{24134877-368D-11DB-9FBC-00123FC423B5}.debug_shared|x64.Build.0 = debug_shared|x64
{24134877-368D-11DB-9FBC-00123FC423B5}.debug_shared|x64.Deploy.0 = debug_shared|x64
{24134877-368D-11DB-9FBC-00123FC423B5}.release_shared|x64.ActiveCfg = release_shared|x64
{24134877-368D-11DB-9FBC-00123FC423B5}.release_shared|x64.Build.0 = release_shared|x64
{24134877-368D-11DB-9FBC-00123FC423B5}.release_shared|x64.Deploy.0 = release_shared|x64
{24134877-368D-11DB-9FBC-00123FC423B5}.debug_static_mt|x64.ActiveCfg = debug_static_mt|x64
{24134877-368D-11DB-9FBC-00123FC423B5}.debug_static_mt|x64.Build.0 = debug_static_mt|x64
{24134877-368D-11DB-9FBC-00123FC423B5}.debug_static_mt|x64.Deploy.0 = debug_static_mt|x64
{24134877-368D-11DB-9FBC-00123FC423B5}.release_static_mt|x64.ActiveCfg = release_static_mt|x64
{24134877-368D-11DB-9FBC-00123FC423B5}.release_static_mt|x64.Build.0 = release_static_mt|x64
{24134877-368D-11DB-9FBC-00123FC423B5}.release_static_mt|x64.Deploy.0 = release_static_mt|x64
{24134877-368D-11DB-9FBC-00123FC423B5}.debug_static_md|x64.ActiveCfg = debug_static_md|x64
{24134877-368D-11DB-9FBC-00123FC423B5}.debug_static_md|x64.Build.0 = debug_static_md|x64
{24134877-368D-11DB-9FBC-00123FC423B5}.debug_static_md|x64.Deploy.0 = debug_static_md|x64
{24134877-368D-11DB-9FBC-00123FC423B5}.release_static_md|x64.ActiveCfg = release_static_md|x64
{24134877-368D-11DB-9FBC-00123FC423B5}.release_static_md|x64.Build.0 = release_static_md|x64
{24134877-368D-11DB-9FBC-00123FC423B5}.release_static_md|x64.Deploy.0 = release_static_md|x64
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
EndGlobal

917
vendor/POCO/PDF/PDF_vs160.vcxproj vendored Normal file
View File

@ -0,0 +1,917 @@
<?xml version="1.0" encoding="UTF-8"?>
<Project DefaultTargets="Build" ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup Label="ProjectConfigurations">
<ProjectConfiguration Include="debug_shared|Win32">
<Configuration>debug_shared</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="debug_shared|x64">
<Configuration>debug_shared</Configuration>
<Platform>x64</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="debug_static_md|Win32">
<Configuration>debug_static_md</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="debug_static_md|x64">
<Configuration>debug_static_md</Configuration>
<Platform>x64</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="debug_static_mt|Win32">
<Configuration>debug_static_mt</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="debug_static_mt|x64">
<Configuration>debug_static_mt</Configuration>
<Platform>x64</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="release_shared|Win32">
<Configuration>release_shared</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="release_shared|x64">
<Configuration>release_shared</Configuration>
<Platform>x64</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="release_static_md|Win32">
<Configuration>release_static_md</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="release_static_md|x64">
<Configuration>release_static_md</Configuration>
<Platform>x64</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="release_static_mt|Win32">
<Configuration>release_static_mt</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="release_static_mt|x64">
<Configuration>release_static_mt</Configuration>
<Platform>x64</Platform>
</ProjectConfiguration>
</ItemGroup>
<PropertyGroup Label="Globals">
<ProjectName>PDF</ProjectName>
<ProjectGuid>{E12E5C71-79A4-495A-848F-F1710111E610}</ProjectGuid>
<RootNamespace>PDF</RootNamespace>
<Keyword>Win32Proj</Keyword>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props"/>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='release_static_md|Win32'" Label="Configuration">
<ConfigurationType>StaticLibrary</ConfigurationType>
<CharacterSet>MultiByte</CharacterSet>
<PlatformToolset>v142</PlatformToolset>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='debug_static_md|Win32'" Label="Configuration">
<ConfigurationType>StaticLibrary</ConfigurationType>
<CharacterSet>MultiByte</CharacterSet>
<PlatformToolset>v142</PlatformToolset>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='release_static_mt|Win32'" Label="Configuration">
<ConfigurationType>StaticLibrary</ConfigurationType>
<CharacterSet>MultiByte</CharacterSet>
<PlatformToolset>v142</PlatformToolset>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='debug_static_mt|Win32'" Label="Configuration">
<ConfigurationType>StaticLibrary</ConfigurationType>
<CharacterSet>MultiByte</CharacterSet>
<PlatformToolset>v142</PlatformToolset>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='release_shared|Win32'" Label="Configuration">
<ConfigurationType>DynamicLibrary</ConfigurationType>
<CharacterSet>MultiByte</CharacterSet>
<PlatformToolset>v142</PlatformToolset>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='debug_shared|Win32'" Label="Configuration">
<ConfigurationType>DynamicLibrary</ConfigurationType>
<CharacterSet>MultiByte</CharacterSet>
<PlatformToolset>v142</PlatformToolset>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='release_static_md|x64'" Label="Configuration">
<ConfigurationType>StaticLibrary</ConfigurationType>
<CharacterSet>MultiByte</CharacterSet>
<PlatformToolset>v142</PlatformToolset>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='debug_static_md|x64'" Label="Configuration">
<ConfigurationType>StaticLibrary</ConfigurationType>
<CharacterSet>MultiByte</CharacterSet>
<PlatformToolset>v142</PlatformToolset>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='release_static_mt|x64'" Label="Configuration">
<ConfigurationType>StaticLibrary</ConfigurationType>
<CharacterSet>MultiByte</CharacterSet>
<PlatformToolset>v142</PlatformToolset>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='debug_static_mt|x64'" Label="Configuration">
<ConfigurationType>StaticLibrary</ConfigurationType>
<CharacterSet>MultiByte</CharacterSet>
<PlatformToolset>v142</PlatformToolset>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='release_shared|x64'" Label="Configuration">
<ConfigurationType>DynamicLibrary</ConfigurationType>
<CharacterSet>MultiByte</CharacterSet>
<PlatformToolset>v142</PlatformToolset>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='debug_shared|x64'" Label="Configuration">
<ConfigurationType>DynamicLibrary</ConfigurationType>
<CharacterSet>MultiByte</CharacterSet>
<PlatformToolset>v142</PlatformToolset>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props"/>
<ImportGroup Label="ExtensionSettings"/>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='release_static_md|Win32'" Label="PropertySheets">
<Import Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props"/>
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='debug_static_md|Win32'" Label="PropertySheets">
<Import Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props"/>
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='release_static_mt|Win32'" Label="PropertySheets">
<Import Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props"/>
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='debug_static_mt|Win32'" Label="PropertySheets">
<Import Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props"/>
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='release_shared|Win32'" Label="PropertySheets">
<Import Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props"/>
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='debug_shared|Win32'" Label="PropertySheets">
<Import Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props"/>
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='release_static_md|x64'" Label="PropertySheets">
<Import Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props"/>
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='debug_static_md|x64'" Label="PropertySheets">
<Import Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props"/>
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='release_static_mt|x64'" Label="PropertySheets">
<Import Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props"/>
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='debug_static_mt|x64'" Label="PropertySheets">
<Import Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props"/>
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='release_shared|x64'" Label="PropertySheets">
<Import Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props"/>
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='debug_shared|x64'" Label="PropertySheets">
<Import Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props"/>
</ImportGroup>
<PropertyGroup Label="UserMacros"/>
<PropertyGroup>
<_ProjectFileVersion>15.0.28307.799</_ProjectFileVersion>
<TargetName Condition="'$(Configuration)|$(Platform)'=='debug_shared|Win32'">PocoPDFd</TargetName>
<TargetName Condition="'$(Configuration)|$(Platform)'=='debug_static_md|Win32'">PocoPDFmdd</TargetName>
<TargetName Condition="'$(Configuration)|$(Platform)'=='debug_static_mt|Win32'">PocoPDFmtd</TargetName>
<TargetName Condition="'$(Configuration)|$(Platform)'=='release_shared|Win32'">PocoPDF</TargetName>
<TargetName Condition="'$(Configuration)|$(Platform)'=='release_static_md|Win32'">PocoPDFmd</TargetName>
<TargetName Condition="'$(Configuration)|$(Platform)'=='release_static_mt|Win32'">PocoPDFmt</TargetName>
<TargetName Condition="'$(Configuration)|$(Platform)'=='debug_shared|x64'">PocoPDF64d</TargetName>
<TargetName Condition="'$(Configuration)|$(Platform)'=='debug_static_md|x64'">PocoPDFmdd</TargetName>
<TargetName Condition="'$(Configuration)|$(Platform)'=='debug_static_mt|x64'">PocoPDFmtd</TargetName>
<TargetName Condition="'$(Configuration)|$(Platform)'=='release_shared|x64'">PocoPDF64</TargetName>
<TargetName Condition="'$(Configuration)|$(Platform)'=='release_static_md|x64'">PocoPDFmd</TargetName>
<TargetName Condition="'$(Configuration)|$(Platform)'=='release_static_mt|x64'">PocoPDFmt</TargetName>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='debug_shared|Win32'">
<OutDir>..\bin\</OutDir>
<IntDir>obj\PDF\$(Configuration)\</IntDir>
<LinkIncremental>true</LinkIncremental>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='release_shared|Win32'">
<OutDir>..\bin\</OutDir>
<IntDir>obj\PDF\$(Configuration)\</IntDir>
<LinkIncremental>false</LinkIncremental>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='debug_static_mt|Win32'">
<OutDir>..\lib\</OutDir>
<IntDir>obj\PDF\$(Configuration)\</IntDir>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='release_static_mt|Win32'">
<OutDir>..\lib\</OutDir>
<IntDir>obj\PDF\$(Configuration)\</IntDir>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='debug_static_md|Win32'">
<OutDir>..\lib\</OutDir>
<IntDir>obj\PDF\$(Configuration)\</IntDir>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='release_static_md|Win32'">
<OutDir>..\lib\</OutDir>
<IntDir>obj\PDF\$(Configuration)\</IntDir>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='debug_shared|x64'">
<OutDir>..\bin64\</OutDir>
<IntDir>obj64\PDF\$(Configuration)\</IntDir>
<LinkIncremental>true</LinkIncremental>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='release_shared|x64'">
<OutDir>..\bin64\</OutDir>
<IntDir>obj64\PDF\$(Configuration)\</IntDir>
<LinkIncremental>false</LinkIncremental>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='debug_static_mt|x64'">
<OutDir>..\lib64\</OutDir>
<IntDir>obj64\PDF\$(Configuration)\</IntDir>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='release_static_mt|x64'">
<OutDir>..\lib64\</OutDir>
<IntDir>obj64\PDF\$(Configuration)\</IntDir>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='debug_static_md|x64'">
<OutDir>..\lib64\</OutDir>
<IntDir>obj64\PDF\$(Configuration)\</IntDir>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='release_static_md|x64'">
<OutDir>..\lib64\</OutDir>
<IntDir>obj64\PDF\$(Configuration)\</IntDir>
</PropertyGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='debug_shared|Win32'">
<ClCompile>
<Optimization>Disabled</Optimization>
<AdditionalIncludeDirectories>.\include;.\include\Poco\PDF;..\Foundation\include;..\XML\include;..\Util\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<PreprocessorDefinitions>WIN32;_DEBUG;_WINDOWS;_USRDLL;_CRT_SECURE_NO_WARNINGS;PDF_EXPORTS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<StringPooling>true</StringPooling>
<BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
<RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
<BufferSecurityCheck>true</BufferSecurityCheck>
<TreatWChar_tAsBuiltInType>true</TreatWChar_tAsBuiltInType>
<ForceConformanceInForLoopScope>true</ForceConformanceInForLoopScope>
<RuntimeTypeInfo>true</RuntimeTypeInfo>
<PrecompiledHeader/>
<WarningLevel>Level3</WarningLevel>
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
<CompileAs>Default</CompileAs>
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<Link>
<OutputFile>..\bin\PocoPDFd.dll</OutputFile>
<SuppressStartupBanner>true</SuppressStartupBanner>
<GenerateDebugInformation>true</GenerateDebugInformation>
<ProgramDatabaseFile>..\bin\PocoPDFd.pdb</ProgramDatabaseFile>
<AdditionalLibraryDirectories>..\lib;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
<SubSystem>Console</SubSystem>
<ImportLibrary>..\lib\PocoPDFd.lib</ImportLibrary>
<TargetMachine>MachineX86</TargetMachine>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='release_shared|Win32'">
<ClCompile>
<Optimization>MaxSpeed</Optimization>
<InlineFunctionExpansion>OnlyExplicitInline</InlineFunctionExpansion>
<IntrinsicFunctions>true</IntrinsicFunctions>
<FavorSizeOrSpeed>Speed</FavorSizeOrSpeed>
<OmitFramePointers>true</OmitFramePointers>
<AdditionalIncludeDirectories>.\include;.\include\Poco\PDF;..\Foundation\include;..\XML\include;..\Util\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;_USRDLL;_CRT_SECURE_NO_WARNINGS;PDF_EXPORTS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<StringPooling>true</StringPooling>
<RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
<BufferSecurityCheck>false</BufferSecurityCheck>
<TreatWChar_tAsBuiltInType>true</TreatWChar_tAsBuiltInType>
<ForceConformanceInForLoopScope>true</ForceConformanceInForLoopScope>
<RuntimeTypeInfo>true</RuntimeTypeInfo>
<PrecompiledHeader/>
<WarningLevel>Level3</WarningLevel>
<DebugInformationFormat/>
<CompileAs>Default</CompileAs>
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<Link>
<OutputFile>..\bin\PocoPDF.dll</OutputFile>
<SuppressStartupBanner>true</SuppressStartupBanner>
<GenerateDebugInformation>false</GenerateDebugInformation>
<AdditionalLibraryDirectories>..\lib;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
<SubSystem>Console</SubSystem>
<OptimizeReferences>true</OptimizeReferences>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<ImportLibrary>..\lib\PocoPDF.lib</ImportLibrary>
<TargetMachine>MachineX86</TargetMachine>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='debug_static_mt|Win32'">
<ClCompile>
<Optimization>Disabled</Optimization>
<AdditionalIncludeDirectories>.\include;.\include\Poco\PDF;..\Foundation\include;..\XML\include;..\Util\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<PreprocessorDefinitions>WIN32;_DEBUG;_WINDOWS;POCO_STATIC;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<StringPooling>true</StringPooling>
<BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
<RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
<BufferSecurityCheck>true</BufferSecurityCheck>
<TreatWChar_tAsBuiltInType>true</TreatWChar_tAsBuiltInType>
<ForceConformanceInForLoopScope>true</ForceConformanceInForLoopScope>
<RuntimeTypeInfo>true</RuntimeTypeInfo>
<PrecompiledHeader/>
<ProgramDataBaseFileName>..\lib\PocoPDFmtd.pdb</ProgramDataBaseFileName>
<WarningLevel>Level3</WarningLevel>
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
<CompileAs>Default</CompileAs>
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<Lib>
<OutputFile>..\lib\PocoPDFmtd.lib</OutputFile>
</Lib>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='release_static_mt|Win32'">
<ClCompile>
<Optimization>MaxSpeed</Optimization>
<InlineFunctionExpansion>OnlyExplicitInline</InlineFunctionExpansion>
<IntrinsicFunctions>true</IntrinsicFunctions>
<FavorSizeOrSpeed>Speed</FavorSizeOrSpeed>
<OmitFramePointers>true</OmitFramePointers>
<AdditionalIncludeDirectories>.\include;.\include\Poco\PDF;..\Foundation\include;..\XML\include;..\Util\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;POCO_STATIC;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<StringPooling>true</StringPooling>
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
<BufferSecurityCheck>false</BufferSecurityCheck>
<TreatWChar_tAsBuiltInType>true</TreatWChar_tAsBuiltInType>
<ForceConformanceInForLoopScope>true</ForceConformanceInForLoopScope>
<RuntimeTypeInfo>true</RuntimeTypeInfo>
<PrecompiledHeader/>
<WarningLevel>Level3</WarningLevel>
<DebugInformationFormat/>
<CompileAs>Default</CompileAs>
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<Lib>
<OutputFile>..\lib\PocoPDFmt.lib</OutputFile>
</Lib>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='debug_static_md|Win32'">
<ClCompile>
<Optimization>Disabled</Optimization>
<AdditionalIncludeDirectories>.\include;.\include\Poco\PDF;..\Foundation\include;..\XML\include;..\Util\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<PreprocessorDefinitions>WIN32;_DEBUG;_WINDOWS;POCO_STATIC;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<StringPooling>true</StringPooling>
<BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
<RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
<BufferSecurityCheck>true</BufferSecurityCheck>
<TreatWChar_tAsBuiltInType>true</TreatWChar_tAsBuiltInType>
<ForceConformanceInForLoopScope>true</ForceConformanceInForLoopScope>
<RuntimeTypeInfo>true</RuntimeTypeInfo>
<PrecompiledHeader/>
<ProgramDataBaseFileName>..\lib\PocoPDFmdd.pdb</ProgramDataBaseFileName>
<WarningLevel>Level3</WarningLevel>
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
<CompileAs>Default</CompileAs>
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<Lib>
<OutputFile>..\lib\PocoPDFmdd.lib</OutputFile>
</Lib>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='release_static_md|Win32'">
<ClCompile>
<Optimization>MaxSpeed</Optimization>
<InlineFunctionExpansion>OnlyExplicitInline</InlineFunctionExpansion>
<IntrinsicFunctions>true</IntrinsicFunctions>
<FavorSizeOrSpeed>Speed</FavorSizeOrSpeed>
<OmitFramePointers>true</OmitFramePointers>
<AdditionalIncludeDirectories>.\include;.\include\Poco\PDF;..\Foundation\include;..\XML\include;..\Util\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;POCO_STATIC;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<StringPooling>true</StringPooling>
<RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
<BufferSecurityCheck>false</BufferSecurityCheck>
<TreatWChar_tAsBuiltInType>true</TreatWChar_tAsBuiltInType>
<ForceConformanceInForLoopScope>true</ForceConformanceInForLoopScope>
<RuntimeTypeInfo>true</RuntimeTypeInfo>
<PrecompiledHeader/>
<ProgramDataBaseFileName>..\lib\PocoPDFmd.pdb</ProgramDataBaseFileName>
<WarningLevel>Level3</WarningLevel>
<DebugInformationFormat/>
<CompileAs>Default</CompileAs>
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<Lib>
<OutputFile>..\lib\PocoPDFmd.lib</OutputFile>
</Lib>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='debug_shared|x64'">
<ClCompile>
<Optimization>Disabled</Optimization>
<AdditionalIncludeDirectories>.\include;.\include\Poco\PDF;..\Foundation\include;..\XML\include;..\Util\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<PreprocessorDefinitions>WIN32;_DEBUG;_WINDOWS;_USRDLL;_CRT_SECURE_NO_WARNINGS;PDF_EXPORTS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<StringPooling>true</StringPooling>
<BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
<RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
<BufferSecurityCheck>true</BufferSecurityCheck>
<TreatWChar_tAsBuiltInType>true</TreatWChar_tAsBuiltInType>
<ForceConformanceInForLoopScope>true</ForceConformanceInForLoopScope>
<RuntimeTypeInfo>true</RuntimeTypeInfo>
<PrecompiledHeader/>
<WarningLevel>Level3</WarningLevel>
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
<CompileAs>Default</CompileAs>
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<Link>
<OutputFile>..\bin64\PocoPDF64d.dll</OutputFile>
<SuppressStartupBanner>true</SuppressStartupBanner>
<GenerateDebugInformation>true</GenerateDebugInformation>
<ProgramDatabaseFile>..\bin64\PocoPDF64d.pdb</ProgramDatabaseFile>
<AdditionalLibraryDirectories>..\lib64;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
<SubSystem>Console</SubSystem>
<ImportLibrary>..\lib64\PocoPDFd.lib</ImportLibrary>
<TargetMachine>MachineX64</TargetMachine>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='release_shared|x64'">
<ClCompile>
<Optimization>MaxSpeed</Optimization>
<InlineFunctionExpansion>OnlyExplicitInline</InlineFunctionExpansion>
<IntrinsicFunctions>true</IntrinsicFunctions>
<FavorSizeOrSpeed>Speed</FavorSizeOrSpeed>
<OmitFramePointers>true</OmitFramePointers>
<AdditionalIncludeDirectories>.\include;.\include\Poco\PDF;..\Foundation\include;..\XML\include;..\Util\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;_USRDLL;_CRT_SECURE_NO_WARNINGS;PDF_EXPORTS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<StringPooling>true</StringPooling>
<RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
<BufferSecurityCheck>false</BufferSecurityCheck>
<TreatWChar_tAsBuiltInType>true</TreatWChar_tAsBuiltInType>
<ForceConformanceInForLoopScope>true</ForceConformanceInForLoopScope>
<RuntimeTypeInfo>true</RuntimeTypeInfo>
<PrecompiledHeader/>
<WarningLevel>Level3</WarningLevel>
<DebugInformationFormat/>
<CompileAs>Default</CompileAs>
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<Link>
<OutputFile>..\bin64\PocoPDF64.dll</OutputFile>
<SuppressStartupBanner>true</SuppressStartupBanner>
<GenerateDebugInformation>false</GenerateDebugInformation>
<AdditionalLibraryDirectories>..\lib64;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
<SubSystem>Console</SubSystem>
<OptimizeReferences>true</OptimizeReferences>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<ImportLibrary>..\lib64\PocoPDF.lib</ImportLibrary>
<TargetMachine>MachineX64</TargetMachine>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='debug_static_mt|x64'">
<ClCompile>
<Optimization>Disabled</Optimization>
<AdditionalIncludeDirectories>.\include;.\include\Poco\PDF;..\Foundation\include;..\XML\include;..\Util\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<PreprocessorDefinitions>WIN32;_DEBUG;_WINDOWS;POCO_STATIC;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<StringPooling>true</StringPooling>
<BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
<RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
<BufferSecurityCheck>true</BufferSecurityCheck>
<TreatWChar_tAsBuiltInType>true</TreatWChar_tAsBuiltInType>
<ForceConformanceInForLoopScope>true</ForceConformanceInForLoopScope>
<RuntimeTypeInfo>true</RuntimeTypeInfo>
<PrecompiledHeader/>
<ProgramDataBaseFileName>..\lib64\PocoPDFmtd.pdb</ProgramDataBaseFileName>
<WarningLevel>Level3</WarningLevel>
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
<CompileAs>Default</CompileAs>
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<Lib>
<OutputFile>..\lib64\PocoPDFmtd.lib</OutputFile>
</Lib>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='release_static_mt|x64'">
<ClCompile>
<Optimization>MaxSpeed</Optimization>
<InlineFunctionExpansion>OnlyExplicitInline</InlineFunctionExpansion>
<IntrinsicFunctions>true</IntrinsicFunctions>
<FavorSizeOrSpeed>Speed</FavorSizeOrSpeed>
<OmitFramePointers>true</OmitFramePointers>
<AdditionalIncludeDirectories>.\include;.\include\Poco\PDF;..\Foundation\include;..\XML\include;..\Util\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;POCO_STATIC;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<StringPooling>true</StringPooling>
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
<BufferSecurityCheck>false</BufferSecurityCheck>
<TreatWChar_tAsBuiltInType>true</TreatWChar_tAsBuiltInType>
<ForceConformanceInForLoopScope>true</ForceConformanceInForLoopScope>
<RuntimeTypeInfo>true</RuntimeTypeInfo>
<PrecompiledHeader/>
<WarningLevel>Level3</WarningLevel>
<DebugInformationFormat/>
<CompileAs>Default</CompileAs>
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<Lib>
<OutputFile>..\lib64\PocoPDFmt.lib</OutputFile>
</Lib>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='debug_static_md|x64'">
<ClCompile>
<Optimization>Disabled</Optimization>
<AdditionalIncludeDirectories>.\include;.\include\Poco\PDF;..\Foundation\include;..\XML\include;..\Util\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<PreprocessorDefinitions>WIN32;_DEBUG;_WINDOWS;POCO_STATIC;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<StringPooling>true</StringPooling>
<BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
<RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
<BufferSecurityCheck>true</BufferSecurityCheck>
<TreatWChar_tAsBuiltInType>true</TreatWChar_tAsBuiltInType>
<ForceConformanceInForLoopScope>true</ForceConformanceInForLoopScope>
<RuntimeTypeInfo>true</RuntimeTypeInfo>
<PrecompiledHeader/>
<ProgramDataBaseFileName>..\lib64\PocoPDFmdd.pdb</ProgramDataBaseFileName>
<WarningLevel>Level3</WarningLevel>
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
<CompileAs>Default</CompileAs>
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<Lib>
<OutputFile>..\lib64\PocoPDFmdd.lib</OutputFile>
</Lib>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='release_static_md|x64'">
<ClCompile>
<Optimization>MaxSpeed</Optimization>
<InlineFunctionExpansion>OnlyExplicitInline</InlineFunctionExpansion>
<IntrinsicFunctions>true</IntrinsicFunctions>
<FavorSizeOrSpeed>Speed</FavorSizeOrSpeed>
<OmitFramePointers>true</OmitFramePointers>
<AdditionalIncludeDirectories>.\include;.\include\Poco\PDF;..\Foundation\include;..\XML\include;..\Util\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;POCO_STATIC;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<StringPooling>true</StringPooling>
<RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
<BufferSecurityCheck>false</BufferSecurityCheck>
<TreatWChar_tAsBuiltInType>true</TreatWChar_tAsBuiltInType>
<ForceConformanceInForLoopScope>true</ForceConformanceInForLoopScope>
<RuntimeTypeInfo>true</RuntimeTypeInfo>
<PrecompiledHeader/>
<WarningLevel>Level3</WarningLevel>
<DebugInformationFormat/>
<CompileAs>Default</CompileAs>
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<Lib>
<OutputFile>..\lib64\PocoPDFmd.lib</OutputFile>
</Lib>
</ItemDefinitionGroup>
<ItemGroup>
<ClCompile Include="src\adler32.c">
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<ClCompile Include="src\AttributedString.cpp">
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<ClCompile Include="src\Cell.cpp">
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<ClCompile Include="src\compress.c">
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<ClCompile Include="src\crc32.c">
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<ClCompile Include="src\deflate.c">
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<ClCompile Include="src\Destination.cpp">
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<ClCompile Include="src\Document.cpp">
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<ClCompile Include="src\Encoder.cpp">
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<ClCompile Include="src\Font.cpp">
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<ClCompile Include="src\gzio.c">
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<ClCompile Include="src\hpdf_3dmeasure.c">
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<ClCompile Include="src\hpdf_annotation.c">
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<ClCompile Include="src\hpdf_array.c">
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<ClCompile Include="src\hpdf_binary.c">
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<ClCompile Include="src\hpdf_boolean.c">
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<ClCompile Include="src\hpdf_catalog.c">
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<ClCompile Include="src\hpdf_destination.c">
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<ClCompile Include="src\hpdf_dict.c">
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<ClCompile Include="src\hpdf_doc.c">
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<ClCompile Include="src\hpdf_doc_png.c">
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<ClCompile Include="src\hpdf_encoder.c">
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<ClCompile Include="src\hpdf_encoder_cns.c">
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<ClCompile Include="src\hpdf_encoder_cnt.c">
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<ClCompile Include="src\hpdf_encoder_jp.c">
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<ClCompile Include="src\hpdf_encoder_kr.c">
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<ClCompile Include="src\hpdf_encoder_utf.c">
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<ClCompile Include="src\hpdf_encrypt.c">
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<ClCompile Include="src\hpdf_encryptdict.c">
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<ClCompile Include="src\hpdf_error.c">
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<ClCompile Include="src\hpdf_exdata.c">
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<ClCompile Include="src\hpdf_ext_gstate.c">
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<ClCompile Include="src\hpdf_font.c">
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<ClCompile Include="src\hpdf_fontdef.c">
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<ClCompile Include="src\hpdf_fontdef_base14.c">
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<ClCompile Include="src\hpdf_fontdef_cid.c">
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<ClCompile Include="src\hpdf_fontdef_cns.c">
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<ClCompile Include="src\hpdf_fontdef_cnt.c">
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<ClCompile Include="src\hpdf_fontdef_jp.c">
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<ClCompile Include="src\hpdf_fontdef_kr.c">
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<ClCompile Include="src\hpdf_fontdef_tt.c">
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<ClCompile Include="src\hpdf_fontdef_type1.c">
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<ClCompile Include="src\hpdf_font_cid.c">
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<ClCompile Include="src\hpdf_font_tt.c">
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<ClCompile Include="src\hpdf_font_type1.c">
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<ClCompile Include="src\hpdf_gstate.c">
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<ClCompile Include="src\hpdf_image.c">
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<ClCompile Include="src\hpdf_image_ccitt.c">
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<ClCompile Include="src\hpdf_image_png.c">
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<ClCompile Include="src\hpdf_info.c">
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<ClCompile Include="src\hpdf_list.c">
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<ClCompile Include="src\hpdf_mmgr.c">
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<ClCompile Include="src\hpdf_name.c">
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<ClCompile Include="src\hpdf_namedict.c">
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<ClCompile Include="src\hpdf_null.c">
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<ClCompile Include="src\hpdf_number.c">
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<ClCompile Include="src\hpdf_objects.c">
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<ClCompile Include="src\hpdf_outline.c">
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<ClCompile Include="src\hpdf_pages.c">
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<ClCompile Include="src\hpdf_page_label.c">
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<ClCompile Include="src\hpdf_page_operator.c">
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<ClCompile Include="src\hpdf_pdfa.c">
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<ClCompile Include="src\hpdf_real.c">
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<ClCompile Include="src\hpdf_streams.c">
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<ClCompile Include="src\hpdf_string.c">
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<ClCompile Include="src\hpdf_u3d.c">
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<ClCompile Include="src\hpdf_utils.c">
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<ClCompile Include="src\hpdf_xref.c">
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<ClCompile Include="src\Image.cpp">
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<ClCompile Include="src\infback.c">
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<ClCompile Include="src\inffast.c">
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<ClCompile Include="src\inflate.c">
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<ClCompile Include="src\inftrees.c">
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<ClCompile Include="src\LinkAnnotation.cpp">
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<ClCompile Include="src\Outline.cpp">
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<ClCompile Include="src\Page.cpp">
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<ClCompile Include="src\PDFException.cpp">
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<ClCompile Include="src\png.c">
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<ClCompile Include="src\pngerror.c">
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<ClCompile Include="src\pnggccrd.c">
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<ClCompile Include="src\pngget.c">
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<ClCompile Include="src\pngmem.c">
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<ClCompile Include="src\pngpread.c">
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<ClCompile Include="src\pngread.c">
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<ClCompile Include="src\pngrio.c">
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<ClCompile Include="src\pngrtran.c">
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<ClCompile Include="src\pngrutil.c">
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<ClCompile Include="src\pngset.c">
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<ClCompile Include="src\pngtest.c">
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<ClCompile Include="src\pngtrans.c">
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<ClCompile Include="src\pngvcrd.c">
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<ClCompile Include="src\pngwio.c">
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<ClCompile Include="src\pngwrite.c">
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<ClCompile Include="src\pngwtran.c">
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<ClCompile Include="src\pngwutil.c">
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<ClCompile Include="src\Table.cpp">
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<ClCompile Include="src\TextAnnotation.cpp">
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<ClCompile Include="src\trees.c">
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<ClCompile Include="src\XMLTemplate.cpp">
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<ClCompile Include="src\zutil.c">
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
</ItemGroup>
<ItemGroup>
<ClInclude Include="include\Poco\PDF\crc32.h"/>
<ClInclude Include="include\Poco\PDF\deflate.h"/>
<ClInclude Include="include\Poco\PDF\Destination.h"/>
<ClInclude Include="include\Poco\PDF\Document.h"/>
<ClInclude Include="include\Poco\PDF\Encoder.h"/>
<ClInclude Include="include\Poco\PDF\Font.h"/>
<ClInclude Include="include\Poco\PDF\hpdf.h"/>
<ClInclude Include="include\Poco\PDF\hpdf_3dmeasure.h"/>
<ClInclude Include="include\Poco\PDF\hpdf_annotation.h"/>
<ClInclude Include="include\Poco\PDF\hpdf_catalog.h"/>
<ClInclude Include="include\Poco\PDF\hpdf_conf.h"/>
<ClInclude Include="include\Poco\PDF\hpdf_consts.h"/>
<ClInclude Include="include\Poco\PDF\hpdf_destination.h"/>
<ClInclude Include="include\Poco\PDF\hpdf_doc.h"/>
<ClInclude Include="include\Poco\PDF\hpdf_encoder.h"/>
<ClInclude Include="include\Poco\PDF\hpdf_encrypt.h"/>
<ClInclude Include="include\Poco\PDF\hpdf_encryptdict.h"/>
<ClInclude Include="include\Poco\PDF\hpdf_error.h"/>
<ClInclude Include="include\Poco\PDF\hpdf_exdata.h"/>
<ClInclude Include="include\Poco\PDF\hpdf_ext_gstate.h"/>
<ClInclude Include="include\Poco\PDF\hpdf_font.h"/>
<ClInclude Include="include\Poco\PDF\hpdf_fontdef.h"/>
<ClInclude Include="include\Poco\PDF\hpdf_gstate.h"/>
<ClInclude Include="include\Poco\PDF\hpdf_image.h"/>
<ClInclude Include="include\Poco\PDF\hpdf_info.h"/>
<ClInclude Include="include\Poco\PDF\hpdf_list.h"/>
<ClInclude Include="include\Poco\PDF\hpdf_mmgr.h"/>
<ClInclude Include="include\Poco\PDF\hpdf_namedict.h"/>
<ClInclude Include="include\Poco\PDF\hpdf_objects.h"/>
<ClInclude Include="include\Poco\PDF\hpdf_outline.h"/>
<ClInclude Include="include\Poco\PDF\hpdf_pages.h"/>
<ClInclude Include="include\Poco\PDF\hpdf_page_label.h"/>
<ClInclude Include="include\Poco\PDF\hpdf_pdfa.h"/>
<ClInclude Include="include\Poco\PDF\hpdf_streams.h"/>
<ClInclude Include="include\Poco\PDF\hpdf_types.h"/>
<ClInclude Include="include\Poco\PDF\hpdf_u3d.h"/>
<ClInclude Include="include\Poco\PDF\hpdf_utils.h"/>
<ClInclude Include="include\Poco\PDF\hpdf_version.h"/>
<ClInclude Include="include\Poco\PDF\Image.h"/>
<ClInclude Include="include\Poco\PDF\inffast.h"/>
<ClInclude Include="include\Poco\PDF\inffixed.h"/>
<ClInclude Include="include\Poco\PDF\inflate.h"/>
<ClInclude Include="include\Poco\PDF\inftrees.h"/>
<ClInclude Include="include\Poco\PDF\LinkAnnotation.h"/>
<ClInclude Include="include\Poco\PDF\Outline.h"/>
<ClInclude Include="include\Poco\PDF\Page.h"/>
<ClInclude Include="include\Poco\PDF\PDF.h"/>
<ClInclude Include="include\Poco\PDF\PDFException.h"/>
<ClInclude Include="include\Poco\PDF\png.h"/>
<ClInclude Include="include\Poco\PDF\pngconf.h"/>
<ClInclude Include="include\Poco\PDF\Resource.h"/>
<ClInclude Include="include\Poco\PDF\TextAnnotation.h"/>
<ClInclude Include="include\Poco\PDF\trees.h"/>
<ClInclude Include="include\Poco\PDF\zconf.h"/>
<ClInclude Include="include\Poco\PDF\zlib.h"/>
<ClInclude Include="include\Poco\PDF\zutil.h"/>
</ItemGroup>
<ItemGroup>
<ResourceCompile Include="..\DLLVersion.rc">
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='debug_static_md|Win32'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='debug_static_md|x64'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='debug_static_mt|Win32'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='debug_static_mt|x64'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='release_static_md|Win32'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='release_static_md|x64'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='release_static_mt|Win32'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='release_static_mt|x64'">true</ExcludedFromBuild>
</ResourceCompile>
</ItemGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets"/>
<ImportGroup Label="ExtensionTargets"/>
</Project>

View File

@ -0,0 +1,516 @@
<?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>{e2c8ba69-4863-48f2-8a19-aeeaabe1f73f}</UniqueIdentifier>
</Filter>
<Filter Include="Header Files">
<UniqueIdentifier>{2ae1d009-ec5d-4dbf-9519-f70505107e28}</UniqueIdentifier>
</Filter>
<Filter Include="3rd Party">
<UniqueIdentifier>{99a0788e-8d76-4b22-b906-318faa14b222}</UniqueIdentifier>
</Filter>
<Filter Include="3rd Party\PNG">
<UniqueIdentifier>{f3fd66f0-d008-443f-9f84-2078f032e311}</UniqueIdentifier>
</Filter>
<Filter Include="3rd Party\PNG\Header Files">
<UniqueIdentifier>{832359ea-3125-432a-ac77-e326e8009a76}</UniqueIdentifier>
</Filter>
<Filter Include="3rd Party\PNG\Source Files">
<UniqueIdentifier>{108f07f7-e402-4fe2-a0ae-0b9f1342df06}</UniqueIdentifier>
</Filter>
<Filter Include="3rd Party\zlib">
<UniqueIdentifier>{98bd96eb-bbeb-4ad0-a595-c54c02748a71}</UniqueIdentifier>
</Filter>
<Filter Include="3rd Party\zlib\Header Files">
<UniqueIdentifier>{795f2adf-7af4-4748-b904-b5feca769dbe}</UniqueIdentifier>
</Filter>
<Filter Include="3rd Party\zlib\Source Files">
<UniqueIdentifier>{960f2e61-e7c3-45b4-bf6f-c5c2d6737ab4}</UniqueIdentifier>
</Filter>
<Filter Include="3rd Party\HARU">
<UniqueIdentifier>{dd2d135f-e2ba-4605-94e1-384f84bddc00}</UniqueIdentifier>
</Filter>
<Filter Include="3rd Party\HARU\Source Files">
<UniqueIdentifier>{ed314e88-1f61-4e78-8485-4f02c2b70146}</UniqueIdentifier>
</Filter>
<Filter Include="3rd Party\HARU\Header Files">
<UniqueIdentifier>{744c66d2-2b02-4e00-8e4b-6297ad25a3f9}</UniqueIdentifier>
</Filter>
</ItemGroup>
<ItemGroup>
<ClCompile Include="src\AttributedString.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="src\Cell.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="src\Destination.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="src\Document.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="src\Encoder.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="src\Font.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="src\Image.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="src\LinkAnnotation.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="src\Outline.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="src\Page.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="src\PDFException.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="src\Table.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="src\TextAnnotation.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="src\XMLTemplate.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="src\png.c">
<Filter>3rd Party\PNG\Source Files</Filter>
</ClCompile>
<ClCompile Include="src\pngerror.c">
<Filter>3rd Party\PNG\Source Files</Filter>
</ClCompile>
<ClCompile Include="src\pnggccrd.c">
<Filter>3rd Party\PNG\Source Files</Filter>
</ClCompile>
<ClCompile Include="src\pngget.c">
<Filter>3rd Party\PNG\Source Files</Filter>
</ClCompile>
<ClCompile Include="src\pngmem.c">
<Filter>3rd Party\PNG\Source Files</Filter>
</ClCompile>
<ClCompile Include="src\pngpread.c">
<Filter>3rd Party\PNG\Source Files</Filter>
</ClCompile>
<ClCompile Include="src\pngread.c">
<Filter>3rd Party\PNG\Source Files</Filter>
</ClCompile>
<ClCompile Include="src\pngrio.c">
<Filter>3rd Party\PNG\Source Files</Filter>
</ClCompile>
<ClCompile Include="src\pngrtran.c">
<Filter>3rd Party\PNG\Source Files</Filter>
</ClCompile>
<ClCompile Include="src\pngrutil.c">
<Filter>3rd Party\PNG\Source Files</Filter>
</ClCompile>
<ClCompile Include="src\pngset.c">
<Filter>3rd Party\PNG\Source Files</Filter>
</ClCompile>
<ClCompile Include="src\pngtest.c">
<Filter>3rd Party\PNG\Source Files</Filter>
</ClCompile>
<ClCompile Include="src\pngtrans.c">
<Filter>3rd Party\PNG\Source Files</Filter>
</ClCompile>
<ClCompile Include="src\pngvcrd.c">
<Filter>3rd Party\PNG\Source Files</Filter>
</ClCompile>
<ClCompile Include="src\pngwio.c">
<Filter>3rd Party\PNG\Source Files</Filter>
</ClCompile>
<ClCompile Include="src\pngwrite.c">
<Filter>3rd Party\PNG\Source Files</Filter>
</ClCompile>
<ClCompile Include="src\pngwtran.c">
<Filter>3rd Party\PNG\Source Files</Filter>
</ClCompile>
<ClCompile Include="src\pngwutil.c">
<Filter>3rd Party\PNG\Source Files</Filter>
</ClCompile>
<ClCompile Include="src\adler32.c">
<Filter>3rd Party\zlib\Source Files</Filter>
</ClCompile>
<ClCompile Include="src\compress.c">
<Filter>3rd Party\zlib\Source Files</Filter>
</ClCompile>
<ClCompile Include="src\crc32.c">
<Filter>3rd Party\zlib\Source Files</Filter>
</ClCompile>
<ClCompile Include="src\deflate.c">
<Filter>3rd Party\zlib\Source Files</Filter>
</ClCompile>
<ClCompile Include="src\gzio.c">
<Filter>3rd Party\zlib\Source Files</Filter>
</ClCompile>
<ClCompile Include="src\infback.c">
<Filter>3rd Party\zlib\Source Files</Filter>
</ClCompile>
<ClCompile Include="src\inffast.c">
<Filter>3rd Party\zlib\Source Files</Filter>
</ClCompile>
<ClCompile Include="src\inflate.c">
<Filter>3rd Party\zlib\Source Files</Filter>
</ClCompile>
<ClCompile Include="src\inftrees.c">
<Filter>3rd Party\zlib\Source Files</Filter>
</ClCompile>
<ClCompile Include="src\trees.c">
<Filter>3rd Party\zlib\Source Files</Filter>
</ClCompile>
<ClCompile Include="src\zutil.c">
<Filter>3rd Party\zlib\Source Files</Filter>
</ClCompile>
<ClCompile Include="src\hpdf_3dmeasure.c">
<Filter>3rd Party\HARU\Source Files</Filter>
</ClCompile>
<ClCompile Include="src\hpdf_annotation.c">
<Filter>3rd Party\HARU\Source Files</Filter>
</ClCompile>
<ClCompile Include="src\hpdf_array.c">
<Filter>3rd Party\HARU\Source Files</Filter>
</ClCompile>
<ClCompile Include="src\hpdf_binary.c">
<Filter>3rd Party\HARU\Source Files</Filter>
</ClCompile>
<ClCompile Include="src\hpdf_boolean.c">
<Filter>3rd Party\HARU\Source Files</Filter>
</ClCompile>
<ClCompile Include="src\hpdf_catalog.c">
<Filter>3rd Party\HARU\Source Files</Filter>
</ClCompile>
<ClCompile Include="src\hpdf_destination.c">
<Filter>3rd Party\HARU\Source Files</Filter>
</ClCompile>
<ClCompile Include="src\hpdf_dict.c">
<Filter>3rd Party\HARU\Source Files</Filter>
</ClCompile>
<ClCompile Include="src\hpdf_doc.c">
<Filter>3rd Party\HARU\Source Files</Filter>
</ClCompile>
<ClCompile Include="src\hpdf_doc_png.c">
<Filter>3rd Party\HARU\Source Files</Filter>
</ClCompile>
<ClCompile Include="src\hpdf_encoder.c">
<Filter>3rd Party\HARU\Source Files</Filter>
</ClCompile>
<ClCompile Include="src\hpdf_encoder_cns.c">
<Filter>3rd Party\HARU\Source Files</Filter>
</ClCompile>
<ClCompile Include="src\hpdf_encoder_cnt.c">
<Filter>3rd Party\HARU\Source Files</Filter>
</ClCompile>
<ClCompile Include="src\hpdf_encoder_jp.c">
<Filter>3rd Party\HARU\Source Files</Filter>
</ClCompile>
<ClCompile Include="src\hpdf_encoder_kr.c">
<Filter>3rd Party\HARU\Source Files</Filter>
</ClCompile>
<ClCompile Include="src\hpdf_encoder_utf.c">
<Filter>3rd Party\HARU\Source Files</Filter>
</ClCompile>
<ClCompile Include="src\hpdf_encrypt.c">
<Filter>3rd Party\HARU\Source Files</Filter>
</ClCompile>
<ClCompile Include="src\hpdf_encryptdict.c">
<Filter>3rd Party\HARU\Source Files</Filter>
</ClCompile>
<ClCompile Include="src\hpdf_error.c">
<Filter>3rd Party\HARU\Source Files</Filter>
</ClCompile>
<ClCompile Include="src\hpdf_exdata.c">
<Filter>3rd Party\HARU\Source Files</Filter>
</ClCompile>
<ClCompile Include="src\hpdf_ext_gstate.c">
<Filter>3rd Party\HARU\Source Files</Filter>
</ClCompile>
<ClCompile Include="src\hpdf_font.c">
<Filter>3rd Party\HARU\Source Files</Filter>
</ClCompile>
<ClCompile Include="src\hpdf_font_cid.c">
<Filter>3rd Party\HARU\Source Files</Filter>
</ClCompile>
<ClCompile Include="src\hpdf_font_tt.c">
<Filter>3rd Party\HARU\Source Files</Filter>
</ClCompile>
<ClCompile Include="src\hpdf_font_type1.c">
<Filter>3rd Party\HARU\Source Files</Filter>
</ClCompile>
<ClCompile Include="src\hpdf_fontdef.c">
<Filter>3rd Party\HARU\Source Files</Filter>
</ClCompile>
<ClCompile Include="src\hpdf_fontdef_base14.c">
<Filter>3rd Party\HARU\Source Files</Filter>
</ClCompile>
<ClCompile Include="src\hpdf_fontdef_cid.c">
<Filter>3rd Party\HARU\Source Files</Filter>
</ClCompile>
<ClCompile Include="src\hpdf_fontdef_cns.c">
<Filter>3rd Party\HARU\Source Files</Filter>
</ClCompile>
<ClCompile Include="src\hpdf_fontdef_cnt.c">
<Filter>3rd Party\HARU\Source Files</Filter>
</ClCompile>
<ClCompile Include="src\hpdf_fontdef_jp.c">
<Filter>3rd Party\HARU\Source Files</Filter>
</ClCompile>
<ClCompile Include="src\hpdf_fontdef_kr.c">
<Filter>3rd Party\HARU\Source Files</Filter>
</ClCompile>
<ClCompile Include="src\hpdf_fontdef_tt.c">
<Filter>3rd Party\HARU\Source Files</Filter>
</ClCompile>
<ClCompile Include="src\hpdf_fontdef_type1.c">
<Filter>3rd Party\HARU\Source Files</Filter>
</ClCompile>
<ClCompile Include="src\hpdf_gstate.c">
<Filter>3rd Party\HARU\Source Files</Filter>
</ClCompile>
<ClCompile Include="src\hpdf_image.c">
<Filter>3rd Party\HARU\Source Files</Filter>
</ClCompile>
<ClCompile Include="src\hpdf_image_ccitt.c">
<Filter>3rd Party\HARU\Source Files</Filter>
</ClCompile>
<ClCompile Include="src\hpdf_image_png.c">
<Filter>3rd Party\HARU\Source Files</Filter>
</ClCompile>
<ClCompile Include="src\hpdf_info.c">
<Filter>3rd Party\HARU\Source Files</Filter>
</ClCompile>
<ClCompile Include="src\hpdf_list.c">
<Filter>3rd Party\HARU\Source Files</Filter>
</ClCompile>
<ClCompile Include="src\hpdf_mmgr.c">
<Filter>3rd Party\HARU\Source Files</Filter>
</ClCompile>
<ClCompile Include="src\hpdf_name.c">
<Filter>3rd Party\HARU\Source Files</Filter>
</ClCompile>
<ClCompile Include="src\hpdf_namedict.c">
<Filter>3rd Party\HARU\Source Files</Filter>
</ClCompile>
<ClCompile Include="src\hpdf_null.c">
<Filter>3rd Party\HARU\Source Files</Filter>
</ClCompile>
<ClCompile Include="src\hpdf_number.c">
<Filter>3rd Party\HARU\Source Files</Filter>
</ClCompile>
<ClCompile Include="src\hpdf_objects.c">
<Filter>3rd Party\HARU\Source Files</Filter>
</ClCompile>
<ClCompile Include="src\hpdf_outline.c">
<Filter>3rd Party\HARU\Source Files</Filter>
</ClCompile>
<ClCompile Include="src\hpdf_page_label.c">
<Filter>3rd Party\HARU\Source Files</Filter>
</ClCompile>
<ClCompile Include="src\hpdf_page_operator.c">
<Filter>3rd Party\HARU\Source Files</Filter>
</ClCompile>
<ClCompile Include="src\hpdf_pages.c">
<Filter>3rd Party\HARU\Source Files</Filter>
</ClCompile>
<ClCompile Include="src\hpdf_pdfa.c">
<Filter>3rd Party\HARU\Source Files</Filter>
</ClCompile>
<ClCompile Include="src\hpdf_real.c">
<Filter>3rd Party\HARU\Source Files</Filter>
</ClCompile>
<ClCompile Include="src\hpdf_streams.c">
<Filter>3rd Party\HARU\Source Files</Filter>
</ClCompile>
<ClCompile Include="src\hpdf_string.c">
<Filter>3rd Party\HARU\Source Files</Filter>
</ClCompile>
<ClCompile Include="src\hpdf_u3d.c">
<Filter>3rd Party\HARU\Source Files</Filter>
</ClCompile>
<ClCompile Include="src\hpdf_utils.c">
<Filter>3rd Party\HARU\Source Files</Filter>
</ClCompile>
<ClCompile Include="src\hpdf_xref.c">
<Filter>3rd Party\HARU\Source Files</Filter>
</ClCompile>
</ItemGroup>
<ItemGroup>
<ClInclude Include="include\Poco\PDF\Destination.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="include\Poco\PDF\Document.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="include\Poco\PDF\Encoder.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="include\Poco\PDF\Font.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="include\Poco\PDF\Image.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="include\Poco\PDF\LinkAnnotation.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="include\Poco\PDF\Outline.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="include\Poco\PDF\Page.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="include\Poco\PDF\PDF.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="include\Poco\PDF\PDFException.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="include\Poco\PDF\Resource.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="include\Poco\PDF\TextAnnotation.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="include\Poco\PDF\png.h">
<Filter>3rd Party\PNG\Header Files</Filter>
</ClInclude>
<ClInclude Include="include\Poco\PDF\pngconf.h">
<Filter>3rd Party\PNG\Header Files</Filter>
</ClInclude>
<ClInclude Include="include\Poco\PDF\crc32.h">
<Filter>3rd Party\zlib\Header Files</Filter>
</ClInclude>
<ClInclude Include="include\Poco\PDF\deflate.h">
<Filter>3rd Party\zlib\Header Files</Filter>
</ClInclude>
<ClInclude Include="include\Poco\PDF\inffast.h">
<Filter>3rd Party\zlib\Header Files</Filter>
</ClInclude>
<ClInclude Include="include\Poco\PDF\inffixed.h">
<Filter>3rd Party\zlib\Header Files</Filter>
</ClInclude>
<ClInclude Include="include\Poco\PDF\inflate.h">
<Filter>3rd Party\zlib\Header Files</Filter>
</ClInclude>
<ClInclude Include="include\Poco\PDF\inftrees.h">
<Filter>3rd Party\zlib\Header Files</Filter>
</ClInclude>
<ClInclude Include="include\Poco\PDF\trees.h">
<Filter>3rd Party\zlib\Header Files</Filter>
</ClInclude>
<ClInclude Include="include\Poco\PDF\zconf.h">
<Filter>3rd Party\zlib\Header Files</Filter>
</ClInclude>
<ClInclude Include="include\Poco\PDF\zlib.h">
<Filter>3rd Party\zlib\Header Files</Filter>
</ClInclude>
<ClInclude Include="include\Poco\PDF\zutil.h">
<Filter>3rd Party\zlib\Header Files</Filter>
</ClInclude>
<ClInclude Include="include\Poco\PDF\hpdf.h">
<Filter>3rd Party\HARU\Header Files</Filter>
</ClInclude>
<ClInclude Include="include\Poco\PDF\hpdf_3dmeasure.h">
<Filter>3rd Party\HARU\Header Files</Filter>
</ClInclude>
<ClInclude Include="include\Poco\PDF\hpdf_annotation.h">
<Filter>3rd Party\HARU\Header Files</Filter>
</ClInclude>
<ClInclude Include="include\Poco\PDF\hpdf_catalog.h">
<Filter>3rd Party\HARU\Header Files</Filter>
</ClInclude>
<ClInclude Include="include\Poco\PDF\hpdf_conf.h">
<Filter>3rd Party\HARU\Header Files</Filter>
</ClInclude>
<ClInclude Include="include\Poco\PDF\hpdf_consts.h">
<Filter>3rd Party\HARU\Header Files</Filter>
</ClInclude>
<ClInclude Include="include\Poco\PDF\hpdf_destination.h">
<Filter>3rd Party\HARU\Header Files</Filter>
</ClInclude>
<ClInclude Include="include\Poco\PDF\hpdf_doc.h">
<Filter>3rd Party\HARU\Header Files</Filter>
</ClInclude>
<ClInclude Include="include\Poco\PDF\hpdf_encoder.h">
<Filter>3rd Party\HARU\Header Files</Filter>
</ClInclude>
<ClInclude Include="include\Poco\PDF\hpdf_encrypt.h">
<Filter>3rd Party\HARU\Header Files</Filter>
</ClInclude>
<ClInclude Include="include\Poco\PDF\hpdf_encryptdict.h">
<Filter>3rd Party\HARU\Header Files</Filter>
</ClInclude>
<ClInclude Include="include\Poco\PDF\hpdf_error.h">
<Filter>3rd Party\HARU\Header Files</Filter>
</ClInclude>
<ClInclude Include="include\Poco\PDF\hpdf_exdata.h">
<Filter>3rd Party\HARU\Header Files</Filter>
</ClInclude>
<ClInclude Include="include\Poco\PDF\hpdf_ext_gstate.h">
<Filter>3rd Party\HARU\Header Files</Filter>
</ClInclude>
<ClInclude Include="include\Poco\PDF\hpdf_font.h">
<Filter>3rd Party\HARU\Header Files</Filter>
</ClInclude>
<ClInclude Include="include\Poco\PDF\hpdf_fontdef.h">
<Filter>3rd Party\HARU\Header Files</Filter>
</ClInclude>
<ClInclude Include="include\Poco\PDF\hpdf_gstate.h">
<Filter>3rd Party\HARU\Header Files</Filter>
</ClInclude>
<ClInclude Include="include\Poco\PDF\hpdf_image.h">
<Filter>3rd Party\HARU\Header Files</Filter>
</ClInclude>
<ClInclude Include="include\Poco\PDF\hpdf_info.h">
<Filter>3rd Party\HARU\Header Files</Filter>
</ClInclude>
<ClInclude Include="include\Poco\PDF\hpdf_list.h">
<Filter>3rd Party\HARU\Header Files</Filter>
</ClInclude>
<ClInclude Include="include\Poco\PDF\hpdf_mmgr.h">
<Filter>3rd Party\HARU\Header Files</Filter>
</ClInclude>
<ClInclude Include="include\Poco\PDF\hpdf_namedict.h">
<Filter>3rd Party\HARU\Header Files</Filter>
</ClInclude>
<ClInclude Include="include\Poco\PDF\hpdf_objects.h">
<Filter>3rd Party\HARU\Header Files</Filter>
</ClInclude>
<ClInclude Include="include\Poco\PDF\hpdf_outline.h">
<Filter>3rd Party\HARU\Header Files</Filter>
</ClInclude>
<ClInclude Include="include\Poco\PDF\hpdf_page_label.h">
<Filter>3rd Party\HARU\Header Files</Filter>
</ClInclude>
<ClInclude Include="include\Poco\PDF\hpdf_pages.h">
<Filter>3rd Party\HARU\Header Files</Filter>
</ClInclude>
<ClInclude Include="include\Poco\PDF\hpdf_pdfa.h">
<Filter>3rd Party\HARU\Header Files</Filter>
</ClInclude>
<ClInclude Include="include\Poco\PDF\hpdf_streams.h">
<Filter>3rd Party\HARU\Header Files</Filter>
</ClInclude>
<ClInclude Include="include\Poco\PDF\hpdf_types.h">
<Filter>3rd Party\HARU\Header Files</Filter>
</ClInclude>
<ClInclude Include="include\Poco\PDF\hpdf_u3d.h">
<Filter>3rd Party\HARU\Header Files</Filter>
</ClInclude>
<ClInclude Include="include\Poco\PDF\hpdf_utils.h">
<Filter>3rd Party\HARU\Header Files</Filter>
</ClInclude>
<ClInclude Include="include\Poco\PDF\hpdf_version.h">
<Filter>3rd Party\HARU\Header Files</Filter>
</ClInclude>
</ItemGroup>
<ItemGroup>
<ResourceCompile Include="..\DLLVersion.rc" />
</ItemGroup>
</Project>

60
vendor/POCO/PDF/PDF_vs90.sln vendored Normal file
View File

@ -0,0 +1,60 @@
Microsoft Visual Studio Solution File, Format Version 10.00
# Visual Studio 2008
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "PDF", "PDF_vs90.vcproj", "{E12E5C71-79A4-495A-848F-F1710111E610}"
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "TestSuite", "testsuite\TestSuite_vs90.vcproj", "{24134877-368D-11DB-9FBC-00123FC423B5}"
ProjectSection(ProjectDependencies) = postProject
{E12E5C71-79A4-495A-848F-F1710111E610} = {E12E5C71-79A4-495A-848F-F1710111E610}
EndProjectSection
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
debug_shared|Win32 = debug_shared|Win32
release_shared|Win32 = release_shared|Win32
debug_static_mt|Win32 = debug_static_mt|Win32
release_static_mt|Win32 = release_static_mt|Win32
debug_static_md|Win32 = debug_static_md|Win32
release_static_md|Win32 = release_static_md|Win32
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{E12E5C71-79A4-495A-848F-F1710111E610}.debug_shared|Win32.ActiveCfg = debug_shared|Win32
{E12E5C71-79A4-495A-848F-F1710111E610}.debug_shared|Win32.Build.0 = debug_shared|Win32
{E12E5C71-79A4-495A-848F-F1710111E610}.debug_shared|Win32.Deploy.0 = debug_shared|Win32
{E12E5C71-79A4-495A-848F-F1710111E610}.release_shared|Win32.ActiveCfg = release_shared|Win32
{E12E5C71-79A4-495A-848F-F1710111E610}.release_shared|Win32.Build.0 = release_shared|Win32
{E12E5C71-79A4-495A-848F-F1710111E610}.release_shared|Win32.Deploy.0 = release_shared|Win32
{E12E5C71-79A4-495A-848F-F1710111E610}.debug_static_mt|Win32.ActiveCfg = debug_static_mt|Win32
{E12E5C71-79A4-495A-848F-F1710111E610}.debug_static_mt|Win32.Build.0 = debug_static_mt|Win32
{E12E5C71-79A4-495A-848F-F1710111E610}.debug_static_mt|Win32.Deploy.0 = debug_static_mt|Win32
{E12E5C71-79A4-495A-848F-F1710111E610}.release_static_mt|Win32.ActiveCfg = release_static_mt|Win32
{E12E5C71-79A4-495A-848F-F1710111E610}.release_static_mt|Win32.Build.0 = release_static_mt|Win32
{E12E5C71-79A4-495A-848F-F1710111E610}.release_static_mt|Win32.Deploy.0 = release_static_mt|Win32
{E12E5C71-79A4-495A-848F-F1710111E610}.debug_static_md|Win32.ActiveCfg = debug_static_md|Win32
{E12E5C71-79A4-495A-848F-F1710111E610}.debug_static_md|Win32.Build.0 = debug_static_md|Win32
{E12E5C71-79A4-495A-848F-F1710111E610}.debug_static_md|Win32.Deploy.0 = debug_static_md|Win32
{E12E5C71-79A4-495A-848F-F1710111E610}.release_static_md|Win32.ActiveCfg = release_static_md|Win32
{E12E5C71-79A4-495A-848F-F1710111E610}.release_static_md|Win32.Build.0 = release_static_md|Win32
{E12E5C71-79A4-495A-848F-F1710111E610}.release_static_md|Win32.Deploy.0 = release_static_md|Win32
{24134877-368D-11DB-9FBC-00123FC423B5}.debug_shared|Win32.ActiveCfg = debug_shared|Win32
{24134877-368D-11DB-9FBC-00123FC423B5}.debug_shared|Win32.Build.0 = debug_shared|Win32
{24134877-368D-11DB-9FBC-00123FC423B5}.debug_shared|Win32.Deploy.0 = debug_shared|Win32
{24134877-368D-11DB-9FBC-00123FC423B5}.release_shared|Win32.ActiveCfg = release_shared|Win32
{24134877-368D-11DB-9FBC-00123FC423B5}.release_shared|Win32.Build.0 = release_shared|Win32
{24134877-368D-11DB-9FBC-00123FC423B5}.release_shared|Win32.Deploy.0 = release_shared|Win32
{24134877-368D-11DB-9FBC-00123FC423B5}.debug_static_mt|Win32.ActiveCfg = debug_static_mt|Win32
{24134877-368D-11DB-9FBC-00123FC423B5}.debug_static_mt|Win32.Build.0 = debug_static_mt|Win32
{24134877-368D-11DB-9FBC-00123FC423B5}.debug_static_mt|Win32.Deploy.0 = debug_static_mt|Win32
{24134877-368D-11DB-9FBC-00123FC423B5}.release_static_mt|Win32.ActiveCfg = release_static_mt|Win32
{24134877-368D-11DB-9FBC-00123FC423B5}.release_static_mt|Win32.Build.0 = release_static_mt|Win32
{24134877-368D-11DB-9FBC-00123FC423B5}.release_static_mt|Win32.Deploy.0 = release_static_mt|Win32
{24134877-368D-11DB-9FBC-00123FC423B5}.debug_static_md|Win32.ActiveCfg = debug_static_md|Win32
{24134877-368D-11DB-9FBC-00123FC423B5}.debug_static_md|Win32.Build.0 = debug_static_md|Win32
{24134877-368D-11DB-9FBC-00123FC423B5}.debug_static_md|Win32.Deploy.0 = debug_static_md|Win32
{24134877-368D-11DB-9FBC-00123FC423B5}.release_static_md|Win32.ActiveCfg = release_static_md|Win32
{24134877-368D-11DB-9FBC-00123FC423B5}.release_static_md|Win32.Build.0 = release_static_md|Win32
{24134877-368D-11DB-9FBC-00123FC423B5}.release_static_md|Win32.Deploy.0 = release_static_md|Win32
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
EndGlobal

1207
vendor/POCO/PDF/PDF_vs90.vcproj vendored Normal file

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,7 @@
include(CMakeFindDependencyMacro)
find_dependency(PocoFoundation)
if(@POCO_UNBUNDLED@)
find_dependency(ZLIB REQUIRED)
endif()
include("${CMAKE_CURRENT_LIST_DIR}/PocoPDFTargets.cmake")

4
vendor/POCO/PDF/dependencies vendored Normal file
View File

@ -0,0 +1,4 @@
Foundation
XML
JSON
Util

View File

@ -0,0 +1,92 @@
//
// DocumentTemplate.h
//
#ifndef PDF_AttributedString_INCLUDED
#define PDF_AttributedString_INCLUDED
#include "Poco/PDF/PDF.h"
#include "Poco/PDF/Font.h"
#include "Poco/Dynamic/Var.h"
namespace Poco {
namespace PDF {
class PDF_API AttributedString
{
public:
enum Alignment
{
ALIGN_LEFT = -1,
ALIGN_CENTER = 0,
ALIGN_RIGHT = 1
};
enum Style
{
STYLE_PLAIN = 0,
STYLE_BOLD = 1,
STYLE_ITALIC = 2
};
enum Attributes
{
ATTR_FONT = 1, // font name (std::string)
ATTR_SIZE = 2, // font size (int)
ATTR_STYLE = 3, // style bitmask (int)
ATTR_ALIGN = 4, // alignment (-1 = left, 0 = center, 1 = right)
};
AttributedString();
~AttributedString();
AttributedString(const char* str);
AttributedString(const std::string& str, Alignment align = ALIGN_LEFT, int style = (int)STYLE_PLAIN);
AttributedString& operator=(const std::string&);
AttributedString& operator=(const char*);
operator const std::string&();
void setAttribute(int attr, const Poco::Dynamic::Var& value);
Poco::Dynamic::Var getAttribute(int attr);
void clearAttribute(int attr);
private:
std::string _content;
Alignment _align;
int _style;
std::string _fontName;
int _fontSize;
};
//
// inlines
//
inline AttributedString& AttributedString::operator=(const std::string& content)
{
_content = content;
return *this;
}
inline AttributedString& AttributedString::operator=(const char* content)
{
_content = content;
return *this;
}
inline AttributedString::operator const std::string&()
{
return _content;
}
} } // namespace Poco::PDF
#endif // PDF_AttributedString_INCLUDED

176
vendor/POCO/PDF/include/Poco/PDF/Cell.h vendored Normal file
View File

@ -0,0 +1,176 @@
//
// Cell.h
//
#ifndef PDF_Cell_INCLUDED
#define PDF_Cell_INCLUDED
#include "Poco/PDF/PDF.h"
#include "Poco/PDF/Page.h"
#include "Poco/PDF/AttributedString.h"
#include "Poco/SharedPtr.h"
#include <string>
namespace Poco {
namespace PDF {
class PDF_API Cell
{
public:
typedef SharedPtr<Cell> Ptr;
typedef std::map<int, std::string> FontMap;
typedef SharedPtr<FontMap> FontMapPtr;
enum Outline
{
OUTLINE_NONE = 0,
OUTLINE_LEFT = 1,
OUTLINE_TOP = 2,
OUTLINE_RIGHT = 4,
OUTLINE_BOTTOM = 8
};
Cell(const AttributedString& content = "", const std::string& name = "", FontMapPtr pFontMap = 0);
Cell(const AttributedString& content, FontMapPtr pFontMap, const std::string& encoding = "UTF-8" , bool trueType = true, int widthAsPct=-1);
~Cell();
const std::string& getName() const;
void setName(const std::string& name);
const AttributedString& getContent() const;
void setContent(const AttributedString& content);
unsigned getOutline() const;
void setOutline(Outline outline, bool show = true);
void borderLeft(bool show = true);
void borderTop(bool show = true);
void borderRight(bool show = true);
void borderBottom(bool show = true);
void borderTopBottom(bool show = true);
void borderLeftRight(bool show = true);
void borderAll(bool show = true);
float getLineWidth() const;
void setLineWidth(float width);
void setFonts(FontMapPtr pFontMap);
FontMapPtr getFonts() const { return _pFontMap; }
void draw(Page& page, float x, float y, float width, float height);
int getWidthAsPct() const;
void setWidthAsPct(int width);
bool hasWidth() const;
private:
AttributedString _content;
std::string _name;
unsigned _outline;
float _lineWidth;
FontMapPtr _pFontMap;
std::string _encoding;
bool _trueType;
int _widthAsPct;
};
typedef std::vector<Cell> TableRow;
//
// inlines
//
inline const std::string& Cell::getName() const
{
return _name;
}
inline void Cell::setName(const std::string& name)
{
_name = name;
}
inline const AttributedString& Cell::getContent() const
{
return _content;
}
inline void Cell::setContent(const AttributedString& content)
{
_content = content;
}
inline unsigned Cell::getOutline() const
{
return _outline;
}
inline void Cell::setOutline(Cell::Outline outline, bool show)
{
if (show) _outline |= outline;
else _outline &= ~outline;
}
inline void Cell::borderLeft(bool show)
{
setOutline(OUTLINE_LEFT, show);
}
inline void Cell::borderTop(bool show)
{
setOutline(OUTLINE_TOP, show);
}
inline void Cell::borderRight(bool show)
{
setOutline(OUTLINE_RIGHT, show);
}
inline void Cell::borderBottom(bool show)
{
setOutline(OUTLINE_BOTTOM, show);
}
inline float Cell::getLineWidth() const
{
return _lineWidth;
}
inline void Cell::setLineWidth(float width)
{
_lineWidth = width;
}
inline int Cell::getWidthAsPct() const
{
return _widthAsPct;
}
inline void Cell::setWidthAsPct(int width)
{
_widthAsPct = width;
}
inline bool Cell::hasWidth() const
{
return _widthAsPct > 0;
}
} } // namespace Poco::PDF
#endif // PDF_Cell_INCLUDED

View File

@ -0,0 +1,130 @@
//
// Destination.h
//
// Library: PDF
// Package: PDFCore
// Module: Destination
//
// Definition of the Destination class.
//
// Copyright (c) 2006, Applied Informatics Software Engineering GmbH.
// and Contributors.
//
// SPDX-License-Identifier: BSL-1.0
//
#ifndef PDF_Destination_INCLUDED
#define PDF_Destination_INCLUDED
#include "Poco/PDF/PDF.h"
#include "Poco/PDF/Resource.h"
namespace Poco {
namespace PDF {
class PDF_API Destination: public Resource<HPDF_Destination>
/// Destination class represents destination resource.
{
public:
Destination(HPDF_Doc* pPDF, const HPDF_Destination& resource, const std::string& name = "");
/// Creates the destination.
~Destination();
/// Destroys the destination.
void positionAndZoom(float x, float y, float zoom);
/// Sets the position and zoom for destination.
void fit();
/// Sets the appearance of the page to displaying entire page within the window.
void fitHorizontal(float top);
/// Defines the appearance of a page to magnifying to fit the height of the
/// page within the window and setting the top position of the page to the
/// value of the "top" parameter.
void fitVertical(float left);
/// Defines the appearance of a page to magnifying to fit the height of the
/// page within the window and setting the left position of the page to the
/// value of the "left" parameter.
void fitRectangle(float left, float top, float right, float bottom);
/// Defines the appearance of a page to magnifying the page to fit a rectangle
/// specified by left, bottom, right and top.
void fitWindow();
/// Sets the appearance of the page to magnifying to fit the bounding box of
/// the page within the window.
void fitWindowHorizontal(float top);
/// Defines the appearance of a page to magnifying to fit the width of the
/// bounding box of the page within the window and setting the top position
/// of the page to the value of the "top" parameter.
void fitWindowVertical(float left);
/// Defines the appearance of a page to magnifying to fit the height of the
/// bounding box of the page within the window and setting the left position
/// of the page to the value of the "left" parameter.
};
//
// inlines
//
inline void Destination::positionAndZoom(float x, float y, float zoom)
{
HPDF_Destination_SetXYZ(handle(), x, y, zoom);
}
inline void Destination::fit()
{
HPDF_Destination_SetFit(handle());
}
inline void Destination::fitHorizontal(float top)
{
HPDF_Destination_SetFitH(handle(), top);
}
inline void Destination::fitVertical(float left)
{
HPDF_Destination_SetFitV(handle(), left);
}
inline void Destination::fitRectangle(float left, float top, float right, float bottom)
{
HPDF_Destination_SetFitR(handle(), left, bottom, right, top);
}
inline void Destination::fitWindow()
{
HPDF_Destination_SetFitB(handle());
}
inline void Destination::fitWindowHorizontal(float top)
{
HPDF_Destination_SetFitBH(handle(), top);
}
inline void Destination::fitWindowVertical(float left)
{
HPDF_Destination_SetFitBV(handle(), left);
}
} } // namespace Poco::PDF
#endif // PDF_Destination_INCLUDED

View File

@ -0,0 +1,506 @@
//
// Document.h
//
// Library: PDF
// Package: PDFCore
// Module: Document
//
// Definition of the Document class.
//
// Copyright (c) 2006, Applied Informatics Software Engineering GmbH.
// and Contributors.
//
// SPDX-License-Identifier: BSL-1.0
//
#ifndef PDF_Document_INCLUDED
#define PDF_Document_INCLUDED
#include "Poco/PDF/PDF.h"
#include "Poco/PDF/Page.h"
#include "Poco/PDF/Outline.h"
#include "Poco/PDF/Resource.h"
#include <deque>
#include <map>
namespace Poco {
class LocalDateTime;
namespace PDF {
class PDF_API Document
/// A Document represents a PDF document object.
{
public:
typedef HPDF_BYTE* DataPtr;
typedef HPDF_UINT32 SizeType;
typedef std::deque<Page> PageContainer;
typedef std::deque<Outline> OutlineContainer;
typedef std::map<std::string, Font> FontContainer;
typedef std::map<std::string, Encoder> EncoderContainer;
typedef std::map<std::string, Image> ImageContainer;
enum Info
{
INFO_CREATION_DATE = HPDF_INFO_CREATION_DATE,
INFO_MOD_DATE = HPDF_INFO_MOD_DATE,
INFO_AUTHOR = HPDF_INFO_AUTHOR,
INFO_CREATOR = HPDF_INFO_CREATOR,
INFO_TITLE = HPDF_INFO_TITLE,
INFO_SUBJECT = HPDF_INFO_SUBJECT,
INFO_KEYWORDS = HPDF_INFO_KEYWORDS
};
enum Permission
{
ENABLE_READ = HPDF_ENABLE_READ,
/// User can read the document.
ENABLE_PRINT = HPDF_ENABLE_PRINT,
/// User can print the document.
ENABLE_EDIT_ALL = HPDF_ENABLE_EDIT_ALL,
/// User can edit the contents of the document other than annotations, form fields.
ENABLE_COPY = HPDF_ENABLE_COPY,
/// User can copy the text and the graphics of the document.
ENABLE_EDIT = HPDF_ENABLE_EDIT
/// User can add or modify the annotations and form fields of the document.
};
enum PageLayout
{
PAGE_LAYOUT_SINGLE = HPDF_PAGE_LAYOUT_SINGLE,
/// Only one page is displayed.
PAGE_LAYOUT_ONE_COLUMN = HPDF_PAGE_LAYOUT_ONE_COLUMN,
/// Display the pages in one column.
PAGE_LAYOUT_TWO_COLUMN_LEFT = HPDF_PAGE_LAYOUT_TWO_COLUMN_LEFT,
/// Display the pages in two column. The page of the odd number is displayed left.
PAGE_LAYOUT_TWO_COLUMN_RIGHT = HPDF_PAGE_LAYOUT_TWO_COLUMN_RIGHT
/// Display the pages in two column. The page of the odd number is displayed right.
};
enum PageMode
{
PAGE_MODE_USE_NONE = HPDF_PAGE_MODE_USE_NONE,
/// Display the document with neither outline nor thumbnail.
PAGE_MODE_USE_OUTLINE = HPDF_PAGE_MODE_USE_OUTLINE,
/// Display the document with outline pain.
PAGE_MODE_USE_THUMBS = HPDF_PAGE_MODE_USE_THUMBS,
///Display the document with thumbnail pain.
PAGE_MODE_FULL_SCREEN = HPDF_PAGE_MODE_FULL_SCREEN
/// Display the document with full screen mode.
};
enum Compression
{
COMPRESSION_NONE = HPDF_COMP_NONE,
/// All contents are not compressed.
COMPRESSION_TEXT = HPDF_COMP_TEXT,
/// Compress the contents stream of the page.
COMPRESSION_IMAGE = HPDF_COMP_IMAGE,
/// Compress the streams of the image objects.
COMPRESSION_METADATA = HPDF_COMP_METADATA,
/// Other stream datas (fonts, cmaps and so on) are compressed.
COMPRESSION_ALL = HPDF_COMP_ALL
/// All stream datas are compressed.
/// (Same as HPDF_COMP_TEXT | HPDF_COMP_IMAGE | HPDF_COMP_METADATA)
};
enum Encryption
{
ENCRYPT_R2 = HPDF_ENCRYPT_R2,
/// Use "Revision 2" algorithm.
/// The length of key is automatically set to 5(40bit).
ENCRYPT_R3 = HPDF_ENCRYPT_R3
/// Use "Revision 3" algorithm.
/// Between 5(40bit) and 16(128bit) can be specified for length of the key.
};
enum PageNumberStyle
{
PAGE_NUM_STYLE_DECIMAL = HPDF_PAGE_NUM_STYLE_DECIMAL,
/// Page label is displayed by Arabic numerals.
PAGE_NUM_STYLE_UPPER_ROMAN = HPDF_PAGE_NUM_STYLE_UPPER_ROMAN,
/// Page label is displayed by Uppercase roman numerals.
PAGE_NUM_STYLE_LOWER_ROMAN = HPDF_PAGE_NUM_STYLE_LOWER_ROMAN,
/// Page label is displayed by Lowercase roman numerals.
PAGE_NUM_STYLE_UPPER_LETTERS = HPDF_PAGE_NUM_STYLE_UPPER_LETTERS,
/// Page label is displayed by Uppercase letters (using A to Z).
PAGE_NUM_STYLE_LOWER_LETTERS = HPDF_PAGE_NUM_STYLE_LOWER_LETTERS,
/// Page label is displayed by Lowercase letters (using a to z).
};
Document(const std::string fileName = "",
Poco::UInt32 pageCount = 1,
Page::Size pageSize = Page::PAGE_SIZE_LETTER,
Page::Orientation orientation = Page::ORIENTATION_PORTRAIT);
/// Creates the Document, sets the file name to the specified value and
/// creates the specified number of pages.
Document(Poco::UInt32 pageCount,
Page::Size pageSize = Page::PAGE_SIZE_LETTER,
Page::Orientation orientation = Page::ORIENTATION_PORTRAIT);
/// Creates the Document, sets the file name to the specified value and
/// creates the specified number of pages.
virtual ~Document();
/// Destroys the Document.
void createNew(bool resetAll = false);
/// Resets the current document and creates a new one.
/// If resetAll is true, the loaded resources are unloaded
/// prior to creating the new document.
void save(const std::string fileName = "");
/// Saves the document to the specified file.
/// If fileName is empty string, the member variable
/// _fileName is used. If member variable is empty string,
/// document is saved to the memory stream.
const DataPtr data(SizeType& sz);
/// Returns the document content as raw data and data size in
/// the sz argument.
SizeType size();
/// Resets the document stream, reads the document into the stream and
/// returns the document data size.
void setPages(std::size_t pagePerPages);
/// Sets the number of pages per page.
/// See HARU library HPDF_SetPagesConfiguration API call
/// documentation for detailed explanation.
void setPageLayout(PageLayout pageLayout);
/// Sets the page layout.
PageLayout getPageLayout() const;
/// Returns the current page layout.
void setPageMode(PageMode pageMode);
/// Sets the page mode.
PageMode getPageMode() const;
/// Returns the current page mode.
const Page& getPage(int index);
/// Returns the page at index position.
const Page& operator [] (int index);
/// Returns the page at index position.
const Page& getCurrentPage();
/// Returns the current page.
const Page& addPage(Page::Size pageSize= Page::PAGE_SIZE_LETTER,
Page::Orientation orientation = Page::ORIENTATION_PORTRAIT);
/// Adds a page at the end of the document and returns the reference to it.
const Page& insertPage(int index,
Page::Size pageSize= Page::PAGE_SIZE_LETTER,
Page::Orientation orientation = Page::ORIENTATION_PORTRAIT);
/// Inserts the page before the page at index position and returns the reference to it.
//void openAction();
/// Sets the first page that appears when document is opened.
const Font& loadFont(const std::string& name, const std::string& encoding);
const Font& font(const std::string& name, const std::string& encoding = "");
/// Looks for the font with specified name in the font container.
/// If the font is not found, it is created.
/// Returns the reference to the requested font.
std::string loadType1Font(const std::string& afmFileName, const std::string& pfmFileName);
/// Loads type 1 font from file. Returns font name.
std::string loadTTFont(const std::string& fileName, bool embed, int index = -1);
/// Loads true type font from file. Returns font name.
/// If the embed parameter is true, the glyph data of the font is embedded,
/// otherwise only the matrix data is included in PDF file.
const Image& loadPNGImage(const std::string& fileName);
/// Loads the specified PNG image from the file and returns reference to it.
const Image& loadPNGImageInfo(const std::string& fileName);
/// Loads the specified PNG image information from the file and returns reference to it.
/// Unlike loadPNGImage, this function does not load the whole data immediately.
/// Only size and color properties are loaded. The image data is loaded just before the
/// image object is written to PDF, and the loaded data is deleted immediately.
const Image& loadJPEGImage(const std::string& fileName);
/// Loads the specified PNG image from the file and returns reference to it.
void compression(Compression mode);
/// Sets the compression mode.
void encryption(Encryption mode, Poco::UInt32 keyLength);
/// Sets the encryption mode.
const Encoder& loadEncoder(const std::string& name);
/// Loads the encoder.
const Encoder& getCurrentEncoder();
/// Returns the current encoder.
const Encoder& setCurrentEncoder(const std::string& name);
/// Set the encoder as current and returns a reference to it.
void addPageLabel(int pageNum, PageNumberStyle style, int firstPage, const std::string& prefix = "");
/// adds page labeling range for the document.
void useUTF8Encoding();
/// Enables use of UTF-8 encoding (default enabled).
void useJapaneseFonts();
/// Enables use of Japanese fonts.
void useKoreanFonts();
/// Enables use of Korean fonts.
void useChineseFonts();
/// Enables use of Chinese fonts.
void useChineseTraditionalFonts();
/// Enables use of Chinese Traditional fonts.
void useJapaneseEncodings();
/// Enables use of Japanese encodings.
void useKoreanEncodings();
/// Enables use of Korean encodings.
void useChineseEncodings();
/// Enables use of Chinese encodings.
void useChineseTraditionalEncodings();
/// Enables use of Chinese Traditional encodings.
void extendedGraphicState();
/// Creates extended graphic state object.
/// Bumps up the version of PDF to 1.4.
/// NOTE:
/// In Acrobat Reader 5.0, when ExtGState object is used combined with HPDF_Page_Concat(),
/// there is a case that cannot be correctly displayed.
const Outline& createOutline(const std::string& title, const Outline& outline, const Encoder& encoder);
/// Creates the outline.
void setInfo(Info info, const std::string& value);
/// Sets the document info.
void setInfo(Info info, const LocalDateTime& dt);
/// Sets the document creation or moidification date.
std::string getInfo(Info info);
/// Returns the document info.
void setPassword(const std::string& ownerPassword, const std::string& userPassword);
/// Sets the document owner and user passwords.
void setPermission(Permission perm);
/// Sets the permission on the document.
std::size_t pageCount() const;
/// Returns number of pages in the document.
private:
HPDF_Doc& handle();
void init(Poco::UInt32 pageCount,
Page::Size pageSize, Page::Orientation orientation);
void reset(bool all = false);
/// Resets the current document. If all is true, the loaded
/// resources (e.g. fonts, encodings ...)are unloaded. Otherwise
/// the resources are not unloaded.
const Image& loadPNGImageImpl(const std::string& fileName, bool doLoad);
HPDF_Doc _pdf;
std::string _fileName;
DataPtr _pRawData;
SizeType _size;
PageContainer _pages;
FontContainer _fonts;
EncoderContainer _encoders;
OutlineContainer _outlines;
ImageContainer _images;
friend class Page;
};
//
// inlines
//
inline void Document::setPages(std::size_t pagePerPages)
{
HPDF_SetPagesConfiguration(_pdf, static_cast<HPDF_UINT>(pagePerPages));
}
inline void Document::setPageLayout(PageLayout pageLayout)
{
HPDF_SetPageLayout(_pdf, static_cast<HPDF_PageLayout>(pageLayout));
}
inline Document::PageLayout Document::getPageLayout() const
{
return static_cast<PageLayout>(HPDF_GetPageLayout(_pdf));
}
inline void Document::setPageMode(PageMode pageMode)
{
HPDF_SetPageMode(_pdf, static_cast<HPDF_PageMode>(pageMode));
}
inline Document::PageMode Document::getPageMode() const
{
return static_cast<PageMode>(HPDF_GetPageMode(_pdf));
}
/*
inline void openAction()
{
HPDF_SetOpenAction(_pdf, HPDF_Destination open_action);
}
*/
inline const Page& Document::getPage(int index)
{
return _pages.at(index);
}
inline const Page& Document::operator [] (int index)
{
return _pages[index];
}
inline void Document::compression(Compression mode)
{
HPDF_SetCompressionMode(_pdf, mode);
}
inline void Document::addPageLabel(int pageNum, PageNumberStyle style, int firstPage, const std::string& prefix)
{
HPDF_AddPageLabel(_pdf,
static_cast<HPDF_UINT>(pageNum),
static_cast<HPDF_PageNumStyle>(style),
static_cast<HPDF_UINT>(firstPage),
prefix.c_str());
}
inline void Document::useUTF8Encoding()
{
HPDF_UseUTFEncodings(_pdf);
}
inline void Document::useJapaneseFonts()
{
HPDF_UseJPFonts(_pdf);
}
inline void Document::useKoreanFonts()
{
HPDF_UseKRFonts(_pdf);
}
inline void Document::useChineseFonts()
{
HPDF_UseCNSFonts(_pdf);
}
inline void Document::useChineseTraditionalFonts()
{
HPDF_UseCNTFonts(_pdf);
}
inline void Document::useJapaneseEncodings()
{
HPDF_UseJPEncodings(_pdf);
}
inline void Document::useKoreanEncodings()
{
HPDF_UseKREncodings(_pdf);
}
inline void Document::useChineseEncodings()
{
HPDF_UseCNSEncodings(_pdf);
}
inline void Document::useChineseTraditionalEncodings()
{
HPDF_UseCNTEncodings(_pdf);
}
inline void Document::extendedGraphicState()
{
HPDF_CreateExtGState(_pdf);
}
inline const Image& Document::loadPNGImage(const std::string& fileName)
{
return loadPNGImageImpl(fileName, true);
}
inline const Image& Document::loadPNGImageInfo(const std::string& fileName)
{
return loadPNGImageImpl(fileName, false);
}
inline std::string Document::getInfo(Info info)
{
return HPDF_GetInfoAttr(_pdf, static_cast<HPDF_InfoType>(info));
}
inline void Document::setPermission(Permission perm)
{
HPDF_SetPermission(_pdf, static_cast<HPDF_UINT>(perm));
}
inline std::size_t Document::pageCount() const
{
return _pages.size();
}
inline HPDF_Doc& Document::handle()
{
return _pdf;
}
} } // namespace Poco::PDF
#endif // PDF_Document_INCLUDED

View File

@ -0,0 +1,113 @@
//
// Encoder.h
//
// Library: PDF
// Package: PDFCore
// Module: Encoder
//
// Definition of the Encoder class.
//
// Copyright (c) 2006, Applied Informatics Software Engineering GmbH.
// and Contributors.
//
// SPDX-License-Identifier: BSL-1.0
//
#ifndef PDF_Encoder_INCLUDED
#define PDF_Encoder_INCLUDED
#include "Poco/PDF/PDF.h"
#include "Poco/PDF/Resource.h"
#include "Poco/Exception.h"
namespace Poco {
namespace PDF {
class PDF_API Encoder: public Resource<HPDF_Encoder>
/// Encoder class represents encoder resource.
{
public:
enum Type
{
ENCODER_TYPE_SINGLE_BYTE = HPDF_ENCODER_TYPE_SINGLE_BYTE,
/// This encoder is an encoder for single byte characters.
ENCODER_TYPE_DOUBLE_BYTE = HPDF_ENCODER_TYPE_DOUBLE_BYTE,
/// This encoder is an encoder for multi byte characters.
ENCODER_TYPE_UNINITIALIZED = HPDF_ENCODER_TYPE_UNINITIALIZED,
/// This encoder is uninitialized. (May be it is an encoder for multi byte characters.)
ENCODER_TYPE_UNKNOWN = HPDF_ENCODER_UNKNOWN
/// Invalid encoder.
};
enum ByteType
{
ENCODER_BYTE_TYPE_SINGLE = HPDF_BYTE_TYPE_SINGLE,
/// Single byte character.
ENCODER_BYTE_TYPE_LEAD = HPDF_BYTE_TYPE_LEAD,
/// Lead byte of a double-byte character.
ENCODER_BYTE_TYPE_TRIAL = HPDF_BYTE_TYPE_TRIAL,
/// Trailing byte of a double-byte character.
ENCODER_BYTE_TYPE_UNKNOWN = HPDF_BYTE_TYPE_UNKNOWN
/// Invalid encoder or cannot judge the byte type.
};
enum WriteMode
{
WRITE_MODE_HORIZONTAL = HPDF_WMODE_HORIZONTAL,
/// Horizontal writing mode.
WRITE_MODE_VERTICAL = HPDF_WMODE_VERTICAL
/// Vertical writing mode;
};
Encoder(HPDF_Doc* pPDF, const HPDF_Encoder& resource, const std::string& name = "");
/// Creates the encoder.
~Encoder();
/// Destroys the encoder.
Type getType() const;
/// Returns the type of an encoding object.
ByteType getByteType(const std::string& text, int index = 0) const;
/// Returns the type of byte in the text at position index
WriteMode writeMode();
/// Returns the writing mode for the encoding object.
};
//
// inlines
//
inline Encoder::Type Encoder::getType() const
{
return static_cast<Type>(HPDF_Encoder_GetType(handle()));
}
inline Encoder::ByteType Encoder::getByteType(const std::string& text, int index) const
{
if (index < 0)
throw InvalidArgumentException("Negative values not allowed.");
return static_cast<ByteType>(HPDF_Encoder_GetByteType(handle(),
text.c_str(),
static_cast<HPDF_UINT>(index)));
}
inline Encoder::WriteMode Encoder::writeMode()
{
return static_cast<WriteMode>(HPDF_Encoder_GetWritingMode(handle()));
}
} } // namespace Poco::PDF
#endif // PDF_Encoder_INCLUDED

149
vendor/POCO/PDF/include/Poco/PDF/Font.h vendored Normal file
View File

@ -0,0 +1,149 @@
//
// Font.h
//
// Library: PDF
// Package: PDFCore
// Module: Font
//
// Definition of the Font class.
//
// Copyright (c) 2006, Applied Informatics Software Engineering GmbH.
// and Contributors.
//
// SPDX-License-Identifier: BSL-1.0
//
#ifndef PDF_Font_INCLUDED
#define PDF_Font_INCLUDED
#include "Poco/PDF/PDF.h"
#include "Poco/PDF/Resource.h"
namespace Poco {
namespace PDF {
class PDF_API Font: public Resource<HPDF_Font>
/// Font class represents font resource.
{
public:
Font(HPDF_Doc* pPDF, HPDF_Font resource);
/// Creates the font.
~Font();
/// Destroys the font.
std::string encodingName() const;
/// Returns the name of the encoding.
int unicodeWidth(Poco::UInt16 ch) const;
/// Returns the screen width of 16-bit Unicode character.
Rectangle boundingBox() const;
/// Returns the font's bounding box.
int ascent() const;
/// Returns the vertical ascent of the font.
int descent() const;
/// Returns the vertical ascent of the font.
int lowerHeight() const;
/// Returns the distance from the baseline of lowercase letters.
int upperHeight() const;
/// Returns the distance from the baseline of uppercase letters.
TextWidth textWidth(const std::string& text);
/// Returns total width of the text, number of characters and number of the words.
int measureText(const std::string& text,
float width,
float fontSize,
float charSpace,
float wordSpace,
bool wordWrap);
/// Calculates the byte length which can be included within the specified width.
};
//
// inlines
//
inline std::string Font::encodingName() const
{
return HPDF_Font_GetEncodingName(handle());
}
inline int Font::unicodeWidth(Poco::UInt16 ch) const
{
return HPDF_Font_GetUnicodeWidth(handle(), ch);
}
inline Rectangle Font::boundingBox() const
{
return HPDF_Font_GetBBox(handle());
}
inline int Font::ascent() const
{
return HPDF_Font_GetAscent(handle());
}
inline int Font::descent() const
{
return HPDF_Font_GetDescent(handle());
}
inline int Font::lowerHeight() const
{
return static_cast<int>(HPDF_Font_GetXHeight(handle()));
}
inline int Font::upperHeight() const
{
return static_cast<int>(HPDF_Font_GetCapHeight(handle()));
}
inline TextWidth Font::textWidth(const std::string& text)
{
return HPDF_Font_TextWidth(handle(),
reinterpret_cast<const HPDF_BYTE*>(text.data()),
static_cast<HPDF_UINT>(text.size()));
}
inline int Font::measureText(const std::string& text,
float width,
float fontSize,
float charSpace,
float wordSpace,
bool wordWrap)
{
return static_cast<int>(HPDF_Font_MeasureText(handle(),
reinterpret_cast<const HPDF_BYTE*>(text.data()),
static_cast<HPDF_UINT>(text.size()),
width,
fontSize,
charSpace,
wordSpace,
wordWrap,
0));
}
} } // namespace Poco::PDF
#endif // PDF_Font_INCLUDED

119
vendor/POCO/PDF/include/Poco/PDF/Image.h vendored Normal file
View File

@ -0,0 +1,119 @@
//
// Image.h
//
// Library: PDF
// Package: PDFCore
// Module: Image
//
// Definition of the Image class.
//
// Copyright (c) 2006, Applied Informatics Software Engineering GmbH.
// and Contributors.
//
// SPDX-License-Identifier: BSL-1.0
//
#ifndef PDF_Image_INCLUDED
#define PDF_Image_INCLUDED
#include "Poco/PDF/PDF.h"
#include "Poco/PDF/Resource.h"
namespace Poco {
namespace PDF {
class PDF_API Image: public Resource<HPDF_Image>
/// Image class represents image resource.
{
public:
Image(HPDF_Doc* pPDF, const HPDF_Image& resource, const std::string& name = "");
/// Creates the image.
~Image();
/// Destroys the image.
Point size() const;
/// Returns the size of the image.
float width() const;
/// Returns the width of the image.
float height() const;
/// Returns the height of the image.
Poco::UInt32 bitsPerColor() const;
/// Returns the number of bits per color.
std::string colorSpace() const;
/// Returns the name of the image's color space.
void colorMask(Poco::UInt32 redMin,
Poco::UInt32 redMax,
Poco::UInt32 greenMin,
Poco::UInt32 greenMax,
Poco::UInt32 blueMin,
Poco::UInt32 blueMax);
/// Sets the transparent color of the image by the RGB range values.
/// The color within the range is displayed as a transparent color.
/// The Image must be of the RGB color space.
};
//
// inlines
//
inline Point Image::size() const
{
return HPDF_Image_GetSize(handle());
}
inline float Image::width() const
{
return static_cast<float>(HPDF_Image_GetWidth(handle()));
}
inline float Image::height() const
{
return static_cast<float>(HPDF_Image_GetHeight(handle()));
}
inline Poco::UInt32 Image::bitsPerColor() const
{
return HPDF_Image_GetBitsPerComponent(handle());
}
inline std::string Image::colorSpace() const
{
return HPDF_Image_GetColorSpace(handle());
}
inline void Image::colorMask(Poco::UInt32 redMin,
Poco::UInt32 redMax,
Poco::UInt32 greenMin,
Poco::UInt32 greenMax,
Poco::UInt32 blueMin,
Poco::UInt32 blueMax)
{
HPDF_Image_SetColorMask(handle(),
redMin,
redMax,
greenMin,
greenMax,
blueMin,
blueMax);
}
} } // namespace Poco::PDF
#endif // PDF_Image_INCLUDED

View File

@ -0,0 +1,81 @@
//
// LinkAnnotation.h
//
// Library: PDF
// Package: PDFCore
// Module: LinkAnnotation
//
// Definition of the LinkAnnotation class.
//
// Copyright (c) 2006, Applied Informatics Software Engineering GmbH.
// and Contributors.
//
// SPDX-License-Identifier: BSL-1.0
//
#ifndef PDF_LinkAnnotation_INCLUDED
#define PDF_LinkAnnotation_INCLUDED
#include "Poco/PDF/PDF.h"
#include "Poco/PDF/Resource.h"
#include "Poco/PDF/Destination.h"
namespace Poco {
namespace PDF {
class PDF_API LinkAnnotation: public Resource<HPDF_Annotation>
/// A LinkAnnotation represents a PDF annotation resource.
{
public:
enum Highlight
{
HIGHTLIGHT_NONE = HPDF_ANNOT_NO_HIGHTLIGHT,
/// No highlighting.
HIGHTLIGHT_INVERT_BOX = HPDF_ANNOT_INVERT_BOX,
/// Invert the contents of the area of annotation.
HIGHTLIGHT_INVERT_BORDER = HPDF_ANNOT_INVERT_BORDER,
/// Invert the annotation<6F>s border.
HIGHTLIGHT_DOWN_APPEARANCE = HPDF_ANNOT_DOWN_APPEARANCE
/// Dent the annotation.
};
LinkAnnotation(HPDF_Doc* pPDF,
const HPDF_Annotation& annotation,
const std::string& name = "");
/// Creates the annotation.
virtual ~LinkAnnotation();
/// Destroys the annotation.
void setHighlight(Highlight mode);
/// Sets highlighting of the link.
void setBorderStyle(float width, Poco::UInt32 dashOn, Poco::UInt32 dashOff);
/// Sets the link border style.
};
//
// inlines
//
inline void LinkAnnotation::setHighlight(Highlight mode)
{
HPDF_LinkAnnot_SetHighlightMode(handle(),
static_cast<HPDF_AnnotHighlightMode>(mode));
}
inline void LinkAnnotation::setBorderStyle(float width, Poco::UInt32 dashOn, Poco::UInt32 dashOff)
{
HPDF_LinkAnnot_SetBorderStyle(handle(), width, dashOn, dashOff);
}
} } // namespace Poco::PDF
#endif // PDF_LinkAnnotation_INCLUDED

View File

@ -0,0 +1,84 @@
//
// Outline.h
//
// Library: PDF
// Package: PDFCore
// Module: Outline
//
// Definition of the Outline class.
//
// Copyright (c) 2006, Applied Informatics Software Engineering GmbH.
// and Contributors.
//
// SPDX-License-Identifier: BSL-1.0
//
#ifndef PDF_Outline_INCLUDED
#define PDF_Outline_INCLUDED
#include "Poco/PDF/PDF.h"
#include "Poco/PDF/Resource.h"
#include "Poco/PDF/Destination.h"
namespace Poco {
namespace PDF {
class PDF_API Outline: public Resource<HPDF_Outline>
/// A Outline represents a PDF outline resource.
{
public:
typedef HPDF_Outline Type;
Outline(HPDF_Doc* pPDF, const HPDF_Outline& outline, const std::string& name = "");
/// Creates the outline.
Outline(const Outline& other);
/// Copy creates the resource.
~Outline();
/// Destroys the outline.
Outline& operator = (const Outline& resource);
/// Assignment operator.
void open();
/// Opens the outline.
void close();
/// Closes the outline.
void destination(const Destination& dest);
/// Sets the destination for this outline.
};
//
// inlines
//
inline void Outline::open()
{
HPDF_Outline_SetOpened(handle(), HPDF_TRUE);
}
inline void Outline::close()
{
HPDF_Outline_SetOpened(handle(), HPDF_FALSE);
}
inline void Outline::destination(const Destination& dest)
{
HPDF_Outline_SetDestination(handle(), dest);
}
} } // namespace Poco::PDF
#endif // PDF_Outline_INCLUDED

71
vendor/POCO/PDF/include/Poco/PDF/PDF.h vendored Normal file
View File

@ -0,0 +1,71 @@
//
// PDF.h
//
// Library: PDF
// Package: PDFCore
// Module: PDF
//
// Basic definitions for the Poco PDF library.
// This file must be the first file included by every other PDF
// header file.
//
// Copyright (c) 2006, Applied Informatics Software Engineering GmbH.
// and Contributors.
//
// SPDX-License-Identifier: BSL-1.0
//
#ifndef PDF_PDF_INCLUDED
#define PDF_PDF_INCLUDED
#if defined(_MSC_VER) && !defined(POCO_MSVC_SECURE_WARNINGS) && (!defined(_CRT_SECURE_NO_WARNINGS) || !defined(_CRT_SECURE_NO_DEPRECATE))
#ifndef _CRT_SECURE_NO_WARNINGS
#define _CRT_SECURE_NO_WARNINGS
#endif
#ifndef _CRT_SECURE_NO_DEPRECATE
#define _CRT_SECURE_NO_DEPRECATE
#endif
#endif
#include "Poco/Foundation.h"
#include "hpdf.h"
//
// The following block is the standard way of creating macros which make exporting
// from a DLL simpler. All files within this DLL are compiled with the PDF_EXPORTS
// symbol defined on the command line. this symbol should not be defined on any project
// that uses this DLL. This way any other project whose source files include this file see
// PDF_API functions as being imported from a DLL, wheras this DLL sees symbols
// defined with this macro as being exported.
//
#if defined(_WIN32) && defined(POCO_DLL)
#if defined(PDF_EXPORTS)
#define PDF_API __declspec(dllexport)
#else
#define PDF_API __declspec(dllimport)
#endif
#endif
#if !defined(PDF_API)
#if !defined(POCO_NO_GCC_API_ATTRIBUTE) && defined (__GNUC__) && (__GNUC__ >= 4)
#define PDF_API __attribute__ ((visibility ("default")))
#else
#define PDF_API
#endif
#endif
//
// Automatically link PDF library.
//
#if defined(_MSC_VER)
#if !defined(POCO_NO_AUTOMATIC_LIBS) && !defined(PDF_EXPORTS)
#pragma comment(lib, "PocoPDF" POCO_LIB_SUFFIX)
#endif
#endif
#endif // PDF_PDF_INCLUDED

View File

@ -0,0 +1,41 @@
//
// PDFException.h
//
// Library: PDF
// Package: PDFCore
// Module: PDFException
//
// Definition of the PDFException class.
//
// Copyright (c) 2006, Applied Informatics Software Engineering GmbH.
// and Contributors.
//
// SPDX-License-Identifier: BSL-1.0
//
#ifndef PDF_PDFException_INCLUDED
#define PDF_PDFException_INCLUDED
#include "Poco/PDF/PDF.h"
#include "Poco/Exception.h"
namespace Poco {
namespace PDF {
void HPDF_Error_Handler(HPDF_STATUS error_no, HPDF_STATUS detail_no, void* user_data);
/// HARU library error handler function.
/// Throws appropriate exception.
POCO_DECLARE_EXCEPTION(PDF_API, PDFException, Poco::RuntimeException)
POCO_DECLARE_EXCEPTION(PDF_API, PDFCreateException, PDFException)
} } // namespace Poco::PDF
#endif // PDF_PDFException_INCLUDED

1136
vendor/POCO/PDF/include/Poco/PDF/Page.h vendored Normal file

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,127 @@
//
// Resource.h
//
// Library: PDF
// Package: PDFCore
// Module: Resource
//
// Definition of the Resource class.
//
// Copyright (c) 2006, Applied Informatics Software Engineering GmbH.
// and Contributors.
//
// SPDX-License-Identifier: BSL-1.0
//
#ifndef PDF_Resource_INCLUDED
#define PDF_Resource_INCLUDED
#include "Poco/PDF/PDF.h"
#include <vector>
namespace Poco {
namespace PDF {
template <typename R>
class Resource
/// A Resource represents a PDF resource resource.
{
public:
typedef R Type;
Resource(HPDF_Doc* pPDF, const R& resource, const std::string& name = ""):
_pPDF(pPDF),
_resource(resource),
_name(name)
/// Creates the resource
{
}
Resource(const Resource& other):
_pPDF(other._pPDF),
_resource(other._resource),
_name(other._name)
/// Copy creates the resource.
{
}
virtual ~Resource()
/// Destroys the resource.
{
}
Resource& operator = (const Resource& resource)
/// Assignment operator.
{
Resource tmp(resource);
swap(tmp);
return *this;
}
operator const Type& () const
/// Const conversion operator into reference to native type.
{
return _resource;
}
bool operator == (const Resource& other) const
/// Equality operator.
{
return _pPDF == other._pPDF && _resource == other._resource;
}
void swap(Resource& other)
{
using std::swap;
swap(_pPDF, other._pPDF);
swap(_resource, other._resource);
swap(_name, other._name);
}
virtual const std::string& name() const
{
return _name;
}
protected:
const R& handle() const
{
return _resource;
}
private:
Resource();
HPDF_Doc* _pPDF;
R _resource;
std::string _name;
};
//
// typedefs
//
//typedef Resource<HPDF_Annotation> Annotation;
typedef Resource<HPDF_ExtGState> ExtGraphicsState;
typedef HPDF_TransMatrix TransMatrix;
typedef HPDF_Rect Rectangle;
typedef HPDF_Point Point;
typedef HPDF_LineCap LineCap;
typedef HPDF_LineJoin LineJoin;
typedef HPDF_DashMode DashMode;
typedef HPDF_RGBColor RGBColor;
typedef HPDF_CMYKColor CMYKColor;
typedef std::vector<HPDF_UINT16> PatternVec;
typedef HPDF_TextWidth TextWidth;
} } // namespace Poco::PDF
#endif // PDF_Resource_INCLUDED

View File

@ -0,0 +1,85 @@
//
// Table.h
//
#ifndef PDF_Table_INCLUDED
#define PDF_Table_INCLUDED
#include "Poco/PDF/PDF.h"
#include "Poco/PDF/Page.h"
#include "Poco/PDF/Cell.h"
#include "Poco/SharedPtr.h"
#include <string>
namespace Poco {
namespace PDF {
class PDF_API Table
{
public:
typedef SharedPtr<Table> Ptr;
typedef std::vector<TableRow> Cells;
Table(int columnCount, int rowCount, const std::string& name, Cell::FontMapPtr pFontMap = 0);
~Table();
void setCell(int col, int row, const Cell& cell);
void setColumnWidth(int col, double width);
void setFonts(Cell::FontMapPtr pFontMap);
const std::string name() const;
const Cells& cells() const;
void addRow();
void addRow(const TableRow& row);
std::size_t rows() const;
std::size_t columns() const;
void draw(Page& page, float x, float y, float width, float height);
private:
Table();
std::string _name;
Cells _cells;
Cell::FontMapPtr _pFontMap;
};
//
// inlines
//
inline const std::string Table::name() const
{
return _name;
}
inline const Table::Cells& Table::cells() const
{
return _cells;
}
inline std::size_t Table::rows() const
{
return _cells.size();
}
inline std::size_t Table::columns() const
{
return _cells[0].size();
}
} } // namespace Poco::PDF
#endif // PDF_Table_INCLUDED

View File

@ -0,0 +1,88 @@
//
// TextAnnotation.h
//
// Library: PDF
// Package: PDFCore
// Module: TextAnnotation
//
// Definition of the TextAnnotation class.
//
// Copyright (c) 2006, Applied Informatics Software Engineering GmbH.
// and Contributors.
//
// SPDX-License-Identifier: BSL-1.0
//
#ifndef PDF_TextAnnotation_INCLUDED
#define PDF_TextAnnotation_INCLUDED
#include "Poco/PDF/PDF.h"
#include "Poco/PDF/Resource.h"
#include "Poco/PDF/Destination.h"
namespace Poco {
namespace PDF {
class PDF_API TextAnnotation: public Resource<HPDF_Annotation>
/// A TextAnnotation represents a PDF annotation resource.
{
public:
enum IconType
{
ANNOTATION_ICON_COMMENT = HPDF_ANNOT_ICON_COMMENT,
ANNOTATION_ICON_KEY = HPDF_ANNOT_ICON_KEY,
ANNOTATION_ICON_NOTE = HPDF_ANNOT_ICON_NOTE,
ANNOTATION_ICON_HELP = HPDF_ANNOT_ICON_HELP,
ANNOTATION_ICON_NEW_PARAGRAPH = HPDF_ANNOT_ICON_NEW_PARAGRAPH,
ANNOTATION_ICON_PARAGRAPH = HPDF_ANNOT_ICON_PARAGRAPH,
ANNOTATION_ICON_INSERT = HPDF_ANNOT_ICON_INSERT
};
TextAnnotation(HPDF_Doc* pPDF,
const HPDF_Annotation& annotation,
const std::string& name = "");
/// Creates the annotation.
virtual ~TextAnnotation();
/// Destroys the annotation.
void open();
/// Opens the annotation.
void close();
/// Closes the annotation.
void icon(IconType iconType);
};
//
// inlines
//
inline void TextAnnotation::open()
{
HPDF_TextAnnot_SetOpened(handle(), HPDF_TRUE);
}
inline void TextAnnotation::close()
{
HPDF_TextAnnot_SetOpened(handle(), HPDF_FALSE);
}
inline void TextAnnotation::icon(IconType iconType)
{
HPDF_TextAnnot_SetIcon(handle(), static_cast<HPDF_AnnotIcon>(iconType));
}
} } // namespace Poco::PDF
#endif // PDF_TextAnnotation_INCLUDED

View File

@ -0,0 +1,42 @@
//
// XMLTemplate.h
//
#ifndef PDF_XMLTemplate_INCLUDED
#define PDF_XMLTemplate_INCLUDED
#include "Poco/PDF/PDF.h"
#include "Poco/PDF/Document.h"
#include "Poco/Path.h"
#include <istream>
namespace Poco {
namespace PDF {
class PDF_API XMLTemplate
{
public:
XMLTemplate(std::istream& xmlStream, const std::string& base = Poco::Path::current());
XMLTemplate(const std::string& path);
~XMLTemplate();
void create(const std::string& fileName);
protected:
void load(std::istream& xmlStream);
private:
Poco::Path _base;
Document* _pDocument;
};
} } // namespace Poco::PDF
#endif // PDF_DocumentTemplate_INCLUDED

View File

@ -0,0 +1,149 @@
/* adler32.c -- compute the Adler-32 checksum of a data stream
* Copyright (C) 1995-2004 Mark Adler
* For conditions of distribution and use, see copyright notice in zlib.h
*/
/* @(#) $Id$ */
#define ZLIB_INTERNAL
#include "zlib.h"
#define BASE 65521UL /* largest prime smaller than 65536 */
#define NMAX 5552
/* NMAX is the largest n such that 255n(n+1)/2 + (n+1)(BASE-1) <= 2^32-1 */
#define DO1(buf,i) {adler += (buf)[i]; sum2 += adler;}
#define DO2(buf,i) DO1(buf,i); DO1(buf,i+1);
#define DO4(buf,i) DO2(buf,i); DO2(buf,i+2);
#define DO8(buf,i) DO4(buf,i); DO4(buf,i+4);
#define DO16(buf) DO8(buf,0); DO8(buf,8);
/* use NO_DIVIDE if your processor does not do division in hardware */
#ifdef NO_DIVIDE
# define MOD(a) \
do { \
if (a >= (BASE << 16)) a -= (BASE << 16); \
if (a >= (BASE << 15)) a -= (BASE << 15); \
if (a >= (BASE << 14)) a -= (BASE << 14); \
if (a >= (BASE << 13)) a -= (BASE << 13); \
if (a >= (BASE << 12)) a -= (BASE << 12); \
if (a >= (BASE << 11)) a -= (BASE << 11); \
if (a >= (BASE << 10)) a -= (BASE << 10); \
if (a >= (BASE << 9)) a -= (BASE << 9); \
if (a >= (BASE << 8)) a -= (BASE << 8); \
if (a >= (BASE << 7)) a -= (BASE << 7); \
if (a >= (BASE << 6)) a -= (BASE << 6); \
if (a >= (BASE << 5)) a -= (BASE << 5); \
if (a >= (BASE << 4)) a -= (BASE << 4); \
if (a >= (BASE << 3)) a -= (BASE << 3); \
if (a >= (BASE << 2)) a -= (BASE << 2); \
if (a >= (BASE << 1)) a -= (BASE << 1); \
if (a >= BASE) a -= BASE; \
} while (0)
# define MOD4(a) \
do { \
if (a >= (BASE << 4)) a -= (BASE << 4); \
if (a >= (BASE << 3)) a -= (BASE << 3); \
if (a >= (BASE << 2)) a -= (BASE << 2); \
if (a >= (BASE << 1)) a -= (BASE << 1); \
if (a >= BASE) a -= BASE; \
} while (0)
#else
# define MOD(a) a %= BASE
# define MOD4(a) a %= BASE
#endif
/* ========================================================================= */
uLong ZEXPORT adler32(adler, buf, len)
uLong adler;
const Bytef *buf;
uInt len;
{
unsigned long sum2;
unsigned n;
/* split Adler-32 into component sums */
sum2 = (adler >> 16) & 0xffff;
adler &= 0xffff;
/* in case user likes doing a byte at a time, keep it fast */
if (len == 1) {
adler += buf[0];
if (adler >= BASE)
adler -= BASE;
sum2 += adler;
if (sum2 >= BASE)
sum2 -= BASE;
return adler | (sum2 << 16);
}
/* initial Adler-32 value (deferred check for len == 1 speed) */
if (buf == Z_NULL)
return 1L;
/* in case short lengths are provided, keep it somewhat fast */
if (len < 16) {
while (len--) {
adler += *buf++;
sum2 += adler;
}
if (adler >= BASE)
adler -= BASE;
MOD4(sum2); /* only added so many BASE's */
return adler | (sum2 << 16);
}
/* do length NMAX blocks -- requires just one modulo operation */
while (len >= NMAX) {
len -= NMAX;
n = NMAX / 16; /* NMAX is divisible by 16 */
do {
DO16(buf); /* 16 sums unrolled */
buf += 16;
} while (--n);
MOD(adler);
MOD(sum2);
}
/* do remaining bytes (less than NMAX, still just one modulo) */
if (len) { /* avoid modulos if none remaining */
while (len >= 16) {
len -= 16;
DO16(buf);
buf += 16;
}
while (len--) {
adler += *buf++;
sum2 += adler;
}
MOD(adler);
MOD(sum2);
}
/* return recombined sums */
return adler | (sum2 << 16);
}
/* ========================================================================= */
uLong ZEXPORT adler32_combine(adler1, adler2, len2)
uLong adler1;
uLong adler2;
z_off_t len2;
{
unsigned long sum1;
unsigned long sum2;
unsigned rem;
/* the derivation of this formula is left as an exercise for the reader */
rem = (unsigned)(len2 % BASE);
sum1 = adler1 & 0xffff;
sum2 = rem * sum1;
MOD(sum2);
sum1 += (adler2 & 0xffff) + BASE - 1;
sum2 += ((adler1 >> 16) & 0xffff) + ((adler2 >> 16) & 0xffff) + BASE - rem;
if (sum1 > BASE) sum1 -= BASE;
if (sum1 > BASE) sum1 -= BASE;
if (sum2 > (BASE << 1)) sum2 -= (BASE << 1);
if (sum2 > BASE) sum2 -= BASE;
return sum1 | (sum2 << 16);
}

441
vendor/POCO/PDF/include/Poco/PDF/crc32.h vendored Normal file
View File

@ -0,0 +1,441 @@
/* crc32.h -- tables for rapid CRC calculation
* Generated automatically by crc32.c
*/
local const unsigned long FAR crc_table[TBLS][256] =
{
{
0x00000000UL, 0x77073096UL, 0xee0e612cUL, 0x990951baUL, 0x076dc419UL,
0x706af48fUL, 0xe963a535UL, 0x9e6495a3UL, 0x0edb8832UL, 0x79dcb8a4UL,
0xe0d5e91eUL, 0x97d2d988UL, 0x09b64c2bUL, 0x7eb17cbdUL, 0xe7b82d07UL,
0x90bf1d91UL, 0x1db71064UL, 0x6ab020f2UL, 0xf3b97148UL, 0x84be41deUL,
0x1adad47dUL, 0x6ddde4ebUL, 0xf4d4b551UL, 0x83d385c7UL, 0x136c9856UL,
0x646ba8c0UL, 0xfd62f97aUL, 0x8a65c9ecUL, 0x14015c4fUL, 0x63066cd9UL,
0xfa0f3d63UL, 0x8d080df5UL, 0x3b6e20c8UL, 0x4c69105eUL, 0xd56041e4UL,
0xa2677172UL, 0x3c03e4d1UL, 0x4b04d447UL, 0xd20d85fdUL, 0xa50ab56bUL,
0x35b5a8faUL, 0x42b2986cUL, 0xdbbbc9d6UL, 0xacbcf940UL, 0x32d86ce3UL,
0x45df5c75UL, 0xdcd60dcfUL, 0xabd13d59UL, 0x26d930acUL, 0x51de003aUL,
0xc8d75180UL, 0xbfd06116UL, 0x21b4f4b5UL, 0x56b3c423UL, 0xcfba9599UL,
0xb8bda50fUL, 0x2802b89eUL, 0x5f058808UL, 0xc60cd9b2UL, 0xb10be924UL,
0x2f6f7c87UL, 0x58684c11UL, 0xc1611dabUL, 0xb6662d3dUL, 0x76dc4190UL,
0x01db7106UL, 0x98d220bcUL, 0xefd5102aUL, 0x71b18589UL, 0x06b6b51fUL,
0x9fbfe4a5UL, 0xe8b8d433UL, 0x7807c9a2UL, 0x0f00f934UL, 0x9609a88eUL,
0xe10e9818UL, 0x7f6a0dbbUL, 0x086d3d2dUL, 0x91646c97UL, 0xe6635c01UL,
0x6b6b51f4UL, 0x1c6c6162UL, 0x856530d8UL, 0xf262004eUL, 0x6c0695edUL,
0x1b01a57bUL, 0x8208f4c1UL, 0xf50fc457UL, 0x65b0d9c6UL, 0x12b7e950UL,
0x8bbeb8eaUL, 0xfcb9887cUL, 0x62dd1ddfUL, 0x15da2d49UL, 0x8cd37cf3UL,
0xfbd44c65UL, 0x4db26158UL, 0x3ab551ceUL, 0xa3bc0074UL, 0xd4bb30e2UL,
0x4adfa541UL, 0x3dd895d7UL, 0xa4d1c46dUL, 0xd3d6f4fbUL, 0x4369e96aUL,
0x346ed9fcUL, 0xad678846UL, 0xda60b8d0UL, 0x44042d73UL, 0x33031de5UL,
0xaa0a4c5fUL, 0xdd0d7cc9UL, 0x5005713cUL, 0x270241aaUL, 0xbe0b1010UL,
0xc90c2086UL, 0x5768b525UL, 0x206f85b3UL, 0xb966d409UL, 0xce61e49fUL,
0x5edef90eUL, 0x29d9c998UL, 0xb0d09822UL, 0xc7d7a8b4UL, 0x59b33d17UL,
0x2eb40d81UL, 0xb7bd5c3bUL, 0xc0ba6cadUL, 0xedb88320UL, 0x9abfb3b6UL,
0x03b6e20cUL, 0x74b1d29aUL, 0xead54739UL, 0x9dd277afUL, 0x04db2615UL,
0x73dc1683UL, 0xe3630b12UL, 0x94643b84UL, 0x0d6d6a3eUL, 0x7a6a5aa8UL,
0xe40ecf0bUL, 0x9309ff9dUL, 0x0a00ae27UL, 0x7d079eb1UL, 0xf00f9344UL,
0x8708a3d2UL, 0x1e01f268UL, 0x6906c2feUL, 0xf762575dUL, 0x806567cbUL,
0x196c3671UL, 0x6e6b06e7UL, 0xfed41b76UL, 0x89d32be0UL, 0x10da7a5aUL,
0x67dd4accUL, 0xf9b9df6fUL, 0x8ebeeff9UL, 0x17b7be43UL, 0x60b08ed5UL,
0xd6d6a3e8UL, 0xa1d1937eUL, 0x38d8c2c4UL, 0x4fdff252UL, 0xd1bb67f1UL,
0xa6bc5767UL, 0x3fb506ddUL, 0x48b2364bUL, 0xd80d2bdaUL, 0xaf0a1b4cUL,
0x36034af6UL, 0x41047a60UL, 0xdf60efc3UL, 0xa867df55UL, 0x316e8eefUL,
0x4669be79UL, 0xcb61b38cUL, 0xbc66831aUL, 0x256fd2a0UL, 0x5268e236UL,
0xcc0c7795UL, 0xbb0b4703UL, 0x220216b9UL, 0x5505262fUL, 0xc5ba3bbeUL,
0xb2bd0b28UL, 0x2bb45a92UL, 0x5cb36a04UL, 0xc2d7ffa7UL, 0xb5d0cf31UL,
0x2cd99e8bUL, 0x5bdeae1dUL, 0x9b64c2b0UL, 0xec63f226UL, 0x756aa39cUL,
0x026d930aUL, 0x9c0906a9UL, 0xeb0e363fUL, 0x72076785UL, 0x05005713UL,
0x95bf4a82UL, 0xe2b87a14UL, 0x7bb12baeUL, 0x0cb61b38UL, 0x92d28e9bUL,
0xe5d5be0dUL, 0x7cdcefb7UL, 0x0bdbdf21UL, 0x86d3d2d4UL, 0xf1d4e242UL,
0x68ddb3f8UL, 0x1fda836eUL, 0x81be16cdUL, 0xf6b9265bUL, 0x6fb077e1UL,
0x18b74777UL, 0x88085ae6UL, 0xff0f6a70UL, 0x66063bcaUL, 0x11010b5cUL,
0x8f659effUL, 0xf862ae69UL, 0x616bffd3UL, 0x166ccf45UL, 0xa00ae278UL,
0xd70dd2eeUL, 0x4e048354UL, 0x3903b3c2UL, 0xa7672661UL, 0xd06016f7UL,
0x4969474dUL, 0x3e6e77dbUL, 0xaed16a4aUL, 0xd9d65adcUL, 0x40df0b66UL,
0x37d83bf0UL, 0xa9bcae53UL, 0xdebb9ec5UL, 0x47b2cf7fUL, 0x30b5ffe9UL,
0xbdbdf21cUL, 0xcabac28aUL, 0x53b39330UL, 0x24b4a3a6UL, 0xbad03605UL,
0xcdd70693UL, 0x54de5729UL, 0x23d967bfUL, 0xb3667a2eUL, 0xc4614ab8UL,
0x5d681b02UL, 0x2a6f2b94UL, 0xb40bbe37UL, 0xc30c8ea1UL, 0x5a05df1bUL,
0x2d02ef8dUL
#ifdef BYFOUR
},
{
0x00000000UL, 0x191b3141UL, 0x32366282UL, 0x2b2d53c3UL, 0x646cc504UL,
0x7d77f445UL, 0x565aa786UL, 0x4f4196c7UL, 0xc8d98a08UL, 0xd1c2bb49UL,
0xfaefe88aUL, 0xe3f4d9cbUL, 0xacb54f0cUL, 0xb5ae7e4dUL, 0x9e832d8eUL,
0x87981ccfUL, 0x4ac21251UL, 0x53d92310UL, 0x78f470d3UL, 0x61ef4192UL,
0x2eaed755UL, 0x37b5e614UL, 0x1c98b5d7UL, 0x05838496UL, 0x821b9859UL,
0x9b00a918UL, 0xb02dfadbUL, 0xa936cb9aUL, 0xe6775d5dUL, 0xff6c6c1cUL,
0xd4413fdfUL, 0xcd5a0e9eUL, 0x958424a2UL, 0x8c9f15e3UL, 0xa7b24620UL,
0xbea97761UL, 0xf1e8e1a6UL, 0xe8f3d0e7UL, 0xc3de8324UL, 0xdac5b265UL,
0x5d5daeaaUL, 0x44469febUL, 0x6f6bcc28UL, 0x7670fd69UL, 0x39316baeUL,
0x202a5aefUL, 0x0b07092cUL, 0x121c386dUL, 0xdf4636f3UL, 0xc65d07b2UL,
0xed705471UL, 0xf46b6530UL, 0xbb2af3f7UL, 0xa231c2b6UL, 0x891c9175UL,
0x9007a034UL, 0x179fbcfbUL, 0x0e848dbaUL, 0x25a9de79UL, 0x3cb2ef38UL,
0x73f379ffUL, 0x6ae848beUL, 0x41c51b7dUL, 0x58de2a3cUL, 0xf0794f05UL,
0xe9627e44UL, 0xc24f2d87UL, 0xdb541cc6UL, 0x94158a01UL, 0x8d0ebb40UL,
0xa623e883UL, 0xbf38d9c2UL, 0x38a0c50dUL, 0x21bbf44cUL, 0x0a96a78fUL,
0x138d96ceUL, 0x5ccc0009UL, 0x45d73148UL, 0x6efa628bUL, 0x77e153caUL,
0xbabb5d54UL, 0xa3a06c15UL, 0x888d3fd6UL, 0x91960e97UL, 0xded79850UL,
0xc7cca911UL, 0xece1fad2UL, 0xf5facb93UL, 0x7262d75cUL, 0x6b79e61dUL,
0x4054b5deUL, 0x594f849fUL, 0x160e1258UL, 0x0f152319UL, 0x243870daUL,
0x3d23419bUL, 0x65fd6ba7UL, 0x7ce65ae6UL, 0x57cb0925UL, 0x4ed03864UL,
0x0191aea3UL, 0x188a9fe2UL, 0x33a7cc21UL, 0x2abcfd60UL, 0xad24e1afUL,
0xb43fd0eeUL, 0x9f12832dUL, 0x8609b26cUL, 0xc94824abUL, 0xd05315eaUL,
0xfb7e4629UL, 0xe2657768UL, 0x2f3f79f6UL, 0x362448b7UL, 0x1d091b74UL,
0x04122a35UL, 0x4b53bcf2UL, 0x52488db3UL, 0x7965de70UL, 0x607eef31UL,
0xe7e6f3feUL, 0xfefdc2bfUL, 0xd5d0917cUL, 0xcccba03dUL, 0x838a36faUL,
0x9a9107bbUL, 0xb1bc5478UL, 0xa8a76539UL, 0x3b83984bUL, 0x2298a90aUL,
0x09b5fac9UL, 0x10aecb88UL, 0x5fef5d4fUL, 0x46f46c0eUL, 0x6dd93fcdUL,
0x74c20e8cUL, 0xf35a1243UL, 0xea412302UL, 0xc16c70c1UL, 0xd8774180UL,
0x9736d747UL, 0x8e2de606UL, 0xa500b5c5UL, 0xbc1b8484UL, 0x71418a1aUL,
0x685abb5bUL, 0x4377e898UL, 0x5a6cd9d9UL, 0x152d4f1eUL, 0x0c367e5fUL,
0x271b2d9cUL, 0x3e001cddUL, 0xb9980012UL, 0xa0833153UL, 0x8bae6290UL,
0x92b553d1UL, 0xddf4c516UL, 0xc4eff457UL, 0xefc2a794UL, 0xf6d996d5UL,
0xae07bce9UL, 0xb71c8da8UL, 0x9c31de6bUL, 0x852aef2aUL, 0xca6b79edUL,
0xd37048acUL, 0xf85d1b6fUL, 0xe1462a2eUL, 0x66de36e1UL, 0x7fc507a0UL,
0x54e85463UL, 0x4df36522UL, 0x02b2f3e5UL, 0x1ba9c2a4UL, 0x30849167UL,
0x299fa026UL, 0xe4c5aeb8UL, 0xfdde9ff9UL, 0xd6f3cc3aUL, 0xcfe8fd7bUL,
0x80a96bbcUL, 0x99b25afdUL, 0xb29f093eUL, 0xab84387fUL, 0x2c1c24b0UL,
0x350715f1UL, 0x1e2a4632UL, 0x07317773UL, 0x4870e1b4UL, 0x516bd0f5UL,
0x7a468336UL, 0x635db277UL, 0xcbfad74eUL, 0xd2e1e60fUL, 0xf9ccb5ccUL,
0xe0d7848dUL, 0xaf96124aUL, 0xb68d230bUL, 0x9da070c8UL, 0x84bb4189UL,
0x03235d46UL, 0x1a386c07UL, 0x31153fc4UL, 0x280e0e85UL, 0x674f9842UL,
0x7e54a903UL, 0x5579fac0UL, 0x4c62cb81UL, 0x8138c51fUL, 0x9823f45eUL,
0xb30ea79dUL, 0xaa1596dcUL, 0xe554001bUL, 0xfc4f315aUL, 0xd7626299UL,
0xce7953d8UL, 0x49e14f17UL, 0x50fa7e56UL, 0x7bd72d95UL, 0x62cc1cd4UL,
0x2d8d8a13UL, 0x3496bb52UL, 0x1fbbe891UL, 0x06a0d9d0UL, 0x5e7ef3ecUL,
0x4765c2adUL, 0x6c48916eUL, 0x7553a02fUL, 0x3a1236e8UL, 0x230907a9UL,
0x0824546aUL, 0x113f652bUL, 0x96a779e4UL, 0x8fbc48a5UL, 0xa4911b66UL,
0xbd8a2a27UL, 0xf2cbbce0UL, 0xebd08da1UL, 0xc0fdde62UL, 0xd9e6ef23UL,
0x14bce1bdUL, 0x0da7d0fcUL, 0x268a833fUL, 0x3f91b27eUL, 0x70d024b9UL,
0x69cb15f8UL, 0x42e6463bUL, 0x5bfd777aUL, 0xdc656bb5UL, 0xc57e5af4UL,
0xee530937UL, 0xf7483876UL, 0xb809aeb1UL, 0xa1129ff0UL, 0x8a3fcc33UL,
0x9324fd72UL
},
{
0x00000000UL, 0x01c26a37UL, 0x0384d46eUL, 0x0246be59UL, 0x0709a8dcUL,
0x06cbc2ebUL, 0x048d7cb2UL, 0x054f1685UL, 0x0e1351b8UL, 0x0fd13b8fUL,
0x0d9785d6UL, 0x0c55efe1UL, 0x091af964UL, 0x08d89353UL, 0x0a9e2d0aUL,
0x0b5c473dUL, 0x1c26a370UL, 0x1de4c947UL, 0x1fa2771eUL, 0x1e601d29UL,
0x1b2f0bacUL, 0x1aed619bUL, 0x18abdfc2UL, 0x1969b5f5UL, 0x1235f2c8UL,
0x13f798ffUL, 0x11b126a6UL, 0x10734c91UL, 0x153c5a14UL, 0x14fe3023UL,
0x16b88e7aUL, 0x177ae44dUL, 0x384d46e0UL, 0x398f2cd7UL, 0x3bc9928eUL,
0x3a0bf8b9UL, 0x3f44ee3cUL, 0x3e86840bUL, 0x3cc03a52UL, 0x3d025065UL,
0x365e1758UL, 0x379c7d6fUL, 0x35dac336UL, 0x3418a901UL, 0x3157bf84UL,
0x3095d5b3UL, 0x32d36beaUL, 0x331101ddUL, 0x246be590UL, 0x25a98fa7UL,
0x27ef31feUL, 0x262d5bc9UL, 0x23624d4cUL, 0x22a0277bUL, 0x20e69922UL,
0x2124f315UL, 0x2a78b428UL, 0x2bbade1fUL, 0x29fc6046UL, 0x283e0a71UL,
0x2d711cf4UL, 0x2cb376c3UL, 0x2ef5c89aUL, 0x2f37a2adUL, 0x709a8dc0UL,
0x7158e7f7UL, 0x731e59aeUL, 0x72dc3399UL, 0x7793251cUL, 0x76514f2bUL,
0x7417f172UL, 0x75d59b45UL, 0x7e89dc78UL, 0x7f4bb64fUL, 0x7d0d0816UL,
0x7ccf6221UL, 0x798074a4UL, 0x78421e93UL, 0x7a04a0caUL, 0x7bc6cafdUL,
0x6cbc2eb0UL, 0x6d7e4487UL, 0x6f38fadeUL, 0x6efa90e9UL, 0x6bb5866cUL,
0x6a77ec5bUL, 0x68315202UL, 0x69f33835UL, 0x62af7f08UL, 0x636d153fUL,
0x612bab66UL, 0x60e9c151UL, 0x65a6d7d4UL, 0x6464bde3UL, 0x662203baUL,
0x67e0698dUL, 0x48d7cb20UL, 0x4915a117UL, 0x4b531f4eUL, 0x4a917579UL,
0x4fde63fcUL, 0x4e1c09cbUL, 0x4c5ab792UL, 0x4d98dda5UL, 0x46c49a98UL,
0x4706f0afUL, 0x45404ef6UL, 0x448224c1UL, 0x41cd3244UL, 0x400f5873UL,
0x4249e62aUL, 0x438b8c1dUL, 0x54f16850UL, 0x55330267UL, 0x5775bc3eUL,
0x56b7d609UL, 0x53f8c08cUL, 0x523aaabbUL, 0x507c14e2UL, 0x51be7ed5UL,
0x5ae239e8UL, 0x5b2053dfUL, 0x5966ed86UL, 0x58a487b1UL, 0x5deb9134UL,
0x5c29fb03UL, 0x5e6f455aUL, 0x5fad2f6dUL, 0xe1351b80UL, 0xe0f771b7UL,
0xe2b1cfeeUL, 0xe373a5d9UL, 0xe63cb35cUL, 0xe7fed96bUL, 0xe5b86732UL,
0xe47a0d05UL, 0xef264a38UL, 0xeee4200fUL, 0xeca29e56UL, 0xed60f461UL,
0xe82fe2e4UL, 0xe9ed88d3UL, 0xebab368aUL, 0xea695cbdUL, 0xfd13b8f0UL,
0xfcd1d2c7UL, 0xfe976c9eUL, 0xff5506a9UL, 0xfa1a102cUL, 0xfbd87a1bUL,
0xf99ec442UL, 0xf85cae75UL, 0xf300e948UL, 0xf2c2837fUL, 0xf0843d26UL,
0xf1465711UL, 0xf4094194UL, 0xf5cb2ba3UL, 0xf78d95faUL, 0xf64fffcdUL,
0xd9785d60UL, 0xd8ba3757UL, 0xdafc890eUL, 0xdb3ee339UL, 0xde71f5bcUL,
0xdfb39f8bUL, 0xddf521d2UL, 0xdc374be5UL, 0xd76b0cd8UL, 0xd6a966efUL,
0xd4efd8b6UL, 0xd52db281UL, 0xd062a404UL, 0xd1a0ce33UL, 0xd3e6706aUL,
0xd2241a5dUL, 0xc55efe10UL, 0xc49c9427UL, 0xc6da2a7eUL, 0xc7184049UL,
0xc25756ccUL, 0xc3953cfbUL, 0xc1d382a2UL, 0xc011e895UL, 0xcb4dafa8UL,
0xca8fc59fUL, 0xc8c97bc6UL, 0xc90b11f1UL, 0xcc440774UL, 0xcd866d43UL,
0xcfc0d31aUL, 0xce02b92dUL, 0x91af9640UL, 0x906dfc77UL, 0x922b422eUL,
0x93e92819UL, 0x96a63e9cUL, 0x976454abUL, 0x9522eaf2UL, 0x94e080c5UL,
0x9fbcc7f8UL, 0x9e7eadcfUL, 0x9c381396UL, 0x9dfa79a1UL, 0x98b56f24UL,
0x99770513UL, 0x9b31bb4aUL, 0x9af3d17dUL, 0x8d893530UL, 0x8c4b5f07UL,
0x8e0de15eUL, 0x8fcf8b69UL, 0x8a809decUL, 0x8b42f7dbUL, 0x89044982UL,
0x88c623b5UL, 0x839a6488UL, 0x82580ebfUL, 0x801eb0e6UL, 0x81dcdad1UL,
0x8493cc54UL, 0x8551a663UL, 0x8717183aUL, 0x86d5720dUL, 0xa9e2d0a0UL,
0xa820ba97UL, 0xaa6604ceUL, 0xaba46ef9UL, 0xaeeb787cUL, 0xaf29124bUL,
0xad6fac12UL, 0xacadc625UL, 0xa7f18118UL, 0xa633eb2fUL, 0xa4755576UL,
0xa5b73f41UL, 0xa0f829c4UL, 0xa13a43f3UL, 0xa37cfdaaUL, 0xa2be979dUL,
0xb5c473d0UL, 0xb40619e7UL, 0xb640a7beUL, 0xb782cd89UL, 0xb2cddb0cUL,
0xb30fb13bUL, 0xb1490f62UL, 0xb08b6555UL, 0xbbd72268UL, 0xba15485fUL,
0xb853f606UL, 0xb9919c31UL, 0xbcde8ab4UL, 0xbd1ce083UL, 0xbf5a5edaUL,
0xbe9834edUL
},
{
0x00000000UL, 0xb8bc6765UL, 0xaa09c88bUL, 0x12b5afeeUL, 0x8f629757UL,
0x37def032UL, 0x256b5fdcUL, 0x9dd738b9UL, 0xc5b428efUL, 0x7d084f8aUL,
0x6fbde064UL, 0xd7018701UL, 0x4ad6bfb8UL, 0xf26ad8ddUL, 0xe0df7733UL,
0x58631056UL, 0x5019579fUL, 0xe8a530faUL, 0xfa109f14UL, 0x42acf871UL,
0xdf7bc0c8UL, 0x67c7a7adUL, 0x75720843UL, 0xcdce6f26UL, 0x95ad7f70UL,
0x2d111815UL, 0x3fa4b7fbUL, 0x8718d09eUL, 0x1acfe827UL, 0xa2738f42UL,
0xb0c620acUL, 0x087a47c9UL, 0xa032af3eUL, 0x188ec85bUL, 0x0a3b67b5UL,
0xb28700d0UL, 0x2f503869UL, 0x97ec5f0cUL, 0x8559f0e2UL, 0x3de59787UL,
0x658687d1UL, 0xdd3ae0b4UL, 0xcf8f4f5aUL, 0x7733283fUL, 0xeae41086UL,
0x525877e3UL, 0x40edd80dUL, 0xf851bf68UL, 0xf02bf8a1UL, 0x48979fc4UL,
0x5a22302aUL, 0xe29e574fUL, 0x7f496ff6UL, 0xc7f50893UL, 0xd540a77dUL,
0x6dfcc018UL, 0x359fd04eUL, 0x8d23b72bUL, 0x9f9618c5UL, 0x272a7fa0UL,
0xbafd4719UL, 0x0241207cUL, 0x10f48f92UL, 0xa848e8f7UL, 0x9b14583dUL,
0x23a83f58UL, 0x311d90b6UL, 0x89a1f7d3UL, 0x1476cf6aUL, 0xaccaa80fUL,
0xbe7f07e1UL, 0x06c36084UL, 0x5ea070d2UL, 0xe61c17b7UL, 0xf4a9b859UL,
0x4c15df3cUL, 0xd1c2e785UL, 0x697e80e0UL, 0x7bcb2f0eUL, 0xc377486bUL,
0xcb0d0fa2UL, 0x73b168c7UL, 0x6104c729UL, 0xd9b8a04cUL, 0x446f98f5UL,
0xfcd3ff90UL, 0xee66507eUL, 0x56da371bUL, 0x0eb9274dUL, 0xb6054028UL,
0xa4b0efc6UL, 0x1c0c88a3UL, 0x81dbb01aUL, 0x3967d77fUL, 0x2bd27891UL,
0x936e1ff4UL, 0x3b26f703UL, 0x839a9066UL, 0x912f3f88UL, 0x299358edUL,
0xb4446054UL, 0x0cf80731UL, 0x1e4da8dfUL, 0xa6f1cfbaUL, 0xfe92dfecUL,
0x462eb889UL, 0x549b1767UL, 0xec277002UL, 0x71f048bbUL, 0xc94c2fdeUL,
0xdbf98030UL, 0x6345e755UL, 0x6b3fa09cUL, 0xd383c7f9UL, 0xc1366817UL,
0x798a0f72UL, 0xe45d37cbUL, 0x5ce150aeUL, 0x4e54ff40UL, 0xf6e89825UL,
0xae8b8873UL, 0x1637ef16UL, 0x048240f8UL, 0xbc3e279dUL, 0x21e91f24UL,
0x99557841UL, 0x8be0d7afUL, 0x335cb0caUL, 0xed59b63bUL, 0x55e5d15eUL,
0x47507eb0UL, 0xffec19d5UL, 0x623b216cUL, 0xda874609UL, 0xc832e9e7UL,
0x708e8e82UL, 0x28ed9ed4UL, 0x9051f9b1UL, 0x82e4565fUL, 0x3a58313aUL,
0xa78f0983UL, 0x1f336ee6UL, 0x0d86c108UL, 0xb53aa66dUL, 0xbd40e1a4UL,
0x05fc86c1UL, 0x1749292fUL, 0xaff54e4aUL, 0x322276f3UL, 0x8a9e1196UL,
0x982bbe78UL, 0x2097d91dUL, 0x78f4c94bUL, 0xc048ae2eUL, 0xd2fd01c0UL,
0x6a4166a5UL, 0xf7965e1cUL, 0x4f2a3979UL, 0x5d9f9697UL, 0xe523f1f2UL,
0x4d6b1905UL, 0xf5d77e60UL, 0xe762d18eUL, 0x5fdeb6ebUL, 0xc2098e52UL,
0x7ab5e937UL, 0x680046d9UL, 0xd0bc21bcUL, 0x88df31eaUL, 0x3063568fUL,
0x22d6f961UL, 0x9a6a9e04UL, 0x07bda6bdUL, 0xbf01c1d8UL, 0xadb46e36UL,
0x15080953UL, 0x1d724e9aUL, 0xa5ce29ffUL, 0xb77b8611UL, 0x0fc7e174UL,
0x9210d9cdUL, 0x2aacbea8UL, 0x38191146UL, 0x80a57623UL, 0xd8c66675UL,
0x607a0110UL, 0x72cfaefeUL, 0xca73c99bUL, 0x57a4f122UL, 0xef189647UL,
0xfdad39a9UL, 0x45115eccUL, 0x764dee06UL, 0xcef18963UL, 0xdc44268dUL,
0x64f841e8UL, 0xf92f7951UL, 0x41931e34UL, 0x5326b1daUL, 0xeb9ad6bfUL,
0xb3f9c6e9UL, 0x0b45a18cUL, 0x19f00e62UL, 0xa14c6907UL, 0x3c9b51beUL,
0x842736dbUL, 0x96929935UL, 0x2e2efe50UL, 0x2654b999UL, 0x9ee8defcUL,
0x8c5d7112UL, 0x34e11677UL, 0xa9362eceUL, 0x118a49abUL, 0x033fe645UL,
0xbb838120UL, 0xe3e09176UL, 0x5b5cf613UL, 0x49e959fdUL, 0xf1553e98UL,
0x6c820621UL, 0xd43e6144UL, 0xc68bceaaUL, 0x7e37a9cfUL, 0xd67f4138UL,
0x6ec3265dUL, 0x7c7689b3UL, 0xc4caeed6UL, 0x591dd66fUL, 0xe1a1b10aUL,
0xf3141ee4UL, 0x4ba87981UL, 0x13cb69d7UL, 0xab770eb2UL, 0xb9c2a15cUL,
0x017ec639UL, 0x9ca9fe80UL, 0x241599e5UL, 0x36a0360bUL, 0x8e1c516eUL,
0x866616a7UL, 0x3eda71c2UL, 0x2c6fde2cUL, 0x94d3b949UL, 0x090481f0UL,
0xb1b8e695UL, 0xa30d497bUL, 0x1bb12e1eUL, 0x43d23e48UL, 0xfb6e592dUL,
0xe9dbf6c3UL, 0x516791a6UL, 0xccb0a91fUL, 0x740cce7aUL, 0x66b96194UL,
0xde0506f1UL
},
{
0x00000000UL, 0x96300777UL, 0x2c610eeeUL, 0xba510999UL, 0x19c46d07UL,
0x8ff46a70UL, 0x35a563e9UL, 0xa395649eUL, 0x3288db0eUL, 0xa4b8dc79UL,
0x1ee9d5e0UL, 0x88d9d297UL, 0x2b4cb609UL, 0xbd7cb17eUL, 0x072db8e7UL,
0x911dbf90UL, 0x6410b71dUL, 0xf220b06aUL, 0x4871b9f3UL, 0xde41be84UL,
0x7dd4da1aUL, 0xebe4dd6dUL, 0x51b5d4f4UL, 0xc785d383UL, 0x56986c13UL,
0xc0a86b64UL, 0x7af962fdUL, 0xecc9658aUL, 0x4f5c0114UL, 0xd96c0663UL,
0x633d0ffaUL, 0xf50d088dUL, 0xc8206e3bUL, 0x5e10694cUL, 0xe44160d5UL,
0x727167a2UL, 0xd1e4033cUL, 0x47d4044bUL, 0xfd850dd2UL, 0x6bb50aa5UL,
0xfaa8b535UL, 0x6c98b242UL, 0xd6c9bbdbUL, 0x40f9bcacUL, 0xe36cd832UL,
0x755cdf45UL, 0xcf0dd6dcUL, 0x593dd1abUL, 0xac30d926UL, 0x3a00de51UL,
0x8051d7c8UL, 0x1661d0bfUL, 0xb5f4b421UL, 0x23c4b356UL, 0x9995bacfUL,
0x0fa5bdb8UL, 0x9eb80228UL, 0x0888055fUL, 0xb2d90cc6UL, 0x24e90bb1UL,
0x877c6f2fUL, 0x114c6858UL, 0xab1d61c1UL, 0x3d2d66b6UL, 0x9041dc76UL,
0x0671db01UL, 0xbc20d298UL, 0x2a10d5efUL, 0x8985b171UL, 0x1fb5b606UL,
0xa5e4bf9fUL, 0x33d4b8e8UL, 0xa2c90778UL, 0x34f9000fUL, 0x8ea80996UL,
0x18980ee1UL, 0xbb0d6a7fUL, 0x2d3d6d08UL, 0x976c6491UL, 0x015c63e6UL,
0xf4516b6bUL, 0x62616c1cUL, 0xd8306585UL, 0x4e0062f2UL, 0xed95066cUL,
0x7ba5011bUL, 0xc1f40882UL, 0x57c40ff5UL, 0xc6d9b065UL, 0x50e9b712UL,
0xeab8be8bUL, 0x7c88b9fcUL, 0xdf1ddd62UL, 0x492dda15UL, 0xf37cd38cUL,
0x654cd4fbUL, 0x5861b24dUL, 0xce51b53aUL, 0x7400bca3UL, 0xe230bbd4UL,
0x41a5df4aUL, 0xd795d83dUL, 0x6dc4d1a4UL, 0xfbf4d6d3UL, 0x6ae96943UL,
0xfcd96e34UL, 0x468867adUL, 0xd0b860daUL, 0x732d0444UL, 0xe51d0333UL,
0x5f4c0aaaUL, 0xc97c0dddUL, 0x3c710550UL, 0xaa410227UL, 0x10100bbeUL,
0x86200cc9UL, 0x25b56857UL, 0xb3856f20UL, 0x09d466b9UL, 0x9fe461ceUL,
0x0ef9de5eUL, 0x98c9d929UL, 0x2298d0b0UL, 0xb4a8d7c7UL, 0x173db359UL,
0x810db42eUL, 0x3b5cbdb7UL, 0xad6cbac0UL, 0x2083b8edUL, 0xb6b3bf9aUL,
0x0ce2b603UL, 0x9ad2b174UL, 0x3947d5eaUL, 0xaf77d29dUL, 0x1526db04UL,
0x8316dc73UL, 0x120b63e3UL, 0x843b6494UL, 0x3e6a6d0dUL, 0xa85a6a7aUL,
0x0bcf0ee4UL, 0x9dff0993UL, 0x27ae000aUL, 0xb19e077dUL, 0x44930ff0UL,
0xd2a30887UL, 0x68f2011eUL, 0xfec20669UL, 0x5d5762f7UL, 0xcb676580UL,
0x71366c19UL, 0xe7066b6eUL, 0x761bd4feUL, 0xe02bd389UL, 0x5a7ada10UL,
0xcc4add67UL, 0x6fdfb9f9UL, 0xf9efbe8eUL, 0x43beb717UL, 0xd58eb060UL,
0xe8a3d6d6UL, 0x7e93d1a1UL, 0xc4c2d838UL, 0x52f2df4fUL, 0xf167bbd1UL,
0x6757bca6UL, 0xdd06b53fUL, 0x4b36b248UL, 0xda2b0dd8UL, 0x4c1b0aafUL,
0xf64a0336UL, 0x607a0441UL, 0xc3ef60dfUL, 0x55df67a8UL, 0xef8e6e31UL,
0x79be6946UL, 0x8cb361cbUL, 0x1a8366bcUL, 0xa0d26f25UL, 0x36e26852UL,
0x95770cccUL, 0x03470bbbUL, 0xb9160222UL, 0x2f260555UL, 0xbe3bbac5UL,
0x280bbdb2UL, 0x925ab42bUL, 0x046ab35cUL, 0xa7ffd7c2UL, 0x31cfd0b5UL,
0x8b9ed92cUL, 0x1daede5bUL, 0xb0c2649bUL, 0x26f263ecUL, 0x9ca36a75UL,
0x0a936d02UL, 0xa906099cUL, 0x3f360eebUL, 0x85670772UL, 0x13570005UL,
0x824abf95UL, 0x147ab8e2UL, 0xae2bb17bUL, 0x381bb60cUL, 0x9b8ed292UL,
0x0dbed5e5UL, 0xb7efdc7cUL, 0x21dfdb0bUL, 0xd4d2d386UL, 0x42e2d4f1UL,
0xf8b3dd68UL, 0x6e83da1fUL, 0xcd16be81UL, 0x5b26b9f6UL, 0xe177b06fUL,
0x7747b718UL, 0xe65a0888UL, 0x706a0fffUL, 0xca3b0666UL, 0x5c0b0111UL,
0xff9e658fUL, 0x69ae62f8UL, 0xd3ff6b61UL, 0x45cf6c16UL, 0x78e20aa0UL,
0xeed20dd7UL, 0x5483044eUL, 0xc2b30339UL, 0x612667a7UL, 0xf71660d0UL,
0x4d476949UL, 0xdb776e3eUL, 0x4a6ad1aeUL, 0xdc5ad6d9UL, 0x660bdf40UL,
0xf03bd837UL, 0x53aebca9UL, 0xc59ebbdeUL, 0x7fcfb247UL, 0xe9ffb530UL,
0x1cf2bdbdUL, 0x8ac2bacaUL, 0x3093b353UL, 0xa6a3b424UL, 0x0536d0baUL,
0x9306d7cdUL, 0x2957de54UL, 0xbf67d923UL, 0x2e7a66b3UL, 0xb84a61c4UL,
0x021b685dUL, 0x942b6f2aUL, 0x37be0bb4UL, 0xa18e0cc3UL, 0x1bdf055aUL,
0x8def022dUL
},
{
0x00000000UL, 0x41311b19UL, 0x82623632UL, 0xc3532d2bUL, 0x04c56c64UL,
0x45f4777dUL, 0x86a75a56UL, 0xc796414fUL, 0x088ad9c8UL, 0x49bbc2d1UL,
0x8ae8effaUL, 0xcbd9f4e3UL, 0x0c4fb5acUL, 0x4d7eaeb5UL, 0x8e2d839eUL,
0xcf1c9887UL, 0x5112c24aUL, 0x1023d953UL, 0xd370f478UL, 0x9241ef61UL,
0x55d7ae2eUL, 0x14e6b537UL, 0xd7b5981cUL, 0x96848305UL, 0x59981b82UL,
0x18a9009bUL, 0xdbfa2db0UL, 0x9acb36a9UL, 0x5d5d77e6UL, 0x1c6c6cffUL,
0xdf3f41d4UL, 0x9e0e5acdUL, 0xa2248495UL, 0xe3159f8cUL, 0x2046b2a7UL,
0x6177a9beUL, 0xa6e1e8f1UL, 0xe7d0f3e8UL, 0x2483dec3UL, 0x65b2c5daUL,
0xaaae5d5dUL, 0xeb9f4644UL, 0x28cc6b6fUL, 0x69fd7076UL, 0xae6b3139UL,
0xef5a2a20UL, 0x2c09070bUL, 0x6d381c12UL, 0xf33646dfUL, 0xb2075dc6UL,
0x715470edUL, 0x30656bf4UL, 0xf7f32abbUL, 0xb6c231a2UL, 0x75911c89UL,
0x34a00790UL, 0xfbbc9f17UL, 0xba8d840eUL, 0x79dea925UL, 0x38efb23cUL,
0xff79f373UL, 0xbe48e86aUL, 0x7d1bc541UL, 0x3c2ade58UL, 0x054f79f0UL,
0x447e62e9UL, 0x872d4fc2UL, 0xc61c54dbUL, 0x018a1594UL, 0x40bb0e8dUL,
0x83e823a6UL, 0xc2d938bfUL, 0x0dc5a038UL, 0x4cf4bb21UL, 0x8fa7960aUL,
0xce968d13UL, 0x0900cc5cUL, 0x4831d745UL, 0x8b62fa6eUL, 0xca53e177UL,
0x545dbbbaUL, 0x156ca0a3UL, 0xd63f8d88UL, 0x970e9691UL, 0x5098d7deUL,
0x11a9ccc7UL, 0xd2fae1ecUL, 0x93cbfaf5UL, 0x5cd76272UL, 0x1de6796bUL,
0xdeb55440UL, 0x9f844f59UL, 0x58120e16UL, 0x1923150fUL, 0xda703824UL,
0x9b41233dUL, 0xa76bfd65UL, 0xe65ae67cUL, 0x2509cb57UL, 0x6438d04eUL,
0xa3ae9101UL, 0xe29f8a18UL, 0x21cca733UL, 0x60fdbc2aUL, 0xafe124adUL,
0xeed03fb4UL, 0x2d83129fUL, 0x6cb20986UL, 0xab2448c9UL, 0xea1553d0UL,
0x29467efbUL, 0x687765e2UL, 0xf6793f2fUL, 0xb7482436UL, 0x741b091dUL,
0x352a1204UL, 0xf2bc534bUL, 0xb38d4852UL, 0x70de6579UL, 0x31ef7e60UL,
0xfef3e6e7UL, 0xbfc2fdfeUL, 0x7c91d0d5UL, 0x3da0cbccUL, 0xfa368a83UL,
0xbb07919aUL, 0x7854bcb1UL, 0x3965a7a8UL, 0x4b98833bUL, 0x0aa99822UL,
0xc9fab509UL, 0x88cbae10UL, 0x4f5def5fUL, 0x0e6cf446UL, 0xcd3fd96dUL,
0x8c0ec274UL, 0x43125af3UL, 0x022341eaUL, 0xc1706cc1UL, 0x804177d8UL,
0x47d73697UL, 0x06e62d8eUL, 0xc5b500a5UL, 0x84841bbcUL, 0x1a8a4171UL,
0x5bbb5a68UL, 0x98e87743UL, 0xd9d96c5aUL, 0x1e4f2d15UL, 0x5f7e360cUL,
0x9c2d1b27UL, 0xdd1c003eUL, 0x120098b9UL, 0x533183a0UL, 0x9062ae8bUL,
0xd153b592UL, 0x16c5f4ddUL, 0x57f4efc4UL, 0x94a7c2efUL, 0xd596d9f6UL,
0xe9bc07aeUL, 0xa88d1cb7UL, 0x6bde319cUL, 0x2aef2a85UL, 0xed796bcaUL,
0xac4870d3UL, 0x6f1b5df8UL, 0x2e2a46e1UL, 0xe136de66UL, 0xa007c57fUL,
0x6354e854UL, 0x2265f34dUL, 0xe5f3b202UL, 0xa4c2a91bUL, 0x67918430UL,
0x26a09f29UL, 0xb8aec5e4UL, 0xf99fdefdUL, 0x3accf3d6UL, 0x7bfde8cfUL,
0xbc6ba980UL, 0xfd5ab299UL, 0x3e099fb2UL, 0x7f3884abUL, 0xb0241c2cUL,
0xf1150735UL, 0x32462a1eUL, 0x73773107UL, 0xb4e17048UL, 0xf5d06b51UL,
0x3683467aUL, 0x77b25d63UL, 0x4ed7facbUL, 0x0fe6e1d2UL, 0xccb5ccf9UL,
0x8d84d7e0UL, 0x4a1296afUL, 0x0b238db6UL, 0xc870a09dUL, 0x8941bb84UL,
0x465d2303UL, 0x076c381aUL, 0xc43f1531UL, 0x850e0e28UL, 0x42984f67UL,
0x03a9547eUL, 0xc0fa7955UL, 0x81cb624cUL, 0x1fc53881UL, 0x5ef42398UL,
0x9da70eb3UL, 0xdc9615aaUL, 0x1b0054e5UL, 0x5a314ffcUL, 0x996262d7UL,
0xd85379ceUL, 0x174fe149UL, 0x567efa50UL, 0x952dd77bUL, 0xd41ccc62UL,
0x138a8d2dUL, 0x52bb9634UL, 0x91e8bb1fUL, 0xd0d9a006UL, 0xecf37e5eUL,
0xadc26547UL, 0x6e91486cUL, 0x2fa05375UL, 0xe836123aUL, 0xa9070923UL,
0x6a542408UL, 0x2b653f11UL, 0xe479a796UL, 0xa548bc8fUL, 0x661b91a4UL,
0x272a8abdUL, 0xe0bccbf2UL, 0xa18dd0ebUL, 0x62defdc0UL, 0x23efe6d9UL,
0xbde1bc14UL, 0xfcd0a70dUL, 0x3f838a26UL, 0x7eb2913fUL, 0xb924d070UL,
0xf815cb69UL, 0x3b46e642UL, 0x7a77fd5bUL, 0xb56b65dcUL, 0xf45a7ec5UL,
0x370953eeUL, 0x763848f7UL, 0xb1ae09b8UL, 0xf09f12a1UL, 0x33cc3f8aUL,
0x72fd2493UL
},
{
0x00000000UL, 0x376ac201UL, 0x6ed48403UL, 0x59be4602UL, 0xdca80907UL,
0xebc2cb06UL, 0xb27c8d04UL, 0x85164f05UL, 0xb851130eUL, 0x8f3bd10fUL,
0xd685970dUL, 0xe1ef550cUL, 0x64f91a09UL, 0x5393d808UL, 0x0a2d9e0aUL,
0x3d475c0bUL, 0x70a3261cUL, 0x47c9e41dUL, 0x1e77a21fUL, 0x291d601eUL,
0xac0b2f1bUL, 0x9b61ed1aUL, 0xc2dfab18UL, 0xf5b56919UL, 0xc8f23512UL,
0xff98f713UL, 0xa626b111UL, 0x914c7310UL, 0x145a3c15UL, 0x2330fe14UL,
0x7a8eb816UL, 0x4de47a17UL, 0xe0464d38UL, 0xd72c8f39UL, 0x8e92c93bUL,
0xb9f80b3aUL, 0x3cee443fUL, 0x0b84863eUL, 0x523ac03cUL, 0x6550023dUL,
0x58175e36UL, 0x6f7d9c37UL, 0x36c3da35UL, 0x01a91834UL, 0x84bf5731UL,
0xb3d59530UL, 0xea6bd332UL, 0xdd011133UL, 0x90e56b24UL, 0xa78fa925UL,
0xfe31ef27UL, 0xc95b2d26UL, 0x4c4d6223UL, 0x7b27a022UL, 0x2299e620UL,
0x15f32421UL, 0x28b4782aUL, 0x1fdeba2bUL, 0x4660fc29UL, 0x710a3e28UL,
0xf41c712dUL, 0xc376b32cUL, 0x9ac8f52eUL, 0xada2372fUL, 0xc08d9a70UL,
0xf7e75871UL, 0xae591e73UL, 0x9933dc72UL, 0x1c259377UL, 0x2b4f5176UL,
0x72f11774UL, 0x459bd575UL, 0x78dc897eUL, 0x4fb64b7fUL, 0x16080d7dUL,
0x2162cf7cUL, 0xa4748079UL, 0x931e4278UL, 0xcaa0047aUL, 0xfdcac67bUL,
0xb02ebc6cUL, 0x87447e6dUL, 0xdefa386fUL, 0xe990fa6eUL, 0x6c86b56bUL,
0x5bec776aUL, 0x02523168UL, 0x3538f369UL, 0x087faf62UL, 0x3f156d63UL,
0x66ab2b61UL, 0x51c1e960UL, 0xd4d7a665UL, 0xe3bd6464UL, 0xba032266UL,
0x8d69e067UL, 0x20cbd748UL, 0x17a11549UL, 0x4e1f534bUL, 0x7975914aUL,
0xfc63de4fUL, 0xcb091c4eUL, 0x92b75a4cUL, 0xa5dd984dUL, 0x989ac446UL,
0xaff00647UL, 0xf64e4045UL, 0xc1248244UL, 0x4432cd41UL, 0x73580f40UL,
0x2ae64942UL, 0x1d8c8b43UL, 0x5068f154UL, 0x67023355UL, 0x3ebc7557UL,
0x09d6b756UL, 0x8cc0f853UL, 0xbbaa3a52UL, 0xe2147c50UL, 0xd57ebe51UL,
0xe839e25aUL, 0xdf53205bUL, 0x86ed6659UL, 0xb187a458UL, 0x3491eb5dUL,
0x03fb295cUL, 0x5a456f5eUL, 0x6d2fad5fUL, 0x801b35e1UL, 0xb771f7e0UL,
0xeecfb1e2UL, 0xd9a573e3UL, 0x5cb33ce6UL, 0x6bd9fee7UL, 0x3267b8e5UL,
0x050d7ae4UL, 0x384a26efUL, 0x0f20e4eeUL, 0x569ea2ecUL, 0x61f460edUL,
0xe4e22fe8UL, 0xd388ede9UL, 0x8a36abebUL, 0xbd5c69eaUL, 0xf0b813fdUL,
0xc7d2d1fcUL, 0x9e6c97feUL, 0xa90655ffUL, 0x2c101afaUL, 0x1b7ad8fbUL,
0x42c49ef9UL, 0x75ae5cf8UL, 0x48e900f3UL, 0x7f83c2f2UL, 0x263d84f0UL,
0x115746f1UL, 0x944109f4UL, 0xa32bcbf5UL, 0xfa958df7UL, 0xcdff4ff6UL,
0x605d78d9UL, 0x5737bad8UL, 0x0e89fcdaUL, 0x39e33edbUL, 0xbcf571deUL,
0x8b9fb3dfUL, 0xd221f5ddUL, 0xe54b37dcUL, 0xd80c6bd7UL, 0xef66a9d6UL,
0xb6d8efd4UL, 0x81b22dd5UL, 0x04a462d0UL, 0x33cea0d1UL, 0x6a70e6d3UL,
0x5d1a24d2UL, 0x10fe5ec5UL, 0x27949cc4UL, 0x7e2adac6UL, 0x494018c7UL,
0xcc5657c2UL, 0xfb3c95c3UL, 0xa282d3c1UL, 0x95e811c0UL, 0xa8af4dcbUL,
0x9fc58fcaUL, 0xc67bc9c8UL, 0xf1110bc9UL, 0x740744ccUL, 0x436d86cdUL,
0x1ad3c0cfUL, 0x2db902ceUL, 0x4096af91UL, 0x77fc6d90UL, 0x2e422b92UL,
0x1928e993UL, 0x9c3ea696UL, 0xab546497UL, 0xf2ea2295UL, 0xc580e094UL,
0xf8c7bc9fUL, 0xcfad7e9eUL, 0x9613389cUL, 0xa179fa9dUL, 0x246fb598UL,
0x13057799UL, 0x4abb319bUL, 0x7dd1f39aUL, 0x3035898dUL, 0x075f4b8cUL,
0x5ee10d8eUL, 0x698bcf8fUL, 0xec9d808aUL, 0xdbf7428bUL, 0x82490489UL,
0xb523c688UL, 0x88649a83UL, 0xbf0e5882UL, 0xe6b01e80UL, 0xd1dadc81UL,
0x54cc9384UL, 0x63a65185UL, 0x3a181787UL, 0x0d72d586UL, 0xa0d0e2a9UL,
0x97ba20a8UL, 0xce0466aaUL, 0xf96ea4abUL, 0x7c78ebaeUL, 0x4b1229afUL,
0x12ac6fadUL, 0x25c6adacUL, 0x1881f1a7UL, 0x2feb33a6UL, 0x765575a4UL,
0x413fb7a5UL, 0xc429f8a0UL, 0xf3433aa1UL, 0xaafd7ca3UL, 0x9d97bea2UL,
0xd073c4b5UL, 0xe71906b4UL, 0xbea740b6UL, 0x89cd82b7UL, 0x0cdbcdb2UL,
0x3bb10fb3UL, 0x620f49b1UL, 0x55658bb0UL, 0x6822d7bbUL, 0x5f4815baUL,
0x06f653b8UL, 0x319c91b9UL, 0xb48adebcUL, 0x83e01cbdUL, 0xda5e5abfUL,
0xed3498beUL
},
{
0x00000000UL, 0x6567bcb8UL, 0x8bc809aaUL, 0xeeafb512UL, 0x5797628fUL,
0x32f0de37UL, 0xdc5f6b25UL, 0xb938d79dUL, 0xef28b4c5UL, 0x8a4f087dUL,
0x64e0bd6fUL, 0x018701d7UL, 0xb8bfd64aUL, 0xddd86af2UL, 0x3377dfe0UL,
0x56106358UL, 0x9f571950UL, 0xfa30a5e8UL, 0x149f10faUL, 0x71f8ac42UL,
0xc8c07bdfUL, 0xada7c767UL, 0x43087275UL, 0x266fcecdUL, 0x707fad95UL,
0x1518112dUL, 0xfbb7a43fUL, 0x9ed01887UL, 0x27e8cf1aUL, 0x428f73a2UL,
0xac20c6b0UL, 0xc9477a08UL, 0x3eaf32a0UL, 0x5bc88e18UL, 0xb5673b0aUL,
0xd00087b2UL, 0x6938502fUL, 0x0c5fec97UL, 0xe2f05985UL, 0x8797e53dUL,
0xd1878665UL, 0xb4e03addUL, 0x5a4f8fcfUL, 0x3f283377UL, 0x8610e4eaUL,
0xe3775852UL, 0x0dd8ed40UL, 0x68bf51f8UL, 0xa1f82bf0UL, 0xc49f9748UL,
0x2a30225aUL, 0x4f579ee2UL, 0xf66f497fUL, 0x9308f5c7UL, 0x7da740d5UL,
0x18c0fc6dUL, 0x4ed09f35UL, 0x2bb7238dUL, 0xc518969fUL, 0xa07f2a27UL,
0x1947fdbaUL, 0x7c204102UL, 0x928ff410UL, 0xf7e848a8UL, 0x3d58149bUL,
0x583fa823UL, 0xb6901d31UL, 0xd3f7a189UL, 0x6acf7614UL, 0x0fa8caacUL,
0xe1077fbeUL, 0x8460c306UL, 0xd270a05eUL, 0xb7171ce6UL, 0x59b8a9f4UL,
0x3cdf154cUL, 0x85e7c2d1UL, 0xe0807e69UL, 0x0e2fcb7bUL, 0x6b4877c3UL,
0xa20f0dcbUL, 0xc768b173UL, 0x29c70461UL, 0x4ca0b8d9UL, 0xf5986f44UL,
0x90ffd3fcUL, 0x7e5066eeUL, 0x1b37da56UL, 0x4d27b90eUL, 0x284005b6UL,
0xc6efb0a4UL, 0xa3880c1cUL, 0x1ab0db81UL, 0x7fd76739UL, 0x9178d22bUL,
0xf41f6e93UL, 0x03f7263bUL, 0x66909a83UL, 0x883f2f91UL, 0xed589329UL,
0x546044b4UL, 0x3107f80cUL, 0xdfa84d1eUL, 0xbacff1a6UL, 0xecdf92feUL,
0x89b82e46UL, 0x67179b54UL, 0x027027ecUL, 0xbb48f071UL, 0xde2f4cc9UL,
0x3080f9dbUL, 0x55e74563UL, 0x9ca03f6bUL, 0xf9c783d3UL, 0x176836c1UL,
0x720f8a79UL, 0xcb375de4UL, 0xae50e15cUL, 0x40ff544eUL, 0x2598e8f6UL,
0x73888baeUL, 0x16ef3716UL, 0xf8408204UL, 0x9d273ebcUL, 0x241fe921UL,
0x41785599UL, 0xafd7e08bUL, 0xcab05c33UL, 0x3bb659edUL, 0x5ed1e555UL,
0xb07e5047UL, 0xd519ecffUL, 0x6c213b62UL, 0x094687daUL, 0xe7e932c8UL,
0x828e8e70UL, 0xd49eed28UL, 0xb1f95190UL, 0x5f56e482UL, 0x3a31583aUL,
0x83098fa7UL, 0xe66e331fUL, 0x08c1860dUL, 0x6da63ab5UL, 0xa4e140bdUL,
0xc186fc05UL, 0x2f294917UL, 0x4a4ef5afUL, 0xf3762232UL, 0x96119e8aUL,
0x78be2b98UL, 0x1dd99720UL, 0x4bc9f478UL, 0x2eae48c0UL, 0xc001fdd2UL,
0xa566416aUL, 0x1c5e96f7UL, 0x79392a4fUL, 0x97969f5dUL, 0xf2f123e5UL,
0x05196b4dUL, 0x607ed7f5UL, 0x8ed162e7UL, 0xebb6de5fUL, 0x528e09c2UL,
0x37e9b57aUL, 0xd9460068UL, 0xbc21bcd0UL, 0xea31df88UL, 0x8f566330UL,
0x61f9d622UL, 0x049e6a9aUL, 0xbda6bd07UL, 0xd8c101bfUL, 0x366eb4adUL,
0x53090815UL, 0x9a4e721dUL, 0xff29cea5UL, 0x11867bb7UL, 0x74e1c70fUL,
0xcdd91092UL, 0xa8beac2aUL, 0x46111938UL, 0x2376a580UL, 0x7566c6d8UL,
0x10017a60UL, 0xfeaecf72UL, 0x9bc973caUL, 0x22f1a457UL, 0x479618efUL,
0xa939adfdUL, 0xcc5e1145UL, 0x06ee4d76UL, 0x6389f1ceUL, 0x8d2644dcUL,
0xe841f864UL, 0x51792ff9UL, 0x341e9341UL, 0xdab12653UL, 0xbfd69aebUL,
0xe9c6f9b3UL, 0x8ca1450bUL, 0x620ef019UL, 0x07694ca1UL, 0xbe519b3cUL,
0xdb362784UL, 0x35999296UL, 0x50fe2e2eUL, 0x99b95426UL, 0xfcdee89eUL,
0x12715d8cUL, 0x7716e134UL, 0xce2e36a9UL, 0xab498a11UL, 0x45e63f03UL,
0x208183bbUL, 0x7691e0e3UL, 0x13f65c5bUL, 0xfd59e949UL, 0x983e55f1UL,
0x2106826cUL, 0x44613ed4UL, 0xaace8bc6UL, 0xcfa9377eUL, 0x38417fd6UL,
0x5d26c36eUL, 0xb389767cUL, 0xd6eecac4UL, 0x6fd61d59UL, 0x0ab1a1e1UL,
0xe41e14f3UL, 0x8179a84bUL, 0xd769cb13UL, 0xb20e77abUL, 0x5ca1c2b9UL,
0x39c67e01UL, 0x80fea99cUL, 0xe5991524UL, 0x0b36a036UL, 0x6e511c8eUL,
0xa7166686UL, 0xc271da3eUL, 0x2cde6f2cUL, 0x49b9d394UL, 0xf0810409UL,
0x95e6b8b1UL, 0x7b490da3UL, 0x1e2eb11bUL, 0x483ed243UL, 0x2d596efbUL,
0xc3f6dbe9UL, 0xa6916751UL, 0x1fa9b0ccUL, 0x7ace0c74UL, 0x9461b966UL,
0xf10605deUL
#endif
}
};

1736
vendor/POCO/PDF/include/Poco/PDF/deflate.c vendored Normal file

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,331 @@
/* deflate.h -- internal compression state
* Copyright (C) 1995-2004 Jean-loup Gailly
* For conditions of distribution and use, see copyright notice in zlib.h
*/
/* WARNING: this file should *not* be used by applications. It is
part of the implementation of the compression library and is
subject to change. Applications should only use zlib.h.
*/
/* @(#) $Id: //poco/Main/Foundation/src/deflate.h#8 $ */
#ifndef DEFLATE_H
#define DEFLATE_H
#include "zutil.h"
/* define NO_GZIP when compiling if you want to disable gzip header and
trailer creation by deflate(). NO_GZIP would be used to avoid linking in
the crc code when it is not needed. For shared libraries, gzip encoding
should be left enabled. */
#ifndef NO_GZIP
# define GZIP
#endif
/* ===========================================================================
* Internal compression state.
*/
#define LENGTH_CODES 29
/* number of length codes, not counting the special END_BLOCK code */
#define LITERALS 256
/* number of literal bytes 0..255 */
#define L_CODES (LITERALS+1+LENGTH_CODES)
/* number of Literal or Length codes, including the END_BLOCK code */
#define D_CODES 30
/* number of distance codes */
#define BL_CODES 19
/* number of codes used to transfer the bit lengths */
#define HEAP_SIZE (2*L_CODES+1)
/* maximum heap size */
#define MAX_BITS 15
/* All codes must not exceed MAX_BITS bits */
#define INIT_STATE 42
#define EXTRA_STATE 69
#define NAME_STATE 73
#define COMMENT_STATE 91
#define HCRC_STATE 103
#define BUSY_STATE 113
#define FINISH_STATE 666
/* Stream status */
/* Data structure describing a single value and its code string. */
typedef struct ct_data_s {
union {
ush freq; /* frequency count */
ush code; /* bit string */
} fc;
union {
ush dad; /* father node in Huffman tree */
ush len; /* length of bit string */
} dl;
} FAR ct_data;
#define Freq fc.freq
#define Code fc.code
#define Dad dl.dad
#define Len dl.len
typedef struct static_tree_desc_s static_tree_desc;
typedef struct tree_desc_s {
ct_data *dyn_tree; /* the dynamic tree */
int max_code; /* largest code with non zero frequency */
static_tree_desc *stat_desc; /* the corresponding static tree */
} FAR tree_desc;
typedef ush Pos;
typedef Pos FAR Posf;
typedef unsigned IPos;
/* A Pos is an index in the character window. We use short instead of int to
* save space in the various tables. IPos is used only for parameter passing.
*/
typedef struct internal_state {
z_streamp strm; /* pointer back to this zlib stream */
int status; /* as the name implies */
Bytef *pending_buf; /* output still pending */
ulg pending_buf_size; /* size of pending_buf */
Bytef *pending_out; /* next pending byte to output to the stream */
uInt pending; /* nb of bytes in the pending buffer */
int wrap; /* bit 0 true for zlib, bit 1 true for gzip */
gz_headerp gzhead; /* gzip header information to write */
uInt gzindex; /* where in extra, name, or comment */
Byte method; /* STORED (for zip only) or DEFLATED */
int last_flush; /* value of flush param for previous deflate call */
/* used by deflate.c: */
uInt w_size; /* LZ77 window size (32K by default) */
uInt w_bits; /* log2(w_size) (8..16) */
uInt w_mask; /* w_size - 1 */
Bytef *window;
/* Sliding window. Input bytes are read into the second half of the window,
* and move to the first half later to keep a dictionary of at least wSize
* bytes. With this organization, matches are limited to a distance of
* wSize-MAX_MATCH bytes, but this ensures that IO is always
* performed with a length multiple of the block size. Also, it limits
* the window size to 64K, which is quite useful on MSDOS.
* To do: use the user input buffer as sliding window.
*/
ulg window_size;
/* Actual size of window: 2*wSize, except when the user input buffer
* is directly used as sliding window.
*/
Posf *prev;
/* Link to older string with same hash index. To limit the size of this
* array to 64K, this link is maintained only for the last 32K strings.
* An index in this array is thus a window index modulo 32K.
*/
Posf *head; /* Heads of the hash chains or NIL. */
uInt ins_h; /* hash index of string to be inserted */
uInt hash_size; /* number of elements in hash table */
uInt hash_bits; /* log2(hash_size) */
uInt hash_mask; /* hash_size-1 */
uInt hash_shift;
/* Number of bits by which ins_h must be shifted at each input
* step. It must be such that after MIN_MATCH steps, the oldest
* byte no longer takes part in the hash key, that is:
* hash_shift * MIN_MATCH >= hash_bits
*/
long block_start;
/* Window position at the beginning of the current output block. Gets
* negative when the window is moved backwards.
*/
uInt match_length; /* length of best match */
IPos prev_match; /* previous match */
int match_available; /* set if previous match exists */
uInt strstart; /* start of string to insert */
uInt match_start; /* start of matching string */
uInt lookahead; /* number of valid bytes ahead in window */
uInt prev_length;
/* Length of the best match at previous step. Matches not greater than this
* are discarded. This is used in the lazy match evaluation.
*/
uInt max_chain_length;
/* To speed up deflation, hash chains are never searched beyond this
* length. A higher limit improves compression ratio but degrades the
* speed.
*/
uInt max_lazy_match;
/* Attempt to find a better match only when the current match is strictly
* smaller than this value. This mechanism is used only for compression
* levels >= 4.
*/
# define max_insert_length max_lazy_match
/* Insert new strings in the hash table only if the match length is not
* greater than this length. This saves time but degrades compression.
* max_insert_length is used only for compression levels <= 3.
*/
int level; /* compression level (1..9) */
int strategy; /* favor or force Huffman coding*/
uInt good_match;
/* Use a faster search when the previous match is longer than this */
int nice_match; /* Stop searching when current match exceeds this */
/* used by trees.c: */
/* Didn't use ct_data typedef below to supress compiler warning */
struct ct_data_s dyn_ltree[HEAP_SIZE]; /* literal and length tree */
struct ct_data_s dyn_dtree[2*D_CODES+1]; /* distance tree */
struct ct_data_s bl_tree[2*BL_CODES+1]; /* Huffman tree for bit lengths */
struct tree_desc_s l_desc; /* desc. for literal tree */
struct tree_desc_s d_desc; /* desc. for distance tree */
struct tree_desc_s bl_desc; /* desc. for bit length tree */
ush bl_count[MAX_BITS+1];
/* number of codes at each bit length for an optimal tree */
int heap[2*L_CODES+1]; /* heap used to build the Huffman trees */
int heap_len; /* number of elements in the heap */
int heap_max; /* element of largest frequency */
/* The sons of heap[n] are heap[2*n] and heap[2*n+1]. heap[0] is not used.
* The same heap array is used to build all trees.
*/
uch depth[2*L_CODES+1];
/* Depth of each subtree used as tie breaker for trees of equal frequency
*/
uchf *l_buf; /* buffer for literals or lengths */
uInt lit_bufsize;
/* Size of match buffer for literals/lengths. There are 4 reasons for
* limiting lit_bufsize to 64K:
* - frequencies can be kept in 16 bit counters
* - if compression is not successful for the first block, all input
* data is still in the window so we can still emit a stored block even
* when input comes from standard input. (This can also be done for
* all blocks if lit_bufsize is not greater than 32K.)
* - if compression is not successful for a file smaller than 64K, we can
* even emit a stored file instead of a stored block (saving 5 bytes).
* This is applicable only for zip (not gzip or zlib).
* - creating new Huffman trees less frequently may not provide fast
* adaptation to changes in the input data statistics. (Take for
* example a binary file with poorly compressible code followed by
* a highly compressible string table.) Smaller buffer sizes give
* fast adaptation but have of course the overhead of transmitting
* trees more frequently.
* - I can't count above 4
*/
uInt last_lit; /* running index in l_buf */
ushf *d_buf;
/* Buffer for distances. To simplify the code, d_buf and l_buf have
* the same number of elements. To use different lengths, an extra flag
* array would be necessary.
*/
ulg opt_len; /* bit length of current block with optimal trees */
ulg static_len; /* bit length of current block with static trees */
uInt matches; /* number of string matches in current block */
int last_eob_len; /* bit length of EOB code for last block */
#ifdef ZLIB_DEBUG
ulg compressed_len; /* total bit length of compressed file mod 2^32 */
ulg bits_sent; /* bit length of compressed data sent mod 2^32 */
#endif
ush bi_buf;
/* Output buffer. bits are inserted starting at the bottom (least
* significant bits).
*/
int bi_valid;
/* Number of valid bits in bi_buf. All bits above the last valid bit
* are always zero.
*/
} FAR deflate_state;
/* Output a byte on the stream.
* IN assertion: there is enough room in pending_buf.
*/
#define put_byte(s, c) {s->pending_buf[s->pending++] = (c);}
#define MIN_LOOKAHEAD (MAX_MATCH+MIN_MATCH+1)
/* Minimum amount of lookahead, except at the end of the input file.
* See deflate.c for comments about the MIN_MATCH+1.
*/
#define MAX_DIST(s) ((s)->w_size-MIN_LOOKAHEAD)
/* In order to simplify the code, particularly on 16 bit machines, match
* distances are limited to MAX_DIST instead of WSIZE.
*/
/* in trees.c */
void _tr_init OF((deflate_state *s));
int _tr_tally OF((deflate_state *s, unsigned dist, unsigned lc));
void _tr_flush_block OF((deflate_state *s, charf *buf, ulg stored_len,
int eof));
void _tr_align OF((deflate_state *s));
void _tr_stored_block OF((deflate_state *s, charf *buf, ulg stored_len,
int eof));
#define d_code(dist) \
((dist) < 256 ? _dist_code[dist] : _dist_code[256+((dist)>>7)])
/* Mapping from a distance to a distance code. dist is the distance - 1 and
* must not have side effects. _dist_code[256] and _dist_code[257] are never
* used.
*/
#ifndef ZLIB_DEBUG
/* Inline versions of _tr_tally for speed: */
#if defined(GEN_TREES_H) || !defined(STDC)
extern uch _length_code[];
extern uch _dist_code[];
#else
extern const uch _length_code[];
extern const uch _dist_code[];
#endif
# define _tr_tally_lit(s, c, flush) \
{ uch cc = (c); \
s->d_buf[s->last_lit] = 0; \
s->l_buf[s->last_lit++] = cc; \
s->dyn_ltree[cc].Freq++; \
flush = (s->last_lit == s->lit_bufsize-1); \
}
# define _tr_tally_dist(s, distance, length, flush) \
{ uch len = (length); \
ush dist = (distance); \
s->d_buf[s->last_lit] = dist; \
s->l_buf[s->last_lit++] = len; \
dist--; \
s->dyn_ltree[_length_code[len]+LITERALS+1].Freq++; \
s->dyn_dtree[d_code(dist)].Freq++; \
flush = (s->last_lit == s->lit_bufsize-1); \
}
#else
# define _tr_tally_lit(s, c, flush) flush = _tr_tally(s, 0, c)
# define _tr_tally_dist(s, distance, length, flush) \
flush = _tr_tally(s, distance, length)
#endif
#endif /* DEFLATE_H */

1567
vendor/POCO/PDF/include/Poco/PDF/hpdf.h vendored Normal file

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,57 @@
/*
* << Haru Free PDF Library >> -- hpdf_annotation.h
*
* URL: http://libharu.org
*
* Copyright (c) 1999-2006 Takeshi Kanno <takeshi_kanno@est.hi-ho.ne.jp>
* Copyright (c) 2007-2009 Antony Dovgal <tony@daylessday.org>
*
* Permission to use, copy, modify, distribute and sell this software
* and its documentation for any purpose is hereby granted without fee,
* provided that the above copyright notice appear in all copies and
* that both that copyright notice and this permission notice appear
* in supporting documentation.
* It is provided "as is" without express or implied warranty.
*
*/
#ifndef _HPDF_3DMEASURE_H
#define _HPDF_3DMEASURE_H
#include "hpdf_objects.h"
#ifdef __cplusplus
extern "C" {
#endif
/*----------------------------------------------------------------------------*/
/*------ HPDF_3DMeasure -----------------------------------------------------*/
HPDF_3DMeasure
HPDF_3DC3DMeasure_New(HPDF_MMgr mmgr,
HPDF_Xref xref,
HPDF_Point3D firstanchorpoint,
HPDF_Point3D textanchorpoint
);
HPDF_3DMeasure
HPDF_PD33DMeasure_New(HPDF_MMgr mmgr,
HPDF_Xref xref,
HPDF_Point3D annotationPlaneNormal,
HPDF_Point3D firstAnchorPoint,
HPDF_Point3D secondAnchorPoint,
HPDF_Point3D leaderLinesDirection,
HPDF_Point3D measurementValuePoint,
HPDF_Point3D textYDirection,
HPDF_REAL value,
const char* unitsString
);
#ifdef __cplusplus
}
#endif /* __cplusplus */
#endif /* _HPDF_3DMEASURE_H */

View File

@ -0,0 +1,95 @@
/*
* << Haru Free PDF Library >> -- hpdf_annotation.h
*
* URL: http://libharu.org
*
* Copyright (c) 1999-2006 Takeshi Kanno <takeshi_kanno@est.hi-ho.ne.jp>
* Copyright (c) 2007-2009 Antony Dovgal <tony@daylessday.org>
*
* Permission to use, copy, modify, distribute and sell this software
* and its documentation for any purpose is hereby granted without fee,
* provided that the above copyright notice appear in all copies and
* that both that copyright notice and this permission notice appear
* in supporting documentation.
* It is provided "as is" without express or implied warranty.
*
*/
#ifndef _HPDF_ANNOTATION_H
#define _HPDF_ANNOTATION_H
#include "hpdf_objects.h"
#ifdef __cplusplus
extern "C" {
#endif
/*----------------------------------------------------------------------------*/
/*------ HPDF_Annotation -----------------------------------------------------*/
HPDF_Annotation
HPDF_Annotation_New (HPDF_MMgr mmgr,
HPDF_Xref xref,
HPDF_AnnotType type,
HPDF_Rect rect);
HPDF_Annotation
HPDF_LinkAnnot_New (HPDF_MMgr mmgr,
HPDF_Xref xref,
HPDF_Rect rect,
HPDF_Destination dst);
HPDF_Annotation
HPDF_URILinkAnnot_New (HPDF_MMgr mmgr,
HPDF_Xref xref,
HPDF_Rect rect,
const char *uri);
HPDF_Annotation
HPDF_3DAnnot_New (HPDF_MMgr mmgr,
HPDF_Xref xref,
HPDF_Rect rect,
HPDF_U3D u3d);
HPDF_Annotation
HPDF_MarkupAnnot_New (HPDF_MMgr mmgr,
HPDF_Xref xref,
HPDF_Rect rect,
const char *text,
HPDF_Encoder encoder,
HPDF_AnnotType subtype);
HPDF_Annotation
HPDF_PopupAnnot_New (HPDF_MMgr mmgr,
HPDF_Xref xref,
HPDF_Rect rect,
HPDF_Annotation parent);
HPDF_Annotation
HPDF_StampAnnot_New (HPDF_MMgr mmgr,
HPDF_Xref xref,
HPDF_Rect rect,
HPDF_StampAnnotName name,
const char* text,
HPDF_Encoder encoder);
HPDF_Annotation
HPDF_ProjectionAnnot_New (HPDF_MMgr mmgr,
HPDF_Xref xref,
HPDF_Rect rect,
const char* text,
HPDF_Encoder encoder);
HPDF_BOOL
HPDF_Annotation_Validate (HPDF_Annotation annot);
#ifdef __cplusplus
}
#endif /* __cplusplus */
#endif /* _HPDF_ANNOTATION_H */

View File

@ -0,0 +1,93 @@
/*
* << Haru Free PDF Library >> -- hpdf_catalog.h
*
* URL: http://libharu.org
*
* Copyright (c) 1999-2006 Takeshi Kanno <takeshi_kanno@est.hi-ho.ne.jp>
* Copyright (c) 2007-2009 Antony Dovgal <tony@daylessday.org>
*
* Permission to use, copy, modify, distribute and sell this software
* and its documentation for any purpose is hereby granted without fee,
* provided that the above copyright notice appear in all copies and
* that both that copyright notice and this permission notice appear
* in supporting documentation.
* It is provided "as is" without express or implied warranty.
*
*/
#ifndef _HPDF_CATALOG_H
#define _HPDF_CATALOG_H
#include "hpdf_objects.h"
#ifdef __cplusplus
extern "C" {
#endif
typedef HPDF_Dict HPDF_Catalog;
HPDF_Catalog
HPDF_Catalog_New (HPDF_MMgr mmgr,
HPDF_Xref xref);
HPDF_NameDict
HPDF_Catalog_GetNames (HPDF_Catalog catalog);
HPDF_STATUS
HPDF_Catalog_SetNames (HPDF_Catalog catalog,
HPDF_NameDict dict);
HPDF_Pages
HPDF_Catalog_GetRoot (HPDF_Catalog catalog);
HPDF_PageLayout
HPDF_Catalog_GetPageLayout (HPDF_Catalog catalog);
HPDF_STATUS
HPDF_Catalog_SetPageLayout (HPDF_Catalog catalog,
HPDF_PageLayout layout);
HPDF_PageMode
HPDF_Catalog_GetPageMode (HPDF_Catalog catalog);
HPDF_STATUS
HPDF_Catalog_SetPageMode (HPDF_Catalog catalog,
HPDF_PageMode mode);
HPDF_STATUS
HPDF_Catalog_SetOpenAction (HPDF_Catalog catalog,
HPDF_Destination open_action);
HPDF_STATUS
HPDF_Catalog_AddPageLabel (HPDF_Catalog catalog,
HPDF_UINT page_num,
HPDF_Dict page_label);
HPDF_UINT
HPDF_Catalog_GetViewerPreference (HPDF_Catalog catalog);
HPDF_STATUS
HPDF_Catalog_SetViewerPreference (HPDF_Catalog catalog,
HPDF_UINT value);
HPDF_BOOL
HPDF_Catalog_Validate (HPDF_Catalog catalog);
#ifdef __cplusplus
}
#endif /* __cplusplus */
#endif /* _HPDF_CATALOG_H */

View File

@ -0,0 +1,85 @@
/*
* << Haru Free PDF Library >> -- hpdf_conf.h
*
* URL: http://libharu.org
*
* Copyright (c) 1999-2006 Takeshi Kanno <takeshi_kanno@est.hi-ho.ne.jp>
* Copyright (c) 2007-2009 Antony Dovgal <tony@daylessday.org>
*
* Permission to use, copy, modify, distribute and sell this software
* and its documentation for any purpose is hereby granted without fee,
* provided that the above copyright notice appear in all copies and
* that both that copyright notice and this permission notice appear
* in supporting documentation.
* It is provided "as is" without express or implied warranty.
*
*/
#ifndef _HPDF_CONF_H
#define _HPDF_CONF_H
#include <stdlib.h>
#include <stdio.h>
#if defined(_MSC_VER)
#ifndef _USE_MATH_DEFINES
#define _USE_MATH_DEFINES 1
#endif /* _USE_MATH_DEFINES */
#endif
#ifndef __USE_XOPEN
#define __USE_XOPEN /* for M_PI */
#endif /* __USE_XOPEN */
#include <math.h>
/*----------------------------------------------------------------------------*/
/*----- standard C library functions -----------------------------------------*/
#define HPDF_FOPEN fopen
#define HPDF_FCLOSE fclose
#define HPDF_FREAD fread
#define HPDF_FWRITE fwrite
#define HPDF_FFLUSH fflush
#define HPDF_FSEEK fseek
#define HPDF_FTELL ftell
#define HPDF_FEOF feof
#define HPDF_FERROR ferror
#define HPDF_MALLOC malloc
#define HPDF_FREE free
#define HPDF_FILEP FILE*
#define HPDF_TIME time
#define HPDF_PRINTF printf
#define HPDF_SIN sin
#define HPDF_COS cos
/*----------------------------------------------------------------------------*/
/*----- parameters in relation to performance --------------------------------*/
/* default buffer size of memory-stream-object */
#define HPDF_STREAM_BUF_SIZ 4096
/* default array size of list-object */
#define HPDF_DEF_ITEMS_PER_BLOCK 20
/* default array size of cross-reference-table */
#define HPDF_DEFALUT_XREF_ENTRY_NUM 1024
/* default array size of widths-table of cid-fontdef */
#define HPDF_DEF_CHAR_WIDTHS_NUM 128
/* default array size of page-list-tablef */
#define HPDF_DEF_PAGE_LIST_NUM 256
/* default array size of range-table of cid-fontdef */
#define HPDF_DEF_RANGE_TBL_NUM 128
/* default buffer size of memory-pool-object */
#define HPDF_MPOOL_BUF_SIZ 8192
#define HPDF_MIN_MPOOL_BUF_SIZ 256
#define HPDF_MAX_MPOOL_BUF_SIZ 1048576
/* alignment size of memory-pool-object
*/
#define HPDF_ALIGN_SIZ sizeof int;
#endif /* _HPDF_CONF_H */

View File

@ -0,0 +1,75 @@
/* include/hpdf_config.h.in. Generated from configure.in by autoheader. */
/* Define to 1 if you have the <dlfcn.h> header file. */
#undef LIBHPDF_HAVE_DLFCN_H
/* Define to 1 if you have the <inttypes.h> header file. */
#undef LIBHPDF_HAVE_INTTYPES_H
/* Define to 1 if you have the `png' library (-lpng). */
#define LIBHPDF_HAVE_LIBPNG 1
/* Define to 1 if you have the `z' library (-lz). */
#define LIBHPDF_HAVE_LIBZ 1
/* Define to 1 if you have the <memory.h> header file. */
#undef LIBHPDF_HAVE_MEMORY_H
/* Define to 1 if you have the <stdint.h> header file. */
#undef LIBHPDF_HAVE_STDINT_H
/* Define to 1 if you have the <stdlib.h> header file. */
#define LIBHPDF_HAVE_STDLIB_H 1
/* Define to 1 if you have the <strings.h> header file. */
#define LIBHPDF_HAVE_STRINGS_H 1
/* Define to 1 if you have the <string.h> header file. */
#define LIBHPDF_HAVE_STRING_H 1
/* Define to 1 if you have the <sys/stat.h> header file. */
#define LIBHPDF_HAVE_SYS_STAT_H 1
/* Define to 1 if you have the <sys/types.h> header file. */
#undef LIBHPDF_HAVE_SYS_TYPES_H
/* Define to 1 if you have the <unistd.h> header file. */
#define LIBHPDF_HAVE_UNISTD_H 1
/* define pi */
#ifndef M_PI
#define M_PI 3.14159265358979323846
#endif /* M_PI */
/* debug build */
#undef LIBHPDF_DEBUG
/* debug trace enabled */
#undef LIBHPDF_DEBUG_TRACE
/* libpng is not available */
#undef LIBHPDF_HAVE_NOPNGLIB
/* zlib is not available */
#undef LIBHPDF_HAVE_NOZLIB
/* Define to the address where bug reports for this package should be sent. */
#undef LIBHPDF_PACKAGE_BUGREPORT
/* Define to the full name of this package. */
#undef LIBHPDF_PACKAGE_NAME
/* Define to the full name and version of this package. */
#define LIBHPDF_PACKAGE_STRING "libhpdf 2.2.0"
/* Define to the one symbol short name of this package. */
#undef LIBHPDF_PACKAGE_TARNAME
/* Define to the version of this package. */
#define LIBHPDF_PACKAGE_VERSION "2.2.0"
/* Define to 1 if you have the ANSI C header files. */
#define LIBHPDF_STDC_HEADERS 1
/* Define to `unsigned int' if <sys/types.h> does not define. */
#undef size_t

View File

@ -0,0 +1,549 @@
/*
* << Haru Free PDF Library >> -- hpdf_consts.h
*
* URL: http://libharu.org
*
* Copyright (c) 1999-2006 Takeshi Kanno <takeshi_kanno@est.hi-ho.ne.jp>
* Copyright (c) 2007-2009 Antony Dovgal <tony@daylessday.org>
*
* Permission to use, copy, modify, distribute and sell this software
* and its documentation for any purpose is hereby granted without fee,
* provided that the above copyright notice appear in all copies and
* that both that copyright notice and this permission notice appear
* in supporting documentation.
* It is provided "as is" without express or implied warranty.
*
*/
#ifndef _HPDF_CONSTS_H
#define _HPDF_CONSTS_H
/*----------------------------------------------------------------------------*/
#define HPDF_TRUE 1
#define HPDF_FALSE 0
#define HPDF_OK 0
#define HPDF_NOERROR 0
/*----- default values -------------------------------------------------------*/
/* buffer size which is required when we convert to character string. */
#define HPDF_TMP_BUF_SIZ 512
#define HPDF_SHORT_BUF_SIZ 32
#define HPDF_REAL_LEN 11
#define HPDF_INT_LEN 11
#define HPDF_TEXT_DEFAULT_LEN 256
#define HPDF_UNICODE_HEADER_LEN 2
#define HPDF_DATE_TIME_STR_LEN 23
/* length of each item defined in PDF */
#define HPDF_BYTE_OFFSET_LEN 10
#define HPDF_OBJ_ID_LEN 7
#define HPDF_GEN_NO_LEN 5
/* default value of Graphic State */
#define HPDF_DEF_FONT "Helvetica"
#define HPDF_DEF_PAGE_LAYOUT HPDF_PAGE_LAYOUT_SINGLE
#define HPDF_DEF_PAGE_MODE HPDF_PAGE_MODE_USE_NONE
#define HPDF_DEF_WORDSPACE 0
#define HPDF_DEF_CHARSPACE 0
#define HPDF_DEF_FONTSIZE 10
#define HPDF_DEF_HSCALING 100
#define HPDF_DEF_LEADING 0
#define HPDF_DEF_RENDERING_MODE HPDF_FILL
#define HPDF_DEF_RISE 0
#define HPDF_DEF_RAISE HPDF_DEF_RISE
#define HPDF_DEF_LINEWIDTH 1
#define HPDF_DEF_LINECAP HPDF_BUTT_END
#define HPDF_DEF_LINEJOIN HPDF_MITER_JOIN
#define HPDF_DEF_MITERLIMIT 10
#define HPDF_DEF_FLATNESS 1
#define HPDF_DEF_PAGE_NUM 1
#define HPDF_BS_DEF_WIDTH 1
/* defalt page-size */
#define HPDF_DEF_PAGE_WIDTH 595.276F
#define HPDF_DEF_PAGE_HEIGHT 841.89F
/*---------------------------------------------------------------------------*/
/*----- compression mode ----------------------------------------------------*/
#define HPDF_COMP_NONE 0x00
#define HPDF_COMP_TEXT 0x01
#define HPDF_COMP_IMAGE 0x02
#define HPDF_COMP_METADATA 0x04
#define HPDF_COMP_ALL 0x0F
/* #define HPDF_COMP_BEST_COMPRESS 0x10
* #define HPDF_COMP_BEST_SPEED 0x20
*/
#define HPDF_COMP_MASK 0xFF
/*----------------------------------------------------------------------------*/
/*----- permission flags (only Revision 2 is supported)-----------------------*/
#define HPDF_ENABLE_READ 0
#define HPDF_ENABLE_PRINT 4
#define HPDF_ENABLE_EDIT_ALL 8
#define HPDF_ENABLE_COPY 16
#define HPDF_ENABLE_EDIT 32
/*----------------------------------------------------------------------------*/
/*------ viewer preferences definitions --------------------------------------*/
#define HPDF_HIDE_TOOLBAR 1
#define HPDF_HIDE_MENUBAR 2
#define HPDF_HIDE_WINDOW_UI 4
#define HPDF_FIT_WINDOW 8
#define HPDF_CENTER_WINDOW 16
#define HPDF_PRINT_SCALING_NONE 32
/*---------------------------------------------------------------------------*/
/*------ limitation of object implementation (PDF1.4) -----------------------*/
#define HPDF_LIMIT_MAX_INT 2147483647
#define HPDF_LIMIT_MIN_INT -2147483647
#define HPDF_LIMIT_MAX_REAL 32767
#define HPDF_LIMIT_MIN_REAL -32767
#define HPDF_LIMIT_MAX_STRING_LEN 65535
#define HPDF_LIMIT_MAX_NAME_LEN 127
#define HPDF_LIMIT_MAX_ARRAY 32767
#define HPDF_LIMIT_MAX_DICT_ELEMENT 4095
#define HPDF_LIMIT_MAX_XREF_ELEMENT 8388607
#define HPDF_LIMIT_MAX_GSTATE 28
#define HPDF_LIMIT_MAX_DEVICE_N 8
#define HPDF_LIMIT_MAX_DEVICE_N_V15 32
#define HPDF_LIMIT_MAX_CID 65535
#define HPDF_MAX_GENERATION_NUM 65535
#define HPDF_MIN_PAGE_HEIGHT 3
#define HPDF_MIN_PAGE_WIDTH 3
#define HPDF_MAX_PAGE_HEIGHT 14400
#define HPDF_MAX_PAGE_WIDTH 14400
#define HPDF_MIN_MAGNIFICATION_FACTOR 8
#define HPDF_MAX_MAGNIFICATION_FACTOR 3200
/*---------------------------------------------------------------------------*/
/*------ limitation of various properties -----------------------------------*/
#define HPDF_MIN_PAGE_SIZE 3
#define HPDF_MAX_PAGE_SIZE 14400
#define HPDF_MIN_HORIZONTALSCALING 10
#define HPDF_MAX_HORIZONTALSCALING 300
#define HPDF_MIN_WORDSPACE -30
#define HPDF_MAX_WORDSPACE 300
#define HPDF_MIN_CHARSPACE -30
#define HPDF_MAX_CHARSPACE 300
#define HPDF_MAX_FONTSIZE 600
#define HPDF_MAX_ZOOMSIZE 10
#define HPDF_MAX_LEADING 300
#define HPDF_MAX_LINEWIDTH 100
#define HPDF_MAX_DASH_PATTERN 100
#define HPDF_MAX_JWW_NUM 128
/*----------------------------------------------------------------------------*/
/*----- country code definition ----------------------------------------------*/
#define HPDF_COUNTRY_AF "AF" /* AFGHANISTAN */
#define HPDF_COUNTRY_AL "AL" /* ALBANIA */
#define HPDF_COUNTRY_DZ "DZ" /* ALGERIA */
#define HPDF_COUNTRY_AS "AS" /* AMERICAN SAMOA */
#define HPDF_COUNTRY_AD "AD" /* ANDORRA */
#define HPDF_COUNTRY_AO "AO" /* ANGOLA */
#define HPDF_COUNTRY_AI "AI" /* ANGUILLA */
#define HPDF_COUNTRY_AQ "AQ" /* ANTARCTICA */
#define HPDF_COUNTRY_AG "AG" /* ANTIGUA AND BARBUDA */
#define HPDF_COUNTRY_AR "AR" /* ARGENTINA */
#define HPDF_COUNTRY_AM "AM" /* ARMENIA */
#define HPDF_COUNTRY_AW "AW" /* ARUBA */
#define HPDF_COUNTRY_AU "AU" /* AUSTRALIA */
#define HPDF_COUNTRY_AT "AT" /* AUSTRIA */
#define HPDF_COUNTRY_AZ "AZ" /* AZERBAIJAN */
#define HPDF_COUNTRY_BS "BS" /* BAHAMAS */
#define HPDF_COUNTRY_BH "BH" /* BAHRAIN */
#define HPDF_COUNTRY_BD "BD" /* BANGLADESH */
#define HPDF_COUNTRY_BB "BB" /* BARBADOS */
#define HPDF_COUNTRY_BY "BY" /* BELARUS */
#define HPDF_COUNTRY_BE "BE" /* BELGIUM */
#define HPDF_COUNTRY_BZ "BZ" /* BELIZE */
#define HPDF_COUNTRY_BJ "BJ" /* BENIN */
#define HPDF_COUNTRY_BM "BM" /* BERMUDA */
#define HPDF_COUNTRY_BT "BT" /* BHUTAN */
#define HPDF_COUNTRY_BO "BO" /* BOLIVIA */
#define HPDF_COUNTRY_BA "BA" /* BOSNIA AND HERZEGOWINA */
#define HPDF_COUNTRY_BW "BW" /* BOTSWANA */
#define HPDF_COUNTRY_BV "BV" /* BOUVET ISLAND */
#define HPDF_COUNTRY_BR "BR" /* BRAZIL */
#define HPDF_COUNTRY_IO "IO" /* BRITISH INDIAN OCEAN TERRITORY */
#define HPDF_COUNTRY_BN "BN" /* BRUNEI DARUSSALAM */
#define HPDF_COUNTRY_BG "BG" /* BULGARIA */
#define HPDF_COUNTRY_BF "BF" /* BURKINA FASO */
#define HPDF_COUNTRY_BI "BI" /* BURUNDI */
#define HPDF_COUNTRY_KH "KH" /* CAMBODIA */
#define HPDF_COUNTRY_CM "CM" /* CAMEROON */
#define HPDF_COUNTRY_CA "CA" /* CANADA */
#define HPDF_COUNTRY_CV "CV" /* CAPE VERDE */
#define HPDF_COUNTRY_KY "KY" /* CAYMAN ISLANDS */
#define HPDF_COUNTRY_CF "CF" /* CENTRAL AFRICAN REPUBLIC */
#define HPDF_COUNTRY_TD "TD" /* CHAD */
#define HPDF_COUNTRY_CL "CL" /* CHILE */
#define HPDF_COUNTRY_CN "CN" /* CHINA */
#define HPDF_COUNTRY_CX "CX" /* CHRISTMAS ISLAND */
#define HPDF_COUNTRY_CC "CC" /* COCOS (KEELING) ISLANDS */
#define HPDF_COUNTRY_CO "CO" /* COLOMBIA */
#define HPDF_COUNTRY_KM "KM" /* COMOROS */
#define HPDF_COUNTRY_CG "CG" /* CONGO */
#define HPDF_COUNTRY_CK "CK" /* COOK ISLANDS */
#define HPDF_COUNTRY_CR "CR" /* COSTA RICA */
#define HPDF_COUNTRY_CI "CI" /* COTE D'IVOIRE */
#define HPDF_COUNTRY_HR "HR" /* CROATIA (local name: Hrvatska) */
#define HPDF_COUNTRY_CU "CU" /* CUBA */
#define HPDF_COUNTRY_CY "CY" /* CYPRUS */
#define HPDF_COUNTRY_CZ "CZ" /* CZECH REPUBLIC */
#define HPDF_COUNTRY_DK "DK" /* DENMARK */
#define HPDF_COUNTRY_DJ "DJ" /* DJIBOUTI */
#define HPDF_COUNTRY_DM "DM" /* DOMINICA */
#define HPDF_COUNTRY_DO "DO" /* DOMINICAN REPUBLIC */
#define HPDF_COUNTRY_TP "TP" /* EAST TIMOR */
#define HPDF_COUNTRY_EC "EC" /* ECUADOR */
#define HPDF_COUNTRY_EG "EG" /* EGYPT */
#define HPDF_COUNTRY_SV "SV" /* EL SALVADOR */
#define HPDF_COUNTRY_GQ "GQ" /* EQUATORIAL GUINEA */
#define HPDF_COUNTRY_ER "ER" /* ERITREA */
#define HPDF_COUNTRY_EE "EE" /* ESTONIA */
#define HPDF_COUNTRY_ET "ET" /* ETHIOPIA */
#define HPDF_COUNTRY_FK "FK" /* FALKLAND ISLANDS (MALVINAS) */
#define HPDF_COUNTRY_FO "FO" /* FAROE ISLANDS */
#define HPDF_COUNTRY_FJ "FJ" /* FIJI */
#define HPDF_COUNTRY_FI "FI" /* FINLAND */
#define HPDF_COUNTRY_FR "FR" /* FRANCE */
#define HPDF_COUNTRY_FX "FX" /* FRANCE, METROPOLITAN */
#define HPDF_COUNTRY_GF "GF" /* FRENCH GUIANA */
#define HPDF_COUNTRY_PF "PF" /* FRENCH POLYNESIA */
#define HPDF_COUNTRY_TF "TF" /* FRENCH SOUTHERN TERRITORIES */
#define HPDF_COUNTRY_GA "GA" /* GABON */
#define HPDF_COUNTRY_GM "GM" /* GAMBIA */
#define HPDF_COUNTRY_GE "GE" /* GEORGIA */
#define HPDF_COUNTRY_DE "DE" /* GERMANY */
#define HPDF_COUNTRY_GH "GH" /* GHANA */
#define HPDF_COUNTRY_GI "GI" /* GIBRALTAR */
#define HPDF_COUNTRY_GR "GR" /* GREECE */
#define HPDF_COUNTRY_GL "GL" /* GREENLAND */
#define HPDF_COUNTRY_GD "GD" /* GRENADA */
#define HPDF_COUNTRY_GP "GP" /* GUADELOUPE */
#define HPDF_COUNTRY_GU "GU" /* GUAM */
#define HPDF_COUNTRY_GT "GT" /* GUATEMALA */
#define HPDF_COUNTRY_GN "GN" /* GUINEA */
#define HPDF_COUNTRY_GW "GW" /* GUINEA-BISSAU */
#define HPDF_COUNTRY_GY "GY" /* GUYANA */
#define HPDF_COUNTRY_HT "HT" /* HAITI */
#define HPDF_COUNTRY_HM "HM" /* HEARD AND MC DONALD ISLANDS */
#define HPDF_COUNTRY_HN "HN" /* HONDURAS */
#define HPDF_COUNTRY_HK "HK" /* HONG KONG */
#define HPDF_COUNTRY_HU "HU" /* HUNGARY */
#define HPDF_COUNTRY_IS "IS" /* ICELAND */
#define HPDF_COUNTRY_IN "IN" /* INDIA */
#define HPDF_COUNTRY_ID "ID" /* INDONESIA */
#define HPDF_COUNTRY_IR "IR" /* IRAN (ISLAMIC REPUBLIC OF) */
#define HPDF_COUNTRY_IQ "IQ" /* IRAQ */
#define HPDF_COUNTRY_IE "IE" /* IRELAND */
#define HPDF_COUNTRY_IL "IL" /* ISRAEL */
#define HPDF_COUNTRY_IT "IT" /* ITALY */
#define HPDF_COUNTRY_JM "JM" /* JAMAICA */
#define HPDF_COUNTRY_JP "JP" /* JAPAN */
#define HPDF_COUNTRY_JO "JO" /* JORDAN */
#define HPDF_COUNTRY_KZ "KZ" /* KAZAKHSTAN */
#define HPDF_COUNTRY_KE "KE" /* KENYA */
#define HPDF_COUNTRY_KI "KI" /* KIRIBATI */
#define HPDF_COUNTRY_KP "KP" /* KOREA, DEMOCRATIC PEOPLE'S REPUBLIC OF */
#define HPDF_COUNTRY_KR "KR" /* KOREA, REPUBLIC OF */
#define HPDF_COUNTRY_KW "KW" /* KUWAIT */
#define HPDF_COUNTRY_KG "KG" /* KYRGYZSTAN */
#define HPDF_COUNTRY_LA "LA" /* LAO PEOPLE'S DEMOCRATIC REPUBLIC */
#define HPDF_COUNTRY_LV "LV" /* LATVIA */
#define HPDF_COUNTRY_LB "LB" /* LEBANON */
#define HPDF_COUNTRY_LS "LS" /* LESOTHO */
#define HPDF_COUNTRY_LR "LR" /* LIBERIA */
#define HPDF_COUNTRY_LY "LY" /* LIBYAN ARAB JAMAHIRIYA */
#define HPDF_COUNTRY_LI "LI" /* LIECHTENSTEIN */
#define HPDF_COUNTRY_LT "LT" /* LITHUANIA */
#define HPDF_COUNTRY_LU "LU" /* LUXEMBOURG */
#define HPDF_COUNTRY_MO "MO" /* MACAU */
#define HPDF_COUNTRY_MK "MK" /* MACEDONIA, THE FORMER YUGOSLAV REPUBLIC OF */
#define HPDF_COUNTRY_MG "MG" /* MADAGASCAR */
#define HPDF_COUNTRY_MW "MW" /* MALAWI */
#define HPDF_COUNTRY_MY "MY" /* MALAYSIA */
#define HPDF_COUNTRY_MV "MV" /* MALDIVES */
#define HPDF_COUNTRY_ML "ML" /* MALI */
#define HPDF_COUNTRY_MT "MT" /* MALTA */
#define HPDF_COUNTRY_MH "MH" /* MARSHALL ISLANDS */
#define HPDF_COUNTRY_MQ "MQ" /* MARTINIQUE */
#define HPDF_COUNTRY_MR "MR" /* MAURITANIA */
#define HPDF_COUNTRY_MU "MU" /* MAURITIUS */
#define HPDF_COUNTRY_YT "YT" /* MAYOTTE */
#define HPDF_COUNTRY_MX "MX" /* MEXICO */
#define HPDF_COUNTRY_FM "FM" /* MICRONESIA, FEDERATED STATES OF */
#define HPDF_COUNTRY_MD "MD" /* MOLDOVA, REPUBLIC OF */
#define HPDF_COUNTRY_MC "MC" /* MONACO */
#define HPDF_COUNTRY_MN "MN" /* MONGOLIA */
#define HPDF_COUNTRY_MS "MS" /* MONTSERRAT */
#define HPDF_COUNTRY_MA "MA" /* MOROCCO */
#define HPDF_COUNTRY_MZ "MZ" /* MOZAMBIQUE */
#define HPDF_COUNTRY_MM "MM" /* MYANMAR */
#define HPDF_COUNTRY_NA "NA" /* NAMIBIA */
#define HPDF_COUNTRY_NR "NR" /* NAURU */
#define HPDF_COUNTRY_NP "NP" /* NEPAL */
#define HPDF_COUNTRY_NL "NL" /* NETHERLANDS */
#define HPDF_COUNTRY_AN "AN" /* NETHERLANDS ANTILLES */
#define HPDF_COUNTRY_NC "NC" /* NEW CALEDONIA */
#define HPDF_COUNTRY_NZ "NZ" /* NEW ZEALAND */
#define HPDF_COUNTRY_NI "NI" /* NICARAGUA */
#define HPDF_COUNTRY_NE "NE" /* NIGER */
#define HPDF_COUNTRY_NG "NG" /* NIGERIA */
#define HPDF_COUNTRY_NU "NU" /* NIUE */
#define HPDF_COUNTRY_NF "NF" /* NORFOLK ISLAND */
#define HPDF_COUNTRY_MP "MP" /* NORTHERN MARIANA ISLANDS */
#define HPDF_COUNTRY_NO "NO" /* NORWAY */
#define HPDF_COUNTRY_OM "OM" /* OMAN */
#define HPDF_COUNTRY_PK "PK" /* PAKISTAN */
#define HPDF_COUNTRY_PW "PW" /* PALAU */
#define HPDF_COUNTRY_PA "PA" /* PANAMA */
#define HPDF_COUNTRY_PG "PG" /* PAPUA NEW GUINEA */
#define HPDF_COUNTRY_PY "PY" /* PARAGUAY */
#define HPDF_COUNTRY_PE "PE" /* PERU */
#define HPDF_COUNTRY_PH "PH" /* PHILIPPINES */
#define HPDF_COUNTRY_PN "PN" /* PITCAIRN */
#define HPDF_COUNTRY_PL "PL" /* POLAND */
#define HPDF_COUNTRY_PT "PT" /* PORTUGAL */
#define HPDF_COUNTRY_PR "PR" /* PUERTO RICO */
#define HPDF_COUNTRY_QA "QA" /* QATAR */
#define HPDF_COUNTRY_RE "RE" /* REUNION */
#define HPDF_COUNTRY_RO "RO" /* ROMANIA */
#define HPDF_COUNTRY_RU "RU" /* RUSSIAN FEDERATION */
#define HPDF_COUNTRY_RW "RW" /* RWANDA */
#define HPDF_COUNTRY_KN "KN" /* SAINT KITTS AND NEVIS */
#define HPDF_COUNTRY_LC "LC" /* SAINT LUCIA */
#define HPDF_COUNTRY_VC "VC" /* SAINT VINCENT AND THE GRENADINES */
#define HPDF_COUNTRY_WS "WS" /* SAMOA */
#define HPDF_COUNTRY_SM "SM" /* SAN MARINO */
#define HPDF_COUNTRY_ST "ST" /* SAO TOME AND PRINCIPE */
#define HPDF_COUNTRY_SA "SA" /* SAUDI ARABIA */
#define HPDF_COUNTRY_SN "SN" /* SENEGAL */
#define HPDF_COUNTRY_SC "SC" /* SEYCHELLES */
#define HPDF_COUNTRY_SL "SL" /* SIERRA LEONE */
#define HPDF_COUNTRY_SG "SG" /* SINGAPORE */
#define HPDF_COUNTRY_SK "SK" /* SLOVAKIA (Slovak Republic) */
#define HPDF_COUNTRY_SI "SI" /* SLOVENIA */
#define HPDF_COUNTRY_SB "SB" /* SOLOMON ISLANDS */
#define HPDF_COUNTRY_SO "SO" /* SOMALIA */
#define HPDF_COUNTRY_ZA "ZA" /* SOUTH AFRICA */
#define HPDF_COUNTRY_ES "ES" /* SPAIN */
#define HPDF_COUNTRY_LK "LK" /* SRI LANKA */
#define HPDF_COUNTRY_SH "SH" /* ST. HELENA */
#define HPDF_COUNTRY_PM "PM" /* ST. PIERRE AND MIQUELON */
#define HPDF_COUNTRY_SD "SD" /* SUDAN */
#define HPDF_COUNTRY_SR "SR" /* SURINAME */
#define HPDF_COUNTRY_SJ "SJ" /* SVALBARD AND JAN MAYEN ISLANDS */
#define HPDF_COUNTRY_SZ "SZ" /* SWAZILAND */
#define HPDF_COUNTRY_SE "SE" /* SWEDEN */
#define HPDF_COUNTRY_CH "CH" /* SWITZERLAND */
#define HPDF_COUNTRY_SY "SY" /* SYRIAN ARAB REPUBLIC */
#define HPDF_COUNTRY_TW "TW" /* TAIWAN, PROVINCE OF CHINA */
#define HPDF_COUNTRY_TJ "TJ" /* TAJIKISTAN */
#define HPDF_COUNTRY_TZ "TZ" /* TANZANIA, UNITED REPUBLIC OF */
#define HPDF_COUNTRY_TH "TH" /* THAILAND */
#define HPDF_COUNTRY_TG "TG" /* TOGO */
#define HPDF_COUNTRY_TK "TK" /* TOKELAU */
#define HPDF_COUNTRY_TO "TO" /* TONGA */
#define HPDF_COUNTRY_TT "TT" /* TRINIDAD AND TOBAGO */
#define HPDF_COUNTRY_TN "TN" /* TUNISIA */
#define HPDF_COUNTRY_TR "TR" /* TURKEY */
#define HPDF_COUNTRY_TM "TM" /* TURKMENISTAN */
#define HPDF_COUNTRY_TC "TC" /* TURKS AND CAICOS ISLANDS */
#define HPDF_COUNTRY_TV "TV" /* TUVALU */
#define HPDF_COUNTRY_UG "UG" /* UGANDA */
#define HPDF_COUNTRY_UA "UA" /* UKRAINE */
#define HPDF_COUNTRY_AE "AE" /* UNITED ARAB EMIRATES */
#define HPDF_COUNTRY_GB "GB" /* UNITED KINGDOM */
#define HPDF_COUNTRY_US "US" /* UNITED STATES */
#define HPDF_COUNTRY_UM "UM" /* UNITED STATES MINOR OUTLYING ISLANDS */
#define HPDF_COUNTRY_UY "UY" /* URUGUAY */
#define HPDF_COUNTRY_UZ "UZ" /* UZBEKISTAN */
#define HPDF_COUNTRY_VU "VU" /* VANUATU */
#define HPDF_COUNTRY_VA "VA" /* VATICAN CITY STATE (HOLY SEE) */
#define HPDF_COUNTRY_VE "VE" /* VENEZUELA */
#define HPDF_COUNTRY_VN "VN" /* VIET NAM */
#define HPDF_COUNTRY_VG "VG" /* VIRGIN ISLANDS (BRITISH) */
#define HPDF_COUNTRY_VI "VI" /* VIRGIN ISLANDS (U.S.) */
#define HPDF_COUNTRY_WF "WF" /* WALLIS AND FUTUNA ISLANDS */
#define HPDF_COUNTRY_EH "EH" /* WESTERN SAHARA */
#define HPDF_COUNTRY_YE "YE" /* YEMEN */
#define HPDF_COUNTRY_YU "YU" /* YUGOSLAVIA */
#define HPDF_COUNTRY_ZR "ZR" /* ZAIRE */
#define HPDF_COUNTRY_ZM "ZM" /* ZAMBIA */
#define HPDF_COUNTRY_ZW "ZW" /* ZIMBABWE */
/*----------------------------------------------------------------------------*/
/*----- lang code definition -------------------------------------------------*/
#define HPDF_LANG_AA "aa" /* Afar */
#define HPDF_LANG_AB "ab" /* Abkhazian */
#define HPDF_LANG_AF "af" /* Afrikaans */
#define HPDF_LANG_AM "am" /* Amharic */
#define HPDF_LANG_AR "ar" /* Arabic */
#define HPDF_LANG_AS "as" /* Assamese */
#define HPDF_LANG_AY "ay" /* Aymara */
#define HPDF_LANG_AZ "az" /* Azerbaijani */
#define HPDF_LANG_BA "ba" /* Bashkir */
#define HPDF_LANG_BE "be" /* Byelorussian */
#define HPDF_LANG_BG "bg" /* Bulgarian */
#define HPDF_LANG_BH "bh" /* Bihari */
#define HPDF_LANG_BI "bi" /* Bislama */
#define HPDF_LANG_BN "bn" /* Bengali Bangla */
#define HPDF_LANG_BO "bo" /* Tibetan */
#define HPDF_LANG_BR "br" /* Breton */
#define HPDF_LANG_CA "ca" /* Catalan */
#define HPDF_LANG_CO "co" /* Corsican */
#define HPDF_LANG_CS "cs" /* Czech */
#define HPDF_LANG_CY "cy" /* Welsh */
#define HPDF_LANG_DA "da" /* Danish */
#define HPDF_LANG_DE "de" /* German */
#define HPDF_LANG_DZ "dz" /* Bhutani */
#define HPDF_LANG_EL "el" /* Greek */
#define HPDF_LANG_EN "en" /* English */
#define HPDF_LANG_EO "eo" /* Esperanto */
#define HPDF_LANG_ES "es" /* Spanish */
#define HPDF_LANG_ET "et" /* Estonian */
#define HPDF_LANG_EU "eu" /* Basque */
#define HPDF_LANG_FA "fa" /* Persian */
#define HPDF_LANG_FI "fi" /* Finnish */
#define HPDF_LANG_FJ "fj" /* Fiji */
#define HPDF_LANG_FO "fo" /* Faeroese */
#define HPDF_LANG_FR "fr" /* French */
#define HPDF_LANG_FY "fy" /* Frisian */
#define HPDF_LANG_GA "ga" /* Irish */
#define HPDF_LANG_GD "gd" /* Scots Gaelic */
#define HPDF_LANG_GL "gl" /* Galician */
#define HPDF_LANG_GN "gn" /* Guarani */
#define HPDF_LANG_GU "gu" /* Gujarati */
#define HPDF_LANG_HA "ha" /* Hausa */
#define HPDF_LANG_HI "hi" /* Hindi */
#define HPDF_LANG_HR "hr" /* Croatian */
#define HPDF_LANG_HU "hu" /* Hungarian */
#define HPDF_LANG_HY "hy" /* Armenian */
#define HPDF_LANG_IA "ia" /* Interlingua */
#define HPDF_LANG_IE "ie" /* Interlingue */
#define HPDF_LANG_IK "ik" /* Inupiak */
#define HPDF_LANG_IN "in" /* Indonesian */
#define HPDF_LANG_IS "is" /* Icelandic */
#define HPDF_LANG_IT "it" /* Italian */
#define HPDF_LANG_IW "iw" /* Hebrew */
#define HPDF_LANG_JA "ja" /* Japanese */
#define HPDF_LANG_JI "ji" /* Yiddish */
#define HPDF_LANG_JW "jw" /* Javanese */
#define HPDF_LANG_KA "ka" /* Georgian */
#define HPDF_LANG_KK "kk" /* Kazakh */
#define HPDF_LANG_KL "kl" /* Greenlandic */
#define HPDF_LANG_KM "km" /* Cambodian */
#define HPDF_LANG_KN "kn" /* Kannada */
#define HPDF_LANG_KO "ko" /* Korean */
#define HPDF_LANG_KS "ks" /* Kashmiri */
#define HPDF_LANG_KU "ku" /* Kurdish */
#define HPDF_LANG_KY "ky" /* Kirghiz */
#define HPDF_LANG_LA "la" /* Latin */
#define HPDF_LANG_LN "ln" /* Lingala */
#define HPDF_LANG_LO "lo" /* Laothian */
#define HPDF_LANG_LT "lt" /* Lithuanian */
#define HPDF_LANG_LV "lv" /* Latvian,Lettish */
#define HPDF_LANG_MG "mg" /* Malagasy */
#define HPDF_LANG_MI "mi" /* Maori */
#define HPDF_LANG_MK "mk" /* Macedonian */
#define HPDF_LANG_ML "ml" /* Malayalam */
#define HPDF_LANG_MN "mn" /* Mongolian */
#define HPDF_LANG_MO "mo" /* Moldavian */
#define HPDF_LANG_MR "mr" /* Marathi */
#define HPDF_LANG_MS "ms" /* Malay */
#define HPDF_LANG_MT "mt" /* Maltese */
#define HPDF_LANG_MY "my" /* Burmese */
#define HPDF_LANG_NA "na" /* Nauru */
#define HPDF_LANG_NE "ne" /* Nepali */
#define HPDF_LANG_NL "nl" /* Dutch */
#define HPDF_LANG_NO "no" /* Norwegian */
#define HPDF_LANG_OC "oc" /* Occitan */
#define HPDF_LANG_OM "om" /* (Afan)Oromo */
#define HPDF_LANG_OR "or" /* Oriya */
#define HPDF_LANG_PA "pa" /* Punjabi */
#define HPDF_LANG_PL "pl" /* Polish */
#define HPDF_LANG_PS "ps" /* Pashto,Pushto */
#define HPDF_LANG_PT "pt" /* Portuguese */
#define HPDF_LANG_QU "qu" /* Quechua */
#define HPDF_LANG_RM "rm" /* Rhaeto-Romance */
#define HPDF_LANG_RN "rn" /* Kirundi */
#define HPDF_LANG_RO "ro" /* Romanian */
#define HPDF_LANG_RU "ru" /* Russian */
#define HPDF_LANG_RW "rw" /* Kinyarwanda */
#define HPDF_LANG_SA "sa" /* Sanskrit */
#define HPDF_LANG_SD "sd" /* Sindhi */
#define HPDF_LANG_SG "sg" /* Sangro */
#define HPDF_LANG_SH "sh" /* Serbo-Croatian */
#define HPDF_LANG_SI "si" /* Singhalese */
#define HPDF_LANG_SK "sk" /* Slovak */
#define HPDF_LANG_SL "sl" /* Slovenian */
#define HPDF_LANG_SM "sm" /* Samoan */
#define HPDF_LANG_SN "sn" /* Shona */
#define HPDF_LANG_SO "so" /* Somali */
#define HPDF_LANG_SQ "sq" /* Albanian */
#define HPDF_LANG_SR "sr" /* Serbian */
#define HPDF_LANG_SS "ss" /* Siswati */
#define HPDF_LANG_ST "st" /* Sesotho */
#define HPDF_LANG_SU "su" /* Sundanese */
#define HPDF_LANG_SV "sv" /* Swedish */
#define HPDF_LANG_SW "sw" /* Swahili */
#define HPDF_LANG_TA "ta" /* Tamil */
#define HPDF_LANG_TE "te" /* Tegulu */
#define HPDF_LANG_TG "tg" /* Tajik */
#define HPDF_LANG_TH "th" /* Thai */
#define HPDF_LANG_TI "ti" /* Tigrinya */
#define HPDF_LANG_TK "tk" /* Turkmen */
#define HPDF_LANG_TL "tl" /* Tagalog */
#define HPDF_LANG_TN "tn" /* Setswanato Tonga */
#define HPDF_LANG_TR "tr" /* Turkish */
#define HPDF_LANG_TS "ts" /* Tsonga */
#define HPDF_LANG_TT "tt" /* Tatar */
#define HPDF_LANG_TW "tw" /* Twi */
#define HPDF_LANG_UK "uk" /* Ukrainian */
#define HPDF_LANG_UR "ur" /* Urdu */
#define HPDF_LANG_UZ "uz" /* Uzbek */
#define HPDF_LANG_VI "vi" /* Vietnamese */
#define HPDF_LANG_VO "vo" /* Volapuk */
#define HPDF_LANG_WO "wo" /* Wolof */
#define HPDF_LANG_XH "xh" /* Xhosa */
#define HPDF_LANG_YO "yo" /* Yoruba */
#define HPDF_LANG_ZH "zh" /* Chinese */
#define HPDF_LANG_ZU "zu" /* Zulu */
/*----------------------------------------------------------------------------*/
/*----- Graphis mode ---------------------------------------------------------*/
#define HPDF_GMODE_PAGE_DESCRIPTION 0x0001
#define HPDF_GMODE_PATH_OBJECT 0x0002
#define HPDF_GMODE_TEXT_OBJECT 0x0004
#define HPDF_GMODE_CLIPPING_PATH 0x0008
#define HPDF_GMODE_SHADING 0x0010
#define HPDF_GMODE_INLINE_IMAGE 0x0020
#define HPDF_GMODE_EXTERNAL_OBJECT 0x0040
/*----------------------------------------------------------------------------*/
#endif /* _HPDF_CONSTS_H */

View File

@ -0,0 +1,44 @@
/*
* << Haru Free PDF Library >> -- hpdf_destination.c
*
* URL: http://libharu.org
*
* Copyright (c) 1999-2006 Takeshi Kanno <takeshi_kanno@est.hi-ho.ne.jp>
* Copyright (c) 2007-2009 Antony Dovgal <tony@daylessday.org>
*
* Permission to use, copy, modify, distribute and sell this software
* and its documentation for any purpose is hereby granted without fee,
* provided that the above copyright notice appear in all copies and
* that both that copyright notice and this permission notice appear
* in supporting documentation.
* It is provided "as is" without express or implied warranty.
*
*/
#ifndef _HPDF_DESTINATION_H
#define _HPDF_DESTINATION_H
#include "hpdf_objects.h"
#ifdef __cplusplus
extern "C" {
#endif
/*----------------------------------------------------------------------------*/
/*----- HPDF_Destination -----------------------------------------------------*/
HPDF_Destination
HPDF_Destination_New (HPDF_MMgr mmgr,
HPDF_Page target,
HPDF_Xref xref);
HPDF_BOOL
HPDF_Destination_Validate (HPDF_Destination dst);
#ifdef __cplusplus
}
#endif /* __cplusplus */
#endif /* _HPDF_DESTINATION_H */

View File

@ -0,0 +1,162 @@
/*
* << Haru Free PDF Library >> -- hpdf_doc.h
*
* URL: http://libharu.org
*
* Copyright (c) 1999-2006 Takeshi Kanno <takeshi_kanno@est.hi-ho.ne.jp>
* Copyright (c) 2007-2009 Antony Dovgal <tony@daylessday.org>
*
* Permission to use, copy, modify, distribute and sell this software
* and its documentation for any purpose is hereby granted without fee,
* provided that the above copyright notice appear in all copies and
* that both that copyright notice and this permission notice appear
* in supporting documentation.
* It is provided "as is" without express or implied warranty.
*
*/
#ifndef _HPDF_DOC_H
#define _HPDF_DOC_H
#define HPDF_SIG_BYTES 0x41504446L
#include "hpdf_catalog.h"
#include "hpdf_image.h"
#include "hpdf_pages.h"
#include "hpdf_outline.h"
#include "hpdf_ext_gstate.h"
#ifdef __cplusplus
extern "C" {
#endif
#define HPDF_VER_DEFAULT HPDF_VER_12
typedef struct _HPDF_Doc_Rec {
HPDF_UINT32 sig_bytes;
HPDF_PDFVer pdf_version;
HPDF_MMgr mmgr;
HPDF_Catalog catalog;
HPDF_Outline outlines;
HPDF_Xref xref;
HPDF_Pages root_pages;
HPDF_Pages cur_pages;
HPDF_Page cur_page;
HPDF_List page_list;
HPDF_Error_Rec error;
HPDF_Dict info;
HPDF_Dict trailer;
HPDF_List font_mgr;
HPDF_BYTE ttfont_tag[6];
/* list for loaded fontdefs */
HPDF_List fontdef_list;
/* list for loaded encodings */
HPDF_List encoder_list;
HPDF_Encoder cur_encoder;
/* default compression mode */
HPDF_BOOL compression_mode;
HPDF_BOOL encrypt_on;
HPDF_EncryptDict encrypt_dict;
HPDF_Encoder def_encoder;
HPDF_UINT page_per_pages;
HPDF_UINT cur_page_num;
/* buffer for saving into memory stream */
HPDF_Stream stream;
} HPDF_Doc_Rec;
typedef struct _HPDF_Doc_Rec *HPDF_Doc;
HPDF_Encoder
HPDF_Doc_FindEncoder (HPDF_Doc pdf,
const char *encoding_name);
HPDF_FontDef
HPDF_Doc_FindFontDef (HPDF_Doc pdf,
const char *font_name);
HPDF_Font
HPDF_Doc_FindFont (HPDF_Doc pdf,
const char *font_name,
const char *encoding_name);
HPDF_BOOL
HPDF_Doc_Validate (HPDF_Doc pdf);
/*----- page handling -------------------------------------------------------*/
HPDF_Pages
HPDF_Doc_GetCurrentPages (HPDF_Doc pdf);
HPDF_Pages
HPDF_Doc_AddPagesTo (HPDF_Doc pdf,
HPDF_Pages parent);
HPDF_STATUS
HPDF_Doc_SetCurrentPages (HPDF_Doc pdf,
HPDF_Pages pages);
HPDF_STATUS
HPDF_Doc_SetCurrentPage (HPDF_Doc pdf,
HPDF_Page page);
/*----- font handling -------------------------------------------------------*/
HPDF_FontDef
HPDF_GetFontDef (HPDF_Doc pdf,
const char *font_name);
HPDF_STATUS
HPDF_Doc_RegisterFontDef (HPDF_Doc pdf,
HPDF_FontDef fontdef);
/*----- encoding handling ---------------------------------------------------*/
HPDF_STATUS
HPDF_Doc_RegisterEncoder (HPDF_Doc pdf,
HPDF_Encoder encoder);
/*----- encryptio------------------------------------------------------------*/
HPDF_STATUS
HPDF_Doc_SetEncryptOn (HPDF_Doc pdf);
HPDF_STATUS
HPDF_Doc_SetEncryptOff (HPDF_Doc pdf);
HPDF_STATUS
HPDF_Doc_PrepareEncryption (HPDF_Doc pdf);
#ifdef __cplusplus
}
#endif /* __cplusplus */
#endif /* _HPDF_DOC_H */

View File

@ -0,0 +1,318 @@
/*
* << Haru Free PDF Library >> -- hpdf_encoder.h
*
* URL: http://libharu.org
*
* Copyright (c) 1999-2006 Takeshi Kanno <takeshi_kanno@est.hi-ho.ne.jp>
* Copyright (c) 2007-2009 Antony Dovgal <tony@daylessday.org>
*
* Permission to use, copy, modify, distribute and sell this software
* and its documentation for any purpose is hereby granted without fee,
* provided that the above copyright notice appear in all copies and
* that both that copyright notice and this permission notice appear
* in supporting documentation.
* It is provided "as is" without express or implied warranty.
*
*/
#ifndef _HPDF_ENCODER_H
#define _HPDF_ENCODER_H
#include "hpdf_consts.h"
#include "hpdf_streams.h"
#ifdef __cplusplus
extern "C" {
#endif
/*-- HPDF_Encoder ---------------------------------------*/
#define HPDF_ENCODER_SIG_BYTES 0x454E4344L
/*----------------------------------------------------------------------------*/
/*------ predefined font encodings -------------------------------------------*/
#define HPDF_ENCODING_FONT_SPECIFIC "FontSpecific"
#define HPDF_ENCODING_STANDARD "StandardEncoding"
#define HPDF_ENCODING_MAC_ROMAN "MacRomanEncoding"
#define HPDF_ENCODING_WIN_ANSI "WinAnsiEncoding"
#define HPDF_ENCODING_ISO8859_2 "ISO8859-2"
#define HPDF_ENCODING_ISO8859_3 "ISO8859-3"
#define HPDF_ENCODING_ISO8859_4 "ISO8859-4"
#define HPDF_ENCODING_ISO8859_5 "ISO8859-5"
#define HPDF_ENCODING_ISO8859_6 "ISO8859-6"
#define HPDF_ENCODING_ISO8859_7 "ISO8859-7"
#define HPDF_ENCODING_ISO8859_8 "ISO8859-8"
#define HPDF_ENCODING_ISO8859_9 "ISO8859-9"
#define HPDF_ENCODING_ISO8859_10 "ISO8859-10"
#define HPDF_ENCODING_ISO8859_11 "ISO8859-11"
#define HPDF_ENCODING_ISO8859_13 "ISO8859-13"
#define HPDF_ENCODING_ISO8859_14 "ISO8859-14"
#define HPDF_ENCODING_ISO8859_15 "ISO8859-15"
#define HPDF_ENCODING_ISO8859_16 "ISO8859-16"
#define HPDF_ENCODING_CP1250 "CP1250"
#define HPDF_ENCODING_CP1251 "CP1251"
#define HPDF_ENCODING_CP1252 "CP1252"
#define HPDF_ENCODING_CP1253 "CP1253"
#define HPDF_ENCODING_CP1254 "CP1254"
#define HPDF_ENCODING_CP1255 "CP1255"
#define HPDF_ENCODING_CP1256 "CP1256"
#define HPDF_ENCODING_CP1257 "CP1257"
#define HPDF_ENCODING_CP1258 "CP1258"
#define HPDF_ENCODING_KOI8_R "KOI8-R"
/*----------------------------------------------------------------------------*/
/*----- definition for font encoding -----------------------------------------*/
#define char_NOTDEF ".notdef"
typedef enum _HPDF_EncodingType {
HPDF_STANDARD_ENCODING = 0,
HPDF_MAC_ROMAN_ENCODING,
HPDF_WIN_ANSI_ENCODING,
HPDF_FONT_SPECIFIC,
HPDF_ENCODING_EOF
} HPDF_EncodingType;
typedef struct _HPDF_ParseText_Rec {
const HPDF_BYTE *text;
HPDF_UINT index;
HPDF_UINT len;
HPDF_ByteType byte_type;
} HPDF_ParseText_Rec;
typedef struct _HPDF_Encoder_Rec *HPDF_Encoder;
typedef HPDF_ByteType
(*HPDF_Encoder_ByteType_Func) (HPDF_Encoder encoder,
HPDF_ParseText_Rec *state);
typedef HPDF_UNICODE
(*HPDF_Encoder_ToUnicode_Func) (HPDF_Encoder encoder,
HPDF_UINT16 code);
typedef char *
(*HPDF_Encoder_EncodeText_Func) (HPDF_Encoder encoder,
const char *text,
HPDF_UINT len,
HPDF_UINT *encoded_length);
typedef HPDF_STATUS
(*HPDF_Encoder_Write_Func) (HPDF_Encoder encoder,
HPDF_Stream out);
typedef HPDF_STATUS
(*HPDF_Encoder_Init_Func) (HPDF_Encoder encoder);
typedef void
(*HPDF_Encoder_Free_Func) (HPDF_Encoder encoder);
typedef struct _HPDF_Encoder_Rec {
HPDF_UINT32 sig_bytes;
char name[HPDF_LIMIT_MAX_NAME_LEN + 1];
HPDF_MMgr mmgr;
HPDF_Error error;
HPDF_EncoderType type;
HPDF_Encoder_ByteType_Func byte_type_fn;
HPDF_Encoder_ToUnicode_Func to_unicode_fn;
HPDF_Encoder_EncodeText_Func encode_text_fn;
HPDF_Encoder_Write_Func write_fn;
HPDF_Encoder_Free_Func free_fn;
HPDF_Encoder_Init_Func init_fn;
/*
char lang_code[3];
char country_code[3];
*/
void *attr;
} HPDF_Encoder_Rec;
typedef enum _HPDF_BaseEncodings {
HPDF_BASE_ENCODING_STANDARD,
HPDF_BASE_ENCODING_WIN_ANSI,
HPDF_BASE_ENCODING_MAC_ROMAN,
HPDF_BASE_ENCODING_FONT_SPECIFIC,
HPDF_BASE_ENCODING_EOF
} HPDF_BaseEncodings;
HPDF_STATUS
HPDF_Encoder_Validate (HPDF_Encoder encoder);
void
HPDF_Encoder_SetParseText (HPDF_Encoder encoder,
HPDF_ParseText_Rec *state,
const HPDF_BYTE *text,
HPDF_UINT len);
HPDF_ByteType
HPDF_Encoder_ByteType (HPDF_Encoder encoder,
HPDF_ParseText_Rec *state);
HPDF_UNICODE
HPDF_Encoder_ToUnicode (HPDF_Encoder encoder,
HPDF_UINT16 code);
void
HPDF_Encoder_Free (HPDF_Encoder encoder);
/*-- HPDF_BasicEncoder ----------------------------------*/
typedef struct _HPDF_BasicEncoderAttr_Rec *HPDF_BasicEncoderAttr;
typedef struct _HPDF_BasicEncoderAttr_Rec {
char base_encoding[HPDF_LIMIT_MAX_NAME_LEN + 1];
HPDF_BYTE first_char;
HPDF_BYTE last_char;
HPDF_UNICODE unicode_map[256];
HPDF_BOOL has_differences;
HPDF_BYTE differences[256];
} HPDF_BasicEncoderAttr_Rec;
HPDF_Encoder
HPDF_BasicEncoder_New (HPDF_MMgr mmgr,
const char *encoding_name);
void
HPDF_BasicEncoder_Free (HPDF_Encoder encoder);
HPDF_STATUS
HPDF_BasicEncoder_Write (HPDF_Encoder encoder,
HPDF_Stream out);
HPDF_UNICODE
HPDF_BasicEncoder_ToUnicode (HPDF_Encoder encoder,
HPDF_UINT16 code);
/*-- HPDF_CMapEncoder ----------------------------------*/
typedef HPDF_BOOL
(*HPDF_CMapEncoder_ByteType_Func) (HPDF_Encoder encoder,
HPDF_BYTE b);
typedef struct _HPDF_CidRange_Rec {
HPDF_UINT16 from;
HPDF_UINT16 to;
HPDF_UINT16 cid;
} HPDF_CidRange_Rec;
typedef struct _HPDF_UnicodeMap_Rec {
HPDF_UINT16 code;
HPDF_UINT16 unicode;
} HPDF_UnicodeMap_Rec;
typedef struct _HPDF_CMapEncoderAttr_Rec *HPDF_CMapEncoderAttr;
typedef struct _HPDF_CMapEncoderAttr_Rec {
HPDF_UNICODE unicode_map[256][256];
HPDF_UINT16 cid_map[256][256];
HPDF_UINT16 jww_line_head[HPDF_MAX_JWW_NUM];
HPDF_List cmap_range;
HPDF_List notdef_range;
HPDF_List code_space_range;
HPDF_WritingMode writing_mode;
char registry[HPDF_LIMIT_MAX_NAME_LEN + 1];
char ordering[HPDF_LIMIT_MAX_NAME_LEN + 1];
HPDF_INT suppliment;
HPDF_CMapEncoder_ByteType_Func is_lead_byte_fn;
HPDF_CMapEncoder_ByteType_Func is_trial_byte_fn;
HPDF_INT uid_offset;
HPDF_UINT xuid[3];
} HPDF_CMapEncoderAttr_Rec;
HPDF_Encoder
HPDF_CMapEncoder_New (HPDF_MMgr mmgr,
char *name,
HPDF_Encoder_Init_Func init_fn);
HPDF_STATUS
HPDF_CMapEncoder_InitAttr (HPDF_Encoder encoder);
void
HPDF_CMapEncoder_Free (HPDF_Encoder encoder);
HPDF_STATUS
HPDF_CMapEncoder_Write (HPDF_Encoder encoder,
HPDF_Stream out);
HPDF_UNICODE
HPDF_CMapEncoder_ToUnicode (HPDF_Encoder encoder,
HPDF_UINT16 code);
HPDF_UINT16
HPDF_CMapEncoder_ToCID (HPDF_Encoder encoder,
HPDF_UINT16 code);
HPDF_STATUS
HPDF_CMapEncoder_SetParseText (HPDF_Encoder encoder,
HPDF_ParseText_Rec *state,
const HPDF_BYTE *text,
HPDF_UINT len);
HPDF_ByteType
HPDF_CMapEncoder_ByteType (HPDF_Encoder encoder,
HPDF_ParseText_Rec *state);
HPDF_STATUS
HPDF_CMapEncoder_AddCMap (HPDF_Encoder encoder,
const HPDF_CidRange_Rec *range);
HPDF_STATUS
HPDF_CMapEncoder_AddNotDefRange (HPDF_Encoder encoder,
HPDF_CidRange_Rec range);
HPDF_STATUS
HPDF_CMapEncoder_AddCodeSpaceRange (HPDF_Encoder encoder,
HPDF_CidRange_Rec range);
void
HPDF_CMapEncoder_SetUnicodeArray (HPDF_Encoder encoder,
const HPDF_UnicodeMap_Rec *array1);
HPDF_STATUS
HPDF_CMapEncoder_AddJWWLineHead (HPDF_Encoder encoder,
const HPDF_UINT16 *code);
HPDF_BOOL
HPDF_Encoder_CheckJWWLineHead (HPDF_Encoder encoder,
const HPDF_UINT16 code);
/*-- utility functions ----------------------------------*/
const char*
HPDF_UnicodeToGryphName (HPDF_UNICODE unicode);
HPDF_UNICODE
HPDF_GryphNameToUnicode (const char *gryph_name);
#ifdef __cplusplus
}
#endif /* __cplusplus */
#endif /* _HPDF_ENCODER_H */

View File

@ -0,0 +1,159 @@
/*
* << Haru Free PDF Library >> -- hpdf_encrypt.h
*
* URL: http://libharu.org
*
* Copyright (c) 1999-2006 Takeshi Kanno <takeshi_kanno@est.hi-ho.ne.jp>
* Copyright (c) 2007-2009 Antony Dovgal <tony@daylessday.org>
*
* Permission to use, copy, modify, distribute and sell this software
* and its documentation for any purpose is hereby granted without fee,
* provided that the above copyright notice appear in all copies and
* that both that copyright notice and this permission notice appear
* in supporting documentation.
* It is provided "as is" without express or implied warranty.
*
*------------------------------------------------------------------------------
*
* The code implements MD5 message-digest algorithm is based on the code
* written by Colin Plumb.
* The copyright of it is as follows.
*
* This code implements the MD5 message-digest algorithm.
* The algorithm is due to Ron Rivest. This code was
* written by Colin Plumb in 1993, no copyright is claimed.
* This code is in the public domain; do with it what you wish.
*
* Equivalent code is available from RSA Data Security, Inc.
* This code has been tested against that, and is equivalent,
* except that you don't need to include two pages of legalese
* with every copy.
*
* To compute the message digest of a chunk of bytes, declare an
* MD5Context structure, pass it to MD5Init, call MD5Update as
* needed on buffers full of bytes, and then call MD5Final, which
* will fill a supplied 16-byte array with the digest.
*
*---------------------------------------------------------------------------*/
#ifndef HPDF_ENCRYPT_H
#define HPDF_ENCRYPT_H
#include "hpdf_mmgr.h"
#ifdef __cplusplus
extern "C" {
#endif
/*----------------------------------------------------------------------------*/
/*----- encrypt-dict ---------------------------------------------------------*/
#define HPDF_ID_LEN 16
#define HPDF_PASSWD_LEN 32
#define HPDF_ENCRYPT_KEY_MAX 16
#define HPDF_MD5_KEY_LEN 16
#define HPDF_PERMISSION_PAD 0xFFFFFFC0
#define HPDF_ARC4_BUF_SIZE 256
typedef struct HPDF_MD5Context
{
HPDF_UINT32 buf[4];
HPDF_UINT32 bits[2];
HPDF_BYTE in[64];
} HPDF_MD5_CTX;
typedef struct _HPDF_ARC4_Ctx_Rec {
HPDF_BYTE idx1;
HPDF_BYTE idx2;
HPDF_BYTE state[HPDF_ARC4_BUF_SIZE];
} HPDF_ARC4_Ctx_Rec;
typedef struct _HPDF_Encrypt_Rec *HPDF_Encrypt;
typedef struct _HPDF_Encrypt_Rec {
HPDF_EncryptMode mode;
/* key_len must be a multiple of 8, and between 40 to 128 */
HPDF_UINT key_len;
/* owner-password (not encrypted) */
HPDF_BYTE owner_passwd[HPDF_PASSWD_LEN];
/* user-password (not encrypted) */
HPDF_BYTE user_passwd[HPDF_PASSWD_LEN];
/* owner-password (encrypted) */
HPDF_BYTE owner_key[HPDF_PASSWD_LEN];
/* user-password (encrypted) */
HPDF_BYTE user_key[HPDF_PASSWD_LEN];
HPDF_INT permission;
HPDF_BYTE encrypt_id[HPDF_ID_LEN];
HPDF_BYTE encryption_key[HPDF_MD5_KEY_LEN + 5];
HPDF_BYTE md5_encryption_key[HPDF_MD5_KEY_LEN];
HPDF_ARC4_Ctx_Rec arc4ctx;
} HPDF_Encrypt_Rec;
void
HPDF_MD5Init (struct HPDF_MD5Context *ctx);
void
HPDF_MD5Update (struct HPDF_MD5Context *ctx,
const HPDF_BYTE *buf,
HPDF_UINT32 len);
void
HPDF_MD5Final (HPDF_BYTE digest[16],
struct HPDF_MD5Context *ctx);
void
HPDF_PadOrTrancatePasswd (const char *pwd,
HPDF_BYTE *new_pwd);
void
HPDF_Encrypt_Init (HPDF_Encrypt attr);
void
HPDF_Encrypt_CreateUserKey (HPDF_Encrypt attr);
void
HPDF_Encrypt_CreateOwnerKey (HPDF_Encrypt attr);
void
HPDF_Encrypt_CreateEncryptionKey (HPDF_Encrypt attr);
void
HPDF_Encrypt_InitKey (HPDF_Encrypt attr,
HPDF_UINT32 object_id,
HPDF_UINT16 gen_no);
void
HPDF_Encrypt_Reset (HPDF_Encrypt attr);
void
HPDF_Encrypt_CryptBuf (HPDF_Encrypt attr,
const HPDF_BYTE *src,
HPDF_BYTE *dst,
HPDF_UINT len);
#ifdef __cplusplus
}
#endif /* __cplusplus */
#endif /* _HPDF_ENCRYPT_H */

View File

@ -0,0 +1,69 @@
/*
* << Haru Free PDF Library >> -- hpdf_encryptdict.h
*
* URL: http://libharu.org
*
* Copyright (c) 1999-2006 Takeshi Kanno <takeshi_kanno@est.hi-ho.ne.jp>
* Copyright (c) 2007-2009 Antony Dovgal <tony@daylessday.org>
*
* Permission to use, copy, modify, distribute and sell this software
* and its documentation for any purpose is hereby granted without fee,
* provided that the above copyright notice appear in all copies and
* that both that copyright notice and this permission notice appear
* in supporting documentation.
* It is provided "as is" without express or implied warranty.
*
*/
#ifndef _HPDF_ENCRYPTDICT_H
#define _HPDF_ENCRYPTDICT_H
#include "hpdf_objects.h"
#ifdef __cplusplus
extern "C" {
#endif
/*---------------------------------------------------------------------------*/
/*------ HPDF_EncryptDict ---------------------------------------------------*/
HPDF_EncryptDict
HPDF_EncryptDict_New (HPDF_MMgr mmgr,
HPDF_Xref xref);
void
HPDF_EncryptDict_CreateID (HPDF_EncryptDict dict,
HPDF_Dict info,
HPDF_Xref xref);
void
HPDF_EncryptDict_OnFree (HPDF_Dict obj);
HPDF_STATUS
HPDF_EncryptDict_SetPassword (HPDF_EncryptDict dict,
const char *owner_passwd,
const char *user_passwd);
HPDF_BOOL
HPDF_EncryptDict_Validate (HPDF_EncryptDict dict);
HPDF_STATUS
HPDF_EncryptDict_Prepare (HPDF_EncryptDict dict,
HPDF_Dict info,
HPDF_Xref xref);
HPDF_Encrypt
HPDF_EncryptDict_GetAttr (HPDF_EncryptDict dict);
#ifdef __cplusplus
}
#endif /* __cplusplus */
#endif /* _HPDF_ENCRYPTDICT_H */

View File

@ -0,0 +1,203 @@
/*
* << Haru Free PDF Library >> -- hpdf_error.h
*
* URL: http://libharu.org
*
* Copyright (c) 1999-2006 Takeshi Kanno <takeshi_kanno@est.hi-ho.ne.jp>
* Copyright (c) 2007-2009 Antony Dovgal <tony@daylessday.org>
*
* Permission to use, copy, modify, distribute and sell this software
* and its documentation for any purpose is hereby granted without fee,
* provided that the above copyright notice appear in all copies and
* that both that copyright notice and this permission notice appear
* in supporting documentation.
* It is provided "as is" without express or implied warranty.
*
*/
#ifndef _HPDF_ERROR_H
#define _HPDF_ERROR_H
#include "hpdf_types.h"
#ifdef __cplusplus
extern "C" {
#endif
/* error-code */
#define HPDF_ARRAY_COUNT_ERR 0x1001
#define HPDF_ARRAY_ITEM_NOT_FOUND 0x1002
#define HPDF_ARRAY_ITEM_UNEXPECTED_TYPE 0x1003
#define HPDF_BINARY_LENGTH_ERR 0x1004
#define HPDF_CANNOT_GET_PALLET 0x1005
#define HPDF_DICT_COUNT_ERR 0x1007
#define HPDF_DICT_ITEM_NOT_FOUND 0x1008
#define HPDF_DICT_ITEM_UNEXPECTED_TYPE 0x1009
#define HPDF_DICT_STREAM_LENGTH_NOT_FOUND 0x100A
#define HPDF_DOC_ENCRYPTDICT_NOT_FOUND 0x100B
#define HPDF_DOC_INVALID_OBJECT 0x100C
/* 0x100D */
#define HPDF_DUPLICATE_REGISTRATION 0x100E
#define HPDF_EXCEED_JWW_CODE_NUM_LIMIT 0x100F
/* 0x1010 */
#define HPDF_ENCRYPT_INVALID_PASSWORD 0x1011
/* 0x1012 */
#define HPDF_ERR_UNKNOWN_CLASS 0x1013
#define HPDF_EXCEED_GSTATE_LIMIT 0x1014
#define HPDF_FAILD_TO_ALLOC_MEM 0x1015
#define HPDF_FILE_IO_ERROR 0x1016
#define HPDF_FILE_OPEN_ERROR 0x1017
/* 0x1018 */
#define HPDF_FONT_EXISTS 0x1019
#define HPDF_FONT_INVALID_WIDTHS_TABLE 0x101A
#define HPDF_INVALID_AFM_HEADER 0x101B
#define HPDF_INVALID_ANNOTATION 0x101C
/* 0x101D */
#define HPDF_INVALID_BIT_PER_COMPONENT 0x101E
#define HPDF_INVALID_CHAR_MATRICS_DATA 0x101F
#define HPDF_INVALID_COLOR_SPACE 0x1020
#define HPDF_INVALID_COMPRESSION_MODE 0x1021
#define HPDF_INVALID_DATE_TIME 0x1022
#define HPDF_INVALID_DESTINATION 0x1023
/* 0x1024 */
#define HPDF_INVALID_DOCUMENT 0x1025
#define HPDF_INVALID_DOCUMENT_STATE 0x1026
#define HPDF_INVALID_ENCODER 0x1027
#define HPDF_INVALID_ENCODER_TYPE 0x1028
/* 0x1029 */
/* 0x102A */
#define HPDF_INVALID_ENCODING_NAME 0x102B
#define HPDF_INVALID_ENCRYPT_KEY_LEN 0x102C
#define HPDF_INVALID_FONTDEF_DATA 0x102D
#define HPDF_INVALID_FONTDEF_TYPE 0x102E
#define HPDF_INVALID_FONT_NAME 0x102F
#define HPDF_INVALID_IMAGE 0x1030
#define HPDF_INVALID_JPEG_DATA 0x1031
#define HPDF_INVALID_N_DATA 0x1032
#define HPDF_INVALID_OBJECT 0x1033
#define HPDF_INVALID_OBJ_ID 0x1034
#define HPDF_INVALID_OPERATION 0x1035
#define HPDF_INVALID_OUTLINE 0x1036
#define HPDF_INVALID_PAGE 0x1037
#define HPDF_INVALID_PAGES 0x1038
#define HPDF_INVALID_PARAMETER 0x1039
/* 0x103A */
#define HPDF_INVALID_PNG_IMAGE 0x103B
#define HPDF_INVALID_STREAM 0x103C
#define HPDF_MISSING_FILE_NAME_ENTRY 0x103D
/* 0x103E */
#define HPDF_INVALID_TTC_FILE 0x103F
#define HPDF_INVALID_TTC_INDEX 0x1040
#define HPDF_INVALID_WX_DATA 0x1041
#define HPDF_ITEM_NOT_FOUND 0x1042
#define HPDF_LIBPNG_ERROR 0x1043
#define HPDF_NAME_INVALID_VALUE 0x1044
#define HPDF_NAME_OUT_OF_RANGE 0x1045
/* 0x1046 */
/* 0x1047 */
#define HPDF_PAGE_INVALID_PARAM_COUNT 0x1048
#define HPDF_PAGES_MISSING_KIDS_ENTRY 0x1049
#define HPDF_PAGE_CANNOT_FIND_OBJECT 0x104A
#define HPDF_PAGE_CANNOT_GET_ROOT_PAGES 0x104B
#define HPDF_PAGE_CANNOT_RESTORE_GSTATE 0x104C
#define HPDF_PAGE_CANNOT_SET_PARENT 0x104D
#define HPDF_PAGE_FONT_NOT_FOUND 0x104E
#define HPDF_PAGE_INVALID_FONT 0x104F
#define HPDF_PAGE_INVALID_FONT_SIZE 0x1050
#define HPDF_PAGE_INVALID_GMODE 0x1051
#define HPDF_PAGE_INVALID_INDEX 0x1052
#define HPDF_PAGE_INVALID_ROTATE_VALUE 0x1053
#define HPDF_PAGE_INVALID_SIZE 0x1054
#define HPDF_PAGE_INVALID_XOBJECT 0x1055
#define HPDF_PAGE_OUT_OF_RANGE 0x1056
#define HPDF_REAL_OUT_OF_RANGE 0x1057
#define HPDF_STREAM_EOF 0x1058
#define HPDF_STREAM_READLN_CONTINUE 0x1059
/* 0x105A */
#define HPDF_STRING_OUT_OF_RANGE 0x105B
#define HPDF_THIS_FUNC_WAS_SKIPPED 0x105C
#define HPDF_TTF_CANNOT_EMBEDDING_FONT 0x105D
#define HPDF_TTF_INVALID_CMAP 0x105E
#define HPDF_TTF_INVALID_FOMAT 0x105F
#define HPDF_TTF_MISSING_TABLE 0x1060
#define HPDF_UNSUPPORTED_FONT_TYPE 0x1061
#define HPDF_UNSUPPORTED_FUNC 0x1062
#define HPDF_UNSUPPORTED_JPEG_FORMAT 0x1063
#define HPDF_UNSUPPORTED_TYPE1_FONT 0x1064
#define HPDF_XREF_COUNT_ERR 0x1065
#define HPDF_ZLIB_ERROR 0x1066
#define HPDF_INVALID_PAGE_INDEX 0x1067
#define HPDF_INVALID_URI 0x1068
#define HPDF_PAGE_LAYOUT_OUT_OF_RANGE 0x1069
#define HPDF_PAGE_MODE_OUT_OF_RANGE 0x1070
#define HPDF_PAGE_NUM_STYLE_OUT_OF_RANGE 0x1071
#define HPDF_ANNOT_INVALID_ICON 0x1072
#define HPDF_ANNOT_INVALID_BORDER_STYLE 0x1073
#define HPDF_PAGE_INVALID_DIRECTION 0x1074
#define HPDF_INVALID_FONT 0x1075
#define HPDF_PAGE_INSUFFICIENT_SPACE 0x1076
#define HPDF_PAGE_INVALID_DISPLAY_TIME 0x1077
#define HPDF_PAGE_INVALID_TRANSITION_TIME 0x1078
#define HPDF_INVALID_PAGE_SLIDESHOW_TYPE 0x1079
#define HPDF_EXT_GSTATE_OUT_OF_RANGE 0x1080
#define HPDF_INVALID_EXT_GSTATE 0x1081
#define HPDF_EXT_GSTATE_READ_ONLY 0x1082
#define HPDF_INVALID_U3D_DATA 0x1083
#define HPDF_NAME_CANNOT_GET_NAMES 0x1084
#define HPDF_INVALID_ICC_COMPONENT_NUM 0x1085
/*---------------------------------------------------------------------------*/
/*---------------------------------------------------------------------------*/
/*----- HPDF_Error ----------------------------------------------------------*/
typedef struct _HPDF_Error_Rec *HPDF_Error;
typedef struct _HPDF_Error_Rec {
HPDF_STATUS error_no;
HPDF_STATUS detail_no;
HPDF_Error_Handler error_fn;
void *user_data;
} HPDF_Error_Rec;
/* HPDF_Error_init
*
* if error_fn is NULL, the default-handlers are set as error-handler.
* user_data is used to identify the object which threw an error.
*
*/
void
HPDF_Error_Init (HPDF_Error error,
void *user_data);
void
HPDF_Error_Reset (HPDF_Error error);
HPDF_STATUS
HPDF_Error_GetCode (HPDF_Error error);
HPDF_STATUS
HPDF_Error_GetDetailCode (HPDF_Error error);
HPDF_STATUS
HPDF_SetError (HPDF_Error error,
HPDF_STATUS error_no,
HPDF_STATUS detail_no);
HPDF_STATUS
HPDF_RaiseError (HPDF_Error error,
HPDF_STATUS error_no,
HPDF_STATUS detail_no);
#ifdef __cplusplus
}
#endif /* __cplusplus */
#endif /* _HPDF_ERROR_H */

View File

@ -0,0 +1,41 @@
/*
* << Haru Free PDF Library >> -- hpdf_annotation.h
*
* URL: http://libharu.org
*
* Copyright (c) 1999-2006 Takeshi Kanno <takeshi_kanno@est.hi-ho.ne.jp>
* Copyright (c) 2007-2009 Antony Dovgal <tony@daylessday.org>
*
* Permission to use, copy, modify, distribute and sell this software
* and its documentation for any purpose is hereby granted without fee,
* provided that the above copyright notice appear in all copies and
* that both that copyright notice and this permission notice appear
* in supporting documentation.
* It is provided "as is" without express or implied warranty.
*
*/
#ifndef _HPDF_EXDATA_H
#define _HPDF_EXDATA_H
#include "hpdf_objects.h"
#ifdef __cplusplus
extern "C" {
#endif
/*----------------------------------------------------------------------------*/
/*------ HPDF_ExData -----------------------------------------------------*/
HPDF_ExData
HPDF_3DAnnotExData_New(HPDF_MMgr mmgr,
HPDF_Xref xref );
#ifdef __cplusplus
}
#endif /* __cplusplus */
#endif /* _HPDF_EXDATA_H */

View File

@ -0,0 +1,41 @@
/*
* << Haru Free PDF Library >> -- hpdf_ext_gstate.h
*
* URL: http://libharu.org
*
* Copyright (c) 1999-2006 Takeshi Kanno <takeshi_kanno@est.hi-ho.ne.jp>
* Copyright (c) 2007-2009 Antony Dovgal <tony@daylessday.org>
*
* Permission to use, copy, modify, distribute and sell this software
* and its documentation for any purpose is hereby granted without fee,
* provided that the above copyright notice appear in all copies and
* that both that copyright notice and this permission notice appear
* in supporting documentation.
* It is provided "as is" without express or implied warranty.
*
*/
#ifndef _HPDF_EXT_GSTATE_H
#define _HPDF_EXT_GSTATE_H
#include "hpdf_objects.h"
#ifdef __cplusplus
extern "C" {
#endif
HPDF_Dict
HPDF_ExtGState_New (HPDF_MMgr mmgr,
HPDF_Xref xref);
HPDF_BOOL
HPDF_ExtGState_Validate (HPDF_ExtGState ext_gstate);
#ifdef __cplusplus
}
#endif /* __cplusplus */
#endif /* _HPDF_EXT_GSTATE_H */

View File

@ -0,0 +1,115 @@
/*
* << Haru Free PDF Library >> -- hpdf_font.h
*
* URL: http://libharu.org
*
* Copyright (c) 1999-2006 Takeshi Kanno <takeshi_kanno@est.hi-ho.ne.jp>
* Copyright (c) 2007-2009 Antony Dovgal <tony@daylessday.org>
*
* Permission to use, copy, modify, distribute and sell this software
* and its documentation for any purpose is hereby granted without fee,
* provided that the above copyright notice appear in all copies and
* that both that copyright notice and this permission notice appear
* in supporting documentation.
* It is provided "as is" without express or implied warranty.
*
*/
#ifndef _HPDF_FONT_H
#define _HPDF_FONT_H
#include "hpdf_fontdef.h"
#ifdef __cplusplus
extern "C" {
#endif
/*----------------------------------------------------------------------------*/
/*----- Writing Mode ---------------------------------------------------------*/
typedef enum _HPDF_FontType {
HPDF_FONT_TYPE1 = 0,
HPDF_FONT_TRUETYPE,
HPDF_FONT_TYPE3,
HPDF_FONT_TYPE0_CID,
HPDF_FONT_TYPE0_TT,
HPDF_FONT_CID_TYPE0,
HPDF_FONT_CID_TYPE2,
HPDF_FONT_MMTYPE1
} HPDF_FontType;
typedef HPDF_Dict HPDF_Font;
typedef HPDF_TextWidth
(*HPDF_Font_TextWidths_Func) (HPDF_Font font,
const HPDF_BYTE *text,
HPDF_UINT len);
typedef HPDF_UINT
(*HPDF_Font_MeasureText_Func) (HPDF_Font font,
const HPDF_BYTE *text,
HPDF_UINT len,
HPDF_REAL width,
HPDF_REAL fontsize,
HPDF_REAL charspace,
HPDF_REAL wordspace,
HPDF_BOOL wordwrap,
HPDF_REAL *real_width);
typedef struct _HPDF_FontAttr_Rec *HPDF_FontAttr;
typedef struct _HPDF_FontAttr_Rec {
HPDF_FontType type;
HPDF_WritingMode writing_mode;
HPDF_Font_TextWidths_Func text_width_fn;
HPDF_Font_MeasureText_Func measure_text_fn;
HPDF_FontDef fontdef;
HPDF_Encoder encoder;
/* if the encoding-type is HPDF_ENCODER_TYPE_SINGLE_BYTE, the width of
* each charactors are cashed in 'widths'.
* when HPDF_ENCODER_TYPE_DOUBLE_BYTE the width is calculate each time.
*/
HPDF_INT16* widths;
HPDF_BYTE* used;
HPDF_Xref xref;
HPDF_Font descendant_font;
HPDF_Dict map_stream;
HPDF_Dict cmap_stream;
} HPDF_FontAttr_Rec;
HPDF_Font
HPDF_Type1Font_New (HPDF_MMgr mmgr,
HPDF_FontDef fontdef,
HPDF_Encoder encoder,
HPDF_Xref xref);
HPDF_Font
HPDF_TTFont_New (HPDF_MMgr mmgr,
HPDF_FontDef fontdef,
HPDF_Encoder encoder,
HPDF_Xref xref);
HPDF_Font
HPDF_Type0Font_New (HPDF_MMgr mmgr,
HPDF_FontDef fontdef,
HPDF_Encoder encoder,
HPDF_Xref xref);
HPDF_BOOL
HPDF_Font_Validate (HPDF_Font font);
#ifdef __cplusplus
}
#endif /* __cplusplus */
#endif /* _HPDF_FONT_H */

View File

@ -0,0 +1,406 @@
/*
* << Haru Free PDF Library >> -- hpdf_fontdef.h
*
* URL: http://libharu.org
*
* Copyright (c) 1999-2006 Takeshi Kanno <takeshi_kanno@est.hi-ho.ne.jp>
* Copyright (c) 2007-2009 Antony Dovgal <tony@daylessday.org>
*
* Permission to use, copy, modify, distribute and sell this software
* and its documentation for any purpose is hereby granted without fee,
* provided that the above copyright notice appear in all copies and
* that both that copyright notice and this permission notice appear
* in supporting documentation.
* It is provided "as is" without express or implied warranty.
*
*/
#ifndef _HPDF_FONTDEF_H
#define _HPDF_FONTDEF_H
#include "hpdf_objects.h"
#ifdef __cplusplus
extern "C" {
#endif
#define HPDF_FONTDEF_SIG_BYTES 0x464F4E54L
/*------ collection of flags for defining characteristics. ---*/
#define HPDF_FONT_FIXED_WIDTH 1
#define HPDF_FONT_SERIF 2
#define HPDF_FONT_SYMBOLIC 4
#define HPDF_FONT_SCRIPT 8
/* Reserved 16 */
#define HPDF_FONT_STD_CHARSET 32
#define HPDF_FONT_ITALIC 64
/* Reserved 128
Reserved 256
Reserved 512
Reserved 1024
Reserved 2048
Reserved 4096
Reserved 8192
Reserved 16384
Reserved 32768 */
#define HPDF_FONT_ALL_CAP 65536
#define HPDF_FONT_SMALL_CAP 131072
#define HPDF_FONT_FOURCE_BOLD 262144
#define HPDF_CID_W_TYPE_FROM_TO 0
#define HPDF_CID_W_TYPE_FROM_ARRAY 1
/*-- HPDF_FontDef ---------------------------------------*/
typedef struct _HPDF_CharData {
HPDF_INT16 char_cd;
HPDF_UNICODE unicode;
HPDF_INT16 width;
} HPDF_CharData;
typedef enum _HPDF_FontDefType {
HPDF_FONTDEF_TYPE_TYPE1,
HPDF_FONTDEF_TYPE_TRUETYPE,
HPDF_FONTDEF_TYPE_CID,
HPDF_FONTDEF_TYPE_UNINITIALIZED,
HPDF_FONTDEF_TYPE_EOF
} HPDF_FontDefType;
typedef struct _HPDF_CID_Width {
HPDF_UINT16 cid;
HPDF_INT16 width;
} HPDF_CID_Width;
/*----------------------------------------------------------------------------*/
/*----- HPDF_FontDef ---------------------------------------------------------*/
typedef struct _HPDF_FontDef_Rec *HPDF_FontDef;
typedef void (*HPDF_FontDef_FreeFunc) (HPDF_FontDef fontdef);
typedef void (*HPDF_FontDef_CleanFunc) (HPDF_FontDef fontdef);
typedef HPDF_STATUS (*HPDF_FontDef_InitFunc) (HPDF_FontDef fontdef);
typedef struct _HPDF_FontDef_Rec {
HPDF_UINT32 sig_bytes;
char base_font[HPDF_LIMIT_MAX_NAME_LEN + 1];
HPDF_MMgr mmgr;
HPDF_Error error;
HPDF_FontDefType type;
HPDF_FontDef_CleanFunc clean_fn;
HPDF_FontDef_FreeFunc free_fn;
HPDF_FontDef_InitFunc init_fn;
HPDF_INT16 ascent;
HPDF_INT16 descent;
HPDF_UINT flags;
HPDF_Box font_bbox;
HPDF_INT16 italic_angle;
HPDF_UINT16 stemv;
HPDF_INT16 avg_width;
HPDF_INT16 max_width;
HPDF_INT16 missing_width;
HPDF_UINT16 stemh;
HPDF_UINT16 x_height;
HPDF_UINT16 cap_height;
/* the initial value of descriptor entry is NULL.
* when first font-object besed on the fontdef object is created,
* the font-descriptor object is created and descriptor entry is set.
*/
HPDF_Dict descriptor;
HPDF_Stream data;
HPDF_BOOL valid;
void *attr;
} HPDF_FontDef_Rec;
void
HPDF_FontDef_Free (HPDF_FontDef fontdef);
void
HPDF_FontDef_Cleanup (HPDF_FontDef fontdef);
HPDF_BOOL
HPDF_FontDef_Validate (HPDF_FontDef fontdef);
/*----------------------------------------------------------------------------*/
/*----- HPDF_Type1FontDef ---------------------------------------------------*/
typedef struct _HPDF_Type1FontDefAttrRec *HPDF_Type1FontDefAttr;
typedef struct _HPDF_Type1FontDefAttrRec {
HPDF_BYTE first_char; /* Required */
HPDF_BYTE last_char; /* Required */
HPDF_CharData *widths; /* Required */
HPDF_UINT widths_count;
HPDF_INT16 leading;
char *char_set;
char encoding_scheme[HPDF_LIMIT_MAX_NAME_LEN + 1];
HPDF_UINT length1;
HPDF_UINT length2;
HPDF_UINT length3;
HPDF_BOOL is_base14font;
HPDF_BOOL is_fixed_pitch;
HPDF_Stream font_data;
} HPDF_Type1FontDefAttr_Rec;
HPDF_FontDef
HPDF_Type1FontDef_New (HPDF_MMgr mmgr);
HPDF_FontDef
HPDF_Type1FontDef_Load (HPDF_MMgr mmgr,
HPDF_Stream afm,
HPDF_Stream font_data);
HPDF_FontDef
HPDF_Type1FontDef_Duplicate (HPDF_MMgr mmgr,
HPDF_FontDef src);
HPDF_STATUS
HPDF_Type1FontDef_SetWidths (HPDF_FontDef fontdef,
const HPDF_CharData *widths);
HPDF_INT16
HPDF_Type1FontDef_GetWidthByName (HPDF_FontDef fontdef,
const char *gryph_name);
HPDF_INT16
HPDF_Type1FontDef_GetWidth (HPDF_FontDef fontdef,
HPDF_UNICODE unicode);
HPDF_FontDef
HPDF_Base14FontDef_New (HPDF_MMgr mmgr,
const char *font_name);
/*----------------------------------------------------------------------------*/
/*----- HPDF_TTFontDef ------------------------------------------------------*/
#define HPDF_TTF_FONT_TAG_LEN 6
typedef struct _HPDF_TTF_Table {
char tag[4];
HPDF_UINT32 check_sum;
HPDF_UINT32 offset;
HPDF_UINT32 length;
} HPDF_TTFTable;
typedef struct _HPDF_TTF_OffsetTbl {
HPDF_UINT32 sfnt_version;
HPDF_UINT16 num_tables;
HPDF_UINT16 search_range;
HPDF_UINT16 entry_selector;
HPDF_UINT16 range_shift;
HPDF_TTFTable *table;
} HPDF_TTF_OffsetTbl;
typedef struct _HPDF_TTF_CmapRange {
HPDF_UINT16 format;
HPDF_UINT16 length;
HPDF_UINT16 language;
HPDF_UINT16 seg_count_x2;
HPDF_UINT16 search_range;
HPDF_UINT16 entry_selector;
HPDF_UINT16 range_shift;
HPDF_UINT16 *end_count;
HPDF_UINT16 reserved_pad;
HPDF_UINT16 *start_count;
HPDF_INT16 *id_delta;
HPDF_UINT16 *id_range_offset;
HPDF_UINT16 *glyph_id_array;
HPDF_UINT glyph_id_array_count;
} HPDF_TTF_CmapRange;
typedef struct _HPDF_TTF_GryphOffsets {
HPDF_UINT32 base_offset;
HPDF_UINT32 *offsets;
HPDF_BYTE *flgs; /* 0: unused, 1: used */
} HPDF_TTF_GryphOffsets;
typedef struct _HPDF_TTF_LongHorMetric {
HPDF_UINT16 advance_width;
HPDF_INT16 lsb;
} HPDF_TTF_LongHorMetric;
typedef struct _HPDF_TTF_FontHeader {
HPDF_BYTE version_number[4];
HPDF_UINT32 font_revision;
HPDF_UINT32 check_sum_adjustment;
HPDF_UINT32 magic_number;
HPDF_UINT16 flags;
HPDF_UINT16 units_per_em;
HPDF_BYTE created[8];
HPDF_BYTE modified[8];
HPDF_INT16 x_min;
HPDF_INT16 y_min;
HPDF_INT16 x_max;
HPDF_INT16 y_max;
HPDF_UINT16 mac_style;
HPDF_UINT16 lowest_rec_ppem;
HPDF_INT16 font_direction_hint;
HPDF_INT16 index_to_loc_format;
HPDF_INT16 glyph_data_format;
} HPDF_TTF_FontHeader;
typedef struct _HPDF_TTF_NameRecord {
HPDF_UINT16 platform_id;
HPDF_UINT16 encoding_id;
HPDF_UINT16 language_id;
HPDF_UINT16 name_id;
HPDF_UINT16 length;
HPDF_UINT16 offset;
} HPDF_TTF_NameRecord;
typedef struct _HPDF_TTF_NamingTable {
HPDF_UINT16 format;
HPDF_UINT16 count;
HPDF_UINT16 string_offset;
HPDF_TTF_NameRecord *name_records;
} HPDF_TTF_NamingTable;
typedef struct _HPDF_TTFontDefAttr_Rec *HPDF_TTFontDefAttr;
typedef struct _HPDF_TTFontDefAttr_Rec {
char base_font[HPDF_LIMIT_MAX_NAME_LEN + 1];
HPDF_BYTE first_char;
HPDF_BYTE last_char;
char *char_set;
char tag_name[HPDF_TTF_FONT_TAG_LEN + 1];
char tag_name2[(HPDF_TTF_FONT_TAG_LEN + 1) * 2];
HPDF_TTF_FontHeader header;
HPDF_TTF_GryphOffsets glyph_tbl;
HPDF_UINT16 num_glyphs;
HPDF_TTF_NamingTable name_tbl;
HPDF_TTF_LongHorMetric *h_metric;
HPDF_UINT16 num_h_metric;
HPDF_TTF_OffsetTbl offset_tbl;
HPDF_TTF_CmapRange cmap;
HPDF_UINT16 fs_type;
HPDF_BYTE sfamilyclass[2];
HPDF_BYTE panose[10];
HPDF_UINT32 code_page_range1;
HPDF_UINT32 code_page_range2;
HPDF_UINT length1;
HPDF_BOOL embedding;
HPDF_BOOL is_cidfont;
HPDF_Stream stream;
} HPDF_TTFontDefAttr_Rec;
HPDF_FontDef
HPDF_TTFontDef_New (HPDF_MMgr mmgr);
HPDF_FontDef
HPDF_TTFontDef_Load (HPDF_MMgr mmgr,
HPDF_Stream stream,
HPDF_BOOL embedding);
HPDF_FontDef
HPDF_TTFontDef_Load2 (HPDF_MMgr mmgr,
HPDF_Stream stream,
HPDF_UINT index,
HPDF_BOOL embedding);
HPDF_UINT16
HPDF_TTFontDef_GetGlyphid (HPDF_FontDef fontdef,
HPDF_UINT16 unicode);
HPDF_INT16
HPDF_TTFontDef_GetCharWidth (HPDF_FontDef fontdef,
HPDF_UINT16 unicode);
HPDF_INT16
HPDF_TTFontDef_GetGidWidth (HPDF_FontDef fontdef,
HPDF_UINT16 gid);
HPDF_STATUS
HPDF_TTFontDef_SaveFontData (HPDF_FontDef fontdef,
HPDF_Stream stream);
HPDF_Box
HPDF_TTFontDef_GetCharBBox (HPDF_FontDef fontdef,
HPDF_UINT16 unicode);
void
HPDF_TTFontDef_SetTagName (HPDF_FontDef fontdef,
char *tag);
/*----------------------------------------------------------------------------*/
/*----- HPDF_CIDFontDef -----------------------------------------------------*/
typedef struct _HPDF_CIDFontDefAttrRec *HPDF_CIDFontDefAttr;
typedef struct _HPDF_CIDFontDefAttrRec {
HPDF_List widths;
HPDF_INT16 DW;
HPDF_INT16 DW2[2];
} HPDF_CIDFontDefAttr_Rec;
HPDF_FontDef
HPDF_CIDFontDef_New (HPDF_MMgr mmgr,
char *name,
HPDF_FontDef_InitFunc init_fn);
HPDF_STATUS
HPDF_CIDFontDef_AddWidth (HPDF_FontDef fontdef,
const HPDF_CID_Width *widths);
HPDF_INT16
HPDF_CIDFontDef_GetCIDWidth (HPDF_FontDef fontdef,
HPDF_UINT16 cid);
HPDF_STATUS
HPDF_CIDFontDef_ChangeStyle (HPDF_FontDef fontdef,
HPDF_BOOL bold,
HPDF_BOOL italic);
#ifdef __cplusplus
}
#endif /* __cplusplus */
#endif /* _HPDF_FONTDEF_H */

View File

@ -0,0 +1,83 @@
/*
* << Haru Free PDF Library >> -- hpdf_gstate.h
*
* URL: http://libharu.org
*
* Copyright (c) 1999-2006 Takeshi Kanno <takeshi_kanno@est.hi-ho.ne.jp>
* Copyright (c) 2007-2009 Antony Dovgal <tony@daylessday.org>
*
* Permission to use, copy, modify, distribute and sell this software
* and its documentation for any purpose is hereby granted without fee,
* provided that the above copyright notice appear in all copies and
* that both that copyright notice and this permission notice appear
* in supporting documentation.
* It is provided "as is" without express or implied warranty.
*
*/
#ifndef _HPDF_GSTATE_H
#define _HPDF_GSTATE_H
#include "hpdf_font.h"
#ifdef __cplusplus
extern "C" {
#endif
/*----------------------------------------------------------------------------*/
/*------ graphic state stack -------------------------------------------------*/
typedef struct _HPDF_GState_Rec *HPDF_GState;
typedef struct _HPDF_GState_Rec {
HPDF_TransMatrix trans_matrix;
HPDF_REAL line_width;
HPDF_LineCap line_cap;
HPDF_LineJoin line_join;
HPDF_REAL miter_limit;
HPDF_DashMode dash_mode;
HPDF_REAL flatness;
HPDF_REAL char_space;
HPDF_REAL word_space;
HPDF_REAL h_scalling;
HPDF_REAL text_leading;
HPDF_TextRenderingMode rendering_mode;
HPDF_REAL text_rise;
HPDF_ColorSpace cs_fill;
HPDF_ColorSpace cs_stroke;
HPDF_RGBColor rgb_fill;
HPDF_RGBColor rgb_stroke;
HPDF_CMYKColor cmyk_fill;
HPDF_CMYKColor cmyk_stroke;
HPDF_REAL gray_fill;
HPDF_REAL gray_stroke;
HPDF_Font font;
HPDF_REAL font_size;
HPDF_WritingMode writing_mode;
HPDF_GState prev;
HPDF_UINT depth;
} HPDF_GState_Rec;
/*----------------------------------------------------------------------------*/
/*----------------------------------------------------------------------------*/
HPDF_GState
HPDF_GState_New (HPDF_MMgr mmgr,
HPDF_GState current);
HPDF_GState
HPDF_GState_Free (HPDF_MMgr mmgr,
HPDF_GState gstate);
#ifdef __cplusplus
}
#endif /* __cplusplus */
#endif /* _HPDF_GSTATE_H */

View File

@ -0,0 +1,99 @@
/*
* << Haru Free PDF Library >> -- hpdf_image.h
*
* URL: http://libharu.org
*
* Copyright (c) 1999-2006 Takeshi Kanno <takeshi_kanno@est.hi-ho.ne.jp>
* Copyright (c) 2007-2009 Antony Dovgal <tony@daylessday.org>
*
* Permission to use, copy, modify, distribute and sell this software
* and its documentation for any purpose is hereby granted without fee,
* provided that the above copyright notice appear in all copies and
* that both that copyright notice and this permission notice appear
* in supporting documentation.
* It is provided "as is" without express or implied warranty.
*
*/
#ifndef _HPDF_IMAGE_H
#define _HPDF_IMAGE_H
#include "hpdf_objects.h"
#ifdef __cplusplus
extern "C" {
#endif
HPDF_Image
HPDF_Image_Load1BitImageFromMem (HPDF_MMgr mmgr,
const HPDF_BYTE *buf,
HPDF_Xref xref,
HPDF_UINT width,
HPDF_UINT height,
HPDF_UINT line_width,
HPDF_BOOL top_is_first
);
#ifndef LIBHPDF_HAVE_NOPNGLIB
HPDF_Image
HPDF_Image_LoadPngImage (HPDF_MMgr mmgr,
HPDF_Stream png_data,
HPDF_Xref xref,
HPDF_BOOL delayed_loading);
#endif
HPDF_Image
HPDF_Image_LoadJpegImage (HPDF_MMgr mmgr,
HPDF_Stream jpeg_data,
HPDF_Xref xref);
HPDF_Image
HPDF_Image_LoadJpegImageFromMem (HPDF_MMgr mmgr,
const HPDF_BYTE *buf,
HPDF_UINT size,
HPDF_Xref xref);
HPDF_Image
HPDF_Image_LoadRawImage (HPDF_MMgr mmgr,
HPDF_Stream stream,
HPDF_Xref xref,
HPDF_UINT width,
HPDF_UINT height,
HPDF_ColorSpace color_space);
HPDF_Image
HPDF_Image_LoadRawImageFromMem (HPDF_MMgr mmgr,
const HPDF_BYTE *buf,
HPDF_Xref xref,
HPDF_UINT width,
HPDF_UINT height,
HPDF_ColorSpace color_space,
HPDF_UINT bits_per_component);
HPDF_BOOL
HPDF_Image_Validate (HPDF_Image image);
HPDF_STATUS
HPDF_Image_SetMask (HPDF_Image image,
HPDF_BOOL mask);
HPDF_STATUS
HPDF_Image_SetColorSpace (HPDF_Image image,
HPDF_Array colorspace);
HPDF_STATUS
HPDF_Image_SetRenderingIntent (HPDF_Image image,
const char* intent);
#ifdef __cplusplus
}
#endif /* __cplusplus */
#endif /* _HPDF_XOBJECTS_H */

View File

@ -0,0 +1,51 @@
/*
* << Haru Free PDF Library >> -- hpdf_info.c
*
* URL: http://libharu.org
*
* Copyright (c) 1999-2006 Takeshi Kanno <takeshi_kanno@est.hi-ho.ne.jp>
* Copyright (c) 2007-2009 Antony Dovgal <tony@daylessday.org>
*
* Permission to use, copy, modify, distribute and sell this software
* and its documentation for any purpose is hereby granted without fee,
* provided that the above copyright notice appear in all copies and
* that both that copyright notice and this permission notice appear
* in supporting documentation.
* It is provided "as is" without express or implied warranty.
*
*/
#ifndef _HPDF_INFO_H
#define _HPDF_INFO_H
#include "hpdf_objects.h"
#ifdef __cplusplus
extern "C" {
#endif
HPDF_STATUS
HPDF_Info_SetInfoAttr (HPDF_Dict info,
HPDF_InfoType type,
const char *value,
HPDF_Encoder encoder);
const char*
HPDF_Info_GetInfoAttr (HPDF_Dict info,
HPDF_InfoType type);
HPDF_STATUS
HPDF_Info_SetInfoDateAttr (HPDF_Dict info,
HPDF_InfoType type,
HPDF_Date value);
#ifdef __cplusplus
}
#endif /* __cplusplus */
#endif /* _HPDF_INFO_H */

View File

@ -0,0 +1,88 @@
/*
* << Haru Free PDF Library >> -- hpdf_list.h
*
* URL: http://libharu.org
*
* Copyright (c) 1999-2006 Takeshi Kanno <takeshi_kanno@est.hi-ho.ne.jp>
* Copyright (c) 2007-2009 Antony Dovgal <tony@daylessday.org>
*
* Permission to use, copy, modify, distribute and sell this software
* and its documentation for any purpose is hereby granted without fee,
* provided that the above copyright notice appear in all copies and
* that both that copyright notice and this permission notice appear
* in supporting documentation.
* It is provided "as is" without express or implied warranty.
*
*/
#ifndef _HPDF_LIST_H
#define _HPDF_LIST_H
#include "hpdf_error.h"
#include "hpdf_mmgr.h"
#ifdef __cplusplus
extern "C" {
#endif
typedef struct _HPDF_List_Rec *HPDF_List;
typedef struct _HPDF_List_Rec {
HPDF_MMgr mmgr;
HPDF_Error error;
HPDF_UINT block_siz;
HPDF_UINT items_per_block;
HPDF_UINT count;
void **obj;
} HPDF_List_Rec;
HPDF_List
HPDF_List_New (HPDF_MMgr mmgr,
HPDF_UINT items_per_block);
void
HPDF_List_Free (HPDF_List list);
HPDF_STATUS
HPDF_List_Add (HPDF_List list,
void *item);
HPDF_STATUS
HPDF_List_Insert (HPDF_List list,
void *target,
void *item);
HPDF_STATUS
HPDF_List_Remove (HPDF_List list,
void *item);
void*
HPDF_List_RemoveByIndex (HPDF_List list,
HPDF_UINT index);
void*
HPDF_List_ItemAt (HPDF_List list,
HPDF_UINT index);
HPDF_INT32
HPDF_List_Find (HPDF_List list,
void *item);
void
HPDF_List_Clear (HPDF_List list);
#ifdef __cplusplus
}
#endif /* __cplusplus */
#endif /* _HPDF_LIST_H */

View File

@ -0,0 +1,85 @@
/*
* << Haru Free PDF Library >> -- hpdf_mmgr.h
*
* URL: http://libharu.org
*
* Copyright (c) 1999-2006 Takeshi Kanno <takeshi_kanno@est.hi-ho.ne.jp>
* Copyright (c) 2007-2009 Antony Dovgal <tony@daylessday.org>
*
* Permission to use, copy, modify, distribute and sell this software
* and its documentation for any purpose is hereby granted without fee,
* provided that the above copyright notice appear in all copies and
* that both that copyright notice and this permission notice appear
* in supporting documentation.
* It is provided "as is" without express or implied warranty.
*
*/
#ifndef _HPDF_MMGR_H
#define _HPDF_MMGR_H
#include "hpdf_types.h"
#include "hpdf_error.h"
#ifdef __cplusplus
extern "C" {
#endif
typedef struct _HPDF_MPool_Node_Rec *HPDF_MPool_Node;
typedef struct _HPDF_MPool_Node_Rec {
HPDF_BYTE* buf;
HPDF_UINT size;
HPDF_UINT used_size;
HPDF_MPool_Node next_node;
} HPDF_MPool_Node_Rec;
typedef struct _HPDF_MMgr_Rec *HPDF_MMgr;
typedef struct _HPDF_MMgr_Rec {
HPDF_Error error;
HPDF_Alloc_Func alloc_fn;
HPDF_Free_Func free_fn;
HPDF_MPool_Node mpool;
HPDF_UINT buf_size;
#ifdef HPDF_MEM_DEBUG
HPDF_UINT alloc_cnt;
HPDF_UINT free_cnt;
#endif
} HPDF_MMgr_Rec;
/* HPDF_mpool_new
*
* create new HPDF_mpool object. when memory allocation goes wrong,
* it returns NULL and error handling function will be called.
* if buf_size is non-zero, mmgr is configured to be using memory-pool
*/
HPDF_MMgr
HPDF_MMgr_New (HPDF_Error error,
HPDF_UINT buf_size,
HPDF_Alloc_Func alloc_fn,
HPDF_Free_Func free_fn);
void
HPDF_MMgr_Free (HPDF_MMgr mmgr);
void*
HPDF_GetMem (HPDF_MMgr mmgr,
HPDF_UINT size);
void
HPDF_FreeMem (HPDF_MMgr mmgr,
void *aptr);
#ifdef __cplusplus
}
#endif /* __cplusplus */
#endif /* _HPDF_MMGR_H */

View File

@ -0,0 +1,76 @@
/*
* << Haru Free PDF Library >> -- hpdf_namedict.h
*
* URL: http://libharu.org
*
* Copyright (c) 1999-2006 Takeshi Kanno <takeshi_kanno@est.hi-ho.ne.jp>
* Copyright (c) 2007-2009 Antony Dovgal <tony@daylessday.org>
*
* Permission to use, copy, modify, distribute and sell this software
* and its documentation for any purpose is hereby granted without fee,
* provided that the above copyright notice appear in all copies and
* that both that copyright notice and this permission notice appear
* in supporting documentation.
* It is provided "as is" without express or implied warranty.
*
*/
#ifndef _HPDF_NAMEDICT_H
#define _HPDF_NAMEDICT_H
#include "hpdf_objects.h"
#ifdef __cplusplus
extern "C" {
#endif
HPDF_NameDict
HPDF_NameDict_New (HPDF_MMgr mmgr,
HPDF_Xref xref);
HPDF_NameTree
HPDF_NameDict_GetNameTree (HPDF_NameDict namedict,
HPDF_NameDictKey key);
HPDF_STATUS
HPDF_NameDict_SetNameTree (HPDF_NameDict namedict,
HPDF_NameDictKey key,
HPDF_NameTree tree);
HPDF_BOOL
HPDF_NameDict_Validate (HPDF_NameDict namedict);
/*------- NameTree -------*/
HPDF_NameTree
HPDF_NameTree_New (HPDF_MMgr mmgr,
HPDF_Xref xref);
HPDF_STATUS
HPDF_NameTree_Add (HPDF_NameTree tree,
HPDF_String name,
void *obj);
HPDF_BOOL
HPDF_NameTree_Validate (HPDF_NameTree tree);
/*------- EmbeddedFile -------*/
HPDF_EmbeddedFile
HPDF_EmbeddedFile_New (HPDF_MMgr mmgr,
HPDF_Xref xref,
const char *file);
HPDF_BOOL
HPDF_EmbeddedFile_Validate (HPDF_EmbeddedFile emfile);
#ifdef __cplusplus
}
#endif /* __cplusplus */
#endif /* _HPDF_NAMEDICT_H */

View File

@ -0,0 +1,604 @@
/*
* << Haru Free PDF Library >> -- hpdf_objects.c
*
* URL: http://libharu.org
*
* Copyright (c) 1999-2006 Takeshi Kanno <takeshi_kanno@est.hi-ho.ne.jp>
* Copyright (c) 2007-2009 Antony Dovgal <tony@daylessday.org>
*
* Permission to use, copy, modify, distribute and sell this software
* and its documentation for any purpose is hereby granted without fee,
* provided that the above copyright notice appear in all copies and
* that both that copyright notice and this permission notice appear
* in supporting documentation.
* It is provided "as is" without express or implied warranty.
*
*/
#ifndef _HPDF_OBJECTS_H
#define _HPDF_OBJECTS_H
#include "hpdf_encoder.h"
#ifdef __cplusplus
extern "C" {
#endif
/* if HPDF_OTYPE_DIRECT bit is set, the object owned by other container
* object. if HPDF_OTYPE_INDIRECT bit is set, the object managed by xref.
*/
#define HPDF_OTYPE_NONE 0x00000000
#define HPDF_OTYPE_DIRECT 0x80000000
#define HPDF_OTYPE_INDIRECT 0x40000000
#define HPDF_OTYPE_ANY (HPDF_OTYPE_DIRECT | HPDF_OTYPE_INDIRECT)
#define HPDF_OTYPE_HIDDEN 0x10000000
#define HPDF_OCLASS_UNKNOWN 0x0001
#define HPDF_OCLASS_NULL 0x0002
#define HPDF_OCLASS_BOOLEAN 0x0003
#define HPDF_OCLASS_NUMBER 0x0004
#define HPDF_OCLASS_REAL 0x0005
#define HPDF_OCLASS_NAME 0x0006
#define HPDF_OCLASS_STRING 0x0007
#define HPDF_OCLASS_BINARY 0x0008
#define HPDF_OCLASS_ARRAY 0x0010
#define HPDF_OCLASS_DICT 0x0011
#define HPDF_OCLASS_PROXY 0x0012
#define HPDF_OCLASS_ANY 0x00FF
#define HPDF_OSUBCLASS_FONT 0x0100
#define HPDF_OSUBCLASS_CATALOG 0x0200
#define HPDF_OSUBCLASS_PAGES 0x0300
#define HPDF_OSUBCLASS_PAGE 0x0400
#define HPDF_OSUBCLASS_XOBJECT 0x0500
#define HPDF_OSUBCLASS_OUTLINE 0x0600
#define HPDF_OSUBCLASS_DESTINATION 0x0700
#define HPDF_OSUBCLASS_ANNOTATION 0x0800
#define HPDF_OSUBCLASS_ENCRYPT 0x0900
#define HPDF_OSUBCLASS_EXT_GSTATE 0x0A00
#define HPDF_OSUBCLASS_EXT_GSTATE_R 0x0B00 /* read only object */
#define HPDF_OSUBCLASS_NAMEDICT 0x0C00
#define HPDF_OSUBCLASS_NAMETREE 0x0D00
/*----------------------------------------------------------------------------*/
/*------ Values related xref -------------------------------------------------*/
#define HPDF_FREE_ENTRY 'f'
#define HPDF_IN_USE_ENTRY 'n'
/*
* structure of Object-ID
*
* 1 direct-object
* 2 indirect-object
* 3 reserved
* 4 shadow-object
* 5-8 reserved
* 9-32 object-id<69>i0-8388607<30>j
*
* the real Object-ID is described "obj_id & 0x00FFFFFF"
*/
typedef struct _HPDF_Obj_Header {
HPDF_UINT32 obj_id;
HPDF_UINT16 gen_no;
HPDF_UINT16 obj_class;
} HPDF_Obj_Header;
HPDF_STATUS
HPDF_Obj_WriteValue (void *obj,
HPDF_Stream stream,
HPDF_Encrypt e);
HPDF_STATUS
HPDF_Obj_Write (void *obj,
HPDF_Stream stream,
HPDF_Encrypt e);
void
HPDF_Obj_Free (HPDF_MMgr mmgr,
void *obj);
void
HPDF_Obj_ForceFree (HPDF_MMgr mmgr,
void *obj);
/*---------------------------------------------------------------------------*/
/*----- HPDF_Null -----------------------------------------------------------*/
typedef struct _HPDF_Null_Rec *HPDF_Null;
typedef struct _HPDF_Null_Rec {
HPDF_Obj_Header header;
} HPDF_Null_Rec;
HPDF_Null
HPDF_Null_New (HPDF_MMgr mmgr);
/*---------------------------------------------------------------------------*/
/*----- HPDF_Boolean --------------------------------------------------------*/
typedef struct _HPDF_Boolean_Rec *HPDF_Boolean;
typedef struct _HPDF_Boolean_Rec {
HPDF_Obj_Header header;
HPDF_BOOL value;
} HPDF_Boolean_Rec;
HPDF_Boolean
HPDF_Boolean_New (HPDF_MMgr mmgr,
HPDF_BOOL value);
HPDF_STATUS
HPDF_Boolean_Write (HPDF_Boolean obj,
HPDF_Stream stream);
/*---------------------------------------------------------------------------*/
/*----- HPDF_Number ---------------------------------------------------------*/
typedef struct _HPDF_Number_Rec *HPDF_Number;
typedef struct _HPDF_Number_Rec {
HPDF_Obj_Header header;
HPDF_INT32 value;
} HPDF_Number_Rec;
HPDF_Number
HPDF_Number_New (HPDF_MMgr mmgr,
HPDF_INT32 value);
void
HPDF_Number_SetValue (HPDF_Number obj,
HPDF_INT32 value);
HPDF_STATUS
HPDF_Number_Write (HPDF_Number obj,
HPDF_Stream stream);
/*---------------------------------------------------------------------------*/
/*----- HPDF_Real -----------------------------------------------------------*/
typedef struct _HPDF_Real_Rec *HPDF_Real;
typedef struct _HPDF_Real_Rec {
HPDF_Obj_Header header;
HPDF_Error error;
HPDF_REAL value;
} HPDF_Real_Rec;
HPDF_Real
HPDF_Real_New (HPDF_MMgr mmgr,
HPDF_REAL value);
HPDF_STATUS
HPDF_Real_Write (HPDF_Real obj,
HPDF_Stream stream);
HPDF_STATUS
HPDF_Real_SetValue (HPDF_Real obj,
HPDF_REAL value);
/*---------------------------------------------------------------------------*/
/*----- HPDF_Name -----------------------------------------------------------*/
typedef struct _HPDF_Name_Rec *HPDF_Name;
typedef struct _HPDF_Name_Rec {
HPDF_Obj_Header header;
HPDF_Error error;
char value[HPDF_LIMIT_MAX_NAME_LEN + 1];
} HPDF_Name_Rec;
HPDF_Name
HPDF_Name_New (HPDF_MMgr mmgr,
const char *value);
HPDF_STATUS
HPDF_Name_SetValue (HPDF_Name obj,
const char *value);
HPDF_STATUS
HPDF_Name_Write (HPDF_Name obj,
HPDF_Stream stream);
const char*
HPDF_Name_GetValue (HPDF_Name obj);
/*---------------------------------------------------------------------------*/
/*----- HPDF_String ---------------------------------------------------------*/
typedef struct _HPDF_String_Rec *HPDF_String;
typedef struct _HPDF_String_Rec {
HPDF_Obj_Header header;
HPDF_MMgr mmgr;
HPDF_Error error;
HPDF_Encoder encoder;
HPDF_BYTE *value;
HPDF_UINT len;
} HPDF_String_Rec;
HPDF_String
HPDF_String_New (HPDF_MMgr mmgr,
const char *value,
HPDF_Encoder encoder);
HPDF_STATUS
HPDF_String_SetValue (HPDF_String obj,
const char *value);
void
HPDF_String_Free (HPDF_String obj);
HPDF_STATUS
HPDF_String_Write (HPDF_String obj,
HPDF_Stream stream,
HPDF_Encrypt e);
HPDF_INT32
HPDF_String_Cmp (HPDF_String s1,
HPDF_String s2);
/*---------------------------------------------------------------------------*/
/*----- HPDF_Binary ---------------------------------------------------------*/
typedef struct _HPDF_Binary_Rec *HPDF_Binary;
typedef struct _HPDF_Binary_Rec {
HPDF_Obj_Header header;
HPDF_MMgr mmgr;
HPDF_Error error;
HPDF_BYTE *value;
HPDF_UINT len;
} HPDF_Binary_Rec;
HPDF_Binary
HPDF_Binary_New (HPDF_MMgr mmgr,
HPDF_BYTE *value,
HPDF_UINT len);
HPDF_STATUS
HPDF_Binary_SetValue (HPDF_Binary obj,
HPDF_BYTE *value,
HPDF_UINT len);
HPDF_BYTE*
HPDF_Binary_GetValue (HPDF_Binary obj);
void
HPDF_Binary_Free (HPDF_Binary obj);
HPDF_STATUS
HPDF_Binary_Write (HPDF_Binary obj,
HPDF_Stream stream,
HPDF_Encrypt e);
HPDF_UINT
HPDF_Binary_GetLen (HPDF_Binary obj);
/*---------------------------------------------------------------------------*/
/*----- HPDF_Array ----------------------------------------------------------*/
typedef struct _HPDF_Array_Rec *HPDF_Array;
typedef struct _HPDF_Array_Rec {
HPDF_Obj_Header header;
HPDF_MMgr mmgr;
HPDF_Error error;
HPDF_List list;
} HPDF_Array_Rec;
HPDF_Array
HPDF_Array_New (HPDF_MMgr mmgr);
HPDF_Array
HPDF_Box_Array_New (HPDF_MMgr mmgr,
HPDF_Box box);
void
HPDF_Array_Free (HPDF_Array array);
HPDF_STATUS
HPDF_Array_Write (HPDF_Array array,
HPDF_Stream stream,
HPDF_Encrypt e);
HPDF_STATUS
HPDF_Array_Add (HPDF_Array array,
void *obj);
HPDF_STATUS
HPDF_Array_Insert (HPDF_Array array,
void *target,
void *obj);
void*
HPDF_Array_GetItem (HPDF_Array array,
HPDF_UINT index,
HPDF_UINT16 obj_class);
HPDF_STATUS
HPDF_Array_AddNumber (HPDF_Array array,
HPDF_INT32 value);
HPDF_STATUS
HPDF_Array_AddReal (HPDF_Array array,
HPDF_REAL value);
HPDF_STATUS
HPDF_Array_AddName (HPDF_Array array,
const char *value);
void
HPDF_Array_Clear (HPDF_Array array);
HPDF_UINT
HPDF_Array_Items (HPDF_Array array);
/*---------------------------------------------------------------------------*/
/*----- HPDF_Dict -----------------------------------------------------------*/
typedef struct _HPDF_Xref_Rec *HPDF_Xref;
typedef struct _HPDF_Dict_Rec *HPDF_Dict;
typedef void
(*HPDF_Dict_FreeFunc) (HPDF_Dict obj);
typedef HPDF_STATUS
(*HPDF_Dict_BeforeWriteFunc) (HPDF_Dict obj);
typedef HPDF_STATUS
(*HPDF_Dict_AfterWriteFunc) (HPDF_Dict obj);
typedef HPDF_STATUS
(*HPDF_Dict_OnWriteFunc) (HPDF_Dict obj,
HPDF_Stream stream);
typedef struct _HPDF_Dict_Rec {
HPDF_Obj_Header header;
HPDF_MMgr mmgr;
HPDF_Error error;
HPDF_List list;
HPDF_Dict_BeforeWriteFunc before_write_fn;
HPDF_Dict_OnWriteFunc write_fn;
HPDF_Dict_AfterWriteFunc after_write_fn;
HPDF_Dict_FreeFunc free_fn;
HPDF_Stream stream;
HPDF_UINT filter;
HPDF_Dict filterParams;
void *attr;
} HPDF_Dict_Rec;
typedef struct _HPDF_DictElement_Rec *HPDF_DictElement;
typedef struct _HPDF_DictElement_Rec {
char key[HPDF_LIMIT_MAX_NAME_LEN + 1];
void *value;
} HPDF_DictElement_Rec;
HPDF_Dict
HPDF_Dict_New (HPDF_MMgr mmgr);
HPDF_Dict
HPDF_DictStream_New (HPDF_MMgr mmgr,
HPDF_Xref xref);
void
HPDF_Dict_Free (HPDF_Dict dict);
HPDF_STATUS
HPDF_Dict_Write (HPDF_Dict dict,
HPDF_Stream stream,
HPDF_Encrypt e);
const char*
HPDF_Dict_GetKeyByObj (HPDF_Dict dict,
void *obj);
HPDF_STATUS
HPDF_Dict_Add (HPDF_Dict dict,
const char *key,
void *obj);
void*
HPDF_Dict_GetItem (HPDF_Dict dict,
const char *key,
HPDF_UINT16 obj_class);
HPDF_STATUS
HPDF_Dict_AddName (HPDF_Dict dict,
const char *key,
const char *value);
HPDF_STATUS
HPDF_Dict_AddNumber (HPDF_Dict dict,
const char *key,
HPDF_INT32 value);
HPDF_STATUS
HPDF_Dict_AddReal (HPDF_Dict dict,
const char *key,
HPDF_REAL value);
HPDF_STATUS
HPDF_Dict_AddBoolean (HPDF_Dict dict,
const char *key,
HPDF_BOOL value);
HPDF_STATUS
HPDF_Dict_RemoveElement (HPDF_Dict dict,
const char *key);
/*---------------------------------------------------------------------------*/
/*----- HPDF_ProxyObject ----------------------------------------------------*/
typedef struct _HPDF_Proxy_Rec *HPDF_Proxy;
typedef struct _HPDF_Proxy_Rec {
HPDF_Obj_Header header;
void *obj;
} HPDF_Proxy_Rec;
HPDF_Proxy
HPDF_Proxy_New (HPDF_MMgr mmgr,
void *obj);
/*---------------------------------------------------------------------------*/
/*----- HPDF_Xref -----------------------------------------------------------*/
typedef struct _HPDF_XrefEntry_Rec *HPDF_XrefEntry;
typedef struct _HPDF_XrefEntry_Rec {
char entry_typ;
HPDF_UINT byte_offset;
HPDF_UINT16 gen_no;
void* obj;
} HPDF_XrefEntry_Rec;
typedef struct _HPDF_Xref_Rec {
HPDF_MMgr mmgr;
HPDF_Error error;
HPDF_UINT32 start_offset;
HPDF_List entries;
HPDF_UINT addr;
HPDF_Xref prev;
HPDF_Dict trailer;
} HPDF_Xref_Rec;
HPDF_Xref
HPDF_Xref_New (HPDF_MMgr mmgr,
HPDF_UINT32 offset);
void
HPDF_Xref_Free (HPDF_Xref xref);
HPDF_STATUS
HPDF_Xref_Add (HPDF_Xref xref,
void *obj);
HPDF_XrefEntry
HPDF_Xref_GetEntry (HPDF_Xref xref,
HPDF_UINT index);
HPDF_STATUS
HPDF_Xref_WriteToStream (HPDF_Xref xref,
HPDF_Stream stream,
HPDF_Encrypt e);
HPDF_XrefEntry
HPDF_Xref_GetEntryByObjectId (HPDF_Xref xref,
HPDF_UINT obj_id);
typedef HPDF_Dict HPDF_EmbeddedFile;
typedef HPDF_Dict HPDF_NameDict;
typedef HPDF_Dict HPDF_NameTree;
typedef HPDF_Dict HPDF_Pages;
typedef HPDF_Dict HPDF_Page;
typedef HPDF_Dict HPDF_Annotation;
typedef HPDF_Dict HPDF_3DMeasure;
typedef HPDF_Dict HPDF_ExData;
typedef HPDF_Dict HPDF_XObject;
typedef HPDF_Dict HPDF_Image;
typedef HPDF_Dict HPDF_Outline;
typedef HPDF_Dict HPDF_EncryptDict;
typedef HPDF_Dict HPDF_Action;
typedef HPDF_Dict HPDF_ExtGState;
typedef HPDF_Array HPDF_Destination;
typedef HPDF_Dict HPDF_U3D;
typedef HPDF_Dict HPDF_OutputIntent;
typedef HPDF_Dict HPDF_JavaScript;
#ifdef __cplusplus
}
#endif /* __cplusplus */
#endif /* _HPDF_OBJECTS_H */

View File

@ -0,0 +1,77 @@
/*
* << Haru Free PDF Library >> -- hpdf_outline.h
*
* URL: http://libharu.org
*
* Copyright (c) 1999-2006 Takeshi Kanno <takeshi_kanno@est.hi-ho.ne.jp>
* Copyright (c) 2007-2009 Antony Dovgal <tony@daylessday.org>
*
* Permission to use, copy, modify, distribute and sell this software
* and its documentation for any purpose is hereby granted without fee,
* provided that the above copyright notice appear in all copies and
* that both that copyright notice and this permission notice appear
* in supporting documentation.
* It is provided "as is" without express or implied warranty.
*
*/
#ifndef _HPDF_OUTLINE_H
#define _HPDF_OUTLINE_H
#include "hpdf_objects.h"
#ifdef __cplusplus
extern "C" {
#endif
/*----------------------------------------------------------------------------*/
/*----- HPDF_Outline ---------------------------------------------------------*/
HPDF_Outline
HPDF_OutlineRoot_New (HPDF_MMgr mmgr,
HPDF_Xref xref);
HPDF_Outline
HPDF_Outline_New (HPDF_MMgr mmgr,
HPDF_Outline parent,
const char *title,
HPDF_Encoder encoder,
HPDF_Xref xref);
HPDF_Outline
HPDF_Outline_GetFirst (HPDF_Outline outline);
HPDF_Outline
HPDF_Outline_GetLast (HPDF_Outline outline);
HPDF_Outline
HPDF_Outline_GetPrev(HPDF_Outline outline);
HPDF_Outline
HPDF_Outline_GetNext (HPDF_Outline outline);
HPDF_Outline
HPDF_Outline_GetParent (HPDF_Outline outline);
HPDF_BOOL
HPDF_Outline_GetOpened (HPDF_Outline outline);
HPDF_BOOL
HPDF_Outline_Validate (HPDF_Outline obj);
#ifdef __cplusplus
}
#endif /* __cplusplus */
#endif /* _HPDF_OUTLINE_H */

View File

@ -0,0 +1,38 @@
/*
* << Haru Free PDF Library >> -- hpdf_page_label.h
*
* URL: http://libharu.org
*
* Copyright (c) 1999-2006 Takeshi Kanno <takeshi_kanno@est.hi-ho.ne.jp>
* Copyright (c) 2007-2009 Antony Dovgal <tony@daylessday.org>
*
* Permission to use, copy, modify, distribute and sell this software
* and its documentation for any purpose is hereby granted without fee,
* provided that the above copyright notice appear in all copies and
* that both that copyright notice and this permission notice appear
* in supporting documentation.
* It is provided "as is" without express or implied warranty.
*
*/
#ifndef _HPDF_PAGE_LABEL_H
#define _HPDF_PAGE_LABEL_H
#include "hpdf.h"
#ifdef __cplusplus
extern "C" {
#endif
HPDF_Dict
HPDF_PageLabel_New (HPDF_Doc pdf,
HPDF_PageNumStyle style,
HPDF_INT first_page,
const char *prefix);
#ifdef __cplusplus
}
#endif /* __cplusplus */
#endif

View File

@ -0,0 +1,131 @@
/*
* << Haru Free PDF Library >> -- hpdf_pages.c
*
* URL: http://libharu.org
*
* Copyright (c) 1999-2006 Takeshi Kanno <takeshi_kanno@est.hi-ho.ne.jp>
* Copyright (c) 2007-2009 Antony Dovgal <tony@daylessday.org>
*
* Permission to use, copy, modify, distribute and sell this software
* and its documentation for any purpose is hereby granted without fee,
* provided that the above copyright notice appear in all copies and
* that both that copyright notice and this permission notice appear
* in supporting documentation.
* It is provided "as is" without express or implied warranty.
*
*/
#ifndef _HPDF_PAGES_H
#define _HPDF_PAGES_H
#include "hpdf_gstate.h"
#include "hpdf_ext_gstate.h"
#ifdef __cplusplus
extern "C" {
#endif
/*----------------------------------------------------------------------------*/
/*----- HPDF_Pages -----------------------------------------------------------*/
HPDF_Pages
HPDF_Pages_New (HPDF_MMgr mmgr,
HPDF_Pages parent,
HPDF_Xref xref);
HPDF_BOOL
HPDF_Pages_Validate (HPDF_Pages pages);
HPDF_STATUS
HPDF_Pages_AddKids (HPDF_Pages parent,
HPDF_Dict kid);
HPDF_STATUS
HPDF_Page_InsertBefore (HPDF_Page page,
HPDF_Page target);
typedef struct _HPDF_PageAttr_Rec *HPDF_PageAttr;
typedef struct _HPDF_PageAttr_Rec {
HPDF_Pages parent;
HPDF_Dict fonts;
HPDF_Dict xobjects;
HPDF_Dict ext_gstates;
HPDF_GState gstate;
HPDF_Point str_pos;
HPDF_Point cur_pos;
HPDF_Point text_pos;
HPDF_TransMatrix text_matrix;
HPDF_UINT16 gmode;
HPDF_Dict contents;
HPDF_Stream stream;
HPDF_Xref xref;
HPDF_UINT compression_mode;
HPDF_PDFVer *ver;
} HPDF_PageAttr_Rec;
/*----------------------------------------------------------------------------*/
/*----- HPDF_Page ------------------------------------------------------------*/
HPDF_BOOL
HPDF_Page_Validate (HPDF_Page page);
HPDF_Page
HPDF_Page_New (HPDF_MMgr mmgr,
HPDF_Xref xref);
void*
HPDF_Page_GetInheritableItem (HPDF_Page page,
const char *key,
HPDF_UINT16 obj_class);
const char*
HPDF_Page_GetXObjectName (HPDF_Page page,
HPDF_XObject xobj);
const char*
HPDF_Page_GetLocalFontName (HPDF_Page page,
HPDF_Font font);
const char*
HPDF_Page_GetExtGStateName (HPDF_Page page,
HPDF_ExtGState gstate);
HPDF_Box
HPDF_Page_GetMediaBox (HPDF_Page page);
HPDF_STATUS
HPDF_Page_SetBoxValue (HPDF_Page page,
const char *name,
HPDF_UINT index,
HPDF_REAL value);
void
HPDF_Page_SetFilter (HPDF_Page page,
HPDF_UINT filter);
HPDF_STATUS
HPDF_Page_CheckState (HPDF_Page page,
HPDF_UINT mode);
#ifdef __cplusplus
}
#endif /* __cplusplus */
#endif /* _HPDF_PAGES_H */

View File

@ -0,0 +1,43 @@
/*
* << Haru Free PDF Library >> -- hpdf_pdfa.h
*
* URL: http://libharu.org
*
* Copyright (c) 1999-2006 Takeshi Kanno <takeshi_kanno@est.hi-ho.ne.jp>
* Copyright (c) 2007-2009 Antony Dovgal <tony@daylessday.org>
*
* Permission to use, copy, modify, distribute and sell this software
* and its documentation for any purpose is hereby granted without fee,
* provided that the above copyright notice appear in all copies and
* that both that copyright notice and this permission notice appear
* in supporting documentation.
* It is provided "as is" without express or implied warranty.
*
*/
#ifndef _HPDF_PDFA_H
#define _HPDF_PDFA_H
#include "hpdf_doc.h"
#include "hpdf_objects.h"
#ifdef __cplusplus
extern "C" {
#endif
HPDF_STATUS
HPDF_PDFA_AppendOutputIntents(HPDF_Doc pdf, const char *iccname, HPDF_Dict iccdict);
HPDF_STATUS
HPDF_PDFA_SetPDFAConformance (HPDF_Doc pdf,
HPDF_PDFAType pdfatype);
HPDF_STATUS
HPDF_PDFA_GenerateID(HPDF_Doc);
#ifdef __cplusplus
}
#endif
#endif

View File

@ -0,0 +1,280 @@
/*
* << Haru Free PDF Library >> -- hpdf_streams.h
*
* URL: http://libharu.org
*
* Copyright (c) 1999-2006 Takeshi Kanno <takeshi_kanno@est.hi-ho.ne.jp>
* Copyright (c) 2007-2009 Antony Dovgal <tony@daylessday.org>
*
* Permission to use, copy, modify, distribute and sell this software
* and its documentation for any purpose is hereby granted without fee,
* provided that the above copyright notice appear in all copies and
* that both that copyright notice and this permission notice appear
* in supporting documentation.
* It is provided "as is" without express or implied warranty.
*
* 2005.12.20 Created.
*
*/
#ifndef _HPDF_STREAMS_H
#define _HPDF_STREAMS_H
#include "hpdf_list.h"
#include "hpdf_encrypt.h"
#ifdef __cplusplus
extern "C" {
#endif
#define HPDF_STREAM_SIG_BYTES 0x5354524DL
typedef enum _HPDF_StreamType {
HPDF_STREAM_UNKNOWN = 0,
HPDF_STREAM_CALLBACK,
HPDF_STREAM_FILE,
HPDF_STREAM_MEMORY
} HPDF_StreamType;
#define HPDF_STREAM_FILTER_NONE 0x0000
#define HPDF_STREAM_FILTER_ASCIIHEX 0x0100
#define HPDF_STREAM_FILTER_ASCII85 0x0200
#define HPDF_STREAM_FILTER_FLATE_DECODE 0x0400
#define HPDF_STREAM_FILTER_DCT_DECODE 0x0800
#define HPDF_STREAM_FILTER_CCITT_DECODE 0x1000
typedef enum _HPDF_WhenceMode {
HPDF_SEEK_SET = 0,
HPDF_SEEK_CUR,
HPDF_SEEK_END
} HPDF_WhenceMode;
typedef struct _HPDF_Stream_Rec *HPDF_Stream;
typedef HPDF_STATUS
(*HPDF_Stream_Write_Func) (HPDF_Stream stream,
const HPDF_BYTE *ptr,
HPDF_UINT siz);
typedef HPDF_STATUS
(*HPDF_Stream_Read_Func) (HPDF_Stream stream,
HPDF_BYTE *ptr,
HPDF_UINT *siz);
typedef HPDF_STATUS
(*HPDF_Stream_Seek_Func) (HPDF_Stream stream,
HPDF_INT pos,
HPDF_WhenceMode mode);
typedef HPDF_INT32
(*HPDF_Stream_Tell_Func) (HPDF_Stream stream);
typedef void
(*HPDF_Stream_Free_Func) (HPDF_Stream stream);
typedef HPDF_UINT32
(*HPDF_Stream_Size_Func) (HPDF_Stream stream);
typedef struct _HPDF_MemStreamAttr_Rec *HPDF_MemStreamAttr;
typedef struct _HPDF_MemStreamAttr_Rec {
HPDF_List buf;
HPDF_UINT buf_siz;
HPDF_UINT w_pos;
HPDF_BYTE *w_ptr;
HPDF_UINT r_ptr_idx;
HPDF_UINT r_pos;
HPDF_BYTE *r_ptr;
} HPDF_MemStreamAttr_Rec;
typedef struct _HPDF_Stream_Rec {
HPDF_UINT32 sig_bytes;
HPDF_StreamType type;
HPDF_MMgr mmgr;
HPDF_Error error;
HPDF_UINT size;
HPDF_Stream_Write_Func write_fn;
HPDF_Stream_Read_Func read_fn;
HPDF_Stream_Seek_Func seek_fn;
HPDF_Stream_Free_Func free_fn;
HPDF_Stream_Tell_Func tell_fn;
HPDF_Stream_Size_Func size_fn;
void* attr;
} HPDF_Stream_Rec;
HPDF_Stream
HPDF_MemStream_New (HPDF_MMgr mmgr,
HPDF_UINT buf_siz);
HPDF_BYTE*
HPDF_MemStream_GetBufPtr (HPDF_Stream stream,
HPDF_UINT index,
HPDF_UINT *length);
HPDF_UINT
HPDF_MemStream_GetBufSize (HPDF_Stream stream);
HPDF_UINT
HPDF_MemStream_GetBufCount (HPDF_Stream stream);
HPDF_STATUS
HPDF_MemStream_Rewrite (HPDF_Stream stream,
HPDF_BYTE *buf,
HPDF_UINT size);
void
HPDF_MemStream_FreeData (HPDF_Stream stream);
HPDF_STATUS
HPDF_Stream_WriteToStream (HPDF_Stream src,
HPDF_Stream dst,
HPDF_UINT filter,
HPDF_Encrypt e);
HPDF_Stream
HPDF_FileReader_New (HPDF_MMgr mmgr,
const char *fname);
HPDF_Stream
HPDF_FileWriter_New (HPDF_MMgr mmgr,
const char *fname);
HPDF_Stream
HPDF_CallbackReader_New (HPDF_MMgr mmgr,
HPDF_Stream_Read_Func read_fn,
HPDF_Stream_Seek_Func seek_fn,
HPDF_Stream_Tell_Func tell_fn,
HPDF_Stream_Size_Func size_fn,
void* data);
HPDF_Stream
HPDF_CallbackWriter_New (HPDF_MMgr mmgr,
HPDF_Stream_Write_Func write_fn,
void* data);
void
HPDF_Stream_Free (HPDF_Stream stream);
HPDF_STATUS
HPDF_Stream_WriteChar (HPDF_Stream stream,
char value);
HPDF_STATUS
HPDF_Stream_WriteStr (HPDF_Stream stream,
const char *value);
HPDF_STATUS
HPDF_Stream_WriteUChar (HPDF_Stream stream,
HPDF_BYTE value);
HPDF_STATUS
HPDF_Stream_WriteInt (HPDF_Stream stream,
HPDF_INT value);
HPDF_STATUS
HPDF_Stream_WriteUInt (HPDF_Stream stream,
HPDF_UINT value);
HPDF_STATUS
HPDF_Stream_WriteReal (HPDF_Stream stream,
HPDF_REAL value);
HPDF_STATUS
HPDF_Stream_Write (HPDF_Stream stream,
const HPDF_BYTE *ptr,
HPDF_UINT size);
HPDF_STATUS
HPDF_Stream_Read (HPDF_Stream stream,
HPDF_BYTE *ptr,
HPDF_UINT *size);
HPDF_STATUS
HPDF_Stream_ReadLn (HPDF_Stream stream,
char *s,
HPDF_UINT *size);
HPDF_INT32
HPDF_Stream_Tell (HPDF_Stream stream);
HPDF_STATUS
HPDF_Stream_Seek (HPDF_Stream stream,
HPDF_INT pos,
HPDF_WhenceMode mode);
HPDF_BOOL
HPDF_Stream_EOF (HPDF_Stream stream);
HPDF_UINT32
HPDF_Stream_Size (HPDF_Stream stream);
HPDF_STATUS
HPDF_Stream_Flush (HPDF_Stream stream);
HPDF_STATUS
HPDF_Stream_WriteEscapeName (HPDF_Stream stream,
const char *value);
HPDF_STATUS
HPDF_Stream_WriteEscapeText2 (HPDF_Stream stream,
const char *text,
HPDF_UINT len);
HPDF_STATUS
HPDF_Stream_WriteEscapeText (HPDF_Stream stream,
const char *text);
HPDF_STATUS
HPDF_Stream_WriteBinary (HPDF_Stream stream,
const HPDF_BYTE *data,
HPDF_UINT len,
HPDF_Encrypt e);
HPDF_STATUS
HPDF_Stream_Validate (HPDF_Stream stream);
#ifdef __cplusplus
}
#endif /* __cplusplus */
#endif /* _HPDF_STREAMS_H */

View File

@ -0,0 +1,565 @@
/*
* << Haru Free PDF Library >> -- hpdf_types.h
*
* URL: http://libharu.org
*
* Copyright (c) 1999-2006 Takeshi Kanno <takeshi_kanno@est.hi-ho.ne.jp>
* Copyright (c) 2007-2009 Antony Dovgal <tony@daylessday.org>
*
* Permission to use, copy, modify, distribute and sell this software
* and its documentation for any purpose is hereby granted without fee,
* provided that the above copyright notice appear in all copies and
* that both that copyright notice and this permission notice appear
* in supporting documentation.
* It is provided "as is" without express or implied warranty.
*
*/
#ifndef _HPDF_TYPES_H
#define _HPDF_TYPES_H
#ifndef HPDF_STDCALL
#ifdef HPDF_DLL_MAKE
#define HPDF_STDCALL __stdcall
#else
#ifdef HPDF_DLL
#define HPDF_STDCALL __stdcall
#else
#define HPDF_STDCALL
#endif
#endif
#endif
#include <stdlib.h>
#ifdef __cplusplus
extern "C" {
#endif
/*----------------------------------------------------------------------------*/
/*----- type definition ------------------------------------------------------*/
/* native OS integer types */
typedef signed int HPDF_INT;
typedef unsigned int HPDF_UINT;
/* 32bit integer types
*/
typedef signed int HPDF_INT32;
typedef unsigned int HPDF_UINT32;
/* 16bit integer types
*/
typedef signed short HPDF_INT16;
typedef unsigned short HPDF_UINT16;
/* 8bit integer types
*/
typedef signed char HPDF_INT8;
typedef unsigned char HPDF_UINT8;
/* 8bit binary types
*/
typedef unsigned char HPDF_BYTE;
/* float type (32bit IEEE754)
*/
typedef float HPDF_REAL;
/* double type (64bit IEEE754)
*/
typedef double HPDF_DOUBLE;
/* boolean type (0: False, !0: True)
*/
typedef signed int HPDF_BOOL;
/* error-no type (32bit unsigned integer)
*/
typedef unsigned long HPDF_STATUS;
/* charactor-code type (16bit)
*/
typedef HPDF_UINT16 HPDF_CID;
typedef HPDF_UINT16 HPDF_UNICODE;
/* HPDF_Point struct
*/
typedef struct _HPDF_Point {
HPDF_REAL x;
HPDF_REAL y;
} HPDF_Point;
typedef struct _HPDF_Rect {
HPDF_REAL left;
HPDF_REAL bottom;
HPDF_REAL right;
HPDF_REAL top;
} HPDF_Rect;
/* HPDF_Point3D struct
*/
typedef struct _HPDF_Point3D {
HPDF_REAL x;
HPDF_REAL y;
HPDF_REAL z;
} HPDF_Point3D;
typedef struct _HPDF_Rect HPDF_Box;
/* HPDF_Date struct
*/
typedef struct _HPDF_Date {
HPDF_INT year;
HPDF_INT month;
HPDF_INT day;
HPDF_INT hour;
HPDF_INT minutes;
HPDF_INT seconds;
char ind;
HPDF_INT off_hour;
HPDF_INT off_minutes;
} HPDF_Date;
typedef enum _HPDF_InfoType {
/* date-time type parameters */
HPDF_INFO_CREATION_DATE = 0,
HPDF_INFO_MOD_DATE,
/* string type parameters */
HPDF_INFO_AUTHOR,
HPDF_INFO_CREATOR,
HPDF_INFO_PRODUCER,
HPDF_INFO_TITLE,
HPDF_INFO_SUBJECT,
HPDF_INFO_KEYWORDS,
HPDF_INFO_TRAPPED,
HPDF_INFO_GTS_PDFX,
HPDF_INFO_EOF
} HPDF_InfoType;
/* PDF-A Types */
typedef enum _HPDF_PDFA_TYPE
{
HPDF_PDFA_1A = 0,
HPDF_PDFA_1B = 1
} HPDF_PDFAType;
typedef enum _HPDF_PdfVer {
HPDF_VER_12 = 0,
HPDF_VER_13,
HPDF_VER_14,
HPDF_VER_15,
HPDF_VER_16,
HPDF_VER_17,
HPDF_VER_EOF
} HPDF_PDFVer;
typedef enum _HPDF_EncryptMode {
HPDF_ENCRYPT_R2 = 2,
HPDF_ENCRYPT_R3 = 3
} HPDF_EncryptMode;
typedef void
(HPDF_STDCALL *HPDF_Error_Handler) (HPDF_STATUS error_no,
HPDF_STATUS detail_no,
void *user_data);
typedef void*
(HPDF_STDCALL *HPDF_Alloc_Func) (HPDF_UINT size);
typedef void
(HPDF_STDCALL *HPDF_Free_Func) (void *aptr);
/*---------------------------------------------------------------------------*/
/*------ text width struct --------------------------------------------------*/
typedef struct _HPDF_TextWidth {
HPDF_UINT numchars;
/* don't use this value (it may be change in the feature).
use numspace as alternated. */
HPDF_UINT numwords;
HPDF_UINT width;
HPDF_UINT numspace;
} HPDF_TextWidth;
/*---------------------------------------------------------------------------*/
/*------ dash mode ----------------------------------------------------------*/
typedef struct _HPDF_DashMode {
HPDF_UINT16 ptn[8];
HPDF_UINT num_ptn;
HPDF_UINT phase;
} HPDF_DashMode;
/*---------------------------------------------------------------------------*/
/*----- HPDF_TransMatrix struct ---------------------------------------------*/
typedef struct _HPDF_TransMatrix {
HPDF_REAL a;
HPDF_REAL b;
HPDF_REAL c;
HPDF_REAL d;
HPDF_REAL x;
HPDF_REAL y;
} HPDF_TransMatrix;
/*---------------------------------------------------------------------------*/
typedef enum _HPDF_ColorSpace {
HPDF_CS_DEVICE_GRAY = 0,
HPDF_CS_DEVICE_RGB,
HPDF_CS_DEVICE_CMYK,
HPDF_CS_CAL_GRAY,
HPDF_CS_CAL_RGB,
HPDF_CS_LAB,
HPDF_CS_ICC_BASED,
HPDF_CS_SEPARATION,
HPDF_CS_DEVICE_N,
HPDF_CS_INDEXED,
HPDF_CS_PATTERN,
HPDF_CS_EOF
} HPDF_ColorSpace;
/*---------------------------------------------------------------------------*/
/*----- HPDF_RGBColor struct ------------------------------------------------*/
typedef struct _HPDF_RGBColor {
HPDF_REAL r;
HPDF_REAL g;
HPDF_REAL b;
} HPDF_RGBColor;
/*---------------------------------------------------------------------------*/
/*----- HPDF_CMYKColor struct -----------------------------------------------*/
typedef struct _HPDF_CMYKColor {
HPDF_REAL c;
HPDF_REAL m;
HPDF_REAL y;
HPDF_REAL k;
} HPDF_CMYKColor;
/*---------------------------------------------------------------------------*/
/*------ The line cap style -------------------------------------------------*/
typedef enum _HPDF_LineCap {
HPDF_BUTT_END = 0,
HPDF_ROUND_END,
HPDF_PROJECTING_SCUARE_END,
HPDF_LINECAP_EOF
} HPDF_LineCap;
/*----------------------------------------------------------------------------*/
/*------ The line join style -------------------------------------------------*/
typedef enum _HPDF_LineJoin {
HPDF_MITER_JOIN = 0,
HPDF_ROUND_JOIN,
HPDF_BEVEL_JOIN,
HPDF_LINEJOIN_EOF
} HPDF_LineJoin;
/*----------------------------------------------------------------------------*/
/*------ The text rendering mode ---------------------------------------------*/
typedef enum _HPDF_TextRenderingMode {
HPDF_FILL = 0,
HPDF_STROKE,
HPDF_FILL_THEN_STROKE,
HPDF_INVISIBLE,
HPDF_FILL_CLIPPING,
HPDF_STROKE_CLIPPING,
HPDF_FILL_STROKE_CLIPPING,
HPDF_CLIPPING,
HPDF_RENDERING_MODE_EOF
} HPDF_TextRenderingMode;
typedef enum _HPDF_WritingMode {
HPDF_WMODE_HORIZONTAL = 0,
HPDF_WMODE_VERTICAL,
HPDF_WMODE_EOF
} HPDF_WritingMode;
typedef enum _HPDF_PageLayout {
HPDF_PAGE_LAYOUT_SINGLE = 0,
HPDF_PAGE_LAYOUT_ONE_COLUMN,
HPDF_PAGE_LAYOUT_TWO_COLUMN_LEFT,
HPDF_PAGE_LAYOUT_TWO_COLUMN_RIGHT,
HPDF_PAGE_LAYOUT_TWO_PAGE_LEFT,
HPDF_PAGE_LAYOUT_TWO_PAGE_RIGHT,
HPDF_PAGE_LAYOUT_EOF
} HPDF_PageLayout;
typedef enum _HPDF_PageMode {
HPDF_PAGE_MODE_USE_NONE = 0,
HPDF_PAGE_MODE_USE_OUTLINE,
HPDF_PAGE_MODE_USE_THUMBS,
HPDF_PAGE_MODE_FULL_SCREEN,
/* HPDF_PAGE_MODE_USE_OC,
HPDF_PAGE_MODE_USE_ATTACHMENTS,
*/
HPDF_PAGE_MODE_EOF
} HPDF_PageMode;
typedef enum _HPDF_PageNumStyle {
HPDF_PAGE_NUM_STYLE_DECIMAL = 0,
HPDF_PAGE_NUM_STYLE_UPPER_ROMAN,
HPDF_PAGE_NUM_STYLE_LOWER_ROMAN,
HPDF_PAGE_NUM_STYLE_UPPER_LETTERS,
HPDF_PAGE_NUM_STYLE_LOWER_LETTERS,
HPDF_PAGE_NUM_STYLE_EOF
} HPDF_PageNumStyle;
typedef enum _HPDF_DestinationType {
HPDF_XYZ = 0,
HPDF_FIT,
HPDF_FIT_H,
HPDF_FIT_V,
HPDF_FIT_R,
HPDF_FIT_B,
HPDF_FIT_BH,
HPDF_FIT_BV,
HPDF_DST_EOF
} HPDF_DestinationType;
typedef enum _HPDF_AnnotType {
HPDF_ANNOT_TEXT_NOTES,
HPDF_ANNOT_LINK,
HPDF_ANNOT_SOUND,
HPDF_ANNOT_FREE_TEXT,
HPDF_ANNOT_STAMP,
HPDF_ANNOT_SQUARE,
HPDF_ANNOT_CIRCLE,
HPDF_ANNOT_STRIKE_OUT,
HPDF_ANNOT_HIGHTLIGHT,
HPDF_ANNOT_UNDERLINE,
HPDF_ANNOT_INK,
HPDF_ANNOT_FILE_ATTACHMENT,
HPDF_ANNOT_POPUP,
HPDF_ANNOT_3D,
HPDF_ANNOT_SQUIGGLY,
HPDF_ANNOT_LINE,
HPDF_ANNOT_PROJECTION
} HPDF_AnnotType;
typedef enum _HPDF_AnnotFlgs {
HPDF_ANNOT_INVISIBLE,
HPDF_ANNOT_HIDDEN,
HPDF_ANNOT_PRINT,
HPDF_ANNOT_NOZOOM,
HPDF_ANNOT_NOROTATE,
HPDF_ANNOT_NOVIEW,
HPDF_ANNOT_READONLY
} HPDF_AnnotFlgs;
typedef enum _HPDF_AnnotHighlightMode {
HPDF_ANNOT_NO_HIGHTLIGHT = 0,
HPDF_ANNOT_INVERT_BOX,
HPDF_ANNOT_INVERT_BORDER,
HPDF_ANNOT_DOWN_APPEARANCE,
HPDF_ANNOT_HIGHTLIGHT_MODE_EOF
} HPDF_AnnotHighlightMode;
typedef enum _HPDF_AnnotIcon {
HPDF_ANNOT_ICON_COMMENT = 0,
HPDF_ANNOT_ICON_KEY,
HPDF_ANNOT_ICON_NOTE,
HPDF_ANNOT_ICON_HELP,
HPDF_ANNOT_ICON_NEW_PARAGRAPH,
HPDF_ANNOT_ICON_PARAGRAPH,
HPDF_ANNOT_ICON_INSERT,
HPDF_ANNOT_ICON_EOF
} HPDF_AnnotIcon;
typedef enum _HPDF_AnnotIntent {
HPDF_ANNOT_INTENT_FREETEXTCALLOUT = 0,
HPDF_ANNOT_INTENT_FREETEXTTYPEWRITER,
HPDF_ANNOT_INTENT_LINEARROW,
HPDF_ANNOT_INTENT_LINEDIMENSION,
HPDF_ANNOT_INTENT_POLYGONCLOUD,
HPDF_ANNOT_INTENT_POLYLINEDIMENSION,
HPDF_ANNOT_INTENT_POLYGONDIMENSION
} HPDF_AnnotIntent;
typedef enum _HPDF_LineAnnotEndingStyle {
HPDF_LINE_ANNOT_NONE = 0,
HPDF_LINE_ANNOT_SQUARE,
HPDF_LINE_ANNOT_CIRCLE,
HPDF_LINE_ANNOT_DIAMOND,
HPDF_LINE_ANNOT_OPENARROW,
HPDF_LINE_ANNOT_CLOSEDARROW,
HPDF_LINE_ANNOT_BUTT,
HPDF_LINE_ANNOT_ROPENARROW,
HPDF_LINE_ANNOT_RCLOSEDARROW,
HPDF_LINE_ANNOT_SLASH
} HPDF_LineAnnotEndingStyle;
typedef enum _HPDF_LineAnnotCapPosition{
HPDF_LINE_ANNOT_CAP_INLINE = 0,
HPDF_LINE_ANNOT_CAP_TOP
} HPDF_LineAnnotCapPosition;
typedef enum _HPDF_StampAnnotName{
HPDF_STAMP_ANNOT_APPROVED = 0,
HPDF_STAMP_ANNOT_EXPERIMENTAL,
HPDF_STAMP_ANNOT_NOTAPPROVED,
HPDF_STAMP_ANNOT_ASIS,
HPDF_STAMP_ANNOT_EXPIRED,
HPDF_STAMP_ANNOT_NOTFORPUBLICRELEASE,
HPDF_STAMP_ANNOT_CONFIDENTIAL,
HPDF_STAMP_ANNOT_FINAL,
HPDF_STAMP_ANNOT_SOLD,
HPDF_STAMP_ANNOT_DEPARTMENTAL,
HPDF_STAMP_ANNOT_FORCOMMENT,
HPDF_STAMP_ANNOT_TOPSECRET,
HPDF_STAMP_ANNOT_DRAFT,
HPDF_STAMP_ANNOT_FORPUBLICRELEASE
} HPDF_StampAnnotName;
/*----------------------------------------------------------------------------*/
/*------ border stype --------------------------------------------------------*/
typedef enum _HPDF_BSSubtype {
HPDF_BS_SOLID,
HPDF_BS_DASHED,
HPDF_BS_BEVELED,
HPDF_BS_INSET,
HPDF_BS_UNDERLINED
} HPDF_BSSubtype;
/*----- blend modes ----------------------------------------------------------*/
typedef enum _HPDF_BlendMode {
HPDF_BM_NORMAL,
HPDF_BM_MULTIPLY,
HPDF_BM_SCREEN,
HPDF_BM_OVERLAY,
HPDF_BM_DARKEN,
HPDF_BM_LIGHTEN,
HPDF_BM_COLOR_DODGE,
HPDF_BM_COLOR_BUM,
HPDF_BM_HARD_LIGHT,
HPDF_BM_SOFT_LIGHT,
HPDF_BM_DIFFERENCE,
HPDF_BM_EXCLUSHON,
HPDF_BM_EOF
} HPDF_BlendMode;
/*----- slide show -----------------------------------------------------------*/
typedef enum _HPDF_TransitionStyle {
HPDF_TS_WIPE_RIGHT = 0,
HPDF_TS_WIPE_UP,
HPDF_TS_WIPE_LEFT,
HPDF_TS_WIPE_DOWN,
HPDF_TS_BARN_DOORS_HORIZONTAL_OUT,
HPDF_TS_BARN_DOORS_HORIZONTAL_IN,
HPDF_TS_BARN_DOORS_VERTICAL_OUT,
HPDF_TS_BARN_DOORS_VERTICAL_IN,
HPDF_TS_BOX_OUT,
HPDF_TS_BOX_IN,
HPDF_TS_BLINDS_HORIZONTAL,
HPDF_TS_BLINDS_VERTICAL,
HPDF_TS_DISSOLVE,
HPDF_TS_GLITTER_RIGHT,
HPDF_TS_GLITTER_DOWN,
HPDF_TS_GLITTER_TOP_LEFT_TO_BOTTOM_RIGHT,
HPDF_TS_REPLACE,
HPDF_TS_EOF
} HPDF_TransitionStyle;
/*----------------------------------------------------------------------------*/
typedef enum _HPDF_PageSizes {
HPDF_PAGE_SIZE_LETTER = 0,
HPDF_PAGE_SIZE_LEGAL,
HPDF_PAGE_SIZE_A3,
HPDF_PAGE_SIZE_A4,
HPDF_PAGE_SIZE_A5,
HPDF_PAGE_SIZE_B4,
HPDF_PAGE_SIZE_B5,
HPDF_PAGE_SIZE_EXECUTIVE,
HPDF_PAGE_SIZE_US4x6,
HPDF_PAGE_SIZE_US4x8,
HPDF_PAGE_SIZE_US5x7,
HPDF_PAGE_SIZE_COMM10,
HPDF_PAGE_SIZE_EOF
} HPDF_PageSizes;
typedef enum _HPDF_PageDirection {
HPDF_PAGE_PORTRAIT = 0,
HPDF_PAGE_LANDSCAPE
} HPDF_PageDirection;
typedef enum _HPDF_EncoderType {
HPDF_ENCODER_TYPE_SINGLE_BYTE,
HPDF_ENCODER_TYPE_DOUBLE_BYTE,
HPDF_ENCODER_TYPE_UNINITIALIZED,
HPDF_ENCODER_UNKNOWN
} HPDF_EncoderType;
typedef enum _HPDF_ByteType {
HPDF_BYTE_TYPE_SINGLE = 0,
HPDF_BYTE_TYPE_LEAD,
HPDF_BYTE_TYPE_TRIAL,
HPDF_BYTE_TYPE_UNKNOWN
} HPDF_ByteType;
typedef enum _HPDF_TextAlignment {
HPDF_TALIGN_LEFT = 0,
HPDF_TALIGN_RIGHT,
HPDF_TALIGN_CENTER,
HPDF_TALIGN_JUSTIFY
} HPDF_TextAlignment;
/*----------------------------------------------------------------------------*/
/* Name Dictionary values -- see PDF reference section 7.7.4 */
typedef enum _HPDF_NameDictKey {
HPDF_NAME_EMBEDDED_FILES = 0, /* TODO the rest */
HPDF_NAME_EOF
} HPDF_NameDictKey;
#ifdef __cplusplus
}
#endif /* __cplusplus */
#endif /* _HPDF_TYPES_H */

View File

@ -0,0 +1,53 @@
/*
* << Haru Free PDF Library >> -- hpdf_u3d.h
*
* URL: http://libharu.org
*
* Copyright (c) 1999-2006 Takeshi Kanno <takeshi_kanno@est.hi-ho.ne.jp>
* Copyright (c) 2007-2009 Antony Dovgal <tony@daylessday.org>
*
* Permission to use, copy, modify, distribute and sell this software
* and its documentation for any purpose is hereby granted without fee,
* provided that the above copyright notice appear in all copies and
* that both that copyright notice and this permission notice appear
* in supporting documentation.
* It is provided "as is" without express or implied warranty.
*
*/
#ifndef _HPDF_U3D_H
#define _HPDF_U3D_H
#include "hpdf_objects.h"
#ifdef __cplusplus
extern "C" {
#endif
HPDF_EXPORT(HPDF_JavaScript) HPDF_CreateJavaScript(HPDF_Doc pdf, const char *code);
HPDF_EXPORT(HPDF_U3D) HPDF_LoadU3DFromFile (HPDF_Doc pdf, const char *filename);
HPDF_EXPORT(HPDF_Image) HPDF_LoadU3DFromMem (HPDF_Doc pdf, const HPDF_BYTE *buffer, HPDF_UINT size);
HPDF_EXPORT(HPDF_Dict) HPDF_Create3DView (HPDF_MMgr mmgr, const char *name);
HPDF_EXPORT(HPDF_STATUS) HPDF_U3D_Add3DView(HPDF_U3D u3d, HPDF_Dict view);
HPDF_EXPORT(HPDF_STATUS) HPDF_U3D_SetDefault3DView(HPDF_U3D u3d, const char *name);
HPDF_EXPORT(HPDF_STATUS) HPDF_U3D_AddOnInstanciate(HPDF_U3D u3d, HPDF_JavaScript javaScript);
HPDF_EXPORT(HPDF_STATUS) HPDF_3DView_AddNode(HPDF_Dict view, const char *name, HPDF_REAL opacity, HPDF_BOOL visible);
HPDF_EXPORT(HPDF_STATUS) HPDF_3DView_SetLighting(HPDF_Dict view, const char *scheme);
HPDF_EXPORT(HPDF_STATUS) HPDF_3DView_SetBackgroundColor(HPDF_Dict view, HPDF_REAL r, HPDF_REAL g, HPDF_REAL b);
HPDF_EXPORT(HPDF_STATUS) HPDF_3DView_SetPerspectiveProjection(HPDF_Dict view, HPDF_REAL fov);
HPDF_EXPORT(HPDF_STATUS) HPDF_3DView_SetOrthogonalProjection(HPDF_Dict view, HPDF_REAL mag);
HPDF_EXPORT(HPDF_STATUS) HPDF_3DView_SetCamera(HPDF_Dict view, HPDF_REAL coox, HPDF_REAL cooy, HPDF_REAL cooz, HPDF_REAL c2cx, HPDF_REAL c2cy, HPDF_REAL c2cz, HPDF_REAL roo, HPDF_REAL roll);
HPDF_Dict
HPDF_3DView_New ( HPDF_MMgr mmgr,
HPDF_Xref xref,
HPDF_U3D u3d,
const char *name);
#ifdef __cplusplus
}
#endif /* __cplusplus */
#endif /* _HPDF_U3D_H */

View File

@ -0,0 +1,165 @@
/*
* << Haru Free PDF Library >> -- fpdf_utils.h
*
* URL: http://libharu.org
*
* Copyright (c) 1999-2006 Takeshi Kanno <takeshi_kanno@est.hi-ho.ne.jp>
* Copyright (c) 2007-2009 Antony Dovgal <tony@daylessday.org>
*
* Permission to use, copy, modify, distribute and sell this software
* and its documentation for any purpose is hereby granted without fee,
* provided that the above copyright notice appear in all copies and
* that both that copyright notice and this permission notice appear
* in supporting documentation.
* It is provided "as is" without express or implied warranty.
*
*/
#ifndef _HPDF_UTILS_H
#define _HPDF_UTILS_H
#include "hpdf_config.h"
#include "hpdf_types.h"
#ifdef __cplusplus
extern "C" {
#endif /* __cplusplus */
HPDF_INT
HPDF_AToI (const char* s);
HPDF_DOUBLE
HPDF_AToF (const char* s);
char*
HPDF_IToA (char* s,
HPDF_INT32 val,
char* eptr);
char*
HPDF_IToA2 (char *s,
HPDF_UINT32 val,
HPDF_UINT len);
char*
HPDF_FToA (char *s,
HPDF_REAL val,
char *eptr);
HPDF_BYTE*
HPDF_MemCpy (HPDF_BYTE* out,
const HPDF_BYTE* in,
HPDF_UINT n);
HPDF_BYTE*
HPDF_StrCpy (char* out,
const char* in,
char* eptr);
HPDF_INT
HPDF_MemCmp (const HPDF_BYTE* s1,
const HPDF_BYTE* s2,
HPDF_UINT n);
HPDF_INT
HPDF_StrCmp (const char* s1,
const char* s2);
const char*
HPDF_StrStr (const char *s1,
const char *s2,
HPDF_UINT maxlen);
void*
HPDF_MemSet (void* s,
HPDF_BYTE c,
HPDF_UINT n);
HPDF_UINT
HPDF_StrLen (const char* s,
HPDF_INT maxlen);
HPDF_Box
HPDF_ToBox (HPDF_INT16 left,
HPDF_INT16 bottom,
HPDF_INT16 right,
HPDF_INT16 top);
HPDF_Point
HPDF_ToPoint (HPDF_INT16 x,
HPDF_INT16 y);
HPDF_Rect
HPDF_ToRect (HPDF_REAL left,
HPDF_REAL bottom,
HPDF_REAL right,
HPDF_REAL top);
void
HPDF_UInt16Swap (HPDF_UINT16 *value);
#ifdef __cplusplus
}
#endif /* __cplusplus */
#define HPDF_NEEDS_ESCAPE(c) (c < 0x20 || \
c > 0x7e || \
c == '\\' || \
c == '%' || \
c == '#' || \
c == '/' || \
c == '(' || \
c == ')' || \
c == '<' || \
c == '>' || \
c == '[' || \
c == ']' || \
c == '{' || \
c == '}' ) \
#define HPDF_IS_WHITE_SPACE(c) (c == 0x00 || \
c == 0x09 || \
c == 0x0A || \
c == 0x0C || \
c == 0x0D || \
c == 0x20 ) \
/*----------------------------------------------------------------------------*/
/*----- macros for debug -----------------------------------------------------*/
#ifdef LIBHPDF_DEBUG_TRACE
#ifndef HPDF_PTRACE_ON
#define HPDF_PTRACE_ON
#endif /* HPDF_PTRACE_ON */
#endif /* LIBHPDF_DEBUG_TRACE */
#ifdef HPDF_PTRACE_ON
#define HPDF_PTRACE(ARGS) HPDF_PRINTF ARGS
#else
#define HPDF_PTRACE(ARGS) /* do nothing */
#endif /* HPDF_PTRACE */
#ifdef LIBHPDF_DEBUG
#define HPDF_PRINT_BINARY(BUF, LEN, CAPTION) HPDF_PrintBinary(BUF, LEN, CAPTION)
#else
#define HPDF_PRINT_BINARY(BUF, LEN, CAPTION) /* do nothing */
#endif
#endif /* _HPDF_UTILS_H */

View File

@ -0,0 +1,8 @@
/* automatically generated by configure */
/* edit configure.in to change version number */
#define HPDF_MAJOR_VERSION 2
#define HPDF_MINOR_VERSION 3
#define HPDF_BUGFIX_VERSION 0
#define HPDF_EXTRA_VERSION "RC2"
#define HPDF_VERSION_TEXT "2.3.0RC2"
#define HPDF_VERSION_ID 20300

View File

@ -0,0 +1,11 @@
/* inffast.h -- header to use inffast.c
* Copyright (C) 1995-2003 Mark Adler
* For conditions of distribution and use, see copyright notice in zlib.h
*/
/* WARNING: this file should *not* be used by applications. It is
part of the implementation of the compression library and is
subject to change. Applications should only use zlib.h.
*/
void inflate_fast OF((z_streamp strm, unsigned start));

View File

@ -0,0 +1,94 @@
/* inffixed.h -- table for decoding fixed codes
* Generated automatically by makefixed().
*/
/* WARNING: this file should *not* be used by applications. It
is part of the implementation of the compression library and
is subject to change. Applications should only use zlib.h.
*/
static const code lenfix[512] = {
{96,7,0},{0,8,80},{0,8,16},{20,8,115},{18,7,31},{0,8,112},{0,8,48},
{0,9,192},{16,7,10},{0,8,96},{0,8,32},{0,9,160},{0,8,0},{0,8,128},
{0,8,64},{0,9,224},{16,7,6},{0,8,88},{0,8,24},{0,9,144},{19,7,59},
{0,8,120},{0,8,56},{0,9,208},{17,7,17},{0,8,104},{0,8,40},{0,9,176},
{0,8,8},{0,8,136},{0,8,72},{0,9,240},{16,7,4},{0,8,84},{0,8,20},
{21,8,227},{19,7,43},{0,8,116},{0,8,52},{0,9,200},{17,7,13},{0,8,100},
{0,8,36},{0,9,168},{0,8,4},{0,8,132},{0,8,68},{0,9,232},{16,7,8},
{0,8,92},{0,8,28},{0,9,152},{20,7,83},{0,8,124},{0,8,60},{0,9,216},
{18,7,23},{0,8,108},{0,8,44},{0,9,184},{0,8,12},{0,8,140},{0,8,76},
{0,9,248},{16,7,3},{0,8,82},{0,8,18},{21,8,163},{19,7,35},{0,8,114},
{0,8,50},{0,9,196},{17,7,11},{0,8,98},{0,8,34},{0,9,164},{0,8,2},
{0,8,130},{0,8,66},{0,9,228},{16,7,7},{0,8,90},{0,8,26},{0,9,148},
{20,7,67},{0,8,122},{0,8,58},{0,9,212},{18,7,19},{0,8,106},{0,8,42},
{0,9,180},{0,8,10},{0,8,138},{0,8,74},{0,9,244},{16,7,5},{0,8,86},
{0,8,22},{64,8,0},{19,7,51},{0,8,118},{0,8,54},{0,9,204},{17,7,15},
{0,8,102},{0,8,38},{0,9,172},{0,8,6},{0,8,134},{0,8,70},{0,9,236},
{16,7,9},{0,8,94},{0,8,30},{0,9,156},{20,7,99},{0,8,126},{0,8,62},
{0,9,220},{18,7,27},{0,8,110},{0,8,46},{0,9,188},{0,8,14},{0,8,142},
{0,8,78},{0,9,252},{96,7,0},{0,8,81},{0,8,17},{21,8,131},{18,7,31},
{0,8,113},{0,8,49},{0,9,194},{16,7,10},{0,8,97},{0,8,33},{0,9,162},
{0,8,1},{0,8,129},{0,8,65},{0,9,226},{16,7,6},{0,8,89},{0,8,25},
{0,9,146},{19,7,59},{0,8,121},{0,8,57},{0,9,210},{17,7,17},{0,8,105},
{0,8,41},{0,9,178},{0,8,9},{0,8,137},{0,8,73},{0,9,242},{16,7,4},
{0,8,85},{0,8,21},{16,8,258},{19,7,43},{0,8,117},{0,8,53},{0,9,202},
{17,7,13},{0,8,101},{0,8,37},{0,9,170},{0,8,5},{0,8,133},{0,8,69},
{0,9,234},{16,7,8},{0,8,93},{0,8,29},{0,9,154},{20,7,83},{0,8,125},
{0,8,61},{0,9,218},{18,7,23},{0,8,109},{0,8,45},{0,9,186},{0,8,13},
{0,8,141},{0,8,77},{0,9,250},{16,7,3},{0,8,83},{0,8,19},{21,8,195},
{19,7,35},{0,8,115},{0,8,51},{0,9,198},{17,7,11},{0,8,99},{0,8,35},
{0,9,166},{0,8,3},{0,8,131},{0,8,67},{0,9,230},{16,7,7},{0,8,91},
{0,8,27},{0,9,150},{20,7,67},{0,8,123},{0,8,59},{0,9,214},{18,7,19},
{0,8,107},{0,8,43},{0,9,182},{0,8,11},{0,8,139},{0,8,75},{0,9,246},
{16,7,5},{0,8,87},{0,8,23},{64,8,0},{19,7,51},{0,8,119},{0,8,55},
{0,9,206},{17,7,15},{0,8,103},{0,8,39},{0,9,174},{0,8,7},{0,8,135},
{0,8,71},{0,9,238},{16,7,9},{0,8,95},{0,8,31},{0,9,158},{20,7,99},
{0,8,127},{0,8,63},{0,9,222},{18,7,27},{0,8,111},{0,8,47},{0,9,190},
{0,8,15},{0,8,143},{0,8,79},{0,9,254},{96,7,0},{0,8,80},{0,8,16},
{20,8,115},{18,7,31},{0,8,112},{0,8,48},{0,9,193},{16,7,10},{0,8,96},
{0,8,32},{0,9,161},{0,8,0},{0,8,128},{0,8,64},{0,9,225},{16,7,6},
{0,8,88},{0,8,24},{0,9,145},{19,7,59},{0,8,120},{0,8,56},{0,9,209},
{17,7,17},{0,8,104},{0,8,40},{0,9,177},{0,8,8},{0,8,136},{0,8,72},
{0,9,241},{16,7,4},{0,8,84},{0,8,20},{21,8,227},{19,7,43},{0,8,116},
{0,8,52},{0,9,201},{17,7,13},{0,8,100},{0,8,36},{0,9,169},{0,8,4},
{0,8,132},{0,8,68},{0,9,233},{16,7,8},{0,8,92},{0,8,28},{0,9,153},
{20,7,83},{0,8,124},{0,8,60},{0,9,217},{18,7,23},{0,8,108},{0,8,44},
{0,9,185},{0,8,12},{0,8,140},{0,8,76},{0,9,249},{16,7,3},{0,8,82},
{0,8,18},{21,8,163},{19,7,35},{0,8,114},{0,8,50},{0,9,197},{17,7,11},
{0,8,98},{0,8,34},{0,9,165},{0,8,2},{0,8,130},{0,8,66},{0,9,229},
{16,7,7},{0,8,90},{0,8,26},{0,9,149},{20,7,67},{0,8,122},{0,8,58},
{0,9,213},{18,7,19},{0,8,106},{0,8,42},{0,9,181},{0,8,10},{0,8,138},
{0,8,74},{0,9,245},{16,7,5},{0,8,86},{0,8,22},{64,8,0},{19,7,51},
{0,8,118},{0,8,54},{0,9,205},{17,7,15},{0,8,102},{0,8,38},{0,9,173},
{0,8,6},{0,8,134},{0,8,70},{0,9,237},{16,7,9},{0,8,94},{0,8,30},
{0,9,157},{20,7,99},{0,8,126},{0,8,62},{0,9,221},{18,7,27},{0,8,110},
{0,8,46},{0,9,189},{0,8,14},{0,8,142},{0,8,78},{0,9,253},{96,7,0},
{0,8,81},{0,8,17},{21,8,131},{18,7,31},{0,8,113},{0,8,49},{0,9,195},
{16,7,10},{0,8,97},{0,8,33},{0,9,163},{0,8,1},{0,8,129},{0,8,65},
{0,9,227},{16,7,6},{0,8,89},{0,8,25},{0,9,147},{19,7,59},{0,8,121},
{0,8,57},{0,9,211},{17,7,17},{0,8,105},{0,8,41},{0,9,179},{0,8,9},
{0,8,137},{0,8,73},{0,9,243},{16,7,4},{0,8,85},{0,8,21},{16,8,258},
{19,7,43},{0,8,117},{0,8,53},{0,9,203},{17,7,13},{0,8,101},{0,8,37},
{0,9,171},{0,8,5},{0,8,133},{0,8,69},{0,9,235},{16,7,8},{0,8,93},
{0,8,29},{0,9,155},{20,7,83},{0,8,125},{0,8,61},{0,9,219},{18,7,23},
{0,8,109},{0,8,45},{0,9,187},{0,8,13},{0,8,141},{0,8,77},{0,9,251},
{16,7,3},{0,8,83},{0,8,19},{21,8,195},{19,7,35},{0,8,115},{0,8,51},
{0,9,199},{17,7,11},{0,8,99},{0,8,35},{0,9,167},{0,8,3},{0,8,131},
{0,8,67},{0,9,231},{16,7,7},{0,8,91},{0,8,27},{0,9,151},{20,7,67},
{0,8,123},{0,8,59},{0,9,215},{18,7,19},{0,8,107},{0,8,43},{0,9,183},
{0,8,11},{0,8,139},{0,8,75},{0,9,247},{16,7,5},{0,8,87},{0,8,23},
{64,8,0},{19,7,51},{0,8,119},{0,8,55},{0,9,207},{17,7,15},{0,8,103},
{0,8,39},{0,9,175},{0,8,7},{0,8,135},{0,8,71},{0,9,239},{16,7,9},
{0,8,95},{0,8,31},{0,9,159},{20,7,99},{0,8,127},{0,8,63},{0,9,223},
{18,7,27},{0,8,111},{0,8,47},{0,9,191},{0,8,15},{0,8,143},{0,8,79},
{0,9,255}
};
static const code distfix[32] = {
{16,5,1},{23,5,257},{19,5,17},{27,5,4097},{17,5,5},{25,5,1025},
{21,5,65},{29,5,16385},{16,5,3},{24,5,513},{20,5,33},{28,5,8193},
{18,5,9},{26,5,2049},{22,5,129},{64,5,0},{16,5,2},{23,5,385},
{19,5,25},{27,5,6145},{17,5,7},{25,5,1537},{21,5,97},{29,5,24577},
{16,5,4},{24,5,769},{20,5,49},{28,5,12289},{18,5,13},{26,5,3073},
{22,5,193},{64,5,0}
};

View File

@ -0,0 +1,115 @@
/* inflate.h -- internal inflate state definition
* Copyright (C) 1995-2004 Mark Adler
* For conditions of distribution and use, see copyright notice in zlib.h
*/
/* WARNING: this file should *not* be used by applications. It is
part of the implementation of the compression library and is
subject to change. Applications should only use zlib.h.
*/
/* define NO_GZIP when compiling if you want to disable gzip header and
trailer decoding by inflate(). NO_GZIP would be used to avoid linking in
the crc code when it is not needed. For shared libraries, gzip decoding
should be left enabled. */
#ifndef NO_GZIP
# define GUNZIP
#endif
/* Possible inflate modes between inflate() calls */
typedef enum {
HEAD, /* i: waiting for magic header */
FLAGS, /* i: waiting for method and flags (gzip) */
TIME, /* i: waiting for modification time (gzip) */
OS, /* i: waiting for extra flags and operating system (gzip) */
EXLEN, /* i: waiting for extra length (gzip) */
EXTRA, /* i: waiting for extra bytes (gzip) */
NAME, /* i: waiting for end of file name (gzip) */
COMMENT, /* i: waiting for end of comment (gzip) */
HCRC, /* i: waiting for header crc (gzip) */
DICTID, /* i: waiting for dictionary check value */
DICT, /* waiting for inflateSetDictionary() call */
TYPE, /* i: waiting for type bits, including last-flag bit */
TYPEDO, /* i: same, but skip check to exit inflate on new block */
STORED, /* i: waiting for stored size (length and complement) */
COPY, /* i/o: waiting for input or output to copy stored block */
TABLE, /* i: waiting for dynamic block table lengths */
LENLENS, /* i: waiting for code length code lengths */
CODELENS, /* i: waiting for length/lit and distance code lengths */
LEN, /* i: waiting for length/lit code */
LENEXT, /* i: waiting for length extra bits */
DIST, /* i: waiting for distance code */
DISTEXT, /* i: waiting for distance extra bits */
MATCH, /* o: waiting for output space to copy string */
LIT, /* o: waiting for output space to write literal */
CHECK, /* i: waiting for 32-bit check value */
LENGTH, /* i: waiting for 32-bit length (gzip) */
DONE, /* finished check, done -- remain here until reset */
BAD, /* got a data error -- remain here until reset */
MEM, /* got an inflate() memory error -- remain here until reset */
SYNC /* looking for synchronization bytes to restart inflate() */
} inflate_mode;
/*
State transitions between above modes -
(most modes can go to the BAD or MEM mode -- not shown for clarity)
Process header:
HEAD -> (gzip) or (zlib)
(gzip) -> FLAGS -> TIME -> OS -> EXLEN -> EXTRA -> NAME
NAME -> COMMENT -> HCRC -> TYPE
(zlib) -> DICTID or TYPE
DICTID -> DICT -> TYPE
Read deflate blocks:
TYPE -> STORED or TABLE or LEN or CHECK
STORED -> COPY -> TYPE
TABLE -> LENLENS -> CODELENS -> LEN
Read deflate codes:
LEN -> LENEXT or LIT or TYPE
LENEXT -> DIST -> DISTEXT -> MATCH -> LEN
LIT -> LEN
Process trailer:
CHECK -> LENGTH -> DONE
*/
/* state maintained between inflate() calls. Approximately 7K bytes. */
struct inflate_state {
inflate_mode mode; /* current inflate mode */
int last; /* true if processing last block */
int wrap; /* bit 0 true for zlib, bit 1 true for gzip */
int havedict; /* true if dictionary provided */
int flags; /* gzip header method and flags (0 if zlib) */
unsigned dmax; /* zlib header max distance (INFLATE_STRICT) */
unsigned long check; /* protected copy of check value */
unsigned long total; /* protected copy of output count */
gz_headerp head; /* where to save gzip header information */
/* sliding window */
unsigned wbits; /* log base 2 of requested window size */
unsigned wsize; /* window size or zero if not using window */
unsigned whave; /* valid bytes in the window */
unsigned write; /* window write index */
unsigned char FAR *window; /* allocated sliding window, if needed */
/* bit accumulator */
unsigned long hold; /* input bit accumulator */
unsigned bits; /* number of bits in "in" */
/* for string and stored block copying */
unsigned length; /* literal or length of data to copy */
unsigned offset; /* distance back to copy string from */
/* for table and code decoding */
unsigned extra; /* extra bits needed */
/* fixed and dynamic code tables */
code const FAR *lencode; /* starting table for length/literal codes */
code const FAR *distcode; /* starting table for distance codes */
unsigned lenbits; /* index bits for lencode */
unsigned distbits; /* index bits for distcode */
/* dynamic table building */
unsigned ncode; /* number of code length code lengths */
unsigned nlen; /* number of length code lengths */
unsigned ndist; /* number of distance code lengths */
unsigned have; /* number of code lengths in lens[] */
code FAR *next; /* next available space in codes[] */
unsigned short lens[320]; /* temporary storage for code lengths */
unsigned short work[288]; /* work area for code table building */
code codes[ENOUGH]; /* space for code tables */
};

View File

@ -0,0 +1,55 @@
/* inftrees.h -- header to use inftrees.c
* Copyright (C) 1995-2005 Mark Adler
* For conditions of distribution and use, see copyright notice in zlib.h
*/
/* WARNING: this file should *not* be used by applications. It is
part of the implementation of the compression library and is
subject to change. Applications should only use zlib.h.
*/
/* Structure for decoding tables. Each entry provides either the
information needed to do the operation requested by the code that
indexed that table entry, or it provides a pointer to another
table that indexes more bits of the code. op indicates whether
the entry is a pointer to another table, a literal, a length or
distance, an end-of-block, or an invalid code. For a table
pointer, the low four bits of op is the number of index bits of
that table. For a length or distance, the low four bits of op
is the number of extra bits to get after the code. bits is
the number of bits in this code or part of the code to drop off
of the bit buffer. val is the actual byte to output in the case
of a literal, the base length or distance, or the offset from
the current table to the next table. Each entry is four bytes. */
typedef struct {
unsigned char op; /* operation, extra bits, table bits */
unsigned char bits; /* bits in this part of the code */
unsigned short val; /* offset in table or code value */
} code;
/* op values as set by inflate_table():
00000000 - literal
0000tttt - table link, tttt != 0 is the number of table index bits
0001eeee - length or distance, eeee is the number of extra bits
01100000 - end of block
01000000 - invalid code
*/
/* Maximum size of dynamic tree. The maximum found in a long but non-
exhaustive search was 1444 code structures (852 for length/literals
and 592 for distances, the latter actually the result of an
exhaustive search). The true maximum is not known, but the value
below is more than safe. */
#define ENOUGH 2048
#define MAXD 592
/* Type of code to build for inftable() */
typedef enum {
CODES,
LENS,
DISTS
} codetype;
extern int inflate_table OF((codetype type, unsigned short FAR *lens,
unsigned codes, code FAR * FAR *table,
unsigned FAR *bits, unsigned short FAR *work));

3549
vendor/POCO/PDF/include/Poco/PDF/png.h vendored Normal file

File diff suppressed because it is too large Load Diff

1481
vendor/POCO/PDF/include/Poco/PDF/pngconf.h vendored Normal file

File diff suppressed because it is too large Load Diff

128
vendor/POCO/PDF/include/Poco/PDF/trees.h vendored Normal file
View File

@ -0,0 +1,128 @@
/* header created automatically with -DGEN_TREES_H */
local const ct_data static_ltree[L_CODES+2] = {
{{ 12},{ 8}}, {{140},{ 8}}, {{ 76},{ 8}}, {{204},{ 8}}, {{ 44},{ 8}},
{{172},{ 8}}, {{108},{ 8}}, {{236},{ 8}}, {{ 28},{ 8}}, {{156},{ 8}},
{{ 92},{ 8}}, {{220},{ 8}}, {{ 60},{ 8}}, {{188},{ 8}}, {{124},{ 8}},
{{252},{ 8}}, {{ 2},{ 8}}, {{130},{ 8}}, {{ 66},{ 8}}, {{194},{ 8}},
{{ 34},{ 8}}, {{162},{ 8}}, {{ 98},{ 8}}, {{226},{ 8}}, {{ 18},{ 8}},
{{146},{ 8}}, {{ 82},{ 8}}, {{210},{ 8}}, {{ 50},{ 8}}, {{178},{ 8}},
{{114},{ 8}}, {{242},{ 8}}, {{ 10},{ 8}}, {{138},{ 8}}, {{ 74},{ 8}},
{{202},{ 8}}, {{ 42},{ 8}}, {{170},{ 8}}, {{106},{ 8}}, {{234},{ 8}},
{{ 26},{ 8}}, {{154},{ 8}}, {{ 90},{ 8}}, {{218},{ 8}}, {{ 58},{ 8}},
{{186},{ 8}}, {{122},{ 8}}, {{250},{ 8}}, {{ 6},{ 8}}, {{134},{ 8}},
{{ 70},{ 8}}, {{198},{ 8}}, {{ 38},{ 8}}, {{166},{ 8}}, {{102},{ 8}},
{{230},{ 8}}, {{ 22},{ 8}}, {{150},{ 8}}, {{ 86},{ 8}}, {{214},{ 8}},
{{ 54},{ 8}}, {{182},{ 8}}, {{118},{ 8}}, {{246},{ 8}}, {{ 14},{ 8}},
{{142},{ 8}}, {{ 78},{ 8}}, {{206},{ 8}}, {{ 46},{ 8}}, {{174},{ 8}},
{{110},{ 8}}, {{238},{ 8}}, {{ 30},{ 8}}, {{158},{ 8}}, {{ 94},{ 8}},
{{222},{ 8}}, {{ 62},{ 8}}, {{190},{ 8}}, {{126},{ 8}}, {{254},{ 8}},
{{ 1},{ 8}}, {{129},{ 8}}, {{ 65},{ 8}}, {{193},{ 8}}, {{ 33},{ 8}},
{{161},{ 8}}, {{ 97},{ 8}}, {{225},{ 8}}, {{ 17},{ 8}}, {{145},{ 8}},
{{ 81},{ 8}}, {{209},{ 8}}, {{ 49},{ 8}}, {{177},{ 8}}, {{113},{ 8}},
{{241},{ 8}}, {{ 9},{ 8}}, {{137},{ 8}}, {{ 73},{ 8}}, {{201},{ 8}},
{{ 41},{ 8}}, {{169},{ 8}}, {{105},{ 8}}, {{233},{ 8}}, {{ 25},{ 8}},
{{153},{ 8}}, {{ 89},{ 8}}, {{217},{ 8}}, {{ 57},{ 8}}, {{185},{ 8}},
{{121},{ 8}}, {{249},{ 8}}, {{ 5},{ 8}}, {{133},{ 8}}, {{ 69},{ 8}},
{{197},{ 8}}, {{ 37},{ 8}}, {{165},{ 8}}, {{101},{ 8}}, {{229},{ 8}},
{{ 21},{ 8}}, {{149},{ 8}}, {{ 85},{ 8}}, {{213},{ 8}}, {{ 53},{ 8}},
{{181},{ 8}}, {{117},{ 8}}, {{245},{ 8}}, {{ 13},{ 8}}, {{141},{ 8}},
{{ 77},{ 8}}, {{205},{ 8}}, {{ 45},{ 8}}, {{173},{ 8}}, {{109},{ 8}},
{{237},{ 8}}, {{ 29},{ 8}}, {{157},{ 8}}, {{ 93},{ 8}}, {{221},{ 8}},
{{ 61},{ 8}}, {{189},{ 8}}, {{125},{ 8}}, {{253},{ 8}}, {{ 19},{ 9}},
{{275},{ 9}}, {{147},{ 9}}, {{403},{ 9}}, {{ 83},{ 9}}, {{339},{ 9}},
{{211},{ 9}}, {{467},{ 9}}, {{ 51},{ 9}}, {{307},{ 9}}, {{179},{ 9}},
{{435},{ 9}}, {{115},{ 9}}, {{371},{ 9}}, {{243},{ 9}}, {{499},{ 9}},
{{ 11},{ 9}}, {{267},{ 9}}, {{139},{ 9}}, {{395},{ 9}}, {{ 75},{ 9}},
{{331},{ 9}}, {{203},{ 9}}, {{459},{ 9}}, {{ 43},{ 9}}, {{299},{ 9}},
{{171},{ 9}}, {{427},{ 9}}, {{107},{ 9}}, {{363},{ 9}}, {{235},{ 9}},
{{491},{ 9}}, {{ 27},{ 9}}, {{283},{ 9}}, {{155},{ 9}}, {{411},{ 9}},
{{ 91},{ 9}}, {{347},{ 9}}, {{219},{ 9}}, {{475},{ 9}}, {{ 59},{ 9}},
{{315},{ 9}}, {{187},{ 9}}, {{443},{ 9}}, {{123},{ 9}}, {{379},{ 9}},
{{251},{ 9}}, {{507},{ 9}}, {{ 7},{ 9}}, {{263},{ 9}}, {{135},{ 9}},
{{391},{ 9}}, {{ 71},{ 9}}, {{327},{ 9}}, {{199},{ 9}}, {{455},{ 9}},
{{ 39},{ 9}}, {{295},{ 9}}, {{167},{ 9}}, {{423},{ 9}}, {{103},{ 9}},
{{359},{ 9}}, {{231},{ 9}}, {{487},{ 9}}, {{ 23},{ 9}}, {{279},{ 9}},
{{151},{ 9}}, {{407},{ 9}}, {{ 87},{ 9}}, {{343},{ 9}}, {{215},{ 9}},
{{471},{ 9}}, {{ 55},{ 9}}, {{311},{ 9}}, {{183},{ 9}}, {{439},{ 9}},
{{119},{ 9}}, {{375},{ 9}}, {{247},{ 9}}, {{503},{ 9}}, {{ 15},{ 9}},
{{271},{ 9}}, {{143},{ 9}}, {{399},{ 9}}, {{ 79},{ 9}}, {{335},{ 9}},
{{207},{ 9}}, {{463},{ 9}}, {{ 47},{ 9}}, {{303},{ 9}}, {{175},{ 9}},
{{431},{ 9}}, {{111},{ 9}}, {{367},{ 9}}, {{239},{ 9}}, {{495},{ 9}},
{{ 31},{ 9}}, {{287},{ 9}}, {{159},{ 9}}, {{415},{ 9}}, {{ 95},{ 9}},
{{351},{ 9}}, {{223},{ 9}}, {{479},{ 9}}, {{ 63},{ 9}}, {{319},{ 9}},
{{191},{ 9}}, {{447},{ 9}}, {{127},{ 9}}, {{383},{ 9}}, {{255},{ 9}},
{{511},{ 9}}, {{ 0},{ 7}}, {{ 64},{ 7}}, {{ 32},{ 7}}, {{ 96},{ 7}},
{{ 16},{ 7}}, {{ 80},{ 7}}, {{ 48},{ 7}}, {{112},{ 7}}, {{ 8},{ 7}},
{{ 72},{ 7}}, {{ 40},{ 7}}, {{104},{ 7}}, {{ 24},{ 7}}, {{ 88},{ 7}},
{{ 56},{ 7}}, {{120},{ 7}}, {{ 4},{ 7}}, {{ 68},{ 7}}, {{ 36},{ 7}},
{{100},{ 7}}, {{ 20},{ 7}}, {{ 84},{ 7}}, {{ 52},{ 7}}, {{116},{ 7}},
{{ 3},{ 8}}, {{131},{ 8}}, {{ 67},{ 8}}, {{195},{ 8}}, {{ 35},{ 8}},
{{163},{ 8}}, {{ 99},{ 8}}, {{227},{ 8}}
};
local const ct_data static_dtree[D_CODES] = {
{{ 0},{ 5}}, {{16},{ 5}}, {{ 8},{ 5}}, {{24},{ 5}}, {{ 4},{ 5}},
{{20},{ 5}}, {{12},{ 5}}, {{28},{ 5}}, {{ 2},{ 5}}, {{18},{ 5}},
{{10},{ 5}}, {{26},{ 5}}, {{ 6},{ 5}}, {{22},{ 5}}, {{14},{ 5}},
{{30},{ 5}}, {{ 1},{ 5}}, {{17},{ 5}}, {{ 9},{ 5}}, {{25},{ 5}},
{{ 5},{ 5}}, {{21},{ 5}}, {{13},{ 5}}, {{29},{ 5}}, {{ 3},{ 5}},
{{19},{ 5}}, {{11},{ 5}}, {{27},{ 5}}, {{ 7},{ 5}}, {{23},{ 5}}
};
const uch _dist_code[DIST_CODE_LEN] = {
0, 1, 2, 3, 4, 4, 5, 5, 6, 6, 6, 6, 7, 7, 7, 7, 8, 8, 8, 8,
8, 8, 8, 8, 9, 9, 9, 9, 9, 9, 9, 9, 10, 10, 10, 10, 10, 10, 10, 10,
10, 10, 10, 10, 10, 10, 10, 10, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11,
11, 11, 11, 11, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12,
12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 13, 13, 13, 13,
13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13,
13, 13, 13, 13, 13, 13, 13, 13, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14,
14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14,
14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14,
14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 15, 15, 15, 15, 15, 15, 15, 15,
15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15,
15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15,
15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 0, 0, 16, 17,
18, 18, 19, 19, 20, 20, 20, 20, 21, 21, 21, 21, 22, 22, 22, 22, 22, 22, 22, 22,
23, 23, 23, 23, 23, 23, 23, 23, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24,
24, 24, 24, 24, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25,
26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26,
26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 27, 27, 27, 27, 27, 27, 27, 27,
27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27,
27, 27, 27, 27, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28,
28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28,
28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28,
28, 28, 28, 28, 28, 28, 28, 28, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29,
29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29,
29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29,
29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29
};
const uch _length_code[MAX_MATCH-MIN_MATCH+1]= {
0, 1, 2, 3, 4, 5, 6, 7, 8, 8, 9, 9, 10, 10, 11, 11, 12, 12, 12, 12,
13, 13, 13, 13, 14, 14, 14, 14, 15, 15, 15, 15, 16, 16, 16, 16, 16, 16, 16, 16,
17, 17, 17, 17, 17, 17, 17, 17, 18, 18, 18, 18, 18, 18, 18, 18, 19, 19, 19, 19,
19, 19, 19, 19, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20,
21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 22, 22, 22, 22,
22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 23, 23, 23, 23, 23, 23, 23, 23,
23, 23, 23, 23, 23, 23, 23, 23, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24,
24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24,
25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25,
25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 26, 26, 26, 26, 26, 26, 26, 26,
26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26,
26, 26, 26, 26, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27,
27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 28
};
local const int base_length[LENGTH_CODES] = {
0, 1, 2, 3, 4, 5, 6, 7, 8, 10, 12, 14, 16, 20, 24, 28, 32, 40, 48, 56,
64, 80, 96, 112, 128, 160, 192, 224, 0
};
local const int base_dist[D_CODES] = {
0, 1, 2, 3, 4, 6, 8, 12, 16, 24,
32, 48, 64, 96, 128, 192, 256, 384, 512, 768,
1024, 1536, 2048, 3072, 4096, 6144, 8192, 12288, 16384, 24576
};

332
vendor/POCO/PDF/include/Poco/PDF/zconf.h vendored Normal file
View File

@ -0,0 +1,332 @@
/* zconf.h -- configuration of the zlib compression library
* Copyright (C) 1995-2005 Jean-loup Gailly.
* For conditions of distribution and use, see copyright notice in zlib.h
*/
/* @(#) $Id: //poco/Main/Foundation/src/zconf.h#9 $ */
#ifndef ZCONF_H
#define ZCONF_H
/*
* If you *really* need a unique prefix for all types and library functions,
* compile with -DZ_PREFIX. The "standard" zlib should be compiled without it.
*/
#ifdef Z_PREFIX
# define deflateInit_ z_deflateInit_
# define deflate z_deflate
# define deflateEnd z_deflateEnd
# define inflateInit_ z_inflateInit_
# define inflate z_inflate
# define inflateEnd z_inflateEnd
# define deflateInit2_ z_deflateInit2_
# define deflateSetDictionary z_deflateSetDictionary
# define deflateCopy z_deflateCopy
# define deflateReset z_deflateReset
# define deflateParams z_deflateParams
# define deflateBound z_deflateBound
# define deflatePrime z_deflatePrime
# define inflateInit2_ z_inflateInit2_
# define inflateSetDictionary z_inflateSetDictionary
# define inflateSync z_inflateSync
# define inflateSyncPoint z_inflateSyncPoint
# define inflateCopy z_inflateCopy
# define inflateReset z_inflateReset
# define inflateBack z_inflateBack
# define inflateBackEnd z_inflateBackEnd
# define compress z_compress
# define compress2 z_compress2
# define compressBound z_compressBound
# define uncompress z_uncompress
# define adler32 z_adler32
# define crc32 z_crc32
# define get_crc_table z_get_crc_table
# define zError z_zError
# define alloc_func z_alloc_func
# define free_func z_free_func
# define in_func z_in_func
# define out_func z_out_func
# define Byte z_Byte
# define uInt z_uInt
# define uLong z_uLong
# define Bytef z_Bytef
# define charf z_charf
# define intf z_intf
# define uIntf z_uIntf
# define uLongf z_uLongf
# define voidpf z_voidpf
# define voidp z_voidp
#endif
#if defined(__MSDOS__) && !defined(MSDOS)
# define MSDOS
#endif
#if (defined(OS_2) || defined(__OS2__)) && !defined(OS2)
# define OS2
#endif
#if defined(_WINDOWS) && !defined(WINDOWS)
# define WINDOWS
#endif
#if defined(_WIN32) || defined(_WIN32_WCE) || defined(__WIN32__)
# ifndef WIN32
# define WIN32
# endif
#endif
#if (defined(MSDOS) || defined(OS2) || defined(WINDOWS)) && !defined(WIN32)
# if !defined(__GNUC__) && !defined(__FLAT__) && !defined(__386__)
# ifndef SYS16BIT
# define SYS16BIT
# endif
# endif
#endif
/*
* Compile with -DMAXSEG_64K if the alloc function cannot allocate more
* than 64k bytes at a time (needed on systems with 16-bit int).
*/
#ifdef SYS16BIT
# define MAXSEG_64K
#endif
#ifdef MSDOS
# define UNALIGNED_OK
#endif
#ifdef __STDC_VERSION__
# ifndef STDC
# define STDC
# endif
# if __STDC_VERSION__ >= 199901L
# ifndef STDC99
# define STDC99
# endif
# endif
#endif
#if !defined(STDC) && (defined(__STDC__) || defined(__cplusplus))
# define STDC
#endif
#if !defined(STDC) && (defined(__GNUC__) || defined(__BORLANDC__))
# define STDC
#endif
#if !defined(STDC) && (defined(MSDOS) || defined(WINDOWS) || defined(WIN32))
# define STDC
#endif
#if !defined(STDC) && (defined(OS2) || defined(__HOS_AIX__))
# define STDC
#endif
#if defined(__OS400__) && !defined(STDC) /* iSeries (formerly AS/400). */
# define STDC
#endif
#ifndef STDC
# ifndef const /* cannot use !defined(STDC) && !defined(const) on Mac */
# define const /* note: need a more gentle solution here */
# endif
#endif
/* Some Mac compilers merge all .h files incorrectly: */
#if defined(__MWERKS__)||defined(applec)||defined(THINK_C)||defined(__SC__)
# define NO_DUMMY_DECL
#endif
/* Maximum value for memLevel in deflateInit2 */
#ifndef MAX_MEM_LEVEL
# ifdef MAXSEG_64K
# define MAX_MEM_LEVEL 8
# else
# define MAX_MEM_LEVEL 9
# endif
#endif
/* Maximum value for windowBits in deflateInit2 and inflateInit2.
* WARNING: reducing MAX_WBITS makes minigzip unable to extract .gz files
* created by gzip. (Files created by minigzip can still be extracted by
* gzip.)
*/
#ifndef MAX_WBITS
# define MAX_WBITS 15 /* 32K LZ77 window */
#endif
/* The memory requirements for deflate are (in bytes):
(1 << (windowBits+2)) + (1 << (memLevel+9))
that is: 128K for windowBits=15 + 128K for memLevel = 8 (default values)
plus a few kilobytes for small objects. For example, if you want to reduce
the default memory requirements from 256K to 128K, compile with
make CFLAGS="-O -DMAX_WBITS=14 -DMAX_MEM_LEVEL=7"
Of course this will generally degrade compression (there's no free lunch).
The memory requirements for inflate are (in bytes) 1 << windowBits
that is, 32K for windowBits=15 (default value) plus a few kilobytes
for small objects.
*/
/* Type declarations */
#ifndef OF /* function prototypes */
# ifdef STDC
# define OF(args) args
# else
# define OF(args) ()
# endif
#endif
/* The following definitions for FAR are needed only for MSDOS mixed
* model programming (small or medium model with some far allocations).
* This was tested only with MSC; for other MSDOS compilers you may have
* to define NO_MEMCPY in zutil.h. If you don't need the mixed model,
* just define FAR to be empty.
*/
#ifdef SYS16BIT
# if defined(M_I86SM) || defined(M_I86MM)
/* MSC small or medium model */
# define SMALL_MEDIUM
# ifdef _MSC_VER
# define FAR _far
# else
# define FAR far
# endif
# endif
# if (defined(__SMALL__) || defined(__MEDIUM__))
/* Turbo C small or medium model */
# define SMALL_MEDIUM
# ifdef __BORLANDC__
# define FAR _far
# else
# define FAR far
# endif
# endif
#endif
#if defined(WINDOWS) || defined(WIN32)
/* If building or using zlib as a DLL, define ZLIB_DLL.
* This is not mandatory, but it offers a little performance increase.
*/
# ifdef ZLIB_DLL
# if defined(WIN32) && (!defined(__BORLANDC__) || (__BORLANDC__ >= 0x500))
# ifdef ZLIB_INTERNAL
# define ZEXTERN extern __declspec(dllexport)
# else
# define ZEXTERN extern __declspec(dllimport)
# endif
# endif
# endif /* ZLIB_DLL */
/* If building or using zlib with the WINAPI/WINAPIV calling convention,
* define ZLIB_WINAPI.
* Caution: the standard ZLIB1.DLL is NOT compiled using ZLIB_WINAPI.
*/
# ifdef ZLIB_WINAPI
# ifdef FAR
# undef FAR
# endif
# include "Poco/UnWindows.h"
/* No need for _export, use ZLIB.DEF instead. */
/* For complete Windows compatibility, use WINAPI, not __stdcall. */
# define ZEXPORT WINAPI
# ifdef WIN32
# define ZEXPORTVA WINAPIV
# else
# define ZEXPORTVA FAR CDECL
# endif
# endif
#endif
#if defined (__BEOS__)
# ifdef ZLIB_DLL
# ifdef ZLIB_INTERNAL
# define ZEXPORT __declspec(dllexport)
# define ZEXPORTVA __declspec(dllexport)
# else
# define ZEXPORT __declspec(dllimport)
# define ZEXPORTVA __declspec(dllimport)
# endif
# endif
#endif
#ifndef ZEXTERN
# define ZEXTERN extern
#endif
#ifndef ZEXPORT
# define ZEXPORT
#endif
#ifndef ZEXPORTVA
# define ZEXPORTVA
#endif
#ifndef FAR
# define FAR
#endif
#if !defined(__MACTYPES__)
typedef unsigned char Byte; /* 8 bits */
#endif
typedef unsigned int uInt; /* 16 bits or more */
typedef unsigned long uLong; /* 32 bits or more */
#ifdef SMALL_MEDIUM
/* Borland C/C++ and some old MSC versions ignore FAR inside typedef */
# define Bytef Byte FAR
#else
typedef Byte FAR Bytef;
#endif
typedef char FAR charf;
typedef int FAR intf;
typedef uInt FAR uIntf;
typedef uLong FAR uLongf;
#ifdef STDC
typedef void const *voidpc;
typedef void FAR *voidpf;
typedef void *voidp;
#else
typedef Byte const *voidpc;
typedef Byte FAR *voidpf;
typedef Byte *voidp;
#endif
#if 0 /* HAVE_UNISTD_H -- this line is updated by ./configure */
# include <sys/types.h> /* for off_t */
# include <unistd.h> /* for SEEK_* and off_t */
# ifdef VMS
# include <unixio.h> /* for off_t */
# endif
# define z_off_t off_t
#endif
#ifndef SEEK_SET
# define SEEK_SET 0 /* Seek from beginning of file. */
# define SEEK_CUR 1 /* Seek from current position. */
# define SEEK_END 2 /* Set file pointer to EOF plus "offset" */
#endif
#ifndef z_off_t
# define z_off_t long
#endif
#if defined(__OS400__)
# define NO_vsnprintf
#endif
#if defined(__MVS__)
# define NO_vsnprintf
# ifdef FAR
# undef FAR
# endif
#endif
/* MVS linker does not support external names larger than 8 bytes */
#if defined(__MVS__)
# pragma map(deflateInit_,"DEIN")
# pragma map(deflateInit2_,"DEIN2")
# pragma map(deflateEnd,"DEEND")
# pragma map(deflateBound,"DEBND")
# pragma map(inflateInit_,"ININ")
# pragma map(inflateInit2_,"ININ2")
# pragma map(inflateEnd,"INEND")
# pragma map(inflateSync,"INSY")
# pragma map(inflateSetDictionary,"INSEDI")
# pragma map(compressBound,"CMBND")
# pragma map(inflate_table,"INTABL")
# pragma map(inflate_fast,"INFA")
# pragma map(inflate_copyright,"INCOPY")
#endif
#endif /* ZCONF_H */

1357
vendor/POCO/PDF/include/Poco/PDF/zlib.h vendored Normal file

File diff suppressed because it is too large Load Diff

269
vendor/POCO/PDF/include/Poco/PDF/zutil.h vendored Normal file
View File

@ -0,0 +1,269 @@
/* zutil.h -- internal interface and configuration of the compression library
* Copyright (C) 1995-2005 Jean-loup Gailly.
* For conditions of distribution and use, see copyright notice in zlib.h
*/
/* WARNING: this file should *not* be used by applications. It is
part of the implementation of the compression library and is
subject to change. Applications should only use zlib.h.
*/
/* @(#) $Id: //poco/Main/Foundation/src/zutil.h#8 $ */
#ifndef ZUTIL_H
#define ZUTIL_H
#define ZLIB_INTERNAL
#include "zlib.h"
#ifdef STDC
# ifndef _WIN32_WCE
# include <stddef.h>
# endif
# include <string.h>
# include <stdlib.h>
#endif
#ifdef NO_ERRNO_H
# ifdef _WIN32_WCE
/* The Microsoft C Run-Time Library for Windows CE doesn't have
* errno. We define it as a global variable to simplify porting.
* Its value is always 0 and should not be used. We rename it to
* avoid conflict with other libraries that use the same workaround.
*/
# define errno z_errno
# endif
extern int errno;
#else
# ifndef _WIN32_WCE
# include <errno.h>
# endif
#endif
#ifndef local
# define local static
#endif
/* compile with -Dlocal if your debugger can't find static symbols */
typedef unsigned char uch;
typedef uch FAR uchf;
typedef unsigned short ush;
typedef ush FAR ushf;
typedef unsigned long ulg;
extern const char * const z_errmsg[10]; /* indexed by 2-zlib_error */
/* (size given to avoid silly warnings with Visual C++) */
#define ERR_MSG(err) z_errmsg[Z_NEED_DICT-(err)]
#define ERR_RETURN(strm,err) \
return (strm->msg = (char*)ERR_MSG(err), (err))
/* To be used only when the state is known to be valid */
/* common constants */
#ifndef DEF_WBITS
# define DEF_WBITS MAX_WBITS
#endif
/* default windowBits for decompression. MAX_WBITS is for compression only */
#if MAX_MEM_LEVEL >= 8
# define DEF_MEM_LEVEL 8
#else
# define DEF_MEM_LEVEL MAX_MEM_LEVEL
#endif
/* default memLevel */
#define STORED_BLOCK 0
#define STATIC_TREES 1
#define DYN_TREES 2
/* The three kinds of block type */
#define MIN_MATCH 3
#define MAX_MATCH 258
/* The minimum and maximum match lengths */
#define PRESET_DICT 0x20 /* preset dictionary flag in zlib header */
/* target dependencies */
#if defined(MSDOS) || (defined(WINDOWS) && !defined(WIN32))
# define OS_CODE 0x00
# if defined(__TURBOC__) || defined(__BORLANDC__)
# if(__STDC__ == 1) && (defined(__LARGE__) || defined(__COMPACT__))
/* Allow compilation with ANSI keywords only enabled */
void _Cdecl farfree( void *block );
void *_Cdecl farmalloc( unsigned long nbytes );
# else
# include <alloc.h>
# endif
# else /* MSC or DJGPP */
# include <malloc.h>
# endif
#endif
#ifdef AMIGA
# define OS_CODE 0x01
#endif
#if defined(VAXC) || defined(VMS)
# define OS_CODE 0x02
# define F_OPEN(name, mode) \
fopen((name), (mode), "mbc=60", "ctx=stm", "rfm=fix", "mrs=512")
#endif
#if defined(ATARI) || defined(atarist)
# define OS_CODE 0x05
#endif
#ifdef OS2
# define OS_CODE 0x06
# ifdef M_I86
#include <malloc.h>
# endif
#endif
#if defined(MACOS) || defined(TARGET_OS_MAC)
# define OS_CODE 0x07
# if defined(__MWERKS__) && __dest_os != __be_os && __dest_os != __win32_os
# include <unix.h> /* for fdopen */
# else
# ifndef fdopen
# define fdopen(fd,mode) NULL /* No fdopen() */
# endif
# endif
#endif
#ifdef TOPS20
# define OS_CODE 0x0a
#endif
#ifdef WIN32
# ifndef __CYGWIN__ /* Cygwin is Unix, not Win32 */
# define OS_CODE 0x0b
# endif
#endif
#ifdef __50SERIES /* Prime/PRIMOS */
# define OS_CODE 0x0f
#endif
#if defined(_BEOS_) || defined(RISCOS)
# define fdopen(fd,mode) NULL /* No fdopen() */
#endif
#if (defined(_MSC_VER) && (_MSC_VER > 600))
# if defined(_WIN32_WCE)
# define fdopen(fd,mode) NULL /* No fdopen() */
# ifndef _PTRDIFF_T_DEFINED
typedef int ptrdiff_t;
# define _PTRDIFF_T_DEFINED
# endif
# else
# define fdopen(fd,type) _fdopen(fd,type)
# endif
#endif
/* common defaults */
#ifndef OS_CODE
# define OS_CODE 0x03 /* assume Unix */
#endif
#ifndef F_OPEN
# define F_OPEN(name, mode) fopen((name), (mode))
#endif
/* functions */
#if defined(STDC99) || (defined(__TURBOC__) && __TURBOC__ >= 0x550)
# ifndef HAVE_VSNPRINTF
# define HAVE_VSNPRINTF
# endif
#endif
#if defined(__CYGWIN__)
# ifndef HAVE_VSNPRINTF
# define HAVE_VSNPRINTF
# endif
#endif
#ifndef HAVE_VSNPRINTF
# ifdef MSDOS
/* vsnprintf may exist on some MS-DOS compilers (DJGPP?),
but for now we just assume it doesn't. */
# define NO_vsnprintf
# endif
# ifdef __TURBOC__
# define NO_vsnprintf
# endif
# ifdef WIN32
/* In Win32, vsnprintf is available as the "non-ANSI" _vsnprintf. */
# if !defined(vsnprintf) && !defined(NO_vsnprintf)
# define vsnprintf _vsnprintf
# endif
# endif
# ifdef __SASC
# define NO_vsnprintf
# endif
#endif
#ifdef VMS
# define NO_vsnprintf
#endif
#if defined(pyr)
# define NO_MEMCPY
#endif
#if defined(SMALL_MEDIUM) && !defined(_MSC_VER) && !defined(__SC__)
/* Use our own functions for small and medium model with MSC <= 5.0.
* You may have to use the same strategy for Borland C (untested).
* The __SC__ check is for Symantec.
*/
# define NO_MEMCPY
#endif
#if defined(STDC) && !defined(HAVE_MEMCPY) && !defined(NO_MEMCPY)
# define HAVE_MEMCPY
#endif
#ifdef HAVE_MEMCPY
# ifdef SMALL_MEDIUM /* MSDOS small or medium model */
# define zmemcpy _fmemcpy
# define zmemcmp _fmemcmp
# define zmemzero(dest, len) _fmemset(dest, 0, len)
# else
# define zmemcpy memcpy
# define zmemcmp memcmp
# define zmemzero(dest, len) memset(dest, 0, len)
# endif
#else
extern void zmemcpy OF((Bytef* dest, const Bytef* source, uInt len));
extern int zmemcmp OF((const Bytef* s1, const Bytef* s2, uInt len));
extern void zmemzero OF((Bytef* dest, uInt len));
#endif
/* Diagnostic functions */
#ifdef ZLIB_DEBUG
# include <stdio.h>
extern int z_verbose;
extern void z_error OF((char *m));
# define Assert(cond,msg) {if(!(cond)) z_error(msg);}
# define Trace(x) {if (z_verbose>=0) fprintf x ;}
# define Tracev(x) {if (z_verbose>0) fprintf x ;}
# define Tracevv(x) {if (z_verbose>1) fprintf x ;}
# define Tracec(c,x) {if (z_verbose>0 && (c)) fprintf x ;}
# define Tracecv(c,x) {if (z_verbose>1 && (c)) fprintf x ;}
#else
# define Assert(cond,msg)
# define Trace(x)
# define Tracev(x)
# define Tracevv(x)
# define Tracec(c,x)
# define Tracecv(c,x)
#endif
voidpf zcalloc OF((voidpf opaque, unsigned items, unsigned size));
void zcfree OF((voidpf opaque, voidpf ptr));
#define ZALLOC(strm, items, size) \
(*((strm)->zalloc))((strm)->opaque, (items), (size))
#define ZFREE(strm, addr) (*((strm)->zfree))((strm)->opaque, (voidpf)(addr))
#define TRY_FREE(s, p) {if (p) ZFREE(s, p);}
#endif /* ZUTIL_H */

View File

@ -0,0 +1,3 @@
add_subdirectory(Image)
add_subdirectory(Text)
add_subdirectory(Template)

View File

@ -0,0 +1,2 @@
add_executable(Image src/Image.cpp)
target_link_libraries(Image PUBLIC Poco::PDF)

BIN
vendor/POCO/PDF/samples/Image/Image.pdf vendored Normal file

Binary file not shown.

View File

@ -0,0 +1,10 @@
vc.project.guid = ${vc.project.guidFromName}
vc.project.name = ${vc.project.baseName}
vc.project.target = ${vc.project.name}
vc.project.type = executable
vc.project.pocobase = ..\\..\\..
vc.project.platforms = Win32
vc.project.configurations = debug_shared, release_shared, debug_static_mt, release_static_mt, debug_static_md, release_static_md
vc.project.prototype = ${vc.project.name}_vs90.vcproj
vc.project.compiler.include = ..\\..\\..\\Foundation\\include;..\\..\\..\\PDF\\include
vc.project.linker.dependencies =

View File

@ -0,0 +1,603 @@
<?xml version="1.0" encoding="UTF-8"?>
<Project DefaultTargets="Build" ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup Label="ProjectConfigurations">
<ProjectConfiguration Include="debug_shared|Win32">
<Configuration>debug_shared</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="debug_shared|x64">
<Configuration>debug_shared</Configuration>
<Platform>x64</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="debug_static_md|Win32">
<Configuration>debug_static_md</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="debug_static_md|x64">
<Configuration>debug_static_md</Configuration>
<Platform>x64</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="debug_static_mt|Win32">
<Configuration>debug_static_mt</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="debug_static_mt|x64">
<Configuration>debug_static_mt</Configuration>
<Platform>x64</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="release_shared|Win32">
<Configuration>release_shared</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="release_shared|x64">
<Configuration>release_shared</Configuration>
<Platform>x64</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="release_static_md|Win32">
<Configuration>release_static_md</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="release_static_md|x64">
<Configuration>release_static_md</Configuration>
<Platform>x64</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="release_static_mt|Win32">
<Configuration>release_static_mt</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="release_static_mt|x64">
<Configuration>release_static_mt</Configuration>
<Platform>x64</Platform>
</ProjectConfiguration>
</ItemGroup>
<PropertyGroup Label="Globals">
<ProjectName>Image</ProjectName>
<ProjectGuid>{DA74060D-73AF-3E8F-A804-FBC960DAC393}</ProjectGuid>
<RootNamespace>Image</RootNamespace>
<Keyword>Win32Proj</Keyword>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props"/>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='release_static_md|Win32'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<CharacterSet>MultiByte</CharacterSet>
<PlatformToolset>v140</PlatformToolset>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='debug_static_md|Win32'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<CharacterSet>MultiByte</CharacterSet>
<PlatformToolset>v140</PlatformToolset>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='release_static_mt|Win32'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<CharacterSet>MultiByte</CharacterSet>
<PlatformToolset>v140</PlatformToolset>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='debug_static_mt|Win32'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<CharacterSet>MultiByte</CharacterSet>
<PlatformToolset>v140</PlatformToolset>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='release_shared|Win32'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<CharacterSet>MultiByte</CharacterSet>
<PlatformToolset>v140</PlatformToolset>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='debug_shared|Win32'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<CharacterSet>MultiByte</CharacterSet>
<PlatformToolset>v140</PlatformToolset>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='release_static_md|x64'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<CharacterSet>MultiByte</CharacterSet>
<PlatformToolset>v140</PlatformToolset>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='debug_static_md|x64'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<CharacterSet>MultiByte</CharacterSet>
<PlatformToolset>v140</PlatformToolset>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='release_static_mt|x64'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<CharacterSet>MultiByte</CharacterSet>
<PlatformToolset>v140</PlatformToolset>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='debug_static_mt|x64'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<CharacterSet>MultiByte</CharacterSet>
<PlatformToolset>v140</PlatformToolset>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='release_shared|x64'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<CharacterSet>MultiByte</CharacterSet>
<PlatformToolset>v140</PlatformToolset>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='debug_shared|x64'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<CharacterSet>MultiByte</CharacterSet>
<PlatformToolset>v140</PlatformToolset>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props"/>
<ImportGroup Label="ExtensionSettings"/>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='release_static_md|Win32'" Label="PropertySheets">
<Import Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props"/>
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='debug_static_md|Win32'" Label="PropertySheets">
<Import Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props"/>
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='release_static_mt|Win32'" Label="PropertySheets">
<Import Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props"/>
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='debug_static_mt|Win32'" Label="PropertySheets">
<Import Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props"/>
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='release_shared|Win32'" Label="PropertySheets">
<Import Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props"/>
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='debug_shared|Win32'" Label="PropertySheets">
<Import Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props"/>
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='release_static_md|x64'" Label="PropertySheets">
<Import Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props"/>
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='debug_static_md|x64'" Label="PropertySheets">
<Import Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props"/>
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='release_static_mt|x64'" Label="PropertySheets">
<Import Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props"/>
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='debug_static_mt|x64'" Label="PropertySheets">
<Import Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props"/>
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='release_shared|x64'" Label="PropertySheets">
<Import Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props"/>
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='debug_shared|x64'" Label="PropertySheets">
<Import Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props"/>
</ImportGroup>
<PropertyGroup Label="UserMacros"/>
<PropertyGroup>
<_ProjectFileVersion>14.0.25420.1</_ProjectFileVersion>
<TargetName Condition="'$(Configuration)|$(Platform)'=='debug_shared|Win32'">Imaged</TargetName>
<TargetName Condition="'$(Configuration)|$(Platform)'=='debug_static_md|Win32'">Imaged</TargetName>
<TargetName Condition="'$(Configuration)|$(Platform)'=='debug_static_mt|Win32'">Imaged</TargetName>
<TargetName Condition="'$(Configuration)|$(Platform)'=='release_shared|Win32'">Image</TargetName>
<TargetName Condition="'$(Configuration)|$(Platform)'=='release_static_md|Win32'">Image</TargetName>
<TargetName Condition="'$(Configuration)|$(Platform)'=='release_static_mt|Win32'">Image</TargetName>
<TargetName Condition="'$(Configuration)|$(Platform)'=='debug_shared|x64'">Imaged</TargetName>
<TargetName Condition="'$(Configuration)|$(Platform)'=='debug_static_md|x64'">Imaged</TargetName>
<TargetName Condition="'$(Configuration)|$(Platform)'=='debug_static_mt|x64'">Imaged</TargetName>
<TargetName Condition="'$(Configuration)|$(Platform)'=='release_shared|x64'">Image</TargetName>
<TargetName Condition="'$(Configuration)|$(Platform)'=='release_static_md|x64'">Image</TargetName>
<TargetName Condition="'$(Configuration)|$(Platform)'=='release_static_mt|x64'">Image</TargetName>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='debug_shared|Win32'">
<OutDir>bin\</OutDir>
<IntDir>obj\Image\$(Configuration)\</IntDir>
<LinkIncremental>true</LinkIncremental>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='release_shared|Win32'">
<OutDir>bin\</OutDir>
<IntDir>obj\Image\$(Configuration)\</IntDir>
<LinkIncremental>false</LinkIncremental>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='debug_static_mt|Win32'">
<OutDir>bin\static_mt\</OutDir>
<IntDir>obj\Image\$(Configuration)\</IntDir>
<LinkIncremental>true</LinkIncremental>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='release_static_mt|Win32'">
<OutDir>bin\static_mt\</OutDir>
<IntDir>obj\Image\$(Configuration)\</IntDir>
<LinkIncremental>false</LinkIncremental>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='debug_static_md|Win32'">
<OutDir>bin\static_md\</OutDir>
<IntDir>obj\Image\$(Configuration)\</IntDir>
<LinkIncremental>true</LinkIncremental>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='release_static_md|Win32'">
<OutDir>bin\static_md\</OutDir>
<IntDir>obj\Image\$(Configuration)\</IntDir>
<LinkIncremental>false</LinkIncremental>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='debug_shared|x64'">
<OutDir>bin64\</OutDir>
<IntDir>obj64\Image\$(Configuration)\</IntDir>
<LinkIncremental>true</LinkIncremental>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='release_shared|x64'">
<OutDir>bin64\</OutDir>
<IntDir>obj64\Image\$(Configuration)\</IntDir>
<LinkIncremental>false</LinkIncremental>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='debug_static_mt|x64'">
<OutDir>bin64\static_mt\</OutDir>
<IntDir>obj64\Image\$(Configuration)\</IntDir>
<LinkIncremental>true</LinkIncremental>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='release_static_mt|x64'">
<OutDir>bin64\static_mt\</OutDir>
<IntDir>obj64\Image\$(Configuration)\</IntDir>
<LinkIncremental>false</LinkIncremental>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='debug_static_md|x64'">
<OutDir>bin64\static_md\</OutDir>
<IntDir>obj64\Image\$(Configuration)\</IntDir>
<LinkIncremental>true</LinkIncremental>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='release_static_md|x64'">
<OutDir>bin64\static_md\</OutDir>
<IntDir>obj64\Image\$(Configuration)\</IntDir>
<LinkIncremental>false</LinkIncremental>
</PropertyGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='debug_shared|Win32'">
<ClCompile>
<Optimization>Disabled</Optimization>
<AdditionalIncludeDirectories>.\include;..\..\..\Foundation\include;..\..\..\PDF\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<PreprocessorDefinitions>WIN32;_DEBUG;_WINDOWS;WINVER=0x0500;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<StringPooling>true</StringPooling>
<BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
<RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
<BufferSecurityCheck>true</BufferSecurityCheck>
<TreatWChar_tAsBuiltInType>true</TreatWChar_tAsBuiltInType>
<ForceConformanceInForLoopScope>true</ForceConformanceInForLoopScope>
<RuntimeTypeInfo>true</RuntimeTypeInfo>
<PrecompiledHeader/>
<WarningLevel>Level3</WarningLevel>
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
<CompileAs>Default</CompileAs>
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<Link>
<OutputFile>bin\Imaged.exe</OutputFile>
<AdditionalLibraryDirectories>..\..\..\lib;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
<SuppressStartupBanner>true</SuppressStartupBanner>
<GenerateDebugInformation>true</GenerateDebugInformation>
<ProgramDatabaseFile>bin\Imaged.pdb</ProgramDatabaseFile>
<SubSystem>Console</SubSystem>
<TargetMachine>MachineX86</TargetMachine>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='release_shared|Win32'">
<ClCompile>
<Optimization>MaxSpeed</Optimization>
<InlineFunctionExpansion>OnlyExplicitInline</InlineFunctionExpansion>
<IntrinsicFunctions>true</IntrinsicFunctions>
<FavorSizeOrSpeed>Speed</FavorSizeOrSpeed>
<OmitFramePointers>true</OmitFramePointers>
<AdditionalIncludeDirectories>.\include;..\..\..\Foundation\include;..\..\..\PDF\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;WINVER=0x0500;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<StringPooling>true</StringPooling>
<RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
<BufferSecurityCheck>false</BufferSecurityCheck>
<TreatWChar_tAsBuiltInType>true</TreatWChar_tAsBuiltInType>
<ForceConformanceInForLoopScope>true</ForceConformanceInForLoopScope>
<RuntimeTypeInfo>true</RuntimeTypeInfo>
<PrecompiledHeader/>
<WarningLevel>Level3</WarningLevel>
<DebugInformationFormat/>
<CompileAs>Default</CompileAs>
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<Link>
<OutputFile>bin\Image.exe</OutputFile>
<AdditionalLibraryDirectories>..\..\..\lib;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
<GenerateDebugInformation>false</GenerateDebugInformation>
<SubSystem>Console</SubSystem>
<OptimizeReferences>true</OptimizeReferences>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<TargetMachine>MachineX86</TargetMachine>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='debug_static_mt|Win32'">
<ClCompile>
<Optimization>Disabled</Optimization>
<AdditionalIncludeDirectories>.\include;..\..\..\Foundation\include;..\..\..\PDF\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<PreprocessorDefinitions>WIN32;_DEBUG;_WINDOWS;WINVER=0x0500;POCO_STATIC;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<StringPooling>true</StringPooling>
<BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
<RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
<BufferSecurityCheck>true</BufferSecurityCheck>
<TreatWChar_tAsBuiltInType>true</TreatWChar_tAsBuiltInType>
<ForceConformanceInForLoopScope>true</ForceConformanceInForLoopScope>
<RuntimeTypeInfo>true</RuntimeTypeInfo>
<PrecompiledHeader/>
<WarningLevel>Level3</WarningLevel>
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
<CompileAs>Default</CompileAs>
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<Link>
<AdditionalDependencies>iphlpapi.lib;winmm.lib;%(AdditionalDependencies)</AdditionalDependencies>
<OutputFile>bin\static_mt\Imaged.exe</OutputFile>
<AdditionalLibraryDirectories>..\..\..\lib;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
<SuppressStartupBanner>true</SuppressStartupBanner>
<GenerateDebugInformation>true</GenerateDebugInformation>
<ProgramDatabaseFile>bin\static_mt\Imaged.pdb</ProgramDatabaseFile>
<SubSystem>Console</SubSystem>
<TargetMachine>MachineX86</TargetMachine>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='release_static_mt|Win32'">
<ClCompile>
<Optimization>MaxSpeed</Optimization>
<InlineFunctionExpansion>OnlyExplicitInline</InlineFunctionExpansion>
<IntrinsicFunctions>true</IntrinsicFunctions>
<FavorSizeOrSpeed>Speed</FavorSizeOrSpeed>
<OmitFramePointers>true</OmitFramePointers>
<AdditionalIncludeDirectories>.\include;..\..\..\Foundation\include;..\..\..\PDF\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;WINVER=0x0500;POCO_STATIC;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<StringPooling>true</StringPooling>
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
<BufferSecurityCheck>false</BufferSecurityCheck>
<TreatWChar_tAsBuiltInType>true</TreatWChar_tAsBuiltInType>
<ForceConformanceInForLoopScope>true</ForceConformanceInForLoopScope>
<RuntimeTypeInfo>true</RuntimeTypeInfo>
<PrecompiledHeader/>
<WarningLevel>Level3</WarningLevel>
<DebugInformationFormat/>
<CompileAs>Default</CompileAs>
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<Link>
<AdditionalDependencies>iphlpapi.lib;winmm.lib;%(AdditionalDependencies)</AdditionalDependencies>
<OutputFile>bin\static_mt\Image.exe</OutputFile>
<AdditionalLibraryDirectories>..\..\..\lib;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
<GenerateDebugInformation>false</GenerateDebugInformation>
<SubSystem>Console</SubSystem>
<OptimizeReferences>true</OptimizeReferences>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<TargetMachine>MachineX86</TargetMachine>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='debug_static_md|Win32'">
<ClCompile>
<Optimization>Disabled</Optimization>
<AdditionalIncludeDirectories>.\include;..\..\..\Foundation\include;..\..\..\PDF\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<PreprocessorDefinitions>WIN32;_DEBUG;_WINDOWS;WINVER=0x0500;POCO_STATIC;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<StringPooling>true</StringPooling>
<BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
<RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
<BufferSecurityCheck>true</BufferSecurityCheck>
<TreatWChar_tAsBuiltInType>true</TreatWChar_tAsBuiltInType>
<ForceConformanceInForLoopScope>true</ForceConformanceInForLoopScope>
<RuntimeTypeInfo>true</RuntimeTypeInfo>
<PrecompiledHeader/>
<WarningLevel>Level3</WarningLevel>
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
<CompileAs>Default</CompileAs>
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<Link>
<AdditionalDependencies>iphlpapi.lib;winmm.lib;%(AdditionalDependencies)</AdditionalDependencies>
<OutputFile>bin\static_md\Imaged.exe</OutputFile>
<AdditionalLibraryDirectories>..\..\..\lib;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
<SuppressStartupBanner>true</SuppressStartupBanner>
<GenerateDebugInformation>true</GenerateDebugInformation>
<ProgramDatabaseFile>bin\static_md\Imaged.pdb</ProgramDatabaseFile>
<SubSystem>Console</SubSystem>
<TargetMachine>MachineX86</TargetMachine>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='release_static_md|Win32'">
<ClCompile>
<Optimization>MaxSpeed</Optimization>
<InlineFunctionExpansion>OnlyExplicitInline</InlineFunctionExpansion>
<IntrinsicFunctions>true</IntrinsicFunctions>
<FavorSizeOrSpeed>Speed</FavorSizeOrSpeed>
<OmitFramePointers>true</OmitFramePointers>
<AdditionalIncludeDirectories>.\include;..\..\..\Foundation\include;..\..\..\PDF\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;WINVER=0x0500;POCO_STATIC;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<StringPooling>true</StringPooling>
<RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
<BufferSecurityCheck>false</BufferSecurityCheck>
<TreatWChar_tAsBuiltInType>true</TreatWChar_tAsBuiltInType>
<ForceConformanceInForLoopScope>true</ForceConformanceInForLoopScope>
<RuntimeTypeInfo>true</RuntimeTypeInfo>
<PrecompiledHeader/>
<WarningLevel>Level3</WarningLevel>
<DebugInformationFormat/>
<CompileAs>Default</CompileAs>
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<Link>
<AdditionalDependencies>iphlpapi.lib;winmm.lib;%(AdditionalDependencies)</AdditionalDependencies>
<OutputFile>bin\static_md\Image.exe</OutputFile>
<AdditionalLibraryDirectories>..\..\..\lib;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
<GenerateDebugInformation>false</GenerateDebugInformation>
<SubSystem>Console</SubSystem>
<OptimizeReferences>true</OptimizeReferences>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<TargetMachine>MachineX86</TargetMachine>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='debug_shared|x64'">
<ClCompile>
<Optimization>Disabled</Optimization>
<AdditionalIncludeDirectories>.\include;..\..\..\Foundation\include;..\..\..\PDF\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<PreprocessorDefinitions>WIN32;_DEBUG;_WINDOWS;WINVER=0x0500;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<StringPooling>true</StringPooling>
<BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
<RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
<BufferSecurityCheck>true</BufferSecurityCheck>
<TreatWChar_tAsBuiltInType>true</TreatWChar_tAsBuiltInType>
<ForceConformanceInForLoopScope>true</ForceConformanceInForLoopScope>
<RuntimeTypeInfo>true</RuntimeTypeInfo>
<PrecompiledHeader/>
<WarningLevel>Level3</WarningLevel>
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
<CompileAs>Default</CompileAs>
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<Link>
<OutputFile>bin64\Imaged.exe</OutputFile>
<AdditionalLibraryDirectories>..\..\..\lib64;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
<SuppressStartupBanner>true</SuppressStartupBanner>
<GenerateDebugInformation>true</GenerateDebugInformation>
<ProgramDatabaseFile>bin64\Imaged.pdb</ProgramDatabaseFile>
<SubSystem>Console</SubSystem>
<TargetMachine>MachineX64</TargetMachine>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='release_shared|x64'">
<ClCompile>
<Optimization>MaxSpeed</Optimization>
<InlineFunctionExpansion>OnlyExplicitInline</InlineFunctionExpansion>
<IntrinsicFunctions>true</IntrinsicFunctions>
<FavorSizeOrSpeed>Speed</FavorSizeOrSpeed>
<OmitFramePointers>true</OmitFramePointers>
<AdditionalIncludeDirectories>.\include;..\..\..\Foundation\include;..\..\..\PDF\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;WINVER=0x0500;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<StringPooling>true</StringPooling>
<RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
<BufferSecurityCheck>false</BufferSecurityCheck>
<TreatWChar_tAsBuiltInType>true</TreatWChar_tAsBuiltInType>
<ForceConformanceInForLoopScope>true</ForceConformanceInForLoopScope>
<RuntimeTypeInfo>true</RuntimeTypeInfo>
<PrecompiledHeader/>
<WarningLevel>Level3</WarningLevel>
<DebugInformationFormat/>
<CompileAs>Default</CompileAs>
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<Link>
<OutputFile>bin64\Image.exe</OutputFile>
<AdditionalLibraryDirectories>..\..\..\lib64;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
<GenerateDebugInformation>false</GenerateDebugInformation>
<SubSystem>Console</SubSystem>
<OptimizeReferences>true</OptimizeReferences>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<TargetMachine>MachineX64</TargetMachine>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='debug_static_mt|x64'">
<ClCompile>
<Optimization>Disabled</Optimization>
<AdditionalIncludeDirectories>.\include;..\..\..\Foundation\include;..\..\..\PDF\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<PreprocessorDefinitions>WIN32;_DEBUG;_WINDOWS;WINVER=0x0500;POCO_STATIC;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<StringPooling>true</StringPooling>
<BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
<RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
<BufferSecurityCheck>true</BufferSecurityCheck>
<TreatWChar_tAsBuiltInType>true</TreatWChar_tAsBuiltInType>
<ForceConformanceInForLoopScope>true</ForceConformanceInForLoopScope>
<RuntimeTypeInfo>true</RuntimeTypeInfo>
<PrecompiledHeader/>
<WarningLevel>Level3</WarningLevel>
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
<CompileAs>Default</CompileAs>
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<Link>
<AdditionalDependencies>iphlpapi.lib;winmm.lib;%(AdditionalDependencies)</AdditionalDependencies>
<OutputFile>bin64\static_mt\Imaged.exe</OutputFile>
<AdditionalLibraryDirectories>..\..\..\lib64;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
<SuppressStartupBanner>true</SuppressStartupBanner>
<GenerateDebugInformation>true</GenerateDebugInformation>
<ProgramDatabaseFile>bin64\static_mt\Imaged.pdb</ProgramDatabaseFile>
<SubSystem>Console</SubSystem>
<TargetMachine>MachineX64</TargetMachine>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='release_static_mt|x64'">
<ClCompile>
<Optimization>MaxSpeed</Optimization>
<InlineFunctionExpansion>OnlyExplicitInline</InlineFunctionExpansion>
<IntrinsicFunctions>true</IntrinsicFunctions>
<FavorSizeOrSpeed>Speed</FavorSizeOrSpeed>
<OmitFramePointers>true</OmitFramePointers>
<AdditionalIncludeDirectories>.\include;..\..\..\Foundation\include;..\..\..\PDF\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;WINVER=0x0500;POCO_STATIC;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<StringPooling>true</StringPooling>
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
<BufferSecurityCheck>false</BufferSecurityCheck>
<TreatWChar_tAsBuiltInType>true</TreatWChar_tAsBuiltInType>
<ForceConformanceInForLoopScope>true</ForceConformanceInForLoopScope>
<RuntimeTypeInfo>true</RuntimeTypeInfo>
<PrecompiledHeader/>
<WarningLevel>Level3</WarningLevel>
<DebugInformationFormat/>
<CompileAs>Default</CompileAs>
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<Link>
<AdditionalDependencies>iphlpapi.lib;winmm.lib;%(AdditionalDependencies)</AdditionalDependencies>
<OutputFile>bin64\static_mt\Image.exe</OutputFile>
<AdditionalLibraryDirectories>..\..\..\lib64;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
<GenerateDebugInformation>false</GenerateDebugInformation>
<SubSystem>Console</SubSystem>
<OptimizeReferences>true</OptimizeReferences>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<TargetMachine>MachineX64</TargetMachine>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='debug_static_md|x64'">
<ClCompile>
<Optimization>Disabled</Optimization>
<AdditionalIncludeDirectories>.\include;..\..\..\Foundation\include;..\..\..\PDF\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<PreprocessorDefinitions>WIN32;_DEBUG;_WINDOWS;WINVER=0x0500;POCO_STATIC;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<StringPooling>true</StringPooling>
<BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
<RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
<BufferSecurityCheck>true</BufferSecurityCheck>
<TreatWChar_tAsBuiltInType>true</TreatWChar_tAsBuiltInType>
<ForceConformanceInForLoopScope>true</ForceConformanceInForLoopScope>
<RuntimeTypeInfo>true</RuntimeTypeInfo>
<PrecompiledHeader/>
<WarningLevel>Level3</WarningLevel>
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
<CompileAs>Default</CompileAs>
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<Link>
<AdditionalDependencies>iphlpapi.lib;winmm.lib;%(AdditionalDependencies)</AdditionalDependencies>
<OutputFile>bin64\static_md\Imaged.exe</OutputFile>
<AdditionalLibraryDirectories>..\..\..\lib64;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
<SuppressStartupBanner>true</SuppressStartupBanner>
<GenerateDebugInformation>true</GenerateDebugInformation>
<ProgramDatabaseFile>bin64\static_md\Imaged.pdb</ProgramDatabaseFile>
<SubSystem>Console</SubSystem>
<TargetMachine>MachineX64</TargetMachine>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='release_static_md|x64'">
<ClCompile>
<Optimization>MaxSpeed</Optimization>
<InlineFunctionExpansion>OnlyExplicitInline</InlineFunctionExpansion>
<IntrinsicFunctions>true</IntrinsicFunctions>
<FavorSizeOrSpeed>Speed</FavorSizeOrSpeed>
<OmitFramePointers>true</OmitFramePointers>
<AdditionalIncludeDirectories>.\include;..\..\..\Foundation\include;..\..\..\PDF\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;WINVER=0x0500;POCO_STATIC;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<StringPooling>true</StringPooling>
<RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
<BufferSecurityCheck>false</BufferSecurityCheck>
<TreatWChar_tAsBuiltInType>true</TreatWChar_tAsBuiltInType>
<ForceConformanceInForLoopScope>true</ForceConformanceInForLoopScope>
<RuntimeTypeInfo>true</RuntimeTypeInfo>
<PrecompiledHeader/>
<WarningLevel>Level3</WarningLevel>
<DebugInformationFormat/>
<CompileAs>Default</CompileAs>
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<Link>
<AdditionalDependencies>iphlpapi.lib;winmm.lib;%(AdditionalDependencies)</AdditionalDependencies>
<OutputFile>bin64\static_md\Image.exe</OutputFile>
<AdditionalLibraryDirectories>..\..\..\lib64;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
<GenerateDebugInformation>false</GenerateDebugInformation>
<SubSystem>Console</SubSystem>
<OptimizeReferences>true</OptimizeReferences>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<TargetMachine>MachineX64</TargetMachine>
</Link>
</ItemDefinitionGroup>
<ItemGroup>
<ClCompile Include="src\Image.cpp">
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
</ItemGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets"/>
<ImportGroup Label="ExtensionTargets"/>
</Project>

View File

@ -0,0 +1,16 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup>
<Filter Include="Header Files">
<UniqueIdentifier>{4b172a74-e1ac-4140-b141-d7a18df91d9b}</UniqueIdentifier>
</Filter>
<Filter Include="Source Files">
<UniqueIdentifier>{a5eb04af-674d-40f7-9b06-0d4c28dc69dd}</UniqueIdentifier>
</Filter>
</ItemGroup>
<ItemGroup>
<ClCompile Include="src\Image.cpp">
<Filter>Source Files</Filter>
</ClCompile>
</ItemGroup>
</Project>

View File

@ -0,0 +1,603 @@
<?xml version="1.0" encoding="UTF-8"?>
<Project DefaultTargets="Build" ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup Label="ProjectConfigurations">
<ProjectConfiguration Include="debug_shared|Win32">
<Configuration>debug_shared</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="debug_shared|x64">
<Configuration>debug_shared</Configuration>
<Platform>x64</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="debug_static_md|Win32">
<Configuration>debug_static_md</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="debug_static_md|x64">
<Configuration>debug_static_md</Configuration>
<Platform>x64</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="debug_static_mt|Win32">
<Configuration>debug_static_mt</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="debug_static_mt|x64">
<Configuration>debug_static_mt</Configuration>
<Platform>x64</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="release_shared|Win32">
<Configuration>release_shared</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="release_shared|x64">
<Configuration>release_shared</Configuration>
<Platform>x64</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="release_static_md|Win32">
<Configuration>release_static_md</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="release_static_md|x64">
<Configuration>release_static_md</Configuration>
<Platform>x64</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="release_static_mt|Win32">
<Configuration>release_static_mt</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="release_static_mt|x64">
<Configuration>release_static_mt</Configuration>
<Platform>x64</Platform>
</ProjectConfiguration>
</ItemGroup>
<PropertyGroup Label="Globals">
<ProjectName>Image</ProjectName>
<ProjectGuid>{DA74060D-73AF-3E8F-A804-FBC960DAC393}</ProjectGuid>
<RootNamespace>Image</RootNamespace>
<Keyword>Win32Proj</Keyword>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props"/>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='release_static_md|Win32'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<CharacterSet>MultiByte</CharacterSet>
<PlatformToolset>v141</PlatformToolset>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='debug_static_md|Win32'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<CharacterSet>MultiByte</CharacterSet>
<PlatformToolset>v141</PlatformToolset>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='release_static_mt|Win32'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<CharacterSet>MultiByte</CharacterSet>
<PlatformToolset>v141</PlatformToolset>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='debug_static_mt|Win32'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<CharacterSet>MultiByte</CharacterSet>
<PlatformToolset>v141</PlatformToolset>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='release_shared|Win32'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<CharacterSet>MultiByte</CharacterSet>
<PlatformToolset>v141</PlatformToolset>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='debug_shared|Win32'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<CharacterSet>MultiByte</CharacterSet>
<PlatformToolset>v141</PlatformToolset>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='release_static_md|x64'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<CharacterSet>MultiByte</CharacterSet>
<PlatformToolset>v141</PlatformToolset>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='debug_static_md|x64'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<CharacterSet>MultiByte</CharacterSet>
<PlatformToolset>v141</PlatformToolset>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='release_static_mt|x64'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<CharacterSet>MultiByte</CharacterSet>
<PlatformToolset>v141</PlatformToolset>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='debug_static_mt|x64'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<CharacterSet>MultiByte</CharacterSet>
<PlatformToolset>v141</PlatformToolset>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='release_shared|x64'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<CharacterSet>MultiByte</CharacterSet>
<PlatformToolset>v141</PlatformToolset>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='debug_shared|x64'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<CharacterSet>MultiByte</CharacterSet>
<PlatformToolset>v141</PlatformToolset>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props"/>
<ImportGroup Label="ExtensionSettings"/>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='release_static_md|Win32'" Label="PropertySheets">
<Import Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props"/>
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='debug_static_md|Win32'" Label="PropertySheets">
<Import Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props"/>
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='release_static_mt|Win32'" Label="PropertySheets">
<Import Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props"/>
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='debug_static_mt|Win32'" Label="PropertySheets">
<Import Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props"/>
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='release_shared|Win32'" Label="PropertySheets">
<Import Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props"/>
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='debug_shared|Win32'" Label="PropertySheets">
<Import Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props"/>
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='release_static_md|x64'" Label="PropertySheets">
<Import Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props"/>
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='debug_static_md|x64'" Label="PropertySheets">
<Import Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props"/>
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='release_static_mt|x64'" Label="PropertySheets">
<Import Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props"/>
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='debug_static_mt|x64'" Label="PropertySheets">
<Import Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props"/>
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='release_shared|x64'" Label="PropertySheets">
<Import Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props"/>
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='debug_shared|x64'" Label="PropertySheets">
<Import Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props"/>
</ImportGroup>
<PropertyGroup Label="UserMacros"/>
<PropertyGroup>
<_ProjectFileVersion>15.0.28307.799</_ProjectFileVersion>
<TargetName Condition="'$(Configuration)|$(Platform)'=='debug_shared|Win32'">Imaged</TargetName>
<TargetName Condition="'$(Configuration)|$(Platform)'=='debug_static_md|Win32'">Imaged</TargetName>
<TargetName Condition="'$(Configuration)|$(Platform)'=='debug_static_mt|Win32'">Imaged</TargetName>
<TargetName Condition="'$(Configuration)|$(Platform)'=='release_shared|Win32'">Image</TargetName>
<TargetName Condition="'$(Configuration)|$(Platform)'=='release_static_md|Win32'">Image</TargetName>
<TargetName Condition="'$(Configuration)|$(Platform)'=='release_static_mt|Win32'">Image</TargetName>
<TargetName Condition="'$(Configuration)|$(Platform)'=='debug_shared|x64'">Imaged</TargetName>
<TargetName Condition="'$(Configuration)|$(Platform)'=='debug_static_md|x64'">Imaged</TargetName>
<TargetName Condition="'$(Configuration)|$(Platform)'=='debug_static_mt|x64'">Imaged</TargetName>
<TargetName Condition="'$(Configuration)|$(Platform)'=='release_shared|x64'">Image</TargetName>
<TargetName Condition="'$(Configuration)|$(Platform)'=='release_static_md|x64'">Image</TargetName>
<TargetName Condition="'$(Configuration)|$(Platform)'=='release_static_mt|x64'">Image</TargetName>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='debug_shared|Win32'">
<OutDir>bin\</OutDir>
<IntDir>obj\Image\$(Configuration)\</IntDir>
<LinkIncremental>true</LinkIncremental>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='release_shared|Win32'">
<OutDir>bin\</OutDir>
<IntDir>obj\Image\$(Configuration)\</IntDir>
<LinkIncremental>false</LinkIncremental>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='debug_static_mt|Win32'">
<OutDir>bin\static_mt\</OutDir>
<IntDir>obj\Image\$(Configuration)\</IntDir>
<LinkIncremental>true</LinkIncremental>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='release_static_mt|Win32'">
<OutDir>bin\static_mt\</OutDir>
<IntDir>obj\Image\$(Configuration)\</IntDir>
<LinkIncremental>false</LinkIncremental>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='debug_static_md|Win32'">
<OutDir>bin\static_md\</OutDir>
<IntDir>obj\Image\$(Configuration)\</IntDir>
<LinkIncremental>true</LinkIncremental>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='release_static_md|Win32'">
<OutDir>bin\static_md\</OutDir>
<IntDir>obj\Image\$(Configuration)\</IntDir>
<LinkIncremental>false</LinkIncremental>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='debug_shared|x64'">
<OutDir>bin64\</OutDir>
<IntDir>obj64\Image\$(Configuration)\</IntDir>
<LinkIncremental>true</LinkIncremental>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='release_shared|x64'">
<OutDir>bin64\</OutDir>
<IntDir>obj64\Image\$(Configuration)\</IntDir>
<LinkIncremental>false</LinkIncremental>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='debug_static_mt|x64'">
<OutDir>bin64\static_mt\</OutDir>
<IntDir>obj64\Image\$(Configuration)\</IntDir>
<LinkIncremental>true</LinkIncremental>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='release_static_mt|x64'">
<OutDir>bin64\static_mt\</OutDir>
<IntDir>obj64\Image\$(Configuration)\</IntDir>
<LinkIncremental>false</LinkIncremental>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='debug_static_md|x64'">
<OutDir>bin64\static_md\</OutDir>
<IntDir>obj64\Image\$(Configuration)\</IntDir>
<LinkIncremental>true</LinkIncremental>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='release_static_md|x64'">
<OutDir>bin64\static_md\</OutDir>
<IntDir>obj64\Image\$(Configuration)\</IntDir>
<LinkIncremental>false</LinkIncremental>
</PropertyGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='debug_shared|Win32'">
<ClCompile>
<Optimization>Disabled</Optimization>
<AdditionalIncludeDirectories>.\include;..\..\..\Foundation\include;..\..\..\PDF\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<PreprocessorDefinitions>WIN32;_DEBUG;_WINDOWS;WINVER=0x0500;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<StringPooling>true</StringPooling>
<BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
<RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
<BufferSecurityCheck>true</BufferSecurityCheck>
<TreatWChar_tAsBuiltInType>true</TreatWChar_tAsBuiltInType>
<ForceConformanceInForLoopScope>true</ForceConformanceInForLoopScope>
<RuntimeTypeInfo>true</RuntimeTypeInfo>
<PrecompiledHeader/>
<WarningLevel>Level3</WarningLevel>
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
<CompileAs>Default</CompileAs>
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<Link>
<OutputFile>bin\Imaged.exe</OutputFile>
<AdditionalLibraryDirectories>..\..\..\lib;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
<SuppressStartupBanner>true</SuppressStartupBanner>
<GenerateDebugInformation>true</GenerateDebugInformation>
<ProgramDatabaseFile>bin\Imaged.pdb</ProgramDatabaseFile>
<SubSystem>Console</SubSystem>
<TargetMachine>MachineX86</TargetMachine>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='release_shared|Win32'">
<ClCompile>
<Optimization>MaxSpeed</Optimization>
<InlineFunctionExpansion>OnlyExplicitInline</InlineFunctionExpansion>
<IntrinsicFunctions>true</IntrinsicFunctions>
<FavorSizeOrSpeed>Speed</FavorSizeOrSpeed>
<OmitFramePointers>true</OmitFramePointers>
<AdditionalIncludeDirectories>.\include;..\..\..\Foundation\include;..\..\..\PDF\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;WINVER=0x0500;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<StringPooling>true</StringPooling>
<RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
<BufferSecurityCheck>false</BufferSecurityCheck>
<TreatWChar_tAsBuiltInType>true</TreatWChar_tAsBuiltInType>
<ForceConformanceInForLoopScope>true</ForceConformanceInForLoopScope>
<RuntimeTypeInfo>true</RuntimeTypeInfo>
<PrecompiledHeader/>
<WarningLevel>Level3</WarningLevel>
<DebugInformationFormat/>
<CompileAs>Default</CompileAs>
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<Link>
<OutputFile>bin\Image.exe</OutputFile>
<AdditionalLibraryDirectories>..\..\..\lib;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
<GenerateDebugInformation>false</GenerateDebugInformation>
<SubSystem>Console</SubSystem>
<OptimizeReferences>true</OptimizeReferences>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<TargetMachine>MachineX86</TargetMachine>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='debug_static_mt|Win32'">
<ClCompile>
<Optimization>Disabled</Optimization>
<AdditionalIncludeDirectories>.\include;..\..\..\Foundation\include;..\..\..\PDF\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<PreprocessorDefinitions>WIN32;_DEBUG;_WINDOWS;WINVER=0x0500;POCO_STATIC;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<StringPooling>true</StringPooling>
<BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
<RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
<BufferSecurityCheck>true</BufferSecurityCheck>
<TreatWChar_tAsBuiltInType>true</TreatWChar_tAsBuiltInType>
<ForceConformanceInForLoopScope>true</ForceConformanceInForLoopScope>
<RuntimeTypeInfo>true</RuntimeTypeInfo>
<PrecompiledHeader/>
<WarningLevel>Level3</WarningLevel>
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
<CompileAs>Default</CompileAs>
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<Link>
<AdditionalDependencies>iphlpapi.lib;winmm.lib;%(AdditionalDependencies)</AdditionalDependencies>
<OutputFile>bin\static_mt\Imaged.exe</OutputFile>
<AdditionalLibraryDirectories>..\..\..\lib;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
<SuppressStartupBanner>true</SuppressStartupBanner>
<GenerateDebugInformation>true</GenerateDebugInformation>
<ProgramDatabaseFile>bin\static_mt\Imaged.pdb</ProgramDatabaseFile>
<SubSystem>Console</SubSystem>
<TargetMachine>MachineX86</TargetMachine>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='release_static_mt|Win32'">
<ClCompile>
<Optimization>MaxSpeed</Optimization>
<InlineFunctionExpansion>OnlyExplicitInline</InlineFunctionExpansion>
<IntrinsicFunctions>true</IntrinsicFunctions>
<FavorSizeOrSpeed>Speed</FavorSizeOrSpeed>
<OmitFramePointers>true</OmitFramePointers>
<AdditionalIncludeDirectories>.\include;..\..\..\Foundation\include;..\..\..\PDF\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;WINVER=0x0500;POCO_STATIC;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<StringPooling>true</StringPooling>
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
<BufferSecurityCheck>false</BufferSecurityCheck>
<TreatWChar_tAsBuiltInType>true</TreatWChar_tAsBuiltInType>
<ForceConformanceInForLoopScope>true</ForceConformanceInForLoopScope>
<RuntimeTypeInfo>true</RuntimeTypeInfo>
<PrecompiledHeader/>
<WarningLevel>Level3</WarningLevel>
<DebugInformationFormat/>
<CompileAs>Default</CompileAs>
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<Link>
<AdditionalDependencies>iphlpapi.lib;winmm.lib;%(AdditionalDependencies)</AdditionalDependencies>
<OutputFile>bin\static_mt\Image.exe</OutputFile>
<AdditionalLibraryDirectories>..\..\..\lib;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
<GenerateDebugInformation>false</GenerateDebugInformation>
<SubSystem>Console</SubSystem>
<OptimizeReferences>true</OptimizeReferences>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<TargetMachine>MachineX86</TargetMachine>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='debug_static_md|Win32'">
<ClCompile>
<Optimization>Disabled</Optimization>
<AdditionalIncludeDirectories>.\include;..\..\..\Foundation\include;..\..\..\PDF\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<PreprocessorDefinitions>WIN32;_DEBUG;_WINDOWS;WINVER=0x0500;POCO_STATIC;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<StringPooling>true</StringPooling>
<BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
<RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
<BufferSecurityCheck>true</BufferSecurityCheck>
<TreatWChar_tAsBuiltInType>true</TreatWChar_tAsBuiltInType>
<ForceConformanceInForLoopScope>true</ForceConformanceInForLoopScope>
<RuntimeTypeInfo>true</RuntimeTypeInfo>
<PrecompiledHeader/>
<WarningLevel>Level3</WarningLevel>
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
<CompileAs>Default</CompileAs>
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<Link>
<AdditionalDependencies>iphlpapi.lib;winmm.lib;%(AdditionalDependencies)</AdditionalDependencies>
<OutputFile>bin\static_md\Imaged.exe</OutputFile>
<AdditionalLibraryDirectories>..\..\..\lib;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
<SuppressStartupBanner>true</SuppressStartupBanner>
<GenerateDebugInformation>true</GenerateDebugInformation>
<ProgramDatabaseFile>bin\static_md\Imaged.pdb</ProgramDatabaseFile>
<SubSystem>Console</SubSystem>
<TargetMachine>MachineX86</TargetMachine>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='release_static_md|Win32'">
<ClCompile>
<Optimization>MaxSpeed</Optimization>
<InlineFunctionExpansion>OnlyExplicitInline</InlineFunctionExpansion>
<IntrinsicFunctions>true</IntrinsicFunctions>
<FavorSizeOrSpeed>Speed</FavorSizeOrSpeed>
<OmitFramePointers>true</OmitFramePointers>
<AdditionalIncludeDirectories>.\include;..\..\..\Foundation\include;..\..\..\PDF\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;WINVER=0x0500;POCO_STATIC;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<StringPooling>true</StringPooling>
<RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
<BufferSecurityCheck>false</BufferSecurityCheck>
<TreatWChar_tAsBuiltInType>true</TreatWChar_tAsBuiltInType>
<ForceConformanceInForLoopScope>true</ForceConformanceInForLoopScope>
<RuntimeTypeInfo>true</RuntimeTypeInfo>
<PrecompiledHeader/>
<WarningLevel>Level3</WarningLevel>
<DebugInformationFormat/>
<CompileAs>Default</CompileAs>
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<Link>
<AdditionalDependencies>iphlpapi.lib;winmm.lib;%(AdditionalDependencies)</AdditionalDependencies>
<OutputFile>bin\static_md\Image.exe</OutputFile>
<AdditionalLibraryDirectories>..\..\..\lib;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
<GenerateDebugInformation>false</GenerateDebugInformation>
<SubSystem>Console</SubSystem>
<OptimizeReferences>true</OptimizeReferences>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<TargetMachine>MachineX86</TargetMachine>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='debug_shared|x64'">
<ClCompile>
<Optimization>Disabled</Optimization>
<AdditionalIncludeDirectories>.\include;..\..\..\Foundation\include;..\..\..\PDF\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<PreprocessorDefinitions>WIN32;_DEBUG;_WINDOWS;WINVER=0x0500;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<StringPooling>true</StringPooling>
<BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
<RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
<BufferSecurityCheck>true</BufferSecurityCheck>
<TreatWChar_tAsBuiltInType>true</TreatWChar_tAsBuiltInType>
<ForceConformanceInForLoopScope>true</ForceConformanceInForLoopScope>
<RuntimeTypeInfo>true</RuntimeTypeInfo>
<PrecompiledHeader/>
<WarningLevel>Level3</WarningLevel>
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
<CompileAs>Default</CompileAs>
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<Link>
<OutputFile>bin64\Imaged.exe</OutputFile>
<AdditionalLibraryDirectories>..\..\..\lib64;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
<SuppressStartupBanner>true</SuppressStartupBanner>
<GenerateDebugInformation>true</GenerateDebugInformation>
<ProgramDatabaseFile>bin64\Imaged.pdb</ProgramDatabaseFile>
<SubSystem>Console</SubSystem>
<TargetMachine>MachineX64</TargetMachine>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='release_shared|x64'">
<ClCompile>
<Optimization>MaxSpeed</Optimization>
<InlineFunctionExpansion>OnlyExplicitInline</InlineFunctionExpansion>
<IntrinsicFunctions>true</IntrinsicFunctions>
<FavorSizeOrSpeed>Speed</FavorSizeOrSpeed>
<OmitFramePointers>true</OmitFramePointers>
<AdditionalIncludeDirectories>.\include;..\..\..\Foundation\include;..\..\..\PDF\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;WINVER=0x0500;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<StringPooling>true</StringPooling>
<RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
<BufferSecurityCheck>false</BufferSecurityCheck>
<TreatWChar_tAsBuiltInType>true</TreatWChar_tAsBuiltInType>
<ForceConformanceInForLoopScope>true</ForceConformanceInForLoopScope>
<RuntimeTypeInfo>true</RuntimeTypeInfo>
<PrecompiledHeader/>
<WarningLevel>Level3</WarningLevel>
<DebugInformationFormat/>
<CompileAs>Default</CompileAs>
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<Link>
<OutputFile>bin64\Image.exe</OutputFile>
<AdditionalLibraryDirectories>..\..\..\lib64;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
<GenerateDebugInformation>false</GenerateDebugInformation>
<SubSystem>Console</SubSystem>
<OptimizeReferences>true</OptimizeReferences>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<TargetMachine>MachineX64</TargetMachine>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='debug_static_mt|x64'">
<ClCompile>
<Optimization>Disabled</Optimization>
<AdditionalIncludeDirectories>.\include;..\..\..\Foundation\include;..\..\..\PDF\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<PreprocessorDefinitions>WIN32;_DEBUG;_WINDOWS;WINVER=0x0500;POCO_STATIC;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<StringPooling>true</StringPooling>
<BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
<RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
<BufferSecurityCheck>true</BufferSecurityCheck>
<TreatWChar_tAsBuiltInType>true</TreatWChar_tAsBuiltInType>
<ForceConformanceInForLoopScope>true</ForceConformanceInForLoopScope>
<RuntimeTypeInfo>true</RuntimeTypeInfo>
<PrecompiledHeader/>
<WarningLevel>Level3</WarningLevel>
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
<CompileAs>Default</CompileAs>
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<Link>
<AdditionalDependencies>iphlpapi.lib;winmm.lib;%(AdditionalDependencies)</AdditionalDependencies>
<OutputFile>bin64\static_mt\Imaged.exe</OutputFile>
<AdditionalLibraryDirectories>..\..\..\lib64;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
<SuppressStartupBanner>true</SuppressStartupBanner>
<GenerateDebugInformation>true</GenerateDebugInformation>
<ProgramDatabaseFile>bin64\static_mt\Imaged.pdb</ProgramDatabaseFile>
<SubSystem>Console</SubSystem>
<TargetMachine>MachineX64</TargetMachine>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='release_static_mt|x64'">
<ClCompile>
<Optimization>MaxSpeed</Optimization>
<InlineFunctionExpansion>OnlyExplicitInline</InlineFunctionExpansion>
<IntrinsicFunctions>true</IntrinsicFunctions>
<FavorSizeOrSpeed>Speed</FavorSizeOrSpeed>
<OmitFramePointers>true</OmitFramePointers>
<AdditionalIncludeDirectories>.\include;..\..\..\Foundation\include;..\..\..\PDF\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;WINVER=0x0500;POCO_STATIC;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<StringPooling>true</StringPooling>
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
<BufferSecurityCheck>false</BufferSecurityCheck>
<TreatWChar_tAsBuiltInType>true</TreatWChar_tAsBuiltInType>
<ForceConformanceInForLoopScope>true</ForceConformanceInForLoopScope>
<RuntimeTypeInfo>true</RuntimeTypeInfo>
<PrecompiledHeader/>
<WarningLevel>Level3</WarningLevel>
<DebugInformationFormat/>
<CompileAs>Default</CompileAs>
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<Link>
<AdditionalDependencies>iphlpapi.lib;winmm.lib;%(AdditionalDependencies)</AdditionalDependencies>
<OutputFile>bin64\static_mt\Image.exe</OutputFile>
<AdditionalLibraryDirectories>..\..\..\lib64;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
<GenerateDebugInformation>false</GenerateDebugInformation>
<SubSystem>Console</SubSystem>
<OptimizeReferences>true</OptimizeReferences>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<TargetMachine>MachineX64</TargetMachine>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='debug_static_md|x64'">
<ClCompile>
<Optimization>Disabled</Optimization>
<AdditionalIncludeDirectories>.\include;..\..\..\Foundation\include;..\..\..\PDF\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<PreprocessorDefinitions>WIN32;_DEBUG;_WINDOWS;WINVER=0x0500;POCO_STATIC;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<StringPooling>true</StringPooling>
<BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
<RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
<BufferSecurityCheck>true</BufferSecurityCheck>
<TreatWChar_tAsBuiltInType>true</TreatWChar_tAsBuiltInType>
<ForceConformanceInForLoopScope>true</ForceConformanceInForLoopScope>
<RuntimeTypeInfo>true</RuntimeTypeInfo>
<PrecompiledHeader/>
<WarningLevel>Level3</WarningLevel>
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
<CompileAs>Default</CompileAs>
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<Link>
<AdditionalDependencies>iphlpapi.lib;winmm.lib;%(AdditionalDependencies)</AdditionalDependencies>
<OutputFile>bin64\static_md\Imaged.exe</OutputFile>
<AdditionalLibraryDirectories>..\..\..\lib64;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
<SuppressStartupBanner>true</SuppressStartupBanner>
<GenerateDebugInformation>true</GenerateDebugInformation>
<ProgramDatabaseFile>bin64\static_md\Imaged.pdb</ProgramDatabaseFile>
<SubSystem>Console</SubSystem>
<TargetMachine>MachineX64</TargetMachine>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='release_static_md|x64'">
<ClCompile>
<Optimization>MaxSpeed</Optimization>
<InlineFunctionExpansion>OnlyExplicitInline</InlineFunctionExpansion>
<IntrinsicFunctions>true</IntrinsicFunctions>
<FavorSizeOrSpeed>Speed</FavorSizeOrSpeed>
<OmitFramePointers>true</OmitFramePointers>
<AdditionalIncludeDirectories>.\include;..\..\..\Foundation\include;..\..\..\PDF\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;WINVER=0x0500;POCO_STATIC;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<StringPooling>true</StringPooling>
<RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
<BufferSecurityCheck>false</BufferSecurityCheck>
<TreatWChar_tAsBuiltInType>true</TreatWChar_tAsBuiltInType>
<ForceConformanceInForLoopScope>true</ForceConformanceInForLoopScope>
<RuntimeTypeInfo>true</RuntimeTypeInfo>
<PrecompiledHeader/>
<WarningLevel>Level3</WarningLevel>
<DebugInformationFormat/>
<CompileAs>Default</CompileAs>
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<Link>
<AdditionalDependencies>iphlpapi.lib;winmm.lib;%(AdditionalDependencies)</AdditionalDependencies>
<OutputFile>bin64\static_md\Image.exe</OutputFile>
<AdditionalLibraryDirectories>..\..\..\lib64;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
<GenerateDebugInformation>false</GenerateDebugInformation>
<SubSystem>Console</SubSystem>
<OptimizeReferences>true</OptimizeReferences>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<TargetMachine>MachineX64</TargetMachine>
</Link>
</ItemDefinitionGroup>
<ItemGroup>
<ClCompile Include="src\Image.cpp">
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
</ItemGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets"/>
<ImportGroup Label="ExtensionTargets"/>
</Project>

View File

@ -0,0 +1,16 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup>
<Filter Include="Header Files">
<UniqueIdentifier>{867fafc3-34b8-4dac-8b8f-1f6ce8f60683}</UniqueIdentifier>
</Filter>
<Filter Include="Source Files">
<UniqueIdentifier>{dfa724da-05ec-4cb8-8ea2-2caf97ea0c9f}</UniqueIdentifier>
</Filter>
</ItemGroup>
<ItemGroup>
<ClCompile Include="src\Image.cpp">
<Filter>Source Files</Filter>
</ClCompile>
</ItemGroup>
</Project>

View File

@ -0,0 +1,603 @@
<?xml version="1.0" encoding="UTF-8"?>
<Project DefaultTargets="Build" ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup Label="ProjectConfigurations">
<ProjectConfiguration Include="debug_shared|Win32">
<Configuration>debug_shared</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="debug_shared|x64">
<Configuration>debug_shared</Configuration>
<Platform>x64</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="debug_static_md|Win32">
<Configuration>debug_static_md</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="debug_static_md|x64">
<Configuration>debug_static_md</Configuration>
<Platform>x64</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="debug_static_mt|Win32">
<Configuration>debug_static_mt</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="debug_static_mt|x64">
<Configuration>debug_static_mt</Configuration>
<Platform>x64</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="release_shared|Win32">
<Configuration>release_shared</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="release_shared|x64">
<Configuration>release_shared</Configuration>
<Platform>x64</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="release_static_md|Win32">
<Configuration>release_static_md</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="release_static_md|x64">
<Configuration>release_static_md</Configuration>
<Platform>x64</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="release_static_mt|Win32">
<Configuration>release_static_mt</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="release_static_mt|x64">
<Configuration>release_static_mt</Configuration>
<Platform>x64</Platform>
</ProjectConfiguration>
</ItemGroup>
<PropertyGroup Label="Globals">
<ProjectName>Image</ProjectName>
<ProjectGuid>{DA74060D-73AF-3E8F-A804-FBC960DAC393}</ProjectGuid>
<RootNamespace>Image</RootNamespace>
<Keyword>Win32Proj</Keyword>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props"/>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='release_static_md|Win32'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<CharacterSet>MultiByte</CharacterSet>
<PlatformToolset>v142</PlatformToolset>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='debug_static_md|Win32'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<CharacterSet>MultiByte</CharacterSet>
<PlatformToolset>v142</PlatformToolset>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='release_static_mt|Win32'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<CharacterSet>MultiByte</CharacterSet>
<PlatformToolset>v142</PlatformToolset>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='debug_static_mt|Win32'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<CharacterSet>MultiByte</CharacterSet>
<PlatformToolset>v142</PlatformToolset>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='release_shared|Win32'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<CharacterSet>MultiByte</CharacterSet>
<PlatformToolset>v142</PlatformToolset>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='debug_shared|Win32'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<CharacterSet>MultiByte</CharacterSet>
<PlatformToolset>v142</PlatformToolset>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='release_static_md|x64'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<CharacterSet>MultiByte</CharacterSet>
<PlatformToolset>v142</PlatformToolset>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='debug_static_md|x64'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<CharacterSet>MultiByte</CharacterSet>
<PlatformToolset>v142</PlatformToolset>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='release_static_mt|x64'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<CharacterSet>MultiByte</CharacterSet>
<PlatformToolset>v142</PlatformToolset>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='debug_static_mt|x64'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<CharacterSet>MultiByte</CharacterSet>
<PlatformToolset>v142</PlatformToolset>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='release_shared|x64'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<CharacterSet>MultiByte</CharacterSet>
<PlatformToolset>v142</PlatformToolset>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='debug_shared|x64'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<CharacterSet>MultiByte</CharacterSet>
<PlatformToolset>v142</PlatformToolset>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props"/>
<ImportGroup Label="ExtensionSettings"/>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='release_static_md|Win32'" Label="PropertySheets">
<Import Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props"/>
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='debug_static_md|Win32'" Label="PropertySheets">
<Import Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props"/>
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='release_static_mt|Win32'" Label="PropertySheets">
<Import Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props"/>
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='debug_static_mt|Win32'" Label="PropertySheets">
<Import Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props"/>
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='release_shared|Win32'" Label="PropertySheets">
<Import Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props"/>
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='debug_shared|Win32'" Label="PropertySheets">
<Import Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props"/>
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='release_static_md|x64'" Label="PropertySheets">
<Import Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props"/>
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='debug_static_md|x64'" Label="PropertySheets">
<Import Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props"/>
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='release_static_mt|x64'" Label="PropertySheets">
<Import Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props"/>
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='debug_static_mt|x64'" Label="PropertySheets">
<Import Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props"/>
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='release_shared|x64'" Label="PropertySheets">
<Import Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props"/>
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='debug_shared|x64'" Label="PropertySheets">
<Import Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props"/>
</ImportGroup>
<PropertyGroup Label="UserMacros"/>
<PropertyGroup>
<_ProjectFileVersion>15.0.28307.799</_ProjectFileVersion>
<TargetName Condition="'$(Configuration)|$(Platform)'=='debug_shared|Win32'">Imaged</TargetName>
<TargetName Condition="'$(Configuration)|$(Platform)'=='debug_static_md|Win32'">Imaged</TargetName>
<TargetName Condition="'$(Configuration)|$(Platform)'=='debug_static_mt|Win32'">Imaged</TargetName>
<TargetName Condition="'$(Configuration)|$(Platform)'=='release_shared|Win32'">Image</TargetName>
<TargetName Condition="'$(Configuration)|$(Platform)'=='release_static_md|Win32'">Image</TargetName>
<TargetName Condition="'$(Configuration)|$(Platform)'=='release_static_mt|Win32'">Image</TargetName>
<TargetName Condition="'$(Configuration)|$(Platform)'=='debug_shared|x64'">Imaged</TargetName>
<TargetName Condition="'$(Configuration)|$(Platform)'=='debug_static_md|x64'">Imaged</TargetName>
<TargetName Condition="'$(Configuration)|$(Platform)'=='debug_static_mt|x64'">Imaged</TargetName>
<TargetName Condition="'$(Configuration)|$(Platform)'=='release_shared|x64'">Image</TargetName>
<TargetName Condition="'$(Configuration)|$(Platform)'=='release_static_md|x64'">Image</TargetName>
<TargetName Condition="'$(Configuration)|$(Platform)'=='release_static_mt|x64'">Image</TargetName>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='debug_shared|Win32'">
<OutDir>bin\</OutDir>
<IntDir>obj\Image\$(Configuration)\</IntDir>
<LinkIncremental>true</LinkIncremental>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='release_shared|Win32'">
<OutDir>bin\</OutDir>
<IntDir>obj\Image\$(Configuration)\</IntDir>
<LinkIncremental>false</LinkIncremental>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='debug_static_mt|Win32'">
<OutDir>bin\static_mt\</OutDir>
<IntDir>obj\Image\$(Configuration)\</IntDir>
<LinkIncremental>true</LinkIncremental>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='release_static_mt|Win32'">
<OutDir>bin\static_mt\</OutDir>
<IntDir>obj\Image\$(Configuration)\</IntDir>
<LinkIncremental>false</LinkIncremental>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='debug_static_md|Win32'">
<OutDir>bin\static_md\</OutDir>
<IntDir>obj\Image\$(Configuration)\</IntDir>
<LinkIncremental>true</LinkIncremental>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='release_static_md|Win32'">
<OutDir>bin\static_md\</OutDir>
<IntDir>obj\Image\$(Configuration)\</IntDir>
<LinkIncremental>false</LinkIncremental>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='debug_shared|x64'">
<OutDir>bin64\</OutDir>
<IntDir>obj64\Image\$(Configuration)\</IntDir>
<LinkIncremental>true</LinkIncremental>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='release_shared|x64'">
<OutDir>bin64\</OutDir>
<IntDir>obj64\Image\$(Configuration)\</IntDir>
<LinkIncremental>false</LinkIncremental>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='debug_static_mt|x64'">
<OutDir>bin64\static_mt\</OutDir>
<IntDir>obj64\Image\$(Configuration)\</IntDir>
<LinkIncremental>true</LinkIncremental>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='release_static_mt|x64'">
<OutDir>bin64\static_mt\</OutDir>
<IntDir>obj64\Image\$(Configuration)\</IntDir>
<LinkIncremental>false</LinkIncremental>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='debug_static_md|x64'">
<OutDir>bin64\static_md\</OutDir>
<IntDir>obj64\Image\$(Configuration)\</IntDir>
<LinkIncremental>true</LinkIncremental>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='release_static_md|x64'">
<OutDir>bin64\static_md\</OutDir>
<IntDir>obj64\Image\$(Configuration)\</IntDir>
<LinkIncremental>false</LinkIncremental>
</PropertyGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='debug_shared|Win32'">
<ClCompile>
<Optimization>Disabled</Optimization>
<AdditionalIncludeDirectories>.\include;..\..\..\Foundation\include;..\..\..\PDF\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<PreprocessorDefinitions>WIN32;_DEBUG;_WINDOWS;WINVER=0x0500;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<StringPooling>true</StringPooling>
<BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
<RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
<BufferSecurityCheck>true</BufferSecurityCheck>
<TreatWChar_tAsBuiltInType>true</TreatWChar_tAsBuiltInType>
<ForceConformanceInForLoopScope>true</ForceConformanceInForLoopScope>
<RuntimeTypeInfo>true</RuntimeTypeInfo>
<PrecompiledHeader/>
<WarningLevel>Level3</WarningLevel>
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
<CompileAs>Default</CompileAs>
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<Link>
<OutputFile>bin\Imaged.exe</OutputFile>
<AdditionalLibraryDirectories>..\..\..\lib;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
<SuppressStartupBanner>true</SuppressStartupBanner>
<GenerateDebugInformation>true</GenerateDebugInformation>
<ProgramDatabaseFile>bin\Imaged.pdb</ProgramDatabaseFile>
<SubSystem>Console</SubSystem>
<TargetMachine>MachineX86</TargetMachine>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='release_shared|Win32'">
<ClCompile>
<Optimization>MaxSpeed</Optimization>
<InlineFunctionExpansion>OnlyExplicitInline</InlineFunctionExpansion>
<IntrinsicFunctions>true</IntrinsicFunctions>
<FavorSizeOrSpeed>Speed</FavorSizeOrSpeed>
<OmitFramePointers>true</OmitFramePointers>
<AdditionalIncludeDirectories>.\include;..\..\..\Foundation\include;..\..\..\PDF\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;WINVER=0x0500;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<StringPooling>true</StringPooling>
<RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
<BufferSecurityCheck>false</BufferSecurityCheck>
<TreatWChar_tAsBuiltInType>true</TreatWChar_tAsBuiltInType>
<ForceConformanceInForLoopScope>true</ForceConformanceInForLoopScope>
<RuntimeTypeInfo>true</RuntimeTypeInfo>
<PrecompiledHeader/>
<WarningLevel>Level3</WarningLevel>
<DebugInformationFormat/>
<CompileAs>Default</CompileAs>
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<Link>
<OutputFile>bin\Image.exe</OutputFile>
<AdditionalLibraryDirectories>..\..\..\lib;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
<GenerateDebugInformation>false</GenerateDebugInformation>
<SubSystem>Console</SubSystem>
<OptimizeReferences>true</OptimizeReferences>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<TargetMachine>MachineX86</TargetMachine>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='debug_static_mt|Win32'">
<ClCompile>
<Optimization>Disabled</Optimization>
<AdditionalIncludeDirectories>.\include;..\..\..\Foundation\include;..\..\..\PDF\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<PreprocessorDefinitions>WIN32;_DEBUG;_WINDOWS;WINVER=0x0500;POCO_STATIC;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<StringPooling>true</StringPooling>
<BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
<RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
<BufferSecurityCheck>true</BufferSecurityCheck>
<TreatWChar_tAsBuiltInType>true</TreatWChar_tAsBuiltInType>
<ForceConformanceInForLoopScope>true</ForceConformanceInForLoopScope>
<RuntimeTypeInfo>true</RuntimeTypeInfo>
<PrecompiledHeader/>
<WarningLevel>Level3</WarningLevel>
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
<CompileAs>Default</CompileAs>
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<Link>
<AdditionalDependencies>iphlpapi.lib;winmm.lib;%(AdditionalDependencies)</AdditionalDependencies>
<OutputFile>bin\static_mt\Imaged.exe</OutputFile>
<AdditionalLibraryDirectories>..\..\..\lib;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
<SuppressStartupBanner>true</SuppressStartupBanner>
<GenerateDebugInformation>true</GenerateDebugInformation>
<ProgramDatabaseFile>bin\static_mt\Imaged.pdb</ProgramDatabaseFile>
<SubSystem>Console</SubSystem>
<TargetMachine>MachineX86</TargetMachine>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='release_static_mt|Win32'">
<ClCompile>
<Optimization>MaxSpeed</Optimization>
<InlineFunctionExpansion>OnlyExplicitInline</InlineFunctionExpansion>
<IntrinsicFunctions>true</IntrinsicFunctions>
<FavorSizeOrSpeed>Speed</FavorSizeOrSpeed>
<OmitFramePointers>true</OmitFramePointers>
<AdditionalIncludeDirectories>.\include;..\..\..\Foundation\include;..\..\..\PDF\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;WINVER=0x0500;POCO_STATIC;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<StringPooling>true</StringPooling>
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
<BufferSecurityCheck>false</BufferSecurityCheck>
<TreatWChar_tAsBuiltInType>true</TreatWChar_tAsBuiltInType>
<ForceConformanceInForLoopScope>true</ForceConformanceInForLoopScope>
<RuntimeTypeInfo>true</RuntimeTypeInfo>
<PrecompiledHeader/>
<WarningLevel>Level3</WarningLevel>
<DebugInformationFormat/>
<CompileAs>Default</CompileAs>
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<Link>
<AdditionalDependencies>iphlpapi.lib;winmm.lib;%(AdditionalDependencies)</AdditionalDependencies>
<OutputFile>bin\static_mt\Image.exe</OutputFile>
<AdditionalLibraryDirectories>..\..\..\lib;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
<GenerateDebugInformation>false</GenerateDebugInformation>
<SubSystem>Console</SubSystem>
<OptimizeReferences>true</OptimizeReferences>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<TargetMachine>MachineX86</TargetMachine>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='debug_static_md|Win32'">
<ClCompile>
<Optimization>Disabled</Optimization>
<AdditionalIncludeDirectories>.\include;..\..\..\Foundation\include;..\..\..\PDF\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<PreprocessorDefinitions>WIN32;_DEBUG;_WINDOWS;WINVER=0x0500;POCO_STATIC;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<StringPooling>true</StringPooling>
<BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
<RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
<BufferSecurityCheck>true</BufferSecurityCheck>
<TreatWChar_tAsBuiltInType>true</TreatWChar_tAsBuiltInType>
<ForceConformanceInForLoopScope>true</ForceConformanceInForLoopScope>
<RuntimeTypeInfo>true</RuntimeTypeInfo>
<PrecompiledHeader/>
<WarningLevel>Level3</WarningLevel>
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
<CompileAs>Default</CompileAs>
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<Link>
<AdditionalDependencies>iphlpapi.lib;winmm.lib;%(AdditionalDependencies)</AdditionalDependencies>
<OutputFile>bin\static_md\Imaged.exe</OutputFile>
<AdditionalLibraryDirectories>..\..\..\lib;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
<SuppressStartupBanner>true</SuppressStartupBanner>
<GenerateDebugInformation>true</GenerateDebugInformation>
<ProgramDatabaseFile>bin\static_md\Imaged.pdb</ProgramDatabaseFile>
<SubSystem>Console</SubSystem>
<TargetMachine>MachineX86</TargetMachine>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='release_static_md|Win32'">
<ClCompile>
<Optimization>MaxSpeed</Optimization>
<InlineFunctionExpansion>OnlyExplicitInline</InlineFunctionExpansion>
<IntrinsicFunctions>true</IntrinsicFunctions>
<FavorSizeOrSpeed>Speed</FavorSizeOrSpeed>
<OmitFramePointers>true</OmitFramePointers>
<AdditionalIncludeDirectories>.\include;..\..\..\Foundation\include;..\..\..\PDF\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;WINVER=0x0500;POCO_STATIC;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<StringPooling>true</StringPooling>
<RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
<BufferSecurityCheck>false</BufferSecurityCheck>
<TreatWChar_tAsBuiltInType>true</TreatWChar_tAsBuiltInType>
<ForceConformanceInForLoopScope>true</ForceConformanceInForLoopScope>
<RuntimeTypeInfo>true</RuntimeTypeInfo>
<PrecompiledHeader/>
<WarningLevel>Level3</WarningLevel>
<DebugInformationFormat/>
<CompileAs>Default</CompileAs>
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<Link>
<AdditionalDependencies>iphlpapi.lib;winmm.lib;%(AdditionalDependencies)</AdditionalDependencies>
<OutputFile>bin\static_md\Image.exe</OutputFile>
<AdditionalLibraryDirectories>..\..\..\lib;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
<GenerateDebugInformation>false</GenerateDebugInformation>
<SubSystem>Console</SubSystem>
<OptimizeReferences>true</OptimizeReferences>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<TargetMachine>MachineX86</TargetMachine>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='debug_shared|x64'">
<ClCompile>
<Optimization>Disabled</Optimization>
<AdditionalIncludeDirectories>.\include;..\..\..\Foundation\include;..\..\..\PDF\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<PreprocessorDefinitions>WIN32;_DEBUG;_WINDOWS;WINVER=0x0500;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<StringPooling>true</StringPooling>
<BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
<RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
<BufferSecurityCheck>true</BufferSecurityCheck>
<TreatWChar_tAsBuiltInType>true</TreatWChar_tAsBuiltInType>
<ForceConformanceInForLoopScope>true</ForceConformanceInForLoopScope>
<RuntimeTypeInfo>true</RuntimeTypeInfo>
<PrecompiledHeader/>
<WarningLevel>Level3</WarningLevel>
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
<CompileAs>Default</CompileAs>
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<Link>
<OutputFile>bin64\Imaged.exe</OutputFile>
<AdditionalLibraryDirectories>..\..\..\lib64;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
<SuppressStartupBanner>true</SuppressStartupBanner>
<GenerateDebugInformation>true</GenerateDebugInformation>
<ProgramDatabaseFile>bin64\Imaged.pdb</ProgramDatabaseFile>
<SubSystem>Console</SubSystem>
<TargetMachine>MachineX64</TargetMachine>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='release_shared|x64'">
<ClCompile>
<Optimization>MaxSpeed</Optimization>
<InlineFunctionExpansion>OnlyExplicitInline</InlineFunctionExpansion>
<IntrinsicFunctions>true</IntrinsicFunctions>
<FavorSizeOrSpeed>Speed</FavorSizeOrSpeed>
<OmitFramePointers>true</OmitFramePointers>
<AdditionalIncludeDirectories>.\include;..\..\..\Foundation\include;..\..\..\PDF\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;WINVER=0x0500;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<StringPooling>true</StringPooling>
<RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
<BufferSecurityCheck>false</BufferSecurityCheck>
<TreatWChar_tAsBuiltInType>true</TreatWChar_tAsBuiltInType>
<ForceConformanceInForLoopScope>true</ForceConformanceInForLoopScope>
<RuntimeTypeInfo>true</RuntimeTypeInfo>
<PrecompiledHeader/>
<WarningLevel>Level3</WarningLevel>
<DebugInformationFormat/>
<CompileAs>Default</CompileAs>
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<Link>
<OutputFile>bin64\Image.exe</OutputFile>
<AdditionalLibraryDirectories>..\..\..\lib64;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
<GenerateDebugInformation>false</GenerateDebugInformation>
<SubSystem>Console</SubSystem>
<OptimizeReferences>true</OptimizeReferences>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<TargetMachine>MachineX64</TargetMachine>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='debug_static_mt|x64'">
<ClCompile>
<Optimization>Disabled</Optimization>
<AdditionalIncludeDirectories>.\include;..\..\..\Foundation\include;..\..\..\PDF\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<PreprocessorDefinitions>WIN32;_DEBUG;_WINDOWS;WINVER=0x0500;POCO_STATIC;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<StringPooling>true</StringPooling>
<BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
<RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
<BufferSecurityCheck>true</BufferSecurityCheck>
<TreatWChar_tAsBuiltInType>true</TreatWChar_tAsBuiltInType>
<ForceConformanceInForLoopScope>true</ForceConformanceInForLoopScope>
<RuntimeTypeInfo>true</RuntimeTypeInfo>
<PrecompiledHeader/>
<WarningLevel>Level3</WarningLevel>
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
<CompileAs>Default</CompileAs>
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<Link>
<AdditionalDependencies>iphlpapi.lib;winmm.lib;%(AdditionalDependencies)</AdditionalDependencies>
<OutputFile>bin64\static_mt\Imaged.exe</OutputFile>
<AdditionalLibraryDirectories>..\..\..\lib64;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
<SuppressStartupBanner>true</SuppressStartupBanner>
<GenerateDebugInformation>true</GenerateDebugInformation>
<ProgramDatabaseFile>bin64\static_mt\Imaged.pdb</ProgramDatabaseFile>
<SubSystem>Console</SubSystem>
<TargetMachine>MachineX64</TargetMachine>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='release_static_mt|x64'">
<ClCompile>
<Optimization>MaxSpeed</Optimization>
<InlineFunctionExpansion>OnlyExplicitInline</InlineFunctionExpansion>
<IntrinsicFunctions>true</IntrinsicFunctions>
<FavorSizeOrSpeed>Speed</FavorSizeOrSpeed>
<OmitFramePointers>true</OmitFramePointers>
<AdditionalIncludeDirectories>.\include;..\..\..\Foundation\include;..\..\..\PDF\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;WINVER=0x0500;POCO_STATIC;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<StringPooling>true</StringPooling>
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
<BufferSecurityCheck>false</BufferSecurityCheck>
<TreatWChar_tAsBuiltInType>true</TreatWChar_tAsBuiltInType>
<ForceConformanceInForLoopScope>true</ForceConformanceInForLoopScope>
<RuntimeTypeInfo>true</RuntimeTypeInfo>
<PrecompiledHeader/>
<WarningLevel>Level3</WarningLevel>
<DebugInformationFormat/>
<CompileAs>Default</CompileAs>
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<Link>
<AdditionalDependencies>iphlpapi.lib;winmm.lib;%(AdditionalDependencies)</AdditionalDependencies>
<OutputFile>bin64\static_mt\Image.exe</OutputFile>
<AdditionalLibraryDirectories>..\..\..\lib64;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
<GenerateDebugInformation>false</GenerateDebugInformation>
<SubSystem>Console</SubSystem>
<OptimizeReferences>true</OptimizeReferences>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<TargetMachine>MachineX64</TargetMachine>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='debug_static_md|x64'">
<ClCompile>
<Optimization>Disabled</Optimization>
<AdditionalIncludeDirectories>.\include;..\..\..\Foundation\include;..\..\..\PDF\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<PreprocessorDefinitions>WIN32;_DEBUG;_WINDOWS;WINVER=0x0500;POCO_STATIC;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<StringPooling>true</StringPooling>
<BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
<RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
<BufferSecurityCheck>true</BufferSecurityCheck>
<TreatWChar_tAsBuiltInType>true</TreatWChar_tAsBuiltInType>
<ForceConformanceInForLoopScope>true</ForceConformanceInForLoopScope>
<RuntimeTypeInfo>true</RuntimeTypeInfo>
<PrecompiledHeader/>
<WarningLevel>Level3</WarningLevel>
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
<CompileAs>Default</CompileAs>
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<Link>
<AdditionalDependencies>iphlpapi.lib;winmm.lib;%(AdditionalDependencies)</AdditionalDependencies>
<OutputFile>bin64\static_md\Imaged.exe</OutputFile>
<AdditionalLibraryDirectories>..\..\..\lib64;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
<SuppressStartupBanner>true</SuppressStartupBanner>
<GenerateDebugInformation>true</GenerateDebugInformation>
<ProgramDatabaseFile>bin64\static_md\Imaged.pdb</ProgramDatabaseFile>
<SubSystem>Console</SubSystem>
<TargetMachine>MachineX64</TargetMachine>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='release_static_md|x64'">
<ClCompile>
<Optimization>MaxSpeed</Optimization>
<InlineFunctionExpansion>OnlyExplicitInline</InlineFunctionExpansion>
<IntrinsicFunctions>true</IntrinsicFunctions>
<FavorSizeOrSpeed>Speed</FavorSizeOrSpeed>
<OmitFramePointers>true</OmitFramePointers>
<AdditionalIncludeDirectories>.\include;..\..\..\Foundation\include;..\..\..\PDF\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;WINVER=0x0500;POCO_STATIC;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<StringPooling>true</StringPooling>
<RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
<BufferSecurityCheck>false</BufferSecurityCheck>
<TreatWChar_tAsBuiltInType>true</TreatWChar_tAsBuiltInType>
<ForceConformanceInForLoopScope>true</ForceConformanceInForLoopScope>
<RuntimeTypeInfo>true</RuntimeTypeInfo>
<PrecompiledHeader/>
<WarningLevel>Level3</WarningLevel>
<DebugInformationFormat/>
<CompileAs>Default</CompileAs>
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<Link>
<AdditionalDependencies>iphlpapi.lib;winmm.lib;%(AdditionalDependencies)</AdditionalDependencies>
<OutputFile>bin64\static_md\Image.exe</OutputFile>
<AdditionalLibraryDirectories>..\..\..\lib64;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
<GenerateDebugInformation>false</GenerateDebugInformation>
<SubSystem>Console</SubSystem>
<OptimizeReferences>true</OptimizeReferences>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<TargetMachine>MachineX64</TargetMachine>
</Link>
</ItemDefinitionGroup>
<ItemGroup>
<ClCompile Include="src\Image.cpp">
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
</ItemGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets"/>
<ImportGroup Label="ExtensionTargets"/>
</Project>

View File

@ -0,0 +1,16 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup>
<Filter Include="Header Files">
<UniqueIdentifier>{ff34dd33-f75d-49c7-929b-8bca945d1968}</UniqueIdentifier>
</Filter>
<Filter Include="Source Files">
<UniqueIdentifier>{11bd6bb9-49a4-4d7c-8c62-8377a358058f}</UniqueIdentifier>
</Filter>
</ItemGroup>
<ItemGroup>
<ClCompile Include="src\Image.cpp">
<Filter>Source Files</Filter>
</ClCompile>
</ItemGroup>
</Project>

View File

@ -0,0 +1,447 @@
<?xml version="1.0" encoding="Windows-1252"?>
<VisualStudioProject
Name="Image"
Version="9.00"
ProjectType="Visual C++"
ProjectGUID="{DA74060D-73AF-3E8F-A804-FBC960DAC393}"
RootNamespace="Image"
Keyword="Win32Proj">
<Platforms>
<Platform
Name="Win32"/>
</Platforms>
<ToolFiles/>
<Configurations>
<Configuration
Name="debug_shared|Win32"
OutputDirectory="obj\$(ConfigurationName)"
IntermediateDirectory="obj\$(ConfigurationName)"
ConfigurationType="1"
CharacterSet="2">
<Tool
Name="VCPreBuildEventTool"/>
<Tool
Name="VCCustomBuildTool"/>
<Tool
Name="VCXMLDataGeneratorTool"/>
<Tool
Name="VCWebServiceProxyGeneratorTool"/>
<Tool
Name="VCMIDLTool"/>
<Tool
Name="VCCLCompilerTool"
Optimization="0"
AdditionalIncludeDirectories=".\include;..\..\..\Foundation\include;..\..\..\PDF\include"
PreprocessorDefinitions="WIN32;_DEBUG;_WINDOWS;WINVER=0x0500;"
StringPooling="true"
MinimalRebuild="true"
BasicRuntimeChecks="3"
RuntimeLibrary="3"
BufferSecurityCheck="true"
TreatWChar_tAsBuiltInType="true"
ForceConformanceInForLoopScope="true"
RuntimeTypeInfo="true"
UsePrecompiledHeader="0"
WarningLevel="3"
Detect64BitPortabilityProblems="false"
DebugInformationFormat="3"
CompileAs="0"
DisableSpecificWarnings=""
AdditionalOptions=""/>
<Tool
Name="VCManagedResourceCompilerTool"/>
<Tool
Name="VCResourceCompilerTool"/>
<Tool
Name="VCPreLinkEventTool"/>
<Tool
Name="VCLinkerTool"
AdditionalDependencies="Iphlpapi.lib"
OutputFile="bin\Imaged.exe"
LinkIncremental="2"
AdditionalLibraryDirectories="..\..\..\lib"
SuppressStartupBanner="true"
GenerateDebugInformation="true"
ProgramDatabaseFile="bin\Imaged.pdb"
SubSystem="1"
TargetMachine="1"
AdditionalOptions=""/>
<Tool
Name="VCALinkTool"/>
<Tool
Name="VCManifestTool"/>
<Tool
Name="VCXDCMakeTool"/>
<Tool
Name="VCBscMakeTool"/>
<Tool
Name="VCFxCopTool"/>
<Tool
Name="VCAppVerifierTool"/>
<Tool
Name="VCPostBuildEventTool"/>
</Configuration>
<Configuration
Name="release_shared|Win32"
OutputDirectory="obj\$(ConfigurationName)"
IntermediateDirectory="obj\$(ConfigurationName)"
ConfigurationType="1"
CharacterSet="2">
<Tool
Name="VCPreBuildEventTool"/>
<Tool
Name="VCCustomBuildTool"/>
<Tool
Name="VCXMLDataGeneratorTool"/>
<Tool
Name="VCWebServiceProxyGeneratorTool"/>
<Tool
Name="VCMIDLTool"/>
<Tool
Name="VCCLCompilerTool"
Optimization="4"
InlineFunctionExpansion="1"
EnableIntrinsicFunctions="true"
FavorSizeOrSpeed="1"
OmitFramePointers="true"
AdditionalIncludeDirectories=".\include;..\..\..\Foundation\include;..\..\..\PDF\include"
PreprocessorDefinitions="WIN32;NDEBUG;_WINDOWS;WINVER=0x0500;"
StringPooling="true"
RuntimeLibrary="2"
BufferSecurityCheck="false"
TreatWChar_tAsBuiltInType="true"
ForceConformanceInForLoopScope="true"
RuntimeTypeInfo="true"
UsePrecompiledHeader="0"
WarningLevel="3"
Detect64BitPortabilityProblems="false"
DebugInformationFormat="0"
CompileAs="0"
DisableSpecificWarnings=""
AdditionalOptions=""/>
<Tool
Name="VCManagedResourceCompilerTool"/>
<Tool
Name="VCResourceCompilerTool"/>
<Tool
Name="VCPreLinkEventTool"/>
<Tool
Name="VCLinkerTool"
AdditionalDependencies="Iphlpapi.lib"
OutputFile="bin\Image.exe"
LinkIncremental="1"
AdditionalLibraryDirectories="..\..\..\lib"
GenerateDebugInformation="false"
SubSystem="1"
OptimizeReferences="2"
EnableCOMDATFolding="2"
TargetMachine="1"
AdditionalOptions=""/>
<Tool
Name="VCALinkTool"/>
<Tool
Name="VCManifestTool"/>
<Tool
Name="VCXDCMakeTool"/>
<Tool
Name="VCBscMakeTool"/>
<Tool
Name="VCFxCopTool"/>
<Tool
Name="VCAppVerifierTool"/>
<Tool
Name="VCPostBuildEventTool"/>
</Configuration>
<Configuration
Name="debug_static_mt|Win32"
OutputDirectory="obj\$(ConfigurationName)"
IntermediateDirectory="obj\$(ConfigurationName)"
ConfigurationType="1"
CharacterSet="2">
<Tool
Name="VCPreBuildEventTool"/>
<Tool
Name="VCCustomBuildTool"/>
<Tool
Name="VCXMLDataGeneratorTool"/>
<Tool
Name="VCWebServiceProxyGeneratorTool"/>
<Tool
Name="VCMIDLTool"/>
<Tool
Name="VCCLCompilerTool"
Optimization="4"
AdditionalIncludeDirectories=".\include;..\..\..\Foundation\include;..\..\..\PDF\include"
PreprocessorDefinitions="WIN32;_DEBUG;_WINDOWS;WINVER=0x0500;POCO_STATIC;"
StringPooling="true"
MinimalRebuild="true"
BasicRuntimeChecks="3"
RuntimeLibrary="1"
BufferSecurityCheck="true"
TreatWChar_tAsBuiltInType="true"
ForceConformanceInForLoopScope="true"
RuntimeTypeInfo="true"
UsePrecompiledHeader="0"
WarningLevel="3"
Detect64BitPortabilityProblems="false"
DebugInformationFormat="3"
CompileAs="0"
DisableSpecificWarnings=""
AdditionalOptions=""/>
<Tool
Name="VCManagedResourceCompilerTool"/>
<Tool
Name="VCResourceCompilerTool"/>
<Tool
Name="VCPreLinkEventTool"/>
<Tool
Name="VCLinkerTool"
AdditionalDependencies="iphlpapi.lib winmm.lib "
OutputFile="bin\static_mt\Imaged.exe"
LinkIncremental="2"
AdditionalLibraryDirectories="..\..\..\lib"
SuppressStartupBanner="true"
GenerateDebugInformation="true"
ProgramDatabaseFile="bin\static_mt\Imaged.pdb"
SubSystem="1"
TargetMachine="1"
AdditionalOptions=""/>
<Tool
Name="VCALinkTool"/>
<Tool
Name="VCManifestTool"/>
<Tool
Name="VCXDCMakeTool"/>
<Tool
Name="VCBscMakeTool"/>
<Tool
Name="VCFxCopTool"/>
<Tool
Name="VCAppVerifierTool"/>
<Tool
Name="VCPostBuildEventTool"/>
</Configuration>
<Configuration
Name="release_static_mt|Win32"
OutputDirectory="obj\$(ConfigurationName)"
IntermediateDirectory="obj\$(ConfigurationName)"
ConfigurationType="1"
CharacterSet="2">
<Tool
Name="VCPreBuildEventTool"/>
<Tool
Name="VCCustomBuildTool"/>
<Tool
Name="VCXMLDataGeneratorTool"/>
<Tool
Name="VCWebServiceProxyGeneratorTool"/>
<Tool
Name="VCMIDLTool"/>
<Tool
Name="VCCLCompilerTool"
Optimization="4"
InlineFunctionExpansion="1"
EnableIntrinsicFunctions="true"
FavorSizeOrSpeed="1"
OmitFramePointers="true"
AdditionalIncludeDirectories=".\include;..\..\..\Foundation\include;..\..\..\PDF\include"
PreprocessorDefinitions="WIN32;NDEBUG;_WINDOWS;WINVER=0x0500;POCO_STATIC;"
StringPooling="true"
RuntimeLibrary="0"
BufferSecurityCheck="false"
TreatWChar_tAsBuiltInType="true"
ForceConformanceInForLoopScope="true"
RuntimeTypeInfo="true"
UsePrecompiledHeader="0"
WarningLevel="3"
Detect64BitPortabilityProblems="false"
DebugInformationFormat="0"
CompileAs="0"
DisableSpecificWarnings=""
AdditionalOptions=""/>
<Tool
Name="VCManagedResourceCompilerTool"/>
<Tool
Name="VCResourceCompilerTool"/>
<Tool
Name="VCPreLinkEventTool"/>
<Tool
Name="VCLinkerTool"
AdditionalDependencies="iphlpapi.lib winmm.lib "
OutputFile="bin\static_mt\Image.exe"
LinkIncremental="1"
AdditionalLibraryDirectories="..\..\..\lib"
GenerateDebugInformation="false"
SubSystem="1"
OptimizeReferences="2"
EnableCOMDATFolding="2"
TargetMachine="1"
AdditionalOptions=""/>
<Tool
Name="VCALinkTool"/>
<Tool
Name="VCManifestTool"/>
<Tool
Name="VCXDCMakeTool"/>
<Tool
Name="VCBscMakeTool"/>
<Tool
Name="VCFxCopTool"/>
<Tool
Name="VCAppVerifierTool"/>
<Tool
Name="VCPostBuildEventTool"/>
</Configuration>
<Configuration
Name="debug_static_md|Win32"
OutputDirectory="obj\$(ConfigurationName)"
IntermediateDirectory="obj\$(ConfigurationName)"
ConfigurationType="1"
CharacterSet="2">
<Tool
Name="VCPreBuildEventTool"/>
<Tool
Name="VCCustomBuildTool"/>
<Tool
Name="VCXMLDataGeneratorTool"/>
<Tool
Name="VCWebServiceProxyGeneratorTool"/>
<Tool
Name="VCMIDLTool"/>
<Tool
Name="VCCLCompilerTool"
Optimization="4"
AdditionalIncludeDirectories=".\include;..\..\..\Foundation\include;..\..\..\PDF\include"
PreprocessorDefinitions="WIN32;_DEBUG;_WINDOWS;WINVER=0x0500;POCO_STATIC;"
StringPooling="true"
MinimalRebuild="true"
BasicRuntimeChecks="3"
RuntimeLibrary="3"
BufferSecurityCheck="true"
TreatWChar_tAsBuiltInType="true"
ForceConformanceInForLoopScope="true"
RuntimeTypeInfo="true"
UsePrecompiledHeader="0"
WarningLevel="3"
Detect64BitPortabilityProblems="false"
DebugInformationFormat="3"
CompileAs="0"
DisableSpecificWarnings=""
AdditionalOptions=""/>
<Tool
Name="VCManagedResourceCompilerTool"/>
<Tool
Name="VCResourceCompilerTool"/>
<Tool
Name="VCPreLinkEventTool"/>
<Tool
Name="VCLinkerTool"
AdditionalDependencies="iphlpapi.lib winmm.lib "
OutputFile="bin\static_md\Imaged.exe"
LinkIncremental="2"
AdditionalLibraryDirectories="..\..\..\lib"
SuppressStartupBanner="true"
GenerateDebugInformation="true"
ProgramDatabaseFile="bin\static_md\Imaged.pdb"
SubSystem="1"
TargetMachine="1"
AdditionalOptions=""/>
<Tool
Name="VCALinkTool"/>
<Tool
Name="VCManifestTool"/>
<Tool
Name="VCXDCMakeTool"/>
<Tool
Name="VCBscMakeTool"/>
<Tool
Name="VCFxCopTool"/>
<Tool
Name="VCAppVerifierTool"/>
<Tool
Name="VCPostBuildEventTool"/>
</Configuration>
<Configuration
Name="release_static_md|Win32"
OutputDirectory="obj\$(ConfigurationName)"
IntermediateDirectory="obj\$(ConfigurationName)"
ConfigurationType="1"
CharacterSet="2">
<Tool
Name="VCPreBuildEventTool"/>
<Tool
Name="VCCustomBuildTool"/>
<Tool
Name="VCXMLDataGeneratorTool"/>
<Tool
Name="VCWebServiceProxyGeneratorTool"/>
<Tool
Name="VCMIDLTool"/>
<Tool
Name="VCCLCompilerTool"
Optimization="4"
InlineFunctionExpansion="1"
EnableIntrinsicFunctions="true"
FavorSizeOrSpeed="1"
OmitFramePointers="true"
AdditionalIncludeDirectories=".\include;..\..\..\Foundation\include;..\..\..\PDF\include"
PreprocessorDefinitions="WIN32;NDEBUG;_WINDOWS;WINVER=0x0500;POCO_STATIC;"
StringPooling="true"
RuntimeLibrary="2"
BufferSecurityCheck="false"
TreatWChar_tAsBuiltInType="true"
ForceConformanceInForLoopScope="true"
RuntimeTypeInfo="true"
UsePrecompiledHeader="0"
WarningLevel="3"
Detect64BitPortabilityProblems="false"
DebugInformationFormat="0"
CompileAs="0"
DisableSpecificWarnings=""
AdditionalOptions=""/>
<Tool
Name="VCManagedResourceCompilerTool"/>
<Tool
Name="VCResourceCompilerTool"/>
<Tool
Name="VCPreLinkEventTool"/>
<Tool
Name="VCLinkerTool"
AdditionalDependencies="iphlpapi.lib winmm.lib "
OutputFile="bin\static_md\Image.exe"
LinkIncremental="1"
AdditionalLibraryDirectories="..\..\..\lib"
GenerateDebugInformation="false"
SubSystem="1"
OptimizeReferences="2"
EnableCOMDATFolding="2"
TargetMachine="1"
AdditionalOptions=""/>
<Tool
Name="VCALinkTool"/>
<Tool
Name="VCManifestTool"/>
<Tool
Name="VCXDCMakeTool"/>
<Tool
Name="VCBscMakeTool"/>
<Tool
Name="VCFxCopTool"/>
<Tool
Name="VCAppVerifierTool"/>
<Tool
Name="VCPostBuildEventTool"/>
</Configuration>
</Configurations>
<References/>
<Files>
<Filter
Name="Header Files"/>
<Filter
Name="Source Files">
<File
RelativePath=".\src\Image.cpp"/>
</Filter>
</Files>
<Globals/>
</VisualStudioProject>

15
vendor/POCO/PDF/samples/Image/Makefile vendored Normal file
View File

@ -0,0 +1,15 @@
#
# Makefile
#
# Makefile for Poco PDF Image sample
#
include $(POCO_BASE)/build/rules/global
objects = Image
target = Image
target_version = 1
target_libs = PocoPDF PocoUtil PocoXML PocoFoundation
include $(POCO_BASE)/build/rules/exec

BIN
vendor/POCO/PDF/samples/Image/logo.PNG vendored Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.0 KiB

View File

@ -0,0 +1,60 @@
//
// Image.cpp
//
// This sample demonstrates the generation and saving of a PDF
// document that contains an mbedded image loaded from external file.
//
// Copyright (c) 2004-2006, Applied Informatics Software Engineering GmbH.
// and Contributors.
//
// SPDX-License-Identifier: BSL-1.0
//
#include "Poco/PDF/Document.h"
#include "Poco/Path.h"
#include "Poco/File.h"
#if defined(POCO_OS_FAMILY_UNIX)
const std::string pdfFileName = "${POCO_BASE}/PDF/samples/Image/Image.pdf";
const std::string pngFileName = "${POCO_BASE}/PDF/samples/Image/logo.png";
#elif defined(POCO_OS_FAMILY_WINDOWS)
const std::string pdfFileName = "%POCO_BASE%/PDF/samples/Image/Image.pdf";
const std::string pngFileName = "%POCO_BASE%/PDF/samples/Image/logo.PNG";
#endif
using Poco::PDF::Document;
using Poco::PDF::Font;
using Poco::PDF::Page;
using Poco::PDF::Image;
using Poco::Path;
using Poco::File;
int main(int argc, char** argv)
{
File pdfFile(Path::expand(pdfFileName));
if (pdfFile.exists()) pdfFile.remove();
File pngFile(Path::expand(pngFileName));
Document document(pdfFile.path());
Page page = document[0];
Font helv = document.font("Helvetica");
page.setFont(helv, 24);
std::string hello = "Hello PDF World from ";
float textWidth = page.textWidth(hello);
float textBegin = (page.getWidth() - textWidth) / 2;
page.writeOnce(textBegin, page.getHeight() - 50, hello);
Image image = document.loadPNGImage(pngFile.path());
page.drawImage(image, textBegin + textWidth / 2 - image.width() / 2,
page.getHeight() - 100 - image.height(),
image.width(),
image.height());
document.save();
return 0;
}

12
vendor/POCO/PDF/samples/Makefile vendored Normal file
View File

@ -0,0 +1,12 @@
#
# Makefile
#
# Makefile for Poco PDF Samples
#
.PHONY: projects
clean all: projects
projects:
$(MAKE) -C Text $(MAKECMDGOALS)
$(MAKE) -C Image $(MAKECMDGOALS)
$(MAKE) -C Template $(MAKECMDGOALS)

View File

@ -0,0 +1,2 @@
add_executable(Template src/Template.cpp)
target_link_libraries(Template PUBLIC Poco::PDF)

View File

@ -0,0 +1,15 @@
#
# Makefile
#
# Makefile for Poco PDF Template sample
#
include $(POCO_BASE)/build/rules/global
objects = Template
target = Template
target_version = 1
target_libs = PocoPDF PocoUtil PocoXML PocoFoundation
include $(POCO_BASE)/build/rules/exec

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 88 KiB

View File

@ -0,0 +1,10 @@
vc.project.guid = ${vc.project.guidFromName}
vc.project.name = ${vc.project.baseName}
vc.project.target = ${vc.project.name}
vc.project.type = executable
vc.project.pocobase = ..\\..\\..
vc.project.platforms = Win32
vc.project.configurations = debug_shared, release_shared, debug_static_mt, release_static_mt, debug_static_md, release_static_md
vc.project.prototype = ${vc.project.name}_vs90.vcproj
vc.project.compiler.include = ..\\..\\..\\Foundation\\include;..\\..\\..\\PDF\\include;..\\..\\..\\XML\\include;..\\..\\..\\Util\\include
vc.project.linker.dependencies =

View File

@ -0,0 +1,120 @@
<document style="font-family: helvetica; font-size: 12; line-height: 1.4" size="A4" orientation="portrait" encoding="ISO8859-2">
<page style="margin: 35; padding: 20">
<span style="left: 0; bottom: -120; font-size: 24">Simpsons Report</span>
<img src="Simpsons_FamilyPicture.png" style="right: ${box.width}; top: ${box.height}; scale=0.3"/>
<table>
<tr>
<td>Springfield</td>
<td></td>
</tr>
<tr>
<td>Somewhere, USA</td>
<td></td>
</tr>
<tr></tr><tr></tr>
<tr>
<td>Father</td>
<td>Homer Simpson</td>
</tr>
<tr>
<td>Mother</td>
<td>Marge Simpson</td>
</tr>
</table>
<hr/>
<table>
<tr>
<td>Son</td>
<td>Bart</td>
</tr>
<tr>
<td>Daughter</td>
<td>Lisa</td>
</tr>
<tr>
<td>Daughter</td>
<td>Maggie</td>
</tr>
<tr>
<td>Dog</td>
<td>Santa's Little Helper</td>
</tr>
<tr>
<td>Cat</td>
<td>Snowball V</td>
</tr>
</table>
<hr/>
<table>
<tr>
<td>Dan Castellaneta</td>
<td>Homer Simpson</td>
</tr>
<tr>
<td>Julie Kavner</td>
<td>Marge Simpson</td>
</tr>
<tr>
<td>Nancy Cartwright</td>
<td>Bart Simpson</td>
</tr>
<tr>
<td>Yeardley Smith</td>
<td>Lisa Simpson</td>
</tr>
</table>
<table>
<tr>
<td style="font-weight: bold; text-align: right">Special Guests</td>
</tr>
</table>
<hr/>
<table style="font-weight: bold; text-align: right">
<tr>
<td>Albert</td> ,
<td>Brooks</td>
</tr>
<tr>
<td>Phil</td>
<td>Hartman</td>
</tr>
<tr>
<td>Jon</td>
<td>Lovitz</td>
</tr>
<tr>
<td>Joe</td>
<td>Mantegna</td>
</tr>
<tr>
<td>Maurice</td>
<td>LaMarche</td>
</tr>
<tr>
<td>Kelsey</td>
<td>Grammer</td>
</tr>
</table>
DBV75
<hr style="top: 70"/>
<table style="bottom: 0" name="footer">
<tr>
<td style="font-weight: bold">Executive Producer</td>
<td>Matt Groening</td>
</tr>
<tr>
<td style="font-weight: bold">Executive Producer</td>
<td>James L. Brooks</td>
</tr>
<tr>
<td style="font-weight: bold">Director</td>
<td>Brad Bird</td>
</tr>
<tr>
<td style="font-weight: bold">Creative Supervisor</td>
<td>Sam Simon</td>
<td></td>
</tr>
</table>
</page>
</document>

Some files were not shown because too many files have changed in this diff Show More