Skip to content

Commit

Permalink
Add Cube.Pdf.Pdfium project.
Browse files Browse the repository at this point in the history
  • Loading branch information
clown committed Jun 27, 2018
1 parent b01f27f commit ff087a2
Show file tree
Hide file tree
Showing 5 changed files with 194 additions and 4 deletions.
50 changes: 50 additions & 0 deletions Cube.Pdf.sln
Original file line number Diff line number Diff line change
Expand Up @@ -9,30 +9,80 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Cube.Pdf.Ghostscript", "Lib
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Cube.Pdf.Itext", "Libraries\Itext\Cube.Pdf.Itext.csproj", "{77E24CB7-79B1-4797-8477-EAD767685795}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Cube.Pdf.Pdfium", "Libraries\Pdfium\Cube.Pdf.Pdfium.csproj", "{6924768E-F20A-4EA8-9D15-46F8A9890989}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Cube.Pdf.Tests", "Tests\Cube.Pdf.Tests.csproj", "{583ECD4D-D68F-4FBB-A8F7-5B88E744EB31}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Debug|x64 = Debug|x64
Debug|x86 = Debug|x86
Release|Any CPU = Release|Any CPU
Release|x64 = Release|x64
Release|x86 = Release|x86
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{5D742956-06A5-40F9-939D-5EFF66B78D8D}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{5D742956-06A5-40F9-939D-5EFF66B78D8D}.Debug|Any CPU.Build.0 = Debug|Any CPU
{5D742956-06A5-40F9-939D-5EFF66B78D8D}.Debug|x64.ActiveCfg = Debug|x64
{5D742956-06A5-40F9-939D-5EFF66B78D8D}.Debug|x64.Build.0 = Debug|x64
{5D742956-06A5-40F9-939D-5EFF66B78D8D}.Debug|x86.ActiveCfg = Debug|x86
{5D742956-06A5-40F9-939D-5EFF66B78D8D}.Debug|x86.Build.0 = Debug|x86
{5D742956-06A5-40F9-939D-5EFF66B78D8D}.Release|Any CPU.ActiveCfg = Release|Any CPU
{5D742956-06A5-40F9-939D-5EFF66B78D8D}.Release|Any CPU.Build.0 = Release|Any CPU
{5D742956-06A5-40F9-939D-5EFF66B78D8D}.Release|x64.ActiveCfg = Release|x64
{5D742956-06A5-40F9-939D-5EFF66B78D8D}.Release|x64.Build.0 = Release|x64
{5D742956-06A5-40F9-939D-5EFF66B78D8D}.Release|x86.ActiveCfg = Release|x86
{5D742956-06A5-40F9-939D-5EFF66B78D8D}.Release|x86.Build.0 = Release|x86
{781AA3BC-29D6-43BA-B76B-7EF1C5532BA5}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{781AA3BC-29D6-43BA-B76B-7EF1C5532BA5}.Debug|Any CPU.Build.0 = Debug|Any CPU
{781AA3BC-29D6-43BA-B76B-7EF1C5532BA5}.Debug|x64.ActiveCfg = Debug|x64
{781AA3BC-29D6-43BA-B76B-7EF1C5532BA5}.Debug|x64.Build.0 = Debug|x64
{781AA3BC-29D6-43BA-B76B-7EF1C5532BA5}.Debug|x86.ActiveCfg = Debug|x86
{781AA3BC-29D6-43BA-B76B-7EF1C5532BA5}.Debug|x86.Build.0 = Debug|x86
{781AA3BC-29D6-43BA-B76B-7EF1C5532BA5}.Release|Any CPU.ActiveCfg = Release|Any CPU
{781AA3BC-29D6-43BA-B76B-7EF1C5532BA5}.Release|Any CPU.Build.0 = Release|Any CPU
{781AA3BC-29D6-43BA-B76B-7EF1C5532BA5}.Release|x64.ActiveCfg = Release|x64
{781AA3BC-29D6-43BA-B76B-7EF1C5532BA5}.Release|x64.Build.0 = Release|x64
{781AA3BC-29D6-43BA-B76B-7EF1C5532BA5}.Release|x86.ActiveCfg = Release|x86
{781AA3BC-29D6-43BA-B76B-7EF1C5532BA5}.Release|x86.Build.0 = Release|x86
{77E24CB7-79B1-4797-8477-EAD767685795}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{77E24CB7-79B1-4797-8477-EAD767685795}.Debug|Any CPU.Build.0 = Debug|Any CPU
{77E24CB7-79B1-4797-8477-EAD767685795}.Debug|x64.ActiveCfg = Debug|x64
{77E24CB7-79B1-4797-8477-EAD767685795}.Debug|x64.Build.0 = Debug|x64
{77E24CB7-79B1-4797-8477-EAD767685795}.Debug|x86.ActiveCfg = Debug|x86
{77E24CB7-79B1-4797-8477-EAD767685795}.Debug|x86.Build.0 = Debug|x86
{77E24CB7-79B1-4797-8477-EAD767685795}.Release|Any CPU.ActiveCfg = Release|Any CPU
{77E24CB7-79B1-4797-8477-EAD767685795}.Release|Any CPU.Build.0 = Release|Any CPU
{77E24CB7-79B1-4797-8477-EAD767685795}.Release|x64.ActiveCfg = Release|x64
{77E24CB7-79B1-4797-8477-EAD767685795}.Release|x64.Build.0 = Release|x64
{77E24CB7-79B1-4797-8477-EAD767685795}.Release|x86.ActiveCfg = Release|x86
{77E24CB7-79B1-4797-8477-EAD767685795}.Release|x86.Build.0 = Release|x86
{6924768E-F20A-4EA8-9D15-46F8A9890989}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{6924768E-F20A-4EA8-9D15-46F8A9890989}.Debug|Any CPU.Build.0 = Debug|Any CPU
{6924768E-F20A-4EA8-9D15-46F8A9890989}.Debug|x64.ActiveCfg = Debug|x64
{6924768E-F20A-4EA8-9D15-46F8A9890989}.Debug|x64.Build.0 = Debug|x64
{6924768E-F20A-4EA8-9D15-46F8A9890989}.Debug|x86.ActiveCfg = Debug|x86
{6924768E-F20A-4EA8-9D15-46F8A9890989}.Debug|x86.Build.0 = Debug|x86
{6924768E-F20A-4EA8-9D15-46F8A9890989}.Release|Any CPU.ActiveCfg = Release|Any CPU
{6924768E-F20A-4EA8-9D15-46F8A9890989}.Release|Any CPU.Build.0 = Release|Any CPU
{6924768E-F20A-4EA8-9D15-46F8A9890989}.Release|x64.ActiveCfg = Release|x64
{6924768E-F20A-4EA8-9D15-46F8A9890989}.Release|x64.Build.0 = Release|x64
{6924768E-F20A-4EA8-9D15-46F8A9890989}.Release|x86.ActiveCfg = Release|x86
{6924768E-F20A-4EA8-9D15-46F8A9890989}.Release|x86.Build.0 = Release|x86
{583ECD4D-D68F-4FBB-A8F7-5B88E744EB31}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{583ECD4D-D68F-4FBB-A8F7-5B88E744EB31}.Debug|Any CPU.Build.0 = Debug|Any CPU
{583ECD4D-D68F-4FBB-A8F7-5B88E744EB31}.Debug|x64.ActiveCfg = Debug|x64
{583ECD4D-D68F-4FBB-A8F7-5B88E744EB31}.Debug|x64.Build.0 = Debug|x64
{583ECD4D-D68F-4FBB-A8F7-5B88E744EB31}.Debug|x86.ActiveCfg = Debug|x86
{583ECD4D-D68F-4FBB-A8F7-5B88E744EB31}.Debug|x86.Build.0 = Debug|x86
{583ECD4D-D68F-4FBB-A8F7-5B88E744EB31}.Release|Any CPU.ActiveCfg = Release|Any CPU
{583ECD4D-D68F-4FBB-A8F7-5B88E744EB31}.Release|Any CPU.Build.0 = Release|Any CPU
{583ECD4D-D68F-4FBB-A8F7-5B88E744EB31}.Release|x64.ActiveCfg = Release|x64
{583ECD4D-D68F-4FBB-A8F7-5B88E744EB31}.Release|x64.Build.0 = Release|x64
{583ECD4D-D68F-4FBB-A8F7-5B88E744EB31}.Release|x86.ActiveCfg = Release|x86
{583ECD4D-D68F-4FBB-A8F7-5B88E744EB31}.Release|x86.Build.0 = Release|x86
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
Expand Down
8 changes: 4 additions & 4 deletions Libraries/Ghostscript/Cube.Pdf.Ghostscript.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,6 @@
<WarningLevel>4</WarningLevel>
<DocumentationFile>bin\Release\Cube.Pdf.Ghostscript.xml</DocumentationFile>
</PropertyGroup>
<PropertyGroup>
<SignAssembly>true</SignAssembly>
<AssemblyOriginatorKeyFile>..\..\Cube.snk</AssemblyOriginatorKeyFile>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x64'">
<DebugSymbols>true</DebugSymbols>
<OutputPath>bin\x64\Debug\</OutputPath>
Expand Down Expand Up @@ -75,6 +71,10 @@
<ErrorReport>prompt</ErrorReport>
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
</PropertyGroup>
<PropertyGroup>
<SignAssembly>true</SignAssembly>
<AssemblyOriginatorKeyFile>..\..\Cube.snk</AssemblyOriginatorKeyFile>
</PropertyGroup>
<ItemGroup>
<Reference Include="Cube.Core">
<HintPath>..\..\..\packages\Cube.Core.1.10.0\lib\net45\Cube.Core.dll</HintPath>
Expand Down
99 changes: 99 additions & 0 deletions Libraries/Pdfium/Cube.Pdf.Pdfium.csproj
Original file line number Diff line number Diff line change
@@ -0,0 +1,99 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProjectGuid>{6924768E-F20A-4EA8-9D15-46F8A9890989}</ProjectGuid>
<OutputType>Library</OutputType>
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>Cube.Pdf.Pdfium</RootNamespace>
<AssemblyName>Cube.Pdf.Pdfium</AssemblyName>
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<OutputPath>bin\Debug\</OutputPath>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<DocumentationFile>bin\Debug\Cube.Pdf.Pdfium.xml</DocumentationFile>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugType>pdbonly</DebugType>
<Optimize>true</Optimize>
<OutputPath>bin\Release\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<DocumentationFile>bin\Release\Cube.Pdf.Pdfium.xml</DocumentationFile>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x64'">
<DebugSymbols>true</DebugSymbols>
<OutputPath>bin\x64\Debug\</OutputPath>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<DebugType>full</DebugType>
<PlatformTarget>x64</PlatformTarget>
<ErrorReport>prompt</ErrorReport>
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
<DocumentationFile>bin\x64\Debug\Cube.Pdf.Pdfium.xml</DocumentationFile>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|x64'">
<OutputPath>bin\x64\Release\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<Optimize>true</Optimize>
<DebugType>pdbonly</DebugType>
<PlatformTarget>x64</PlatformTarget>
<ErrorReport>prompt</ErrorReport>
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
<DocumentationFile>bin\x64\Release\Cube.Pdf.Pdfium.xml</DocumentationFile>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x86'">
<DebugSymbols>true</DebugSymbols>
<OutputPath>bin\x86\Debug\</OutputPath>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<DebugType>full</DebugType>
<PlatformTarget>x86</PlatformTarget>
<ErrorReport>prompt</ErrorReport>
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
<DocumentationFile>bin\x86\Debug\Cube.Pdf.Pdfium.xml</DocumentationFile>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|x86'">
<OutputPath>bin\x86\Release\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<Optimize>true</Optimize>
<DebugType>pdbonly</DebugType>
<PlatformTarget>x86</PlatformTarget>
<ErrorReport>prompt</ErrorReport>
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
<DocumentationFile>bin\x86\Release\Cube.Pdf.Pdfium.xml</DocumentationFile>
</PropertyGroup>
<PropertyGroup>
<SignAssembly>true</SignAssembly>
<AssemblyOriginatorKeyFile>..\..\Cube.snk</AssemblyOriginatorKeyFile>
</PropertyGroup>
<ItemGroup>
<Reference Include="Cube.Core">
<HintPath>..\..\..\packages\Cube.Core.1.10.0\lib\net45\Cube.Core.dll</HintPath>
</Reference>
<Reference Include="Cube.FileSystem">
<HintPath>..\..\..\packages\Cube.FileSystem.1.10.0\lib\net45\Cube.FileSystem.dll</HintPath>
</Reference>
</ItemGroup>
<ItemGroup>
<Reference Include="System" />
<Reference Include="System.Xml.Linq" />
<Reference Include="System.Xml" />
</ItemGroup>
<ItemGroup>
<Compile Include="Properties\AssemblyInfo.cs" />
</ItemGroup>
<ItemGroup>
<None Include="..\..\Cube.snk" />
<None Include="Packages.config" />
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
</Project>
5 changes: 5 additions & 0 deletions Libraries/Pdfium/Packages.config
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<packages>
<package id="Cube.Core" version="1.10.0" targetFramework="net45" />
<package id="Cube.FileSystem" version="1.10.0" targetFramework="net45" />
</packages>
36 changes: 36 additions & 0 deletions Libraries/Pdfium/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;

// アセンブリに関する一般情報は以下の属性セットをとおして制御されます。
// アセンブリに関連付けられている情報を変更するには、
// これらの属性値を変更してください。
[assembly: AssemblyTitle("Cube.Pdf.Pdfium")]
[assembly: AssemblyDescription("PDFium based PDF library for CubeSoft applications.")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("CubeSoft")]
[assembly: AssemblyProduct("Cube.Pdf.Pdfium")]
[assembly: AssemblyCopyright("Copyright © 2010 CubeSoft, Inc.")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]

// ComVisible を false に設定すると、このアセンブリ内の型は COM コンポーネントから
// 参照できなくなります。COM からこのアセンブリ内の型にアクセスする必要がある場合は、
// その型の ComVisible 属性を true に設定してください。
[assembly: ComVisible(false)]

// このプロジェクトが COM に公開される場合、次の GUID が typelib の ID になります
[assembly: Guid("6924768e-f20a-4ea8-9d15-46f8a9890989")]

// アセンブリのバージョン情報は次の 4 つの値で構成されています:
//
// メジャー バージョン
// マイナー バージョン
// ビルド番号
// Revision
//
// すべての値を指定するか、次を使用してビルド番号とリビジョン番号を既定に設定できます
// 以下のように '*' を使用します:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("2.11.0.0")]
[assembly: AssemblyFileVersion("2.11.0.0")]

0 comments on commit ff087a2

Please sign in to comment.