Fix page number transitions that were counting foldout pages (should not count those) for AEP

Implement [UNIT] page list token (AEP)
Added property to track page numbers without foldouts for page num transitions (AEP)
This commit is contained in:
2015-04-20 15:59:39 +00:00
parent 05b910a8e6
commit 6f1f63e14f
3 changed files with 18 additions and 2 deletions

View File

@@ -967,6 +967,12 @@ namespace Volian.Svg.Library
get { return _CurrentPageNumber; }
set { _CurrentPageNumber = value; }
}
private int _CurrentPageNumberNoFoldouts = 0;
public int CurrentPageNumberNoFoldouts
{
get { return _CurrentPageNumberNoFoldouts; }
set { _CurrentPageNumberNoFoldouts = value; }
}
private int _CurrentTOCPageNumber = 0;
public int CurrentTOCPageNumber
{
@@ -1023,6 +1029,7 @@ namespace Volian.Svg.Library
if (DoZoomOMatic) DrawZoomOMatic(writer.DirectContent);
}
CurrentPageNumber++;
CurrentPageNumberNoFoldouts++;
}
else
{