Added Page Count to Status
Fixed Hanging Indent logic for vlnParagraphs
This commit is contained in:
@@ -96,6 +96,10 @@ namespace Volian.Print.Library
|
||||
{
|
||||
OnStatusChanged(this, new PromsPrintStatusArgs(myStatus, type));
|
||||
}
|
||||
public void OnStatusChanged(string msg)
|
||||
{
|
||||
OnStatusChanged(this, new PromsPrintStatusArgs(msg, PromsPrinterStatusType.General));
|
||||
}
|
||||
private void OnStatusChanged(string myStatus, PromsPrinterStatusType type, int progress)
|
||||
{
|
||||
OnStatusChanged(this, new PromsPrintStatusArgs(myStatus, type, progress));
|
||||
@@ -513,7 +517,7 @@ namespace Volian.Print.Library
|
||||
}
|
||||
if (!mySection.IsStepSection) _MyHelper.PageBookmarks.Add((ItemInfo)mySection, ((mySection.DisplayNumber ?? "") == "" ? "" : mySection.DisplayNumber + " - ") + mySection.DisplayText, null);
|
||||
_MyHelper.MySection = mySection;
|
||||
OnStatusChanged("After Set Svg", PromsPrinterStatusType.SetSVG);
|
||||
//OnStatusChanged("After Set Svg", PromsPrinterStatusType.SetSVG);
|
||||
}
|
||||
// if this format uses phonelists, see if this section has one. We need to know the number
|
||||
//of lines to adjust the pagelength for pagination and printing.
|
||||
@@ -873,7 +877,7 @@ namespace Volian.Print.Library
|
||||
rtfText = GetRtfToC(mySection.MyContent.Text, tOfC, ovrFont);
|
||||
}
|
||||
else
|
||||
rtfText = GetRtfToC(mySection.MyContent.Text, tOfC);
|
||||
rtfText = GetRtfToC(mySection.MyContent.Text, tOfC);
|
||||
Paragraph myparagrapht = vlnPrintObject.RtfToParagraph(rtfText);
|
||||
width = secPagePos - adjSecTitlePos - 6;
|
||||
float savTitleWid = width;
|
||||
|
Reference in New Issue
Block a user