C2024-017 Removed old (not implemented) format variables and settings from the format files and removed incomplete references to them in the C# code. Also added descriptions of the used format variables in the C# code that hooks the XML format files to the PROMS C# logic.
This commit is contained in:
@@ -192,26 +192,7 @@ namespace Volian.Print.Library
|
||||
}
|
||||
public float GetParagraphHeight(PdfContentByte cb, Paragraph iParagraph, string suffix, float width, bool throwException)
|
||||
{
|
||||
VlnSvgPageHelper ph = null;
|
||||
if(cb != null) ph = cb.PdfWriter.PageEvent as VlnSvgPageHelper;
|
||||
float heightAll = GetHeight(cb, iParagraph, suffix, width, throwException);
|
||||
if (ph != null && ph.MyPromsPrinter.DebugOutput && !MyPageHelper.Back32BitPROMS)
|
||||
{
|
||||
vlnParagraph myParagraph = this as vlnParagraph;
|
||||
if (myParagraph != null)
|
||||
{
|
||||
//if (myParagraph.MyItemInfo.FormatStepData != null && myParagraph.MyItemInfo.FormatStepData.Font.Family == "Prestige Elite Tall")
|
||||
//if (!myParagraph.MyItemInfo.ActiveFormat.PlantFormat.FormatData.SectData.StepSectionData.WrapSameAsEdit)
|
||||
//{
|
||||
// Chunk chk = RemoveLastCharacter(iParagraph);
|
||||
// float heightAllButOne = GetHeight(cb, iParagraph, width, throwException);
|
||||
// if (heightAll != heightAllButOne)
|
||||
// return heightAllButOne;
|
||||
// if (chk != null)
|
||||
// RestoreLastCharacter(iParagraph, chk);
|
||||
//}
|
||||
}
|
||||
}
|
||||
return heightAll;
|
||||
}
|
||||
private static void RestoreLastCharacter(Paragraph iParagraph, Chunk chk)
|
||||
|
Reference in New Issue
Block a user