C2018-004 logic to print meta file information

C2018-004 pass itemid for use in meta file output
This commit is contained in:
2018-04-12 20:30:30 +00:00
parent 6732591fc5
commit 5cff214b0e
2 changed files with 8 additions and 1 deletions

View File

@@ -1301,6 +1301,13 @@ namespace Volian.Print.Library
, r1, c1, hAdjust, adjustTextLocation, y, h, top, 1 + top - y - hAdjust - adjustTextLocation,
_MyPageHelper.YMultiplier, ShowText(MyPara.Content.Substring(0, Math.Min(20, MyPara.Content.Length))));
}
// C2018-004 create meta file for baseline compares
Volian.Base.Library.BaselineMetaFile.WriteLine(" R {0} C {1} Y {2} H {3} Top {4} hAdj {5} TxtLocAdj {6}", r1, c1, y, h, top, hAdjust,adjustTextLocation);
foreach (Chunk chk1 in MyPara.Chunks)
{
string ctai = Rtf2Pdf.ChunkTextAttributesInfo(chk1);
Volian.Base.Library.BaselineMetaFile.WriteLine("\t{0},{1},{2},{3},\"{4}\"", chk1.Font.Familyname, chk1.Font.Size, chk1.Font.Style, ctai, Rtf2Pdf.FixText(chk1.Content));
}
MyPara.MultipliedLeading *= _MyPageHelper.YMultiplier;
vlnCells.FixHyphens(MyPara, MyTable);
vlnCells.FixBackslashes(MyPara, MyTable);