[pdfmod] Remove the unnecessary dependency on Windows.Forms



commit b16daa8d5b049b62fb29f868072aa9f9d7b33518
Author: Bertrand Lorentz <bertrand lorentz gmail com>
Date:   Thu Aug 6 21:22:09 2009 +0200

    Remove the unnecessary dependency on Windows.Forms
    
    The parts of PdfSharp that depend on Windows.Forms are not used, so we
    don't build them.

 src/Libraries/PdfSharp/Makefile.am     |    7 -------
 src/Libraries/PdfSharp/PdfSharp.csproj |   27 ---------------------------
 2 files changed, 0 insertions(+), 34 deletions(-)
---
diff --git a/src/Libraries/PdfSharp/Makefile.am b/src/Libraries/PdfSharp/Makefile.am
index 5509a08..4536963 100644
--- a/src/Libraries/PdfSharp/Makefile.am
+++ b/src/Libraries/PdfSharp/Makefile.am
@@ -67,7 +67,6 @@ FILES = \
 	PdfSharp.Fonts.TrueType/TrueTypeFontTable.cs \
 	PdfSharp.Fonts/FontWriter.cs \
 	PdfSharp.Fonts.TrueType/TrueTypeFontWriter.cs \
-	PdfSharp.Forms/ColorComboBox.cs \
 	PdfSharp.Internal/ColorHelper.cs \
 	PdfSharp.Internal/DoubleUtil.cs \
 	PdfSharp.Internal/TokenizerHelper.cs \
@@ -165,11 +164,6 @@ FILES = \
 	PdfSharp.Fonts/AdobeGlyphList20.cs \
 	PdfSharp.Fonts/AdobeGlyphListForNewFonts.cs \
 	PdfSharp.Fonts/CMapInfo.cs \
-	PdfSharp.Forms/DeviceInfos.cs \
-	PdfSharp.Forms/enums/Zoom.cs \
-	PdfSharp.Forms/enums/RenderMode.cs \
-	PdfSharp.Forms/PagePreview.cs \
-	PdfSharp.Forms/PagePreviewCanvas.cs \
 	PdfSharp.Internal/Calc.cs \
 	PdfSharp.Internal/NativeMethods.cs \
 	PdfSharp.Pdf.AcroForms/enums/PdfAcroFieldFlags.cs \
@@ -343,7 +337,6 @@ REFERENCES =  \
 	System \
 	System.Data \
 	System.Drawing \
-	System.Windows.Forms \
 	System.Xml
 
 DLL_REFERENCES = 
diff --git a/src/Libraries/PdfSharp/PdfSharp.csproj b/src/Libraries/PdfSharp/PdfSharp.csproj
index 9d2e9e9..07b4622 100644
--- a/src/Libraries/PdfSharp/PdfSharp.csproj
+++ b/src/Libraries/PdfSharp/PdfSharp.csproj
@@ -78,7 +78,6 @@
     <Reference Include="System" />
     <Reference Include="System.Data" />
     <Reference Include="System.Drawing" />
-    <Reference Include="System.Windows.Forms" />
     <Reference Include="System.Xml" />
   </ItemGroup>
   <ItemGroup>
@@ -111,9 +110,6 @@
     <Compile Include="PdfSharp.Fonts.TrueType\TrueTypeFontTable.cs" />
     <Compile Include="PdfSharp.Fonts\FontWriter.cs" />
     <Compile Include="PdfSharp.Fonts.TrueType\TrueTypeFontWriter.cs" />
-    <Compile Include="PdfSharp.Forms\ColorComboBox.cs">
-      <SubType>Component</SubType>
-    </Compile>
     <Compile Include="PdfSharp.Internal\ColorHelper.cs" />
     <Compile Include="PdfSharp.Internal\DoubleUtil.cs" />
     <Compile Include="PdfSharp.Internal\TokenizerHelper.cs" />
@@ -327,17 +323,6 @@
       <SubType>Code</SubType>
     </Compile>
     <Compile Include="PdfSharp.Fonts\CMapInfo.cs" />
-    <Compile Include="PdfSharp.Forms\DeviceInfos.cs">
-      <SubType>Code</SubType>
-    </Compile>
-    <Compile Include="PdfSharp.Forms\enums\Zoom.cs" />
-    <Compile Include="PdfSharp.Forms\enums\RenderMode.cs" />
-    <Compile Include="PdfSharp.Forms\PagePreview.cs">
-      <SubType>UserControl</SubType>
-    </Compile>
-    <Compile Include="PdfSharp.Forms\PagePreviewCanvas.cs">
-      <SubType>Component</SubType>
-    </Compile>
     <Compile Include="PdfSharp.Internal\Calc.cs">
       <SubType>Code</SubType>
     </Compile>
@@ -731,14 +716,6 @@
     <None Include="StrongnameKey.snk" />
   </ItemGroup>
   <ItemGroup>
-    <EmbeddedResource Include="PdfSharp.Forms\PagePreview.resx">
-      <DependentUpon>PagePreview.cs</DependentUpon>
-      <SubType>Designer</SubType>
-    </EmbeddedResource>
-    <EmbeddedResource Include="PdfSharp.Forms\PagePreviewCanvas.resx">
-      <DependentUpon>PagePreviewCanvas.cs</DependentUpon>
-      <SubType>Designer</SubType>
-    </EmbeddedResource>
     <EmbeddedResource Include="Resources\Messages.de.resx">
       <SubType>Designer</SubType>
     </EmbeddedResource>
@@ -757,10 +734,6 @@
       <Visible>False</Visible>
     </BootstrapperPackage>
   </ItemGroup>
-  <ItemGroup>
-    <Folder Include="PdfSharp.Drawing.Wpf\" />
-    <Folder Include="Resources\images\" />
-  </ItemGroup>
   <Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
   <PropertyGroup>
     <PreBuildEvent>



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]