Support for SAMGS Supplemental Information
This commit is contained in:
@@ -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);
|
||||
|
Reference in New Issue
Block a user