This commit is contained in:
@@ -7,7 +7,6 @@ using iTextSharp.text.factories;
|
||||
using Itenso.Rtf;
|
||||
using Itenso.Rtf.Parser;
|
||||
using Itenso.Rtf.Interpreter;
|
||||
//using Itenso.Rtf.Model;
|
||||
using Itenso.Rtf.Support;
|
||||
using System.IO;
|
||||
|
||||
@@ -57,7 +56,6 @@ namespace Volian.Print.Library
|
||||
while (yTop > 0)
|
||||
{
|
||||
float newYTop = TextAt(cb, para, x, yTop - 12F, width, 100,"",36);
|
||||
//Console.WriteLine("{0},{1},{2}", yTop, width, newYTop);
|
||||
width -= 16;
|
||||
yTop = newYTop;
|
||||
}
|
||||
@@ -100,7 +98,7 @@ namespace Volian.Print.Library
|
||||
if (iParagraph.Font.BaseFont != null)
|
||||
yDescent = -iParagraph.Font.BaseFont.GetDescentPoint("Almg", iParagraph.Font.Size);
|
||||
if (PdfDebug)
|
||||
DrawPdfDebug(cb, left, top, left + width, myColumnText.YLine, debugText,yDescent);
|
||||
DrawPdfDebug(cb, left, top, left + width, myColumnText.YLine, debugText, yDescent);
|
||||
return myColumnText.YLine;
|
||||
}
|
||||
public static float FigureAt(PdfContentByte cb, iTextSharp.text.Image image, float x, float y, float width, float height, string debugText, float yBottommargin, bool hasBorder)
|
||||
@@ -132,7 +130,6 @@ namespace Volian.Print.Library
|
||||
PdfLayer debugLayer = _MyPageHelper == null ? null : _MyPageHelper.DebugLayer;
|
||||
if (debugLayer == null) return;
|
||||
System.Drawing.Color sysColor = PrintOverride.OverrideDebugColor(System.Drawing.Color.Gray);
|
||||
// yAdj is dependent on the size of the font and the spacing between lines.
|
||||
cb.SaveState();
|
||||
cb.BeginLayer(debugLayer);
|
||||
cb.SetColorStroke(new Color(sysColor));
|
||||
|
Reference in New Issue
Block a user