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:
@@ -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
|
||||
{
|
||||
|
Reference in New Issue
Block a user