Support for SAMGS Supplemental Information

This commit is contained in:
2017-05-03 14:37:25 +00:00
parent e7f9d4e3ed
commit f139c79d32
14 changed files with 1513 additions and 682 deletions

View File

@@ -1013,6 +1013,12 @@ namespace Volian.Svg.Library
get { return _CreatingFoldoutPage; }
set { _CreatingFoldoutPage = value; }
}
private bool _CreatingSupInfoPage = false;
public bool CreatingSupInfoPage
{
get { return _CreatingSupInfoPage; }
set { _CreatingSupInfoPage = value; }
}
public SvgPageHelper(Svg mySvg)
{
_MySvg = mySvg;
@@ -1043,7 +1049,8 @@ namespace Volian.Svg.Library
if (!OnFoldoutPage)
{
base.OnEndPage(writer, document);
if (!CreatingFoldoutPage)
// note that pagelist items are not done for Foldout & SupInfo (facing pages) - they get merged onto pages that have this
if (!CreatingFoldoutPage && !CreatingSupInfoPage)
{
DrawBackground(writer.DirectContentUnder);
DrawPageList(writer.DirectContent);
@@ -1055,7 +1062,8 @@ namespace Volian.Svg.Library
}
else
{
if (!CreatingFoldoutPage)
// note that pagelist items are not done for Foldout & SupInfo (facing pages) - they get merged onto pages that have this
if (!CreatingFoldoutPage && !CreatingSupInfoPage)
{
DrawBackground(writer.DirectContentUnder);
DrawPageList(writer.DirectContent);