If page break, don’t put out an extra line if it was in RNO; don’t put out extra line after table if there is no border; add a flag for locating of macro off tab
Don’t increment foldout page counts, depending on format document style’s numbering sequence
This commit is contained in:
@@ -123,7 +123,12 @@ namespace Volian.Print.Library
|
||||
}
|
||||
else
|
||||
{
|
||||
MyPageCounts.CanIncrement = true;
|
||||
E_NumberingSequence numseq = MySection.MyDocStyle.NumberingSequence??0;
|
||||
// if a foldout is only printing within its section, don't do increments on pagecounts:
|
||||
if (numseq==E_NumberingSequence.WithinEachSection)
|
||||
MyPageCounts.CanIncrement = false;
|
||||
else
|
||||
MyPageCounts.CanIncrement = true;
|
||||
base.OnEndPage(writer, document);
|
||||
if (!CreatingFoldoutPage)
|
||||
DrawRuler(writer.DirectContent);
|
||||
@@ -215,7 +220,7 @@ namespace Volian.Print.Library
|
||||
cb.SetColorStroke(new Color(System.Drawing.Color.CornflowerBlue));
|
||||
float yTop = (float)(cb.PdfWriter.PageSize.Height - layout.TopMargin);
|
||||
float yBottom = (float)(cb.PdfWriter.PageSize.Height - (layout.TopMargin + layout.PageLength));
|
||||
Console.WriteLine("'{0}',{1},{2}", MySection.MyDocStyle.Name, yTop, yBottom);
|
||||
//Console.WriteLine("'{0}',{1},{2}", MySection.MyDocStyle.Name, yTop, yBottom);
|
||||
cb.MoveTo(x, yTop);
|
||||
cb.LineTo(x, yBottom);
|
||||
int i = 0;
|
||||
|
Reference in New Issue
Block a user