Browse Source

Move files, changed Exporters to return Typesafe Decorators

git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@1999 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
shortcuts
Peter Forstmeier 19 years ago
parent
commit
7af8c67fd5
  1. 0
      src/AddIns/Misc/SharpReport/SharpReportCore/Exporter/Decorators/BaseStyleDecorator.cs
  2. 2
      src/AddIns/Misc/SharpReport/SharpReportCore/Exporter/ExportColumns/ExportContainer.cs
  3. 15
      src/AddIns/Misc/SharpReport/SharpReportCore/Exporter/ExportColumns/ExportGraphic.cs
  4. 4
      src/AddIns/Misc/SharpReport/SharpReportCore/Exporter/ExportColumns/ExportText.cs
  5. 8
      src/AddIns/Misc/SharpReport/SharpReportCore/Exporter/ExportColumns/IExportColumnBuilder .cs
  6. 2
      src/AddIns/Misc/SharpReport/SharpReportCore/SharpReportCore.csproj

0
src/AddIns/Misc/SharpReport/SharpReportCore/Exporter/BaseStyleDecorator.cs → src/AddIns/Misc/SharpReport/SharpReportCore/Exporter/Decorators/BaseStyleDecorator.cs

2
src/AddIns/Misc/SharpReport/SharpReportCore/Exporter/ExportColumns/ExportContainer.cs

@ -18,6 +18,7 @@ namespace SharpReportCore.Exporters
{ {
ExporterCollection<BaseExportColumn> items; ExporterCollection<BaseExportColumn> items;
public ExportContainer():base(){ public ExportContainer():base(){
base.IsContainer = true; base.IsContainer = true;
} }
@ -41,6 +42,5 @@ namespace SharpReportCore.Exporters
return items; return items;
} }
} }
} }
} }

15
src/AddIns/Misc/SharpReport/SharpReportCore/Exporter/ExportColumns/ExportGraphic.cs

@ -33,14 +33,11 @@ namespace SharpReportCore.Exporters
style.DisplayRectangle); style.DisplayRectangle);
} }
// public override BaseStyleDecorator StyleDecorator { public new GraphicStyleDecorator StyleDecorator {
// get { get{
// return base.StyleDecorator as GraphicStyleDecorator; return base.StyleDecorator as GraphicStyleDecorator;
// } }
// set { }
// base.StyleDecorator = value;
// }
// }
} }
} }

4
src/AddIns/Misc/SharpReport/SharpReportCore/Exporter/ExportColumns/ExportText.cs

@ -33,9 +33,9 @@ namespace SharpReportCore.Exporters {
} }
} }
public override BaseStyleDecorator StyleDecorator { public new TextStyleDecorator StyleDecorator {
get { get {
return base.StyleDecorator; return base.StyleDecorator as TextStyleDecorator;
} }
set { set {
base.StyleDecorator = value; base.StyleDecorator = value;

8
src/AddIns/Misc/SharpReport/SharpReportCore/Exporter/ExportColumns/IExportColumnBuilder .cs

@ -19,11 +19,5 @@ namespace SharpReportCore
public interface IExportColumnBuilder{ public interface IExportColumnBuilder{
BaseExportColumn CreateExportColumn (Graphics graphics); BaseExportColumn CreateExportColumn (Graphics graphics);
} }
/*
public interface IPerformLine{
BaseStyleDecorator StyleDecorator {
get;set;
}
}
*/
} }

2
src/AddIns/Misc/SharpReport/SharpReportCore/SharpReportCore.csproj

@ -139,7 +139,6 @@
<Compile Include="Printing\MeasurementService.cs" /> <Compile Include="Printing\MeasurementService.cs" />
<Compile Include="Exporter\SinglePage.cs" /> <Compile Include="Exporter\SinglePage.cs" />
<Compile Include="Exporter\PageBuilder.cs" /> <Compile Include="Exporter\PageBuilder.cs" />
<Compile Include="Exporter\BaseStyleDecorator.cs" />
<Compile Include="Exporter\ExportItemsConverter.cs" /> <Compile Include="Exporter\ExportItemsConverter.cs" />
<Compile Include="Exceptions\MissingDataManagerException.cs" /> <Compile Include="Exceptions\MissingDataManagerException.cs" />
<Compile Include="Exporter\ExportColumns\BaseExportColumn.cs" /> <Compile Include="Exporter\ExportColumns\BaseExportColumn.cs" />
@ -157,6 +156,7 @@
<Compile Include="Exporter\ExportColumns\ExportGraphic.cs" /> <Compile Include="Exporter\ExportColumns\ExportGraphic.cs" />
<Compile Include="Exporter\Decorators\TextStyleDecorator.cs" /> <Compile Include="Exporter\Decorators\TextStyleDecorator.cs" />
<Compile Include="Exporter\Decorators\GraphicStyleDecorator.cs" /> <Compile Include="Exporter\Decorators\GraphicStyleDecorator.cs" />
<Compile Include="Exporter\Decorators\BaseStyleDecorator.cs" />
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<Folder Include="BaseItems" /> <Folder Include="BaseItems" />

Loading…
Cancel
Save