- 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:
@@ -7,11 +7,30 @@ using iTextSharp.text.factories;
|
||||
using Volian.Svg.Library;
|
||||
using System.Text.RegularExpressions;
|
||||
using System.Xml;
|
||||
using VEPROMS.CSLA.Library;
|
||||
|
||||
namespace Volian.Print.Library
|
||||
{
|
||||
public class VlnSvgPageHelper:SvgPageHelper
|
||||
{
|
||||
private ChangeBarDefinition _ChangeBarDefinition;
|
||||
public ChangeBarDefinition ChangeBarDefinition
|
||||
{
|
||||
get { return _ChangeBarDefinition; }
|
||||
set { _ChangeBarDefinition = value; }
|
||||
}
|
||||
private PdfLayer _TextLayer;
|
||||
public PdfLayer TextLayer
|
||||
{
|
||||
get { return _TextLayer; }
|
||||
set { _TextLayer = value; }
|
||||
}
|
||||
private PdfLayer _DebugLayer;
|
||||
public PdfLayer DebugLayer
|
||||
{
|
||||
get { return _DebugLayer; }
|
||||
set { _DebugLayer = value; }
|
||||
}
|
||||
private VEPROMS.CSLA.Library.SectionInfo _MySection;
|
||||
public VEPROMS.CSLA.Library.SectionInfo MySection
|
||||
{
|
||||
@@ -267,4 +286,47 @@ namespace Volian.Print.Library
|
||||
return "";
|
||||
}
|
||||
}
|
||||
public class ChangeBarDefinition
|
||||
{
|
||||
private DocVersionConfig.PrintChangeBar _MyChangeBarType;
|
||||
public DocVersionConfig.PrintChangeBar MyChangeBarType
|
||||
{
|
||||
get { return _MyChangeBarType; }
|
||||
set { _MyChangeBarType = value; }
|
||||
}
|
||||
private DocVersionConfig.PrintChangeBarLoc _MyChangeBarLoc;
|
||||
public DocVersionConfig.PrintChangeBarLoc MyChangeBarLoc
|
||||
{
|
||||
get { return _MyChangeBarLoc; }
|
||||
set { _MyChangeBarLoc = value; }
|
||||
}
|
||||
private DocVersionConfig.PrintChangeBarText _MyChangeBarText;
|
||||
public DocVersionConfig.PrintChangeBarText MyChangeBarText
|
||||
{
|
||||
get { return _MyChangeBarText; }
|
||||
set { _MyChangeBarText = value; }
|
||||
}
|
||||
private string _MyChangeBarMessage;
|
||||
public string MyChangeBarMessage
|
||||
{
|
||||
get { return _MyChangeBarMessage; }
|
||||
set { _MyChangeBarMessage = value; }
|
||||
}
|
||||
private int _MyChangeBarColumn; //TODO Should this be two dimensional array
|
||||
public int MyChangeBarColumn
|
||||
{
|
||||
get { return _MyChangeBarColumn; }
|
||||
set { _MyChangeBarColumn = value; }
|
||||
}
|
||||
public ChangeBarDefinition()
|
||||
{
|
||||
}
|
||||
public ChangeBarDefinition(DocVersionConfig.PrintChangeBar myCBT, DocVersionConfig.PrintChangeBarLoc myCBL, DocVersionConfig.PrintChangeBarText myCBTxt, string myCBMsg)
|
||||
{
|
||||
_MyChangeBarType = myCBT;
|
||||
_MyChangeBarLoc = myCBL;
|
||||
_MyChangeBarText = myCBTxt;
|
||||
_MyChangeBarMessage = myCBMsg;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user