- Fixed Header for EquipmentWBlank

- Aligned Tables properly
- Skip Section Title
- Calculated Table Width
- Fixed ChangeBar logic
- Added Text and Debug layers
- Adedd debug output to PDF
- Changed Paginate logic
- Adedd debug output to PDF
- Move GetParagraphHeight
- Added GetTableWidth
- Added ChangeBar Properties
- Added Debug and Text layers
Removed fixed override color for SVG
Removed simple PageBreak
This commit is contained in:
Rich
2010-05-25 16:15:26 +00:00
parent 9cc6174ad1
commit b00005780b
7 changed files with 249 additions and 54 deletions

View File

@@ -102,7 +102,7 @@ namespace Volian.Svg.Library
float myY = yOffset + cb.PdfDocument.PageSize.Height - _Scale * (y.GetSizeInPixels(DPI) - YLowerLimit);
if (myY < .1F * cb.PdfDocument.PageSize.Height)
{
cb.PdfDocument.NewPage();
//cb.PdfDocument.NewPage();
myY += .8F * cb.PdfDocument.PageSize.Height;
}
return myY;

View File

@@ -411,9 +411,7 @@ namespace Volian.Svg.Library
//cb.SetLineWidth(scale.M(LineWidth));
cb.SetLineWidth(LineWidth.Value);
cb.SetColorStroke(new Color(LineColor));
//cb.SetColorStroke(Color.BLACK);
}
//cb.SetColorStroke(Color.GREEN);
cb.SetLineCap(PdfContentByte.LINE_CAP_ROUND);
cb.MoveTo(scale.X(X1), scale.Y(cb, Y1));
cb.LineTo(scale.X(X2), scale.Y(cb, Y2));
@@ -965,7 +963,7 @@ namespace Volian.Svg.Library
private void DrawZoomOMatic(PdfContentByte cb)
{
cb.SaveState();
ZoomOMatic(cb, 18);
ZoomOMatic(cb, 36);
cb.RestoreState();
}
private void DrawWatermark(PdfContentByte cb)