B2022-009: When using a landscape Word attachment, foldout page associated with it has header as landscape
This commit is contained in:
parent
0acedd7e7a
commit
5ae0fa8b1f
@ -1234,8 +1234,11 @@ namespace Volian.Print.Library
|
||||
bool didFoldout = false;
|
||||
if (((mySection.MyDocStyle.StructureStyle.Style ?? 0) & E_DocStructStyle.UseSectionFoldout) != 0)
|
||||
{
|
||||
// B2022-009: if doing a foldout & this is a landscape section, turn landscape off for the foldout
|
||||
if (mySection.MyDocStyle.LandscapePageList) _MyHelper.IsLandscape = false;
|
||||
didFoldout = true;
|
||||
DoFoldoutPage(cb, "Word Document", _TextLayer, _MyHelper, 0, false);
|
||||
if (mySection.MyDocStyle.LandscapePageList) _MyHelper.IsLandscape = true; // B2022-009: turn landscape back on for the foldout
|
||||
}
|
||||
if (this.MyReaderHelper != null)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user