B2018-049: When printing, page sizes are incorrect for 11x17 pages if previous section has supplemental information
This commit is contained in:
parent
d0c2901597
commit
855b07e5b3
@ -493,7 +493,7 @@ namespace Volian.Print.Library
|
||||
_PageCountOfWordSection = 1;
|
||||
}
|
||||
else
|
||||
_PageCountOfWordSection++;
|
||||
if (!_MyHelper.OnBlankPage) _PageCountOfWordSection++; // B2018-049: supplemental printing throws off page sizes
|
||||
MyReaderHelper.MySectionInfo = LastWordSection;
|
||||
//ShowNeedForPageSize();
|
||||
rct = MyReaderHelper.GetSize(LastWordSection, _PageCountOfWordSection);
|
||||
@ -510,7 +510,8 @@ namespace Volian.Print.Library
|
||||
}
|
||||
// Bug Fix: B2016-135 when using a large page size word section, that large page size was being used for the foldout page
|
||||
// save this for the next section which will be the large page size word section.
|
||||
if (_MyFoldoutReader.Count > 0)
|
||||
// Bug Fix: B2018-049 supplemental printing throws off page sizes (need to do same thing as fix for foldouts)
|
||||
if (_MyFoldoutReader.Count > 0 || (_MyHelper!=null && _MyHelper.MySection != null && _MyHelper.MySection.MyProcedure.ProcHasSupInfoData))
|
||||
MyContentByte.PdfDocument.SetPageSize(NxtRCT);
|
||||
else
|
||||
MyContentByte.PdfDocument.SetPageSize(rct);
|
||||
|
Loading…
x
Reference in New Issue
Block a user