removed a console.writeline
Control to create RO Usage, RO Summary, RO Complete, and Transition Usage reports Logic to print RO Usage reports Ifdef’d logic for UseOnFirstPage logic for Width Override and Ifdef’d logic for UseOnFirstPage Beginings of code to generate a Complete RO Report
This commit is contained in:
@@ -420,6 +420,20 @@ namespace Volian.Print.Library
|
||||
}
|
||||
private Volian.Svg.Library.Svg BuildSvg(VEPROMS.CSLA.Library.SectionInfo mySection)
|
||||
{
|
||||
// if mysection uses continuous pagination, and the previous section uses the same format,
|
||||
// and the docstyle is set to use on first page only,
|
||||
// then set section to use the Use On Rest of Pages
|
||||
//SectionConfig.SectionPagination sPag = SectionConfig.SectionPagination.Separate;
|
||||
//if (mySection.IsStepSection && mySection.MyPrevious != null && mySection.MyPrevious.IsStepSection)
|
||||
//{
|
||||
// SectionConfig sc = mySection.MyConfig as SectionConfig;
|
||||
// sPag = sc.Section_Pagination;
|
||||
// if (sPag == SectionConfig.SectionPagination.Continuous)
|
||||
// {
|
||||
// if (MySection.MyDocStyle.StructureStyle.Where == E_DocStyleUse.UseOnFirstPage)
|
||||
// MySection.DidFirstPageDocStyle = true;
|
||||
// }
|
||||
//}
|
||||
VEPROMS.CSLA.Library.FormatInfo activeFormat = mySection.ActiveFormat;
|
||||
VEPROMS.CSLA.Library.DocStyle docStyle = mySection.MyDocStyle;
|
||||
Volian.Svg.Library.Svg mySvg = null;
|
||||
@@ -443,6 +457,7 @@ namespace Volian.Print.Library
|
||||
SectionConfig sc = mySection.MyConfig as SectionConfig;
|
||||
sPag = sc.Section_Pagination;
|
||||
}
|
||||
//if (sPag == SectionConfig.SectionPagination.Continuous && !mySection.DidFirstPageDocStyle) return null;
|
||||
if (sPag == SectionConfig.SectionPagination.Continuous) return null;
|
||||
return mySvg;
|
||||
}
|
||||
@@ -600,7 +615,10 @@ namespace Volian.Print.Library
|
||||
foreach (VEPROMS.CSLA.Library.PageItem pageItem in pageStyle.PageItems)
|
||||
{
|
||||
VE_Font useFontForCheckOffHeader = null;
|
||||
if (sPag == SectionConfig.SectionPagination.Separate || ((sPag == SectionConfig.SectionPagination.Continuous || sPag ==0 )&& pageItem.Row < 0))
|
||||
#if AllButFirstPage
|
||||
if (sPag == SectionConfig.SectionPagination.Separate || ((sPag == SectionConfig.SectionPagination.Continuous || sPag ==0 )&& ((pageItem.Row < 0) || section.DidFirstPageDocStyle)))
|
||||
#endif
|
||||
if (sPag == SectionConfig.SectionPagination.Separate || ((sPag == SectionConfig.SectionPagination.Continuous || sPag ==0 )&& (pageItem.Row < 0)))
|
||||
{
|
||||
//if (PrevRow > 0)
|
||||
//{
|
||||
|
Reference in New Issue
Block a user