Skip to content
This repository has been archived by the owner on Oct 16, 2020. It is now read-only.

Commit

Permalink
Adjustment in Footer's and Header's
Browse files Browse the repository at this point in the history
  • Loading branch information
PeterForstmeier committed Feb 27, 2011
1 parent e61da9a commit 4af32e5
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 10 deletions.
Expand Up @@ -223,6 +223,7 @@ public static ExportContainer ConvertToContainer (ISimpleContainer container,Poi
lineItem.StyleDecorator.DisplayRectangle = new Rectangle(lineItem.StyleDecorator.Location,
lineItem.StyleDecorator.Size);

AdjustBackColor (container);
return lineItem;
}
return null;
Expand Down
Expand Up @@ -109,7 +109,7 @@ protected ExporterCollection ConvertSection (BaseSection section,int dataRow)
if (container != null) {

ExportContainer exportContainer = StandardPrinter.ConvertToContainer(container,offset);
StandardPrinter.AdjustBackColor (container);

ExporterCollection clist = StandardPrinter.ConvertPlainCollection(container.Items,exportContainer.StyleDecorator.Location);
exportContainer.Items.AddRange(clist);
list.Add(exportContainer);
Expand Down
Expand Up @@ -118,16 +118,11 @@ protected static ExporterCollection ConvertItems (ISimpleContainer row,Point of
IExportColumnBuilder exportLineBuilder = row as IExportColumnBuilder;

if (exportLineBuilder != null) {

ExportContainer lineItem = StandardPrinter.ConvertToContainer(row,offset);

StandardPrinter.AdjustBackColor(row);
ExporterCollection list = StandardPrinter.ConvertPlainCollection(row.Items,offset);

lineItem.Items.AddRange(list);

ExportContainer exportContainer = StandardPrinter.ConvertToContainer(row,offset);
ExporterCollection list = StandardPrinter.ConvertPlainCollection(row.Items,exportContainer.StyleDecorator.Location);
exportContainer.Items.AddRange(list);
ExporterCollection containerList = new ExporterCollection();
containerList.Add (lineItem);
containerList.Add (exportContainer);
return containerList;
}
return null;
Expand Down

0 comments on commit 4af32e5

Please sign in to comment.